/* Bell Shoals Request Hub: glass + gradient design */
:root {
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink: #0F1B2D; --muted: #55627A; --faint: #8A95A8;
  --bg: #EEF3FB;
  --glass: rgba(255, 255, 255, .62); --glass-strong: rgba(255, 255, 255, .82);
  --glass-edge: rgba(255, 255, 255, .85); --line: rgba(15, 27, 45, .10);
  --field: rgba(255, 255, 255, .72); --field-edge: rgba(15, 27, 45, .12);
  --shadow: 0 1px 1px rgba(15, 27, 45, .04), 0 12px 40px -12px rgba(30, 64, 175, .22);
  --brand-a: #3B82F6; --brand-b: #8B5CF6;
  --creative-a: #06B6D4; --creative-b: #3B82F6;
  --it-a: #8B5CF6; --it-b: #6366F1;
  --facilities-a: #10B981; --facilities-b: #0D9488;
  --err: #DC2626; --err-tint: rgba(220, 38, 38, .08);
  --warn: #92400E; --warn-tint: rgba(245, 158, 11, .14);
  --aurora-1: #93C5FD; --aurora-2: #C4B5FD; --aurora-3: #99F6E4; --aurora-4: #BAE6FD;
  --r-s: 12px; --r-m: 18px; --r-l: 26px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EAF0FA; --muted: #A3AEC2; --faint: #6F7B90;
    --bg: #070B17;
    --glass: rgba(20, 28, 48, .55); --glass-strong: rgba(24, 33, 56, .78);
    --glass-edge: rgba(255, 255, 255, .10); --line: rgba(255, 255, 255, .08);
    --field: rgba(255, 255, 255, .05); --field-edge: rgba(255, 255, 255, .12);
    --shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 20px 50px -18px rgba(0, 0, 0, .7);
    --err: #F87171; --err-tint: rgba(248, 113, 113, .12);
    --warn: #FCD34D; --warn-tint: rgba(252, 211, 77, .10);
    --aurora-1: #1D4ED8; --aurora-2: #6D28D9; --aurora-3: #0F766E; --aurora-4: #0E7490;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #EAF0FA; --muted: #A3AEC2; --faint: #6F7B90;
  --bg: #070B17;
  --glass: rgba(20, 28, 48, .55); --glass-strong: rgba(24, 33, 56, .78);
  --glass-edge: rgba(255, 255, 255, .10); --line: rgba(255, 255, 255, .08);
  --field: rgba(255, 255, 255, .05); --field-edge: rgba(255, 255, 255, .12);
  --shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 20px 50px -18px rgba(0, 0, 0, .7);
  --err: #F87171; --err-tint: rgba(248, 113, 113, .12);
  --warn: #FCD34D; --warn-tint: rgba(252, 211, 77, .10);
  --aurora-1: #1D4ED8; --aurora-2: #6D28D9; --aurora-3: #0F766E; --aurora-4: #0E7490;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand-a); }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--focus, var(--brand-a)); border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--glass-strong); padding: 8px 14px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }

/* department gradients */
.d-creative { --a: var(--creative-a); --b: var(--creative-b); --focus: var(--creative-b); }
.d-it { --a: var(--it-a); --b: var(--it-b); --focus: var(--it-a); }
.d-facilities { --a: var(--facilities-a); --b: var(--facilities-b); --focus: var(--facilities-a); }
:root { --a: var(--brand-a); --b: var(--brand-b); }
.d-creative, .d-it, .d-facilities, .d-space { --grad: linear-gradient(135deg, var(--a), var(--b)); --tint: color-mix(in srgb, var(--a) 14%, transparent); }
:root { --grad: linear-gradient(135deg, var(--a), var(--b)); --tint: color-mix(in srgb, var(--a) 12%, transparent); }

/* aurora background */
.aurora { position: fixed; inset: -20vmax; z-index: -1; pointer-events: none; filter: blur(70px) saturate(140%); opacity: .9; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; mix-blend-mode: normal; animation: drift 28s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: radial-gradient(circle at 30% 30%, var(--aurora-1), transparent 62%); left: 0; top: 0; }
.aurora i:nth-child(2) { background: radial-gradient(circle at 60% 40%, var(--aurora-2), transparent 62%); right: 0; top: 10%; animation-duration: 34s; animation-delay: -8s; }
.aurora i:nth-child(3) { background: radial-gradient(circle at 50% 50%, var(--aurora-3), transparent 60%); left: 20%; bottom: 0; animation-duration: 40s; animation-delay: -16s; }
.aurora i:nth-child(4) { background: radial-gradient(circle at 50% 50%, var(--aurora-4), transparent 60%); right: 10%; bottom: 10%; animation-duration: 31s; animation-delay: -4s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vmax, -4vmax, 0) scale(1.08); }
  100% { transform: translate3d(-5vmax, 5vmax, 0) scale(.95); }
}
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* glass primitive */
.glass, header.site .site-in, .step, .stepper, .dept-pick, .slip-you, .slip-dept, .done-card {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, header.site .site-in, .step, .stepper, .dept-pick, .slip-you, .slip-dept, .done-card { background: var(--glass-strong); }
}

/* header */
header.site { position: sticky; top: 0; z-index: 20; padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 0; margin-top: calc(-1 * env(safe-area-inset-top, 0px)); }
.site-in { max-width: 1120px; margin: 0 auto; padding: 10px 12px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 999px; }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.wordmark { font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; }
.logo-img { height: 30px; width: auto; display: block; }
.portal-name { font-weight: 600; font-size: .88rem; color: var(--muted); padding: 6px 12px; border-radius: 999px; background: var(--field); border: 1px solid var(--field-edge); }

/* start */
.start { max-width: 720px; margin: 0 auto; padding: clamp(36px, 8vw, 80px) 20px 64px; }
.start h1 { font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 800; letter-spacing: -.035em; max-width: 13ch;
  background: linear-gradient(120deg, var(--ink) 30%, color-mix(in srgb, var(--brand-b) 70%, var(--ink)) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: 1.06rem; margin: 14px 0 0; max-width: 56ch; }
.dept-picks { display: grid; gap: 14px; margin-top: 34px; }
.dept-pick { position: relative; display: grid; grid-template-columns: 56px 1fr 30px; grid-template-areas: "icon name check" "icon blurb check" "icon note check"; column-gap: 16px; align-items: center; text-align: left; border-radius: var(--r-l); padding: 18px 18px 18px 16px; cursor: pointer; transition: transform .18s ease, box-shadow .2s ease; -webkit-tap-highlight-color: transparent; }
.dept-pick:hover { transform: translateY(-2px); }
.dept-pick:active { transform: scale(.985); }
.dept-pick::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; background: var(--grad); opacity: 0; transition: opacity .2s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.dept-pick[aria-pressed="true"]::before { opacity: 1; }
.dept-pick[aria-pressed="true"] { box-shadow: var(--shadow), 0 18px 40px -18px var(--a); background: color-mix(in srgb, var(--a) 9%, var(--glass)); }
.dp-icon { grid-area: icon; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px var(--a), inset 0 1px 0 rgba(255,255,255,.35); }
.dp-icon svg { width: 26px; height: 26px; }
.dp-name { grid-area: name; font-weight: 750; font-size: 1.14rem; letter-spacing: -.01em; }
.dp-blurb { grid-area: blurb; color: var(--muted); font-size: .93rem; }
.dp-note { grid-area: note; font-size: .8rem; font-weight: 600; margin-top: 4px; color: var(--muted); }
.dp-note::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--a); margin-right: 6px; vertical-align: 2px; }
.dp-box { grid-area: check; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--field-edge); background: var(--field); position: relative; transition: all .18s ease; }
.dept-pick[aria-pressed="true"] .dp-box { background: var(--grad); border-color: transparent; box-shadow: 0 6px 14px -6px var(--a); }
.dept-pick[aria-pressed="true"] .dp-box::after { content: ""; position: absolute; left: 9px; top: 4px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.start-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.start .btn.primary { min-width: 200px; }

/* flow layout */
.flow { max-width: 1120px; margin: 0 auto; padding: 24px 16px 72px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.stepper { position: sticky; top: calc(92px + env(safe-area-inset-top, 0px)); border-radius: var(--r-m); padding: 14px 10px; }
.stepper ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.stepper-mobile, .progress { display: none; }
.st > span, .st > button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 9px 10px; border-radius: 12px; background: none; border: 0; }
.st > button { cursor: pointer; }
.st > button:hover { background: var(--field); }
.st-num { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: .82rem; background: var(--field); border: 1px solid var(--field-edge); color: var(--muted); }
.st-current .st-num, .st-done .st-num { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 14px -6px var(--a); }
.st-done .st-num { opacity: .75; }
.st-current .st-lbl { font-weight: 700; }
.st-todo .st-lbl { color: var(--muted); }
.st-lbl { font-size: .93rem; }
.change-teams { margin: 10px 0 0 10px; font-size: .9rem; }

.step { border-radius: var(--r-l); padding: 34px clamp(18px, 4vw, 40px) 28px; max-width: 800px; position: relative; isolation: isolate; }
.dept-band { position: absolute; z-index: -1; inset: 0 0 auto 0; height: 200px; border-radius: var(--r-l) var(--r-l) 0 0; background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--a) 26%, transparent), transparent 70%); pointer-events: none; }
.step h1 { font-size: clamp(1.8rem, 4.6vw, 2.5rem); font-weight: 800; }
.step h1:focus { outline: none; box-shadow: none; }
.dept-step h1 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 2px; }

/* fields */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 24px; }
.field { min-width: 0; border: 0; padding: 0; margin: 0; }
.field.wide { grid-column: 1 / -1; }
.field > label, .field > legend, .field .lbl { display: block; font-weight: 650; font-size: .93rem; margin-bottom: 7px; padding: 0; }
.opt { font-weight: 500; color: var(--faint); font-size: .82rem; margin-left: 2px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 1rem;
  background: var(--field); border: 1px solid var(--field-edge); border-radius: var(--r-s);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { 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 1l5 5 5-5' fill='none' stroke='%238A95A8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus, var(--brand-a)); background: var(--glass-strong); box-shadow: 0 0 0 4px color-mix(in srgb, var(--focus, var(--brand-a)) 22%, transparent); }
.field textarea { resize: vertical; min-height: 110px; }
.field [aria-invalid="true"] { border-color: var(--err) !important; box-shadow: 0 0 0 4px var(--err-tint) !important; }
.hint { font-size: .84rem; color: var(--muted); margin: 7px 0 0; }
.field > .hint:first-of-type { margin-top: -3px; margin-bottom: 10px; }
.field-err { color: var(--err); font-size: .86rem; font-weight: 600; margin: 7px 0 0; }
.field-err:empty { display: none; }

/* chips */
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 14px 9px 12px; border-radius: 999px; border: 1px solid var(--field-edge); background: var(--field); cursor: pointer; font-size: .94rem; font-weight: 550; transition: all .15s ease; -webkit-tap-highlight-color: transparent; }
.check:hover { border-color: color-mix(in srgb, var(--a) 50%, var(--field-edge)); }
.check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check span::before { content: ""; display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--faint); margin-right: 8px; vertical-align: -4px; transition: all .15s ease; background-position: center; background-repeat: no-repeat; }
.check:has(input:checked) { background: var(--tint); border-color: color-mix(in srgb, var(--a) 55%, transparent); color: var(--ink); }
.check:has(input:checked) span::before { background-color: var(--a); border-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.check:has(input:focus-visible) { box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 28%, transparent); }

/* segmented toggle */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--field); border: 1px solid var(--field-edge); }
.seg label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: var(--muted); transition: all .18s ease; }
.seg input:checked + span { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px var(--a); }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 35%, transparent); }

.notice { background: var(--warn-tint); color: var(--warn); border-radius: var(--r-s); padding: 11px 14px; margin: 10px 0 0; font-size: .9rem; font-weight: 500; border: 1px solid color-mix(in srgb, var(--warn) 18%, transparent); }
.notice.soft { background: var(--tint); color: var(--ink); border-color: color-mix(in srgb, var(--a) 22%, transparent); margin-top: 22px; }

.sub { margin-top: 30px; padding: 22px clamp(14px, 3vw, 22px); border-radius: var(--r-m); background: color-mix(in srgb, var(--field) 70%, transparent); border: 1px solid var(--line); }
.sub h2 { font-size: 1.22rem; font-weight: 750; display: flex; align-items: center; gap: 10px; }
.sub h2::before { content: ""; width: 10px; height: 10px; border-radius: 4px; background: var(--grad); flex: none; }
.sub-lede { color: var(--muted); margin: 6px 0 0; font-size: .93rem; max-width: 62ch; }
.sub .fields { margin-top: 16px; }

/* error summary */
.err-summary { background: var(--err-tint); border: 1px solid color-mix(in srgb, var(--err) 30%, transparent); border-radius: var(--r-m); padding: 14px 18px; margin-top: 22px; }
.err-summary:focus { outline: none; box-shadow: 0 0 0 4px var(--err-tint); }
.err-summary p { margin: 0 0 6px; }
.err-summary ul { margin: 0; padding-left: 1.2em; }
.err-summary a { color: var(--err); font-weight: 600; }

/* buttons */
.btn { border: 0; border-radius: 999px; padding: 13px 24px; min-height: 50px; font-weight: 700; font-size: .98rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn.small { padding: 9px 16px; min-height: 42px; font-size: .9rem; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -12px var(--a), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.primary:hover { filter: brightness(1.08) saturate(1.1); box-shadow: 0 16px 34px -12px var(--a), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.primary:disabled { opacity: .7; cursor: progress; }
.btn.ghost { background: var(--field); border: 1px solid var(--field-edge); color: var(--ink); }
.btn.ghost:hover { background: var(--glass-strong); }
.btn.link { background: none; padding: 6px 2px; min-height: 0; color: var(--b, var(--brand-a)); font-weight: 650; border-radius: 6px; }
.btn.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn.link.danger { color: var(--err); }
.nav-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }

/* print builder */
.pb-catalog { margin-top: 16px; display: grid; gap: 14px; }
.pb-group h3 { font-size: .82rem; font-weight: 650; color: var(--muted); margin-bottom: 8px; letter-spacing: 0; }
.pb-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.pb-tile { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; min-height: 64px; background: var(--field); border: 1px solid var(--field-edge); border-radius: 14px; cursor: pointer; transition: all .15s ease; -webkit-tap-highlight-color: transparent; }
.pb-tile:hover { border-color: color-mix(in srgb, var(--a) 55%, transparent); transform: translateY(-1px); }
.pb-tile[aria-pressed="true"] { background: var(--tint); border-color: var(--a); }
.pb-tile b { font-weight: 650; font-size: .93rem; }
.pb-tile span { font-size: .78rem; color: var(--muted); }
.pb-pick { font-weight: 650; margin: 0; }
.pb-config { margin-top: 16px; border-radius: var(--r-m); padding: 18px; background: var(--glass-strong); border: 1px solid color-mix(in srgb, var(--a) 40%, transparent); box-shadow: 0 16px 40px -22px var(--a); }
.pb-config h3 { font-size: 1.05rem; font-weight: 700; }
.pb-config .fields { margin-top: 12px; }
.pb-line { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--tint); }
.pb-amt { display: block; font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pb-calc { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.pb-btns { display: flex; gap: 8px; }
.pb-cart { margin-top: 16px; }
.pb-empty { color: var(--muted); padding: 16px; border: 1.5px dashed var(--field-edge); border-radius: 14px; margin: 0; text-align: center; font-size: .93rem; }
.pb-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pb-items li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 12px 14px; border-radius: 14px; background: var(--field); border: 1px solid var(--field-edge); }
.pbi-t { display: block; font-weight: 650; }
.pbi-d { display: block; font-size: .83rem; color: var(--muted); }
.pbi-p { font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }
.pbi-acts { grid-column: 1 / -1; display: flex; gap: 16px; }
.pb-total, .sp-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 2px 0; }
.pb-total span, .sp-total span { font-weight: 600; color: var(--muted); }
.pb-total strong, .sp-total strong { font-weight: 800; font-size: 1.8rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pb-addmore { margin-top: 14px; }
.pb-catalog > .btn.link { justify-self: start; }
.ack { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--field); border: 1px solid var(--field-edge); cursor: pointer; font-size: .93rem; }
.ack.invalid { border-color: var(--err); box-shadow: 0 0 0 4px var(--err-tint); }
.ack input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--a); }

/* merch */
.merch-list { margin-top: 16px; display: grid; gap: 12px; }
.merch-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.merch-list > .btn { justify-self: start; }

/* more details */
.more { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.more-toggle { font-size: 1rem; }
.more-note { color: var(--faint); font-size: .86rem; margin-left: 10px; }
.more .fields { margin-top: 14px; }

/* review: routing slip */
.slip { margin-top: 24px; display: grid; gap: 14px; }
.slip-you, .slip-dept { border-radius: var(--r-m); overflow: hidden; }
.slip-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.slip-dept .slip-head { background: linear-gradient(90deg, color-mix(in srgb, var(--a) 20%, transparent), transparent 80%); }
.slip-head h2 { font-size: 1.06rem; font-weight: 750; display: flex; align-items: center; gap: 10px; }
.slip-dept .slip-head h2::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--grad); box-shadow: 0 4px 10px -3px var(--a); }
.slip dl { margin: 0; padding: 4px 18px 12px; }
.slip dl > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.slip dl > div:last-child { border-bottom: 0; }
.slip dt { color: var(--muted); font-size: .86rem; }
.slip dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 500; }
.slip-route { margin: 8px 2px 0; font-weight: 650; color: var(--muted); }
.slip-print { padding: 4px 18px 16px; }
.slip-print h3 { font-size: .95rem; margin: 8px 0 6px; font-weight: 700; }
.slip-print ul { list-style: none; margin: 0; padding: 0; }
.slip-print li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sp-t { font-weight: 650; }
.sp-d { grid-column: 1 / 2; font-size: .83rem; color: var(--muted); }
.sp-p { grid-row: 1; grid-column: 2; font-weight: 750; font-variant-numeric: tabular-nums; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* done */
.done { max-width: 640px; margin: 0 auto; padding: clamp(40px, 9vw, 90px) 20px 80px; text-align: center; }
.done-orb { width: 104px; height: 104px; margin: 0 auto 26px; border-radius: 34px; display: grid; place-items: center; background: linear-gradient(135deg, var(--creative-a), var(--brand-b) 55%, var(--facilities-a)); box-shadow: 0 24px 60px -18px var(--brand-b), inset 0 1px 0 rgba(255,255,255,.4); animation: orb-in .7s cubic-bezier(.2,.9,.25,1.2) both; }
.done-orb svg { width: 50px; height: 50px; }
.done-orb path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick .5s .45s ease-out forwards; }
@keyframes orb-in { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes tick { to { stroke-dashoffset: 0; } }
.done h1 { font-size: clamp(2.3rem, 7vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; }
.done h1:focus { outline: none; box-shadow: none; }
.done .lede { margin-left: auto; margin-right: auto; }
.rid { font-weight: 800; letter-spacing: .02em; padding: 2px 10px; border-radius: 999px; background: var(--field); border: 1px solid var(--field-edge); white-space: nowrap; }
.done-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; text-align: left; }
.done-list li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-m); background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.done-list li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--grad); flex: none; box-shadow: 0 4px 10px -3px var(--a); }
.done .notice { margin-top: 18px; text-align: left; }
.done .start-actions { justify-content: center; }
.toast { min-height: 1.4em; color: var(--brand-a); font-weight: 600; margin-top: 12px; }

/* reveal */
.enter { animation: reveal .42s cubic-bezier(.2,.8,.25,1) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(-10px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 12px; padding: 14px 12px 24px; }
  .stepper { position: static; padding: 12px 14px; border-radius: var(--r-m); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; }
  .stepper ol { display: none; }
  .stepper-mobile { display: block; margin: 0; font-weight: 700; font-size: .92rem; }
  .progress { display: block; grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--field); overflow: hidden; }
  .progress span { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width .4s ease; }
  .change-teams { margin: 0; grid-column: 2; grid-row: 1; font-size: .85rem; }
  .step { padding: 26px 16px 0; border-radius: var(--r-l); }
  /* thumb-reach action bar */
  .nav-row { position: sticky; bottom: 0; margin: 28px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line);
    background: var(--glass-strong); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); z-index: 5; }
  .nav-row .btn.primary { flex: 1; }
}
@media (max-width: 620px) {
  .fields { grid-template-columns: 1fr; gap: 16px; }
  .merch-row { grid-template-columns: 1fr; }
  .slip dl > div { grid-template-columns: 1fr; gap: 2px; }
  .dept-pick { grid-template-columns: 48px 1fr 28px; padding: 16px 14px; column-gap: 14px; }
  .dp-icon { width: 48px; height: 48px; border-radius: 15px; }
  .start .btn.primary { width: 100%; }
  .pb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-note { display: block; margin: 4px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i, .enter, .done-orb, .done-orb path { animation: none !important; }
  .done-orb path { stroke-dashoffset: 0; }
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- brand: wave mark + wordmark, filled with the aurora ---------- */
:root { --wave: url("/assets/wave-mark.svg"); --word: url("/assets/wordmark.svg"); --aurora-grad: linear-gradient(135deg, var(--creative-a), var(--brand-b) 55%, var(--facilities-a));
  /* the logo stays in the blues */
  --wave-grad: linear-gradient(135deg, #22D3EE, #0EA5E9 45%, #2563EB); --wave-shadow: #0EA5E9; }
.masked { -webkit-mask: var(--wave) center / contain no-repeat; mask: var(--wave) center / contain no-repeat; }
.brand-mark { width: 30px; height: 30px; flex: none; background: var(--wave-grad);
  -webkit-mask: var(--wave) center / contain no-repeat; mask: var(--wave) center / contain no-repeat;
  filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--wave-shadow) 45%, transparent)); }
.brand-word { width: 118px; aspect-ratio: 2582 / 548; background: var(--ink);
  -webkit-mask: var(--word) left center / contain no-repeat; mask: var(--word) left center / contain no-repeat; }
.brand { gap: 12px; padding: 2px 0; }
.brand:hover .brand-mark { filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--wave-shadow) 65%, transparent)); }

/* ---------- the glass wave: a frosted pane shaped like the mark ---------- */
.wave-scene { position: fixed; z-index: -1; pointer-events: none; aspect-ratio: 1; transition: opacity .6s ease; }
.wave-float { position: absolute; inset: 0; animation: wave-float 18s ease-in-out infinite alternate; }
.wave-float > div { position: absolute; inset: 0;
  /* the wave shape, with its square top-left corner dissolving into the aurora */
  -webkit-mask: var(--wave) center / contain no-repeat, linear-gradient(135deg, transparent 8%, rgba(0,0,0,.35) 30%, #000 52%);
  -webkit-mask-composite: source-in;
  mask: var(--wave) center / contain no-repeat, linear-gradient(135deg, transparent 8%, rgba(0,0,0,.35) 30%, #000 52%);
  mask-composite: intersect; }
.wave-glow { background: var(--wave-grad); filter: blur(46px); opacity: .55; transform: translate(4%, 5%) scale(1.04); }
.wave-shadow { background: rgba(30, 41, 90, .16); transform: translate(1.4%, 1.8%); filter: blur(5px); }
.wave-rim { background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .15) 55%, rgba(255, 255, 255, .5)); transform: translate(-.45%, -.45%); }
.wave-glass { background: linear-gradient(140deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .14) 50%, rgba(255, 255, 255, .32));
  -webkit-backdrop-filter: blur(16px) saturate(190%); backdrop-filter: blur(16px) saturate(190%); }
@keyframes wave-float { 0% { transform: translate3d(0, 0, 0) rotate(0deg); } 100% { transform: translate3d(-1.5%, -3%, 0) rotate(-1.5deg); } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wave-glow { opacity: .7; }
  :root:not([data-theme="light"]) .wave-shadow { background: rgba(0, 0, 0, .55); }
  :root:not([data-theme="light"]) .wave-rim { background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .04) 55%, rgba(255, 255, 255, .2)); }
  :root:not([data-theme="light"]) .wave-glass { background: linear-gradient(140deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 50%, rgba(255, 255, 255, .08)); }
}
:root[data-theme="dark"] .wave-glow { opacity: .7; }
:root[data-theme="dark"] .wave-shadow { background: rgba(0, 0, 0, .55); }
:root[data-theme="dark"] .wave-rim { background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .04) 55%, rgba(255, 255, 255, .2)); }
:root[data-theme="dark"] .wave-glass { background: linear-gradient(140deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 50%, rgba(255, 255, 255, .08)); }

/* where the wave sits on each screen */
.wave-scene { width: min(46vw, 560px); left: -10vw; bottom: -12vw; opacity: .75; }              /* form steps: behind the panels */
body[data-screen="start"] .wave-scene { width: min(60vw, 760px); left: auto; right: -9vw; top: 9vh; bottom: auto; opacity: 1; }
body[data-screen="done"] .wave-scene { width: min(92vw, 680px); left: 50%; top: 2vh; bottom: auto; margin-left: calc(min(92vw, 680px) / -2); opacity: .55; }
@media (max-width: 860px) {
  .wave-scene { width: 80vw; left: -30vw; bottom: -18vw; opacity: .6; }
  body[data-screen="start"] .wave-scene { width: 96vw; right: -44vw; top: 64px; opacity: .9; }
  body[data-screen="done"] .wave-scene { width: 120vw; margin-left: -60vw; top: 0; opacity: .45; }
  .brand-word { width: 104px; }
}

/* success tile: the wave etched into the gradient */
.done-orb { position: relative; overflow: hidden; background: var(--wave-grad); box-shadow: 0 24px 60px -18px var(--wave-shadow), inset 0 1px 0 rgba(255,255,255,.4); }
.done-orb::before { content: ""; position: absolute; inset: 12%; background: rgba(255, 255, 255, .24);
  -webkit-mask: var(--wave) center / contain no-repeat; mask: var(--wave) center / contain no-repeat; }
.done-orb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.35), transparent 45%); }
.done-orb svg { position: relative; z-index: 1; filter: drop-shadow(0 2px 6px rgba(15, 27, 45, .35)); }

@media (prefers-reduced-motion: reduce) { .wave-float { animation: none !important; } }

@media (max-width: 620px) { .hide-sm { display: none; } }

/* ---------- Help me decide (assistant) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.assist { position: relative; margin-top: 30px; padding: 18px; border-radius: var(--r-l); background: var(--glass); border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.35); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); }
.assist::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(120deg, var(--creative-a), var(--brand-b) 50%, var(--facilities-a));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; }
.as-head { display: flex; gap: 14px; align-items: flex-start; }
.as-icon { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--aurora-grad); box-shadow: 0 10px 22px -10px var(--brand-b); }
.as-icon svg { width: 22px; height: 22px; }
.as-head h2 { font-size: 1.15rem; font-weight: 800; }
.as-head p { margin: 3px 0 0; color: var(--muted); font-size: .93rem; }
.as-thread { display: grid; gap: 8px; margin-top: 16px; max-height: 340px; overflow-y: auto; padding: 2px; }
.as-msg { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: .95rem; line-height: 1.5; }
.as-msg p { margin: 0; white-space: pre-wrap; }
.as-user { justify-self: end; background: var(--aurora-grad); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 8px 20px -12px var(--brand-b); }
.as-assistant { justify-self: start; background: var(--glass-strong); border: 1px solid var(--field-edge); border-bottom-left-radius: 6px; }
.as-thinking { display: inline-flex; align-items: center; min-height: 40px; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-b); opacity: .35; animation: dot 1.1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.as-card { margin-top: 12px; padding: 14px; border-radius: var(--r-m); background: var(--glass-strong); border: 1px solid var(--field-edge); display: grid; gap: 14px; }
.as-lbl { margin: 0 0 6px; font-size: .8rem; font-weight: 650; color: var(--muted); }
.as-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.as-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 4px 5px 12px; border-radius: 999px; font-size: .88rem; font-weight: 600; background: var(--tint); border: 1px solid color-mix(in srgb, var(--a) 40%, transparent); }
.as-chip button, .as-rows button, .as-print button { width: 28px; height: 28px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.05rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.as-chip button:hover, .as-rows button:hover, .as-print button:hover { background: var(--field); color: var(--ink); }
.as-rows { margin: 0; display: grid; gap: 2px; }
.as-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) 28px; gap: 10px; align-items: start; padding: 6px 0; border-bottom: 1px solid var(--line); }
.as-row:last-child { border-bottom: 0; }
.as-row dt { color: var(--muted); font-size: .85rem; padding-top: 3px; }
.as-row dd { margin: 0; font-size: .93rem; overflow-wrap: anywhere; padding-top: 2px; }
.as-print { list-style: none; margin: 0; padding: 0; }
.as-print li { display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; gap: 0 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.as-print li:last-child { border-bottom: 0; }
.as-print .sp-t { grid-column: 1; } .as-print .sp-d { grid-column: 1; grid-row: 2; } .as-print .sp-p { grid-column: 2; grid-row: 1 / span 2; } .as-print button { grid-column: 3; grid-row: 1 / span 2; }
.as-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.as-input { display: flex; gap: 8px; align-items: flex-end; margin-top: 14px; }
.as-input textarea { flex: 1; min-height: 50px; max-height: 200px; resize: vertical; padding: 12px 14px; font-size: 1rem; border-radius: 16px; background: var(--field); border: 1px solid var(--field-edge); }
.as-input textarea:focus { outline: none; border-color: var(--brand-b); background: var(--glass-strong); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-b) 22%, transparent); }
.as-input textarea::placeholder { color: var(--faint); }
.as-send { min-height: 50px; }
.as-fine { margin: 10px 2px 0; font-size: .78rem; color: var(--faint); }
.assist .field-err { margin-left: 2px; }
.or-divider { display: flex; align-items: center; gap: 14px; margin: 28px 0 -14px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.as-note { display: flex; gap: 10px; align-items: center; }
.as-note svg { width: 18px; height: 18px; flex: none; color: var(--brand-b); }
@media (max-width: 620px) {
  .assist { padding: 14px; }
  .as-row { grid-template-columns: minmax(0, 1fr) 28px; }
  .as-row dt { grid-column: 1; } .as-row dd { grid-column: 1; } .as-row button { grid-column: 2; grid-row: 1 / span 2; }
  .as-actions .btn.primary { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .dots i { animation: none; opacity: .7; } }
.as-needed ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.as-needed li { position: relative; padding: 6px 10px 6px 28px; border-radius: 10px; background: var(--warn-tint); color: var(--warn); font-size: .9rem; font-weight: 550; }
.as-needed li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 2px solid currentColor; }
.as-ready { display: grid; gap: 12px; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--facilities-a) 12%, transparent); border: 1px solid color-mix(in srgb, var(--facilities-a) 35%, transparent); }
.as-ready p { margin: 0; font-size: .95rem; }
.as-ready.is-ready { box-shadow: 0 14px 34px -20px var(--facilities-a); }
.as-ready-btns { display: inline-flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 620px) { .as-ready-btns { width: 100%; } .as-ready-btns .btn { flex: 1; } }
.as-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--field-edge); background: var(--field); font-weight: 650; font-size: .9rem; cursor: pointer; text-align: left; }
.as-toggle:hover { background: var(--glass-strong); }
.as-caret { width: 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.as-toggle[aria-expanded="true"] .as-caret { transform: rotate(-135deg) translateY(-2px); }
.as-toggle + .as-rows { margin-top: 8px; }

/* header lockup: logo | Request Hub */
.hub-divider { width: 1px; height: 26px; background: var(--field-edge); flex: none; margin: 0 2px; }
.hub-name { font-weight: 800; font-size: 1.06rem; letter-spacing: -.015em; white-space: nowrap;
  background: var(--wave-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hub-name { background: linear-gradient(135deg, #67E8F9, #38BDF8 50%, #60A5FA); -webkit-background-clip: text; background-clip: text; } }
:root[data-theme="dark"] .hub-name { background: linear-gradient(135deg, #67E8F9, #38BDF8 50%, #60A5FA); -webkit-background-clip: text; background-clip: text; }
.site-in { justify-content: flex-start; }
@media (max-width: 380px) { .brand-word { width: 92px; } .hub-name { font-size: .98rem; } .brand { gap: 9px; } }
.av-block { padding-top: 8px; border-top: 1px solid var(--line); }
.av-title { margin: 0; font-weight: 750; font-size: 1.05rem; }

/* signed-in person in the header */
.who { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; }
.who-name { font-weight: 650; padding: 6px 12px; border-radius: 999px; background: var(--field); border: 1px solid var(--field-edge); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-out { color: var(--muted); font-weight: 600; text-decoration: none; padding: 6px 4px; }
.who-out:hover { color: var(--ink); text-decoration: underline; }
.signed-as p { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
@media (max-width: 480px) { .who-name { display: none; } }

/* Reserve a Space */
:root { --space-a: #F59E0B; --space-b: #EA580C; }
.d-space { --a: var(--space-a); --b: var(--space-b); --focus: var(--space-b); }
.sub-hint { display: block; font-size: .76rem; font-weight: 500; color: var(--muted); margin-top: 1px; }
.check .sub-hint { margin-left: 26px; }
.ok-note { color: var(--facilities-b); font-weight: 600; }
.event-recap p { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
#conflictNote { min-height: 1.6em; }
#conflictNote:empty { min-height: 0; }


/* ---------- opening entrance: everything rises in, one after another ---------- */
.intro h1, .intro .lede { animation: rise-soft .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 80ms + 60ms); }
.intro .intro-item { animation: rise .75s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
@keyframes rise-soft { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
/* glass elements: no filter here, it would interrupt their blur */
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- Help me decide: compact composer ---------- */
@property --as-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.assist { padding: 14px 14px 10px; margin-top: 26px; }
.assist::before {
  padding: 1.5px; opacity: 1;
  background: conic-gradient(from var(--as-ang), transparent 0 52%, rgba(34, 211, 238, .9) 66%, rgba(59, 130, 246, .95) 78%, transparent 92%),
              linear-gradient(var(--glass-edge), var(--glass-edge));
  animation: as-orbit 10s linear infinite;
}
@keyframes as-orbit { to { --as-ang: 360deg; } }
.as-title { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 750; letter-spacing: 0; margin: 2px 2px 10px; color: var(--ink); }
.as-title svg { width: 16px; height: 16px; color: #0EA5E9; }
.as-input { display: flex; gap: 8px; align-items: flex-end; margin-top: 0; }
.assist.is-chatting .as-input { margin-top: 12px; }
.as-box { position: relative; flex: 1; min-width: 0; }
.as-box textarea { width: 100%; display: block; min-height: 52px; max-height: 200px; resize: none; padding: 14px 16px; font-size: 1rem; line-height: 1.45;
  border-radius: 18px; background: var(--field); border: 1px solid var(--field-edge); }
.as-box textarea:focus { outline: none; border-color: #0EA5E9; background: var(--glass-strong); box-shadow: 0 0 0 4px rgba(14, 165, 233, .18); }
.as-ghost { position: absolute; inset: 0; padding: 14px 16px; pointer-events: none; color: var(--faint); font-size: 1rem; line-height: 1.45; overflow: hidden;
  transition: opacity .35s ease, transform .35s ease; }
.as-ghost-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.as-ghost.swap { opacity: 0; transform: translateY(5px); }
.as-ghost.hide { opacity: 0; transform: none; transition: opacity .12s ease; }
.as-send { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: var(--wave-grad); box-shadow: 0 10px 24px -10px var(--wave-shadow), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .15s ease, filter .2s ease; }
.as-send svg { width: 22px; height: 22px; transition: transform .2s ease; }
.as-send:hover { filter: brightness(1.08); }
.as-send:hover svg { transform: translateX(3px); }
.as-send:active { transform: scale(.94); }
.as-send:disabled { opacity: .55; cursor: progress; }
.as-fine { margin: 8px 4px 0; font-size: .76rem; }
.or-divider { margin: 26px 0 -10px; }
.start .lede { margin-top: 10px; }
@media (max-width: 620px) {
  .assist { padding: 12px 12px 8px; }
  .as-box textarea, .as-ghost { padding: 13px 14px; font-size: .97rem; }
  .as-send { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro h1, .intro .lede, .intro .intro-item { animation: none !important; }
  .assist::before { animation: none; }
}


/* ---------- My requests ---------- */
.mine { margin: 0 0 30px; padding: 14px 14px 10px; border-radius: var(--r-l); background: var(--glass); border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.35); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); }
.mine-head { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 8px; }
.mine-h { font-size: .86rem; font-weight: 750; letter-spacing: 0; }
.mine-refresh { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--field-edge); background: var(--field); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.mine-refresh svg { width: 16px; height: 16px; transition: transform .5s ease; }
.mine-refresh:hover svg { transform: rotate(180deg); }
.mine-refresh:disabled svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mine-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mine-item { padding: 12px 14px; border-radius: 16px; background: var(--field); border: 1px solid var(--field-edge); }
.mine-item.is-attention { border-color: color-mix(in srgb, #F59E0B 55%, transparent); background: color-mix(in srgb, #F59E0B 9%, var(--field)); }
.mine-top { display: flex; justify-content: space-between; gap: 10px; font-size: .78rem; color: var(--muted); }
.mine-id { font-weight: 750; letter-spacing: .02em; color: var(--ink); }
.mine-title { margin: 3px 0 8px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mine-teams { display: flex; flex-wrap: wrap; gap: 6px; }
.mine-chip { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: var(--glass-strong); border: 1px solid var(--field-edge); color: var(--ink); }
.mine-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .9; }
.mine-chip b { font-weight: 750; }
.mine-chip.tone-new { color: #0284C7; }
.mine-chip.tone-progress { color: #4F46E5; }
.mine-chip.tone-attention { color: #B45309; border-color: color-mix(in srgb, #F59E0B 50%, transparent); }
.mine-chip.tone-waiting { color: var(--muted); }
.mine-chip.tone-done { color: #059669; }
.mine-chip b, .mine-chip { -webkit-text-fill-color: currentColor; }
.mine-note { margin: 8px 0 0; font-size: .84rem; font-weight: 600; color: #B45309; }
.mine-more { margin: 8px 2px 2px; font-size: .9rem; }
.mine-skel { display: grid; gap: 8px; }
.mine-skel i { display: block; height: 64px; border-radius: 16px; background: linear-gradient(90deg, var(--field) 0%, var(--glass-strong) 50%, var(--field) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mine-chip.tone-new { color: #38BDF8; } :root:not([data-theme="light"]) .mine-chip.tone-progress { color: #A5B4FC; }
  :root:not([data-theme="light"]) .mine-chip.tone-attention, :root:not([data-theme="light"]) .mine-note { color: #FBBF24; } :root:not([data-theme="light"]) .mine-chip.tone-done { color: #34D399; } }
@media (prefers-reduced-motion: reduce) { .mine-skel i, .mine-refresh:disabled svg { animation: none; } }
.mine-list { grid-template-columns: minmax(0, 1fr); }
.mine-item { min-width: 0; }
@media (max-width: 620px) { .mine { padding: 12px 10px 8px; } .mine-item { padding: 11px 12px; } }

/* =====================================================================
   READABILITY PASS (Oct 2026). Everything below can be deleted to return
   to the original, airier glass.
   ===================================================================== */
:root {
  --muted: #4A5568;            /* was #55627A */
  --faint: #667185;            /* was #8A95A8; now meets text contrast guidelines */
  --glass: rgba(255, 255, 255, .74);         /* more frosted (was .62) */
  --glass-strong: rgba(255, 255, 255, .88);
  --field: rgba(255, 255, 255, .92);         /* inputs nearly solid (was .72) */
  --field-edge: rgba(15, 27, 45, .16);
  --panel-read: rgba(255, 255, 255, .86);    /* form steps: a little transparency */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --muted: #B3BDCF; --faint: #8E99AD;
    --glass: rgba(20, 28, 48, .70); --glass-strong: rgba(24, 33, 56, .88);
    --field: rgba(10, 16, 30, .78); --field-edge: rgba(255, 255, 255, .16);
    --panel-read: rgba(18, 25, 43, .86);
  }
}
:root[data-theme="dark"] {
  --muted: #B3BDCF; --faint: #8E99AD;
  --glass: rgba(20, 28, 48, .70); --glass-strong: rgba(24, 33, 56, .88);
  --field: rgba(10, 16, 30, .78); --field-edge: rgba(255, 255, 255, .16);
  --panel-read: rgba(18, 25, 43, .86);
}
/* Heavier frost everywhere glass is used */
.glass, header.site .site-in, .step, .stepper, .dept-pick, .slip-you, .slip-dept, .done-card, .assist, .mine {
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  backdrop-filter: blur(32px) saturate(150%);
}
/* Where people read and type: nearly solid */
.step, .slip-you, .slip-dept { background: var(--panel-read); }
.dept-band { opacity: .75; }

/* Device setting: "Reduce transparency" → solid panels, calmer background */
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: #FFFFFF; --glass-strong: #FFFFFF; --panel-read: #FFFFFF; --field: #F7F9FC; }
  .glass, header.site .site-in, .step, .stepper, .dept-pick, .slip-you, .slip-dept, .done-card, .assist, .mine, .done-list li, .nav-row {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  .aurora { opacity: .45; }
  .wave-scene { display: none; }
}
@media (prefers-reduced-transparency: reduce) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --glass: #161D2E; --glass-strong: #1B2336; --panel-read: #161D2E; --field: #0F1524; }
}

/* Device setting: "Increase contrast" → stronger text and edges */
@media (prefers-contrast: more) {
  :root { --muted: #2D3748; --faint: #4A5568; --field-edge: rgba(15, 27, 45, .45); --glass-edge: rgba(15, 27, 45, .35); --panel-read: #FFFFFF; --glass: rgba(255,255,255,.94); }
  .wave-scene { opacity: .25 !important; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --muted: #D5DCE8; --faint: #B3BDCF; --field-edge: rgba(255,255,255,.4); --glass-edge: rgba(255,255,255,.3); --panel-read: #121826; --glass: rgba(18,24,38,.95); }
}

/* ---------- My requests: journey progress bars ---------- */
.jr-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: -2px 16px 8px 16px; font-size: .7rem; font-weight: 650; color: var(--faint); }
.jr-legend span:nth-child(2), .jr-legend span:nth-child(3) { text-align: center; }
.jr-legend span:last-child { text-align: right; }
.mine-journey { display: grid; gap: 10px; margin-top: 4px; }
.jr-top { display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; margin-bottom: 5px; }
.jr-team { font-weight: 750; }
.jr-status { font-weight: 650; color: var(--muted); }
.jr-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.jr-seg { position: relative; height: 7px; border-radius: 999px; background: var(--field-edge); overflow: hidden; }
.jr-seg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--jr, linear-gradient(90deg, #22D3EE, #3B82F6));
  transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d) * 140ms + 150ms); }
.jr-seg.on::after { transform: scaleX(1); }
.jr-done { --jr: linear-gradient(90deg, #34D399, #10B981); }
.jr-done .jr-status { color: #059669; }
.jr-attention { --jr: linear-gradient(90deg, #FBBF24, #F59E0B); }
.jr-attention .jr-status { color: #B45309; }
.jr-attention .jr-seg.now::after { animation: jr-pulse 1.8s ease-in-out infinite; animation-delay: 1s; }
@keyframes jr-pulse { 50% { opacity: .45; } }
.jr-paused { --jr: linear-gradient(90deg, #A0AEC0, #8492A6); }
.jr-active .jr-status { color: #2563EB; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .jr-active .jr-status { color: #60A5FA; }
  :root:not([data-theme="light"]) .jr-done .jr-status { color: #34D399; }
  :root:not([data-theme="light"]) .jr-attention .jr-status { color: #FBBF24; }
}
@media (prefers-reduced-motion: reduce) { .jr-seg::after { transition: none; } .jr-attention .jr-seg.now::after { animation: none; } }
.jr-legend { margin: 0 15px 6px; gap: 4px; }
.jr-legend span, .jr-legend span:nth-child(2), .jr-legend span:nth-child(3), .jr-legend span:last-child { text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 620px) { .jr-legend { margin: 0 13px 6px; font-size: .66rem; } }


/* ---------- My requests: In progress / Completed ---------- */
.mine-sub { display: flex; align-items: center; gap: 8px; margin: 2px 4px 8px; font-size: .78rem; font-weight: 750; color: var(--muted); }
.mine-sub span, .mine-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font-size: .72rem; font-weight: 750;
  background: var(--field); border: 1px solid var(--field-edge); color: var(--ink); }
.mine-empty { margin: 2px 4px 10px; color: var(--muted); font-size: .9rem; }
.mine-done { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.mine-done-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 44px; padding: 8px 6px; border: 0; background: none;
  font-weight: 700; font-size: .9rem; color: var(--ink); cursor: pointer; border-radius: 12px; }
.mine-done-toggle > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.mine-done-toggle:hover { background: var(--field); }
.mine-done-toggle[aria-expanded="true"] .as-caret { transform: rotate(-135deg) translateY(-2px); }
.mine-done-list { list-style: none; margin: 4px 0 4px; padding: 0; display: grid; gap: 2px; grid-template-columns: minmax(0, 1fr); }
.mine-done-list li { display: flex; gap: 12px; align-items: center; padding: 9px 8px; border-radius: 12px; min-width: 0; }
.mine-done-list li:hover { background: var(--field); }
.mine-check { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #34D399, #10B981); }
.mine-check svg { width: 13px; height: 13px; }
.mine-done-main { min-width: 0; display: grid; }
.mine-done-title { font-weight: 650; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mine-done-meta { font-size: .76rem; color: var(--muted); }

/* ---------- My requests: thin collapsible bar ---------- */
.mine.mine-thin { padding: 6px; margin-bottom: 26px; }
.mine.mine-thin.is-open { padding: 6px 10px 10px; }
.mine-bar { display: flex; align-items: center; gap: 6px; }
.mine-bar-btn { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border: 0; background: none; border-radius: 14px; cursor: pointer; text-align: left; color: var(--ink); }
.mine-bar-btn:hover { background: var(--field); }
.mine-bar-icon { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--wave-grad); box-shadow: 0 6px 14px -8px var(--wave-shadow); }
.mine-bar-icon svg { width: 18px; height: 18px; }
.mine-bar-title { font-weight: 750; font-size: .95rem; white-space: nowrap; }
.mine-badges { flex: 1; min-width: 0; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.mine-badge { padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; background: var(--field); border: 1px solid var(--field-edge); color: var(--muted); }
.mine-badge.attention { color: #B45309; background: color-mix(in srgb, #F59E0B 14%, var(--field)); border-color: color-mix(in srgb, #F59E0B 45%, transparent); }
.mine-badge.attention::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 5px; vertical-align: 1px; animation: jr-pulse 1.8s ease-in-out infinite; }
.mine-badge.done { color: #059669; }
.mine-bar-btn .as-caret { flex: none; margin: 0 4px 0 2px; }
.mine-bar-btn[aria-expanded="true"] .as-caret { transform: rotate(-135deg) translateY(-2px); }
.mine-bar.is-loading { padding: 6px 10px; min-height: 48px; }
.mine-bar-skel { flex: 1; height: 18px; border-radius: 999px; background: linear-gradient(90deg, var(--field) 0%, var(--glass-strong) 50%, var(--field) 100%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.mine-body { padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mine-badge.attention { color: #FBBF24; } :root:not([data-theme="light"]) .mine-badge.done { color: #34D399; } }
@media (max-width: 420px) { .mine-bar-title { font-size: .9rem; } .mine-badge { font-size: .7rem; padding: 3px 7px; } }
@media (prefers-reduced-motion: reduce) { .mine-badge.attention::before, .mine-bar-skel { animation: none; } }
.mine-bar-text { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
@media (max-width: 520px) {
  .mine-bar-text { flex-direction: column; align-items: flex-start; gap: 3px; }
  .mine-badges { justify-content: flex-start; flex-wrap: nowrap; }
  .mine-bar-btn { min-height: 56px; }
}

/* ---------- My requests: header button + panel ---------- */
.hdr-right { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.hdr-right .who { margin-left: 0; }
.my-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 12px 4px 5px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--field-edge); background: var(--field); color: var(--ink); font-weight: 700; font-size: .88rem; transition: background .15s ease, box-shadow .2s ease; }
.my-btn:hover { background: var(--glass-strong); }
.my-btn[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(14, 165, 233, .25); }
.my-btn-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--wave-grad); }
.my-btn-icon svg { width: 16px; height: 16px; }
.my-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-size: .72rem; font-weight: 800;
  background: var(--ink); color: var(--bg); }
.my-badge.attention { background: #F59E0B; color: #1F1300; animation: my-glow 2.4s ease-in-out infinite; }
@keyframes my-glow { 50% { box-shadow: 0 0 0 4px rgba(245, 158, 11, .25); } }
.my-scrim { position: fixed; inset: 0; z-index: 34; background: transparent; }
.my-pop { position: fixed; z-index: 35; top: calc(env(safe-area-inset-top, 0px) + 76px); right: max(14px, calc((100vw - 1120px) / 2 + 14px));
  width: min(460px, calc(100vw - 28px)); max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); overflow: auto; overscroll-behavior: contain;
  padding: 12px 12px 10px; border-radius: var(--r-l); background: var(--glass-strong); border: 1px solid var(--glass-edge);
  box-shadow: 0 24px 60px -24px rgba(15, 27, 45, .45), inset 0 1px 0 rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(32px) saturate(160%); backdrop-filter: blur(32px) saturate(160%); }
.my-pop.enter { animation: pop-in .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
.my-pop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 4px 10px; }
.my-pop-head h2 { font-size: 1.02rem; font-weight: 800; }
.my-pop-actions { display: inline-flex; gap: 6px; }
@media (max-width: 620px) {
  .my-btn-label { display: none; }
  .my-btn { padding: 4px; gap: 0; }
  .my-btn .my-badge { position: absolute; top: -4px; right: -6px; }
  .my-pop { left: 10px; right: 10px; width: auto; top: calc(env(safe-area-inset-top, 0px) + 72px); }
  .my-scrim { background: rgba(8, 12, 24, .22); }
}
@media (prefers-reduced-motion: reduce) { .my-pop.enter, .my-badge.attention { animation: none; } }
@media (prefers-reduced-transparency: reduce) { .my-pop { background: var(--panel-read); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- Performance: soft aurora without a live blur filter ----------
   The old 70px filter re-blurred the whole background on every frame of motion.
   Wide, feathered gradients give the same softness at almost no cost. */
.aurora { filter: none; opacity: .85; }
.aurora i { will-change: transform; }
.aurora i:nth-child(1) { background: radial-gradient(circle at 35% 35%, var(--aurora-1) 0%, color-mix(in srgb, var(--aurora-1) 45%, transparent) 28%, transparent 66%); }
.aurora i:nth-child(2) { background: radial-gradient(circle at 60% 40%, var(--aurora-2) 0%, color-mix(in srgb, var(--aurora-2) 45%, transparent) 28%, transparent 66%); }
.aurora i:nth-child(3) { background: radial-gradient(circle at 50% 50%, var(--aurora-3) 0%, color-mix(in srgb, var(--aurora-3) 45%, transparent) 26%, transparent 64%); }
.aurora i:nth-child(4) { background: radial-gradient(circle at 50% 50%, var(--aurora-4) 0%, color-mix(in srgb, var(--aurora-4) 45%, transparent) 26%, transparent 64%); }
.wave-float { will-change: transform; }
.wave-glow { filter: blur(30px); }   /* small element: cheap, and it doesn't animate on its own */
/* The frosted wave stays still (moving a blurred pane is costly); its glow drifts gently instead. */
.wave-float { animation: none; will-change: auto; }
.wave-glow { animation: glow-drift 16s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes glow-drift { from { transform: translate(4%, 5%) scale(1.04); } to { transform: translate(1%, 1%) scale(1.1); opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .wave-glow { animation: none; } }
/* Journey bars: fill once when they first appear (survives page updates) */
.jr-seg::after { transition: none; transform: scaleX(0); }
.jr-seg.on::after { transform: scaleX(1); animation: jr-fill .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d) * 130ms + 120ms); }
@keyframes jr-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.jr-attention .jr-seg.now::after { animation: jr-fill .6s cubic-bezier(.2,.8,.2,1) both, jr-pulse 1.8s ease-in-out 1.2s infinite; animation-delay: calc(var(--d) * 130ms + 120ms), 1.2s; }
@media (prefers-reduced-motion: reduce) { .jr-seg.on::after { animation: none; transform: scaleX(1); } }

/* ---------- Header: signed-in person ---------- */
.acct { position: relative; display: inline-flex; }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 12px 4px 4px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--field-edge); background: var(--field); color: var(--ink); font-weight: 700; font-size: .88rem; max-width: 180px; }
.acct-btn:hover { background: var(--glass-strong); }
.acct-btn[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(14, 165, 233, .25); }
.acct-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; font-weight: 800; letter-spacing: .02em;
  color: #fff; background: linear-gradient(135deg, #22D3EE, #2563EB); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.acct-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu { position: absolute; z-index: 40; top: calc(100% + 10px); right: 0; min-width: 230px; max-width: min(300px, calc(100vw - 24px)); padding: 12px;
  display: grid; gap: 10px; border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--glass-edge);
  box-shadow: 0 20px 50px -20px rgba(15, 27, 45, .45); -webkit-backdrop-filter: blur(32px) saturate(160%); backdrop-filter: blur(32px) saturate(160%); }
.acct-menu.enter { animation: pop-in .22s cubic-bezier(.2,.8,.2,1) both; }
.acct-who { display: grid; gap: 2px; padding: 2px 4px; }
.acct-who strong { font-size: .95rem; }
.acct-who span { font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.acct-who em { font-size: .74rem; color: var(--faint); font-style: normal; margin-top: 4px; }
.acct-out { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .9rem;
  color: var(--ink); background: var(--field); border: 1px solid var(--field-edge); }
.acct-out:hover { background: var(--glass); }
.signin-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .88rem;
  color: var(--ink); background: var(--field); border: 1px solid var(--field-edge); }
.signin-btn svg { width: 16px; height: 16px; }
.signin-btn:hover { background: var(--glass-strong); }
.who { display: none; } /* replaced by the account button */
@media (max-width: 620px) {
  .acct-name { display: none; }
  .acct-btn { padding: 4px; gap: 0; }
  .signin-btn span { display: none; }
  .signin-btn { padding: 4px 10px; }
}
@media (prefers-reduced-motion: reduce) { .acct-menu.enter { animation: none; } }

/* ---------- Performance, round 2: nothing moves underneath frosted glass ----------
   Any motion behind a backdrop-filter forces every glass panel above it to re-blur each frame.
   On large desktop screens that's a lot of glass, which caused visible flicker.
   The background is now still; motion lives on top of the glass instead
   (entrance, chat border light, rotating examples, progress bars). */
.aurora i { animation: none !important; will-change: auto; }
.wave-glow { animation: none !important; will-change: auto; }

/* ---------- Performance, round 3: frost smarter on big screens ----------
   Measured on a 1440px screen while scrolling: 16 fps before, ~57 fps after.
   1) The big glass wave uses a tinted glass finish instead of a live blur (the background is
      still now, so it looks the same) and keeps its rim, shadow, and glow.
   2) Live blur is kept only where it matters most: the header, the chat box, form panels,
      and pop-up panels, with a lighter radius. Cards and list rows use soft, more opaque glass.
   3) The light around the chat box travels only while it's hovered or being typed in. */
.wave-glass { -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background: linear-gradient(140deg, rgba(255,255,255,.66), rgba(255,255,255,.24) 50%, rgba(255,255,255,.42)) !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wave-glass { background: linear-gradient(140deg, rgba(160,190,255,.20), rgba(255,255,255,.05) 50%, rgba(160,190,255,.12)) !important; } }
:root[data-theme="dark"] .wave-glass { background: linear-gradient(140deg, rgba(160,190,255,.20), rgba(255,255,255,.05) 50%, rgba(160,190,255,.12)) !important; }

.glass, header.site .site-in, .step, .assist, .my-pop, .acct-menu, .nav-row {
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
.dept-pick, .stepper, .slip-you, .slip-dept, .mine, .done-list li, .done-card {
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.dept-pick, .stepper, .done-list li, .done-card { background: rgba(255, 255, 255, .80); }
.dept-pick[aria-pressed="true"] { background: color-mix(in srgb, var(--a) 12%, rgba(255,255,255,.86)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dept-pick, :root:not([data-theme="light"]) .stepper,
  :root:not([data-theme="light"]) .done-list li, :root:not([data-theme="light"]) .done-card { background: rgba(20, 28, 48, .80); }
  :root:not([data-theme="light"]) .dept-pick[aria-pressed="true"] { background: color-mix(in srgb, var(--a) 16%, rgba(20,28,48,.86)); }
}
:root[data-theme="dark"] .dept-pick, :root[data-theme="dark"] .stepper, :root[data-theme="dark"] .done-list li, :root[data-theme="dark"] .done-card { background: rgba(20, 28, 48, .80); }

.assist::before { animation-play-state: paused; }
.assist:hover::before, .assist:focus-within::before { animation-play-state: running; }

/* ---------- Opening polish ---------- */
/* Hide the page for the brief moment before the font is ready (max ~0.75s), so nothing jumps. */
html.booting #app { visibility: hidden; }
/* Things containing frosted glass rise in without fading: fading frosted glass makes its blur snap on at the end. */
.intro .intro-item.no-fade { animation-name: rise-nofade; }
@keyframes rise-nofade { from { transform: translateY(18px) scale(.985); } to { transform: none; } }
/* Header buttons that appear after sign-in fade in instead of popping. */
.hdr-right > * { animation: hdr-in .35s ease both; }
@keyframes hdr-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hdr-right > * { animation: none; } }

/* ---------- Conversations ---------- */
.mine-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.mine-reply { background: linear-gradient(135deg, #FBBF24, #F59E0B); color: #1F1300; box-shadow: 0 8px 18px -10px #F59E0B; min-height: 38px; }
.mine-convo { font-size: .88rem; padding: 4px 0; }
.mine-new { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 750; color: #0284C7; }
.mine-new::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #0EA5E9; box-shadow: 0 0 0 3px rgba(14,165,233,.2); }
.my-badge.fresh { background: #0EA5E9; color: #fff; }
.mine-done-row { cursor: pointer; }
.th-back { width: 34px; height: 34px; margin-right: 2px; border-radius: 50%; border: 1px solid var(--field-edge); background: var(--field); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.th-back svg { width: 18px; height: 18px; }
.my-pop-head { justify-content: flex-start; }
.my-pop-head h2 { flex: 1; }
.th-req { padding: 0 4px 8px; border-bottom: 1px solid var(--line); }
.th-req .mine-title { margin: 2px 0 0; }
.th-list { display: grid; gap: 10px; padding: 12px 2px; max-height: 46vh; overflow-y: auto; }
.th-msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; }
.th-msg p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .94rem; }
.th-you { justify-self: end; background: color-mix(in srgb, #0EA5E9 14%, var(--field)); border: 1px solid color-mix(in srgb, #0EA5E9 30%, transparent); border-bottom-right-radius: 6px; }
.th-team { justify-self: start; background: var(--field); border: 1px solid var(--field-edge); border-bottom-left-radius: 6px; }
.th-meta { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); }
.th-meta b { color: var(--ink); font-size: .8rem; }
.th-meta .th-chip { padding: 1px 7px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--field-edge); font-weight: 650; }
.th-time { margin-left: auto; }
.th-empty { color: var(--muted); font-size: .9rem; margin: 6px 4px; }
.th-compose { border-top: 1px solid var(--line); padding-top: 10px; }
.th-to { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 650; margin: 0 2px 8px; }
.th-to select { min-height: 36px; padding: 4px 30px 4px 10px; border-radius: 10px; border: 1px solid var(--field-edge); background: var(--field); font-weight: 650;
  -webkit-appearance: none; appearance: none; 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 1l5 5 5-5' fill='none' stroke='%238A95A8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mine-new { color: #38BDF8; } }

/* ---------- My defaults ---------- */
.def-prompt { margin: 0 0 26px; padding: 16px 16px 12px; border-radius: var(--r-l); background: var(--glass); border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.35); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
.def-prompt h2 { font-size: 1.05rem; font-weight: 800; }
.def-prompt > .hint { margin-top: 4px; }
.def-editor { display: grid; gap: 14px; margin-top: 12px; }
.def-editor .checks { display: flex; flex-wrap: wrap; gap: 6px; }
.def-editor .check { min-height: 38px; padding: 6px 12px 6px 10px; font-size: .88rem; }
.def-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 4px; }
.def-pop { width: min(520px, calc(100vw - 28px)); }
.def-pop-lede { margin: 0 4px 2px; }
.acct-def { flex-direction: column; gap: 1px; height: auto; padding: 8px 10px; }
.acct-def span { font-size: .74rem; font-weight: 600; color: var(--muted); }

/* ---------- Rush (shorter than standard lead time) ---------- */
.rush-tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #7C2D12; background: linear-gradient(135deg, #FDE68A, #FBBF24); vertical-align: 2px; }
.rush-alert { margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, #F59E0B 11%, var(--field)); border: 1px solid color-mix(in srgb, #F59E0B 45%, transparent); }
.rush-alert p { margin: 0 0 8px; font-size: .93rem; }
.rush-h { display: flex; align-items: center; gap: 8px; font-weight: 750; }
.rush-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.rush-go { background: linear-gradient(135deg, #FBBF24, #F59E0B) !important; color: #1F1300 !important; box-shadow: 0 10px 22px -12px #F59E0B !important; }
.rush-ok { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: var(--field); border: 1px solid var(--field-edge); }
.rush-ok p { margin: 0; font-size: .9rem; }
.rush-ok .btn.link { padding: 0; margin-left: 4px; font-size: .9rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rush-tag { color: #1F1300; } }
.mine-id .rush-tag { margin-left: 6px; font-size: .66rem; padding: 1px 7px; vertical-align: 1px; }

/* ---------- Your details: known-person summary ---------- */
.you-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--field); border: 1px solid var(--field-edge); }
.you-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff;
  background: linear-gradient(135deg, #22D3EE, #2563EB); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.you-main { flex: 1; min-width: 0; }
.you-main p { margin: 0; overflow-wrap: anywhere; }
.you-name { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.you-where { margin-top: 3px !important; color: var(--muted); }
.you-where strong { color: var(--ink); }
.you-src { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #0369A1;
  background: color-mix(in srgb, #0EA5E9 12%, var(--field)); border: 1px solid color-mix(in srgb, #0EA5E9 30%, transparent); vertical-align: 1px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .you-src { color: #7DD3FC; } }
@media (max-width: 520px) { .you-card { flex-wrap: wrap; } .you-card .btn { margin-left: 56px; } }
@media (max-width: 620px) {
  .you-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: start; }
  .you-card .you-avatar { width: 38px; height: 38px; }
  .you-card .you-main { grid-column: 2; }
  .you-card:not(:has(.you-avatar)) .you-main { grid-column: 1 / -1; }
  .you-card .btn { grid-column: 1 / -1; margin-left: 0; justify-self: start; }
  .you-name { flex-direction: column; gap: 0; }
}

/* ---------- Delayed (team marked Schedule → Delayed in Asana) ---------- */
.jr-delayed { --jr: linear-gradient(90deg, #F87171, #EF4444); }
.jr-delayed .jr-status { color: #B91C1C; }
.mine-item.is-delayed { border-color: color-mix(in srgb, #EF4444 45%, transparent); background: color-mix(in srgb, #EF4444 6%, var(--field)); }
.delayed-note { color: #B91C1C !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .jr-delayed .jr-status, :root:not([data-theme="light"]) .delayed-note { color: #FCA5A5 !important; } }
