/* Ciber500 brand refresh — application shell */
:root, [data-theme="dark"] {
  --bg: #04394f;
  --paper: #064b64;
  --paper-warm: #075873;
  --paper-elev: #0b6c87;
  --overlay: rgba(4,57,79,.96);
  --ink: #f5fbfc;
  --ink-dim: #bed6da;
  --ink-faint: #79a9b4;
  --ink-warm: #e7f5f5;
  --border: rgba(164,220,226,.18);
  --border-soft: rgba(164,220,226,.12);
  --divider: rgba(164,220,226,.14);
  --myit-red: #00aec7;
  --myit-red-bg: rgba(0,174,199,.12);
  --myit-blue: #47d4e1;
  --myit-blue-bg: rgba(71,212,225,.12);
  --myit-dkblue: #00aec7;
  --myit-green: #8dc63f;
  --myit-green-bg: rgba(141,198,63,.14);
  --myit-teal: #00aec7;
  --myit-cyan: #00aec7;
  --myit-purple: #f3d03e;
  --myit-purple-bg: rgba(243,208,62,.12);
  --myit-yellow: #f3d03e;
  --myit-yellow-bg: rgba(243,208,62,.12);
  --myit-orange: #8dc63f;
  --myit-orange-bg: rgba(141,198,63,.12);
  --amber: #f3d03e;
  --terminal: #c8ec72;
  --danger: #ff8b8b;
  --code-bg: #032f42;
}
[data-theme="light"] {
  --bg: #f4faf9;
  --paper: #ffffff;
  --paper-warm: #ffffff;
  --paper-elev: #e7f5f4;
  --overlay: rgba(244,250,249,.97);
  --ink: #06384a;
  --ink-dim: #4f7480;
  --ink-faint: #7ca0a8;
  --ink-warm: #0a4153;
  --border: rgba(0,95,131,.16);
  --border-soft: rgba(0,95,131,.11);
  --divider: rgba(0,95,131,.13);
  --myit-red: #00aec7;
  --myit-red-bg: rgba(0,174,199,.09);
  --myit-blue: #006f8f;
  --myit-blue-bg: rgba(0,111,143,.08);
  --myit-dkblue: #005f83;
  --myit-green: #75ad2f;
  --myit-green-bg: rgba(141,198,63,.12);
  --myit-teal: #00aec7;
  --myit-cyan: #00aec7;
  --myit-purple: #b58b00;
  --myit-purple-bg: rgba(243,208,62,.14);
  --myit-yellow: #b58b00;
  --myit-yellow-bg: rgba(243,208,62,.14);
  --myit-orange: #6d9d28;
  --myit-orange-bg: rgba(141,198,63,.12);
  --amber: #b58b00;
  --terminal: #397a2a;
  --danger: #c43c47;
  --code-bg: #07364a;
}
body {
  background:
    radial-gradient(circle at 90% -12%, rgba(0,174,199,.24), transparent 34rem),
    radial-gradient(circle at 4% 40%, rgba(141,198,63,.12), transparent 28rem),
    var(--bg);
  font-family: "Bruno DIN Condensed", "Arial Narrow", "IBM Plex Sans", sans-serif;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.classified-bar { background: rgba(2,42,57,.72); border-bottom: 1px solid rgba(243,208,62,.28); backdrop-filter: blur(16px); position: relative; z-index: 80; }
.classified-bar .tlp { border-color: var(--myit-yellow); color: var(--myit-yellow); border-radius: 999px; }
.classified-bar .user .avatar { background: var(--myit-green); color: #07364a; }
.header { border-bottom: 1px solid rgba(0,174,199,.34); background: linear-gradient(180deg, rgba(2,42,57,.86), rgba(4,57,79,.40) 72%, transparent); padding: 24px 16px 28px; position: relative; overflow: hidden; }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--myit-green), var(--myit-blue), transparent); transform: translateX(-100%); animation: ciber-scan 7s linear infinite; }
.brand { align-items: center; gap: 22px; }
.brand-mark { border: 0; padding: 0; min-width: 94px; }
.brand-mark::after { content: none; }
.app-brand-logo { display: block; width: 92px; height: 72px; object-fit: contain; }
.brand-myit-sub { margin-top: 7px; padding-top: 7px; border-top-color: rgba(255,255,255,.18); color: var(--ink-faint); }
.brand-title, .trending-title, .card-title, .section-title, .modal-title, #moduleHub h2 { font-family: "Bruno DIN Condensed", "Arial Narrow", "IBM Plex Sans", sans-serif; letter-spacing: .01em; }
.brand-title { font-size: clamp(38px, 6vw, 66px); color: var(--ink); }
.brand-title .num { color: var(--myit-green); }
.brand-sub { max-width: 720px; color: var(--ink-dim); font-size: 16px; }
.brand-meta { color: var(--ink-faint); }
.brand-meta .kv b { color: var(--myit-green); font-size: 1.2em; }
.brand-portal .portal-link { color: var(--myit-blue); }
.trending { margin-top: 28px; }
.trending-list { padding: 4px 0 12px; }
.trending-item { min-width: 290px; padding: 17px 18px; border-radius: 16px; background: rgba(3,47,66,.62); border-color: rgba(164,220,226,.16); box-shadow: 0 12px 28px rgba(0,0,0,.12); transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s, box-shadow .25s; }
.trending-item:hover { transform: translateY(-5px) rotate(-.6deg); border-color: var(--team-color); box-shadow: 0 18px 38px rgba(0,0,0,.22); }
.trending-title::before { background: var(--myit-green); height: 4px; width: 36px; }
.filters { margin-top: 22px; }
.search input, .filter-select { border-radius: 14px; background: rgba(3,47,66,.62); border-color: rgba(164,220,226,.18); color: var(--ink); min-height: 46px; }
.search input:focus { border-color: var(--myit-blue); box-shadow: 0 0 0 4px rgba(0,174,199,.12); }
.team-tabs { border-radius: 14px; background: rgba(3,47,66,.62); border-color: rgba(164,220,226,.18); padding: 5px; }
.team-tab { border-radius: 10px; padding: 9px 14px; }
.team-tab.active { background: var(--myit-green); color: #07364a !important; }
.grid { gap: 20px; }
.card { min-height: 238px; padding: 22px; border-radius: 20px; background: linear-gradient(150deg, rgba(7,88,115,.92), rgba(3,47,66,.8)); border-color: rgba(164,220,226,.18); box-shadow: 0 12px 28px rgba(0,0,0,.12); transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-7px) rotate(-.4deg); border-color: var(--team-color); box-shadow: 0 24px 48px rgba(0,0,0,.25); }
.card::before { width: 4px; border-radius: 99px; }
.card:hover::before { width: 7px; }
[data-theme="light"] .card { background: rgba(255,255,255,.86); box-shadow: 0 12px 28px rgba(0,58,79,.09); }
[data-theme="light"] .card:hover { box-shadow: 0 24px 48px rgba(0,58,79,.16); }
.pagination-inner { border-radius: 18px; background: rgba(3,47,66,.62); border-color: rgba(164,220,226,.18); }
.page-btn { border-radius: 10px; }
.page-btn.active { background: var(--myit-green); border-color: var(--myit-green); color: #07364a; }
.login-split { background: #023447; }
.split-left { min-height: 100vh; background: linear-gradient(135deg, rgba(0,95,131,.6), rgba(2,42,57,.9)); }
.split-bg { opacity: .54; filter: saturate(.72) contrast(1.08); transform: scale(1.04); animation: ciber-breathe 12s ease-in-out infinite alternate; }
.split-overlay { background: linear-gradient(90deg, rgba(2,42,57,.15), rgba(2,42,57,.78)); }
.split-phrase-wrap { max-width: 720px; padding: 8vw; }
.split-quote { font-family: "Bruno DIN Condensed", "Arial Narrow", sans-serif; font-size: clamp(42px, 6vw, 86px); line-height: .98; color: #fff; }
.split-quote-src { color: var(--myit-yellow); }
.split-right { background: linear-gradient(145deg, #f6fbfa, #dceff0); }
.split-card { width: min(440px, calc(100% - 40px)); border-radius: 28px; padding: 38px; background: rgba(255,255,255,.84); border: 1px solid rgba(0,95,131,.16); box-shadow: 0 30px 80px rgba(0,58,79,.18); }
.login-brand-logo { display: block; width: 128px; height: 98px; object-fit: contain; margin: 0 auto 14px; }
.split-locale { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 18px; }
.split-locale-label { margin-right: 4px; color: #52717c; font: 600 10px/1 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.split-locale button { min-width: 34px; min-height: 30px; padding: 5px 8px; border: 1px solid #c6dadd; border-radius: 999px; background: #fff; color: #005f83; cursor: pointer; font: 700 10px/1 "IBM Plex Mono", monospace; }
.split-locale button:hover, .split-locale button:focus-visible { border-color: #00aec7; color: #005f83; outline: none; box-shadow: 0 0 0 3px rgba(0,174,199,.12); }
.split-locale button.active { border-color: #8dc63f; background: #8dc63f; color: #07364a; }
.split-title { color: #07364a; font-family: "Bruno DIN Condensed", "Arial Narrow", sans-serif; font-size: 38px; }
.split-sub { color: #54717d; }
.split-card input { min-height: 48px; border-radius: 13px; border: 1px solid #c6dadd; padding: 0 14px; background: #ffffff !important; color: #07364a !important; caret-color: #005f83; }
.split-card input::placeholder { color: #52717c; opacity: 1; }
.split-card input:focus { border-color: #00aec7; box-shadow: 0 0 0 4px rgba(0,174,199,.14); outline: none; }
.split-btn, .auth-btn { min-height: 50px; border-radius: 999px; background: #005f83; color: #fff; font-weight: 800; box-shadow: 0 12px 25px rgba(0,95,131,.2); transition: transform .2s, background .2s; }
.split-btn:hover, .auth-btn:hover { background: #007d9e; transform: translateY(-2px); }
.split-links a { color: #005f83; }
#moduleHub { background: radial-gradient(circle at 60% 20%, rgba(0,174,199,.2), transparent 30rem), rgba(2,42,57,.84); backdrop-filter: blur(20px); }
#moduleHub .module-hub-card { width: min(1160px, 100%); padding: clamp(26px, 4vw, 56px); border: 1px solid rgba(164,220,226,.22); border-radius: 30px; background: linear-gradient(145deg, rgba(6,75,100,.97), rgba(2,42,57,.98)); box-shadow: 0 35px 110px rgba(0,0,0,.3); position: relative; overflow: hidden; }
#moduleHub .module-hub-logo { position: relative; z-index: 1; width: 92px; height: 72px; object-fit: contain; margin-bottom: 10px; }
#moduleHub .module-hub-card::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -180px; border: 1px solid rgba(141,198,63,.28); border-radius: 50%; box-shadow: 0 0 0 28px rgba(0,174,199,.08), 0 0 0 58px rgba(141,198,63,.05); animation: ciber-orbit 18s linear infinite; }
#moduleHub .module-hub-kicker { color: var(--myit-yellow); }
#moduleHub h2 { font-size: clamp(42px, 6vw, 76px); color: #fff; }
#moduleHub .module-hub-lead { max-width: 780px; color: var(--ink-dim); font-size: 17px; }
#moduleHub .module-hub-meta { color: var(--myit-green); }
#moduleHub .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
#moduleHub .module-choice { min-height: 280px; padding: 25px; border: 1px solid rgba(164,220,226,.2); border-radius: 22px; background: rgba(3,47,66,.7); color: #fff; transition: transform .28s cubic-bezier(.16,1,.3,1), border-color .28s, background .28s, box-shadow .28s; }
#moduleHub .module-choice:hover, #moduleHub .module-choice:focus-visible { transform: translateY(-8px) rotate(-.5deg); border-color: var(--myit-cyan); background: rgba(7,88,115,.9); box-shadow: 0 22px 48px rgba(0,0,0,.22); }
#moduleHub .module-choice.available { background: linear-gradient(145deg, rgba(141,198,63,.2), rgba(3,47,66,.78)); border-color: rgba(141,198,63,.55); }
#moduleHub .module-choice .module-code { color: var(--myit-yellow); }
#moduleHub .module-choice .module-state { border-radius: 999px; color: var(--myit-green); border-color: rgba(141,198,63,.42); }
#moduleHub .module-choice h3 { font-family: "Bruno DIN Condensed", "Arial Narrow", sans-serif; font-size: 29px; letter-spacing: .01em; }
#moduleHub .module-choice p { color: var(--ink-dim); font-size: 14px; }
#moduleHub .module-choice .module-action { color: var(--myit-green); }
#moduleHub .module-hub-note { border-radius: 14px; background: rgba(3,47,66,.55); border-color: rgba(164,220,226,.16); color: var(--ink-dim); }
#moduleHub .module-hub-footer { color: var(--ink-faint); }
.auth-card { border-radius: 26px; background: linear-gradient(145deg, #075873, #023447); border: 1px solid rgba(164,220,226,.2); box-shadow: 0 35px 100px rgba(0,0,0,.28); }
.auth-brand-logo { width: 128px; height: 98px; object-fit: contain; display: block; margin: 0 auto; }
.auth-tagline { color: var(--myit-yellow); }
.auth-btn { background: var(--myit-green); color: #07364a; box-shadow: none; }
#authModal { background: radial-gradient(circle at 50% 0%, rgba(0,174,199,.18), transparent 34rem), rgba(2,42,57,.96) !important; backdrop-filter: blur(18px); }
#authModal .auth-card { background: linear-gradient(145deg, #075873, #023447) !important; border: 1px solid rgba(164,220,226,.2); border-radius: 26px; box-shadow: 0 35px 100px rgba(0,0,0,.28); }
#authModal .auth-logo { margin-bottom: .25rem; }
#authModal .auth-brand-logo { width: 128px; height: 98px; object-fit: contain; display: block; margin: 0 auto; }
#authModal .auth-tagline { color: var(--myit-yellow); }
#authModal .auth-free { background: rgba(243,208,62,.11) !important; border-color: rgba(243,208,62,.35); color: #f8e995; border-radius: 13px; }
#authModal input[type=email], #authModal input[type=password], #authModal input[type=text] { background: #032f42 !important; border-color: rgba(164,220,226,.2); color: #f5fbfc; border-radius: 13px; min-height: 48px; }
#authModal input:focus { border-color: var(--myit-blue); box-shadow: 0 0 0 4px rgba(0,174,199,.12); }
#authModal .auth-btn { background: var(--myit-green) !important; color: #07364a; border-radius: 999px; min-height: 50px; }
#authModal .auth-btn:hover { background: #a8dc5b !important; }
#authModal .auth-link-row a { color: var(--myit-blue) !important; }
.section-title, .modal-title { color: var(--ink); }
@keyframes ciber-scan { to { transform: translateX(100%); } }
@keyframes ciber-breathe { from { transform: scale(1.04); } to { transform: scale(1.11); } }
@keyframes ciber-orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
@media (max-width: 900px) { #moduleHub .module-grid { grid-template-columns: 1fr; } .app-brand-logo { width: 76px; height: 60px; } }
@media (max-width: 560px) { .brand { gap: 12px; } .brand-mark { min-width: 70px; } .app-brand-logo { width: 64px; height: 52px; } .brand-title { font-size: 38px; } .brand-sub { font-size: 14px; } .split-card { padding: 27px 22px; } #moduleHub .module-hub-card { border-radius: 22px; } }
