/* Europa Specials — shared tokens, base and header. ONE copy, loaded by the admin (admin.html) and by every vendor-portal page.
   Palette, light/dark switch, page base, the navy header, the version badge, the select chevron. Page-specific layout stays in each page's own CSS. */
:root{
  --navy:#00114A;
  --navy-deep:#0f202c;
  --gold:#FFCC00;
  --gray:#5b6270;
  --bg:#f6f7fb;
  --surface:#ffffff;
  --text:var(--navy);
  --accent:var(--navy);
  --line:#e7e9f2;
  --green:#2ea043;
  --red:#c0392b;
  --read:#3b6fd6;
  --taste:#c9820a;
  --experience:#8a4fc9;
  --travel:#2ea043;
  --learn:#0e9488;
  --watch:#d6336c;
  --listen:#e8590c;
  --invalid-bg:#fdf2f1;
  color-scheme: light;
}
:root[data-theme="dark"]{
  --bg:#0d1420;
  --surface:#17202f;
  --text:#eef1fa;
  --accent:#FFCC00;
  --line:#2a3548;
  --gray:#8b93a8;
  --green:#3ecf6a;
  --red:#ff6b5e;
  --invalid-bg:rgba(255,107,94,0.12);
  color-scheme: dark;
}
*{box-sizing:border-box;}
body{margin:0; padding:0; background:var(--bg); color:var(--text); font-family:'Outfit',-apple-system,BlinkMacSystemFont,sans-serif; transition:background .15s ease, color .15s ease;}
select:not([multiple]):not([size]){ -webkit-appearance:none; -moz-appearance:none; appearance:none; padding-right:34px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; background-size:12px 8px; cursor:pointer; text-overflow:ellipsis; }

/* ===== header (same navy band on both sites) ===== */
.platform-header{ background:var(--navy); padding:22px 0; }
.platform-header-inner{ max-width:none; margin:0; padding:0 24px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.platform-header-inner img{ height:38px; width:auto; flex-shrink:0; }
.platform-title{ display:flex; flex-direction:column; }
.platform-title span.name{ font-family:'Fraunces',serif; font-size:19px; font-weight:600; color:#fff; }
.platform-title span.sub{ font-family:'EB Garamond',serif; font-style:italic; font-size:13px; color:var(--gold); margin-top:2px; }
.platform-header-inner .divider{ width:1px; height:32px; background:rgba(255,255,255,.2); margin-left:4px; }
.tool-label{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.6); margin-left:auto; text-align:right; line-height:1.5; }
.tool-label strong{ display:block; color:#fff; font-size:12px; letter-spacing:.04em; }
.platform-header select{ margin-left:8px; background:rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.25); border-radius:6px; font-family:'Outfit',sans-serif; font-size:12px; padding:4px 8px; }
.platform-header select option{ color:#000; }
.platform-header select:not([multiple]):not([size]){ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); padding-right:28px; background-position:right 9px center; }
.platform-header .analytics-link{ font-family:'Outfit',sans-serif; font-size:12.5px; font-weight:600; color:#fff; text-decoration:none; opacity:.85; margin-left:16px; white-space:nowrap; background:none; border:0; padding:0; cursor:pointer; }
.platform-header .analytics-link:hover{ opacity:1; text-decoration:underline; }
.platform-header .theme-toggle, .platform-header .status-link, .platform-header .disconnect-btn{ display:flex; align-items:center; justify-content:center; width:30px; height:30px; margin-left:8px; background:none; border:1px solid rgba(255,255,255,.25); border-radius:50%; cursor:pointer; color:rgba(255,255,255,.85); flex-shrink:0; text-decoration:none; padding:0; }
.platform-header .theme-toggle:hover, .platform-header .status-link:hover, .platform-header .disconnect-btn:hover{ border-color:rgba(255,255,255,.5); color:#fff; }
.platform-header .theme-toggle svg, .platform-header .status-link svg, .platform-header .disconnect-btn svg{ width:15px; height:15px; }
.platform-header .theme-toggle .icon-moon{ display:none; }
:root[data-theme="dark"] .platform-header .theme-toggle .icon-sun{ display:none; }
:root[data-theme="dark"] .platform-header .theme-toggle .icon-moon{ display:block; }
.conn-dot{ display:inline-block; width:7px; height:7px; border-radius:50%; margin-right:6px; background:var(--gray); }
.conn-dot.on{ background:var(--green); }
.conn-dot.err{ background:var(--red); }
.version-badge{ display:block; width:fit-content; margin:4px 0 0 auto; font-family:monospace; font-size:10.5px; color:rgba(255,255,255,.4); padding:2px 7px; flex-shrink:0; text-transform:none; letter-spacing:normal; white-space:nowrap; }
@media (max-width:640px){ .platform-header{ padding:14px 0; } .platform-header-inner{ gap:10px; padding:0 14px; } .platform-header-inner .divider{ display:none; } .tool-label{ margin-left:0; text-align:left; width:100%; } .platform-header .analytics-link, .platform-header select{ margin-left:0; } }
