/* Dockvi brand layer for the app (Cyber theme only): the same palette, type and shapes as dockvi.com
   (welcome.css), so the app continues the product page instead of looking like a different product.
   Midnight and Daylight keep their own look. Loaded last; only tokens, corners, type and a few HUD details. */
html:not([data-theme=midnight]):not([data-theme=daylight]){
  --app-bg:#080b10;--sidebar:#0a1016;
  --surface:#09141c;--surface-raised:#0f1d26;--surface-soft:#142630;--surface-hover:#1a3240;
  --border:#2c4a52;--border-soft:#1d3138;
  --text:#edf9f7;--text-secondary:#b7cbc9;--text-muted:#8ea5a7;
  --accent:#e3ff39;--accent-hover:#f0ff8c;--accent-soft:#2b330c;
  --info:#49ffe4;--brand-cyan:#49ffe4;--brand-pink:#ff57c8;--brand-line:#26383e;
  --neon-red:#ff57c8;--neon-red-soft:#ff57c835;   /* decorative accents use the page's pink; --danger stays red for errors */
  --brand-cut:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
}
html:not([data-theme=midnight]):not([data-theme=daylight]) ::selection{background:var(--accent);color:#0a1006}

/* Sharp surfaces: the product page has no rounded cards. Circles (avatars, dots, the robot) keep their shape. */
html:not([data-theme=midnight]):not([data-theme=daylight]) :is(.panel,dialog,details,section[class^=home-],aside[class^=home-],header.home-heading,[class*=-card]:not([class*=avatar]),[class*=-tile],[class*=-widget]:not([class*=dot]),[class^=home-] button:not(.ai-assistant-launcher),.mobile-more-actions,.home-calendar-modes,.home-week-day,.button,input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){border-radius:2px}

/* Primary actions: lime with the page's cut corners (ghost and subtle buttons stay outlined). */
html:not([data-theme=midnight]):not([data-theme=daylight]) .button:not(.ghost):not(.subtle):not(.danger):not([class*=icon]){border-radius:0;clip-path:var(--brand-cut);box-shadow:none}
html:not([data-theme=midnight]):not([data-theme=daylight]) .button:not(.ghost):not(.subtle):not(.danger):not([class*=icon]):hover{background:var(--brand-cyan);border-color:var(--brand-cyan);color:#06110f}

/* Type: Oxanium headings in capitals, like the page; body text stays Rajdhani for reading. */
html:not([data-theme=midnight]):not([data-theme=daylight]) :is(.topbar h1,.topbar h2,.page-title,.view-title,.mobile-view-title){font-family:var(--hud-font);text-transform:uppercase;letter-spacing:.02em}
html:not([data-theme=midnight]):not([data-theme=daylight]) :is(.panel h2,.panel h3,section[class^=home-] h2,aside[class^=home-] h2,dialog h1,dialog h2,#os-launcher h2,#os-launcher h3){font-family:var(--hud-font);letter-spacing:-.01em}
html:not([data-theme=midnight]):not([data-theme=daylight]) .eyebrow{font-family:var(--hud-font);letter-spacing:.16em;color:var(--brand-cyan)}

/* Sign-in: the product page's wordmark and frame. */
html:not([data-theme=midnight]):not([data-theme=daylight]) .auth-dialog{background:linear-gradient(160deg,#0f1d26,#080b10 70%);border:1px solid var(--brand-line);border-top:2px solid var(--accent);clip-path:polygon(0 0,calc(100% - 22px) 0,100% 22px,100% 100%,22px 100%,0 calc(100% - 22px));box-shadow:0 0 0 1px #49ffe412,0 30px 80px #000a}
html:not([data-theme=midnight]):not([data-theme=daylight]) .auth-dialog::backdrop{background:#05080cd9;background-image:linear-gradient(#4975750d 1px,transparent 1px),linear-gradient(90deg,#4975750d 1px,transparent 1px);background-size:90px 90px}
html:not([data-theme=midnight]):not([data-theme=daylight]) .auth-dialog .auth-mark{display:inline-block;background:none;box-shadow:none;color:var(--text);font-family:var(--hud-font);font-size:30px;font-weight:800;letter-spacing:-.07em;padding:0}
html:not([data-theme=midnight]):not([data-theme=daylight]) .auth-dialog .auth-mark::after{content:"//";margin-left:8px;color:var(--accent);font-size:23px;letter-spacing:-.14em}
html:not([data-theme=midnight]):not([data-theme=daylight]) .auth-dialog h1{font-family:var(--hud-font);text-transform:uppercase;letter-spacing:-.03em;line-height:1.05}
html:not([data-theme=midnight]):not([data-theme=daylight]) .auth-dialog .eyebrow::before{content:"";display:inline-block;width:6px;height:6px;margin-right:10px;border-radius:50%;background:var(--brand-cyan);box-shadow:0 0 12px #49ffe488;vertical-align:middle}

/* Secondary actions in the page's outline style: cyan text on a dark frame, no pink or red offset shadows. */
html:not([data-theme=midnight]):not([data-theme=daylight]) .button.subtle,html:not([data-theme=midnight]):not([data-theme=daylight]) .button.ghost{color:var(--brand-cyan);border-color:var(--border);background:transparent}
html:not([data-theme=midnight]):not([data-theme=daylight]) .button.subtle:hover,html:not([data-theme=midnight]):not([data-theme=daylight]) .button.ghost:hover{color:#06110f;background:var(--brand-cyan);border-color:var(--brand-cyan)}
html:not([data-theme=midnight]):not([data-theme=daylight]) .button:hover{box-shadow:0 0 24px #49ffe41f}

/* Fields: the page's dark ink with a thin line, lime focus. */
html:not([data-theme=midnight]):not([data-theme=daylight]) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){background:#060a0e;border-color:var(--border)}
html:not([data-theme=midnight]):not([data-theme=daylight]) :is(input,select,textarea):focus{border-color:var(--accent)}

/* Dashboard: the greeting reads like the product page's headline; one lime edge, no extra decoration. */
html:not([data-theme=midnight]):not([data-theme=daylight]) .home-heading{border-top:2px solid var(--accent)}
html:not([data-theme=midnight]):not([data-theme=daylight]) .home-heading h1{font-family:var(--hud-font);text-transform:uppercase;letter-spacing:-.045em;line-height:1.02;font-weight:700}
html:not([data-theme=midnight]):not([data-theme=daylight]) .home-eyebrow{font-family:var(--hud-font);letter-spacing:.16em;color:var(--brand-cyan)}
html:not([data-theme=midnight]):not([data-theme=daylight]) .home-eyebrow::before{background:var(--brand-cyan)!important;border-radius:50%;box-shadow:0 0 12px #49ffe488}
html:not([data-theme=midnight]):not([data-theme=daylight]) :is(.home-plan,.home-next,.home-calendar) :is(h2,h3){font-family:var(--hud-font);letter-spacing:-.01em}

/* The top bar carries the product page's wordmark and its thin line, not a pink rule. */
html:not([data-theme=midnight]):not([data-theme=daylight]) .topbar{border-bottom:1px solid var(--brand-line);box-shadow:none}
html:not([data-theme=midnight]):not([data-theme=daylight]) .os-brand #product-brand-name{font-family:var(--hud-font);font-style:normal;font-weight:800;letter-spacing:-.06em;text-transform:none}
html:not([data-theme=midnight]):not([data-theme=daylight]) .os-brand #product-brand-name::after{content:"//";margin-left:6px;color:var(--accent);letter-spacing:-.14em}

/* Cyber cuts the outer outline with clip-path, so remove the clip while the keyboard focus is visible. */
html:not([data-theme=midnight]):not([data-theme=daylight]) .button:not(.ghost):not(.subtle):not(.danger):not([class*=icon]):focus-visible {
  clip-path: none;
  outline: 2px solid var(--text);
  outline-offset: 3px;
}
