:root {
  --font: "Schibsted Grotesk", system-ui, sans-serif;

  --paper: #f5f6f8; --surface: #ffffff; --surface-2: #fafbfc;
  --line: #dde3ea; --line-soft: #e9edf2;
  --ink: #0f1e33; --ink-2: #43536a; --ink-3: #5d6b7f;

  --comp-900: #0e2240; --comp-800: #17305a; --comp-700: #22406f; --comp-on: #d3dceb; --comp-on-2: #93a5c2;
  --comp-100: #e7edf6; --comp-50: #f1f5fa;

  --acc: #f28a1b; --acc-hover: #e07a0c; --acc-ink: #0e2240; --acc-strong: #9a4a00; --acc-100: #ffe7cc; --acc-50: #fff5ea; --acc-line: #f6b878;

  --blue: #1668c9;

  --ok: #1d7444; --ok-bg: #e4f4ea;
  --warn: #7f5b00; --warn-bg: #fff6d4;
  --err: #b42318; --err-bg: #fdecea;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --r: 8px; --r-sm: 6px;
  --shadow-pop: 0 10px 30px -8px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.10);
  --focus: 0 0 0 2px var(--surface), 0 0 0 4px var(--blue);
  --t: 160ms;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { accent-color: var(--comp-900); caret-color: var(--blue); }
body { font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
::selection { background: var(--acc-100); color: var(--ink); }
a { color: var(--blue); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
[tabindex="-1"]:focus { box-shadow: none; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num { font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); padding: 9px 16px; border-radius: var(--r); font-weight: 600; font-size: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; transition: background var(--t), border-color var(--t); white-space: nowrap; }
.btn:hover { border-color: var(--ink-3); background: var(--surface-2); }
.btn.primary { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); font-weight: 700; }
.btn.primary:hover { background: var(--acc-hover); border-color: var(--acc-hover); }
.btn.ghost { border-color: transparent; background: none; color: var(--ink-2); }
.btn.ghost:hover { background: var(--comp-50); color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.loading { color: transparent !important; position: relative; }
.btn.loading::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid rgba(14,34,64,.3); border-top-color: var(--acc-ink); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); height: 100vh; }
.side { background: var(--comp-900); color: var(--comp-on); display: flex; flex-direction: column; padding: var(--s4) var(--s3); gap: var(--s1); overflow: auto; }
.side .logo { display: block; padding: 6px 10px 18px; }
.side .logo img { height: 19px; filter: brightness(0) invert(1); display: block; }
.side .cobrand { margin: -8px 10px 16px; padding: 8px 10px; background: #fff; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; }
.side .cobrand img { max-height: 40px; max-width: 100%; object-fit: contain; display: block; }
.mtop .morg { height: 26px; max-width: 96px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px 4px; }
.side .create { width: 100%; margin-bottom: var(--s4); padding: 11px 14px; font-size: 15px; }
.side .sec { font-size: 12px; font-weight: 600; color: var(--comp-on-2); padding: var(--s3) 10px 6px; }
.views { list-style: none; display: grid; gap: 2px; }
.views a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--comp-on); text-decoration: none; font-weight: 500; font-size: 14px; transition: background var(--t); }
.views a:hover { background: var(--comp-800); color: #fff; }
.views a[aria-current="page"] { background: var(--comp-700); color: #fff; font-weight: 600; }
.views .c { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--comp-on-2); font-variant-numeric: tabular-nums; }
.views a[aria-current="page"] .c { color: #fff; }
.views .c.hot { background: var(--acc); color: var(--acc-ink); border-radius: 99px; padding: 0 7px; }
.support { margin-top: auto; border-top: 1px solid var(--comp-800); padding: var(--s4) 10px var(--s2); font-size: 13px; color: var(--comp-on-2); }
.support b { color: #fff; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 13.5px; }
.support .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--comp-on-2); }
.support .dot.on { background: #3ccf7f; }
.support dl { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s3); margin-top: var(--s3); }
.support dd { color: var(--comp-on); font-variant-numeric: tabular-nums; }
.me { position: relative; border-top: 1px solid var(--comp-800); padding-top: var(--s3); }
.me > button { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; color: var(--comp-on); text-align: left; padding: 6px 8px; border-radius: var(--r-sm); cursor: pointer; }
.me > button:hover { background: var(--comp-800); }
.me b { display: block; color: #fff; font-weight: 600; font-size: 14px; line-height: 1.2; }
.me small { font-size: 12px; color: var(--comp-on-2); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--comp-100); color: var(--comp-900); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.avatar.staff { background: var(--comp-900); color: #fff; }
.menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); background: var(--surface); color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow-pop); padding: 6px; display: none; z-index: 20; }
.menu.open { display: block; }
.menu button { width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer; font-size: 14px; }
.menu button:hover { background: var(--comp-50); }

.work { display: grid; grid-template-columns: 400px minmax(0, 1fr); min-height: 0; }
.list-pane { border-right: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; min-height: 0; }
.list-head { padding: var(--s4) var(--s4) var(--s3); border-bottom: 1px solid var(--line-soft); }
.list-head h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: baseline; gap: var(--s2); }
.list-head h1 .c { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.search { position: relative; margin-top: var(--s3); }
.search svg { position: absolute; left: 11px; top: 11px; color: var(--ink-3); }
.search input { width: 100%; padding: 8px 64px 8px 36px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: 14px; transition: border-color var(--t), background var(--t); }
.search input:hover { border-color: var(--ink-3); }
.search input:focus-visible { background: var(--surface); border-color: var(--blue); border-radius: var(--r); }
.search .key { position: absolute; right: 10px; top: 9px; font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; background: var(--surface); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search .clear { position: absolute; right: 6px; top: 5px; display: none; background: none; border: 0; padding: 4px 6px; color: var(--ink-3); cursor: pointer; border-radius: 4px; }
.search.has .clear { display: block; } .search.has .key { display: none; }
.search .clear svg { position: static; display: block; }
.sortline { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: var(--s2); }
.rows { list-style: none; overflow: auto; flex: 1; }
.rows li + li { border-top: 1px solid var(--line-soft); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 3px var(--s3); padding: 12px var(--s4); text-decoration: none; color: var(--ink); transition: background var(--t); }
.row:hover { background: var(--surface-2); }
.row:focus-visible { border-radius: 0; box-shadow: inset 0 0 0 2px var(--blue); }
.row[aria-current="true"] { background: var(--acc-50); box-shadow: inset 0 0 0 1px var(--acc-line); }
.row .id { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; display: flex; gap: 6px; align-items: center; }
.row .upd { font-size: 12.5px; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.row .subj { grid-column: 1 / -1; font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.row .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
.newmark { display: inline-flex; align-items: center; gap: 4px; color: var(--acc-strong); font-weight: 700; }
.newmark::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }

.st { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 2px 8px 2px 6px; border-radius: 5px; white-space: nowrap; }
.st svg { width: 13px; height: 13px; stroke-width: 2.1; }
.st-wait { background: var(--acc-100); color: var(--acc-strong); }
.st-open { background: var(--comp-100); color: var(--comp-800); }
.st-new { background: var(--line-soft); color: var(--ink-2); }
.st-closed { background: var(--ok-bg); color: var(--ok); }
.prio { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-2); }
.prio svg { width: 13px; height: 13px; stroke-width: 2.2; }
.prio.hi { color: var(--err); font-weight: 600; }

.skel { padding: 14px var(--s4); display: grid; gap: 8px; }
.skel i { display: block; height: 10px; border-radius: 4px; background: linear-gradient(90deg, var(--line-soft), var(--paper), var(--line-soft)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { padding: var(--s6) var(--s5); text-align: center; color: var(--ink-2); font-size: 14px; }
.empty > svg { width: 28px; height: 28px; color: var(--ink-3); margin-bottom: var(--s2); }
.empty b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.empty .acts { display: flex; gap: var(--s2); justify-content: center; margin-top: var(--s4); flex-wrap: wrap; }

.detail { display: flex; flex-direction: column; min-height: 0; background: var(--paper); }
.d-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: var(--s4) var(--s5); }
.d-top { display: flex; align-items: flex-start; gap: var(--s4); }
.back { display: none; }
.d-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; flex: 1; }
.d-head .id { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-bottom: 2px; }
.d-tags { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; margin-top: var(--s3); font-size: 13px; color: var(--ink-2); }
.d-tags .area { display: inline-flex; gap: 5px; align-items: center; }
details.facts { margin-top: var(--s3); font-size: 13px; }
details.facts summary { cursor: pointer; color: var(--ink-2); font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 6px; border-radius: 4px; }
details.facts summary::-webkit-details-marker { display: none; }
details.facts summary svg { transition: transform var(--t); }
details.facts[open] summary svg { transform: rotate(90deg); }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3) var(--s5); margin-top: var(--s3); padding: var(--s3) var(--s4); background: var(--comp-50); border-radius: var(--r); }
.facts-grid dt { color: var(--ink-3); font-size: 12px; }
.facts-grid dd { font-weight: 600; color: var(--ink); }
.steps { display: flex; gap: 4px; margin-top: 6px; }
.steps span { height: 4px; flex: 1; border-radius: 2px; background: var(--line); }
.steps span.on { background: var(--comp-700); }
.steps span.now { background: var(--acc); }
.thread { flex: 1; overflow: auto; padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); }
.thread-in { max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: var(--s4); }
.notice { border-radius: var(--r); padding: var(--s3) var(--s4); font-size: 14px; display: flex; gap: var(--s3); align-items: flex-start; }
.notice svg { margin-top: 3px; }
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice.ok { background: var(--ok-bg); color: var(--ok); }
.notice.err { background: var(--err-bg); color: var(--err); }
.notice.info { background: var(--comp-100); color: var(--comp-800); }
.notice b { font-weight: 700; }
.notice ul { margin: 4px 0 0 18px; }
.notice a { color: inherit; font-weight: 600; }
.msg { display: grid; grid-template-columns: 34px 1fr; gap: var(--s3); }
.msg .bubble { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3) var(--s4); }
.msg.staff .bubble { background: var(--comp-50); border-color: var(--comp-100); }
.msg .who { display: flex; align-items: baseline; gap: var(--s2); font-size: 14px; flex-wrap: wrap; }
.msg .who b { font-weight: 700; }
.msg .who .org { font-size: 11.5px; font-weight: 700; color: var(--comp-800); background: var(--comp-100); padding: 0 6px; border-radius: 4px; }
.msg .who time { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.msg p { margin-top: 4px; color: var(--ink-2); white-space: pre-wrap; }
.msg .att { display: inline-flex; gap: 6px; align-items: center; margin-top: var(--s2); font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px 8px; background: var(--surface); }
.event { display: flex; align-items: center; gap: var(--s3); font-size: 12.5px; color: var(--ink-3); }
.event::before, .event::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.composer { background: var(--surface); border-top: 1px solid var(--line); padding: var(--s3) var(--s5) var(--s4); }
.composer-in { max-width: 760px; margin: 0 auto; }
.composer label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 6px; }
.composer textarea { width: 100%; min-height: 76px; max-height: 240px; resize: vertical; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; font-size: 15px; transition: border-color var(--t); }
.composer textarea:hover { border-color: var(--ink-3); }
.composer textarea:focus-visible { border-color: var(--blue); border-radius: var(--r); }
.composer .bar { display: flex; gap: var(--s2); align-items: center; margin-top: var(--s2); flex-wrap: wrap; }
.composer .bar .btn.primary { margin-left: auto; }
.composer .files { font-size: 13px; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.closed-bar { text-align: center; padding: var(--s4); background: var(--surface); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.placeholder { flex: 1; display: grid; place-items: center; text-align: center; color: var(--ink-3); padding: var(--s6); }
.placeholder b { display: block; color: var(--ink-2); font-size: 16px; margin-bottom: 4px; }

.err-msg { display: none; color: var(--err); font-size: 13px; margin-top: 6px; gap: 6px; align-items: center; }
.err-msg.show { display: flex; }
[aria-invalid="true"] { border-color: var(--err) !important; }

.create-pane { overflow: auto; background: var(--paper); }
.create-in { max-width: 820px; margin: 0 auto; padding: var(--s6) var(--s5) var(--s7); }
.create-in > header { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); margin-bottom: var(--s5); }
.create-in h1 { font-size: 30px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.create-in .lead { color: var(--ink-2); margin-top: 4px; }
.group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); margin-bottom: var(--s4); }
.group > h2 { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.group > p { font-size: 14px; color: var(--ink-3); margin-bottom: var(--s4); }
.f { margin-bottom: var(--s4); }
.f:last-child { margin-bottom: 0; }
.f > label, .f > .lbl { display: flex; align-items: baseline; gap: var(--s2); font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.req { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.opt { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.help { font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.f input[type=text], .f textarea, .f select { width: 100%; border: 1px solid var(--line); border-radius: var(--r); padding: 9px 12px; font-size: 15px; background: var(--surface); transition: border-color var(--t); }
.f input:hover, .f textarea:hover, .f select:hover { border-color: var(--ink-3); }
.f input:focus-visible, .f textarea:focus-visible, .f select:focus-visible { border-color: var(--blue); border-radius: var(--r); }
.f textarea { min-height: 130px; resize: vertical; }
.counter { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.opt-card { display: grid; grid-template-columns: 18px 1fr; gap: var(--s2) var(--s3); align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; font-weight: 400; transition: border-color var(--t), background var(--t); }
.opt-card:hover { border-color: var(--ink-3); }
.opt-card input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--acc-hover); }
.opt-card:has(input:checked) { border-color: var(--acc); background: var(--acc-50); box-shadow: inset 0 0 0 1px var(--acc); }
.opt-card:has(input:focus-visible) { box-shadow: var(--focus); }
.opt-card input:focus-visible { box-shadow: none; }
.opt-card b { font-weight: 600; display: flex; gap: 6px; align-items: center; font-size: 14.5px; }
.opt-card span { font-size: 13px; color: var(--ink-3); }
.opt-card .sla { color: var(--ink-2); font-weight: 500; }
.opts#areas .opt-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.opts.invalid .opt-card { border-color: color-mix(in srgb, var(--err) 50%, var(--line)); }
.prio-list { grid-template-columns: 1fr; }
.prio-list .opt-card { grid-template-columns: 18px 1fr auto; align-items: center; }
.drop { display: flex; align-items: center; gap: var(--s2); border: 1px dashed var(--line); border-radius: var(--r); padding: var(--s3) var(--s4); font-size: 14px; color: var(--ink-2); background: var(--surface-2); flex-wrap: wrap; }
.drop.over { border-color: var(--blue); background: var(--comp-50); }
.drop label { color: var(--blue); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.filelist { list-style: none; display: grid; gap: 4px; margin-top: var(--s2); }
.filelist li { display: flex; gap: var(--s2); align-items: center; font-size: 14px; padding: 5px 10px; border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--surface); }
.filelist .sz { margin-left: auto; color: var(--ink-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.filelist button { background: none; border: 0; color: var(--ink-3); cursor: pointer; padding: 2px; border-radius: 4px; }
.filelist button:hover { color: var(--err); }
.submitbar { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; padding: var(--s4) var(--s5); background: var(--comp-900); color: var(--comp-on); border-radius: var(--r); }
.submitbar .due { flex: 1; min-width: 220px; font-size: 13px; color: var(--comp-on-2); }
.submitbar .due b { display: block; font-size: 17px; color: #fff; font-weight: 700; }
.submitbar .btn.ghost { color: var(--comp-on); }
.submitbar .btn.ghost:hover { background: var(--comp-800); color: #fff; }
.submitbar .btn.primary { padding: 11px 20px; font-size: 15px; }

.login { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.login-art { background: var(--comp-900); color: var(--comp-on); padding: 56px 64px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art > img { height: 22px; filter: brightness(0) invert(1); align-self: flex-start; }
.login-art h1 { font-size: clamp(36px, 4.2vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1; color: #fff; max-width: 12ch; margin-top: var(--s7); }
.login-art h1 span { color: var(--acc); }
.login-art .sub { font-size: 17px; max-width: 40ch; margin-top: var(--s4); color: var(--comp-on); }
.login-art table { border-collapse: collapse; margin-top: var(--s6); font-size: 14px; width: 100%; max-width: 440px; }
.login-art th { text-align: left; font-weight: 500; color: var(--comp-on-2); font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid var(--comp-700); }
.login-art td { padding: 9px 0; border-bottom: 1px solid var(--comp-800); color: #fff; font-variant-numeric: tabular-nums; }
.login-art .hours { margin-top: var(--s3); font-size: 13px; color: var(--comp-on-2); }
.login-art > * { position: relative; z-index: 1; }
.login-art .rings { position: absolute; z-index: 0; right: -260px; bottom: -260px; width: 720px; height: 720px; border-radius: 50%; color: var(--comp-800); pointer-events: none; }
.login-art .rings svg { width: 100%; height: 100%; }
.login-form { display: grid; place-items: center; padding: var(--s6) var(--s5); }
.login-form .box { width: 100%; max-width: 380px; }
.login-form h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.login-form .lead { color: var(--ink-2); margin-top: 4px; }
.login-form .f input { width: 100%; border: 1px solid var(--line); border-radius: var(--r); padding: 9px 12px; font-size: 15px; }
.login-form .f input:focus-visible { border-color: var(--blue); border-radius: var(--r); }
.login-form .fine { font-size: 13px; color: var(--ink-3); margin-top: var(--s4); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 10px); background: var(--comp-900); color: #fff; padding: 11px 16px; border-radius: var(--r); font-size: 14px; box-shadow: var(--shadow-pop); opacity: 0; pointer-events: none; transition: opacity var(--t), transform var(--t); z-index: 50; max-width: calc(100% - 32px); display: flex; gap: 8px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { color: #6fdc9d; }

.mtop, .mviews { display: none; }

@media (max-width: 1180px) { .work { grid-template-columns: 340px minmax(0, 1fr); } .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; height: auto; min-height: 100vh; }
  .side { display: none; }
  .mtop { display: flex; align-items: center; gap: var(--s3); background: var(--comp-900); padding: 10px var(--s4); position: sticky; top: 0; z-index: 10; }
  .mtop img { height: 17px; filter: brightness(0) invert(1); }
  .mtop .btn.primary { margin-left: auto; padding: 8px 12px; }
  .mtop .avatar { width: 32px; height: 32px; border: 0; cursor: pointer; }
  .mviews { display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--s4); background: var(--comp-900); border-top: 1px solid var(--comp-800); scrollbar-width: none; position: sticky; top: 52px; z-index: 9; }
  .mviews a { flex: none; padding: 6px 12px; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: var(--comp-on); text-decoration: none; background: var(--comp-800); display: flex; gap: 6px; align-items: center; }
  .mviews a[aria-current="page"] { background: #fff; color: var(--comp-900); }
  .mviews .c.hot { background: var(--acc); color: var(--acc-ink); border-radius: 99px; padding: 0 6px; font-size: 12px; }
  .work { grid-template-columns: 1fr; }
  .list-pane { border-right: 0; }
  .rows { overflow: visible; }
  .work.show-detail .list-pane { display: none; }
  .work:not(.show-detail) .detail { display: none; }
  .detail { min-height: calc(100vh - 140px); }
  .d-head { padding: var(--s3) var(--s4); }
  .back { display: inline-flex; margin: -4px 0 var(--s2) -8px; }
  .d-head h2 { font-size: 19px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .thread { padding: var(--s4); overflow: visible; }
  .composer { position: sticky; bottom: 0; padding: var(--s3) var(--s4); }
  .composer .bar .btn.primary { flex: 1; }
  .d-top { flex-direction: column; gap: var(--s3); }
  .toast { top: 12px; bottom: auto; transform: translate(-50%, -10px); }
  .create-in { padding: var(--s5) var(--s4) var(--s6); }
  .create-in h1 { font-size: 24px; }
  .group { padding: var(--s4); }
  .opts { grid-template-columns: 1fr; }
  .prio-list .opt-card { grid-template-columns: 18px 1fr; }
  .prio-list .opt-card .sla { grid-column: 2; }
  .submitbar .btn.primary { width: 100%; order: -1; }
  .submitbar .btn.ghost { width: 100%; }
  .login { grid-template-columns: 1fr; }
  .login-art { padding: var(--s5) var(--s4) var(--s6); }
  .login-art h1 { margin-top: var(--s5); font-size: 38px; }
  .login-art table, .login-art .hours { display: none; }
  .login-art .rings { width: 420px; height: 420px; right: -220px; bottom: -240px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; } }
:root {
  --sh-1: 0 1px 2px rgba(14,34,64,.06), 0 1px 3px rgba(14,34,64,.05);
  --sh-2: 0 2px 4px rgba(14,34,64,.05), 0 8px 20px -6px rgba(14,34,64,.14);
  --sh-3: 0 4px 8px rgba(14,34,64,.05), 0 20px 44px -12px rgba(14,34,64,.24);
  --ease: cubic-bezier(.16,1,.3,1);
  --r-card: 14px;
}
body { background: var(--paper); }

.work:not([hidden]), .create-pane:not([hidden]) { animation: fade-up .38s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }
.swap { animation: fade-up .32s var(--ease) both; }

.home-link { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--comp-on); text-decoration: none; font-weight: 500; font-size: 14px; transition: background var(--t); margin-bottom: 2px; }
.home-link:hover { background: var(--comp-800); color: #fff; }
.home-link[aria-current="page"] { background: var(--comp-700); color: #fff; font-weight: 600; }
.side .create { box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); transition: transform .2s var(--ease), background var(--t); }
.side .create:hover { transform: translateY(-1px); }

.btn { box-shadow: var(--sh-1); transition: background var(--t), border-color var(--t), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 4px 12px -4px rgba(0,0,0,.28); }
.btn.ghost, .btn.ghost:hover { box-shadow: none; transform: none; }

.list-pane { background: var(--paper); }
.list-head { background: var(--surface); box-shadow: var(--sh-1); position: relative; z-index: 1; }
.rows { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.rows li + li { border-top: 0; }
.row { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line-soft); padding: 14px 16px; transition: transform .22s var(--ease), box-shadow .22s var(--ease), background var(--t); }
.row:hover { background: var(--surface); transform: translateY(-2px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.row:focus-visible { border-radius: var(--r-card); box-shadow: var(--focus); }
.row[aria-current="true"] { background: var(--surface); box-shadow: var(--sh-2), inset 0 0 0 2px var(--acc); }
.rows li.enter { animation: fade-up .4s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
.rows .empty { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-1); }
.skel { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-1); }

.d-head { box-shadow: var(--sh-1); position: relative; z-index: 1; border-bottom: 0; }
.msg .bubble { border: 0; border-radius: var(--r-card); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line-soft); }
.msg.staff .bubble { background: linear-gradient(180deg, var(--comp-50), var(--surface)); box-shadow: var(--sh-2), inset 0 0 0 1px var(--comp-100); }
.msg { animation: fade-up .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.notice { border-radius: 12px; }
.composer { border-top: 0; box-shadow: 0 -8px 24px -12px rgba(14,34,64,.18); position: relative; z-index: 1; }
.composer textarea { border-radius: 12px; background: var(--paper); transition: border-color var(--t), background var(--t), box-shadow .2s var(--ease); }
.composer textarea:focus-visible { background: var(--surface); }
.facts-grid { border-radius: 12px; }

.group { border: 0; border-radius: var(--r-card); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft); }
.opt-card { border-radius: 12px; transition: border-color var(--t), background var(--t), transform .2s var(--ease), box-shadow .2s var(--ease); }
.opt-card:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }
.opt-card:has(input:checked) { box-shadow: var(--sh-2), inset 0 0 0 1px var(--acc); }
.submitbar { border-radius: var(--r-card); box-shadow: var(--sh-3); position: sticky; bottom: 12px; z-index: 2; }
.create-banner { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--comp-900); color: var(--comp-on); padding: 26px 28px; margin-bottom: var(--s5); box-shadow: var(--sh-3); display: grid; grid-template-columns: 1fr 230px; align-items: center; gap: var(--s4); }
.create-banner h1 { color: #fff; font-size: 30px; }
.create-banner .lead { color: var(--comp-on); }
.create-banner .illu { margin: -10px -8px -14px 0; }
.create-in > header { display: none; }

.dash { overflow: auto; flex: 1; padding: var(--s5); }
.dash-in { max-width: 880px; margin: 0 auto; display: grid; gap: var(--s4); }
.banner { position: relative; overflow: hidden; border-radius: 18px; background: var(--comp-900); color: var(--comp-on); padding: 28px 30px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s4); align-items: center; box-shadow: var(--sh-3); }
.banner::before { content: ""; position: absolute; inset: auto -120px -180px auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(22,104,201,.55), transparent); pointer-events: none; }
.banner > * { position: relative; }
.banner h2 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.banner p { margin-top: 8px; font-size: 15.5px; max-width: 46ch; }
.banner p b { color: #fff; }
.banner .acts { display: flex; gap: var(--s2); margin-top: var(--s4); flex-wrap: wrap; }
.banner .btn:not(.primary) { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.banner .btn:not(.primary):hover { background: rgba(255,255,255,.16); }
.illu { width: 100%; height: auto; display: block; }
.illu .float-a { animation: float 6s ease-in-out infinite; }
.illu .float-b { animation: float 6s ease-in-out infinite; animation-delay: -2s; }
.illu .float-c { animation: float 6s ease-in-out infinite; animation-delay: -4s; }
.illu .pop { transform-box: fill-box; transform-origin: center; animation: pop-in .6s .5s var(--ease) both; }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes pop-in { from { transform: scale(0); } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line-soft); padding: 14px 16px; text-decoration: none; color: var(--ink); display: grid; gap: 2px; transition: transform .22s var(--ease), box-shadow .22s var(--ease); animation: fade-up .45s var(--ease) both; animation-delay: calc(var(--i) * 60ms + 120ms); }
a.stat:hover { transform: translateY(-2px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.stat .k { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.stat .v { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .s { font-size: 12.5px; color: var(--ink-3); }
.stat.hot { box-shadow: var(--sh-2), inset 0 0 0 2px var(--acc); }
.stat.hot .v { color: var(--acc-strong); }
.stat.hours .v { font-size: 18px; letter-spacing: -.01em; padding: 6px 0 3px; display: flex; gap: 8px; align-items: center; }
.stat.hours .v .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.stat.hours .v .dot.on { background: #22a35a; box-shadow: 0 0 0 4px #22a35a22; }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s4); align-items: start; }
.card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft); padding: 18px 20px; animation: fade-up .45s var(--ease) both; animation-delay: .3s; }
.card > h3 { font-size: 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.card > h3 a { font-size: 13px; font-weight: 600; text-decoration: none; }
.areas { display: grid; grid-template-columns: 1fr; gap: 6px; }
.area { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--paper); text-decoration: none; color: var(--ink); transition: background var(--t), transform .2s var(--ease), box-shadow .2s var(--ease); }
.area:hover { background: var(--surface); transform: translateY(-2px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.area svg { color: var(--comp-700); margin-top: 2px; }
.area b { display: block; font-weight: 600; font-size: 14px; }
.area span { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.area .go { margin-left: auto; color: var(--ink-3); opacity: 0; transition: opacity var(--t), transform .2s var(--ease); align-self: center; }
.area:hover .go { opacity: 1; transform: translateX(2px); }
.feed { list-style: none; display: grid; }
.feed li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 10px 0; }
.feed li + li { border-top: 1px solid var(--line-soft); }
.feed .avatar { width: 28px; height: 28px; font-size: 11px; }
.feed p { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.feed p b { color: var(--ink); font-weight: 600; }
.feed a { text-decoration: none; font-weight: 600; }
.feed time { display: block; font-size: 12px; color: var(--ink-3); margin-top: 1px; }

.login-shot { margin: var(--s5) 0 0; max-width: 520px; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -16px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; animation: fade-up .6s .15s var(--ease) both; }
.login-shot img { display: block; width: 100%; height: auto; }

.bnav { display: none; }

@media (max-width: 1180px) and (min-width: 901px) {
  .shell { grid-template-columns: 76px minmax(0, 1fr); }
  .side { padding: 14px 10px; align-items: center; }
  .side .logo { width: 22px; overflow: hidden; padding: 6px 0 16px; }
  .side .logo img { height: 19px; max-width: none; }
  .side .cobrand { margin: -6px 0 14px; padding: 4px; width: 48px; }
  .side .cobrand img { max-height: 28px; }
  .side .create { width: 48px; height: 44px; padding: 0; font-size: 0; gap: 0; }
  .side .create svg { width: 20px; height: 20px; }
  .side .sec, .support, .me b, .me small, .me > button > svg:last-child { display: none; }
  .home-link, .views a { justify-content: center; padding: 10px; position: relative; width: 48px; }
  .home-link > span, .views a > span:not(.c) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .views a .c { position: absolute; top: 2px; right: 0; font-size: 10px; min-width: 16px; text-align: center; }
  .views .c:not(.hot) { display: none; }
  .me > button { justify-content: center; padding: 6px; }
  .me .menu { left: 0; right: auto; width: 180px; }
  .work { grid-template-columns: 320px minmax(0, 1fr); }
  .banner { grid-template-columns: 1fr; } .banner .illu-wrap { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  body { padding-bottom: 76px; }
  body.focus-mode { padding-bottom: 0; }
  .mtop .btn.primary { display: none; }
  .mtop .avatar { margin-left: auto; }
  .mviews { top: 52px; }
  body[data-screen="home"] .mviews, body[data-screen="create"] .mviews, body[data-screen="detail"] .mviews { display: none; }
  .work.home .list-pane { display: none; }
  .work.home .detail { display: flex; }
  .dash { padding: var(--s4); overflow: visible; }
  .banner { grid-template-columns: 1fr; padding: 22px 20px 0; border-radius: 16px; }
  .banner h2 { font-size: 25px; }
  .banner .illu-wrap { margin: 4px -10px -6px; max-width: 320px; justify-self: center; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat .v { font-size: 26px; }
  .split { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .area .go { opacity: 1; }
  .rows { padding: 12px var(--s4) 16px; }
  .create-banner { grid-template-columns: 1fr; padding: 20px; }
  .create-banner .illu { display: none; }
  .create-banner h1 { font-size: 24px; }
  .submitbar { bottom: 84px; }
  .composer { bottom: 0; }
  .bnav { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; background: rgba(14,34,64,.94); backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%); border-radius: 18px; padding: 6px 6px 8px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45); }
  .bnav a, .bnav button { display: grid; justify-items: center; gap: 2px; font-size: 11.5px; font-weight: 600; color: var(--comp-on-2); text-decoration: none; background: none; border: 0; padding: 6px 0 2px; border-radius: 12px; cursor: pointer; position: relative; }
  .bnav svg { width: 22px; height: 22px; }
  .bnav [aria-current="page"] { color: #fff; }
  .bnav [aria-current="page"]::after { content: ""; position: absolute; top: 0; width: 20px; height: 3px; border-radius: 3px; background: var(--acc); }
  .bnav .fab { color: var(--acc-ink); }
  .bnav .fab span.ring { width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.5), 0 0 0 5px var(--comp-900); transition: transform .2s var(--ease); }
  .bnav .fab:active span.ring { transform: scale(.94); }
  .bnav .fab span.lbl { color: var(--comp-on); }
  .bnav .badge { position: absolute; top: 2px; left: calc(50% + 6px); background: var(--acc); color: var(--acc-ink); font-size: 10px; font-weight: 800; border-radius: 99px; padding: 0 5px; min-width: 16px; text-align: center; }
  body.focus-mode .bnav { display: none; }
  body[data-screen="login"] .bnav { display: none; }
  body[data-screen="login"] { padding-bottom: 0; }
  .toast { top: 12px; }
  .login-shot { display: none; }
}
@media (prefers-reduced-motion: reduce) { .illu * { animation: none !important; } }

.svc-card { padding: 18px 20px 14px; }
.svc-card > h3 { margin-bottom: 4px; }
.svc-card .sub { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.svc-card .sub button { background: none; border: 0; color: var(--blue); font-weight: 600; font-size: 13px; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; padding: 2px 4px; border-radius: 4px; }
.svc-card .sub button svg { width: 13px; height: 13px; }
.svc-card .sub button.spin svg { animation: spin .8s linear infinite; }
.svcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.svc { position: relative; border-radius: 12px; padding: 12px 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-soft); display: grid; gap: 4px; align-content: start; min-height: 112px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-decoration: none; color: var(--ink); }
a.svc:hover { background: var(--surface); transform: translateY(-2px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.svc .nm { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.svc .nm small { font-weight: 500; font-size: 11.5px; color: var(--ink-3); }
.svc .stx { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.svc .stx svg { width: 15px; height: 15px; stroke-width: 2.2; }
.svc .det { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.svc.ok .stx { color: var(--ok); }
.svc.minor .stx, .svc.maint .stx { color: var(--warn); }
.svc.minor { background: var(--warn-bg); box-shadow: inset 0 0 0 1px #f1dd9a; }
.svc.major .stx { color: var(--err); }
.svc.major { background: var(--err-bg); box-shadow: inset 0 0 0 1px #f5c2bd; }
.svc.unk .stx { color: var(--ink-3); }
.svc .pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; flex: none; }
.svc.ok .pulse::after, .svc.minor .pulse::after, .svc.major .pulse::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.svc .src { font-size: 11.5px; color: var(--ink-3); margin-top: auto; padding-top: 4px; }
.svc.loading .stx, .svc.loading .det { color: transparent; background: linear-gradient(90deg, var(--line-soft), var(--surface), var(--line-soft)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 4px; }
.svc.loading .stx svg, .svc.loading .pulse { visibility: hidden; }
.svc-note { font-size: 12px; color: var(--ink-3); margin-top: 10px; display: flex; gap: 6px; align-items: flex-start; }
.svc-note svg { width: 14px; height: 14px; margin-top: 1px; }

.login-status { width: 100%; max-width: 380px; margin-top: var(--s5); background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft); padding: 14px 16px; }
.login-status h3 { font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; }
.login-status h3 span { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.login-status ul { list-style: none; margin-top: 8px; display: grid; }
.login-status li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; font-size: 13.5px; }
.login-status li + li { border-top: 1px solid var(--line-soft); }
.login-status li b { font-weight: 600; }
.login-status .stx { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.login-status .stx svg { width: 14px; height: 14px; stroke-width: 2.2; }
.login-status .ok { color: var(--ok); } .login-status .minor, .login-status .maint { color: var(--warn); } .login-status .major { color: var(--err); } .login-status .unk { color: var(--ink-3); }
.login-form { align-content: center; }
.login-form { display: flex; flex-direction: column; align-items: center; justify-content: center; }

@media (max-width: 1180px) { .svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .svcs { grid-template-columns: 1fr 1fr; } .svc { min-height: 0; } .login-status { margin-bottom: var(--s5); } }
@media (max-width: 420px) { .svcs { grid-template-columns: 1fr; } }

.svcs { display: grid; grid-template-columns: 1fr; gap: 0; }
.hrow { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; gap: 16px; align-items: center; padding: 12px 4px; border-radius: 10px; text-decoration: none; color: var(--ink); transition: background var(--t); }
.hrow + .hrow { border-top: 1px solid var(--line-soft); }
.hrow:hover { background: var(--paper); }
.hrow .who b { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.hrow .who small { font-size: 12px; color: var(--ink-3); }
.bars { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; height: 30px; align-items: stretch; position: relative; }
.bars i { display: block; border-radius: 3px; background: #2fb36a; position: relative; transform-origin: bottom; animation: bar-in .5s var(--ease) both; animation-delay: calc(var(--b) * 18ms + var(--r, 0) * 80ms); transition: transform .15s var(--ease), filter .15s; }
.bars i:hover { transform: scaleY(1.12); filter: brightness(1.08); }
.bars i.minor { background: #e9a31c; } .bars i.major { background: #d6453b; } .bars i.maint { background: #5d8fd6; } .bars i.none { background: var(--line); }
.bars i.loading { background: var(--line-soft); animation: shimmer 1.2s linear infinite; background-image: linear-gradient(90deg, var(--line-soft), var(--surface), var(--line-soft)); background-size: 200% 100%; }
@keyframes bar-in { from { transform: scaleY(0); opacity: 0; } }
.bars i[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: pre; background: var(--comp-900); color: #fff; font-size: 12px; line-height: 1.35; padding: 7px 10px; border-radius: 8px; box-shadow: var(--shadow-pop); z-index: 5; pointer-events: none; }
.bars i:nth-child(-n+5)[data-tip]:hover::after { left: 0; transform: none; }
.bars i:nth-last-child(-n+5)[data-tip]:hover::after { left: auto; right: 0; transform: none; }
.hrow .now { text-align: right; display: grid; gap: 2px; justify-items: end; }
.hrow .now .stx { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.hrow .now .stx svg { width: 15px; height: 15px; stroke-width: 2.2; }
.hrow .now small { font-size: 12px; color: var(--ink-3); }
.hrow.ok .stx { color: var(--ok); } .hrow.minor .stx, .hrow.maint .stx { color: var(--warn); } .hrow.major .stx { color: var(--err); } .hrow.unk .stx { color: var(--ink-3); }
.axis { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; gap: 16px; font-size: 11.5px; color: var(--ink-3); padding: 0 4px 2px; }
.axis span:nth-child(2) { display: flex; justify-content: space-between; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.hdetail { grid-column: 2 / 4; font-size: 12.5px; color: var(--ink-2); margin-top: -4px; }
@media (max-width: 900px) {
  .hrow { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 12px 2px; }
  .hrow .bars { grid-column: 1 / -1; grid-row: 2; height: 26px; gap: 2px; }
  .hrow .now { grid-column: 2; grid-row: 1; }
  .hdetail { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
  .axis { grid-template-columns: 1fr; } .axis > span:first-child, .axis > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bars i { animation: none; } }

.row-a > .card:first-child { display: flex; flex-direction: column; }
.mine-cta { margin-top: auto; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; border: 1.5px dashed var(--line); color: var(--ink-2); text-decoration: none; font-size: 13.5px; transition: border-color var(--t), background var(--t); }
.mine-cta:hover { border-color: var(--acc); background: var(--acc-50); }
.mine-cta > svg:first-child { color: var(--acc-strong); width: 20px; height: 20px; }
.mine-cta b { display: block; color: var(--ink); font-weight: 600; }
.mine-cta .go { margin-left: auto; }
.mine + .mine-cta, .mine-empty + .mine-cta { margin-top: 16px; }
.row-a > .card:first-child .mine-cta { margin-top: auto; }
.row-a > .card:first-child .mine { margin-bottom: 16px; }

.work.home { grid-template-columns: minmax(0, 1fr); }
.work.home .list-pane { display: none; }
.work.home .dash { padding: 0; }
.work.home .dash-in { max-width: none; gap: 0; display: block; }
.work.home .banner { border-radius: 0; padding: 36px 40px 76px; grid-template-columns: minmax(0, 1fr) 340px; box-shadow: none; }
.work.home .banner h2 { font-size: 34px; }
.home-grid { max-width: 1360px; margin: 0 auto; padding: 24px 32px 48px; display: grid; gap: 18px; }
.home-grid .stats { margin-top: -52px; position: relative; z-index: 1; }
.home-grid .stat { box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft); }
.home-grid .stat.hot { box-shadow: var(--sh-3), inset 0 0 0 2px var(--acc); }
.row-a { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 18px; align-items: stretch; }
.row-b { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 18px; align-items: stretch; }
.mine { list-style: none; display: grid; }
.mine li + li { border-top: 1px solid var(--line-soft); }
.mine a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 6px; border-radius: 10px; text-decoration: none; color: var(--ink); transition: background var(--t); }
.mine a:hover { background: var(--paper); }
.mine .id { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mine .t { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.mine .t small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.mine .t small .newmark { margin-left: 6px; }
.mine .u { font-size: 12.5px; color: var(--ink-3); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mine-empty { color: var(--ink-3); font-size: 14px; padding: 8px 0; }
.dash .hrow { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 4px; }
.dash .hrow .bars { grid-column: 1 / -1; grid-row: 2; height: 26px; gap: 2px; }
.dash .hrow .now { grid-column: 2; grid-row: 1; }
.dash .hdetail { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
.dash .axis { grid-template-columns: 1fr; }
.dash .axis > span:first-child, .dash .axis > span:last-child { display: none; }
@media (max-width: 1180px) {
  .work.home .banner { grid-template-columns: 1fr; } .work.home .banner .illu-wrap { display: none; }
  .row-a, .row-b { grid-template-columns: 1fr; }
  .home-grid { padding: 20px 24px 40px; }
}
@media (max-width: 900px) {
  .work.home .banner { padding: 24px 20px 0; border-radius: 0; grid-template-columns: 1fr; }
  .work.home .banner .illu-wrap { display: block; margin: 4px auto -6px; max-width: 300px; }
  .work.home .banner h2 { font-size: 26px; }
  .home-grid { padding: 16px 16px 24px; gap: 14px; }
  .home-grid .stats { margin-top: 0; }
  .mine a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .mine .id { grid-column: 1; grid-row: 1; }
  .mine .t { grid-column: 1 / -1; grid-row: 2; }
  .mine .st { grid-column: 1; grid-row: 3; justify-self: start; }
  .mine .u { grid-column: 2; grid-row: 1; }
}

.work.home .banner { background: linear-gradient(120deg, #1259ad 0%, #1668c9 55%, #2a7fe0 100%); padding-inline: max(32px, calc((100% - 1360px) / 2 + 32px)); }
.work.home .banner::before { background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent); }
.work.home .banner p { color: rgba(255,255,255,.9); }
.work.home .banner .btn:not(.primary) { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.work.home .banner .btn:not(.primary):hover { background: rgba(255,255,255,.22); }
.work.home .banner .illu g[fill="none"] { stroke: rgba(255,255,255,.16); }
@media (min-width: 1181px) {
  .row-b .hrow { grid-template-columns: 130px minmax(0, 1fr) 130px; gap: 14px; padding: 12px 4px; }
  .row-b .hrow .bars { grid-column: auto; grid-row: auto; height: 28px; gap: 3px; }
  .row-b .hrow .now { grid-column: auto; grid-row: auto; }
  .row-b .hdetail { grid-column: 2 / 4; grid-row: auto; margin-top: -4px; }
  .row-b .axis { grid-template-columns: 130px minmax(0, 1fr) 130px; gap: 14px; }
  .row-b .axis > span:first-child, .row-b .axis > span:last-child { display: block; }
}
@media (max-width: 900px) { .work.home .banner { padding-inline: 20px; } }

.work.home .banner { overflow: hidden; isolation: isolate; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; min-height: 300px; }
.work.home .banner::before { inset: auto auto -260px -160px; width: 560px; height: 560px; background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent); }
.mark { position: absolute; z-index: -1; right: -90px; top: 50%; width: 520px; height: 520px; margin-top: -260px; background: #fff; opacity: .07;
  -webkit-mask: url(files/synnet-logo.png) 0 50% / auto 100% no-repeat; mask: url(files/synnet-logo.png) 0 50% / auto 100% no-repeat; animation: turn 90s linear infinite; pointer-events: none; }
@keyframes turn { to { transform: rotate(360deg); } }
.banner .when { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.78); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.banner .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.banner .chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 99px; padding: 4px 11px 4px 9px; }
.banner .chip svg { width: 14px; height: 14px; }
.banner .chip.hot { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.peek { position: relative; height: 230px; perspective: 1000px; }
.pk { position: absolute; left: 0; right: 0; background: var(--surface); color: var(--ink); border-radius: 16px; padding: 16px 18px; text-decoration: none; display: block; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pk.back { top: 0; transform: translate(26px, 0) rotate(3deg) scale(.94); opacity: .9; box-shadow: 0 18px 40px -14px rgba(5,25,60,.45); }
.pk.front { top: 34px; box-shadow: 0 28px 60px -18px rgba(5,25,60,.6), 0 2px 6px rgba(5,25,60,.15); animation: pk-in .7s .15s var(--ease) both; }
@keyframes pk-in { from { opacity: 0; transform: translateY(18px) rotate(-1deg); } }
.peek:hover .pk.front { transform: translateY(-4px); box-shadow: 0 34px 70px -18px rgba(5,25,60,.65), 0 2px 6px rgba(5,25,60,.15); }
.peek:hover .pk.back { transform: translate(34px, -6px) rotate(5deg) scale(.94); }
.pk .top { display: flex; align-items: center; gap: 10px; }
.pk .top .avatar { width: 34px; height: 34px; }
.pk .top b { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.pk .top small { font-size: 12px; color: var(--ink-3); }
.pk .top .st { margin-left: auto; }
.work.home .banner .pk .msg-x { max-width: none; margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pk .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-3); }
.pk .foot .go { display: inline-flex; gap: 4px; align-items: center; color: var(--acc-strong); font-weight: 700; }
.pk.back .t { font-weight: 600; font-size: 14px; margin-top: 2px; }
.pk.back .meta { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-3); }
.pk.calm { top: 40px; text-align: center; padding: 26px 20px; }
.pk.calm svg { width: 34px; height: 34px; color: var(--ok); }
.pk.calm b { display: block; font-size: 17px; margin-top: 6px; }
.pk.calm span { font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 1180px) { .work.home .banner { grid-template-columns: 1fr; } .work.home .banner .peek { display: none; } .mark { right: -160px; } }
@media (max-width: 900px) {
  .work.home .banner { padding: 22px 20px 26px; min-height: 0; }
  .work.home .banner .peek { display: block; height: 214px; margin-top: 4px; }
  .pk .foot { flex-wrap: wrap; gap: 6px; }
  .pk.front { top: 26px; } .pk.back { transform: translate(14px, 0) rotate(2.5deg) scale(.95); }
  .mark { width: 340px; height: 340px; margin-top: -170px; right: -150px; top: 30%; }
}
@media (prefers-reduced-motion: reduce) { .mark { animation: none; } }

:root { --teal: #18a3c4; --teal-soft: #d9f3f8; --teal-ink: #0b6378; }
.work.home .banner { background: radial-gradient(60% 120% at 100% 100%, rgba(24,163,196,.55), transparent 60%), linear-gradient(120deg, #1259ad 0%, #1668c9 55%, #1a86cf 100%); }
.banner .chip .live { width: 7px; height: 7px; border-radius: 50%; background: #7ee6f7; position: relative; }
.banner .chip .live::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #7ee6f7; animation: ping 2.2s var(--ease) infinite; }
.banner .chip { transition: background .2s, transform .2s var(--ease); }
.banner .chip:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.peek { --rx: 0deg; --ry: 0deg; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .25s ease-out; }
.mark { translate: var(--mx, 0) var(--my, 0); transition: translate .4s ease-out; }
.stack { position: relative; height: 236px; }
.peek { height: auto; }
.dots { position: relative; z-index: 5; }
.pk { will-change: transform; }
.pk.p0 { top: 34px; z-index: 3; transform: none; opacity: 1; box-shadow: 0 28px 60px -18px rgba(5,25,60,.6), 0 2px 6px rgba(5,25,60,.15); }
.pk.p1 { top: 0; z-index: 2; transform: translate(26px, 0) rotate(3deg) scale(.94); opacity: .92; box-shadow: 0 18px 40px -14px rgba(5,25,60,.45); cursor: pointer; }
.pk.p2 { top: -22px; z-index: 1; transform: translate(50px, 0) rotate(6deg) scale(.88); opacity: .7; box-shadow: 0 14px 30px -14px rgba(5,25,60,.4); cursor: pointer; }
.pk.p1:hover { transform: translate(30px, -6px) rotate(4deg) scale(.95); }
.peek:hover .pk.p0 { transform: translateY(-4px); }
.pk.p1 > *, .pk.p2 > * { visibility: hidden; }
.pk.p1, .pk.p2 { min-height: 150px; }
.dots { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; align-items: center; }
.dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.dots button[aria-current="true"] { width: 26px; background: #7ee6f7; }
.dots button:focus-visible { box-shadow: 0 0 0 2px #fff; }
.dots .prog { width: 60px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); overflow: hidden; margin-right: auto; }
.dots .prog i { display: block; height: 100%; width: 100%; background: #7ee6f7; transform-origin: left; transform: scaleX(0); }
.dots .prog i.run { animation: prog 7s linear forwards; }
.peek:hover .dots .prog i.run, .peek:focus-within .dots .prog i.run { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }
.area:hover svg { color: var(--teal); }
.area:hover { box-shadow: var(--sh-2), inset 0 0 0 1px var(--teal-soft); }
a.stat:hover { box-shadow: var(--sh-2), inset 0 0 0 1px var(--teal-soft); }
.mine a:hover .t { color: var(--teal-ink); }
@media (max-width: 900px) { .stack { height: 262px; } .dots { margin-top: 10px; } .pk.p2 { display: none; } .work.home .banner .peek { height: auto; } }
@media (prefers-reduced-motion: reduce) { .peek { transform: none !important; } .dots .prog { display: none; } }

.work.home .banner { min-height: 0; padding-top: 26px; padding-bottom: 50px; align-items: center; }
@media (min-width: 1181px) { .work.home .banner { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 32px; } }
.work.home .banner h2 { font-size: 32px; }
.banner .when { margin-bottom: 6px; }
.banner .chips { margin-top: 12px; }
.banner .acts { margin-top: 18px; }
.home-grid .stats { margin-top: -34px; }
.work.home .banner .btn.mk { background: #7ee6f7; border-color: #7ee6f7; color: var(--comp-900); font-weight: 700; box-shadow: 0 10px 22px -10px rgba(5,25,60,.55); }
.work.home .banner .btn.mk:hover { background: #a9f1fb; border-color: #a9f1fb; transform: translateY(-1px); }
.work.home .banner .btn.mk:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.peek { display: grid; grid-template-columns: minmax(0, 1fr) 12px; gap: 18px; align-items: center; }
.stack { height: 218px; }
.pk.p0, .pk.p1, .pk.p2 { top: 26px; bottom: 0; display: flex; flex-direction: column; padding: 20px 24px; border-radius: 18px; }
.pk.p0 { transform: none; }
.pk.p1 { transform: translateY(-14px) scale(.95); opacity: .9; }
.pk.p2 { transform: translateY(-27px) scale(.9); opacity: .7; }
.pk.p1:hover { transform: translateY(-20px) scale(.95); }
.peek:hover .pk.p0 { transform: translateY(-3px); }
.pk.p1 > *, .pk.p2 > * { visibility: hidden; }
.pk .top { gap: 12px; }
.pk .top .avatar { width: 42px; height: 42px; font-size: 14px; }
.pk .top b { font-size: 16px; }
.pk .top small { font-size: 13.5px; }
.work.home .banner .pk .msg-x { font-size: 16px; line-height: 1.5; margin-top: 12px; -webkit-line-clamp: 2; color: var(--ink); }
.pk .foot { margin-top: auto; font-size: 13.5px; padding-top: 12px; }
.pk .foot .go { font-size: 14.5px; }
.dots { flex-direction: column; justify-content: center; margin: 26px 0 0; gap: 8px; }
.dots button { width: 9px; height: 9px; transition: height .3s var(--ease), background .3s; }
.dots button[aria-current="true"] { width: 9px; height: 28px; }
.dots .prog { width: 3px; height: 44px; margin: 0 0 6px; order: 9; margin-top: 8px; }
.dots .prog i { transform-origin: top; transform: scaleY(0); }
.dots .prog i.run { animation-name: progY; }
@keyframes progY { to { transform: scaleY(1); } }
@media (max-width: 900px) {
  .work.home .banner { padding-bottom: 26px; }
  .home-grid .stats { margin-top: 0; }
  .stack { height: 250px; }
  .work.home .banner .pk .msg-x { font-size: 15px; -webkit-line-clamp: 3; }
  .pk.p0, .pk.p1 { padding: 18px; }
  .peek { gap: 12px; }
  .dots { flex-direction: row; justify-content: flex-end; margin-top: 12px; }
  .dots button[aria-current="true"] { width: 26px; height: 9px; }
  .dots .prog { width: 60px; height: 3px; order: -1; margin: 0 auto 0 0; }
  .dots .prog i { transform-origin: left; transform: scaleX(0); }
  .dots .prog i.run { animation-name: prog; }
  .stack { height: 236px; }
}

.work.home .banner { padding-top: 22px; padding-bottom: 42px; }
.home-grid .stats { margin-top: -28px; }
.banner p { margin-top: 6px; }
.banner .chips { margin-top: 10px; }
.banner .acts { margin-top: 14px; }
.stack { height: 200px; }
.pk.p0, .pk.p1, .pk.p2 { top: 18px; padding: 18px 22px; }
.pk.p1 { transform: translateY(-10px) scale(.95); }
.pk.p2 { transform: translateY(-19px) scale(.9); }
.pk.p1:hover { transform: translateY(-15px) scale(.95); }
.dots { margin-top: 18px; }
.banner .chip.hrs .live { width: 8px; height: 8px; }
.banner .chip.hrs.on { background: rgba(22,163,74,.22); border-color: rgba(134,239,172,.55); }
.banner .chip.hrs.on .live { background: #4ade80; }
.banner .chip.hrs.on .live::after { border-color: #4ade80; }
.banner .chip.hrs.off { background: #b42318; border-color: #f97066; }
.banner .chip.hrs.off .live { background: #fecdca; }
.banner .chip.hrs.off .live::after { border-color: #fecdca; animation-duration: 1.4s; }
.banner .offnote { display: flex; gap: 8px; align-items: flex-start; max-width: 60ch; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(10,25,55,.35); border: 1px solid rgba(249,112,102,.45); font-size: 13.5px; line-height: 1.45; color: #fff; }
.banner .offnote svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: #fecdca; }
.banner .offnote b { color: #fff; }
@media (max-width: 900px) { .stack { height: 214px; } .dots { margin-top: 12px; } .work.home .banner .pk .msg-x { -webkit-line-clamp: 2; } }

.login-art { justify-content: center; }
.login-art > img { height: 42px; }
.login-art h1 { margin-top: 36px; }
@media (max-width: 900px) { .login-art { padding-top: 44px; } .login-art > img { height: 32px; } .login-art h1 { margin-top: 22px; } }

.st-quote { background: var(--warn-bg); color: var(--warn); }
.notice.quote { background: var(--acc-50); color: var(--ink); box-shadow: inset 0 0 0 1px var(--acc-line); align-items: flex-start; }
.notice.quote > svg { color: var(--acc-strong); }
.notice .q-text { display: block; margin-top: 2px; color: var(--ink-2); }
.notice.quote-form { display: block; padding: var(--s3) var(--s4); margin-top: var(--s3); }
.notice.quote-form p { margin: 0 0 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--s3); font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--acc-hover); flex: none; }

.trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.login-form .steps-l { display: block; }
.login-form .f { margin-top: var(--s5); }
.code-in { letter-spacing: .5em; font-variant-numeric: tabular-nums; font-size: 22px !important; font-weight: 700; text-align: center; padding: 10px 12px 10px calc(12px + .5em) !important; }
.login-form .sentto { color: var(--ink-2); margin-top: 4px; overflow-wrap: anywhere; }
.login-form .sentto b { color: var(--ink); }
.linkbtn { background: none; border: 0; padding: 2px 0; color: var(--blue); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; border-radius: 4px; }
.linkbtn[disabled] { color: var(--ink-3); cursor: default; text-decoration: none; }
.login-form .alt { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s4); font-size: 14px; color: var(--ink-3); }
.login-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.login-form .two .f { margin-top: var(--s5); }
.login-form .notice { margin-top: var(--s4); }
.login-form .notice .acts { margin-top: var(--s2); }
.contact { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s4); }
.contact a { display: flex; align-items: center; gap: var(--s3); padding: 12px 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line-soft); text-decoration: none; color: var(--ink); font-weight: 600; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.contact a:hover { transform: translateY(-1px); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.contact a svg { color: var(--comp-700); width: 18px; height: 18px; }
.contact a small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-3); }
.login-art td[colspan] { color: var(--acc-100); }

.boot { min-height: 100vh; display: grid; place-items: center; background: var(--comp-900); }
.boot img { height: 34px; filter: brightness(0) invert(1); opacity: .9; animation: fade-up .5s var(--ease) both; }
.fail { min-height: 100vh; display: grid; place-items: center; padding: var(--s5) var(--s4); background: var(--paper); }
.fail .box { max-width: 460px; width: 100%; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft); padding: var(--s5); }
.fail .box img { height: 24px; margin-bottom: var(--s4); }
.fail h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.fail p { color: var(--ink-2); margin-top: 6px; }
.fail .acts { margin-top: var(--s4); display: flex; gap: var(--s2); flex-wrap: wrap; }
.notice .acts { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s2); }
.notice .acts .btn { font-size: 13.5px; padding: 6px 12px; }
.rows .notice { margin: 0; }

dialog.dlg { margin: auto; border: 0; border-radius: var(--r-card); padding: 0; width: min(480px, calc(100% - 32px)); box-shadow: var(--sh-3); color: var(--ink); background: var(--surface); }
dialog.dlg::backdrop { background: rgba(14,34,64,.45); }
dialog.dlg[open] { animation: fade-up .3s var(--ease) both; }
.dlg form { padding: var(--s5); }
.dlg h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.dlg p { color: var(--ink-2); margin-top: 4px; font-size: 14px; }
.dlg textarea { width: 100%; min-height: 96px; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 15px; resize: vertical; background: var(--paper); }
.dlg textarea:focus-visible { border-color: var(--blue); background: var(--surface); border-radius: 12px; }
.dlg label { display: block; font-weight: 600; font-size: 14px; margin-top: var(--s4); }
.dlg .acts { display: flex; justify-content: flex-end; gap: var(--s2); margin-top: var(--s4); flex-wrap: wrap; }
.btn.danger { background: var(--err); border-color: var(--err); color: #fff; }
.btn.danger:hover { background: #8f1c13; border-color: #8f1c13; }
.btn.danger.loading::after { border-color: rgba(255,255,255,.35); border-top-color: #fff; }
.msg .att { text-decoration: none; }
.msg a.att:hover { border-color: var(--ink-3); color: var(--ink); }
.msg .atts { display: flex; flex-wrap: wrap; gap: 6px; }
.offnote-crit { margin-top: 6px; }
@media (max-width: 900px) { .login-form .two { grid-template-columns: 1fr; } .login-form .two .f + .f { margin-top: var(--s3); } }
@media (max-width: 900px) { body[data-screen="boot"], body[data-screen="fail"] { padding-bottom: 0; } }
.login-art th, .login-art td { padding-right: 20px; }
.login-art th:last-child, .login-art td:last-child { padding-right: 0; }
.login-art td:first-child { white-space: nowrap; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: var(--s5); background: var(--comp-50); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.seg button { border: 0; background: none; padding: 8px 12px; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-3); cursor: pointer; transition: background var(--t), color var(--t), box-shadow var(--t); }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line-soft); }
.seg button:focus-visible { border-radius: 9px; }
.pw { position: relative; }
.login-form .pw input { padding-right: 46px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 34px; display: grid; place-items: center; background: none; border: 0; border-radius: var(--r-sm); color: var(--ink-3); cursor: pointer; transition: color var(--t), background var(--t); }
.pw-eye:hover { color: var(--ink); background: var(--comp-50); }
.pw-eye svg.i { width: 18px; height: 18px; }
.pw-rules { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.pw-rules li { display: inline-flex; align-items: center; gap: 6px; transition: color var(--t); }
.pw-rules li svg.i { width: 14px; height: 14px; stroke-width: 2.2; opacity: .45; transition: opacity var(--t); }
.pw-rules li.ok { color: var(--ok); }
.pw-rules li.ok svg.i { opacity: 1; }
.pw-rules-note { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.login-form .bo-link { margin-top: var(--s5, 24px); padding-top: var(--s3); border-top: 1px solid var(--line-soft); font-size: 13px; text-align: center; }
.login-form .bo-link a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; border-radius: 4px; }
.login-form .bo-link a:hover { color: var(--ink-2); }
.login-form #l-email .alt { margin-top: var(--s3); }
@media (max-width: 900px) { .login-form .two { row-gap: 0; } }

body.adm { min-height: 100vh; padding-bottom: 0; background: var(--paper); }
.adm-top { display: flex; align-items: center; gap: var(--s4); background: var(--comp-900); color: var(--comp-on); padding: 14px 28px; position: sticky; top: 0; z-index: 10; }
.adm-logo img { height: 19px; display: block; filter: brightness(0) invert(1); }
.adm-tag { font-size: 13px; font-weight: 600; color: var(--comp-on-2); padding-left: var(--s4); border-left: 1px solid var(--comp-800); }
.adm-back { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--comp-on); font-size: 13.5px; font-weight: 600; text-decoration: none; padding: 6px 10px; border-radius: 10px; white-space: nowrap; transition: background var(--t); }
.adm-back:hover { background: var(--comp-800); color: #fff; }
.adm-back svg.i { width: 16px; height: 16px; }
.adm-back:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.adm-who { margin-left: var(--s4); padding-left: var(--s4); border-left: 1px solid var(--comp-800); display: grid; text-align: right; line-height: 1.25; min-width: 0; }
.adm-who b { color: #fff; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-who small { font-size: 12px; color: var(--comp-on-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-main { max-width: 1320px; margin: 0 auto; padding: 28px; }
.adm .card { animation-delay: 0s; }
.adm-boot { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink-3); padding: 80px 0; font-weight: 500; }
.adm-spin { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--comp-700); border-radius: 50%; animation: spin .7s linear infinite; }

.adm-gate { max-width: 520px; margin: 48px auto; padding: 32px; text-align: center; }
.adm-gate-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--comp-100); color: var(--comp-800); margin-bottom: var(--s4); }
.adm-gate-ic.err { background: var(--err-bg); color: var(--err); }
.adm-gate-ic svg.i { width: 24px; height: 24px; }
.adm-gate h1 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.adm-gate p { color: var(--ink-2); margin-top: var(--s2); }
.adm-gate-acts { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; margin-top: var(--s5); }
.adm-gate .notice { margin-top: var(--s4); text-align: left; }

.adm-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 24px; align-items: start; }
.adm-side { display: grid; gap: 24px; }
.adm-root { container: cpn / inline-size; }
.adm-gen h1 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.adm-lead { color: var(--ink-3); font-size: 13.5px; margin: 4px 0 var(--s4); }
.adm-root .f input[type=number], .adm-root .f select, .adm-root .f textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r); padding: 9px 12px; font-size: 15px; background: var(--surface); transition: border-color var(--t); }
.adm-root .f input[type=number]:hover { border-color: var(--ink-3); }
.adm-root .f input[type=number]:focus-visible { border-color: var(--blue); border-radius: var(--r); }
.adm-root .f textarea { min-height: 64px; resize: vertical; }
.adm-root .f .help { margin: 4px 0 0; }
.adm-wide { width: 100%; }
.adm-gen form > div:not(.f) .notice { margin-bottom: var(--s3); }

.adm-result { border: 0; box-shadow: var(--sh-2), inset 0 0 0 2px var(--acc); background: linear-gradient(180deg, var(--acc-50), var(--surface) 55%); }
.adm-result:focus { outline: none; }
.adm-result.pop { animation: fade-up .4s var(--ease) both; }
.adm-result h2 { font-size: 15px; font-weight: 700; color: var(--acc-strong); }
.adm-code-row { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s2); flex-wrap: wrap; }
.adm-code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 28px; font-weight: 700; letter-spacing: .06em; color: var(--ink); user-select: all; word-break: break-all; }
.adm-res-meta { font-size: 13.5px; color: var(--ink-2); margin-top: var(--s2); }
.adm-share-l { display: block; font-size: 13px; font-weight: 600; margin-top: var(--s4); color: var(--ink-2); }
.adm-share { width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; line-height: 1.5; background: var(--surface); resize: none; color: var(--ink-2); overflow: hidden; }
.adm-result-acts { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); margin-top: var(--s2); flex-wrap: wrap; }
.adm-result-acts .linkbtn { font-size: 13.5px; }
.adm-copy-msg { padding-left: 8px; }

.adm-list { padding: 20px 22px; min-width: 0; }
.adm-list-head { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.adm-list-head h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 8px; }
.adm-list-head h2 .c { font-size: 14px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.adm-search { margin: 0 0 0 auto; flex: 0 1 340px; }
.adm-search input { padding-right: 36px; }
.adm-filters { display: flex; gap: 6px; flex-wrap: wrap; margin: var(--s4) 0; }
.adm-filters button { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t); }
.adm-filters button:hover { border-color: var(--ink-3); color: var(--ink); }
.adm-filters button[aria-pressed="true"] { background: var(--comp-900); border-color: var(--comp-900); color: #fff; }
.adm-filters button:focus-visible { border-radius: 99px; }

.adm-table-wrap { overflow-x: auto; margin: 0 -22px -20px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2); }
.adm-table td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.adm-table th:first-child, .adm-table td:first-child { padding-left: 22px; }
.adm-table th:last-child, .adm-table td:last-child { padding-right: 22px; }
.adm-table tbody tr:last-child td { border-bottom: 0; }
.adm-table tbody tr:hover { background: var(--surface-2); }
.adm-table td small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.adm-main-t { display: block; }
.adm-code-sm { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13.5px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.adm-c-note { max-width: 240px; color: var(--ink-2); overflow-wrap: anywhere; }
.adm-muted { color: var(--ink-3); }
.adm-c-act { text-align: right; }
.adm-revoke { padding: 5px 12px; font-size: 13px; color: var(--err); }
.adm-revoke:hover { border-color: var(--err); background: var(--err-bg); }
.adm-chip { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.adm-chip.unused { background: var(--comp-100); color: var(--comp-800); }
.adm-chip.active { background: var(--ok-bg); color: var(--ok); }
.adm-chip.expired { background: var(--line-soft); color: var(--ink-2); }
.adm-chip.revoked { background: var(--err-bg); color: var(--err); }
.adm-empty { display: grid; justify-items: center; gap: var(--s2); padding: 40px 16px; color: var(--ink-3); text-align: center; }
.adm-empty svg.i { width: 28px; height: 28px; }
.adm-skel { height: 52px; border-radius: 10px; margin-bottom: 8px; background: linear-gradient(90deg, var(--line-soft), var(--surface-2), var(--line-soft)); background-size: 200% 100%; animation: adm-shine 1.2s linear infinite; }
@keyframes adm-shine { to { background-position: -200% 0; } }
.dlg code { color: var(--ink); }
.adm-revoke-dlg .err-msg { margin-top: var(--s3); }

@container cpn (max-width: 1020px) {
  .adm-grid { grid-template-columns: 1fr; }
  .adm-side { position: static; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
}
@media (max-width: 760px) {
  .adm-top { padding: 12px 16px; gap: var(--s3); }
  .adm-tag { display: none; }
  .adm-who { margin-left: var(--s2); padding-left: var(--s2); }
  .adm-back { padding: 6px 4px; }
  .adm-main { padding: 16px; }
  .adm-gate { margin: 24px auto; padding: 24px 20px; }
}
@container cpn (max-width: 720px) {
  .adm-side { grid-template-columns: 1fr; gap: 16px; }
  .adm-grid { gap: 16px; }
  .adm-v-page .adm-list { padding: 16px; }
  .adm-search { flex: 1 1 100%; margin: 0; }
  .adm-table-wrap { margin: 0; overflow: visible; }
  .adm-table thead { display: none; }
  .adm-table, .adm-table tbody { display: block; }
  .adm-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 12px; margin-bottom: 10px; background: var(--surface); }
  .adm-table tbody tr:hover { background: var(--surface); }
  .adm-table td, .adm-table td:first-child, .adm-table td:last-child { display: block; padding: 0; border: 0; }
  .adm-table td.adm-c-code { grid-column: 1; }
  .adm-table td[data-label="Estado"] { grid-column: 2; grid-row: 1; justify-self: end; }
  .adm-table td[data-label="Categoría"], .adm-table td[data-label="Empresa"], .adm-table td[data-label="Vigencia"], .adm-table td.adm-c-note { grid-column: 1 / -1; display: grid; grid-template-columns: 92px 1fr; gap: 8px; }
  .adm-table td[data-label="Categoría"]::before, .adm-table td[data-label="Empresa"]::before, .adm-table td[data-label="Vigencia"]::before, .adm-table td.adm-c-note::before { content: attr(data-label); font-size: 12px; font-weight: 600; color: var(--ink-3); padding-top: 2px; }
  .adm-table td > small, .adm-table td > .adm-main-t { grid-column: 2; }
  .adm-c-note { max-width: none; }
  .adm-table td.adm-c-act { grid-column: 1 / -1; text-align: left; }
  .adm-table td.adm-c-act:empty { display: none; }
  .adm-revoke { width: 100%; margin-top: 4px; }
  .adm-code { font-size: 24px; }
}

.acct-coupons .card-lead { max-width: 72ch; }
.acct-bo .bo-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3) var(--s4); flex-wrap: wrap; }
.acct-bo .bo-text { flex: 1 1 22em; min-width: 0; }
.acct-bo .card-lead { max-width: 72ch; margin-bottom: 0; }
.acct-bo .bo-net { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.acct-bo .bo-net svg.i { width: 14px; height: 14px; }
.acct-bo #boOpen { flex: none; }
.acct-bo #boNote:not(:empty) { margin-top: var(--s3); }
.adm-v-card .adm-boot { padding: 28px 0; justify-content: flex-start; }
.adm-v-card .adm-grid { grid-template-columns: 340px minmax(0, 1fr); gap: 0; }
.adm-v-card .adm-side { gap: 18px; padding-right: 24px; border-right: 1px solid var(--line-soft); }
.adm-v-card .adm-list { padding: 0 0 0 24px; }
.adm-v-card h4 { font-size: 15px; font-weight: 700; color: var(--ink); display: flex; align-items: baseline; gap: 8px; }
.adm-v-card .adm-list-head h4 .c { font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.adm-v-card .adm-result { padding: 14px 16px; border-radius: 14px; }
.adm-v-card .adm-result h4 { color: var(--acc-strong); font-size: 14px; }
.adm-v-card .adm-code { font-size: 24px; }
.adm-v-card .adm-table-wrap { margin: 0 -20px -18px 0; }
.adm-v-card .adm-table th:first-child, .adm-v-card .adm-table td:first-child { padding-left: 12px; }
.adm-v-card .adm-table th:last-child, .adm-v-card .adm-table td:last-child { padding-right: 20px; }
.adm-gate-inline { display: flex; align-items: flex-start; gap: var(--s4); max-width: 720px; margin: 4px 0 0; text-align: left; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-soft); }
.adm-gate-inline .adm-gate-ic { width: 40px; height: 40px; border-radius: 12px; margin: 0; flex: none; }
.adm-gate-inline .adm-gate-ic svg.i { width: 20px; height: 20px; }
.adm-gate-inline .adm-gate-body { min-width: 0; flex: 1; }
.adm-gate-inline h4 { font-size: 15px; }
.adm-gate-inline p { color: var(--ink); font-weight: 500; margin: 2px 0 0; }
.adm-gate-inline p:focus { outline: none; }
.adm-gate-inline .adm-gate-acts { justify-content: flex-start; margin-top: var(--s3); }
.adm-gate-inline .notice { margin-top: var(--s3); }
@container cpn (max-width: 1020px) {
  .adm-v-card .adm-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .adm-v-card .adm-side { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .adm-v-card .adm-list { padding: 0; }
  .adm-v-card .adm-table-wrap { margin: 0 -20px -18px; }
  .adm-v-card .adm-table th:first-child, .adm-v-card .adm-table td:first-child { padding-left: 20px; }
}
@container cpn (max-width: 720px) {
  .adm-v-card .adm-table-wrap { margin: 0; }
  .adm-v-card .adm-table td:first-child, .adm-v-card .adm-table td:last-child { padding: 0; }
  .adm-gate-inline { flex-direction: column; gap: var(--s3); }
  .adm-gate-inline .adm-gate-acts .btn { flex: 1 1 auto; justify-content: center; }
}

.dlg .coupon-in { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--paper); }
.dlg .coupon-in::placeholder { color: var(--ink-3); font-weight: 500; opacity: .7; }
.dlg .coupon-in:focus-visible { border-color: var(--blue); background: var(--surface); border-radius: 12px; }
.dlg .coupon-in[aria-invalid="true"] { border-color: var(--err); }
dialog.dlg.sheet { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: 18px 18px 0 0; }
.sheet-in { padding: var(--s4) var(--s4) calc(var(--s4) + env(safe-area-inset-bottom)); display: grid; gap: 4px; }
.sheet-who { display: flex; align-items: center; gap: var(--s3); padding: 4px 4px var(--s3); border-bottom: 1px solid var(--line-soft); margin-bottom: 4px; }
.sheet-who b { display: block; font-size: 15px; }
.sheet-who small { display: block; color: var(--ink-3); font-size: 13px; }
.sheet-item { text-align: left; background: none; border: 0; padding: 12px 8px; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.sheet-item:hover { background: var(--comp-50); }
.sheet-close { margin-top: var(--s2); width: 100%; }

:root {
  --viz-1: #1668c9; --viz-2: #e07a0c; --viz-grid: var(--line-soft); --viz-axis: var(--ink-3); --viz-track: var(--comp-50);
}
body[data-screen="account"] .mviews { display: none; }
.work.home .banner.acct-banner { min-height: 0; grid-template-columns: minmax(0, 1fr); padding-top: 32px; padding-bottom: 80px; }
.work.home .banner.acct-banner h2 { font-size: 32px; }
.acct-banner p { overflow-wrap: anywhere; }
.acct-grid .stats { margin-top: -56px; }
.stat .v.sm { font-size: 24px; padding: 3px 0 1px; }
.stat .v.skel-line { height: 30px; margin: 4px 0; border-radius: 6px; background: linear-gradient(90deg, var(--line-soft), var(--paper), var(--line-soft)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.meter { display: block; height: 6px; border-radius: 99px; background: var(--viz-track); box-shadow: inset 0 0 0 1px var(--line-soft); overflow: hidden; margin: 4px 0 2px; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--ok); }
.meter.over i { background: var(--acc-hover); }
.acct-skel { box-shadow: none; padding: 4px 0; }
.acct-skel i { height: 12px; }
.card-lead { font-size: 14px; color: var(--ink-2); margin: -4px 0 var(--s3); }
.fine-note { font-size: 12.5px; color: var(--ink-3); margin-top: var(--s3); }
.muted { color: var(--ink-3); font-size: 14px; }
.card h4 { font-size: 14px; font-weight: 700; color: var(--ink); }
.row-b.solo { grid-template-columns: minmax(0, 1fr); }

.act-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; }
.act-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.legend-k { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-2); }
.legend-k span { display: inline-flex; align-items: center; gap: 6px; }
.legend-k i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend-k .k-open { background: var(--viz-1); }
.legend-k .k-res { background: var(--viz-2); }
.mchart { width: 100%; min-height: 196px; }
.mchart svg { display: block; }
.mchart .g { stroke: var(--viz-grid); stroke-width: 1; }
.mchart .ax { fill: var(--viz-axis); font-size: 11.5px; font-family: var(--font); font-variant-numeric: tabular-nums; }
.mchart .b-open { fill: var(--viz-1); }
.mchart .b-res { fill: var(--viz-2); }
.mchart .zero { opacity: .5; }
.mchart .mg path, .mchart .mg rect { transition: opacity var(--t); }
@media (hover: hover) {
  .mchart svg:hover .mg path { opacity: .55; }
  .mchart svg .mg:hover path { opacity: 1; }
}
.hbars { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.hbars li { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr) 2.2em; align-items: center; gap: 10px; font-size: 13.5px; }
.hb-l { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-t { height: 10px; border-radius: 99px; background: var(--viz-track); overflow: hidden; }
.hb-t i { display: block; height: 100%; border-radius: 99px; background: var(--viz-1); animation: grow .6s var(--ease) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.hb-v { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.acct-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 28px 12px; color: var(--ink-3); font-size: 14px; }
.acct-empty > svg.i { width: 28px; height: 28px; color: var(--ink-3); }
.acct-empty b { color: var(--ink); font-size: 15.5px; }
.acct-empty .btn { margin-top: 8px; }

.org-name { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.org-name svg.i { width: 18px; height: 18px; color: var(--ink-3); }
.cov-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 600; padding: 5px 11px 5px 9px; border-radius: 99px; background: var(--ok-bg); color: var(--ok); }
.cov-chip.int { background: var(--comp-100); color: var(--comp-800); }
.cov-chip.none { background: var(--warn-bg); color: var(--warn); }
.cov-chip svg.i { width: 14px; height: 14px; }
.sub-h { margin-top: 18px; margin-bottom: 8px; font-size: 12.5px !important; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3) !important; font-weight: 700; }
.coupons { list-style: none; display: grid; gap: 8px; }
.coupons li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--acc-50); box-shadow: inset 0 0 0 1px var(--acc-100); }
.coupons li svg.i { color: var(--acc-strong); margin-top: 2px; }
.coupons b { display: block; font-size: 14px; }
.coupons small { display: block; font-size: 12.5px; color: var(--ink-2); }
.sla-list { display: grid; gap: 8px; }
.sla-list > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 8px; font-size: 13.5px; }
.sla-list dt { font-weight: 600; }
.sla-list dd { color: var(--ink-2); }
.card.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { box-shadow: var(--sh-2), inset 0 0 0 2px var(--acc); } 100% { box-shadow: var(--sh-2), inset 0 0 0 1px var(--line-soft); } }

.co-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.co-nums > div { background: var(--surface-2); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-soft); padding: 12px 14px; display: grid; }
.co-nums .v { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.co-nums .k { font-size: 13px; color: var(--ink-3); }

.coupon-row { display: flex; gap: 8px; }
.coupon-row .btn { flex: none; }
.coupon-card .coupon-in { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 17px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--paper); }
.coupon-card .coupon-in::placeholder { color: var(--ink-3); font-weight: 500; opacity: .7; }
.coupon-card .coupon-in:focus-visible { border-color: var(--blue); background: var(--surface); border-radius: 12px; }
#couponNote .notice { margin-top: 4px; }

.prof { display: grid; gap: 0; }
.prof-block { padding: 16px 0; border-top: 1px solid var(--line-soft); }
.prof-block:first-child { padding-top: 0; border-top: 0; }
.prof-block:last-child { padding-bottom: 0; }
.prof-block h4 { margin-bottom: 6px; }
.prof .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prof .f input[type=password], .prof .f input[type=text] { width: 100%; border: 1px solid var(--line); border-radius: var(--r); padding: 9px 12px; font-size: 15px; background: var(--surface); }
.prof .pw input { padding-right: 46px; }
.prof .f input:focus-visible { border-color: var(--blue); border-radius: var(--r); }
.prof form .notice, .prof-block > div > .notice { margin-top: 12px; }
#acctPwForm .f, #acctPwForm .card-lead { max-width: 460px; }
.acct-grid > .row-b:last-child { align-items: start; }
.btn.danger-o { color: var(--err); border-color: #f1c4c0; white-space: normal; text-align: left; }
.btn.danger-o:hover { background: var(--err-bg); border-color: var(--err); }
.export-card { display: flex; flex-direction: column; align-items: flex-start; }
.menu button { display: flex; align-items: center; gap: 8px; }
.menu button svg.i { color: var(--ink-3); }

@media (max-width: 1180px) {
  .act-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .work.home .banner.acct-banner { padding: 24px 20px; }
  .work.home .banner.acct-banner h2 { font-size: 26px; }
  .acct-grid .stats { margin-top: 0; }
  .stat .v.sm { font-size: 20px; }
  .prof .two { grid-template-columns: 1fr; gap: 0; }
  .coupon-row { flex-direction: column; }
  .coupon-row .btn { width: 100%; }
  .hbars li { grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) 2em; }
  .co-nums .v { font-size: 22px; }
}
.acct-grid .stat { align-content: start; }
.toast.err svg { color: #ff9d94; }
.acct-id b { color: #fff; }
.acct-id #acctMail { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .acct-id .sep { display: none; }
  .acct-id #acctMail { display: block; }
}

.adm-users { margin-top: 24px; }
.usr.card { padding: 20px 22px; }
.usr-lead { margin: 6px 0 var(--s3); max-width: 72ch; }
.usr-org { border-top: 1px solid var(--line-soft); }
.usr-org:last-child { border-bottom: 1px solid var(--line-soft); }
.usr-sum { display: flex; align-items: center; gap: 10px; padding: 12px 6px; cursor: pointer; list-style: none; border-radius: 10px; transition: background var(--t); }
.usr-sum::-webkit-details-marker { display: none; }
.usr-sum:hover { background: var(--surface-2); }
.usr-chev { width: 16px; height: 16px; flex: none; color: var(--ink-3); transition: transform var(--t); }
.usr-org[open] > .usr-sum .usr-chev { transform: rotate(90deg); }
.usr-org-n { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
.usr-org-name { overflow-wrap: anywhere; }
.usr-org-m { color: var(--ink-3); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-chip.usr-int { background: var(--comp-100); color: var(--comp-800); }
.adm-chip.usr-tag { background: var(--acc-50); color: var(--acc-strong); }
.usr-list { list-style: none; margin: 0 0 8px; }
.usr-row { display: grid; grid-template-columns: minmax(0, 1fr) 7.5em minmax(17em, auto); align-items: center; gap: 16px; padding: 10px 6px 10px 32px; border-top: 1px solid var(--line-soft); }
.usr-list .usr-row:first-child { border-top: 0; }
.usr-org:not(.int) .usr-row { grid-template-columns: minmax(0, 1fr) 7.5em; }
.usr-who { min-width: 0; }
.usr-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 600; font-size: 14.5px; }
.usr-name .adm-chip { font-size: 11.5px; padding: 1px 8px; }
.usr-mail { display: block; font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.usr-t { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.usr-t b { color: var(--ink); font-weight: 700; }
.usr-none { padding: 4px 6px 14px 32px; color: var(--ink-3); font-size: 14px; }
.usr-sws { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; justify-self: end; }
.usr-switch { display: inline-flex; align-items: center; gap: 8px; justify-self: end; background: none; border: 0; padding: 6px 8px; margin: -6px -8px -6px 0; border-radius: 99px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.usr-switch:hover .usr-track { box-shadow: 0 0 0 3px var(--comp-100); }
.usr-track { position: relative; flex: none; width: 36px; height: 20px; border-radius: 99px; background: var(--ink-3); transition: background var(--t); }
.usr-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform var(--t); }
.usr-switch[aria-checked="true"] { color: var(--ink); }
.usr-switch[aria-checked="true"] .usr-track { background: var(--comp-800); }
.usr-switch[aria-checked="true"] .usr-thumb { transform: translateX(16px); }
.usr-switch[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.usr-switch[aria-disabled="true"]:hover .usr-track { box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .usr-thumb, .usr-chev, .usr-track { transition: none; } }
.usr-dlg h2 { overflow-wrap: anywhere; }
.usr-dlg .usr-dlg-mail { color: var(--ink-3); font-size: 13.5px; margin-top: 2px; overflow-wrap: anywhere; }
.usr-dlg .err-msg { margin-top: var(--s3); }
.acct-users .card-lead { max-width: 72ch; }
.adm-v-card .usr .adm-list-head { margin: 2px 0 var(--s3); }
@container cpn (max-width: 620px) {
  .usr.card { padding: 16px; }
  .usr-sum { flex-wrap: wrap; row-gap: 2px; }
  .usr-org-m { flex-basis: 100%; padding-left: 26px; white-space: normal; }
  .usr-row, .usr-org:not(.int) .usr-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 6px 12px 26px; }
  .usr-sws { grid-column: 1 / -1; justify-self: start; justify-content: flex-start; }
  .usr-switch { margin: 0 0 0 -8px; }
  .usr-none { padding-left: 26px; }
}
