/* Compact Cool portal theme (2026). Matches the compactcool.com upgrade (css/cc.css).
   Loaded after app.css, so app.css stays as shipped and this file only restyles.
   Remove the theme.css <link> in app/layout.php and public/login.php to roll back. */

:root {
  --ink: #13263A;
  --ink-2: #1C3550;
  --ink-3: #0B1824;
  --blue: #3D68B2;
  --blue-deep: #2D528F;
  --coolant: #66CCCC;
  --frost: #DDF3F6;
  --steel: #E6EAEE;
  --steel-2: #CDD4DB;
  --on-dark: #E9EEF3;
  --on-dark-muted: #A9B7C6;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --cut: 10px;
  --chamfer: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  /* app.css tokens, remapped to the site palette */
  --bg: #EEF1F4;
  --panel: #FFFFFF;
  --nav: var(--ink);
  --nav2: var(--ink);
  --nav3: var(--ink-2);
  --accent: var(--blue);
  --accent-dark: var(--blue-deep);
  --primary: var(--blue);
  --text: var(--ink);
  --muted: #4F5D6B;
  --border: #D5DCE3;
  --topbar: 76px;
  --shadow: 0 1px 0 rgba(19, 38, 58, .04), 0 14px 30px -22px rgba(19, 38, 58, .45);
}

html, body { font-family: var(--font-body); color: var(--ink); }
body { font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.app-sidebar :focus-visible, .auth-hero :focus-visible { outline-color: var(--coolant); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }

h1, h2, h3, .page-heading h1, .panel h2, .detail-header h2, .auth-card h1 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0; line-height: 1.05;
}
.panel h2 { font-size: 24px; font-weight: 600; }
.data-table td, .metric-card strong, .summary-tile strong, .production-summary-grid strong, .assignment-summary-grid strong { font-variant-numeric: tabular-nums; }

/* Technical-drawing paper behind the work area */
.app-body, .auth-body:not(.auth-hero) {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(61, 104, 178, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 104, 178, .07) 1px, transparent 1px),
    linear-gradient(rgba(61, 104, 178, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 104, 178, .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  background-attachment: fixed;
}

/* ---------- Top bar: white, real logo, like the site header ---------- */
.app-topbar, .auth-topbar {
  background: rgba(255, 255, 255, .97); color: var(--ink);
  border-bottom: 1px solid var(--steel-2); box-shadow: 0 10px 30px -24px rgba(19, 38, 58, .55);
  backdrop-filter: saturate(1.4) blur(8px);
}
.app-topbar::after, .auth-body:not(.auth-hero) .auth-topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--blue) 0 var(--sidebar), var(--coolant) var(--sidebar) calc(var(--sidebar) + 64px), transparent calc(var(--sidebar) + 64px));
}
.auth-topbar { position: relative; }
.app-brand { color: var(--ink); gap: 14px; }
.app-brand-logo { display: block; height: 46px; width: auto; flex: none; }
.app-brand-label { padding-left: 14px; border-left: 2px solid var(--ink); }
.app-brand strong { font: 700 18px/1 var(--font-display); letter-spacing: .01em; color: var(--ink); }
.app-brand small { font: 500 13px/1.2 var(--font-body); color: var(--muted); margin-top: 3px; }
.device-mode { background: var(--steel); border: 1px solid var(--steel-2); color: var(--ink); border-radius: 0; font: 600 13px var(--font-display); letter-spacing: .03em; padding: 6px 10px; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.user-menu { font-size: 14px; gap: 12px; }
.user-name { font-weight: 600; }
.user-role { color: var(--muted); }
.signout-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 0; color: #fff; background: var(--ink); text-decoration: none; font-weight: 600; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: background 200ms ease; }
.signout-link:hover { background: var(--blue); text-decoration: none; }
.nav-toggle { border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 0; width: 44px; height: 44px; }

/* ---------- Sidebar: the ink of the site's dark bands ---------- */
.app-sidebar { background: var(--ink); color: var(--on-dark); border-right: 0; }
.app-sidebar::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 60% at 0% 100%, rgba(102, 204, 204, .10), transparent 60%), radial-gradient(90% 40% at 100% 0%, rgba(61, 104, 178, .22), transparent 70%); }
.sidebar-profile, .side-nav, .sidebar-foot { position: relative; }
.sidebar-profile { border-bottom: 1px solid rgba(169, 183, 198, .18); }
.avatar { background: var(--coolant); color: var(--ink); border-radius: 0; font-family: var(--font-display); font-size: 20px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.sidebar-profile strong { font-size: 15px; }
.sidebar-profile small { color: var(--on-dark-muted); font-size: 13px; }
.side-nav { gap: 2px; }
.side-nav-link { color: var(--on-dark); border-radius: 0; border-left: 3px solid transparent; font-size: 15px; font-weight: 500; min-height: 44px; transition: background 180ms ease, color 180ms ease, border-color 180ms ease; }
.side-nav-link:hover { background: rgba(255, 255, 255, .06); color: #fff; border-left-color: rgba(102, 204, 204, .5); }
.side-nav-link.active { background: var(--ink-2); color: #fff; border-left-color: var(--coolant); font-weight: 600; }
.side-nav-link.active .nav-icon { color: var(--coolant); }
.nav-icon { color: var(--on-dark-muted); }
.sidebar-foot { border-top: 1px solid rgba(169, 183, 198, .18); color: var(--on-dark-muted); }
.sidebar-foot span { font: 600 14px var(--font-display); letter-spacing: .03em; color: var(--coolant); }
.sidebar-foot small { font-size: 12px; }
.sidebar-backdrop { background: rgba(11, 24, 36, .55) !important; }

/* ---------- Page heading with a dimension line ---------- */
.page-heading { position: relative; padding-bottom: 18px; border-bottom: 1px solid var(--steel-2); margin-bottom: 26px; }
.page-heading::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 3px; background: var(--blue); transform-origin: left; }
.page-heading h1 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 6px; }
.page-heading p { font-size: 16px; color: var(--muted); }
.page-context { font: 600 14px var(--font-display); letter-spacing: .03em; color: var(--muted); }
.status-dot { background: var(--coolant); box-shadow: 0 0 0 3px rgba(102, 204, 204, .2); }
.eyebrow { font: 700 13px var(--font-display); letter-spacing: .08em; color: var(--blue); }
.eyebrow.danger-text { color: #B42318 !important; }

/* ---------- Panels ---------- */
.panel, .metric-card { border-radius: 0; border-color: var(--border); }
.panel { position: relative; }
.panel p { color: var(--muted); }
.mobile-management-note { border-radius: 0; border-left: 4px solid #D69319; }
.info-panel { border-left: 4px solid var(--blue); }
.danger-zone { border-color: #E4B8BD; border-top: 3px solid #B42318; }
.placeholder-icon, .admin-icon { border-radius: 0; clip-path: var(--chamfer); }
.placeholder-icon { background: var(--steel); color: var(--blue); }
.admin-icon { background: var(--ink); color: var(--coolant); }
.admin-card { transition: border-color 200ms ease, transform 200ms var(--ease-out), box-shadow 200ms ease; }
.admin-card:hover { border-color: var(--blue); box-shadow: 0 18px 36px -24px rgba(19, 38, 58, .55); }

/* Metric cards are small equipment nameplates */
.metric-card {
  position: relative; overflow: hidden; border: 0; box-shadow: inset 0 0 0 1px #B9C2CB, inset 0 2px 0 #fff;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 3px), linear-gradient(180deg, #F3F5F7 0%, #E1E6EB 100%);
  clip-path: var(--chamfer); padding: 18px 20px 16px;
}
.metric-card::before, .metric-card::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 18%, #A7B1BB 60%, #7D8893 100%); box-shadow: 0 1px 1px rgba(0, 0, 0, .25); top: 9px; }
.metric-card::before { left: 16px; } .metric-card::after { right: 9px; }
.metric-card span { font: 600 15px var(--font-display); letter-spacing: .02em; color: var(--muted); padding-top: 4px; }
.metric-card strong { font: 700 38px/1 var(--font-display); color: var(--ink); margin: 8px 0 6px; }
.metric-card small { color: #5E6C7A; font-size: 12px; }
.metric-green { border-top: 0; box-shadow: inset 0 4px 0 #2D8A57, inset 0 0 0 1px #B9C2CB; }
.metric-amber { border-top: 0; box-shadow: inset 0 4px 0 #D69319, inset 0 0 0 1px #B9C2CB; }
.metric-red { border-top: 0; box-shadow: inset 0 4px 0 #C92C3D, inset 0 0 0 1px #B9C2CB; }
.metric-card strong.success-text { color: #177546 !important; }

/* Summary tiles and small boxes: square, steel */
.identity-table, .template-stat-grid, .production-summary-grid > div, .summary-tile, .assignment-rule-grid > div, .assignment-summary-grid > div,
.builder-steps li, .assembly-card-stats span, .advanced-box, .permission-group, .department-user-card, .person-card, .assembly-select-card,
.template-check-row, .completion-check-card, .review-answer-grid > div, .quick-links a, .handoff-box, .rework-warning { border-radius: 0; }
.identity-table span, .production-summary-grid span, .summary-tile span, .template-stat-grid span { font: 600 13px var(--font-display); letter-spacing: .03em; color: var(--muted); }
.quick-links a { background: #fff; transition: border-color 200ms ease, background 200ms ease, transform 200ms var(--ease-out); }
.quick-links a:hover { border-color: var(--blue); background: #fff; }
.quick-links a > span { border-radius: 0; background: var(--ink); color: var(--coolant); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.quick-links b { font: 600 17px var(--font-display); }
.quick-links small { font-size: 12px; }
.person-avatar { background: var(--ink); color: var(--coolant); border-radius: 0; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.person-card:has(input:checked), .job-people-checks label:has(input:checked) { border-color: var(--blue); background: #EEF3FA; }
.permission-group legend { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.assembly-section-head, .advanced-box summary { background: var(--steel); }
.advanced-box summary { font-family: var(--font-display); font-size: 17px; }
.legacy-group { border-left-color: var(--steel-2); }

/* ---------- Buttons: chamfered like the site ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 0; min-height: 44px; padding: 11px 20px;
  font: 600 15px/1.2 var(--font-body); letter-spacing: .01em; clip-path: var(--chamfer);
  transition: color 200ms ease, background 200ms ease, transform 200ms var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateX(-101%); transition: transform 320ms var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:disabled::before { display: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark::before { background: var(--blue); }
.btn-secondary, .btn-light { background: #fff; color: var(--ink); border: 0; box-shadow: inset 0 0 0 2px var(--ink); }
.btn-secondary:hover, .btn-light:hover { background: #fff; color: #fff; }
.btn-danger { background: #B42318; color: #fff; }
.btn-danger::before { background: #7A1A12; }
.btn-danger:hover { background: #B42318; }
.btn-success { background: #17804A; color: #fff; }
.btn-success::before { background: #0F5C35; }
.btn-success:hover { filter: none; }
.btn-compact { min-height: 36px; padding: 7px 14px; font-size: 13px; --cut: 7px; }
.link-button, .table-link { color: var(--blue); font-size: 13px; font-weight: 600; }
.table-link:hover, .link-button:hover { color: var(--blue-deep); }
.remove-row { border-radius: 0; }
.password-toggle { border-radius: 0; color: var(--muted); }
.password-toggle:hover { background: var(--steel); color: var(--ink); }

/* ---------- Forms ---------- */
.form-panel label, .auth-card label, .login-card label { font: 600 15px var(--font-display); letter-spacing: .02em; color: var(--ink); }
input, select, textarea { accent-color: var(--blue); }
.search-form input, .search-form select, .form-panel input, .form-panel select, .form-panel textarea, .component-row input,
.auth-card input, .auth-card select, .login-card input, .template-check-row input[type=text], .template-check-row select,
.generate-plan-form select, .regenerate-form select, .primary-department select {
  border-radius: 0; border: 1px solid #AEB9C4; background: #fff; color: var(--ink); min-height: 44px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.search-form input:focus, .search-form select:focus, .form-panel input:focus, .form-panel select:focus, .form-panel textarea:focus,
.component-row input:focus, .auth-card input:focus, .login-card input:focus, .template-check-row input:focus, .template-check-row select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61, 104, 178, .22);
}
.sticky-actions { border-radius: 0; background: rgba(255, 255, 255, .94); clip-path: none; }
.required-mark { border-radius: 0; }
.field-hint, .required-note { color: var(--muted); }

/* ---------- Tables ---------- */
.data-table th { font: 600 14px var(--font-display); letter-spacing: .04em; text-transform: none; color: var(--muted); background: var(--steel); border-bottom: 2px solid var(--steel-2); }
.data-table td { font-size: 14px; }
.data-table tbody tr { transition: background 150ms ease; }
.data-table tbody tr:hover { background: #F4F8FC; }
.data-table td strong { font-weight: 600; }
.data-table td:first-child strong { white-space: nowrap; }
.status-pill, .time-signal, .crew-pill, .assignment-pill, .mini-count, .recommend-badge, .batch-tag {
  border-radius: 0; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .03em;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.status-active { background: #DDF3F6; color: #0F5E66; }
.status-complete { background: #DFE9F7; color: var(--blue-deep); }
.progress-track { border-radius: 0; background: var(--steel); }
.progress-track span { border-radius: 0; background: linear-gradient(90deg, var(--blue), var(--coolant)); }
.running-row td { background: #F0FAFB; }
.running-row td:first-child { box-shadow: inset 4px 0 0 var(--coolant); }

/* Live work session banner on My Jobs (dark band, like the site's controller) */
.active-work-banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; background: var(--ink); color: var(--on-dark); border: 0; }
.active-work-banner h2 { color: #fff; }
.active-work-banner p { color: var(--on-dark-muted); margin: 0; }
.active-work-banner .eyebrow { color: var(--coolant); }
.active-work-time { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.active-work-time span { color: var(--on-dark-muted); font-size: 13px; }
.active-work-time strong { font: 700 40px/1 var(--font-display); color: var(--coolant); font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(102, 204, 204, .4); min-width: 6ch; }

/* ---------- Flash messages ---------- */
.flash { border-radius: 0; border-left: 4px solid currentColor; font-weight: 500; }

/* ---------- Sign-in, access denied, setup ---------- */
.auth-hero { background: var(--ink); color: #fff; }
.auth-hero .auth-shell { position: relative; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.auth-media { position: absolute; inset: 0; z-index: -2; }
.auth-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 70%; }
.auth-hero .auth-shell::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 24, 36, .92) 0%, rgba(19, 38, 58, .66) 48%, rgba(19, 38, 58, .18) 100%), radial-gradient(90% 60% at 0% 100%, rgba(102, 204, 204, .18), transparent 60%); }
.auth-hero .auth-topbar { background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .14); box-shadow: none; backdrop-filter: none; height: 88px; justify-content: space-between; }
.auth-hero .app-brand, .auth-hero .app-brand strong { color: #fff; }
.auth-hero .app-brand small { color: var(--on-dark-muted); }
.auth-hero .app-brand-label { border-left-color: rgba(255, 255, 255, .5); }
.auth-site-link { color: var(--on-dark); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
.auth-site-link:hover { color: #fff; text-decoration: underline; }
.auth-hero .auth-stage { flex: 1; min-height: 0; display: grid; place-items: center stretch; grid-template-columns: minmax(0, 1fr) minmax(320px, 470px); align-items: center; gap: clamp(32px, 6vw, 96px); padding: clamp(32px, 6vw, 80px) clamp(16px, 5vw, 64px); max-width: 1240px; width: 100%; margin: 0 auto; }
.auth-intro p.auth-intro__title { font: 700 clamp(44px, 6vw, 84px)/.95 var(--font-display); color: #fff; margin: 0 0 18px; max-width: 11ch; text-wrap: balance; }
.auth-intro p { font-size: clamp(17px, 1.6vw, 21px); color: var(--on-dark); max-width: 42ch; margin: 0 0 22px; }
.auth-intro ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font: 600 16px var(--font-display); letter-spacing: .03em; color: var(--coolant); }
.auth-intro li { display: inline-flex; align-items: center; gap: 8px; }
.auth-intro li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coolant); }

/* The sign-in card is the riveted nameplate from the site */
.auth-card.nameplate, .login-card {
  position: relative; overflow: hidden; color: var(--ink); border: 0; border-radius: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 3px), linear-gradient(180deg, #F1F4F6 0%, #DCE2E8 100%);
  box-shadow: inset 0 0 0 1px #B9C2CB, inset 0 2px 0 #fff, 0 30px 60px -30px rgba(0, 0, 0, .6);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  padding: 36px clamp(22px, 3vw, 40px) 34px;
}
.auth-card.nameplate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .8) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.rivet { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 18%, #A7B1BB 60%, #7D8893 100%); box-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.rivet:nth-of-type(1) { top: 12px; left: 24px; } .rivet:nth-of-type(2) { top: 12px; right: 12px; }
.rivet:nth-of-type(3) { bottom: 12px; left: 12px; } .rivet:nth-of-type(4) { bottom: 12px; right: 24px; }
.auth-card h1 { font-size: 40px; margin: 0 0 6px; }
.auth-card > p { color: var(--muted); }
.auth-card .eyebrow { display: block; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid #B9C2CB; }
.auth-card input { background: #fff; }
.auth-card .btn.full { margin-top: 26px; min-height: 50px; font-size: 16px; }
.auth-foot { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--blue); }
.auth-hero .auth-card .btn-dark { margin-top: 10px; }

/* install_admin.php uses these older class names */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(520px, 100%); }
.login-card h1 { font-size: 36px; margin: 0 0 6px; }
.login-card label { display: block; margin: 16px 0 6px; }
.login-card input { width: 100%; padding: 11px 12px; }
.muted { color: var(--muted); }

/* ---------- Motion: one load sequence, off under reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .status-dot { animation: cc-pulse 2.4s ease-out infinite; }
  .page-heading::after { animation: cc-draw 700ms 120ms var(--ease-out) both; }
  .app-main > .page-heading ~ * { animation: cc-rise 520ms var(--ease-out) both; }
  .app-main > .page-heading ~ *:nth-child(3) { animation-delay: 60ms; }
  .app-main > .page-heading ~ *:nth-child(4) { animation-delay: 120ms; }
  .app-main > .page-heading ~ *:nth-child(n+5) { animation-delay: 180ms; }
  .admin-card:hover, .quick-links a:hover { transform: translateY(-2px); }
  .auth-media img { animation: cc-settle 2400ms var(--ease-out) both; }
  .auth-intro > * { animation: cc-rise 700ms var(--ease-out) both; }
  .auth-intro > *:nth-child(2) { animation-delay: 120ms; }
  .auth-intro > *:nth-child(3) { animation-delay: 220ms; }
  .auth-card.nameplate { animation: cc-rise 700ms 160ms var(--ease-out) both; }
  .auth-card.nameplate::after { animation: cc-sheen 1.6s 800ms var(--ease-out) forwards; }
  .active-work-banner .eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--coolant); animation: cc-pulse 1.6s ease-out infinite; vertical-align: 1px; }
}
@keyframes cc-pulse { 0% { box-shadow: 0 0 0 0 rgba(102, 204, 204, .6); } 70% { box-shadow: 0 0 0 8px rgba(102, 204, 204, 0); } 100% { box-shadow: 0 0 0 0 rgba(102, 204, 204, 0); } }
@keyframes cc-draw { from { transform: scaleX(0); } to { transform: none; } }
@keyframes cc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cc-settle { from { transform: scale(1.06); filter: saturate(.6) brightness(.85); } to { transform: none; filter: none; } }
@keyframes cc-sheen { to { transform: translateX(120%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .app-brand-logo { height: 40px; }
}
@media (max-width: 900px) {
  .auth-hero .auth-stage { grid-template-columns: 1fr; align-content: start; }
  .auth-intro p.auth-intro__title { font-size: clamp(38px, 9vw, 56px); }
  .auth-intro ul { display: none; }
}
@media (max-width: 760px) {
  :root { --topbar: 66px; }
  .app-topbar::after { background: linear-gradient(90deg, var(--blue) 0 72px, var(--coolant) 72px 120px, transparent 120px); }
  .app-brand-logo { height: 34px; }
  .app-brand-label { padding-left: 10px; }
  .app-brand strong { font-size: 15px; }
  .signout-link { min-height: 38px; padding: 0 12px; }
  .metric-card strong { font-size: 30px; }
  .auth-hero .auth-topbar { height: 72px; }
  .auth-site-link { display: none; }
  .auth-intro p { margin-bottom: 0; }
  .active-work-time strong { font-size: 32px; }
}
@media (max-width: 430px) {
  .app-brand-label { display: none; }
  .auth-hero .auth-stage { padding: 24px 16px; gap: 24px; }
  .auth-intro p:not(.auth-intro__title) { display: none; }
}
