/* =====================================================================
   Walkirya OS — THEME «Синяя» (default, owner 15.11.2026): classic blue Windows 7 glass, like the home page.
   portal-os.css is theme «Тёмная» (black + red). Every rule here is scoped to html[data-theme="blue"],
   so it beats the dark core at any load order. Page skins add their own html[data-theme="blue"] blocks.
   ===================================================================== */
html[data-theme="blue"] {
  --os-black: #0b2a66;
  --os-0: #1a5fc2;          /* desktop */
  --os-1: #ffffff;          /* window body */
  --os-2: #f6f8fb;          /* panels, cards */
  --os-3: #e5effa;          /* hover */
  --os-4: #eef2f7;          /* inputs, list headers */
  --os-line: rgba(20, 45, 85, .12);
  --os-line-2: rgba(20, 45, 85, .22);
  --os-text: #142030;
  --os-text-2: #3a495c;
  --os-muted: #627083;
  --os-red: #2a6fd6;        /* the accent is blue in this theme (token names kept for the skins) */
  --os-red-hi: #5aa2f2;
  --os-red-lo: #0f4aa8;
  --os-red-glow: rgba(70, 150, 255, .45);
  --os-blue: #1d5fbf;
  --os-gold: #9a6400;
  --os-green: #1f8f45;
  --border-strong: rgba(42, 111, 214, .6);
  --shadow-card: 0 6px 18px rgba(16, 40, 80, .12);
  --shadow-glow: 0 0 18px rgba(70, 150, 255, .35);
  --win-f1: #b7d6f6;
  --win-f2: #6d9fd8;
}
html[data-theme="blue"] body.os-site { background: url('/assets/img/v7/wallpaper.webp') center top / cover fixed, #1a5fc2; color: var(--os-text); }
@media (max-width: 760px) { html[data-theme="blue"] body.os-site { background: url('/assets/img/v7/wallpaper-m.webp') center top / cover, #1a5fc2; } }
html[data-theme="blue"] body.os-site a { color: var(--os-blue); }
html[data-theme="blue"] body.os-site a:hover { color: #0b3f8f; }
html[data-theme="blue"] body.os-site h1, html[data-theme="blue"] body.os-site h2, html[data-theme="blue"] body.os-site h3 { color: #10263f; }
html[data-theme="blue"] body.os-site ::selection { background: #3399ff; color: #fff; }

/* ---------- taskbar: blue glass, like the home page ---------- */
html[data-theme="blue"] body.os-site .site-header {
  background: radial-gradient(160px 70px at 40px 100%, rgba(70, 150, 255, .55), transparent 70%),
    linear-gradient(180deg, rgba(74, 96, 130, .9), rgba(18, 28, 48, .96) 48%, rgba(6, 10, 20, .98) 50%, rgba(12, 20, 36, .97));
  border-bottom: 1px solid rgba(0, 0, 0, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 14px rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
}
html[data-theme="blue"] body.os-site .brand, html[data-theme="blue"] body.os-site .brand-title { color: #fff; }
html[data-theme="blue"] body.os-site .brand-title { text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
html[data-theme="blue"] body.os-site .brand-sub { color: #cfdcef; }
html[data-theme="blue"] body.os-site .brand-mark {
  background: radial-gradient(circle at 50% 28%, #fff 0, #8cc6ff 26%, #2a6fd6 62%, #0f3b86 100%);
  border-color: rgba(0, 0, 0, .6);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .35), inset 0 2px 3px rgba(255, 255, 255, .8), 0 0 14px rgba(70, 150, 255, .55);
}
html[data-theme="blue"] body.os-site .brand:hover .brand-mark { box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .35), inset 0 2px 3px rgba(255, 255, 255, .85), 0 0 22px rgba(120, 190, 255, .8); }
html[data-theme="blue"] body.os-site .nav-links a {
  color: #fff; text-shadow: 0 1px 1px #000; border-color: rgba(255, 255, 255, .14);
  background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
html[data-theme="blue"] body.os-site .nav-links a:hover { background: linear-gradient(rgba(255, 255, 255, .24), rgba(255, 255, 255, .08)); border-color: rgba(255, 255, 255, .3); }
html[data-theme="blue"] body.os-site .nav-links a.active {
  border-color: rgba(255, 255, 255, .45);
  background: linear-gradient(rgba(255, 255, 255, .32), rgba(255, 255, 255, .1));
  box-shadow: inset 0 0 14px rgba(70, 150, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
}
html[data-theme="blue"] body.os-site .nav-links a.active::after { background: #8cc6ff; box-shadow: 0 0 10px #4aa3ff; }
html[data-theme="blue"] body.os-site .status-pill { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
html[data-theme="blue"] body.os-site .lang-switch a { color: #fff; }
html[data-theme="blue"] body.os-site .lang-switch a.active { background: rgba(255, 255, 255, .28); color: #fff; }
html[data-theme="blue"] body.os-site .nav-toggle { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }

/* ---------- the page window: Aero frame + white body ---------- */
html[data-theme="blue"] .os-win {
  padding: 0 6px 6px; border-radius: 9px 9px 7px 7px;
  background: linear-gradient(180deg, var(--win-f1), var(--win-f2));
  border: 1px solid rgba(0, 0, 0, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 0 0 1px rgba(255, 255, 255, .3), 0 22px 60px rgba(0, 0, 0, .45), 0 0 30px rgba(70, 150, 255, .4);
}
html[data-theme="blue"] .os-tb { height: 34px; padding: 0 0 0 6px; background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .06) 60%, transparent); border-bottom: 0; box-shadow: none; border-radius: 8px 8px 0 0; }
html[data-theme="blue"] .os-tb::after { display: none; }
html[data-theme="blue"] .os-tb-ic { color: #0f4aa8; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9)); }
html[data-theme="blue"] .os-tb-t { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .65), 0 0 10px rgba(0, 0, 0, .35); }
html[data-theme="blue"] .os-tb-btns { align-self: flex-start; margin-top: 4px; }
html[data-theme="blue"] .os-tb-b {
  border: 1px solid rgba(0, 0, 0, .55); color: #1b2633;
  background: linear-gradient(rgba(255, 255, 255, .72), rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, .08) 51%, rgba(255, 255, 255, .36));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}
html[data-theme="blue"] a.os-tb-b:hover { background: linear-gradient(rgba(255, 255, 255, .9), rgba(200, 230, 255, .6) 50%, rgba(120, 190, 255, .5) 51%, rgba(200, 235, 255, .8)); }
html[data-theme="blue"] .os-tb-close { background: linear-gradient(#f2a094, #d9533f 50%, #b8230f 51%, #e0634a); border-color: rgba(0, 0, 0, .6); }
html[data-theme="blue"] .os-tb-close:hover { background: linear-gradient(#ffc0b5, #f0684f 50%, #d42b10 51%, #ff7d5c) !important; box-shadow: 0 0 10px rgba(255, 120, 90, .6); }
html[data-theme="blue"] .os-wb { background: #fff; border: 1px solid rgba(0, 0, 0, .5); border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .55); color: var(--os-text); }

/* ---------- footer: dark blue glass status bar ---------- */
html[data-theme="blue"] body.os-site .site-footer {
  background: linear-gradient(180deg, rgba(18, 28, 48, .96), rgba(6, 10, 20, .98)); border-top: 1px solid rgba(255, 255, 255, .25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); color: #cfdcef;
}
html[data-theme="blue"] body.os-site .site-footer .footer-title { color: #fff; }
html[data-theme="blue"] body.os-site .site-footer .muted, html[data-theme="blue"] body.os-site .footer-list a { color: #cfdcef; }
html[data-theme="blue"] body.os-site .site-footer a { color: #9cd0ff; }
html[data-theme="blue"] body.os-site .footer-list a:hover { color: #fff; }

/* ---------- shared components: Windows 7 light ---------- */
html[data-theme="blue"] body.os-site .card { background: linear-gradient(#ffffff, #f6f8fb); border: 1px solid #cfd8e3; border-radius: 6px; box-shadow: inset 0 1px 0 #fff, 0 2px 8px rgba(16, 40, 80, .08); color: var(--os-text); }
html[data-theme="blue"] body.os-site .card-interactive:hover { border-color: #7da2ce; box-shadow: 0 0 0 1px #9fc7ea, 0 10px 24px rgba(16, 40, 80, .16); }
html[data-theme="blue"] body.os-site .btn { color: #15202c; border: 1px solid #707a87; text-shadow: none; background: linear-gradient(#fdfdfd, #ebeef2 49%, #dbe0e7 50%, #e8ebf0); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
html[data-theme="blue"] body.os-site .btn:hover { color: #0b1b2b; filter: none; border-color: #3c7fb1; background: linear-gradient(#f2faff, #dcefff 49%, #bfe0fb 50%, #d9eeff); }
html[data-theme="blue"] body.os-site .btn:active { background: linear-gradient(#e0eefa, #c5ddf3 49%, #a9cdee 50%, #c4dcf3); }
html[data-theme="blue"] body.os-site .btn-gold, html[data-theme="blue"] body.os-site .btn-primary {
  color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .45); border-color: #0f3b86;
  background: linear-gradient(#8cc6ff, #3b8fe8 49%, #2a6fd6 50%, #3d84e0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 2px 8px rgba(42, 111, 214, .35);
}
html[data-theme="blue"] body.os-site .btn-gold:hover, html[data-theme="blue"] body.os-site .btn-primary:hover { color: #fff; background: linear-gradient(#a6d4ff, #4d9cf0 49%, #3478de 50%, #4b90e8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 16px rgba(70, 150, 255, .55); }
html[data-theme="blue"] body.os-site .btn-teal { color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .45); border-color: #1a620e; background: linear-gradient(#a9e98e, #4cbf2a 49%, #2f9a1e 50%, #46b52b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 2px 8px rgba(47, 154, 30, .3); }
html[data-theme="blue"] body.os-site .btn-ghost { color: #15202c; background: linear-gradient(#fdfdfd, #eef1f5); border-color: #9aa6b4; }
html[data-theme="blue"] body.os-site .btn-danger { color: #fff; background: linear-gradient(#f2a094, #d9533f 50%, #b8230f 51%, #e0634a); border-color: #7a1406; }
html[data-theme="blue"] body.os-site .badge { background: #eef2f7; border-color: #c9d3df; color: #3a495c; }
html[data-theme="blue"] body.os-site .badge-gold { background: #e3effb; border-color: #9fc7ea; color: #0f4aa8; }
html[data-theme="blue"] body.os-site .badge-teal { background: #e6f4ff; border-color: #9cc9ef; color: #155ba8; }
html[data-theme="blue"] body.os-site .badge-green { background: #e6f6e6; border-color: #9bd39b; color: #1d6e1d; }
html[data-theme="blue"] body.os-site .badge-red { background: #fdeceb; border-color: #f0a79c; color: #a8240f; }
html[data-theme="blue"] body.os-site .text-gold { color: var(--os-gold) !important; }
html[data-theme="blue"] body.os-site .muted { color: var(--os-text-2); }
html[data-theme="blue"] body.os-site .input, html[data-theme="blue"] body.os-site input[type='text'], html[data-theme="blue"] body.os-site input[type='email'],
html[data-theme="blue"] body.os-site input[type='password'], html[data-theme="blue"] body.os-site input[type='search'], html[data-theme="blue"] body.os-site input[type='number'],
html[data-theme="blue"] body.os-site select, html[data-theme="blue"] body.os-site textarea { background: #fff; border: 1px solid #8c99a8; color: #142030; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08); }
html[data-theme="blue"] body.os-site .input:focus, html[data-theme="blue"] body.os-site input:focus, html[data-theme="blue"] body.os-site select:focus, html[data-theme="blue"] body.os-site textarea:focus { border-color: #3c7fb1; box-shadow: 0 0 0 3px rgba(60, 127, 177, .22); }
html[data-theme="blue"] body.os-site .table-wrap { background: #fff; border: 1px solid #cfd8e3; box-shadow: none; }
html[data-theme="blue"] body.os-site table th { background: linear-gradient(#fff, #eef1f5); color: #2b3a4a; border-bottom: 1px solid #d6dde6; border-right: 1px solid #e3e8ee; }
html[data-theme="blue"] body.os-site table td { border-bottom: 1px solid #edf0f4; color: var(--os-text); }
html[data-theme="blue"] body.os-site table tbody tr:nth-child(even) td { background: #f7f9fc; }
html[data-theme="blue"] body.os-site table tbody tr:hover td { background: #e8f2fd; }
html[data-theme="blue"] body.os-site .tabs { border-bottom-color: #b9c6d6; }
html[data-theme="blue"] body.os-site .tab-btn { color: #2b3a4a; border-color: #b9c6d6; background: linear-gradient(#fbfcfd, #e8edf3); }
html[data-theme="blue"] body.os-site .tab-btn.active, html[data-theme="blue"] body.os-site .tab-btn:hover { color: #0b1b2b; background: #fff; box-shadow: inset 0 2px 0 #3b8fe8; }
html[data-theme="blue"] body.os-site .breadcrumbs, html[data-theme="blue"] body.os-site .breadcrumbs a { color: #3a495c; }
html[data-theme="blue"] body.os-site .section-head h2::after { background: #3b8fe8; box-shadow: 0 0 8px rgba(70, 150, 255, .5); }
html[data-theme="blue"] body.os-site .stat-value { color: #10263f; }
html[data-theme="blue"] body.os-site code { background: #f2f5f9; border-color: #d6dde6; color: #8a3b00; }
html[data-theme="blue"] body.os-site hr { border-color: #dfe5ec; }
html[data-theme="blue"] body.os-site { scrollbar-color: #9fb1c7 #eef2f7; }
html[data-theme="blue"] body.os-site ::-webkit-scrollbar-track { background: #eef2f7; }
html[data-theme="blue"] body.os-site ::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #c9d6e6, #a9bcd3); border-color: #eef2f7; }
html[data-theme="blue"] body.os-site ::-webkit-scrollbar-thumb:hover { background: #7da2ce; }
@media (max-width: 980px) {
  html[data-theme="blue"] body.os-site .nav-links { background: linear-gradient(170deg, rgba(70, 96, 140, .97), rgba(14, 22, 38, .98) 60%); border-color: rgba(0, 0, 0, .6); }
}

/* ---------- theme switch button in the tray (portal-os-theme.js) ---------- */
.os-theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 30px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); color: #fff; cursor: pointer; padding: 0; }
.os-theme-btn:hover { background: linear-gradient(rgba(255, 255, 255, .24), rgba(255, 255, 255, .08)); }
.os-theme-btn:focus-visible { outline: 2px solid #8cc6ff; outline-offset: 1px; }
.os-theme-btn svg { width: 18px; height: 18px; }
html.os-theme-anim body.os-site, html.os-theme-anim body.os-site * { transition: background-color .35s, color .35s, border-color .35s, box-shadow .35s !important; }
/* status dots keep their meaning in the blue theme (the accent token is blue here) */
html[data-theme="blue"] body.os-site .dot.offline { background: #d63a2a; box-shadow: 0 0 8px rgba(214, 58, 42, .7); }
html[data-theme="blue"] body.os-site .dot.online { background: #3ddc5a; box-shadow: 0 0 8px rgba(61, 220, 90, .7); }
