/* GoSEQ Support (support.goseq.app) and Isaac's console. Loaded after /style.css, whose tokens, type, header, form
   fields and footer it reuses; everything here is prefixed so nothing collides with the landing page. */
:root {
  --st-open: #1D5FB8; --st-open-bg: #E3EDFB; --st-pending: #A45A00; --st-pending-bg: #FFF1DC;
  --st-waiting: #6B3FC4; --st-waiting-bg: #EFE8FC; --st-resolved: #137347; --st-resolved-bg: #E1F3E9;
  --st-closed: #6B625D; --st-closed-bg: #EFEBE6; --urgent: #B42318; --urgent-bg: #FDE8E6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --st-open: #8DBAF5; --st-open-bg: #1E3350; --st-pending: #F2B35C; --st-pending-bg: #3A2A12;
    --st-waiting: #C4A8FF; --st-waiting-bg: #2D2346; --st-resolved: #4CD39A; --st-resolved-bg: #173427;
    --st-closed: #A99F99; --st-closed-bg: #272322; --urgent: #FF8A7E; --urgent-bg: #3D1A17;
  }
}
:root[data-theme="dark"] {
  --st-open: #8DBAF5; --st-open-bg: #1E3350; --st-pending: #F2B35C; --st-pending-bg: #3A2A12;
  --st-waiting: #C4A8FF; --st-waiting-bg: #2D2346; --st-resolved: #4CD39A; --st-resolved-bg: #173427;
  --st-closed: #A99F99; --st-closed-bg: #272322; --urgent: #FF8A7E; --urgent-bg: #3D1A17;
}
.wrap { padding-left: 16px; padding-right: 16px; }
@media (min-width: 768px) { .wrap { padding-left: 36px; padding-right: 36px; } }
.sp-narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand small { margin-left: 2px; font-weight: 600; color: var(--muted); }
.top .status { white-space: nowrap; }
@media (max-width: 400px) { .top .status { display: none; } }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
textarea, select { width: 100%; font: 16px/1.5 var(--font); color: var(--text); background: var(--bg); border: 1px solid var(--field-line); border-radius: 10px; }
textarea { min-height: 140px; padding: 12px 14px; resize: vertical; }
select { min-height: 50px; padding: 0 40px 0 14px; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
textarea:focus-visible, select:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
[aria-invalid="true"] { border-color: var(--bad) !important; }
.linkbtn { padding: 10px 2px; min-height: 44px; font: 600 15px var(--font); color: var(--accent); background: none; border: 0; cursor: pointer; }
.linkbtn:hover { color: var(--accent-hover); }

/* ---------- hero + search ---------- */
.sp-hero { padding-top: 20px; padding-bottom: 36px; }
@media (min-width: 900px) { .sp-hero { padding-top: 48px; padding-bottom: 56px; } }
.sp-h1 { margin: 0 0 18px; font-size: clamp(44px, 8vw, 84px); line-height: .95; letter-spacing: -.05em; font-weight: 800; }
.sp-h1 em { font-style: normal; color: var(--accent); }
.sp-lede { margin: 0 0 28px; max-width: 34em; font-size: clamp(17px, 1.8vw, 19px); line-height: 1.5; color: var(--muted); }
.sp-search { position: relative; max-width: 640px; }
.sp-search .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.sp-search input { min-height: 58px; padding: 0 16px 0 48px; font-size: 17px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.sp-search input::-webkit-search-cancel-button { cursor: pointer; }
.sp-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.sp-topics a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--surface); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.sp-topics a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- your requests (chat.js draws the list), and who you are ---------- */
.sp-mine { padding-bottom: 36px; }
.sp-faq-head h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.02em; }
.sp-who p, .sp-as p { margin: 0; font-size: 15px; color: var(--muted); }
.sp-who p { margin-top: 10px; } #mine-list:empty + .sp-who p { margin-top: 0; }
.sp-who b, .sp-as b { color: var(--text); overflow-wrap: anywhere; }
.sp-who .linkbtn, .sp-as .linkbtn { min-height: 0; padding: 6px 2px; }
.sp-as { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.sp-code { margin-top: 6px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.sp-idbox { max-width: 460px; margin: 12px 0 0; padding: 24px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
/* while searching, the answers come straight after the search box */
.sp-searching #mine, .sp-searching #contact { display: none; }
.sp-searching .sp-faq { padding-top: 0; }
.sp-list { margin: 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.sp-list li + li { border-top: 1px solid var(--line); }
.sp-list a, .sp-list button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 16px; font: inherit; color: inherit; text-align: left;
  text-decoration: none; background: none; border: 0; cursor: pointer; }
.sp-list a:hover, .sp-list button:hover { background: var(--surface-2); }
.sp-list .grow { flex: 1; min-width: 0; }
.sp-list b { display: block; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-list small { display: block; font-size: 13.5px; color: var(--muted); }
.sp-new { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; vertical-align: 1px; }

/* ---------- status pill (Freshdesk-style colours) ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 11px 4px 9px; border-radius: 99px; font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap;
  color: var(--st-open); background: var(--st-open-bg); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.s-pending { color: var(--st-pending); background: var(--st-pending-bg); }
.pill.s-waiting { color: var(--st-waiting); background: var(--st-waiting-bg); }
.pill.s-resolved { color: var(--st-resolved); background: var(--st-resolved-bg); }
.pill.s-closed { color: var(--st-closed); background: var(--st-closed-bg); }

/* ---------- help articles ---------- */
.sp-faq { padding-top: 8px; padding-bottom: 72px; }
.sp-faq-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sp-count { margin: 0; font-size: 14px; color: var(--muted); }
.faq-topic { padding: 22px 0 6px; scroll-margin-top: 16px; }
.faq-topic h3 { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.faq { border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.faq summary { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 2px; font-size: 17px; font-weight: 650; letter-spacing: -.01em; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; margin-left: auto; width: 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.faq[open] summary::after { transform: translateY(2px) rotate(-135deg); border-color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq-a { padding: 0 2px 18px; max-width: 42em; color: var(--muted); font-size: 16px; line-height: 1.6; }
.faq-a p { margin: 0 0 10px; }
.faq-a b { color: var(--text); font-weight: 650; }
.faq-a a { color: var(--accent); font-weight: 600; }
.sp-none { padding: 28px 0; font-size: 16px; color: var(--muted); }

/* ---------- contact ---------- */
.sp-contact { padding: 72px 0 88px; background: var(--surface); border-top: 1px solid var(--line); scroll-margin-top: 8px; }
.sp-contact-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .sp-contact-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }
.sp-contact h2 { margin: 0 0 14px; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
.sp-contact-intro > p { margin: 0 0 22px; max-width: 30em; font-size: 17px; color: var(--muted); }
.sp-how { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.sp-how li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.sp-how li span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 14px; }
.sp-how b { display: block; color: var(--text); }
.sp-how b.in { display: inline; }
.sp-form { position: relative; padding: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; }
.sp-form .row2 { display: grid; gap: 12px; }
@media (min-width: 560px) { .sp-form .row2 { grid-template-columns: 1.4fr 1fr; } }
.sp-form .f { margin-bottom: 14px; }
.sp-form input, .sp-form select, .sp-form textarea { background: var(--surface); }
.sp-safety { display: flex; gap: 10px; margin: -4px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--urgent-bg); color: var(--text); font-size: 14.5px; line-height: 1.45; }
.sp-safety b { color: var(--urgent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- a request: the conversation ---------- */
body[data-view] .sp-home { display: none; }
body:not([data-view="ticket"]) #ticket, body:not([data-view="continue"]) #continue { display: none; }
.tk { padding-top: 12px; padding-bottom: 64px; }
.tk-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; }
.tk-back:hover { color: var(--accent); }
.tk-head { padding: 12px 0 20px; border-bottom: 1px solid var(--line); }
.tk-ref { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tk-subject:focus { outline: none; }
.tk-subject { margin: 0 0 12px; font-size: clamp(26px, 4vw, 36px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; overflow-wrap: anywhere; }
.tk-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tk-note { margin: 0; font-size: 15px; color: var(--muted); }

.chat { margin: 0; padding: 24px 0 8px; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.msg-row { display: flex; gap: 10px; align-items: flex-end; max-width: 100%; }
.msg-row.me { flex-direction: row-reverse; }
.av { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-weight: 800; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, #FF9152, #F0513E 55%, #B8264A); }
.av svg { width: 32px; height: 32px; border-radius: 10px; display: block; }
.av.isaac { border-radius: 50%; background: var(--text); color: var(--bg); }
.msg-col { min-width: 0; max-width: min(560px, calc(100% - 42px)); display: grid; gap: 4px; }
.me .msg-col { justify-items: end; }
.meta { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 0 4px; }
.meta .ai { margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.bubble { padding: 12px 15px; border-radius: 18px 18px 18px 6px; background: var(--surface); border: 1px solid var(--line); font-size: 16px; line-height: 1.5;
  white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-row.ours { flex-direction: row-reverse; } .ours .msg-col { justify-items: end; } .ours .bubble { border-radius: 18px 18px 6px 18px; }
.me .bubble { border-radius: 18px 18px 6px 18px; background: var(--accent); border-color: transparent; color: var(--on-accent); }
.me .bubble a { color: inherit; }
.isaac-row .bubble { border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.bubble a { color: var(--accent); font-weight: 600; }
.bubble.typing { justify-self: start; display: inline-flex; gap: 5px; align-items: center; min-height: 46px; padding: 0 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .35; }
.dot:nth-child(2) { opacity: .6; } .dot:nth-child(3) { opacity: .85; }
.tw::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: currentColor; opacity: .6; }
.sys { align-self: center; max-width: 90%; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.sys::before, .sys::after { content: ""; flex: 1 1 24px; min-width: 16px; height: 1px; background: var(--line); }


/* ---------- Isaac's console ---------- */
.ad-gate { max-width: 440px; margin: 8vh auto; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
@media (max-width: 480px) { .ad-gate { margin: 5vh 16px; padding: 22px 18px; } }
.ad-gate h1 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.02em; }
.ad-gate p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.ad-gate .ad-gate-links { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 0; }
.ad-gate input + label { margin-top: 14px; }
#g-code { font-size: 22px; letter-spacing: .3em; font-variant-numeric: tabular-nums; text-align: center; }
.ad { display: grid; gap: 0; min-height: calc(100vh - 90px); border-top: 1px solid var(--line); }
@media (min-width: 980px) { .ad { grid-template-columns: 400px minmax(0, 1fr); } .ad-list-pane { border-right: 1px solid var(--line); } #p-back { display: none; } }
@media (max-width: 979px) { .ad[data-open] .ad-list-pane { display: none; } .ad:not([data-open]) .ad-ticket-pane { display: none; } }
.ad-list-pane { padding: 16px; }
.ad-filters { display: grid; gap: 8px; margin-bottom: 12px; }
.ad-filters .r { display: flex; gap: 8px; }
.ad-filters select, .ad-filters input { min-height: 44px; font-size: 15px; }
.ad-check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px; font-weight: 600; margin: 0; color: var(--text); }
.ad-check input { width: 20px; min-height: 0; height: 20px; accent-color: var(--accent); }
.ad-counts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.ad-rows { margin: 0; padding: 0; list-style: none; }
.ad-rows > li:not(.ad-empty):not(.ad-loading) { display: flex; gap: 8px; align-items: flex-start; }
.ad-rows button { flex: 1; min-width: 0; display: grid; gap: 4px; width: 100%; padding: 12px; margin-bottom: 6px; text-align: left; font: inherit; color: inherit; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.ad-rows button:hover, .ad-rows button[aria-current="true"] { border-color: var(--accent); }
.ad-rows .t1 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.ad-rows .t1 > :first-child, .ad-rows .t1 { white-space: nowrap; }
.ad-rows .t1 .grow { flex: 1; }
.ad-rows b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-rows small { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prio { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: var(--surface-2); color: var(--muted); }
.prio.p-high { background: var(--st-pending-bg); color: var(--st-pending); } .prio.p-urgent { background: var(--urgent-bg); color: var(--urgent); }
.flag { color: var(--urgent); font-weight: 800; }
.ad-ticket-pane { padding: 16px; min-width: 0; }
.ad-empty { padding: 48px 16px; text-align: center; color: var(--muted); }
.ad-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 14px 0; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.ad-facts dt { color: var(--muted); font-weight: 600; } .ad-facts dd { margin: 0; overflow-wrap: anywhere; }
.ad-reason { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--urgent-bg); font-size: 14.5px; }
.ad-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.ad-controls select { width: auto; min-height: 44px; font-size: 15px; }
.abtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  font: 600 14.5px var(--font); color: var(--text); cursor: pointer; }
.abtn:hover { border-color: var(--accent); }
.abtn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.abtn.danger { color: var(--bad); }
.abtn[disabled] { opacity: .55; cursor: progress; }
.ad-reply { margin-top: 8px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.ad-reply textarea { min-height: 120px; }
.ad-reply .r { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.ad-reply .r select { width: auto; max-width: 100%; min-height: 44px; font-size: 15px; }
.ad-reply .grow { flex: 1; }
.ad-div { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 700; }
.ad-div::before, .ad-div::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--text) 22%, transparent); }
.ad-card { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.ad-card ul { margin: 6px 0 0; padding-left: 20px; }
.sys.ad-waiting { color: var(--text); font-weight: 600; }
.ad-sum { margin: 0 0 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--accent); background: var(--surface); }
.ad-sum textarea { min-height: 110px; margin-top: 6px; }
.ad-sum .r { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ad-reply .ad-sum { margin: 10px 0 0; }
/* 4.8:1 on white; the dark theme's gold is its own */
.ad-stars { color: #8F5B00; letter-spacing: 1px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ad-stars { color: #F2B35C; } }
:root[data-theme="dark"] .ad-stars { color: #F2B35C; }
/* waiting on the server: the app's Material spinner (www/css/app.css), a ~3/4 arc whose head races ahead while its tail catches up */
.arcspin { display: inline-block; flex: none; width: 18px; height: 18px; vertical-align: -4px; }
.arcspin circle { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; }
.arcspin .trk { opacity: .16; }
.arcspin .arc { stroke-dasharray: 94, 200; stroke-dashoffset: 0; color: inherit; }   /* not /style.css's .arc (the website's big spinner), which paints it accent */
/* on a filled accent button the arc is the button's own text colour, held solid: the warm colour shift
   below would fade it into the button */
:is(button.go, .abtn.primary) .arcspin { color: var(--on-accent); }
:is(button.go, .abtn.primary) .arcspin .trk { opacity: .3; }
.ad-gate button.go { display: flex; align-items: center; justify-content: center; gap: 9px; }
.ad-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 48px 16px; list-style: none; color: var(--muted); font-weight: 600; }
.ad-loading .arcspin { width: 26px; height: 26px; color: var(--accent); }
.ad-wait { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ad-wait .arcspin { width: 16px; height: 16px; color: var(--accent); }
/* fetching: the arc beside your name, and the list dimmed under one while a filter or search comes back */
.ad-sync { display: grid; place-items: center; width: 28px; height: 28px; color: var(--accent); }
.ad-sync .arcspin { width: 20px; height: 20px; vertical-align: 0; }
.ad-listwait { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 8px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; }
.ad-listwait .arcspin { width: 20px; height: 20px; color: var(--accent); }
.ad-rows.ad-busy { opacity: .45; pointer-events: none; }
.ad-banner .arcspin { width: 15px; height: 15px; margin-right: 4px; vertical-align: -2px; }
.ad-reply .linkbtn { min-height: 44px; }
.ad-english { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 14px; line-height: 1.5; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.ad-english b { color: var(--text); font-weight: 700; }
/* who's typing, in the queue */
.ad-typing { color: var(--accent); font-weight: 700; }
/* what a hard-to-read message means, under the customer's bubble */
.ad-mean { min-width: 0; }
/* the link (or card) under the bubble mustn't drag the avatar down with it: it sits by the bubble's first line */
.msg-row:has(.ad-mean) { align-items: flex-start; } .msg-row:has(.ad-mean) > .av { margin-top: 32px; }
.msg-row:has(.ad-mean) > .msg-col { justify-items: start; }   /* the bubble keeps its own width beside a wider card */
.ad-mean .linkbtn { min-height: 32px; padding: 4px; font-size: 13px; color: var(--muted); }
.ad-mean .linkbtn:hover { color: var(--accent); }
.ad-mean .msg { margin: 4px 4px 0; font-size: 13px; }
.ad-meaning { margin-top: 2px; padding: 10px 13px; border-radius: 12px; background: var(--surface-2); border: 1px dashed color-mix(in srgb, var(--accent) 50%, var(--line)); font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.ad-meaning b { font-weight: 700; }
.ad-meaning details { margin-top: 6px; font-size: 14px; }
.ad-meaning summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.ad-meaning details p { margin: 4px 0 0; white-space: pre-wrap; }
.ad-ask { margin: 6px 0 0; color: var(--muted); }
.ad-ask .linkbtn { min-height: 0; padding: 2px; font-size: 14px; color: var(--accent); }
/* the refresh keeps the reply box still itself (admin.js), so the browser needn't guess */
#pane { overflow-anchor: none; }

/* ---------- motion (none of it with reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes sp-in { from { opacity: 0; transform: translateY(8px); } }
  @keyframes sp-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-5px); opacity: 1; } }
  @keyframes sp-caret { 50% { opacity: 0; } }
  .chat > li.new { animation: sp-in .32s var(--ease) both; }
  .bubble.typing .dot { opacity: .35; animation: sp-dot 1.2s ease-in-out infinite; }
  .bubble.typing .dot:nth-child(2) { animation-delay: .15s; } .bubble.typing .dot:nth-child(3) { animation-delay: .3s; }
  .tw::after { animation: sp-caret .9s steps(1) infinite; }
  .faq summary::after { transition: transform .25s var(--ease), border-color .2s; }
  :root { interpolate-size: allow-keywords; }
  .faq::details-content { height: 0; overflow: clip; transition: height .3s var(--ease), content-visibility .3s allow-discrete; }
  .faq[open]::details-content { height: auto; }
  .pill { transition: background-color .3s, color .3s; }
  /* the console: an entrance for what's new, never a replay on the regular refresh */
  @keyframes ad-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } }
  @keyframes ad-slide { from { opacity: 0; transform: translateX(26px); } }
  @keyframes ad-glow { 0% { border-color: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
  @keyframes ad-pop { 0% { transform: scale(.7); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: none; } }
  @keyframes ad-shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
  @keyframes ad-grow { from { transform: scaleX(0); } }
  @keyframes ad-beat { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.45); opacity: .55; } }
  @keyframes ad-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
  @keyframes ad-tick { 50% { color: var(--accent); } }
  .ad-gate:not([hidden]) { animation: ad-rise .45s var(--ease) both; }
  #gate2:not([hidden]) { animation: ad-slide .4s var(--ease) both; }
  .ad-gate.shake, .msg.shake { animation: ad-shake .42s; }
  .top .brand svg { animation: ad-pop .55s cubic-bezier(.34, 1.56, .64, 1) both; }
  #app.enter { animation: ad-rise .5s var(--ease) both; }
  .ad-rows li.enter { animation: ad-rise .4s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
  .ad-rows li.new button { animation: ad-slide .45s var(--ease) both, ad-glow 1.4s ease-out .25s; }
  .ad-rows li.bump button { animation: ad-glow 1.4s ease-out; }
  .ad-rows button { transition: border-color .2s, background-color .2s, transform .15s var(--ease), box-shadow .2s; }
  .ad-rows button:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
  .ad-rows button:active { transform: scale(.99); }
  .needs { animation: ad-beat 1.6s ease-in-out infinite; }
  .ad-counts b.tick { animation: ad-tick .6s ease; }
  #pane.enter { animation: ad-slide .38s var(--ease) both; }
  @media (max-width: 979px) { #pane.enter { animation-name: ad-rise; } }
  .chat > li.enter { animation: sp-in .38s var(--ease) both; animation-delay: calc(var(--i) * 55ms + .1s); }
  .chat > li.new { animation: sp-in .38s var(--ease) both; }
  .chat > li.new.me .bubble { animation: ad-pop .42s cubic-bezier(.34, 1.56, .64, 1) both; transform-origin: bottom right; }
  .chat > li.new.ours .bubble, .chat > li.new:not(.me):not(.ours) .bubble { transform-origin: bottom left; }
  .ad-div.new::before, .ad-div.enter::before { animation: ad-grow .7s var(--ease) both; transform-origin: right; }
  .ad-div.new::after, .ad-div.enter::after { animation: ad-grow .7s var(--ease) both; transform-origin: left; }
  .tk-state .changed .pill, .tk-state .changed .prio { display: inline-block; animation: ad-pop .45s cubic-bezier(.34, 1.56, .64, 1); }
  .abtn { transition: transform .12s var(--ease), border-color .2s, background-color .2s, opacity .2s; }
  .abtn:active { transform: scale(.97); }
  .ad-sum:not([hidden]) { animation: ad-rise .35s var(--ease) both; }
  @keyframes ad-spin { to { transform: rotate(360deg); } }
  /* the head sprints out to a 3/4 ring, then the tail whips round after it, while the whole ring turns */
  @keyframes ad-dash { 0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; } 50% { stroke-dasharray: 94, 200; stroke-dashoffset: -16; } 100% { stroke-dasharray: 94, 200; stroke-dashoffset: -124; } }
  @keyframes ad-hue { 0%, 100% { stroke: currentColor; } 50% { stroke: color-mix(in srgb, currentColor 70%, #FFB01C); } }
  @keyframes ad-in { from { opacity: 0; transform: scale(.4) rotate(-90deg); } }
  @keyframes ad-out { to { opacity: 0; transform: scale(.4); } }
  .arcspin { animation: ad-spin 1.2s linear infinite; }
  .arcspin .arc { animation: ad-dash 1.2s cubic-bezier(.45, .05, .35, 1) infinite, ad-hue 2.4s ease-in-out infinite; }
  :is(button.go, .abtn.primary) .arcspin .arc { animation: ad-dash 1.2s cubic-bezier(.45, .05, .35, 1) infinite; }
  .ad-sync:not([hidden]) { animation: ad-in .3s cubic-bezier(.34, 1.56, .64, 1) both; }
  .ad-sync.out { animation: ad-out .2s ease both; }
  .ad-listwait:not([hidden]) { animation: ad-rise .25s var(--ease) both; }
  .ad-rows { transition: opacity .2s ease; }
  .ad-meaning.enter, .ad-mean .msg.enter { animation: ad-rise .35s var(--ease) both; }
  .ad-loading { animation: ad-rise .3s var(--ease) both; }
  textarea.drafting { background-image: linear-gradient(90deg, transparent 30%, color-mix(in srgb, var(--accent) 14%, transparent) 50%, transparent 70%); background-size: 200% 100%; animation: ad-shimmer 1.1s linear infinite; }
}
.needs { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.ad-counts span { white-space: nowrap; } .ad-counts b { font-variant-numeric: tabular-nums; color: var(--text); }

/* ---------- the console, levelled up ---------- */
.ad-tools { display: flex; align-items: center; gap: 4px; }
.ad-me { margin-right: 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
@media (max-width: 560px) { .ad-me { display: none; } }
.ad-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; color: var(--muted); cursor: pointer; }
.ad-icon:hover { color: var(--text); background: var(--surface-2); }
.ad-icon[aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); }
.ad-banners:empty { display: none; }
.ad-banners { display: grid; gap: 8px; padding: 0 16px 12px; }
@media (min-width: 768px) { .ad-banners { padding: 0 36px 12px; } }
.ad-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 11px 14px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; background: var(--st-pending-bg); color: var(--text); border: 1px solid color-mix(in srgb, var(--st-pending) 35%, transparent); }
.ad-banner.bad { background: var(--urgent-bg); border-color: color-mix(in srgb, var(--urgent) 35%, transparent); }
.ad-banner .abtn { min-height: 36px; }
.ad-banner.in-pane { margin: 0 0 12px; }
.ad-banner .r { display: flex; gap: 8px; margin-left: auto; }
.ad-toast { position: fixed; left: 50%; bottom: 20px; z-index: 50; max-width: min(560px, calc(100vw - 32px)); margin: 0; padding: 12px 16px; border-radius: 12px; transform: translateX(-50%);
  background: var(--text); color: var(--bg); font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow); }
/* on the page's own background colour: white on dark mode's light coral was about 2:1; this is 8:1 there, 6:1 in light */
.ad-toast.bad { background: var(--bad); color: var(--bg); }
.ad-filters .r > * { min-width: 0; }
.ad-filters .ad-tagsel { width: 40%; max-width: 160px; }
.ad-checks { gap: 16px !important; }
.ad-upd { color: var(--muted); }
.ad-pick { flex: none; width: 20px; height: 20px; min-height: 0; margin: 14px 0 0; accent-color: var(--accent); cursor: pointer; }
.ad-bulk { position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--accent); box-shadow: var(--shadow); }
.ad-bulk select { width: auto; flex: 1; min-width: 150px; min-height: 44px; font-size: 15px; }
.ad-more { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.ad-more .linkbtn { padding: 8px 6px; }
.ad-tags-s { display: flex; flex-wrap: wrap; gap: 4px; }
.ad-tag { display: inline-flex; align-items: center; gap: 2px; padding: 1px 8px; border-radius: 99px; background: var(--surface-2); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ad-tag button { display: grid; place-items: center; width: 24px; height: 24px; margin: -3px -6px -3px 0; padding: 0; border: 0; border-radius: 50%; background: none; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer; }
.ad-tag button:hover { color: var(--bad); }
.ad-sla { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.ad-sla.over { background: var(--urgent-bg); color: var(--urgent); } .ad-sla.soon { background: var(--st-pending-bg); color: var(--st-pending); }
.ad-draftmark { color: var(--accent); font-weight: 700; }
.ad-others { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--st-waiting-bg); color: var(--st-waiting); font-size: 14.5px; font-weight: 700; }
.tk-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.tk-sla { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.tk-subject:focus { outline: none; }
.tk-subject:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.ad-review { display: grid; gap: 8px; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--st-waiting); background: var(--surface); font-size: 14.5px; }
.ad-review textarea { min-height: 60px; font-size: 15px; }
.ad-review .abtn { justify-self: start; }
.ad-apply { display: inline-flex; align-items: center; gap: 4px; }
.ad-narrow { width: auto !important; max-width: 100%; min-height: 44px; font-size: 15px; }
.ad-menu { position: relative; }
.ad-menu > summary { list-style: none; } .ad-menu > summary::-webkit-details-marker { display: none; }
.ad-menu-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; display: grid; min-width: 250px; padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 560px) { .ad-menu-list { right: auto; left: 0; } }
.ad-menu-list button { min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: none; font: 600 14.5px var(--font); color: var(--text); text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.ad-menu-list button:hover { background: var(--surface-2); } .ad-menu-list .danger { color: var(--bad); }
.ad-tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 0; }
#tag-in { width: 130px; min-height: 36px; padding: 0 10px; font-size: 14px; border-radius: 99px; }
.ad-facts .ad-device { font-weight: 600; }
.ad-panel { margin: 0 0 10px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; }
.ad-panel > summary { min-height: 44px; display: flex; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; }
.ad-panel[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.ad-panel > div { padding-bottom: 12px; }
.ad-acct { margin: 0 0 8px; color: var(--muted); }
dl.ad-acct { margin: 0 0 12px; color: var(--text); }
.ad-older { margin: 0 0 8px; text-align: center; font-size: 14px; }
.ad-older .linkbtn { padding: 8px 6px; }
.ad-snooze { margin: 0 0 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.ad-snooze label { display: block; margin: 0 0 8px; font-weight: 700; }
.ad-snooze .r { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ad-snooze input[type="datetime-local"] { flex: 1; min-width: 200px; min-height: 44px; padding: 0 12px; font: 15px var(--font); color: var(--text); background: var(--bg); border: 1px solid var(--field-line); border-radius: 10px; }
#r-tags .ad-tag { margin: 0 2px; }
.ad-hist, .ad-events { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ad-hist .pill { font-size: 12px; padding: 2px 8px 2px 7px; }
.ad-hist ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.ad-events li { line-height: 1.45; }
.ad-note-row .msg-col { max-width: min(560px, 100%); }
.ad-note { padding: 11px 14px; border-radius: 14px; background: var(--st-pending-bg); border: 1px dashed var(--st-pending); font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.ad-att { display: grid; gap: 6px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.bubble.ad-att-b { padding: 8px; }
.ad-att-img { display: grid; place-items: center; min-width: 140px; min-height: 100px; border-radius: 12px; background: var(--surface-2); color: var(--accent); overflow: hidden; }
.ad-att-img img { display: block; max-width: min(260px, 100%); max-height: 320px; border-radius: 12px; }
.ad-att-name { padding: 0 4px; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.ad-closed { margin-top: 8px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); }
.ad-closed p { margin: 0 0 10px; }
.ad-closed .r, .ad-sub .r { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ad-sub { margin-top: 12px; }
.ad-sub textarea { min-height: 110px; }
.ad-sub .fineprint { margin: 6px 0 10px; }
.ad-tabs { display: flex; gap: 4px; margin: -4px 0 10px; }
.ad-tabs button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; font: 700 14.5px var(--font); color: var(--muted); cursor: pointer; }
.ad-tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
.ad-reply.is-note { background: color-mix(in srgb, var(--st-pending-bg) 60%, var(--surface)); border-style: dashed; }
.ad-ai { display: contents; } .ad-ai[hidden] { display: none; }
kbd { display: inline-block; min-width: 24px; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); border-bottom-width: 2px; background: var(--surface); font: 700 13px var(--font); text-align: center; }
.ad-dialog { width: min(440px, calc(100vw - 32px)); padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.ad-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.ad-dialog h2 { margin: 0 0 14px; font-size: 20px; }
.ad-keys { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; margin: 0 0 18px; font-size: 14.5px; }
.ad-keys dd { margin: 0; }
.ad-foot { padding-top: 16px; padding-bottom: 24px; font-size: 12.5px; color: var(--muted); }
.ad-dash { display: grid; gap: 28px; max-width: 760px; }
.ad-dash h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.02em; }
.ad-dash h3 { margin: 18px 0 8px; font-size: 14px; color: var(--muted); }
.ad-dash p { margin: 0 0 10px; }
.ad-dash-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.ad-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ad-tile { display: grid; gap: 2px; align-content: start; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.ad-tile span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ad-tile b { font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ad-tile small { font-size: 12px; color: var(--muted); }
.ad-bars { display: block; width: 100%; height: 90px; }
.ad-bars rect { fill: var(--accent); }
.ad-reasons { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; }
.ad-reasons b { display: inline-block; min-width: 36px; font-variant-numeric: tabular-nums; }
.ad-macros { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 6px; }
.ad-macros details, .ad-newmacro { padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.ad-macros summary, .ad-newmacro summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.ad-macros form, .ad-newmacro form { display: grid; gap: 10px; padding: 4px 0 12px; }
.ad-macros label, .ad-newmacro label { display: grid; gap: 6px; margin: 0; }
.ad-macros textarea, .ad-newmacro textarea { min-height: 90px; }
.ad-newmacro .abtn { justify-self: start; }
.ad-beta-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 10px 0; }
.linkbtn.danger { color: var(--bad); }
.ad-erase { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-erase input { flex: 1; min-width: 200px; min-height: 44px; }
@media (prefers-reduced-motion: no-preference) {
  .ad-banner.enter, .ad-toast.enter { animation: ad-rise .3s var(--ease) both; }
  .ad-toast.enter { animation-name: ad-toast; }
  @keyframes ad-toast { from { opacity: 0; transform: translate(-50%, 12px); } }
  .ad-menu-list { animation: ad-rise .18s var(--ease) both; }
}
/* a phone: the header keeps to one line (no keyboard, so no shortcuts button) */
@media (max-width: 600px) {
  .top:has(.ad-tools) .brand small { display: none; }
  .ad-tools { gap: 0; } .ad-icon { width: 40px; } #t-keys { display: none; }
}
/* goseq.app/account (account.html) uses the console's sign-in card */
.acc-age { margin-top: 14px; }
.ad-gate .fineprint { margin: 12px 0 0; }
.ad-gate .fineprint a { color: var(--accent); font-weight: 600; }
/* ---------- goseq.app/account: your account, once signed in ---------- */
.linkbtn.inline { min-height: 0; padding: 0; font-size: inherit; }
.acc { max-width: 720px; margin: 0 auto; padding-bottom: 48px; display: grid; gap: 14px; }
.acc-head { display: flex; align-items: center; gap: 16px; margin: 8px 0 4px; }
.acc-head h1 { margin: 0; font-size: clamp(26px, 5vw, 34px); letter-spacing: -.03em; overflow-wrap: anywhere; }
.acc-head p { margin: 2px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.acc-av { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--accent); color: var(--on-accent); font-size: 26px; font-weight: 800; }
.acc-av img { width: 100%; height: 100%; object-fit: cover; }
.acc-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); color: var(--text); font-weight: 600; }
.acc-note:empty { display: none; }
.acc-card { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.acc-card.danger { border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.acc-card h2 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.02em; }
.acc-sub { margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.acc-sub b { color: var(--text); overflow-wrap: anywhere; }
.acc-form { display: grid; gap: 6px; }
.acc-form + .acc-form { margin-top: 12px; }
.acc-form label { margin: 8px 0 0; }
.acc-form label:first-child { margin-top: 0; }
.acc-card .r, .acc-form .r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.acc-card .msg { margin: 6px 0 0; min-height: 0; }
.acc-card .msg:empty { display: none; }
.acc-photo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.acc-photo .acc-av { width: 52px; height: 52px; font-size: 21px; }
.acc-photo label.abtn { margin: 0; color: var(--text); font-size: 14.5px; }
.abtn.danger-fill { background: var(--bad); border-color: var(--bad); color: #fff; }
.acc-on { display: inline-block; margin-right: 6px; padding: 1px 9px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 800; }
.acc-on.off { background: var(--surface-2); color: var(--muted); }
.acc-codes { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.acc-codes p { margin: 0 0 8px; font-size: 14.5px; }
.acc-codes ol { display: grid; grid-template-columns: repeat(2, max-content); gap: 6px 28px; margin: 0; padding-left: 22px; font-size: 16px; }
.acc-codes code, .acc-key code { font: 700 15px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.acc-qr { width: 180px; padding: 10px; border-radius: 12px; background: #fff; }
.acc-qr svg { display: block; width: 100%; height: auto; }
.acc-key { margin: 6px 0 4px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.acc-steps { margin: 0 0 8px; padding-left: 20px; font-size: 15px; }
.acc-place { padding: 14px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.acc-place:first-child { border-top: 0; padding-top: 0; }
.acc-place-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.acc-place-h b { font-size: 16px; }
.acc-place label { display: grid; gap: 6px; margin: 4px 0 0; }
.acc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.acc-row input, .acc-row select { min-height: 46px; }
.acc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.acc-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.acc-list li:last-child { border-bottom: 0; }
.acc-foot { text-align: center; }
