
:root {
  --bg: #262624;
  --side: #1F1E1D;
  --card: #30302E;
  --card-2: #343432;
  --raise: #3D3C39;
  --line: #3B3A37;
  --line-2: #4E4D48;
  --text: #F3F1EA;
  --text-2: #B8B5AA;
  --text-3: #AAA79C;
  --green: #6CCB8E;
  --green-text: #6CCB8E;
  --red: #F2877A;
  --yellow: #E7C35F;
  --peri: #8E9BFF;
  --mint: #6EDDA6;
  --btn-bg: #F3F1EA;
  --btn-fg: #1F1E1D;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  
  --sw-bg: var(--bg);
  --sw-line: var(--line);
  --sw-on: var(--raise);
  --sw-lift: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.light,
.cust-light {
  --bg: #F4F0E6;
  --side: #ECE7DB;
  --card: #FCFAF4;
  --card-2: #F8F5EC;
  --raise: #E3DDCF;
  --line: #DED8CA;
  --line-2: #CBC4B3;
  --text: #211E19;
  --text-2: #504B41;
  --text-3: #655F53;
  --green: #2F9658;
  --green-text: #1D7044;
  --red: #B8392A;
  --yellow: #8F640A;
  --btn-bg: #211E19;
  --btn-fg: #FCFAF4;
  --sw-bg: var(--raise);
  --sw-line: transparent;
  --sw-on: var(--card);
  --sw-lift: 0 1px 2px rgba(40, 30, 10, 0.14);
}

:root { --ff: #E2A660; }
.light,
.cust-light { --ff: #A86A1E; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

@media (resolution < 2dppx) { html.light body { -webkit-font-smoothing: auto; } }
a { color: inherit; }
button { cursor: pointer; }
::placeholder { color: var(--text-3); opacity: 1; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 13px; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.grow { flex: 1 1 auto; }
svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }


.app { min-height: 100vh; display: flex; }
.side { flex: 0 0 248px; background: var(--side); border-right: 1px solid var(--line); padding: 16px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.brand { display: flex; align-items: center; gap: 9px; padding: 2px 10px 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.brand svg { width: 20px; height: 20px; }
.brand .tag { font-size: 12px; font-weight: 500; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 8px; letter-spacing: 0; }
.grp { font-size: 12.5px; color: var(--text-3); padding: 0 10px; margin: 12px 0 2px; }
.item { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px; border-radius: 8px; text-decoration: none; font-size: 14.5px; color: var(--text); }
.item svg { color: var(--text-2); }
.item:hover { background: var(--card); }
.item.on { background: var(--raise); }
.item .n { margin-left: auto; font-size: 12.5px; color: var(--text-2); }
.sub { margin: 2px 0 6px 17px; padding-left: 10px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.sub a { display: block; padding: 7px 10px; border-radius: 7px; color: var(--text-2); text-decoration: none; font-size: 13.5px; white-space: normal; min-width: 0; overflow-wrap: break-word; }
.sub a.on { background: var(--raise); color: var(--text); }
.me { display: flex; align-items: center; gap: 10px; }
.av { width: 30px; height: 30px; border-radius: 8px; background: var(--raise); color: var(--text); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; flex: none; }
.me .who { display: flex; flex-direction: column; line-height: 1.25; flex: 1 1 auto; min-width: 0; }
.me .who small { color: var(--text-3); font-size: 12.5px; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { color: var(--text); background: var(--card); }
.newc { margin: 0 2px 6px; justify-content: center; }

.main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }

body, .main { container: page / inline-size; }

@media (width <= 760px), (height <= 520px) {
  body:has(.main) { container-type: normal; }
  .td, .cl-dlg { container: page / inline-size; }
}
.top { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 26px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--text-2); font-size: 15px; }
.crumbs b { color: var(--text); font-weight: 600; }
.crumbs .sep { color: var(--text-3); }
.content { padding: 6px 26px 32px; display: flex; flex-direction: column; gap: 16px; }
.mbar { display: none; }
@media (width <= 760px) {
  .side { display: none; }
  .mbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--side); }
  .top { padding: 0 16px; min-height: 46px; }
  .content { padding: 4px 16px 24px; }
}


.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); min-height: 34px; }
.eyebrow .live { display: inline-flex; align-items: center; gap: 7px; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-3); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot.ok { background: var(--green); }
.dot.warn { background: var(--yellow); }
.dot.bad { background: var(--red); }
.dot.on { background: var(--text); }
.dot.idle { border: 1.5px solid var(--text-2); width: 9px; height: 9px; }
.dot.off { border: 1.5px dashed var(--text-3); width: 9px; height: 9px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.pad { padding: 16px 18px; }
.ttl { font-size: 15px; font-weight: 600; }
.lead { margin: 0; font-size: 14.5px; line-height: 1.6; max-width: 112ch; text-wrap: pretty; }
.btn { font: inherit; font-size: 13.5px; font-weight: 600; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); border: 0; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--text); padding: 0 8px; font-weight: 500; }
.btn.ghost svg { color: var(--text-2); }
.btn.line { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn.danger { background: transparent; color: var(--red); border: 1px solid var(--line-2); }
.link { color: var(--text-2); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; min-height: 34px; }
.link:hover { color: var(--text); }
.seg { display: inline-flex; background: var(--sw-bg); border: 1px solid var(--sw-line); border-radius: 10px; padding: 3px; gap: 2px; }
.seg > * { font: inherit; font-size: 14px; color: var(--text-2); background: transparent; border: 0; border-radius: 7px; min-height: 30px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-decoration: none; }
.seg > .on { background: var(--sw-on); color: var(--text); font-weight: 600; box-shadow: var(--sw-lift); }
.seg > .dis { color: var(--text-3); text-decoration: line-through; cursor: not-allowed; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field { font: inherit; font-size: 14px; background: var(--side); border: 1px solid var(--line-2); border-radius: 9px; min-height: 36px; padding: 0 12px; color: var(--text); }
.light .field, .cust-light .field { background: var(--card); }
.field:focus { outline: 2px solid var(--line-2); outline-offset: 1px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 1px 9px; border-radius: 999px; background: var(--raise); color: var(--text-2); white-space: nowrap; }
.pill.ok { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green-text); font-weight: 700; letter-spacing: 0.07em; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.stat { display: flex; flex-direction: column; gap: 0; }
.stat .n { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.stat .l { font-size: 13px; color: var(--text-2); }
.bar { height: 5px; background: var(--raise); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.under-red { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.trace { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; line-height: 1.55; }
.trace li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
.trace li .dot { margin-top: 7px; }
.trace li.dim { color: var(--text-2); }


.thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.msg { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.msg .who { display: flex; align-items: baseline; gap: 8px; font-weight: 600; font-size: 14px; }
.msg .who time { color: var(--text-3); font-weight: 400; font-size: 12.5px; }
.msg .body { font-size: 15px; line-height: 1.62; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.msg .body p { margin: 0; }
.msg .av.bot { background: transparent; border: 1px solid var(--line-2); }
.msg .av.bot svg { width: 16px; height: 16px; }
.meta { color: var(--text-3); font-size: 12.5px; }
.code { background: var(--side); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.light .code, .cust-light .code { background: var(--card-2); }
.code .h { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 2px 12px; border-bottom: 1px solid var(--line); color: var(--text-3); font-size: 12px; }
.code pre { margin: 0; padding: 10px 12px; font: 13px/1.55 var(--mono); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.cmd { font: 13px var(--mono); background: var(--raise); border-radius: 6px; padding: 2px 7px; }
.rcard .h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.rcard .row { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-top: 1px solid var(--line); text-decoration: none; }
.rcard .row:first-of-type { border-top: 0; }
.composer { position: relative; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); }
.composer textarea { display: block; width: 100%; font: inherit; font-size: 15px; background: transparent; color: var(--text); border: 0; resize: none; padding: 14px 16px 6px; }
.composer textarea:focus { outline: none; }
.composer .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 8px 8px 12px; }
.chip { font: 12.5px var(--mono); color: var(--text-2); background: transparent; border: 1px solid var(--line); border-radius: 7px; min-height: 28px; padding: 0 8px; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.frame canvas { width: 100%; aspect-ratio: 1; display: block; image-rendering: pixelated; border-radius: 8px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
@container page (width <= 1180px) { .split { grid-template-columns: minmax(0, 1fr); } }

.split.solo { grid-template-columns: minmax(0, 860px); justify-content: center; }


.graph { min-width: 900px; display: grid; grid-template-columns: 170px 56px 176px minmax(70px, 1fr) minmax(330px, 1.5fr); align-items: center; padding: 8px 0; }
.node { border: 1px solid var(--line-2); border-radius: 12px; background: var(--card-2); padding: 14px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.node.hub { border: 1.5px solid var(--text); }
.node svg { width: 24px; height: 24px; }
.node b { font-size: 15px; }
.tool { height: 60px; border: 1px solid var(--line); border-radius: 10px; background: var(--card-2); padding: 0 14px; display: flex; flex-direction: column; justify-content: center; gap: 1px; }
.tool.on { border: 1.5px solid var(--text); }
.tool .r1 { display: flex; align-items: center; gap: 10px; }
.tool .r1 b { font-size: 15px; font-weight: 600; }
.tool .r2 { color: var(--text-2); font-size: 13.5px; padding-left: 19px; }


.av.inv { background: transparent; border: 1.5px dashed var(--line-2); color: var(--text-2); }
.confirm { border: 1px solid color-mix(in srgb, var(--red) 45%, transparent); background: color-mix(in srgb, var(--red) 7%, transparent); border-radius: 10px; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 16px 14px 64px; }


.chart { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; height: 260px; }
.col { flex: 1 1 0; display: flex; flex-direction: column-reverse; gap: 2px; position: relative; height: 100%; justify-content: flex-start; }
.col i { display: block; border-radius: 3px; }
.col span { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.legend { display: flex; flex-direction: column; gap: 14px; }
.legend .row { display: flex; flex-direction: column; gap: 6px; }
.legend .row .t { display: flex; align-items: center; gap: 8px; }
.sw { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.side { min-width: 0; width: 248px; overflow: hidden; }
@media (width <= 760px) { .crumbs > span, .crumbs .sep { display: none; } }


html, body { min-height: 100%; }

button:disabled { cursor: not-allowed; color: var(--text-3); }
.btn:disabled, .btn:disabled:hover { background: var(--card-2); border: 1px solid var(--line); color: var(--text-2); box-shadow: none; }
:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; }
.btn.sm { min-height: 30px; font-size: 13px; padding: 0 10px; }
.err { color: var(--red); }
.ok-text { color: var(--green-text); }
.center-msg { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--text-2); text-align: center; padding: 24px; }
.banner { display: flex; align-items: center; gap: 10px; padding: 8px 26px; font-size: 13.5px; background: var(--card); border-bottom: 1px solid var(--line); color: var(--text-2); }
.banner.bad { color: var(--red); }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--btn-bg); color: var(--btn-fg); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 600; z-index: 60; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); top: auto; right: auto; margin: 0; border: 0; overflow: visible; }

.toast-say { pointer-events: none; }
.item .t { white-space: normal; min-width: 0; flex: 1 1 auto; overflow-wrap: break-word; }
.sub a { cursor: pointer; }
.empty-chat { padding: 40px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.empty-chat h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.caret { display: inline-block; width: 7px; height: 15px; background: var(--text-2); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
.msg .body ul, .msg .body ol { margin: 0; padding-left: 1.3em; }
.msg .body code.inl { font: 13px var(--mono); background: var(--raise); border-radius: 5px; padding: 1px 5px; }
.drawer-back { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 40; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); z-index: 41; display: flex !important; overflow-y: auto; }


.sheet { width: 100%; max-width: 980px; background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); overflow: hidden; }
.cust-light .sheet { box-shadow: 0 24px 60px rgba(20, 20, 30, 0.12); }
@container page (width <= 960px) { .stage { padding: 22px 16px 18px; } }


.stage { --dots: rgba(255, 255, 255, 0.055); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 30px 26px 26px; border-radius: 14px; border: 1px solid var(--line); background: var(--side); }
.cust-light .stage { --dots: rgba(20, 20, 30, 0.08); background: var(--side); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(var(--dots) 1px, transparent 1.3px) 0 0 / 16px 16px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 42%, #000 25%, transparent 100%); mask-image: radial-gradient(75% 65% at 50% 42%, #000 25%, transparent 100%); }
.stage .health { background: var(--card); }
.cust-light .stage .health { background: var(--card); }


.ring { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ring svg { width: 62px; height: 62px; }
.ring .lbl { font: 600 10.5px/1 var(--mono); letter-spacing: 0.12em; color: var(--text-2); }

.health { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--card-2); }
.health .h { display: flex; align-items: center; gap: 10px; }
.health .h .lbl { font: 600 11.5px/1 var(--mono); letter-spacing: 0.12em; color: var(--text-2); }
.strip { display: flex; align-items: flex-end; gap: 2px; height: 26px; }
.strip i { flex: 1 1 0; border-radius: 1.5px; background: var(--green); display: block; min-height: 3px; }
.strip i.bad { background: var(--red); }
.strip i.none { background: var(--line); }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label > span, .form .lab { font-size: 13px; color: var(--text-2); }
.form .field { min-height: 40px; width: 100%; }
.check { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--green); }
.note { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.note svg { margin-top: 2px; color: var(--text-3); }
.rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.rules li { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.rules li.met { color: var(--text); }



.top { flex-wrap: wrap; }
@media (width <= 640px) {
  .sheet { border-radius: 14px; }
  
}
@container page (width <= 640px) {
  .stage { display: contents; }
  .stage::before { display: none; }
  .stage .health { background: var(--card-2); }
  .ring svg { width: 52px; height: 52px; }
  .eyebrow label .field { width: 100% !important; }
  .eyebrow label { flex: 1 1 100%; }
  .chart { height: 220px; grid-template-columns: 34px minmax(0, 1fr); }
  .msg { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
  .msg .av { width: 26px; height: 26px; }
}
.composer .foot > button[type="submit"] { margin-left: auto; }
.composer .chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.link.crumb { font-size: 15px; min-height: 0; }


.u-wrap { padding: 22px 26px 40px; }
.u-panel { background: var(--side); border: 1px solid var(--line); border-radius: 22px; padding: 30px 32px 34px; display: flex; flex-direction: column; gap: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.u-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 24px; }
.u-head h1 { margin: 0 0 6px; font-size: 32px; font-weight: 500; letter-spacing: -0.02em; }
.u-head p { margin: 0; font-size: 16px; color: var(--text-2); max-width: 78ch; text-wrap: pretty; }
.u-tabs { margin-left: auto; }
.u-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 34px 40px; align-items: start; }
@container page (width <= 1180px) { .u-grid { grid-template-columns: minmax(0, 1fr); } }
.u-sec h2 { margin: 0 0 4px; font-size: 16.5px; font-weight: 500; }
.u-sec .u-sub { margin: 0 0 14px; font-size: 13.5px; color: var(--text-3); }
.u-box { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.weeks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.big { padding: 6px 18px 12px; }
.big .row { padding: 12px 0 2px; display: flex; flex-direction: column; gap: 8px; }
.big .head { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.big .head .pct { margin-left: auto; color: var(--text); font-variant-numeric: tabular-nums; }
.big .tag { white-space: nowrap; flex: none; font-size: 11.5px; color: var(--text-3); background: var(--card-2); border-radius: 6px; padding: 1px 7px; }
.big .bar { height: 5px; background: var(--card-2); }
.big .bar i { background: var(--text-2); }
.big .head > span:first-child { flex: 1 1 auto; min-width: 0; white-space: normal; overflow-wrap: break-word; }

@container page (width <= 640px) { .u-wrap { padding: 12px 12px 28px; } .u-panel { padding: 20px 16px 22px; border-radius: 16px; gap: 20px; } .u-head h1 { font-size: 26px; } .u-head p { font-size: 14.5px; } .u-tabs { margin-left: 0; } .weeks { gap: 4px; } }



html { text-size-adjust: 100%; color-scheme: dark; }

html.cust-light { color-scheme: light; }
.app { min-height: 100vh; min-height: 100dvh; }
.center-msg { min-height: 60vh; min-height: 60dvh; }
.side { padding-left: max(12px, env(safe-area-inset-left)); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.main { padding-right: env(safe-area-inset-right); }
.drawer { padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: max(12px, env(safe-area-inset-bottom)); padding-left: max(12px, env(safe-area-inset-left)); overscroll-behavior: contain; }
.toast { bottom: calc(22px + env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); }

@media (width <= 760px) {
  body:has(.composer-dock) .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
  html.kb-up .toast { top: calc(var(--kb-top, 0px) + 64px); bottom: auto; }
}

.side:not(.drawer) { position: sticky; top: 0; align-self: flex-start; height: 100vh; height: 100dvh; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
@media (width <= 760px) {
  .mbar { position: sticky; top: 0; z-index: 30; padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left)); }
  .main { padding-right: 0; }
  .top, .content, .banner { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .content { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .u-wrap { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  
  .seg { max-width: 100%; flex-wrap: wrap; }
  .seg::-webkit-scrollbar { display: none; }
  .seg > * { flex: none; }
  .composer .chips { flex: 1 1 0; flex-wrap: wrap; padding-right: 18px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent); }
  .composer .chips::-webkit-scrollbar { display: none; }
  .composer .chip { flex: none; }
  .confirm { margin: 0 12px 12px; }
}

@media (width <= 760px), (pointer: coarse), (height <= 520px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select, .field, .composer textarea { font-size: 16px; }
  .field, .form .field { min-height: 44px; }
  .icon-btn { width: 44px; height: 44px; }
  .btn, .btn.sm { min-height: 44px; }
  .chip { min-height: 44px; padding: 0 12px; }
  .seg > * { min-height: 44px; }
  .item { min-height: 44px; }
  .sub a { padding-top: 12px; padding-bottom: 12px; }
  .link, .link.crumb, .crumbs a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
  .composer .foot > button[type="submit"] { min-width: 44px; justify-content: center; }
  .check { min-height: 44px; }
  .check input { width: 20px; height: 20px; }
}


html { background: var(--bg); }


.composer.cx .foot.cx-tfoot { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 8px 8px; flex-wrap: nowrap; }
.composer.cx .foot.cx-tfoot > .grow { flex: 1 1 0; min-width: 0; }
.composer.cx .foot.cx-tfoot > .cx-more-b { width: 36px; height: 36px; min-height: 0; flex: none; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--text-2); cursor: pointer; }
.composer.cx .foot.cx-tfoot > .cx-more-b:hover, .composer.cx .foot.cx-tfoot > .cx-more-b.on { background: var(--raise); color: var(--text); }
.composer.cx .foot.cx-tfoot > .cx-more-b svg { width: 18px; height: 18px; transition: transform 0.15s; }
.composer.cx .foot.cx-tfoot > .cx-more-b.on svg { transform: rotate(45deg); }
.composer.cx .foot.cx-tfoot > .cx-send { width: 36px; height: 36px; min-width: 0; margin: 0; border-radius: 50%; }

.composer.cx .foot.cx-tfoot > .cx-send:disabled { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-3); opacity: 1; }
.composer.cx .foot.cx-tfoot > .cx-pol { flex: none; min-height: 0; border-radius: 999px; }


.cx-sw { display: inline-flex; flex: 0 1 auto; min-width: 0; gap: 2px; padding: 2px; border: 1px solid var(--sw-line, var(--line-2)); border-radius: 999px; background: var(--sw-bg, var(--bg)); }
.cx-sw button { display: inline-flex; align-items: center; gap: 6px; min-width: 0; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }
.cx-sw button.on { background: var(--sw-on, var(--raise)); color: var(--text); box-shadow: var(--sw-lift, none); cursor: default; }
.cx-sw button:not(.on):hover { color: var(--text); }
.cx-sw button:focus-visible { outline: 2px solid var(--text-2); outline-offset: 1px; }
.cx-sw button svg { flex: none; }
.cx-sw .dot { flex: none; }

@container cx (max-width: 400px) { .cx-sw button { padding: 0 8px; gap: 4px; } .cx-sw button > svg { display: none; } }
@media (pointer: coarse) { .cx-sw button { height: 34px; } .composer.cx .foot.cx-tfoot > :is(.cx-more-b, .cx-send) { width: 40px; height: 40px; } .composer.cx .foot.cx-tfoot > .cx-pol { height: 40px; } }


.cx-more { display: flex; flex-direction: column; margin: 6px 8px 2px; padding: 4px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.cx-mrows { display: flex; flex-direction: column; }
.cx-mrow, .cx-mstop { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px 8px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.cx-mrow:hover, .cx-mstop:hover { background: var(--raise); }
.cx-mrow:disabled { color: var(--text-3); cursor: default; }
.cx-mic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--raise); color: var(--text); }
.cx-mrow kbd, .cx-mstop kbd { margin-left: auto; padding: 1px 6px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--text-3); font: 12px var(--mono); }
.cx-more > .dk-where { margin: 2px 0; }
.cx-mpick { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 2px 4px 2px 8px; border-top: 1px solid var(--line); }
.cx-more > .cx-mpick:first-child { border-top: 0; }
.cx-mlab { flex: 1 1 auto; min-width: 0; color: var(--text-2); font-size: 14px; }
.cx-mpick > :not(.cx-mlab) { flex: none; margin: 0; }
.cx-mstop { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.cx-mstop svg { width: 16px; height: 16px; margin: 0 7px; }


html.kb-up .composer.cx.cx-busy .foot.cx-tfoot > .cx-sw { display: none; }


@media (width <= 760px) {
  .content.hm .composer.cx:has(> .cx-tfoot) { isolation: isolate; }
  .content.hm .composer.cx:has(> .cx-tfoot)::before { inset: 0; z-index: -1; }
  .content.hm .composer.cx .foot.cx-tfoot { display: flex; padding: 4px 8px 8px; }
  .content.hm .composer.cx .foot.cx-tfoot > .grow { display: block; }
  
  .content.hm .composer.cx:has(> .cx-tfoot), .content.hm .composer.cx:has(> .cx-tfoot):focus-within { border-color: transparent; }
}


.composer.cx .foot.cx-tfoot > .mk.hw { flex: 0 1 auto; min-width: 0; }

.composer.cx .foot.cx-tfoot:has(> .mk.hw) > .cx-sw { flex: none; }
.composer.cx .foot.cx-tfoot > .mk.hw .mk-btn { white-space: nowrap; }
@container cx (max-width: 440px) {
  .composer.cx .foot.cx-tfoot:has(> .mk.hw) .cx-sw button > svg { display: none; }
  .composer.cx .foot.cx-tfoot > .mk.hw .hw-chip canvas, .composer.cx .foot.cx-tfoot > .mk.hw .hw-chip > svg:first-child { display: none; }
}


.composer.cx .foot.cx-tfoot > .em { flex: 0 1 auto; min-width: 0; padding: 0 2px; }
@container cx (max-width: 440px) {
  .composer.cx .foot.cx-tfoot:has(> .em) .cx-sw button > svg { display: none; }
  .composer.cx .foot.cx-tfoot > .em .em-when, .composer.cx .foot.cx-tfoot:has(> .em) > .cx-pol > span { display: none; }
  
  .composer.cx .foot.cx-tfoot > .em.em-x:is(.em-x, .warn, .extra, .stop) .em-n { display: inline; }
}
@container cx (max-width: 345px) {
  .composer.cx .foot.cx-tfoot { gap: 6px; }
  .composer.cx .foot.cx-tfoot .cx-sw button { padding: 0 8px; }
  .composer.cx .foot.cx-tfoot > .em.em-x .em-btn { padding: 0 2px; }
}


.cx-wm { position: static; display: inline-flex; flex: 0 1 auto; min-width: 0; }
.content.hm .composer.cx > .foot.cx-tfoot { position: static; }
.cx-wmb { display: inline-flex; align-items: center; gap: 7px; height: 36px; min-width: 0; padding: 0 11px 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--text); font: inherit; font-size: 14.5px; white-space: nowrap; cursor: pointer; }
.cx-wmb:hover, .cx-wmb.on { background: var(--raise); }
.cx-wmb:focus-visible { outline: 2px solid var(--text-2); outline-offset: 1px; }
.cx-wmb > svg:last-child { color: var(--text-3); transition: transform 0.15s; }
.cx-wmb.on > svg:last-child { transform: rotate(180deg); }
.cx-wmb .dot { flex: none; }
.cx-wmn { min-width: 0; }
.cx-wmp { position: absolute; left: 8px; bottom: calc(100% + 8px); z-index: 20; width: min(292px, calc(100% - 16px)); max-height: min(72vh, 560px); overflow-y: auto; padding: 6px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45); animation: cx-wm-in 0.14s ease-out; }
.light .cx-wmp, .cust-light .cx-wmp { box-shadow: 0 12px 32px rgba(40, 30, 10, 0.16); }
@keyframes cx-wm-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .cx-wmp { animation: none; } }

html.kb-up .cx-wmp { max-height: max(160px, min(72vh, 560px, calc(var(--kb-vh, 100dvh) - 210px))); }
.cx-wms + .cx-wms { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }

.cx-wms + .cx-wmstop { position: relative; margin-top: 9px; }
.cx-wms + .cx-wmstop::before { content: ""; position: absolute; left: 0; right: 0; top: -5px; border-top: 1px solid var(--line); }
.cx-wmp h6 { margin: 6px 8px 2px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.cx-wmo { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; min-height: 46px; padding: 5px 8px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.cx-wmo:hover { background: var(--raise); }
.cx-wmo:focus-visible, .cx-wmt button:focus-visible, .cx-wmstop:focus-visible { outline: 2px solid var(--text-2); outline-offset: -2px; }
.cx-wmi { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--raise); color: var(--text); }
.cx-wmo.bolt .cx-wmi { color: var(--red); }
.cx-wmw b { display: block; font-size: 14.5px; font-weight: 560; line-height: 1.3; }
.cx-wmw small { display: block; font-size: 12px; line-height: 1.3; color: var(--text-3); }
.cx-wme { display: inline-flex; align-items: center; color: var(--text); }
.cx-wmr { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); }
.cx-wmt { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 4px 6px 0; }
.cx-wmt button { display: flex; align-items: center; justify-content: center; gap: 7px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--text-3); font: inherit; font-size: 14px; cursor: pointer; }
.cx-wmt button:hover { color: var(--text); }
.cx-wmt button.on { background: var(--raise); color: var(--text); font-weight: 560; }
.cx-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.cx-bars i { display: block; width: 3px; border-radius: 1px; background: currentColor; opacity: 0.3; }
.cx-bars i:nth-child(1) { height: 5px; }
.cx-bars i:nth-child(2) { height: 8px; }
.cx-bars i:nth-child(3) { height: 12px; }
.cx-bars[data-l="1"] i:nth-child(1), .cx-bars[data-l="2"] i:nth-child(-n + 2), .cx-bars[data-l="3"] i { opacity: 1; }
.cx-wml { margin: 5px 10px 6px; font-size: 12px; color: var(--text-3); }
.cx-wmstop { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.cx-wmstop:hover { background: var(--raise); }
@media (pointer: coarse) { .cx-wmb { height: 40px; } .cx-wmo { min-height: 48px; } .cx-wmt button { height: 40px; } }

@container cx (max-width: 340px) { .cx-wmb { gap: 5px; padding: 0 9px; } .cx-wmb > svg:first-child, .cx-wmb > .dot { display: none; } }

@container cx (max-width: 400px) { .cx-wmb:has(> .dot) > svg:first-child { display: none; } }
@container cx (max-width: 356px) { .composer.cx .foot.cx-tfoot:has(.cx-wmb > .dot) > .em.em-x .em-n { display: none; } }
@container cx (max-width: 300px) {
  .composer.cx .foot.cx-tfoot:has(> .cx-mc) > .em.em-x .em-n { display: none; }
  .cx-wmb { gap: 4px; padding: 0 7px; }
}


.cx-mc { position: static; display: inline-flex; flex: none; }
.cx-mcb { width: 36px; height: 36px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--text) 10%, transparent); color: var(--text); cursor: pointer; transition: background-color 0.12s; }
.cx-mcb:hover, .cx-mcb.on { background: color-mix(in srgb, var(--text) 18%, transparent); }
.cx-mcb:focus-visible { outline: 2px solid var(--text-2); outline-offset: 1px; }
.cx-mcb:disabled { color: var(--text-3); cursor: default; }

.cx-mcb.cx-mcw { width: auto; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px 0 8px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 560; white-space: nowrap; }
.cx-mcw-w { line-height: 1; }

html.pane .ec-page .composer.cx .cx-mcb.cx-mcw { width: auto; }

@media (width <= 400px) { .cx-mcw-w { display: none; } .cx-mcb.cx-mcw { padding: 0 8px; } }
.cx-dso .cx-wme { padding-right: 2px; }
svg.i.cx-face { width: 18px; height: 18px; }
.cx-wmi svg.i.cx-face { width: 16px; height: 16px; }
.cx-face .cx-ft, .cx-face .cx-fh { fill: currentColor; stroke: none; }
.cx-wmo.off { opacity: 0.55; }
.cx-wmt.cx-wme2 { margin-top: 2px; }

.cx-wmt.cx-wme4 { gap: 2px; }
.cx-wmt.cx-wme4 button { flex-direction: column; gap: 4px; height: 50px; padding: 0 2px; font-size: 13px; }
.cx-bars[data-l="4"] i { opacity: 1; }
.cx-bars[data-l="4"] i:nth-child(1) { height: 3px; }
.cx-bars[data-l="4"] i:nth-child(2) { height: 6px; }
.cx-bars[data-l="4"] i:nth-child(3) { height: 9px; }
.cx-bars[data-l="4"] i:nth-child(4) { height: 12px; }
.cx-wmp.cx-mcp { left: auto; right: 8px; width: min(264px, calc(100% - 16px)); }
@media (pointer: coarse) { .cx-wmt.cx-wme4 button { height: 52px; } }
@media (pointer: coarse) { .cx-mcb { width: 40px; height: 40px; } svg.i.cx-face { width: 20px; height: 20px; } .cx-wmi svg.i.cx-face { width: 16px; height: 16px; } }

@container cx (max-width: 305px) { .composer.cx .foot.cx-tfoot:has(> .cx-mc) { gap: 4px; } }

.cx-wmt.cx-wmx { margin-bottom: 4px; }


.composer-dock { position: sticky; bottom: 0; z-index: 4; display: flex; flex-direction: column; gap: 8px; margin-top: -6px; padding: 22px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to bottom, transparent, var(--bg) 22px); }
.composer-dock .err { margin: 0; }

.content.chat-page { flex: 1 1 auto; padding-bottom: 0; }
.chat-page > .split { flex: 1 1 auto; align-items: stretch; }
.chat-page > .split > :not(section) { align-self: start; }
.chat-page .composer-dock { margin-top: auto; }

@media (width > 760px) and (height > 520px) {
  :is(.main, .win-col):has(> .content.chat-page) > .top { position: sticky; top: 0; z-index: 5; flex-wrap: nowrap; background: var(--bg); }
  
  :is(.main, .win-col):has(> .content.chat-page) > .top > :not(.grow) { flex: none; }
  :is(.main, .win-col):has(> .content.chat-page) > .top > .crumbs { flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; }
  :is(.main, .win-col):has(> .content.chat-page) > .top > .crumbs > * { flex: none; }
  :is(.main, .win-col):has(> .content.chat-page) > .top > .crumbs > b { flex: 0 1 auto; min-width: 0; white-space: normal; overflow-wrap: break-word; }
}
@container page (width <= 760px) {
  .chat-page > .split { display: flex; flex-direction: column; }
  .chat-page section[aria-label="Conversation"] { flex: 1 1 auto; }
  
}

html.kb-up .mbar { top: var(--kb-top, 0px); }
html.kb-up .composer-dock { bottom: var(--kb-lift, 0px); margin-bottom: var(--kb-lift, 0px); padding-top: 10px; padding-bottom: 8px; background: linear-gradient(to bottom, transparent, var(--bg) 10px); }
html.kb-up .composer-dock > .em-plain { display: none; }

html.kb-up .chat-page .composer-dock { margin-top: -6px; }
html.kb-up .chat-sec > :first-child { margin-top: auto; }


.cx-qs { display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 0; }
.cx-qi { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 34px; padding: 4px 4px 4px 12px; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--card-2); font-size: 13px; color: var(--text-2); animation: cx-q-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes cx-q-in { from { opacity: 0; transform: translateY(4px); } }
.cx-qi b { flex: 1 1 auto; min-width: 0; white-space: normal; color: var(--text); font-weight: 500; overflow-wrap: break-word; }
.cx-ql { flex: none; color: var(--text-3); font-size: 12px; white-space: nowrap; }
.cx-qi .cx-ql:first-child { color: var(--text-2); font-weight: 600; }
.cx-qi button { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--text-3); cursor: pointer; }
.cx-qi button:hover { background: var(--raise); color: var(--text); }
.cx-qi .cx-qnow { width: auto; height: 26px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); font: inherit; font-size: 12px; font-weight: 600; white-space: nowrap; }
.composer .foot > .cx-queue { margin-left: 0; }
@container cx (max-width: 520px) { .cx-qi .cx-ql:nth-child(3) { display: none; } }
@media (pointer: coarse) { .cx-qi button { width: 40px; height: 40px; } .cx-qi .cx-qnow { width: auto; height: 32px; padding: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .cx-qi { animation: none; } }


:root { --acc: #B9CCE3; --acc-rgb: 185, 204, 227; --acc-text: #C6D6EA; }
.light, .cust-light { --acc: #3A5573; --acc-rgb: 58, 85, 115; --acc-text: #2F475F; }


html:has(.chat-sec) { overflow-anchor: none; }


.split.solo.chat-col { grid-template-columns: minmax(0, 780px); }
.chat-sec { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.chat-sec > .thread { gap: 24px; padding: 10px 0 26px; }


.msg.you, .msg.ans { display: flex; flex-direction: column; min-width: 0; }
.msg.you { align-items: flex-end; gap: 4px; }
.you-b { max-width: min(80%, 580px); padding: 10px 16px; border-radius: 20px 20px 6px 20px; background: var(--raise); font-size: 15.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.light .you-b, .cust-light .you-b { background: var(--raise); }
.you-b.is-cmd { padding: 8px 12px; background: transparent; border: 1px solid var(--line-2); }
.you-b.is-cmd .cmd { background: transparent; padding: 0; }

.you-act { display: flex; align-items: center; justify-content: flex-end; gap: 2px; min-height: 32px; margin-right: -6px; opacity: 0; transition: opacity 0.15s; }
.msg.you:hover .you-act, .msg.you:focus-within .you-act { opacity: 1; }
.you-act button { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--text-3); }
.you-act button:hover:not(:disabled) { background: var(--card); color: var(--text); }
.you-act button:disabled { color: var(--text-3); cursor: default; }
.you-act button svg { width: 15px; height: 15px; }
.you-act button:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 2px; }
.you-t { font-size: 12px; color: var(--text-3); padding-right: 6px; }
@media (hover: none) {
  .you-act { display: none; opacity: 1; }
  .thread > .msg.you:not(:has(~ .msg.you)) .you-act, .msg.you.acts .you-act { display: flex; }
  .you-act button { width: 44px; height: 44px; }
}

.msg.you.editing { align-items: stretch; }
.you-edit { align-self: flex-end; width: min(100%, 580px); display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--raise); }
.you-edit-t { width: 100%; min-height: 26px; max-height: 320px; resize: none; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 15.5px; line-height: 1.55; }
.you-edit-b { display: flex; align-items: center; gap: 6px; }
.you-edit-b .faint { flex: 1 1 auto; min-width: 0; font-size: 12.5px; }
.light .you-edit, .cust-light .you-edit { background: var(--raise); }
.you-who { font-size: 12.5px; color: var(--text-2); font-weight: 600; padding-right: 6px; }
.you-who time { color: var(--text-3); font-weight: 400; margin-left: 4px; }
.msg.you .att-list { justify-content: flex-end; margin-top: 2px; }


.msg.ans { gap: 8px; }
.ans-h { display: flex; align-items: center; gap: 9px; min-height: 26px; font-size: 13px; color: var(--text-3); }
.ans-h b { color: var(--text); font-weight: 600; font-size: 13.5px; }
.ans-mk { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 7px; background: var(--raise); color: var(--text); }
.ans-mk svg { width: 15px; height: 15px; }
.ans-wr { color: var(--green-text); font-size: 12.5px; }
.ans-act { display: flex; align-items: center; gap: 2px; min-width: 0; margin: -4px 0 0 -9px; }
.ans-act button { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 32px; padding: 0 9px; border: 0; border-radius: 8px; background: transparent; color: var(--text-3); font: inherit; font-size: 12.5px; }
.ans-act button:hover { background: var(--card); color: var(--text); }

.msg.ans > .ans-act:not(.ans-act-hold) { opacity: 0; transition: opacity 0.18s ease; }
.msg.ans:hover > .ans-act, .msg.ans:focus-within > .ans-act, .thread > .msg.ans:last-child > .ans-act { opacity: 1; }
@media (hover: none) { .msg.ans > .ans-act:not(.ans-act-hold) { opacity: 1; } }
.ans-act button.ic { width: 32px; padding: 0; justify-content: center; }

.ans-fail { display: flex; gap: 10px; align-items: flex-start; max-width: 640px; padding: 11px 14px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--text-2); font-size: 14px; line-height: 1.55; }
.ans-fail > svg { flex: none; margin-top: 3px; color: var(--yellow); }
.ans-fail b { color: var(--text); font-weight: 600; }
.ans-fail-b { display: flex; gap: 6px; margin-top: 8px; }
.ans-fail-why { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--card-2); color: var(--text-3); font: 12px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
@container page (width <= 640px) { .ans-fail { padding: 10px 12px; font-size: 13.5px; } }
.ans-act .meta { min-width: 0; margin-left: 8px; white-space: normal; overflow-wrap: break-word; }
.ans-act button:first-child + .meta, .ans-act .meta:first-child { margin-left: 9px; }

@media (hover: hover) {
  .msg.ans .ans-act { opacity: 0; transition: opacity 0.15s; }
  .msg.ans:hover .ans-act, .msg.ans:last-child .ans-act, .ans-act:focus-within { opacity: 1; }
}
.msg.ans > .card, .msg.ans > .err { margin: 0; }
.think { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14.5px; }
.think-t { background: linear-gradient(90deg, var(--text-3) 0%, var(--text) 50%, var(--text-3) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: cx-shimmer 1.6s linear infinite; }
@keyframes cx-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.think-d { display: inline-flex; gap: 3px; }
.think-d i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); animation: cx-bob 1s ease-in-out infinite; }
.think-d i:nth-child(2) { animation-delay: 0.15s; }
.think-d i:nth-child(3) { animation-delay: 0.3s; }
@keyframes cx-bob { 50% { transform: translateY(-3px); background: var(--text-2); } }


.md { font-size: 15.5px; line-height: 1.68; color: var(--text); overflow-wrap: anywhere; min-width: 0; }
.md > * { margin: 0; }
.md > * + * { margin-top: 14px; }
.md > .md-tw, .md > .md-quote, .md > .code, .md > .md-tw + *, .md > .md-quote + *, .md > .code + * { margin-top: 18px; }
.md p { margin: 0; }

.md > * + p { margin-top: 14px; }
.md b { font-weight: 650; }
.md > .md-h { margin: 26px 0 4px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.35; }
.md > .md-h:first-child { margin-top: 0; }
.md-h1 { font-size: 21px; }
.md-h2 { font-size: 18.5px; }
.md-h3 { font-size: 16.5px; }
.md-h4, .md-h5, .md-h6 { font-size: 15.5px; }
.md-list { margin: 0; padding-left: 24px; }
.md-list > li { margin: 5px 0; padding-left: 2px; }
.md-list > li::marker { color: var(--text-3); }
ol.md-list > li::marker { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text-2); }
.md-list .md-list { margin: 4px 0 8px; }
ul.md-list { list-style: none; padding-left: 20px; }
ul.md-list > li { position: relative; }
ul.md-list.d0 > li::before, ul.md-list.d1 > li::before { content: ""; position: absolute; left: -14px; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }
ul.md-list.d2 { border-left: 1px solid var(--line-2); margin-left: -8px; padding-left: 22px; }
ul.md-list.d2 > li::before { content: ""; position: absolute; left: -16px; top: 0.8em; width: 7px; height: 1px; background: var(--line-2); }

.md > ol.md-list { padding-left: 28px; }
.md > ol.md-list > li.md-titled { margin-top: 22px; }
.md > ol.md-list > li.md-titled:first-child { margin-top: 6px; }
.md > ol.md-list > li.md-titled::marker { color: var(--acc-text); font-size: 16px; }
.md > ol.md-list > li.md-titled > .md-t { display: block; font-size: 16.5px; margin-bottom: 2px; }
.md > ol.md-list > li.md-titled > .md-t code.inl { font-size: 14px; }
.md code.inl { font: 0.85em/1 var(--mono); background: var(--raise); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; overflow-wrap: anywhere; }
.md b code.inl, .md .md-h code.inl { color: var(--acc-text); background: rgba(var(--acc-rgb), 0.1); border-color: rgba(var(--acc-rgb), 0.28); }
.md-a { color: var(--acc-text); text-decoration: underline; text-decoration-color: rgba(var(--acc-rgb), 0.45); text-underline-offset: 3px; }
.md-a:hover { text-decoration-color: currentColor; }
.md > .md-hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.md-quote { margin: 0; padding: 10px 14px; border-left: 3px solid rgba(var(--acc-rgb), 0.6); background: rgba(var(--acc-rgb), 0.06); border-radius: 0 10px 10px 0; color: var(--text-2); }
.md-quote > * + * { margin-top: 8px; }
.md-tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); -webkit-overflow-scrolling: touch; }
.md-table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.45; }
.md-table th { font: 600 11px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); text-align: left; padding: 10px 14px; background: var(--card-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.md-table td { padding: 9px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.md-table code.inl { white-space: nowrap; overflow-wrap: normal; }

.md-table:has(th:nth-child(5)) td { min-width: 6.5em; }
.md-table tr:first-child td { border-top: 0; }
.md-table tbody tr:hover td { background: var(--card-2); }
.md .code .h { min-height: 30px; padding-top: 0; padding-bottom: 0; }
.md .code.open pre { min-height: 42px; }

.md .code pre { max-height: min(60vh, 640px); max-height: min(60dvh, 640px); overflow: auto; }


.md > .fcard, .md > .fcard + * { margin-top: 18px; }
.md > .fcard:first-child { margin-top: 0; }
.fcard { border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.fc-h { display: flex; align-items: center; gap: 2px; min-width: 0; padding: 6px 8px 6px 6px; }
.fc-main { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 8px 4px 6px; border: 0; border-radius: 9px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fc-main:hover:not(:disabled) { background: var(--card-2); }
.fc-main:disabled { cursor: default; }
.fc-ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--raise); color: var(--text-2); }
.fc-ic svg { width: 18px; height: 18px; }
.fc-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fc-name { font-weight: 600; font-size: 14.5px; white-space: normal; min-width: 0; overflow-wrap: break-word; }
.fc-sub { font: 12px/1.3 var(--mono); color: var(--text-3); white-space: nowrap; }
.fcard.busy .fc-sub { color: var(--text-2); }
.fc-tog { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding-left: 8px; font-size: 12.5px; color: var(--text-3); }
.fc-main:hover .fc-tog { color: var(--text); }
.fc-tog svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform 0.15s; }
.fcard.on .fc-tog svg { transform: rotate(-90deg); }
.fc-act { flex: none; display: flex; gap: 2px; }
.fc-act button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 9px; border: 0; border-radius: 8px; background: transparent; color: var(--text-3); font: inherit; font-size: 12.5px; }
.fc-act button:hover { background: var(--raise); color: var(--text); }
.fc-act button svg { width: 15px; height: 15px; }
.fc-main:focus-visible, .fc-act button:focus-visible, .fc-body:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: -2px; }
.fc-body { margin: 0; max-height: min(60vh, 640px); max-height: min(60dvh, 640px); overflow: auto; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--side); font: 13px/1.55 var(--mono); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.light .fc-body, .cust-light .fc-body { background: var(--card-2); }
@container page (width <= 640px) {
  .fc-act button span, .fc-tog span { display: none; }
  .fc-act button { width: 40px; padding: 0; justify-content: center; }
  .fc-ic { width: 34px; height: 34px; }
  .fc-main { gap: 10px; }
}
@container page (width <= 400px) { .fc-ic { display: none; } }
@media (width <= 760px), (pointer: coarse), (height <= 520px) {
  .fc-act button { min-height: 44px; min-width: 44px; }
  .you-edit-t { font-size: 16px; }
}
.md-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -0.16em; border-radius: 1px; background: var(--acc); animation: cx-blink 1s steps(2, jump-none) infinite; }
@keyframes cx-blink { 50% { opacity: 0; } }
.md-pending { height: 40px; border: 1px dashed var(--line-2); border-radius: 12px; }


.composer-dock > .cx-jump { position: absolute; left: 50%; top: -30px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--text); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity 0.15s, transform 0.15s; }
.composer-dock > .cx-jump.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

.composer-dock > .cx-jump::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; }

.composer-dock > .cx-jump.say { width: auto; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px 0 11px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; }
.composer-dock > .cx-jump.say::after { border-radius: 999px; }
.cx-pulse { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(91, 208, 138, 0.5); animation: cx-pulse 1.4s ease-out infinite; }
@keyframes cx-pulse { 70% { box-shadow: 0 0 0 7px rgba(91, 208, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 208, 138, 0); } }
.composer.cx { position: relative; border-radius: 26px; border-color: var(--line-2); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16); transition: border-color 0.15s, box-shadow 0.15s; }
.light .composer.cx, .cust-light .composer.cx { box-shadow: 0 6px 22px rgba(20, 24, 40, 0.07); }
.composer.cx:focus-within { border-color: var(--text-3); }
.composer.cx textarea { min-height: 54px; max-height: 40vh; font-size: 15.5px; line-height: 1.5; padding: 15px 18px 4px; overflow-y: auto; }
.composer.cx .foot { gap: 4px; padding: 4px 8px 8px; flex-wrap: nowrap; }
.cx-send { width: 38px; height: 38px; flex: none; display: grid; place-items: center; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); transition: background 0.15s, transform 0.1s; }
.cx-send:active { transform: scale(0.94); }
.cx-send:disabled { background: var(--raise); color: var(--text-2); cursor: default; }
.cx-send:focus-visible, .ans-act button:focus-visible, .hp:focus-visible, .cx-jump:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 2px; }
.cx-pal { position: absolute; left: 6px; right: 6px; bottom: calc(100% + 8px); z-index: 20; display: flex; flex-direction: column; max-height: var(--pal-max, 420px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38); }
.light .cx-pal, .cust-light .cx-pal { box-shadow: 0 18px 50px rgba(20, 24, 40, 0.16); }

.composer.cx-pal-low .cx-pal { top: var(--pal-top, 0px); bottom: auto; }
.cx-pal-h { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px 8px; font-size: 12px; color: var(--text-2); font-weight: 600; }
.cx-pal-h .faint { font-weight: 400; }
.cx-pi { display: grid; grid-template-columns: 18px 82px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 9px; background: transparent; color: var(--text); font: inherit; text-align: left; }
.cx-pi svg { color: var(--text-2); }
.cx-pi.on, .cx-pi:hover { background: var(--raise); }
.cx-pc { font: 13px var(--mono); }
.cx-pd { color: var(--text-2); font-size: 13.5px; white-space: normal; min-width: 0; overflow-wrap: break-word; }
.cx-none { margin: 4px 10px 8px; font-size: 13px; }

.composer-dock > .em-plain { justify-content: center; font: 12px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; }
.em-plain .em-pct { color: var(--text-2); }


.hp-row { display: inline-flex; align-items: center; gap: 6px; }
.pop-w { position: relative; display: inline-flex; }
.hp { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text-2); font: inherit; font-size: 12.5px; white-space: nowrap; }
.hp:hover, .hp[aria-expanded="true"] { color: var(--text); border-color: var(--line-2); background: var(--card); }
.hp-more { width: 30px; padding: 0; }
.pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42); }
.light .pop, .cust-light .pop { box-shadow: 0 18px 50px rgba(20, 24, 40, 0.16); }
.pop-about { width: 340px; max-width: calc(100vw - 24px); max-height: min(70vh, 640px); overflow: auto; padding: 8px; }
.pop-stack { display: flex; flex-direction: column; gap: 8px; }
.pop-menu { width: 190px; padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.pop-menu button { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; text-align: left; }
.pop-menu button svg { color: var(--text-2); }
.pop-menu button:hover { background: var(--raise); }
.pop-menu .danger, .pop-menu .danger svg { color: var(--red); }
.hp-rename { display: flex; gap: 6px; }
.hp-rename .field { width: 280px; max-width: 50vw; }

@media (prefers-reduced-motion: reduce) {
  .md-caret, .cx-pulse, .think-t, .think-d i { animation: none; }
  .think-t { color: var(--text-2); }
  .composer-dock > .cx-jump { transition: none; }
}
@media (width <= 760px) {
  .pop.pop-about { position: fixed; top: 64px; left: 12px; right: 12px; width: auto; max-width: none; max-height: calc(100vh - 88px); max-height: calc(100dvh - 88px); }
}
@container page (width <= 760px) {
  .chat-sec > .thread { gap: 20px; padding-top: 6px; }
  .you-b { max-width: 88%; font-size: 16px; }
  .you-t { display: none; }
  .md { font-size: 16px; }
  .md-table { font-size: 13.5px; }
  .md-table th, .md-table td { padding: 8px 12px; }
  .composer.cx textarea { min-height: 52px; padding: 14px 16px 2px; }
  .cx-send { width: 44px; height: 44px; }
  .cx-pi { grid-template-columns: 18px minmax(0, 1fr); min-height: 52px; padding: 6px 10px; row-gap: 0; }
  .cx-pi svg { grid-row: 1 / span 2; }
  .cx-pi .cx-pc { grid-column: 2; grid-row: 1; }
  .cx-pi .cx-pd { grid-column: 2; font-size: 12.5px; }
  .cx-pal-h .faint { display: none; }
  .hp-t { display: none; }
  .chat-top { flex-wrap: nowrap; }
  .chat-top .crumbs { min-width: 0; flex-wrap: nowrap; }
  .chat-top .crumbs b { display: none; }
  .hp-rename .field { width: auto; flex: 1 1 auto; min-width: 0; }
}

@media (width <= 760px), (pointer: coarse), (height <= 520px) {
  .composer.cx textarea { font-size: 16px; }
  .ans-act button { min-height: 44px; }
  .hp { min-height: 40px; min-width: 40px; }
  .hp-more { width: 40px; }
}


.ans-work { display: flex; flex-direction: column; gap: 6px; margin: -2px 0 -2px; min-width: 0; }
.ans-work-h { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 32px; padding: 0 10px 0 8px; margin-left: -8px; border: 0; border-radius: 8px; background: transparent; color: var(--text-3); font: inherit; font-size: 13px; text-align: left; }
.ans-work-h span { min-width: 0; white-space: normal; overflow-wrap: break-word; }
.ans-work-h:hover { background: var(--card); color: var(--text-2); }
.ans-work-h svg { width: 14px; height: 14px; flex: none; transition: transform 0.15s; }
.ans-work.open .ans-work-h svg { transform: rotate(90deg); }
.ans-work.live .ans-work-h span { color: var(--text-2); }
.ans-work-b { display: flex; flex-direction: column; gap: 8px; padding: 2px 0 4px 14px; margin-left: 1px; border-left: 2px solid var(--line-2); }
.ans-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ans-steps li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.ans-steps li span { min-width: 0; overflow-wrap: anywhere; }
.ans-steps svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.ans-steps li.ok svg { color: var(--green-text); }
.ans-steps li.bad svg { color: var(--text-3); }
.ans-steps li.run { color: var(--text); }
.ans-steps li.run span { background: linear-gradient(90deg, var(--text-3) 0%, var(--text) 50%, var(--text-3) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: cx-shimmer 1.6s linear infinite; }
.ans-thought { margin: 0; max-height: 280px; overflow: auto; white-space: pre-wrap; font-size: 13px; line-height: 1.6; color: var(--text-3); overscroll-behavior: contain; }
@media (prefers-reduced-motion: reduce) { .ans-steps li.run span { animation: none; color: var(--text); background: none; } }

@media (pointer: coarse) {
  .think-t, .ans-steps li.run span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text); animation: cx-breathe 1.6s ease-in-out infinite; }
  .cx-pulse { box-shadow: none; animation: cx-breathe 1.4s ease-in-out infinite; }
}
@keyframes cx-breathe { 50% { opacity: 0.5; } }
@media (pointer: coarse) { .ans-work-h { min-height: 44px; } }



.mem-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mem-sw { display: flex; flex: none; align-items: center; gap: 10px; padding-top: 2px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.mem-line { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.mem-line svg { flex: none; }
.mem-line .faint { margin-left: auto; white-space: nowrap; }
.mem-line.off { color: var(--yellow); }
.mem-undo { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 10px; background: var(--raise); font-size: 13px; }
.mem-undo > span { flex: 1 1 auto; min-width: 0; white-space: normal; overflow-wrap: break-word; }
.mem-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mem-grid.off .mem-card:not(.mem-new) { opacity: 0.55; }
.mem-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px 12px 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--side); }
.light .mem-card, .cust-light .mem-card { background: var(--card-2); }
.mem-card p { flex: 1 1 auto; margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.mem-card footer { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.mem-card footer .faint { flex: 1 1 auto; min-width: 0; }
.mem-card.open { padding-bottom: 12px; }
.mem-src { font: inherit; color: var(--text-2); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 2px; }
.mem-src:hover:not(:disabled) { color: var(--text); text-decoration-color: var(--text-3); }
.mem-src:disabled { cursor: default; text-decoration: none; }

.mem-src { position: relative; }
.mem-src:not(:disabled)::after { content: ""; position: absolute; inset: -12px -4px; }
.mem-undo .btn, .mem-edit-acts .btn { min-height: 32px; }
.mem-acts { flex: none; display: flex; gap: 2px; }
.mem-acts .icon-btn { width: 32px; height: 32px; border-color: transparent; color: var(--text-2); }
.mem-acts .icon-btn:hover { color: var(--text); background: var(--raise); }

button.mem-new { display: block; width: 100%; font: inherit; color: var(--text); text-align: left; cursor: pointer; border-style: dashed; background: transparent; }
button.mem-new:hover:not(:disabled) { border-color: var(--text-3); background: var(--card-2); }
button.mem-new:disabled { cursor: not-allowed; color: var(--text-3); }
.mem-new-in { display: flex; flex-direction: column; gap: 4px; height: 100%; }
.mem-new-in b { margin-top: 6px; font-size: 14px; font-weight: 600; }
.mem-new-in .faint { font-size: 12.5px; }
.mem-plus { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--raise); }
.mem-edit { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.mem-edit .field { width: 100%; resize: vertical; line-height: 1.5; }
.mem-edit-acts { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.mem-edit-acts .faint { margin-right: auto; font-size: 12px; }

.mem-proj { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.mem-proj-intro { margin: -4px 0 0; font-size: 12.5px; }
.mem-proj-one { display: flex; flex-direction: column; gap: 8px; }
.mem-proj-one h4 { margin: 4px 0 0; font-size: 13.5px; font-weight: 600; }

.mem-sum { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--side); }
.light .mem-sum, .cust-light .mem-sum { background: var(--card-2); }
.mem-sum.empty { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.mem-sum-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mem-sum-h h3 { margin: 0; font-size: 13.5px; font-weight: 600; }
.mem-sum-h .faint { font-size: 12px; }
.mem-sum > p { margin: 0; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.mem-sum-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.mem-tidy { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; font-size: 13px; color: var(--text-2); }
.mem-tidy > svg { flex: none; color: var(--ember); }
.mem-tidy > span { flex: 1 1 220px; }
.mem-card .mem-stale { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0; font-size: 12.5px; color: var(--yellow); }
.mem-stale > svg { flex: none; }
.mem-stale > span { flex: 1 1 160px; }
@media (pointer: coarse) { .mem-sum .btn, .mem-tidy .btn, .mem-stale .btn { min-height: 44px; } }

.mem-dt { font-size: 13px; color: var(--text-2); }
.mem-dt summary { width: max-content; min-height: 24px; cursor: pointer; font-size: 12.5px; color: var(--text-2); }
.mem-dt summary:hover { color: var(--text); }
.mem-card .mem-dt p { margin: 6px 0 0; font-size: 13px; color: var(--text-2); white-space: pre-wrap; }
.mem-det-add { align-self: flex-start; }
@media (pointer: coarse) { .mem-dt summary { min-height: 44px; display: flex; align-items: center; } .mem-det-add { min-height: 44px; } }
.td .mem-all { border-top: 0; padding-top: 4px; }

.mem-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mem-search { position: relative; flex: 1 1 220px; min-width: 0; display: block; }
.mem-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.mem-search .field { width: 100%; padding-left: 34px; }
.mem-kinds { display: flex; gap: 6px; flex-wrap: wrap; }
.mem-kinds .chip { font-family: inherit; font-size: 12.5px; padding: 5px 10px; min-height: 32px; cursor: pointer; }
.mem-kinds .chip.on { color: var(--text); background: var(--raise); border-color: var(--line-2); }
.mem-head { margin: 2px 0 -6px; display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text); }
.mem-head .faint { font-weight: 400; font-size: 12.5px; }
.mem-head svg { color: var(--text-2); flex: none; }
.mem-card.mem-pinned { border-color: var(--line-2); }
.mem-acts .icon-btn.on { color: var(--text); background: var(--raise); }
.mem-empty { margin: 0; font-size: 13px; }

.mem-simple .mem-top h2 { margin: 0; font-size: 15px; font-weight: 600; }
.mem-simple .mem-top p { margin: 3px 0 0; font-size: 13px; }
.mem-ctl { flex: none; display: flex; align-items: center; gap: 6px; }
.mem-menu { position: relative; }
.mem-menu > .icon-btn { width: 32px; height: 32px; border-color: transparent; color: var(--text-2); }
.sb-menu.mem-pop { position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; width: 230px; }
.mem-pop-n { padding: 6px 10px 4px; font-size: 13px; color: var(--text-3); }
.mem-ncard p, .mem-ncard .mem-note-more { margin: 0; width: 100%; color: var(--text); font-size: 14px; }
.mem-ncard footer svg { vertical-align: -2px; color: var(--text-3); }
.mem-add { display: flex; gap: 8px; }
.mem-add .field { flex: 1 1 auto; min-width: 0; }
.mem-add .btn { flex: none; min-height: 36px; }

.mem-tabs { align-self: flex-start; max-width: 100%; overflow-x: auto; }
.mem-tabs > button { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 7px 12px; min-height: 34px; cursor: pointer; }
.mem-n { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.mem-panel { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mem-intro { margin: 0; font-size: 13.5px; line-height: 1.55; max-width: 70ch; }
.mem-notes { display: flex; flex-direction: column; gap: 8px; }
.mem-notes.off { opacity: 0.55; }
.mem-note { padding: 8px 8px 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--side); }
.light .mem-note, .cust-light .mem-note { background: var(--card-2); }
.mem-note header { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.mem-note header .mem-src { font-weight: 600; color: var(--text); min-width: 0; white-space: normal; overflow-wrap: break-word; }
.mem-note header .faint { margin-left: auto; white-space: nowrap; font-size: 12.5px; }
.mem-note header .icon-btn { flex: none; width: 32px; height: 32px; border-color: transparent; color: var(--text-2); }
.mem-note p, .mem-note-more { margin: 4px 6px 0 22px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); overflow-wrap: anywhere; }
.mem-note-more { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; width: calc(100% - 28px); padding: 0; font: inherit; font-size: 13.5px; text-align: left; background: none; border: 0; cursor: pointer; min-height: 32px; }
@media (pointer: coarse) {
  .mem-kinds .chip { min-height: 40px; }
  .mem-search .field { font-size: 16px; }
  .mem-tabs > button { min-height: 44px; }
  .mem-note header .icon-btn { width: 44px; height: 44px; }
}
@media (width <= 760px) {
  .mem-menu > .icon-btn { width: 44px; height: 44px; }
}
@container page (width <= 760px) {
  .mem-grid { grid-template-columns: minmax(0, 1fr); }
  .mem-add { flex-direction: column; }
  .mem-add .btn { min-height: 44px; justify-content: center; }
  .mem-top .set-h p { display: none; }
  .mem-acts .icon-btn { width: 44px; height: 44px; }
  .mem-card footer { margin-right: -6px; }
  .mem-edit-acts .btn { min-height: 44px; }
  .mem-note p, .mem-note-more { margin-left: 0; width: 100%; }
}

.ans-fell { display: flex; align-items: center; gap: 7px; margin: 2px 0 6px; font-size: 13px; color: var(--text-3); }
.ans-fell svg { color: var(--yellow); flex: none; }


.you-from { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-3); }
.you-from code { font: 11.5px var(--mono); color: var(--text-2); }


.ans-draft { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.ans-draft .md, .ans-draft p { color: var(--text-3); }

.ans-draft .md { font-size: .92em; line-height: 1.5; }
.ans-draft-t { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 12px; font-weight: 500; color: var(--text-2); }
.ans-draft-t svg { width: 13px; height: 13px; }


.md-table td, .md-table th { overflow-wrap: break-word; }


.item.more .t { color: var(--text-2); }
.item.more.on .t { color: var(--text); }
.item .count { margin-left: auto; font-size: 12px; color: var(--text-2); background: var(--raise); border-radius: 999px; padding: 0 8px; min-width: 24px; text-align: center; flex: none; }
.item.on .count { background: var(--card-2); }
.item .reply-dot + .count { margin-left: 0; }
button.item { font: inherit; width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; }
.newc.off { opacity: 0.5; cursor: not-allowed; }

html.modal-open { overflow: hidden; }
.cl-dlg { padding: 0; margin: auto; width: min(580px, calc(100vw - 32px)); max-width: none; max-height: min(680px, calc(100vh - 64px)); max-height: min(680px, calc(100dvh - 64px));
  background: var(--card); color: var(--text); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); overflow: hidden; overscroll-behavior: contain; }
.cl-dlg[open] { display: flex; flex-direction: column; }
.cl-dlg::backdrop { background: rgba(0, 0, 0, 0.5); }
.light .cl-dlg::backdrop, .cust-light .cl-dlg::backdrop { background: rgba(20, 20, 30, 0.28); }
.light .cl-dlg, .cust-light .cl-dlg { box-shadow: 0 24px 60px rgba(20, 20, 30, 0.18); }
.cl-h { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px 20px; }
.cl-h h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; min-width: 0; white-space: normal; overflow-wrap: break-word; }
.cl-h .pill { flex: none; }
.cl-h .icon-btn { flex: none; border-color: transparent; }
.cl-h .icon-btn:hover { background: var(--card-2); }
.cl-s { padding: 0 18px 10px 20px; }
.cl-search { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 12px; background: var(--side); border: 1px solid var(--line-2); border-radius: 9px; color: var(--text-2); }
.light .cl-search, .cust-light .cl-search { background: var(--card); }
.cl-search:focus-within { outline: 2px solid var(--line-2); outline-offset: 1px; }
.cl-search input { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 14px; color: var(--text); background: transparent; border: 0; outline: 0; padding: 8px 0; -webkit-appearance: none; appearance: none; }
.cl-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.cl-b { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 8px 10px; }
.cl-b ul { list-style: none; margin: 0; padding: 0; }
.cl-note { margin: 0; padding: 0 12px 4px; font-size: 13px; color: var(--text-3); }
.cl-grp { margin: 14px 0 4px; padding: 0 12px; font-size: 12.5px; font-weight: 400; color: var(--text-3); }
.cl-row { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14.5px; }
.cl-row:hover { background: var(--card-2); }
.cl-row.on { background: var(--raise); }
.cl-row .t { flex: 1 1 auto; min-width: 0; white-space: normal; overflow-wrap: break-word; }
.cl-row .n { flex: none; font-size: 12.5px; color: var(--text-2); }
.cl-row .reply-dot { margin-left: 0; }
.cl-f { display: flex; align-items: center; gap: 12px; padding: 12px 18px 14px 20px; border-top: 1px solid var(--line); }
.cl-meter { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--text-2); }
.cl-meter > span:last-child { flex: 1 1 auto; min-width: 0; }
.cl-meter b { color: var(--text); font-weight: 600; }
.cl-bar { flex: 0 0 120px; height: 5px; background: var(--raise); border-radius: 99px; overflow: hidden; }
.cl-bar i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.cl-meter.full .cl-bar i { background: var(--yellow); }
.cl-limit { margin-top: 32px; max-width: 560px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.cl-limit h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.cl-limit p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.cl-limit .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }


.cl-kbd { font: 600 11.5px var(--mono); color: var(--text-3); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; height: 20px; display: inline-flex; align-items: center; flex: none; }
.cl-chip { font: inherit; font-size: 13px; min-height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.cl-chip.on { background: var(--raise); border-color: transparent; color: var(--text); }
.cl-chip .reply-dot { margin: 0; width: 7px; height: 7px; box-shadow: none; }
.cl-all { display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.cl-all input, .cl-row.pick input { width: 17px; height: 17px; margin: 0; accent-color: var(--btn-bg); flex: none; }
.cl-row.pick { cursor: pointer; }
.cl-row.pick.on { background: var(--card-2); }
.cl-li { position: relative; }
.cl-li.go { display: flex; align-items: center; gap: 4px; }
.cl-li.go > .cl-row { flex: 1 1 auto; min-width: 0; }
.cl-go { flex: none; display: flex; align-items: center; padding-right: 6px; }
.cl-go .btn { min-height: 30px; }
.cl-li.go .cl-acts { display: none; }
.cl-acts { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: none; gap: 2px; padding-left: 8px; background: var(--card-2); border-radius: 8px; }
.cl-acts .icon-btn { width: 30px; height: 30px; border-color: transparent; }
.cl-acts .icon-btn:hover { background: var(--raise); }
@media (hover: hover) and (pointer: fine) {
  .cl-li.edit:hover .cl-acts, .cl-li.edit:focus-within .cl-acts { display: flex; }
  .cl-li.go.edit:hover .cl-acts, .cl-li.go.edit:focus-within .cl-acts { display: none; }
  .cl-li.edit:hover .cl-row, .cl-li.edit:focus-within .cl-row:not(.on) { background: var(--card-2); }
}
@media (hover: none), (pointer: coarse) { .cl-kbd { display: none; } }

@media (hover: none), (pointer: coarse) {
  .cl-li.edit:not(.go) { display: flex; align-items: center; gap: 2px; }
  .cl-li.edit:not(.go) > .cl-row { flex: 1 1 auto; min-width: 0; }
  .cl-li.edit:not(.go) .cl-acts { position: static; transform: none; display: flex; flex: none; padding-left: 0; background: none; }
  .cl-acts .icon-btn { width: 44px; height: 44px; }
}
.cl-rename { display: flex; align-items: center; gap: 6px; padding: 3px 6px; }
.cl-rename .field { flex: 1 1 auto; min-width: 0; min-height: 34px; }
.cl-ask { flex: 1 1 auto; min-width: 0; font-size: 13.5px; color: var(--text-2); }
.cl-confirm .cl-ask { color: var(--text); }
.btn.danger-fill { background: var(--red); color: var(--btn-fg); }
.light .btn.danger-fill, .cust-light .btn.danger-fill { background: var(--red); color: var(--btn-fg); }
.btn.danger:disabled, .btn.danger-fill:disabled { cursor: not-allowed; }


@media (height <= 520px) {
  .cl-dlg { width: 100%; max-height: none; height: 100vh; height: 100dvh; margin: 0; border-radius: 0; border: 0;
    padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}
@media (width <= 760px), (height <= 520px), (pointer: coarse) {
  .cl-f .btn { justify-content: center; }
  .cl-chip { min-height: 44px; padding: 0 13px; }
  .cl-search { min-height: 44px; }
  .cl-search input { font-size: 16px; min-height: 42px; }
  .cl-row { min-height: 46px; }
  .cl-all { min-height: 44px; }
  .cl-all input, .cl-row.pick input { width: 20px; height: 20px; }
  .cl-rename { flex-wrap: wrap; }
  .cl-rename .field { flex-basis: 100%; min-height: 44px; }
  .cl-f:has(.cl-ask) { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cl-confirm .cl-ask { flex-basis: 100%; }
  .cl-f:has(.cl-ask) .btn { flex: 1 1 auto; }
}
@media (width <= 760px) {
  .cl-dlg { width: 100%; max-height: none; height: calc(100vh - 56px); height: calc(100dvh - 56px); margin: auto 0 0; border-radius: 18px 18px 0 0; border-bottom: 0; }
  
  .cl-dlg.kb, .cl-dlg.kb[open] { inset: var(--vv-top, 0) 0 auto 0; height: var(--vv-h, 100dvh); max-height: none; margin: 0; border-radius: 0; }
}
@container page (width <= 760px) {
  .cl-h { padding: 14px 14px 10px 18px; }
  .cl-s { padding: 0 14px 8px 18px; }
  .cl-b { padding: 2px 6px 10px; }
  .cl-f { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 18px max(16px, env(safe-area-inset-bottom)); }
  .cl-bar { flex-basis: 72px; }
  .cl-room { display: none; }
  .cl-limit { margin-top: 16px; padding: 18px; }
  .cl-limit .acts .btn { flex: 1 1 auto; justify-content: center; }
  
  .cl-dlg.cl-spot .cl-b { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}

@container page (width <= 400px) {
  .cl-h { gap: 4px; padding-right: 8px; }
  .cl-h h2 { font-size: 17px; }
  .cl-h .btn.sm { padding: 0 8px; }
}

@media (height <= 520px) {
  .cl-h { padding-top: 10px; padding-bottom: 6px; }
  .cl-s { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .cl-search { flex: 1 1 260px; }
}


.cl-top { position: relative; display: flex; align-items: center; gap: 2px; padding: 8px 10px 8px 18px; border-bottom: 1px solid var(--line); flex: none; }
.cl-top:focus-within { border-bottom-color: var(--line-2); }
.cl-find { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 11px; min-height: 42px; color: var(--text-2); }
.cl-find input { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 17px; color: var(--text); background: transparent; border: 0; outline: 0; padding: 8px 0; -webkit-appearance: none; appearance: none; }
.cl-find input::placeholder { color: var(--text-3); }
.cl-find input::-webkit-search-cancel-button { -webkit-appearance: none; }
.cl-top .icon-btn { flex: none; border-color: transparent; }
.cl-top .icon-btn:hover, .cl-top .icon-btn[aria-expanded="true"] { color: var(--text); background: var(--raise); }
.cl-spot .cl-b { padding: 6px 8px 8px; border-radius: 0 0 16px 16px; }
.cl-spot .cl-f { border-radius: 0 0 16px 16px; }
.cl-spot .cl-row { min-height: 36px; }
.cl-spot .cl-row.act { background: var(--raise); }
.cl-spot .cl-grp { margin: 12px 0 3px; }
.cl-spot .cl-note { padding: 6px 12px 2px; }
.cl-spot .hit { font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.cl-new { font-weight: 500; }
.cl-new.off, .cl-new.off:hover { color: var(--text-3); background: none; cursor: not-allowed; }
.cl-plus { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); display: inline-flex; align-items: center; justify-content: center; }
.cl-plus svg { stroke-width: 2; }
.cl-new.off .cl-plus { background: var(--raise); color: var(--text-3); }
.cl-new .n.warn { color: var(--yellow); }
.cl-selbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; padding-right: 4px; }
.cl-menu { position: absolute; top: calc(100% + 4px); right: 44px; z-index: 5; width: 216px; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; padding: 5px; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4); }
.light .cl-menu, .cust-light .cl-menu { background: var(--card); box-shadow: 0 12px 32px rgba(20, 20, 30, 0.16); }
.cl-mh { padding: 5px 10px 3px; font-size: 12px; color: var(--text-3); }
.cl-mf { padding: 4px 10px 5px; font-size: 12.5px; color: var(--text-3); }
.cl-menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 0; }
.cl-menu button { width: 100%; display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.cl-menu button:hover, .cl-menu button:focus-visible { background: var(--raise); outline: 0; }
.cl-menu button.red { color: var(--red); }
.cl-menu .tick { width: 16px; flex: none; display: inline-flex; }

@media (width > 760px) and (height > 520px) {
  .cl-dlg.cl-spot { width: min(600px, calc(100vw - 32px)); margin: 72px auto auto; max-height: min(640px, calc(100vh - 112px)); max-height: min(640px, calc(100dvh - 112px)); overflow: visible; }
}
@media (width <= 760px), (height <= 520px), (pointer: coarse) {
  .cl-top .icon-btn { width: 44px; height: 44px; }
  .cl-find input { min-height: 44px; }
  .cl-spot .cl-row { min-height: 46px; }
  .cl-go .btn { min-height: 44px; min-width: 44px; }
  .cl-menu { right: 54px; }
  .cl-menu button { min-height: 44px; }
  .cl-selbar { min-height: 44px; }
  .cl-selbar .btn { min-height: 44px; }
  .cl-rename .err { flex-basis: 100%; }
}
@media (width <= 760px) {
  .cl-menu { right: 8px; width: 240px; }
}
@container page (width <= 760px) {
  .cl-top { padding: 6px 6px 6px 16px; }
  .cl-spot .cl-b { padding: 4px 6px 10px; }
}


:root {
  --cw-ins: #9085e9; --cw-tools: #199e70; --cw-mem: #c98500; --cw-files: #d55181; --cw-msg: #3987e5;
  --cw-hatch: rgba(243, 241, 234, 0.22);
  --cw-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
.light, .cust-light {
  --cw-ins: #6250d6; --cw-tools: #1baf7a; --cw-mem: #eda100; --cw-files: #e87ba4; --cw-msg: #2a78d6;
  --cw-hatch: rgba(33, 30, 25, 0.2);
}
.cw-seg-ins { --c: var(--cw-ins); } .cw-seg-tools { --c: var(--cw-tools); } .cw-seg-mem { --c: var(--cw-mem); }
.cw-seg-files { --c: var(--cw-files); } .cw-seg-msg { --c: var(--cw-msg); }
.cw-sw { flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--c); display: inline-block; }
.cw-sw.cw-free { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.cw-sw.cw-res { background: repeating-linear-gradient(135deg, var(--cw-hatch) 0 2px, transparent 2px 3px); box-shadow: inset 0 0 0 1px var(--line-2); }
.cw-breathe { animation: cw-breathe 1.4s ease-in-out infinite; }
@keyframes cw-breathe { 50% { opacity: 0.45; } }
.cw-check { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; }
.cw-check path { stroke: var(--green); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; animation: cw-draw 0.35s 0.05s var(--cw-ease) forwards; }
@keyframes cw-draw { to { stroke-dashoffset: 0; } }


.thread > li.cw-fold-li { list-style: none; }
.cw-fold { display: flex; align-items: center; gap: 10px; margin: 6px 0 18px; color: var(--text-3); font-size: 12.5px; }
.cw-fold::before, .cw-fold::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.cw-fold > span { text-align: center; }
.cw-fold button { flex: none; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12px; min-height: 28px; cursor: pointer; }
.cw-fold button:hover { color: var(--text); background: var(--raise); }
.cw-fold-sum { margin: -8px 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text-2); font-size: 13.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.cw-fold-sum b { display: block; margin-bottom: 4px; color: var(--text); white-space: normal; }
.msg.cw-flash { animation: cw-flash 1.6s var(--cw-ease); border-radius: 12px; }
@keyframes cw-flash { 15% { box-shadow: 0 0 0 2px rgba(var(--acc-rgb), 0.55); } 100% { box-shadow: 0 0 0 2px rgba(var(--acc-rgb), 0); } }
.msg.cm-hl { box-shadow: 0 0 0 2px rgba(var(--acc-rgb), 0.55); border-radius: 12px; }


.cm-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 10px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font: 600 12px/1 var(--mono); font-variant-numeric: tabular-nums; cursor: pointer; }
.cm-chip:hover, .cm-chip[aria-expanded="true"] { background: var(--raise); color: var(--text); }
.cm-chip:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 2px; }
.cm-glyph { display: grid; grid-template-columns: repeat(3, 4px); gap: 1.5px; }
.cm-glyph i { width: 4px; height: 4px; border-radius: 1px; background: var(--line-2); }
.cm-glyph i.on { background: var(--acc); }
.cm-chip.fill .cm-glyph i.on { background: var(--yellow); }
.cm-chip.full .cm-glyph i.on { background: var(--red); }
.cm-chip.busy .cm-p { animation: cw-breathe 1.4s ease-in-out infinite; }

.cm-chip.cm-chip-desk { min-height: 32px; margin-right: 8px; padding: 0 12px; border: 1px solid var(--line-2); font-family: inherit; font-size: 13px; font-weight: 500; }
.cm-chip-desk .cm-p { font: 600 12px/1 var(--mono); }
@media (width <= 400px) { .cm-chip-desk .cm-l { display: none; } }
@media (width <= 400px) { .composer .cm-chip { padding: 0 6px; gap: 5px; } }


.cm-scrim { position: fixed; inset: 0; z-index: 59; background: transparent; }
.cm-pop { position: fixed; z-index: 60; display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg); color: var(--text); font-size: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); overflow: hidden; overscroll-behavior: contain; container: cm / inline-size; animation: cm-in 0.22s var(--cw-ease) both; }
.light .cm-pop, .cust-light .cm-pop { box-shadow: 0 24px 60px rgba(20, 20, 30, 0.18); }
@keyframes cm-in { from { opacity: 0; transform: scale(0.96); } }
.cm-nub { position: fixed; z-index: 61; width: 14px; height: 14px; border: 1px solid var(--line-2); background: var(--bg); transform: rotate(45deg); pointer-events: none; }
.cm-nub.below { border-top: 0; border-left: 0; }
.cm-nub.above { border-right: 0; border-bottom: 0; }
.cm-head { position: relative; flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 60px; padding: 14px 64px 12px 22px; border-bottom: 1px solid var(--line); }
.cm-head h2 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.cm-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); font-size: 20px; line-height: 1; cursor: pointer; }
.cm-x:hover { background: var(--raise); color: var(--text); }
.cm-ro-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font: 600 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.cm-tabs { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.cm-tabs button { min-height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: 12px; cursor: pointer; }
.cm-tabs button.on { background: var(--raise); color: var(--text); }

.cm-body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); overflow: hidden; }
.cm-col { min-height: 0; overflow: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 16px; padding: 18px 22px 22px; }
.cm-col > * { flex-shrink: 0; }
.cm-col-b { border-left: 1px solid var(--line); }
.cm-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.cm-big b { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cm-big span { color: var(--text-2); font-variant-numeric: tabular-nums; }
.cm-eyebrow { font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.cm-err { margin: 0; color: var(--red); font-size: 12.5px; }

.cm-grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; }
.cm-grid i { aspect-ratio: 1; border-radius: 3px; background: var(--c, var(--line)); transition: opacity 0.18s, transform 0.18s var(--cw-ease); }
.cm-grid i.free { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.cm-grid i.res { background: repeating-linear-gradient(135deg, var(--cw-hatch) 0 2px, transparent 2px 4px); box-shadow: inset 0 0 0 1px var(--line-2); }
.cm-grid i.sum { background: repeating-linear-gradient(135deg, var(--cw-msg) 0 2px, color-mix(in srgb, var(--cw-msg) 40%, transparent) 2px 4px); }
.cm-grid i.alt { filter: brightness(0.78); }
.light .cm-grid i.alt, .cust-light .cm-grid i.alt { filter: brightness(1.18) saturate(0.85); }
.cm-grid.dim i:not(.on) { opacity: 0.25; }
.cm-grid i.on { transform: scale(1.08); }
.cm-grid i.cut { opacity: 0.4; }
.cm-grid i.go { animation: cm-go 1.4s ease-in-out infinite; }
@keyframes cm-go { 50% { opacity: 0.2; transform: scale(0.7); } }
.cm-grid i.pop { animation: cm-pop 0.45s var(--cw-ease) backwards; }
@keyframes cm-pop { from { transform: scale(0); opacity: 0; } }
.cm-cap { min-height: 38px; margin: -6px 0 0; color: var(--text-2); font-size: 12.5px; line-height: 1.5; }
.cm-cap b { color: var(--text); font-weight: 600; }
.cm-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--text-2); font-size: 12.5px; }
.cm-leg span { display: inline-flex; align-items: center; gap: 6px; min-height: 22px; }
.cm-leg b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

.cm-turns { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cm-turn { display: grid; grid-template-columns: 30px 38px minmax(0, 1fr) 40px 38px; align-items: center; gap: 7px; min-height: 36px; padding: 0 10px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--text-2); font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; }
.cm-turn:first-child { border-top: 0; }
.cm-turn:hover, .cm-turn.on { background: var(--card); }
.cm-turn .ix { color: var(--text-3); font: 11px var(--mono); }
.cm-turn .tm { color: var(--text-3); font-variant-numeric: tabular-nums; }
.cm-turn .q { white-space: normal; color: var(--text); min-width: 0; overflow-wrap: break-word; }
.cm-turn .q em { font-style: normal; color: var(--text-3); }
.cm-turn .sz { height: 4px; border-radius: 2px; background: var(--cw-msg); justify-self: start; }
.cm-turn .n { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.cm-turn.cut { opacity: 0.5; }
.cm-turn.cut .sz { background: repeating-linear-gradient(135deg, var(--cw-msg) 0 2px, transparent 2px 4px); }
.cm-turn.kept-line { box-shadow: inset 0 2px 0 rgba(var(--acc-rgb), 0.6); }
.cm-fold-row.cut { opacity: 0.75; }
.cm-fold-row .q { display: flex; gap: 4px; min-width: 0; }
.cm-fold-row .q .ft { white-space: normal; min-width: 0; overflow-wrap: break-word; }
.cm-fold-row .q .ft em { color: var(--text-3); }
.cm-fold-row .q .go { flex: none; color: var(--acc-text); }

.cm-room { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.cm-room-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cm-step { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.cm-step button { width: 36px; height: 34px; border: 0; background: transparent; color: var(--text); font-size: 16px; cursor: pointer; }
.cm-step button:hover:not(:disabled) { background: var(--raise); }
.cm-step button:disabled { color: var(--text-3); cursor: default; }
.cm-step b { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.cm-room p { margin: 0; color: var(--text-2); font-size: 12.5px; line-height: 1.45; }
.cm-room p b { color: var(--text); }
.cm-room.cm-ro p + p { color: var(--text-3); }
.cm-go { align-self: flex-start; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cm-go:disabled { background: var(--raise); color: var(--text-3); cursor: default; }
.cm-go:focus-visible, .cm-x:focus-visible, .cm-turn:focus-visible, .cm-step button:focus-visible, .cm-tabs button:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 2px; }

.cm-auto-sw { display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 44px; margin: 2px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--text-2); font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; }
.cm-track { --sw-ease: cubic-bezier(0.32, 0.72, 0, 1); --sw-in: 2px; --sw-knob: 18px; --sw-stretch: 4px; flex: none; position: relative; width: 40px; height: 24px; margin-top: 0; border-radius: 999px; background: var(--raise); border: 1px solid var(--line-2); overflow: hidden; transition: background 0.18s var(--sw-ease), border-color 0.18s var(--sw-ease); }
.cm-track i { position: absolute; top: var(--sw-in); left: var(--sw-in); width: var(--sw-knob); height: var(--sw-knob); border-radius: 999px; background: var(--text-2); box-shadow: none; transition: left 0.22s var(--sw-ease), width 0.18s var(--sw-ease), background 0.18s var(--sw-ease); }
.cm-auto-sw[aria-checked="true"] .cm-track { background: var(--sw-pick, var(--green)); border-color: transparent; }
.cm-auto-sw[aria-checked="true"] .cm-track i { left: calc(100% - var(--sw-in) - var(--sw-knob)); background: #fff; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .cm-auto-sw:hover:not(:disabled):not([aria-checked="true"]) .cm-track i { width: calc(var(--sw-knob) + var(--sw-stretch)); }
  .cm-auto-sw[aria-checked="true"]:hover:not(:disabled) .cm-track i { width: calc(var(--sw-knob) + var(--sw-stretch)); left: calc(100% - var(--sw-in) - var(--sw-knob) - var(--sw-stretch)); }
  .cm-auto-sw:active:not(:disabled):not([aria-checked="true"]) .cm-track i { width: calc(var(--sw-knob) + 6px); }
  .cm-auto-sw[aria-checked="true"]:active:not(:disabled) .cm-track i { width: calc(var(--sw-knob) + 6px); left: calc(100% - var(--sw-in) - var(--sw-knob) - 6px); }
}
.cm-sw-t { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.cm-sw-t b { color: var(--text); font-size: 13px; font-weight: 600; }
.cm-auto-sw:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 3px; border-radius: 8px; }

.cm-modes { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.cm-mode-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-mode { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; min-height: 32px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; }
.cm-mode b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.cm-mode em { font-style: normal; color: var(--text-3); font-size: 12px; }
.cm-mode.on { border-color: rgba(var(--acc-rgb), 0.6); background: rgba(var(--acc-rgb), 0.1); }
.cm-note { margin: 0; color: var(--text-3); font-size: 12px; line-height: 1.45; }
.cm-tag { display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 999px; background: var(--raise); color: var(--text-2); }
.cm-sel { display: grid; grid-template-columns: 76px auto minmax(0, 1fr); align-items: center; gap: 10px; color: var(--text-2); font-size: 13px; }
.cm-sel-n { color: var(--text); font-weight: 600; white-space: normal; min-width: 0; overflow-wrap: break-word; }

.cm-sel.on .cm-sel-n::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: rgb(var(--acc-rgb)); vertical-align: middle; }
.cm-modes .cm-note a { color: var(--text-2); text-decoration: none; border-bottom: 1px dotted var(--line-2); }
.cm-modes .cm-note a:hover { color: var(--text); }

.cm-fell { margin: 0; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--yellow) 40%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--yellow) 8%, transparent); color: var(--text-2); font-size: 12.5px; line-height: 1.45; }
.cm-fell b { color: var(--text); font-weight: 600; }
.cm-sel select, .cm-think select { min-height: 40px; padding: 0 32px 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%238B8B93' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 12px; color: var(--text); font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; appearance: none; cursor: pointer; }
.cm-sel select:focus-visible, .cm-think select:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 2px; }
.cm-sel-of { color: var(--text-3); font-size: 12px; white-space: normal; min-width: 0; overflow-wrap: break-word; }

.cm-office { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; }
.cm-office-lab { margin-right: 2px; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.cm-go-off { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 12.5px; font-weight: 600; text-decoration: none; transition: background 0.15s, color 0.15s; }
.cm-go-off:hover, .cm-go-off:focus-visible { background: var(--raise); color: var(--text); }
.cm-leg-go { display: inline-flex; align-items: center; gap: 6px; min-height: 22px; margin: 0 -4px; padding: 0 4px; border-radius: 6px; color: inherit; text-decoration: none; }
.cm-leg-go:hover, .cm-leg-go:focus-visible { background: var(--raise); color: var(--text); }
.cm-leg .go { color: var(--text-3); font-size: 11px; }
.cm-leg-go:hover .go { color: var(--acc-text); }
.cm-month-go { color: var(--text); text-decoration: none; border-bottom: 1px dotted var(--line-2); }
.cm-month-go:hover { border-bottom-color: var(--text-2); }
.cm-go-off:focus-visible, .cm-leg-go:focus-visible, .cm-month-go:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 2px; }

.cm-think { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.cm-col-b .cm-think { flex: 1 0 auto; }
.cm-col-b .cm-think.ro { flex: none; }
.cm-think .row { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 10px; color: var(--text); font-size: 13px; font-weight: 600; }
.cm-think .row .k { white-space: nowrap; }
.cm-think .row.off .k { color: var(--text-3); }
.cm-think .cm-step { justify-self: start; }
.cm-think .cm-step b { min-width: 56px; }
.cm-think .cm-step[aria-disabled="true"] b { color: var(--text-3); }
.cm-think select { width: 100%; }
.cm-think-cap { min-height: 0; margin: -4px 0 0 86px; }
.cm-think-ro { margin: 0; color: var(--text-2); font-size: 12.5px; line-height: 1.45; }
.cm-think-ro b, .cm-think .cm-note b { color: var(--text); }
.cm-think .cm-note a { color: var(--text-2); text-decoration: none; border-bottom: 1px dotted var(--line-2); }
.cm-think .cm-note a:hover { color: var(--text); }

.cm-month { display: flex; flex-direction: column; gap: 6px; font: 12px/1.4 var(--mono); color: var(--text-3); }
.cm-month .em-bar i { font-style: normal; display: inline-block; width: 0.62em; text-align: center; opacity: 0.55; }
.cm-month .em-bar i.f { opacity: 1; color: #B9CCE3; }
.light .cm-month .em-bar i.f, .cust-light .cm-month .em-bar i.f { color: #4E6A8C; }
.cm-month b { color: var(--text); font-weight: 600; }

.cm-exact { width: 100%; border-collapse: collapse; font: 12px/1.4 var(--mono); }
.cm-exact td { padding: 5px 0; border-top: 1px solid var(--line); color: var(--text-2); }
.cm-exact td + td { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.cm-exact tr.tot td { color: var(--text); font-weight: 600; }
.cm-tools { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; font: 11.5px/1.5 var(--mono); color: var(--text-3); }
.cm-tools b { color: var(--text-2); font-weight: 500; }

@container cm (max-width: 640px) {
  .cm-body { display: flex; flex-direction: column; gap: 16px; padding: 14px 16px 20px; overflow: auto; overscroll-behavior: contain; }
  .cm-col { display: contents; }
  .cm-modes { order: 1; }
  .cm-month-eb, .cm-month { order: 2; }
  .cm-think { order: 3; }
  .cm-office { display: grid; grid-template-columns: 1fr 1fr; width: auto; flex: 1 1 100%; margin-right: -44px; }
  .cm-office-lab { display: none; }
  .cm-go-off { justify-content: center; }
  .cm-col-b .cm-think { flex: none; }
  .cm-think-cap { margin-left: 0; }
  .cm-head { padding: 12px 60px 10px 16px; }
  .cm-sel { grid-template-columns: 76px auto; }
  .cm-sel-of { grid-column: 1 / -1; white-space: normal; }
  .cm-turn { grid-template-columns: 34px 38px minmax(0, 1fr) 40px; }
  .cm-turn .sz { display: none; }
}

@container cm (max-width: 360px) {
  .cm-think .row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cm-think-cap { margin-left: 0; }
}

@media (pointer: coarse) {
  .cm-x { width: 44px; height: 44px; top: 8px; right: 8px; }
  .cm-tabs button { min-height: 44px; padding: 0 14px; }
  .cm-chip { min-height: 44px; }
  .cm-turn { min-height: 44px; }
  .cm-step button { width: 44px; height: 44px; }
  .cm-go { min-height: 44px; }
  .cm-sel select, .cm-think select { min-height: 44px; }
  .cm-go-off { min-height: 44px; padding: 0 14px; }
  .cm-leg-go { min-height: 44px; }
  .cm-chip.cm-chip-desk { min-height: 44px; }
  .cw-fold button { min-height: 44px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-pop { animation: none; }
  .cm-grid i, .cm-track, .cm-track i { transition: none; }
  .cm-auto-sw:hover:not(:disabled):not([aria-checked="true"]) .cm-track i, .cm-auto-sw:active:not(:disabled):not([aria-checked="true"]) .cm-track i { width: var(--sw-knob); }
  .cm-auto-sw[aria-checked="true"]:hover:not(:disabled) .cm-track i, .cm-auto-sw[aria-checked="true"]:active:not(:disabled) .cm-track i { width: var(--sw-knob); left: calc(100% - var(--sw-in) - var(--sw-knob)); }
  .cm-grid i.go, .cm-grid i.pop, .cw-breathe, .cm-chip.busy .cm-p, .msg.cw-flash { animation: none; }
  .cw-check path { animation: none; stroke-dashoffset: 0; }
}


.door {
  --ice: #B9CCE3; --ice-rgb: 185, 204, 227; --ice-text: #C6D6EA; --ice-hover: #CBDAEC; --on-ice: #0D1420;
  --d-glow: 0.3; --d-spot: rgba(185, 204, 227, 0.11); --d-dots: rgba(255, 255, 255, 0.045); --d-field: var(--side);
  --d-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden;
  background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5;
}
.cust-light .door {
  --ice: #3A5573; --ice-rgb: 58, 85, 115; --ice-text: #2F475F; --ice-hover: #2F475F; --on-ice: #FFFFFF;
  --d-glow: 0.22; --d-spot: rgba(58, 85, 115, 0.1); --d-dots: rgba(0, 0, 0, 0.05); --d-field: #FFFFFF;
  --d-shadow: 0 20px 50px rgba(20, 20, 30, 0.08);
}

.door::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 720px; pointer-events: none; background: none; }
.door::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 620px; pointer-events: none; background-image: radial-gradient(var(--d-dots) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(520px 380px at 50% 0, #000, transparent 75%); mask-image: radial-gradient(520px 380px at 50% 0, #000, transparent 75%); }
.door > * { position: relative; z-index: 1; }

.d-reload { min-height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(var(--ice-rgb), 0.55); background: rgba(var(--ice-rgb), 0.1); color: var(--ice-text); font: inherit; font-size: 12.5px; font-weight: 600; }
.door h1 { margin: 24px 0 6px; font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.d-sub { margin: 0 0 26px; max-width: 34ch; font-size: 15px; color: var(--text-2); }


.d-panel { width: 100%; display: flex; flex-direction: column; gap: 12px; padding: 16px; text-align: left; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--d-shadow); }
.d-label { margin: 0; font: 600 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.d-big { position: relative; width: 100%; min-height: 46px; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); font: inherit; font-size: 14.5px; font-weight: 500; transition: background 0.12s, border-color 0.12s, transform 0.06s; }
.d-big:hover { border-color: var(--text-3); }
.d-big:active { transform: translateY(1px); }
.d-big.primary { background: var(--btn-bg); border-color: transparent; color: var(--btn-fg); font-weight: 600; }
.d-big.primary:hover { background: var(--btn-bg); filter: brightness(0.92); }
.d-big.primary:disabled { filter: none; }
.d-big:disabled { color: var(--text-3); cursor: not-allowed; transform: none; }
.d-big:focus-visible, .d-tlink:focus-visible, .d-eye:focus-visible, .d-reload:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; }
.d-k { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 4px 6px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--card); color: var(--text-3); font: 500 11px/1 var(--mono); }
.d-big.primary .d-k { border-color: color-mix(in srgb, var(--btn-fg) 30%, transparent); background: transparent; color: var(--btn-fg); opacity: 0.7; }
.d-av { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: var(--raise); border: 1px solid var(--line-2); color: var(--text); font-size: 12px; font-weight: 600; }
.d-who { flex: 1; min-width: 0; white-space: normal; overflow-wrap: break-word; }
.d-who small { display: block; font-size: 12px; line-height: 1.2; color: var(--text-3); }


.d-fld { display: flex; flex-direction: column; gap: 6px; }
.d-fld label { font-size: 13px; color: var(--text-2); }
.d-labrow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.d-field { width: 100%; min-height: 44px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--d-field); color: var(--text); font: inherit; font-size: 15px; transition: border-color 0.12s, box-shadow 0.12s; }
.d-field::placeholder { color: var(--text-3); }
.d-field:focus { outline: none; border-color: var(--text-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 14%, transparent); }
.d-field:-webkit-autofill, .d-field:-webkit-autofill:focus { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 1000px var(--d-field) inset; transition: background-color 9999s; }
.d-fld.bad .d-field { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.d-pw { position: relative; }
.d-pw .d-field { padding-right: 46px; }
.d-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 7px; background: transparent; color: var(--text-2); }
.d-eye:hover { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }

@media (pointer: coarse), (height <= 520px) { .d-eye { width: 44px; height: 44px; right: 1px; } }
.d-cb { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.d-cb input { width: 16px; height: 16px; margin: 0; accent-color: var(--text); }
.d-tlink { padding: 0; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 13.5px; }
.d-tlink:hover { color: var(--text); }
.d-err { margin: 0; text-align: left; font-size: 13.5px; color: var(--red); }
.d-tip { margin: 0; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--card-2); font-size: 13.5px; color: var(--text-2); }


.d-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.d-meter i { height: 4px; border-radius: 2px; background: var(--line-2); transition: background 0.2s; }
.d-meter[data-s="1"] i:nth-child(-n + 1) { background: var(--red); }
.d-meter[data-s="2"] i:nth-child(-n + 2) { background: var(--yellow); }
.d-meter[data-s="3"] i:nth-child(-n + 3) { background: var(--green); }
.d-meter[data-s="4"] i { background: var(--green); }
.d-mrow { display: flex; justify-content: space-between; margin-top: -4px; font-size: 12.5px; color: var(--text-3); }
.d-mrow b { font-weight: 500; color: var(--text-2); }
.d-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.d-checks li { display: flex; align-items: center; gap: 8px; color: var(--text-3); }
.d-checks li.met { color: var(--text); }
.d-c { width: 16px; height: 16px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); }
.d-c svg.i { width: 10px; height: 10px; stroke-width: 2.4; opacity: 0; }
.d-checks li.met .d-c { background: var(--green); border-color: var(--green); color: var(--btn-fg); }
.d-checks li.met .d-c svg.i { opacity: 1; }


.door.compact::after { display: none; }
.door.compact::before { height: 520px; background: none; }
.d-chip { padding: 4px 6px; border-radius: 5px; border: 1px solid rgba(var(--ice-rgb), 0.55); background: rgba(var(--ice-rgb), 0.08); color: var(--ice-text); font: 700 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.door h1.d-h-sm { margin: 18px 0 4px; font-size: 22px; }
.d-mono { max-width: none; font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.02em; margin-bottom: 22px; }
.d-links { margin-top: 8px; display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 22px; }
.d-tlink2 { min-height: 36px; padding: 4px 0; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 13.5px; }
.d-tlink2:hover, .d-tlink2[aria-expanded="true"] { color: var(--text); }
.d-tlink2:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; }
.d-disc { width: 100%; margin-top: 8px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.d-disc-row { display: flex; gap: 8px; }
.d-disc-row .d-field { flex: 1; min-width: 0; }
.d-disc-row .d-big { width: auto; flex: none; }


.d-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.d-fld label em { font-style: normal; color: var(--text-3); }
.d-field.mono { font-family: var(--mono); font-size: 14.5px; letter-spacing: 0.01em; }
textarea.d-field { display: block; min-height: 84px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.d-hint { margin: 0; text-align: left; font-size: 12.5px; line-height: 1.45; color: var(--text-3); }
.d-hint-row { margin-top: -4px; }
.d-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }


.d-acct { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--d-field); }
.d-acct .d-who { font-size: 14.5px; font-weight: 500; }


.d-welcome { width: 100%; margin: 0 0 12px; padding: 12px 14px; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--card) 60%, transparent); }
.d-welcome .d-label { margin-bottom: 7px; }
.d-welcome p:last-child { margin: 0; font-size: 13.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.d-p { margin: 0; text-align: left; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.d-p b { color: var(--text); font-weight: 500; }
.d-code { display: block; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--d-field); font: 12.5px/1.45 var(--mono); overflow-wrap: anywhere; color: var(--text); user-select: all; }
.d-btnrow { display: flex; gap: 8px; }
.d-btnrow .d-big { flex: 1; min-width: 0; padding: 0 12px; }
.d-btnstack { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.d-tip + .d-btnstack, .d-code + .d-btnstack { margin-top: 12px; }
a.d-big { text-decoration: none; }
.d-big.ghost { min-height: 38px; background: transparent; border-color: transparent; color: var(--text-2); }
.d-big.ghost:hover { color: var(--text); border-color: transparent; background: color-mix(in srgb, var(--text) 6%, transparent); }
.d-small { margin: 14px 0 0; font-size: 13px; line-height: 1.55; color: var(--text-2); }
.d-facts { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; }
.d-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; min-width: 0; }
.d-facts > div + div { border-top: 1px solid var(--line); }
.d-facts dt { color: var(--text-3); }
.d-facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.d-quote { width: 100%; margin: 0; padding: 12px 14px; text-align: left; border-left: 3px solid var(--line-2); border-radius: 0 10px 10px 0; background: var(--card-2); line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.d-err-top { width: 100%; margin-bottom: 12px; }


@media (width <= 400px) { .d-mono { white-space: nowrap; font-size: min(13.5px, 3.6vw); letter-spacing: 0; } }
@media (width <= 400px) { .d-big { font-size: 13.5px; padding: 0 10px; gap: 6px; } .d-panel { padding: 12px; } }
@media (width <= 640px) {
  .d-row { grid-template-columns: minmax(0, 1fr); }
  .door h1 { margin-top: 18px; font-size: 22px; }
  .d-sub { margin-bottom: 20px; }
  .d-panel { padding: 14px; }
  .d-k { display: none; }
  
  .d-field, .d-field.mono { font-size: 16px; min-height: 46px; }
  .d-tlink { min-height: 32px; }
  .d-tlink, .d-tlink2 { position: relative; }
  .d-tlink::after, .d-tlink2::after { content: ""; position: absolute; inset: -8px -6px; }
  .d-eye { width: 44px; height: 44px; right: 1px; }
  .d-cb { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .d-big, .d-field, .d-meter i { transition: none; } }


.px-card.d-inv { width: 420px; max-width: 100%; padding: 20px 20px 16px; }
.d-inv-h { display: flex; gap: 12px; align-items: center; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.d-inv-h > div { flex: 1; min-width: 0; }
.d-inv-h b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.d-inv-h span { font-size: 13px; color: var(--text-3); }
.d-inv-tile { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; border: 1px solid rgba(var(--ice-rgb), 0.38); background: rgba(var(--ice-rgb), 0.16); color: var(--ice-text); }
.d-inv-house { display: grid; grid-template-columns: repeat(14, 2px); grid-auto-rows: 2px; width: 28px; height: 28px; }
.d-inv-house i { background: var(--ice); }
.d-inv-house i.f { background: var(--text); }
.d-inv-house i.e { background: transparent; }
.d-inv-b { padding: 14px 0 0; display: flex; flex-direction: column; gap: 12px; }
.d-inv-well { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--card-2); }
.d-inv-well .d-panel { padding: 0; border: 0; background: none; box-shadow: none; }
.d-inv-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 12.5px; color: var(--text-2); line-height: 1.5; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; }
.d-inv-note svg { flex: none; margin-top: 2px; color: var(--text-3); }
.d-inv-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; position: relative; }
.d-inv-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 7px 0; position: relative; }
.d-inv-steps li + li::before { content: ""; position: absolute; left: 12px; top: -9px; height: 18px; width: 1px; background: var(--line-2); }
.d-inv-steps .n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); font: 11px var(--mono); display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); background: var(--card); }
.d-inv-steps li.wait .n { border-color: var(--yellow); color: var(--yellow); box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.12); }
.d-inv-steps li.done .n { background: color-mix(in srgb, var(--green) 16%, transparent); border-color: color-mix(in srgb, var(--green) 50%, transparent); color: var(--green); }
.d-inv-steps .t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.d-inv-steps .t b { font-size: 13.5px; }
.d-inv-steps .t span { font-size: 12.5px; color: var(--text-3); line-height: 1.45; }
.d-inv-steps .tm { font: 11.5px var(--mono); color: var(--text-3); padding-top: 3px; white-space: nowrap; }
@media (width <= 640px) {
  .px-card.d-inv { width: 100%; padding: 18px 16px 14px; }
}
@media (height <= 520px) {
  .d-inv-steps { display: none; }
  .d-inv-b { gap: 10px; }
  .d-inv-note { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .d-inv-steps li.wait .n { box-shadow: none; }
}
.d-card .pfe-addr, .px-text .pfe-addr { overflow-wrap: anywhere; }




.cx-fin { display: flex; justify-content: flex-start; min-width: 0; padding: 8px 8px 0; }
.cx-fin .cx-sw button svg { flex: none; }


@media (width > 760px) and (height > 520px) {
  .hm-mid.hm-fin .hm-wrap { gap: 14px; padding-top: max(28px, calc(18vh - 60px)); }
}

@media (width <= 760px) {
  html:not(.th-on) .win-col:has(> .content.hm.hm-fin) > .mbar.sb-bar.sb-home { background: var(--bg); }
}
.fin-lead { margin: 4px auto 0; max-width: 56ch; text-align: center; font-size: 14px; color: var(--text-2); }

.fin-up { color: var(--green); }
.fin-dn { color: var(--red); }
.fin-num { font: 600 13.5px var(--mono); }
.fin-spark { display: block; color: var(--text-2); }
.fin-spark.fin-up { color: color-mix(in srgb, var(--green) 75%, var(--text-2)); }
.fin-spark.fin-dn { color: color-mix(in srgb, var(--red) 75%, var(--text-2)); }
.fin-note { margin: 6px 0 0; font-size: 12px; color: var(--text-3); }


.msg.fin-li { padding-top: 2px; padding-bottom: 2px; }
.fin-card { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.fin-h { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 6px; font-size: 13px; }
.fin-h b { font-weight: 600; }
.fin-h small { font-size: 12px; color: var(--text-3); }
.fin-h svg { color: var(--text-2); }


.fin-grp { display: none; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; color: var(--text-3); }
.fin-grp b { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.fin-li:has(.fin-rd):not(.fin-li:has(.fin-rd) + .fin-li) .fin-grp { display: flex; }
.fin-li:has(.fin-rd) + .fin-li:has(.fin-rd) { padding-top: 0; }
.fin-li:has(.fin-rd):has(+ .fin-li .fin-rd) { padding-bottom: 0; }
.fin-li:has(.fin-rd) + .fin-li:has(.fin-rd) .fin-rd { border-top-left-radius: 0; border-top-right-radius: 0; }
.fin-li:has(.fin-rd):has(+ .fin-li .fin-rd) .fin-rd { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 12px; }
.fin-li:has(.fin-rd) + .fin-li:has(.fin-rd) .fin-rd { position: relative; padding-top: 12px; }

.fin-li:has(.fin-rd) + .fin-li:has(.fin-rd) .fin-rd::before { content: ""; position: absolute; left: -1px; right: -1px; bottom: calc(100% + 1px); height: 24px; border: 1px solid var(--line); border-block: 0; background: var(--card); }


.fin-one { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: center; gap: 6px 24px; }
.fin-one .fin-num { font-size: 22px; letter-spacing: -0.01em; }
.fin-chart { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fin-chart .fin-spark { width: 100%; height: 46px; }
.fin-chart small { align-self: flex-end; font-size: 11.5px; color: var(--text-3); }
.fin-prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 18px; }
.fin-px { min-width: 0; }
.fin-px-t { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fin-px-t b { font-size: 13px; }
.fin-px-t small { font-size: 12px; }
.fin-px .fin-spark { margin: 4px 0; max-width: 100%; }
.fin-prices .fin-spark { width: 100%; height: 24px; }
.fin-mini { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12.5px; color: var(--text-3); }
.fin-mini b { font: 500 12.5px var(--mono); color: var(--text); }
.fin-mini b.fin-dn { color: var(--red); }
.fin-mini b.fin-up { color: var(--green); }


.fin-ev + .fin-ev { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.fin-ev-q { font-size: 13px; font-weight: 560; overflow-wrap: break-word; }
.fin-ev-q small { display: block; font-weight: 400; font-size: 11.5px; color: var(--text-3); }

.fin-odd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(56px, 120px) 52px; align-items: center; gap: 12px; max-width: 620px; padding: 4px 0; border-top: 1px solid var(--line); font-size: 13px; }
.fin-ev-q + .fin-odd { border-top: 0; }
.fin-ev.one .fin-odd { padding: 0; border-top: 0; }
.fin-ev.one .fin-ev-q small { margin-top: 1px; }
.fin-of { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; }
.fin-of .fin-note { margin: 0; flex: 1 1 200px; }
.fin-more { all: unset; box-sizing: border-box; min-height: 28px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--text-2); cursor: pointer; }
.fin-more:hover { color: var(--text); border-color: var(--line-2); }
.fin-odd > span:first-child { min-width: 0; overflow-wrap: break-word; }
.fin-odd b { font: 600 13px var(--mono); text-align: right; }
.fin-bar { display: block; height: 4px; border-radius: 2px; background: var(--raise); overflow: hidden; }
.fin-bar i { display: block; height: 100%; border-radius: 2px; background: var(--text-2); }


.fin-hl { display: block; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.35; color: var(--text); text-decoration: none; overflow-wrap: break-word; }
.fin-h + .fin-hl { border-top: 0; }
.fin-hl:hover { text-decoration: underline; }
.fin-hl small { display: block; margin-top: 1px; font-size: 11.5px; color: var(--text-3); }


.fin-ph { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.fin-pi { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--raise); color: var(--text); }
.fin-pt { flex: 1 1 220px; min-width: 0; }
.fin-pt b { display: block; font-size: 14.5px; font-weight: 600; overflow-wrap: break-word; }
.fin-pt small { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); }
.fin-stats { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-left: auto; font-size: 11.5px; color: var(--text-3); }
.fin-stats span { display: flex; flex-direction: column; }
.fin-stats b { font: 600 13px var(--mono); color: var(--text); }
.fin-stats b.fin-dn { color: var(--red); }
.fin-stats b.fin-up { color: var(--green); }
.fin-thesis { margin: 8px 0 0; font-size: 13px; color: var(--text-2); overflow-wrap: break-word; }
.fin-br { list-style: none; margin: 8px 0 0; padding: 0; }
.fin-br li { display: grid; grid-template-columns: 22px minmax(0, 1.15fr) minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.4; }
.fin-br li.fired { background: color-mix(in srgb, var(--green) 8%, transparent); border-radius: 8px; }
.fin-br li > div { min-width: 0; overflow-wrap: break-word; }
.fin-br em { font-style: normal; color: var(--text-3); }
.fin-n { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--raise); font-size: 11.5px; font-weight: 600; }
.fin-pos { margin: 6px 0 0; font-size: 13px; color: var(--text-2); }
.fin-pf { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--text-3); }
.fin-pf .fin-note { margin: 0; flex: 1 1 240px; }
.fin-err { margin: 6px 0 0; font-size: 12.5px; color: var(--red); }


.fin-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 18px; }
.fin-fact { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-top: 1px solid var(--line); font-size: 12.5px; min-width: 0; }
.fin-fact span { min-width: 0; color: var(--text-3); overflow-wrap: anywhere; }
.fin-fact b { font: 500 12.5px var(--mono); text-align: right; overflow-wrap: anywhere; }


.fin-watch { display: flex; gap: 10px; align-items: flex-start; }
.fin-watch svg { flex: none; margin-top: 2px; color: var(--yellow); }
.fin-watch.take svg { color: var(--green); }
.fin-watch.stop svg { color: var(--red); }
.fin-watch.ended svg { color: var(--text-3); }
.fin-watch b { font-size: 13.5px; }
.fin-watch p { margin: 2px 0 0; font-size: 13px; color: var(--text-2); overflow-wrap: break-word; }


.fin-home { width: 100%; max-width: 700px; margin: 6px auto 0; text-align: left; }
.fin-home h6 { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 6px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.fin-home h6 small { font-weight: 400; font-size: 12px; }

.fin-tries { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.fin-try { min-height: 30px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text-2); font: inherit; font-size: 13px; text-align: left; cursor: pointer; overflow-wrap: break-word; }
.fin-try:hover { color: var(--text); border-color: var(--line-2); }
.fin-tries > .fin-try { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; color: var(--text); font-size: 13.5px; }
.fin-tries > .fin-try:first-child { border-top: 0; }
.fin-tries > .fin-try > span { flex: 1; min-width: 0; }
.fin-tries > .fin-try > svg { flex: none; color: var(--text-3); }
.fin-tries > .fin-try:hover { background: var(--card-2); }
.fin-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fin-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; align-items: center; gap: 0 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--text); font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.fin-tile:hover { border-color: var(--line-2); }
.fin-tile b { font-size: 13px; overflow-wrap: break-word; }
.fin-tile small { font-size: 11.5px; }
.fin-tile .fin-spark { grid-column: 2; grid-row: 1 / 4; }
.fin-home-odds { padding: 6px 12px; }
.fin-wait { min-height: 220px; }
.fin-home-off { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--text-3); }
.fin-try:focus-visible, .fin-tile:focus-visible, .fin-hl:focus-visible, .fin-more:focus-visible, .fin-q:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; }


.fin-home.fit { margin: 16px 0 0; max-width: none; }
.fin-home.fit h6:first-child { margin-top: 0; }
.fin-home.fit .fin-tile { grid-template-columns: minmax(0, 1fr); }
.fin-home.fit .fin-tile .fin-spark { display: none; }
.fin-wait.fit { min-height: 180px; }



.fin-strip { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; }
.fin-q { all: unset; box-sizing: border-box; flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 12.5px; color: var(--text); white-space: nowrap; cursor: pointer; }
.fin-q b { font-weight: 600; }
.fin-q small { font-weight: 600; }
.fin-q .fin-num { font: 500 12.5px var(--mono); }
.fin-q small { font-size: 12px; }
.fin-q:hover { border-color: var(--line-2); }
.fin-qt { flex: none; margin-left: auto; padding-left: 6px; font-size: 11.5px; color: var(--text-3); white-space: nowrap; }


@container page (width <= 640px) {
  .fin-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fin-tile .fin-spark { display: none; }
  .fin-br li { grid-template-columns: 22px minmax(0, 1fr); }
  .fin-br li > div + div { grid-column: 2; }
  .fin-stats { margin-left: 0; }
  .fin-one { grid-template-columns: minmax(0, 1fr); }
  
  .fin-home:not(.fit) .fin-try:nth-child(n + 3), .fin-home:not(.fit) .fin-tile:nth-child(n + 5), .fin-home:not(.fit) .fin-hodds { display: none; }
  .fin-q:nth-of-type(n + 3), .fin-qt { display: none; }
}
@media (pointer: coarse) {
  .fin-try, .fin-tile, .fin-q, .fin-more { min-height: 44px; }
  .fin-pf .btn { min-height: 40px; }
}


.fin-rs { padding: 11px 14px 6px; }
.fin-rs-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12px; color: var(--text-3); }
.fin-rs-top > small { margin-left: auto; font-size: 11.5px; text-align: right; }
.fin-grp2 b { font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-right: 4px; }
.fin-rs-id { display: flex; align-items: baseline; gap: 8px; }
.fin-rs-id b { font-size: 13.5px; }
.fin-rs-id small { font-size: 12.5px; color: var(--text-3); }
.fin-rs-px { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 6px; }
.fin-rs-px .fin-num { font-size: 24px; letter-spacing: -0.01em; }
.fin-rs-px small { font-size: 12.5px; }
.fin-rs-rg { display: inline-flex; gap: 2px; padding: 2px; margin-bottom: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.fin-rs-rg button, .fin-chips button { border: 0; background: none; padding: 1px 9px; border-radius: 999px; font: inherit; font-size: 11.5px; color: var(--text-3); cursor: pointer; min-height: 22px; }
.fin-rs-rg button[aria-pressed="true"], .fin-chips button[aria-pressed="true"] { background: var(--raise); color: var(--text); }
.fin-chips { display: inline-flex; gap: 2px; padding: 2px; margin-left: auto; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.fin-lc { position: relative; width: 100%; }
.fin-lc svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fin-lc .ln { fill: none; stroke-width: 1.6; stroke: currentColor; }
.fin-lc .ar { fill: currentColor; opacity: 0.13; stroke: none; }
.fin-lc .zero { stroke: var(--line-2); stroke-dasharray: 3 3; stroke-width: 1; fill: none; }
.fin-lc-dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--text); pointer-events: none; }
.fin-lc-tip { position: absolute; top: -6px; transform: translate(-50%, -100%); padding: 2px 7px; border-radius: 6px; background: var(--raise); font-size: 11.5px; white-space: nowrap; pointer-events: none; }
.fin-rs-lohi { display: flex; justify-content: space-between; gap: 8px; margin: 2px 0 8px; font-size: 11.5px; color: var(--text-3); }
.fin-rs-sec { display: flex; align-items: baseline; gap: 8px; margin: 0 -14px; padding: 8px 14px 4px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.fin-rs-sec b { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.fin-rs-ind { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0 -14px 6px; }
.fin-rs-ind > div { min-width: 0; padding: 4px 8px 4px 14px; border-left: 1px solid var(--line); }
.fin-rs-ind > div:first-child { border-left: 0; }
.fin-rs-ind small { display: block; font-size: 11px; color: var(--text-3); }
.fin-rs-ind b { font: 600 12.5px var(--mono); white-space: nowrap; }
.fin-orb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 4px 0 6px; }
.fin-ob { min-width: 0; padding: 8px 10px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--card-2); }
.fin-ob.wide { grid-column: 1 / -1; }
.fin-ob h5 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.fin-callt { margin-left: auto; padding: 0 7px; border-radius: 6px; background: var(--raise); font-size: 11px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.fin-map { padding: 0 6px; border-radius: 5px; font-size: 10.5px; font-weight: 600; color: var(--yellow); background: color-mix(in srgb, var(--yellow) 18%, transparent); }
.fin-kv { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1px 10px; font-size: 12.5px; align-items: baseline; }
.fin-kv span { min-width: 0; }
.fin-kv b { font: 600 12.5px var(--mono); text-align: right; white-space: nowrap; }
.fin-kv em { font: 600 11px var(--mono); font-style: normal; color: var(--text-3); text-align: right; min-width: 30px; }
.fin-cone svg { display: block; width: 100%; height: 110px; overflow: visible; }
.fin-cone .hist { fill: none; stroke: var(--text-2); stroke-width: 1.6; }
.fin-cone .b80 { fill: color-mix(in srgb, var(--text-2) 14%, transparent); }
.fin-cone .b68 { fill: color-mix(in srgb, var(--text-2) 26%, transparent); }
.fin-cone .lb { fill: color-mix(in srgb, var(--yellow) 10%, transparent); }
.fin-cone .lp { fill: none; stroke: var(--yellow); stroke-width: 1.5; stroke-dasharray: 4 3; }
.fin-cone .now { stroke: var(--line-2); stroke-dasharray: 2 3; }
.fin-cone-k { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text-3); }
.fin-cone-l { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; font-size: 11.5px; color: var(--text-2); }
.fin-cone-l i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.fin-cone-l i.cone { background: color-mix(in srgb, var(--text-2) 40%, transparent); }
.fin-cone-l i.lad { background: var(--yellow); }
.fin-cyc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fin-cyc > div { min-width: 0; padding: 3px 4px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.fin-cyc small { display: block; font-size: 10.5px; color: var(--text-3); }
.fin-let { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fin-let > div { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; }
.fin-let .L { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 700 16px var(--mono); background: var(--raise); }
.fin-let small { display: block; font-size: 11px; color: var(--text-3); }
.fin-orb-n { margin: 0 0 6px; }
.fin-cmp-who { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.fin-cmp-who > span { display: inline-flex; align-items: baseline; gap: 6px; padding: 2px 10px 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; }
.fin-cmp-who i { width: 8px; height: 8px; border-radius: 50%; align-self: center; }
.fin-cmp { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 6px 0 2px; }
.fin-cmp th, .fin-cmp td { padding: 4px 0; border-top: 1px solid var(--line); text-align: right; font-weight: 400; }
.fin-cmp thead th { border-top: 0; font-size: 12px; font-weight: 600; color: var(--text-2); }
.fin-cmp th:first-child, .fin-cmp td:first-child { text-align: left; color: var(--text-3); }
.fin-cmp td b { font: 600 12.5px var(--mono); }
.fin-tag { display: inline-block; padding: 0 6px; margin-right: 6px; border-radius: 5px; background: var(--raise); font: 600 11px var(--mono); color: var(--text-2); }
.fin-heat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 4px 0 8px; }
.fin-heat button { min-width: 0; padding: 7px 9px; border: 1px solid var(--line); border-radius: 10px; text-align: left; font: inherit; color: var(--text); cursor: pointer; min-height: 44px; }
.fin-heat button[aria-pressed="true"] { outline: 2px solid var(--text-2); outline-offset: -2px; }
.fin-heat b { display: block; font-size: 12.5px; }
.fin-heat small { display: block; font: 600 12px var(--mono); }
.fin-heat span { display: block; font-size: 11px; color: var(--text-3); }
.fin-heat-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 12.5px; }
.fin-heat-pick .fin-try { margin-left: auto; }
.fin-hmv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.fin-home h6.fin-hmv-h { align-items: center; }
.fin-hmv-h .fa-tabs { display: none; margin: 0 0 0 auto; }
.fin-hmv .fin-card { padding: 4px 10px; }
.fin-hmv-r { display: grid; grid-template-columns: minmax(0, 1fr) auto 54px; gap: 8px; align-items: baseline; width: 100%; padding: 4px 0; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; font-size: 12.5px; color: var(--text); text-align: left; cursor: pointer; }
.fin-hmv-r:first-child { border-top: 0; }
.fin-hmv-r small { font-size: 11.5px; color: var(--text-3); }
.fin-hmv-r > small { font: 600 11.5px var(--mono); text-align: right; }
.fin-hmv-r > small.fin-up { color: var(--green); }
.fin-hmv-r > small.fin-dn { color: var(--red); }
@media (width <= 640px) {
  .fin-rs-ind { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fin-rs-ind > div:nth-child(4) { border-left: 0; }
  .fin-rs-ind > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .fin-orb { grid-template-columns: 1fr; }
  .fin-heat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fin-hmv { grid-template-columns: 1fr; }
  .fin-hmv-h .fa-tabs { display: inline-flex; }
  .fin-hmv[data-on="up"] > [data-list="down"], .fin-hmv[data-on="down"] > [data-list="up"] { display: none; }
  .fin-let { grid-template-columns: 1fr; }
}


.fin-card.fa { padding: 0; overflow: hidden; }
.fa-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }
.fa-top > b { color: var(--text-2); font-weight: 600; }
.fa-title { min-width: 0; overflow-wrap: anywhere; }
.fa-road { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.fa-road i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.fa-road.live i { background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 22%, transparent); }
.fa-t { margin-left: auto; font: 11.5px var(--mono); }
.fa-head { display: flex; align-items: flex-end; gap: 6px 14px; flex-wrap: wrap; padding: 10px 14px 6px; }
.fa-nm { font-size: 13px; color: var(--text-2); }
.fa-nm b { margin-right: 4px; font-size: 15px; color: var(--text); }
.fa-px { font: 600 24px/1.15 var(--mono); letter-spacing: -0.4px; }
.fa-head small.fin-up, .fa-head small.fin-dn { font: 600 13.5px var(--mono); }
.fa-kv { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 14px; margin-left: auto; font-size: 12px; color: var(--text-3); }
.fa-kv b { margin-left: 4px; font: 500 12.5px var(--mono); color: var(--text-2); }
.fa-kv small { flex-basis: 100%; text-align: right; font-size: 11px; }
.fa-sec { padding: 10px 14px; border-top: 1px solid var(--line); }
.fa-sec.fa-sub { padding-bottom: 6px; }
.fa-sec h4, .fa-tile h5 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
.fa-tile h5 { text-transform: none; letter-spacing: 0; font-size: 12.5px; color: var(--text-2); }
.fa-tag { margin-left: auto; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-3); white-space: nowrap; }
.fa-tag.ok { color: var(--green); border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
.fa-tag.un { color: var(--yellow); border-color: color-mix(in srgb, var(--yellow) 45%, var(--line)); }

.fa-tabs { display: flex; gap: 2px; margin: 4px 14px 2px; padding: 3px; border: 1px solid var(--sw-line); border-radius: 10px; background: var(--sw-bg); }
.fa-tabs button { flex: 1 1 0; min-width: 0; min-height: 30px; padding: 0 8px; border: 0; border-radius: 7px; background: none; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 500; line-height: 1.2; cursor: pointer; }
.fa-tabs button:hover { color: var(--text); }
.fa-tabs button[aria-selected="true"] { background: var(--sw-on); color: var(--text); font-weight: 600; box-shadow: var(--sw-lift); }
.fa-tabs button:focus-visible { outline: 2px solid var(--text-2); outline-offset: 1px; }
.fin-hmv-h .fa-tabs button { flex: none; min-height: 26px; padding: 0 10px; font-size: 12px; }
.fa-pane { min-width: 0; }
.fa-pane:not([data-on]) { display: none; }
@media (pointer: coarse) { .fa-tabs button { min-height: 40px; } .fin-hmv-h .fa-tabs button { min-height: 36px; } }
.fa-line { margin: 2px 0; font-size: 12.5px; color: var(--text-2); }
.fa-line b { color: var(--text); }
.fa-chart svg { display: block; width: 100%; height: 130px; }
.fa-chart .px { fill: none; stroke: var(--text); stroke-width: 1.6; }
.fa-chart .b68 { fill: color-mix(in srgb, var(--text-2) 26%, transparent); }
.fa-chart .b80 { fill: color-mix(in srgb, var(--text-2) 13%, transparent); }
.fa-chart .now { stroke: var(--line-2); stroke-dasharray: 3 3; }
.fa-legend { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 2px; font-size: 11.5px; color: var(--text-3); }
.fa-legend i { display: inline-block; width: 10px; height: 8px; margin-right: 4px; border-radius: 2px; }
.fa-legend i.px { background: var(--text); }
.fa-legend i.b68 { background: color-mix(in srgb, var(--text-2) 45%, transparent); }
.fa-legend i.b80 { background: color-mix(in srgb, var(--text-2) 20%, transparent); }

.ax { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 6px; }
.ax-plot { min-width: 0; }
.ax-y { position: relative; font: 10.5px var(--mono); color: var(--text-3); font-variant-numeric: tabular-nums; }
.ax-y span { position: absolute; left: 0; transform: translateY(-50%); white-space: nowrap; line-height: 1; }
.ax-x { position: relative; height: 16px; font-size: 10.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ax-x span { position: absolute; top: 3px; transform: translateX(-50%); white-space: nowrap; line-height: 1; }
.ax-x span.lo { transform: none; }
.ax-x span.hi { transform: translateX(-100%); }
.fa-chart .grid, .fin-lc .grid { fill: none; stroke: var(--line); stroke-width: 1; }
.fa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.fa-tile { min-width: 0; padding: 10px 14px; background: var(--card); }
.fa-tile.tall { grid-row: span 2; }
.fa-tg { display: flex; flex-direction: column; gap: 1px; margin-top: 4px; font-size: 12.5px; }
.fa-tg div { display: flex; justify-content: space-between; gap: 8px; }
.fa-tg div > span:first-child { color: var(--text-3); }
.fa-tg .took { text-decoration: line-through; color: var(--text-3); }
.fa-cyc { display: flex; flex-direction: column; }
.fa-cy { display: grid; grid-template-columns: 96px repeat(3, minmax(0, 1fr)); gap: 4px 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.fa-cy:first-child { border-top: 0; }
.fa-cy > div { display: flex; flex-direction: column; min-width: 0; }
.fa-cy small { font-size: 10.5px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-3); }
.fa-cy b { font: 600 12.5px var(--mono); }
.fa-cy em { font: normal 12px var(--mono); color: var(--yellow); }
.fa-cy-tf b { font-family: inherit; font-size: 13px; }
.fa-cy-w { grid-column: 2 / span 2; color: var(--text-2); }
.fa-cy-w + .fa-cy-w { grid-column: 4; }
.fa-in { padding: 4px 14px 10px; }
.fa-in .fin-card { padding: 0; border: 0; background: none; }
.fa-in .fin-grp, .fa-in .fin-h, .fa-in .fin-grp2, .fa-in .fin-rs-top > small { display: none; }
.fa-foot { padding: 7px 14px; border-top: 1px solid var(--line); background: var(--card-2); font-size: 11.5px; color: var(--text-3); }
@container page (width <= 640px) {
  .fa-grid { grid-template-columns: minmax(0, 1fr); }
  .fa-tile.tall { grid-row: auto; }
  .fa-kv { justify-content: flex-start; margin-left: 0; }
  .fa-kv small { text-align: left; }
  .fa-px { font-size: 21px; }
  .fa-cy { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 10px; }
  .fa-cy > .fa-cy-tf { grid-column: 1 / -1; flex-direction: row; gap: 8px; align-items: baseline; }
  .fa-cy-w, .fa-cy-w + .fa-cy-w { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .fa-cy em { display: block; }
}



.plan { margin: 2px 0 12px; padding: 10px 12px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); max-width: 560px; }
.plan-h { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.plan-h .faint { font-weight: 400; font-variant-numeric: tabular-nums; }
.plan ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.plan-i { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: start; gap: 10px; padding: 4px 0; font-size: 13.5px; line-height: 1.4; color: var(--text); }
.plan-b { width: 14px; height: 14px; margin-top: 2px; border: 1.5px solid var(--line-2); border-radius: 3px; display: grid; place-items: center; }
.plan-b svg { width: 11px; height: 11px; stroke-width: 2; }
.plan-i.done .plan-b { border-color: rgba(var(--acc-rgb), 0.7); background: rgba(var(--acc-rgb), 0.16); color: var(--acc); }
.plan-i.done .plan-t { color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--line-2); }
.plan-i.doing .plan-b { border-color: rgba(var(--acc-rgb), 0.7); }
.plan-i.doing .plan-b::after { content: ""; width: 6px; height: 6px; background: var(--acc); }
.plan.live .plan-i.doing .plan-b::after { animation: plan-on 0.86s steps(2, jump-none) infinite; }
@keyframes plan-on { from { opacity: 1; } to { opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) { .plan.live .plan-i.doing .plan-b::after { animation: none; } }


.ans-act .ans-forge { color: var(--text-2); }

.ans-act .ans-loop { color: var(--text-2); }
.ans-act .ans-loop svg { color: var(--yellow); }
.light .ans-act .ans-loop svg { color: var(--yellow); }
@container page (width <= 400px) {
  .ans-act { flex-wrap: wrap; }
}


.rpt-bar { display: flex; flex-direction: column; gap: 6px; }
.rpt { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 40px; padding: 4px 6px 4px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 13px; }
.rpt > svg { color: var(--acc); }
.rpt-t { min-width: 0; white-space: normal; overflow-wrap: break-word; }
.rpt-t b { font-weight: 600; }
.rpt-q { color: var(--text-2); }
.rpt-n { font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rpt-stop { min-height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 9px; background: transparent; color: var(--text); font: inherit; font-size: 12.5px; }
.rpt-stop:hover { background: var(--card-2); }
.you-rep { display: inline-flex; align-items: center; gap: 5px; align-self: flex-end; margin-bottom: 4px; font-size: 12px; color: var(--text-3); }
.you-rep svg { width: 13px; height: 13px; }
@container page (width <= 640px) {
  .rpt { grid-template-columns: 16px minmax(0, 1fr) auto; }
  .rpt-n { display: none; }
}
@media (pointer: coarse) { .rpt-stop { min-height: 44px; } }



.hpn { position: sticky; top: 58px; z-index: 3; align-self: flex-end; width: 264px; height: 0; margin-bottom: -16px; }
.hpn[hidden] { display: none; }
.hpn-tab { gap: 6px; }
.hpn-tab svg { width: 14px; height: 14px; flex: none; }
.hpn-tab-c { color: var(--text-3); font-variant-numeric: tabular-nums; }
.hpn-tab[aria-expanded="true"] { background: var(--card); color: var(--text); }
.hpn-card { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 12px; display: flex; flex-direction: column; gap: 10px; max-height: calc(100dvh - 220px); overflow: auto; }
.hpn-head { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.hpn-title { font-size: 14px; font-weight: 600; color: var(--text); }
.hpn-count { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.hpn-x { margin-left: auto; width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--text-3); cursor: pointer; }
.hpn-x:hover { background: var(--raise); color: var(--text); }
.hpn-x svg { width: 13px; height: 13px; }
.hpn-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hpn-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; column-gap: 8px; row-gap: 1px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.hpn-row:first-child { border-top: 0; }
.hpn-mark { grid-row: 1; display: grid; place-items: center; width: 18px; height: 18px; color: var(--text-3); }
.hpn-mark svg { width: 13px; height: 13px; }
.hpn-row.is-done .hpn-mark { color: var(--green-text); }
.hpn-row.is-bad .hpn-mark { color: var(--red); }

.hpn-row.is-asked .hpn-mark { color: var(--text-3); }

.hpn-who { min-width: 0; font-size: 13.5px; color: var(--text); overflow-wrap: anywhere; }

.hpn-on { color: var(--text-2); }
.hpn-time { font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hpn-does, .hpn-task { grid-column: 2 / 4; min-width: 0; font-size: 12.5px; line-height: 1.35; color: var(--text-2); overflow-wrap: anywhere; }

.hpn-task { color: var(--text-3); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hpn-ring { width: 12px; height: 12px; box-sizing: border-box; border: 1.5px solid var(--line-2); border-top-color: var(--text); border-radius: 50%; animation: hpn-turn 0.9s linear infinite; flex: none; }
@keyframes hpn-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hpn-ring { animation: none; } }
.hpn-none { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--text-3); }
.hpn-sws { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
.hpn-sw { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 44px; padding: 6px 46px 6px 8px; margin: 0 -8px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.hpn-sw:hover { background: var(--card-2); }
.hpn-sw-n { font-size: 13.5px; color: var(--text); display: inline-flex; align-items: baseline; gap: 6px; }
.hpn-sw-n em { font-style: normal; font-size: 12px; color: var(--text-3); font-family: var(--mono); }
.hpn-sw-d { font-size: 12.5px; line-height: 1.3; color: var(--text-3); }
.hpn-sw.wait .hpn-sw-d { color: var(--yellow); }
.hpn-knob { position: absolute; right: 8px; top: 50%; width: 30px; height: 18px; margin-top: -9px; box-sizing: border-box; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); transition: background 0.12s; }
.hpn-knob::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--text-3); transition: transform 0.12s, background 0.12s; }
.hpn-sw.on .hpn-knob { background: var(--btn-bg); border-color: var(--btn-bg); }
.hpn-sw.on .hpn-knob::after { transform: translateX(12px); background: var(--btn-fg); }
@media (prefers-reduced-motion: reduce) { .hpn-knob, .hpn-knob::after { transition: none; } }



.hpn-over { position: static; width: auto; z-index: 40; }
.hpn-over .hpn-card { position: fixed; top: 54px; right: 12px; z-index: 40; width: 264px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 140px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28); }
.hpn-scrim { position: fixed; inset: 0; z-index: 39; border: 0; padding: 0; background: transparent; cursor: default; }

.hpn-over:popover-open { position: fixed; inset: 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; overflow: visible; }
.hpn-over::backdrop { background: transparent; }


@media (width <= 640px) {
  .hpn-tab-c { display: none; }
  .hpn-over .hpn-card { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-width: none; max-height: 70dvh; border-radius: 16px 16px 0 0; border-width: 1px 0 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
  .hpn-scrim { background: rgba(0, 0, 0, 0.42); }
  .hpn-sw { min-height: 48px; }
}


html.landing .door.px > .px-field, html.landing .door.px > .px-c { opacity: 0; transition: opacity 0.18s ease-in; }
html.landing .door.px > .px-main { opacity: 0; transform: translateY(10px) scale(0.985); transition: opacity 0.18s ease-in, transform 0.18s ease-in; }
html.landing .app { animation: hm-land 0.32s ease-out both; }
@keyframes hm-land {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.landing .door.px > * { transition: none; }
  html.landing .app { animation: none; }
}


.content.hm { flex: 1 1 auto; padding-top: 0; padding-bottom: 0; }
.hm-wrap { flex: 1 1 auto; width: 100%; max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; padding: 76px 0 0; }
.hm-end { display: contents; }
.hm-hi h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.hm .composer-dock { margin-top: auto; }

@media (width > 760px) and (height > 520px) {
  
  .hm-mid .hm-wrap { gap: 22px; padding: calc(38vh - 60px) 0 32px; }
  .hm-mid .hm-hi { text-align: center; }
  .hm-mid .composer-dock { position: relative; bottom: auto; margin-top: 0; padding: 0; background: none; }
  html.kb-up .hm-mid .composer-dock { bottom: auto; margin-bottom: 0; padding: 0; background: none; }
}

@media (width <= 760px), (height <= 520px) {
  .hm-wrap { gap: 22px; padding: 22px 0 0; }
  .hm-hi h1 { font-size: 25px; }
  .hm-mid .hm-wrap { gap: 10px; }
  .hm-mid .hm-hi { margin-top: auto; text-align: center; }
  .hm-mid .hm-news { order: 1; margin-bottom: auto; }
  .hm-mid .composer-dock { order: 2; }
}


.hm-news h2, .hm-news h3 { margin: 0; }
.hm-news-k { font-size: 13px; font-weight: 500; color: var(--text-3); }
.hm-news-t { margin-top: 10px; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--text); }
.hm-news-lines { display: flex; flex-direction: column; gap: 6px; max-width: 62ch; margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; color: var(--text-2); overflow-wrap: anywhere; }
.hm-news-all { display: inline-flex; align-items: center; min-height: 32px; margin-top: 8px; font-size: 13px; color: var(--text-3); text-decoration: none; }
.hm-news-all:hover { color: var(--text); }
.hm-news-all:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; border-radius: 6px; }

.hm-news-one { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.hm-news-line { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--text-2); font: inherit; font-size: 13.5px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hm-news-line .hm-news-k { flex: none; font-size: inherit; font-weight: 400; }
.hm-news-line:hover, .hm-news-line:hover .hm-news-k { color: var(--text); }
.hm-news-line:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; }
.hm-news-h { min-width: 0; white-space: normal; overflow-wrap: break-word; }
.hm-news-line svg { flex: none; color: var(--text-3); transition: transform 0.15s ease; }
.hm-news-line[aria-expanded="true"] svg { transform: rotate(90deg); }
.hm-news-body { width: 100%; max-width: 560px; margin-top: 6px; }
.hm-news-body .hm-news-lines { margin-top: 0; }

@media (width <= 760px), (pointer: coarse) {
  .hm-news-line { min-height: 44px; }
  .hm-news-all { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-news-line svg { transition: none; }
}


.hm-news-line { flex-wrap: wrap; justify-content: center; row-gap: 2px; }
.hm-news-h { flex: 1 1 0; min-width: min(12ch, 100%); }


.hm-mark { display: none; }
.cx-i-clip, .cx-i-plus { display: contents; }
.cx-i-plus { display: none; }
@media (width <= 760px) {
  .mbar.sb-bar.sb-home { border-bottom: 0; background: transparent; }
  .mbar.sb-bar.sb-home > :is(.sb-title, a.sb-mb, span.sb-mb.off) { display: none; }
  .mbar.sb-bar.sb-home > .sb-eye { margin-left: auto; }
  .mbar.sb-bar.sb-home > .sb-mb { color: var(--text-2); }

  .content.hm.hm-mid .hm-wrap { gap: 4px; padding-top: 0; }
  .content.hm.hm-mid .hm-hi { margin-top: 17vh; margin-top: 17dvh; text-align: center; }
  .content.hm .hm-hi h1 { font-size: 27px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
  .content.hm .hm-mark { display: inline-block; width: 30px; height: 30px; margin: -4px 9px 0 0; vertical-align: middle; }
  .content.hm.hm-mid .hm-news { margin-top: 2px; }
  .content.hm .hm-news-line { font-size: 13px; color: var(--text-3); }

  .content.hm .composer-dock { padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
  .content.hm .composer.cx { background: none; border-color: transparent; border-radius: 0; box-shadow: none; }
  .content.hm .composer.cx::before { content: ""; position: absolute; inset: 0 0 48px; border-radius: 22px; background: var(--box, var(--card-2)); border: 1px solid var(--line-2); pointer-events: none; }
  .content.hm .composer.cx:focus-within::before { border-color: var(--text-3); }
  .content.hm .composer.cx > :is(textarea, .foot, .cx-polnote, .cx-privnote, .cx-picked, .cx-qs) { position: relative; }
  .content.hm .composer.cx textarea { padding: 14px 16px 0; }
  .content.hm .composer.cx .foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-rows: 44px 36px; row-gap: 18px; column-gap: 4px; align-items: center; padding: 2px 6px 0 8px; }
  .content.hm .composer.cx .foot > .grow { display: none; }
  .content.hm .composer.cx .foot > .cx-ics { grid-area: 1 / 1; }
  .content.hm .composer.cx .foot > .cx-pol { grid-area: 1 / 3; justify-self: end; }
  .content.hm .composer.cx .foot > .att-wait { grid-area: 1 / 2; justify-self: end; }
  .content.hm .composer.cx .foot > :is(.cx-send, .cx-queue) { grid-area: 1 / 4; margin-left: 0; }
  .content.hm .composer.cx .foot > .mk.prj { grid-area: 2 / 1 / 3 / 3; justify-self: start; }
  .content.hm .composer.cx .foot > .mk.hw { grid-area: 2 / 3; justify-self: end; }
  .content.hm .composer.cx .foot > .em { grid-area: 2 / 4; justify-self: end; min-height: 36px; padding: 0; }
  .content.hm .cx-i-clip { display: none; }
  .content.hm .cx-i-plus { display: contents; }
  .content.hm .cx-plus { width: 40px; height: 40px; border-radius: 50%; color: var(--text); }
  .content.hm .cx-plus svg { width: 20px; height: 20px; }
  .content.hm .cx-send { width: 36px; height: 36px; margin-right: 4px; }
  .content.hm .cx-send:disabled { background: none; }
  .content.hm .composer.cx .foot .mk-btn { height: 36px; padding: 0 8px; gap: 5px; border: 0; background: none; color: var(--text); font-size: 14px; }
  .content.hm .composer.cx .foot .prj-btn > svg:first-child, .content.hm .composer.cx .foot .hw-chip canvas, .content.hm .composer.cx .foot .hw-chip > svg { display: none; }
  .content.hm .composer.cx .foot .prj-btn .prj-name { display: inline; font-weight: 400; }
  .content.hm .composer.cx .foot .prj-btn > svg:last-child { width: 13px; height: 13px; color: var(--text-2); transform: rotate(90deg); }
  .content.hm .composer.cx .foot .hw-words { display: inline-flex; align-items: baseline; gap: 7px; }
  .content.hm .composer.cx .foot .mk-btn.hw-chip .hw-mn { display: inline; font-weight: 500; }
  .content.hm .composer.cx .foot .hw-ef, .content.hm .composer.cx .foot .hw-lv { color: var(--text-2); font-weight: 400; }
  .content.hm .composer.cx .foot .mk-btn.hw-chip .hw-lv { display: inline; }
  .content.hm .composer.cx .foot .hw-lv::before { content: none; }
  .content.hm .composer.cx .foot > .em .em-when { display: none; }
  .content.hm .composer.cx .foot > .em .em-btn { padding: 0 6px; min-height: 36px; }
}


.vx { --k-wait: #8d939e; --k-read: #8e9bff; --k-think: #3987e5; --k-tool: #199e70; --k-write: #d95926; display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 13px; }

.vx.vx-going { overflow: hidden; opacity: 0; margin-bottom: 0; transition: height 0.24s ease, opacity 0.18s ease, margin 0.24s ease; }
@media (prefers-reduced-motion: reduce) {
  .vx.vx-going { transition: none; }
}
.light .vx, .cust-light .vx { --k-wait: #8a919c; --k-read: #5b67d8; --k-think: #2a78d6; --k-tool: #1baf7a; --k-write: #eb6834; }
.vx .k-think, .vx.k-think { --kc: var(--k-think); }
.vx .k-wait, .vx.k-wait { --kc: var(--k-wait); }
.vx .k-read, .vx.k-read { --kc: var(--k-read); }
.vx .k-tool, .vx.k-tool { --kc: var(--k-tool); }
.vx .k-write, .vx.k-write { --kc: var(--k-write); }

.vx { --lk-blue: #4DA3FF; }
.light .vx, .cust-light .vx { --lk-blue: #1F6FD0; }
.vx .t-wait { --kc: var(--k-wait); }
.vx .t-think { --kc: var(--text); }
.vx .t-read { --kc: var(--lk-blue); }
.vx .t-change { --kc: var(--red); }
.vx .t-write { --kc: var(--green); }
.vx .s-past { --kc: var(--yellow); }
.vx .s-bad { --kc: var(--red); }
.vx .s-stopped { --kc: var(--text-3); }
.vx button { cursor: pointer; -webkit-tap-highlight-color: transparent; font: inherit; }
.vx-ring { display: block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--kc, var(--text-3)) 28%, transparent); border-top-color: var(--kc, var(--text-2)); animation: vx-spin 0.9s linear infinite; transition: border-color 0.3s; }
@keyframes vx-spin { to { transform: rotate(360deg); } }
.vx-hi { display: grid; place-items: center; width: 14px; height: 14px; flex: none; color: var(--text-3); }
.vx-hi svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.vx.open .vx-hi svg { transform: rotate(90deg); }


.vx-hrow { position: sticky; top: var(--vx-top, 48px); z-index: 4; display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 36px; margin: 0 -6px; padding: 0 6px; background: var(--bg); }
html.pane .vx-hrow { --vx-top: 0px; }
.vx-h { display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 28px; margin-left: -6px; padding: 0 8px 0 6px; border: 0; border-radius: 7px; background: none; color: var(--text-2); font-size: 13px; text-align: left; }
.vx-h:hover { background: var(--card); color: var(--text); }
.vx.live .vx-h { color: var(--text); }
.vx-ht { min-width: 0; white-space: normal; font-variant-numeric: tabular-nums; overflow-wrap: break-word; }
.vx-usual { color: var(--text-3); }


.vx-need { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 9px; margin: 2px 0 4px; padding: 11px 13px; border: 1px solid color-mix(in srgb, var(--yellow) 34%, var(--line)); border-radius: 12px; background: color-mix(in srgb, var(--yellow) 7%, var(--card)); font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.vx-need svg { width: 16px; height: 16px; margin-top: 2px; color: var(--yellow); }
.vx-need p { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.vx-need b { display: block; font-size: 14px; font-weight: 600; color: var(--text); }


.vx-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); }
.vx.open > .vx-fold { grid-template-rows: 1fr; }
.vx-foldi { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 6px; }
.vx.open .vx-foldi { overflow: visible; }


.vx-rows { list-style: none; margin: 2px -6px 0; padding: 0; display: flex; flex-direction: column; }
.vx-rb { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; width: 100%; min-height: 28px; padding: 4px 6px; border: 0; border-radius: 7px; background: transparent; color: var(--text-2); font-size: 13px; line-height: 1.45; text-align: left; }
button.vx-rb:hover, .vx-row.sel > .vx-rb { background: var(--card); }
button.vx-rb:focus-visible { outline: 2px solid var(--line-2); outline-offset: -2px; }

.vx-mk { align-self: center; position: relative; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: color-mix(in srgb, var(--kc, var(--text-3)) 78%, var(--text-2)); background: color-mix(in srgb, var(--kc, var(--text-3)) 13%, var(--card)); transition: color 0.3s, background 0.3s; }
.vx-mk svg { width: 11px; height: 11px; stroke-width: 1.6; }
.vx-mk .vx-ring { width: 10px; height: 10px; }
.vx-todo .vx-mk { background: none; }
.vx-open { display: block; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--text-3); }
.vx-l { min-width: 0; overflow-wrap: anywhere; }
.vx-l b { font-weight: 500; color: var(--text); }
.vx-s, .vx-n { color: var(--text-3); }
.vx-n { font-variant-numeric: tabular-nums; }

.vx-row.s-past .vx-mk { color: var(--yellow); background: none; }
.vx-row.s-bad .vx-mk { color: var(--red); background: none; }
.vx-todo .vx-rb { min-height: 25px; }


.vx-hosts, .vx-think, .vx-tail, .vx-x { margin-left: 44px; margin-right: 6px; }
.vx-hosts { display: flex; flex-wrap: wrap; gap: 0 2px; margin-top: -2px; margin-bottom: 4px; font-size: 12px; line-height: 1.5; color: var(--text-3); }
.vx-host { font-style: normal; }
.vx-host + .vx-host::before { content: "· "; color: var(--text-3); }
.vx-host.run { color: var(--text); animation: vx-breathe 1.4s ease-in-out infinite; }

@keyframes vx-breathe { 50% { opacity: 0.6; } }
.vx-host.bad { color: var(--red); }
.vx-host.skip { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--yellow) 70%, transparent); }
.vx-host.instead { color: color-mix(in srgb, var(--yellow) 85%, var(--text-3)); }
.vx-think.sx-tl { max-height: 4.6em; margin-top: 0; margin-bottom: 6px; }
.vx-tail { display: flex; flex-direction: column; justify-content: flex-end; max-height: 6.2em; margin-top: 0; margin-bottom: 6px; padding: 6px 8px; overflow: hidden; border-radius: 7px; background: var(--card-2); color: var(--text-3); font: 11.5px/1.45 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.vx-x { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin-bottom: 8px; padding: 3px 0 4px 11px; border-left: 1px solid var(--line-2); font-size: 12.5px; line-height: 1.55; color: var(--text-2); }
.vx-found { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.vx-found.bad { color: var(--red); }
.vx-meta { font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.vx-id { font-family: var(--mono); }
.vx-lead { display: flex; flex-direction: column; gap: 4px; }
.vx-pages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.vx-pages li { display: flex; flex-direction: column; color: var(--text); overflow-wrap: anywhere; }
.vx-thought { max-height: 240px; overflow: auto; overscroll-behavior: contain; scrollbar-width: none; color: var(--text-3); }
.vx-thought::-webkit-scrollbar { display: none; }
.vx-thought .md { font-size: 12.5px; line-height: 1.55; color: var(--text-3); }
.vx-thought .md > * + * { margin-top: 6px; }


.vx-sh { display: block; font-size: 12px; font-weight: 500; color: var(--text-3); }
.vx-plan { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; font-size: 12.5px; color: var(--text-2); }
.vx-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.vx-plan li { display: flex; align-items: center; gap: 8px; }
.vx-legend { display: flex; flex-wrap: wrap; gap: 3px 14px; padding-top: 2px; font-size: 12px; color: var(--text-3); }
.vx-lg { display: inline-flex; align-items: center; gap: 6px; }
.vx-lg i { width: 7px; height: 7px; border-radius: 50%; background: var(--kc); }
.vx-lg b { color: var(--text-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.vx-stats { font: 11.5px/1.5 var(--mono); color: var(--text-3); overflow-wrap: anywhere; }


.ec-page .split.solo.chat-col { grid-template-columns: minmax(0, 740px); }
.ec-page .chat-sec > .thread { gap: 14px; padding-top: 8px; }
.ec-page .thread > .msg.you { align-items: flex-end; gap: 2px; margin-top: 14px; padding-top: 0; border-top: 0; }
.ec-page .thread > .msg.you:first-child { margin-top: 0; padding-top: 4px; }
.ec-page .you-b, .light .ec-page .you-b, .cust-light .ec-page .you-b { max-width: min(78%, 620px); padding: 9px 15px; border-radius: 20px 20px 6px 20px; background: var(--btn-bg); color: var(--btn-fg); font-size: 15.5px; line-height: 1.45; font-weight: 400; letter-spacing: 0; }
.ec-page .you-b.is-cmd { padding: 8px 12px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-family: var(--mono); font-size: 14px; }
.ec-page .msg.you .att-list { justify-content: flex-end; margin-top: 8px; }
.ec-page .you-act { position: static; min-height: 24px; margin: 0; }
.ec-page .you-act button { width: 24px; height: 24px; border-radius: 6px; }
.ec-page .you-t { padding-right: 4px; font-size: 11.5px; }
.ec-page .you-from, .ec-page .you-rep { align-self: flex-end; }
.ec-page .msg.you.editing { padding-top: 0; }
.ec-page .you-edit, .light .ec-page .you-edit, .cust-light .ec-page .you-edit { align-self: stretch; width: 100%; border-radius: 12px; background: var(--card); }
.ec-page .msg.ans { gap: 12px; }

.ec-page .msg.ans > .plan { display: none; }


.ec-acts { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.ec-more { min-width: 34px; justify-content: center; }
.ec-top { flex-wrap: nowrap; min-height: 48px; padding: 0 16px 0 14px; border-bottom: 1px solid var(--line); }
.ec-title { gap: 6px; min-width: 0; font-size: 14px; }
.ec-top .ec-title { flex: 0 1 auto; flex-wrap: nowrap; }
.ec-title b { min-width: 0; white-space: normal; font-weight: 600; overflow-wrap: break-word; }
.ec-home { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: var(--text-3); text-decoration: none; }
.ec-home:hover { background: var(--card); color: var(--text); }
.ec-top .hp-row { flex: none; gap: 2px; }
.ec-top .hp { min-height: 28px; padding: 0 8px; border: 0; border-radius: 7px; background: none; color: var(--text-2); font-size: 12.5px; }
.ec-top .hp:hover, .ec-top .hp[aria-expanded="true"] { background: var(--card); color: var(--text); }
.ec-top .hp-more { width: 28px; padding: 0; }


.ec-page .empty-chat { margin: auto 0 0; padding: 0 0 18px; text-align: left; }
.ec-page .empty-chat h2 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -0.012em; }


.ec-page .md { font-size: 15px; line-height: 1.64; }
.ec-page .md > .md-h { margin-top: 24px; letter-spacing: -0.006em; }
.ec-page .md-h1 { font-size: 20px; }
.ec-page .md-h2 { font-size: 17.5px; }
.ec-page .md-h3 { font-size: 15.5px; }
.ec-page .md code.inl { border-color: transparent; border-radius: 4px; padding: 1px 5px; }
.ec-page .md-quote { border-radius: 0; }
.ec-page .md > ol.md-list > li.md-titled > .md-t { font-size: 15.5px; }
.ec-page .md-tw { border-radius: 8px; background: transparent; }
.ec-page .md-table { font-size: 13.5px; }
.ec-page .md-table th { font: 500 12px/1.3 inherit; font-family: inherit; letter-spacing: 0; text-transform: none; color: var(--text-2); background: transparent; }
.ec-page .md-table tbody tr:hover td { background: transparent; }
.ec-page .md .code { border-radius: 8px; }
.ec-page .fcard, .ec-page .ans-fail { border-radius: 10px; }
.ec-page .ans-act button { border-radius: 7px; min-height: 28px; }
.ec-page .ans-act button.ic { width: 28px; }
.ec-page .ans-act .meta { font-size: 12px; color: var(--text-3); }


.ec-page .composer.cx { border-radius: 14px; box-shadow: none; }
.ec-page .composer.cx textarea { min-height: 40px; padding: 12px 14px 2px; font-size: 15px; line-height: 1.5; }

@media (pointer: coarse) { .ec-page .composer.cx textarea { font-size: 16px; } }
.ec-page .composer.cx .foot { gap: 2px; padding: 4px 6px 6px; }
.ec-page .cx-plus { width: 30px; height: 30px; border-radius: 7px; }
.ec-page .cx-plus svg { width: 16px; height: 16px; }
.ec-page .cx-plus:hover { background: var(--raise); }
.ec-page .composer .foot .mk-btn { height: 30px; border-radius: 7px; background: transparent; }
.ec-page .composer .foot .mk-btn:hover, .ec-page .composer .foot .mk-btn[aria-expanded="true"] { background: var(--raise); }
.ec-page .cx-send { width: 32px; height: 32px; border-radius: 9px; }
.ec-page .cx-send svg { width: 15px; height: 15px; }
.ec-page .cx-qs { border-bottom: 1px solid var(--line); }
.ec-page .composer-dock { gap: 6px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.ec-page .em-plain { align-self: center; font-size: 11.5px; color: var(--text-3); }
.ec-page .em-plain .em-pct { font-weight: 500; color: var(--text-3); }
.ec-page .cx-jump { border-radius: 9px; }


.ec-page .cx-pal, .ec-page .mk-pop, .ec-top .pop-menu, .ec-top .pop-about { border-radius: 12px; }


@media (width <= 760px) {
  
  .ec-page .composer.cx .foot { padding: 2px 4px 4px; }
}
@container page (width <= 760px) {
  .ec-top { padding: 0 8px; min-height: 44px; flex-wrap: wrap; }
  .ec-top .crumbs { display: none; }
  .ec-top > .grow { display: none; }
  .ec-top > :last-child, .ec-top .hp-row { margin-left: auto; }
  .ec-top .hp-t { display: inline; }
  .ec-top .hp-row { margin-left: auto; }
  .vx.staff .vx-rb { grid-template-columns: 26px minmax(0, 1fr) auto; }
  .vx.staff .vx-hosts, .vx.staff .vx-think, .vx.staff .vx-tail, .vx.staff .vx-x { margin-left: 44px; }
  .ec-page .composer.cx textarea { min-height: 42px; padding: 11px 13px 0; font-size: 16px; }
  .ec-page .you-b, .light .ec-page .you-b, .cust-light .ec-page .you-b { max-width: 84%; font-size: 16px; }
  .ec-page .md { font-size: 16px; }
}
@container page (width <= 400px) { .ec-top .hp-t { display: none; } }
@media (pointer: coarse) {
  .vx-rb { min-height: 44px; align-items: center; }
  .vx-h, .ec-home, .ec-top .hp { min-height: 44px; }
  .ec-home, .ec-top .hp-more { width: 44px; }
  .ec-page .cx-plus { width: 44px; height: 44px; }
  .ec-page .composer .foot .mk-btn { height: 44px; }
  .ec-page .cx-send { width: 44px; height: 44px; border-radius: 11px; }
  .ec-page .you-act { position: static; }
  .ec-page .you-act button { width: 44px; height: 44px; }
  .ec-page .ans-act button, .ec-page .ans-act button.ic { min-height: 44px; min-width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .vx-ring, .vx-seg.run, .vx-host.run { animation: none; }
  .vx-seg, .vx-fold, .vx-hi svg { transition: none; }
}



.vx .vx-h { gap: 12px; margin-left: 0; padding: 0 8px 0 0; }
.vx .vx-hi { width: 26px; height: 26px; }
.lk-sum { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0 6px 6px 38px; }
.lk-bar { display: flex; gap: 3px; height: 4px; }
.lk-bar i { min-width: 3px; border-radius: 2px; background: var(--kc); }
.lk-fb { width: 28px; padding: 0; justify-content: center; }
.vx-row { position: relative; }
.vx-row:not(:last-child)::before { content: ""; position: absolute; left: 18px; top: 34px; bottom: -6px; width: 1.5px; border-radius: 1px; background: color-mix(in srgb, var(--kc, var(--line-2)) 38%, var(--line)); }
.vx-rb { position: relative; min-height: 40px; padding: 6px; }
.vx-mk { z-index: 1; width: 26px; height: 26px; border: 1.5px solid color-mix(in srgb, var(--kc, var(--text-3)) 34%, transparent); background: color-mix(in srgb, var(--kc, var(--text-3)) 13%, var(--bg)); color: var(--kc, var(--text-3)); }
.vx-mk svg { width: 13px; height: 13px; }
.vx-mk .vx-ring { width: 12px; height: 12px; }
.vx-row.s-run .vx-mk { border-color: var(--kc); }
.vx-row.s-past .vx-mk, .vx-row.s-bad .vx-mk { background: color-mix(in srgb, var(--kc) 13%, var(--bg)); }
.vx-todo .vx-mk { border-color: transparent; background: none; }
.vx-l { align-self: center; }
.vx-l b { font-weight: 600; font-size: 14px; }
.lk-th { display: -webkit-box; margin: -6px 228px 6px 44px; overflow: hidden; color: var(--text-3); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.lk-end .vx-mk { --kc: var(--text-3); }
.lk-end .vx-s { margin-left: 4px; font-size: 12.5px; }


.lk-w { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; column-gap: 9px; width: 216px; min-height: 30px; padding: 3px 10px; border: 1px solid color-mix(in srgb, var(--kc, var(--line)) 22%, var(--line)); border-radius: 10px; background: var(--card); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.lk-p { display: flex; align-items: center; justify-content: center; height: 16px; color: var(--kc, var(--text-3)); }
.lk-p svg { width: 14px; height: 14px; }
.lk-w b { min-width: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.lk-w time { color: var(--text-3); font-size: 11.5px; }
.lk-wave { display: inline-flex; align-items: center; gap: 2.5px; height: 14px; }
.lk-wave i { width: 2.5px; border-radius: 2px; background: var(--kc); }
.lk-wave i:nth-child(1) { height: 5px; } .lk-wave i:nth-child(2) { height: 12px; } .lk-wave i:nth-child(3) { height: 7px; } .lk-wave i:nth-child(4) { height: 10px; }
.lk-dots { display: inline-flex; gap: 4px; }
.lk-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--kc); }
.lk-mbar { display: block; width: 38px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--kc) 22%, transparent); }
.lk-mbar i { display: block; height: 100%; border-radius: 3px; background: var(--kc); }
.lk-split { display: flex; gap: 1px; width: 38px; height: 5px; }
.lk-split i { border-radius: 2px; }
.lk-split .a { background: var(--green); }
.lk-split .d { background: var(--red); }
.lk-rg { display: block; color: var(--text-2); }
.lk-spin { display: block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--kc, var(--text-3)) 28%, transparent); border-top-color: var(--kc, var(--text-2)); animation: vx-spin 0.9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .lk-spin { animation: none; } }


.ec-page .msg.ans > .md, .ec-page .fl > .md { width: fit-content; max-width: 100%; min-width: 0; padding: 14px 20px; border-radius: 20px; background: var(--raise); }
.ec-page .msg.ans:has(> .vx) > .md, .ec-page .fl:has(> .rh) > .md { max-width: calc(100% - 38px); margin-left: 38px; }
.ec-page .msg.ans > .md:has(.md-tw, .code), .ec-page .fl > .md:has(.md-tw, .code) { width: 100%; }
.ec-page .msg.ans:has(> .vx) > .md:has(.md-tw, .code), .ec-page .fl:has(> .rh) > .md:has(.md-tw, .code) { width: calc(100% - 38px); }
.ec-page .fl > .md:has(.stg-slot) { width: 100%; padding: 0; border-radius: 0; background: none; }
.ec-page .msg.ans > .md > * + *, .ec-page .fl > .md > * + * { margin-top: 12px; }
.ec-page .msg.ans:has(> .vx) > :is(.ans-act, .att-list, .fcard), .ec-page .msg.ans:has(.fl > .rh) > :is(.ans-act, .att-list, .fcard) { margin-left: 38px; }

.ec-page .msg.ans:has(.vx.open .lk-end) .ans-act .meta.only-t, .ec-page .msg.ans:has(.fold:not(.shut) .lk-end) .ans-act .meta.only-t { display: none; }

@container page (width <= 640px) {
  .lk-w { width: 166px; grid-template-columns: 26px minmax(0, 1fr) auto; column-gap: 7px; padding: 3px 9px; }
  .lk-mbar, .lk-split { width: 26px; }
  .lk-dots { gap: 3px; }
  .lk-dots i { width: 5px; height: 5px; }
  .lk-th { margin-right: 6px; }
}
@container page (width <= 400px) {
  .lk-w { width: auto; grid-template-columns: auto; padding: 3px 9px; }
  .lk-w .lk-p, .lk-w time { display: none; }
  .ec-page .msg.ans:has(> .vx) > .md, .ec-page .fl:has(> .rh) > .md { max-width: 100%; margin-left: 0; }
  .ec-page .msg.ans:has(> .vx) > .md:has(.md-tw, .code), .ec-page .fl:has(> .rh) > .md:has(.md-tw, .code) { width: 100%; }
  .ec-page .msg.ans:has(> .vx) > :is(.ans-act, .att-list, .fcard), .ec-page .msg.ans:has(.fl > .rh) > :is(.ans-act, .att-list, .fcard) { margin-left: 0; }
}


.em { display: flex; align-items: center; gap: 7px; min-height: 18px; padding: 0 6px; font: 12px/1.2 var(--mono); color: var(--text-3); white-space: nowrap; }
.em-bar { color: var(--text-3); letter-spacing: 0.02em; }
.em-bar i { font-style: normal; display: inline-block; width: 0.62em; text-align: center; opacity: 0.55; }
.em-bar i.f, .em-bar i.p, .em-bar i.e { opacity: 1; }
.em-bar i.f { color: #B9CCE3; }
.em-bar i.p, .em-bar i.e { color: #E2A660; }
.em-t { min-width: 0; white-space: normal; overflow-wrap: break-word; }
.em-pct { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.em-live b { color: var(--text-2); font-weight: 600; }
.em-live { color: var(--ff); font-variant-numeric: tabular-nums; }
.em.warn .em-bar i.f, .em.warn .em-pct, .em.stop .em-bar i.f, .em.stop .em-pct { color: var(--yellow); }

.em.extra .em-bar i.f { color: var(--peri); }
.light .em-bar i.f, .cust-light .em-bar i.f { color: #4E6A8C; }
.light .em-bar i.p, .light .em-bar i.e, .light .em-live, .cust-light .em-bar i.p, .cust-light .em-bar i.e, .cust-light .em-live { color: #A86A1E; }
.cl-limit.tm-limit { margin-top: 0; max-width: none; border-color: color-mix(in srgb, var(--yellow) 40%, transparent); }
.light .cl-limit.tm-limit, .cust-light .cl-limit.tm-limit { border-color: color-mix(in srgb, var(--yellow) 45%, transparent); }

.composer .foot > .em { flex: 0 1 auto; min-width: 0; min-height: 36px; padding: 0 2px 0 6px; overflow: hidden; }
.composer .foot > .em .grow { display: none; }
.composer .foot > .em .em-live { margin-left: 8px; }
@media (width <= 400px) {
  .composer .foot > .em.writing .em-pct { display: none; }
  .composer .foot > .em.extra .em-pct, .composer .foot > .em.extra .em-bar { display: none; }
}

.composer.cx { container: cx / inline-size; }

@container cx (max-width: 608px) {
  .composer .foot > .em .em-btn { gap: 7px; padding: 0 7px; }
}

@container cx (max-width: 440px) {
  .composer .foot .cm-chip { padding: 0 6px; }
  .composer .foot .cm-chip .cm-p, .composer .foot .pm-name, .composer .foot .hw-pn { display: none; }
  .composer .foot > .em, .composer .foot > .mk.pm { flex-shrink: 0; }
}
@container cx (max-width: 380px) {
  .composer .foot .mk-btn { gap: 5px; padding: 0 8px; }
}

@container cx (max-width: 300px) {
  .composer.cx:has(.cx-ics > button:nth-of-type(3)) .foot .mk-btn > svg:last-child { display: none; }
}

@media (width <= 400px) {
  .composer .foot > .em.warn:not(.writing) .em-pct { display: none; }
}
@media (width <= 400px) {
  .composer .foot > .em.warn:not(.writing) .em-bar { display: none; }
  .composer .foot > .em.warn:not(.writing) .em-pct { display: inline; }
}
@media (width <= 400px) {
  .composer .foot > .em.writing .em-bar { display: none; }
  .composer .foot > .em.writing .em-pct { display: inline; }
}


.bl-switch { --sw-ease: cubic-bezier(0.32, 0.72, 0, 1); --sw-in: 2px; --sw-knob: 18px; --sw-stretch: 4px; position: relative; flex: none; width: 40px; height: 24px; padding: 0; border-radius: 999px; background: var(--raise); border: 1px solid var(--line-2); overflow: hidden; cursor: pointer; transition: background 0.18s var(--sw-ease), border-color 0.18s var(--sw-ease); }
.bl-switch i { position: absolute; top: var(--sw-in); left: var(--sw-in); width: var(--sw-knob); height: var(--sw-knob); border-radius: 999px; background: var(--text-2); transition: left 0.22s var(--sw-ease), width 0.18s var(--sw-ease), background 0.18s var(--sw-ease); }
.bl-switch.on { background: var(--sw-pick, var(--green)); border-color: transparent; }
.bl-switch.on i { left: calc(100% - var(--sw-in) - var(--sw-knob)); background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .bl-switch:hover:not(:disabled):not(.on) i { width: calc(var(--sw-knob) + var(--sw-stretch)); }
  .bl-switch.on:hover:not(:disabled) i { width: calc(var(--sw-knob) + var(--sw-stretch)); left: calc(100% - var(--sw-in) - var(--sw-knob) - var(--sw-stretch)); }
  .bl-switch:active:not(:disabled):not(.on) i { width: calc(var(--sw-knob) + 6px); }
  .bl-switch.on:active:not(:disabled) i { width: calc(var(--sw-knob) + 6px); left: calc(100% - var(--sw-in) - var(--sw-knob) - 6px); }
}
.bl-switch:disabled { color: var(--text-3); cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  .bl-switch, .bl-switch i { transition: none; }
  .bl-switch:hover:not(:disabled):not(.on) i, .bl-switch:active:not(:disabled):not(.on) i { width: var(--sw-knob); }
  .bl-switch.on:hover:not(:disabled) i, .bl-switch.on:active:not(:disabled) i { width: var(--sw-knob); left: calc(100% - var(--sw-in) - var(--sw-knob)); }
}
@media (width <= 760px), (pointer: coarse) {
  .bl-switch { width: 52px; height: 32px; --sw-in: 3px; --sw-knob: 24px; }
}



@keyframes mk-swap { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
canvas.pg { display: block; flex: none; image-rendering: pixelated; }
canvas.pfx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 90; pointer-events: none; }

.mk-btn > svg:last-child { width: 12px; height: 12px; transform: rotate(-90deg); opacity: 0.65; transition: transform 0.18s cubic-bezier(0.32, 0.72, 0, 1); }
.mk-btn[aria-expanded="true"] > svg:last-child { transform: rotate(90deg); }
.mk-name { display: inline-block; }
.mk-name.swap { animation: mk-swap 0.18s ease-out both; }
.mk-btn:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 2px; }
.mk-row:focus-visible { outline: none; }
.mk-foot kbd { font: 600 11px/1 var(--mono); padding: 3px 5px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text-2); }



.mk { position: relative; flex: 0 1 auto; min-width: 0; display: inline-flex; }

.mk-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 10px; border: 0; border-radius: 999px; background: var(--card-2); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 500; }
.mk-btn:hover, .mk-btn[aria-expanded="true"] { background: var(--raise); }
.mk-btn { min-width: 0; max-width: 100%; white-space: nowrap; }
.mk-pop { position: absolute; right: -40px; bottom: calc(100% + 10px); z-index: 30; width: 300px; max-width: calc(100vw - 24px); padding: 6px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--card); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4); opacity: 0; transform: translateY(6px) scale(0.98); transform-origin: 50% 100%; pointer-events: none; }
.light .mk-pop, .cust-light .mk-pop { box-shadow: 0 16px 44px rgba(20, 24, 40, 0.14); }
.mk-pop.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity 0.12s ease-out, transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1); }
.mk-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 20px; align-items: center; gap: 11px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.mk-row:hover, .mk-row:focus-visible { background: var(--card-2); }
.mk-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mk-t b { font-size: 14px; font-weight: 600; }
.mk-t span { font-size: 12.5px; color: var(--text-3); }
.mk-t .mk-mm { font: 11px var(--mono); margin-top: 2px; }

.mk-t .mk-tag { display: inline-flex; align-items: center; gap: 5px; width: fit-content; margin-top: 3px; padding: 1px 8px 1px 6px; border-radius: 999px; background: color-mix(in srgb, var(--yellow) 15%, transparent); color: var(--yellow); font-size: 11.5px; font-weight: 600; }
.mk-t .mk-tag svg { width: 11px; height: 11px; }
.mk-row canvas.pg { justify-self: center; }
.mk-ck { color: var(--acc); display: grid; place-items: center; } .mk-ck svg { width: 16px; height: 16px; }
.mk-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 8px 10px 4px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }


@media (pointer: coarse) {
  .mk-btn { min-height: 44px; }
  .mk-row { min-height: 52px; }
}

@media (width <= 640px) {
  .mk-pop { left: 0; right: 0; width: auto; max-width: none; bottom: calc(100% + 8px); }
}
@container page (width <= 640px) {
  .mk { position: static; }
}

@media (height <= 520px) {
  .mk-pop { position: fixed; right: 12px; bottom: 8px; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; z-index: 60; }
}

@media (pointer: coarse) { .mk-foot { display: none; } }
@media (prefers-reduced-motion: reduce) { .mk-pop, .mk-pop.on, .mk-name.swap, .mk-btn > svg:last-child { transition: none; animation: none; transform: none; } }


.chat-sec > .thread { padding-bottom: 44px; }

.ans-act-hold { min-height: 32px; }
@container page (width <= 640px) { .ans-act-hold { min-height: 44px; } }
.chat-sec { overflow-anchor: none; }


@container page (width <= 640px) { .prj-btn { padding: 0 9px; } }

.mk-row.mk-paused { opacity: 0.55; cursor: not-allowed; }
.mk-row.mk-paused:hover { background: transparent; }
.mk-row.mk-paused .mk-t span { color: var(--yellow); }


.composer.cx { --ember: #E2A660; }
.light .composer.cx, .cust-light .composer.cx { --ember: #A86A1E; }
.composer.cx textarea { min-height: 44px; padding: 16px 20px 2px; }
.composer.cx .foot { gap: 6px; padding: 8px 10px 10px; }
.composer .foot .mk-btn { height: 34px; }


.cx-ics { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.cx-plus { position: relative; flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); transition: background 0.15s, color 0.15s; }
.cx-plus svg { width: 18px; height: 18px; }
.cx-plus:hover { background: var(--card-2); color: var(--text); }
.cx-plus:focus-visible, .cx-pol:focus-visible, .em-btn:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 2px; }
.cx-plus:disabled { color: var(--text-3); }


.composer .foot > .em.em-x { position: relative; flex: 0 1 auto; min-width: 0; min-height: 34px; padding: 0; overflow: visible; font: 13px/1 inherit; font-family: inherit; }
.em-btn { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; min-height: 34px; min-width: 0; padding: 0 10px 0 9px; border: 0; border-radius: 17px; background: transparent; color: var(--text-3); font: inherit; font-size: 13px; font-variant-numeric: tabular-nums; white-space: normal; cursor: pointer; transition: background 0.15s; overflow-wrap: break-word; }
.em-btn:hover, .em-btn[aria-expanded="true"] { background: var(--card-2); }
.em-btn .em-t { display: inline-flex; align-items: center; gap: 0; min-width: 0; white-space: normal; overflow-wrap: break-word; }
.em-x .em-live { color: var(--ember); }
.em-x .em-live b { color: inherit; }
.composer .foot > .em.em-x .em-live { margin-left: 0; }
.em-btn .em-t.em-rt { gap: 8px; overflow: visible; }
.em-n, .em-when { font-size: 13px; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.em-n { font-weight: 500; }
.em.writing .em-when { display: none; }
.em-ring { flex: none; width: 20px; height: 20px; transform: rotate(-90deg); }
.em-ring circle { fill: none; stroke-width: 4; }
.em-ring-t { stroke: color-mix(in srgb, var(--text-3) 32%, transparent); }
.em-ring-f { stroke: var(--text); transition: stroke-dasharray 0.4s ease; }
.em.warn .em-ring-f, .em.stop .em-ring-f { stroke: var(--yellow); }
.em.writing .em-ring-f { animation: em-breathe 1.6s ease-in-out infinite; }
@keyframes em-breathe { 50% { opacity: 0.55; } }
.em-wide { position: relative; flex: none; display: block; background: var(--line-2); }
.em-wide i { position: absolute; display: block; font-style: normal; }
.em-fill { left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); min-width: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--acc) calc(100% - 3px), var(--ember) 0); transition: width 0.4s ease; }
.em-tick { top: -3px; left: calc(var(--d, 0) * 100%); width: 2px; height: 10px; margin-left: -1px; border-radius: 1px; background: var(--text-3); }
.em.warn .em-fill, .em.stop .em-fill { background: var(--yellow); }
.em.extra .em-fill { background: var(--text-2); }

.mk-pop.em-pop { left: -6px; right: auto; width: 300px; padding: 14px 14px 0; transform-origin: 0 100%; }
.em-h { margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.em-big { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; }
.em-big b { font-size: 30px; line-height: 1; font-weight: 650; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.em.warn .em-big b, .em.stop .em-big b { color: var(--yellow); }
.em-big span { color: var(--text-3); font-size: 13.5px; }
.em-wide { width: 100%; height: 6px; border-radius: 3px; margin: 0 0 6px; }
.em-wide .em-fill { min-width: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--acc) calc(100% - 4px), var(--ember) 0); }
.em-wide .em-tick { top: -4px; height: 14px; background: var(--text-2); }
.em-day { position: relative; height: 16px; margin-bottom: 12px; font-size: 11.5px; color: var(--text-3); }
.em-day span { position: absolute; left: clamp(52px, calc(var(--d, 0) * 100%), calc(100% - 52px)); transform: translateX(-50%); white-space: nowrap; }
.em-dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 16px; margin: 0 0 12px; font-size: 13.5px; }
.em-dl dt { color: var(--text-3); }
.em-dl dd { margin: 0; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.em-dl dd.em-hot { color: var(--yellow); }
.em-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 -14px; padding: 11px 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }
.em-foot span, .em-foot a { white-space: nowrap; }
.em-foot a { color: var(--text-2); font-weight: 600; text-decoration: none; border-radius: 6px; }
.em-foot a:hover { color: var(--text); }
.em-foot a:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 2px; }
@media (width <= 760px), (pointer: coarse) {
  .em-foot a { display: inline-flex; align-items: center; min-height: 44px; margin: -14px 0; }
}


.cx-pol { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 34px; padding: 0 12px 0 10px; border: 0; border-radius: 17px; background: transparent; color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 500; white-space: nowrap; animation: cx-in 0.18s ease-out; transition: background 0.15s, color 0.15s; }
.cx-pol svg { width: 15px; height: 15px; color: var(--ember); }
.cx-pol:hover:not(:disabled) { background: var(--card-2); color: var(--text); }
.cx-pol:disabled { cursor: default; }
.composer.cx.cx-polishing .cx-pol svg { animation: cx-spin 1s linear infinite; }
.composer.cx.cx-polishing textarea { color: var(--text-3); background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--ember) 16%, transparent) 50%, transparent 70%) 0 0 / 250% 100% no-repeat; animation: cx-sheen 1.1s linear infinite; }
.cx-polnote { display: flex; align-items: center; gap: 7px; margin: 6px 20px 0; font-size: 12.5px; color: var(--text-2); animation: cx-in 0.2s ease-out; }
.cx-polnote svg { width: 12px; height: 12px; flex: none; color: var(--ember); }
.cx-polnote.err { color: var(--red); }
.cx-polnote.err svg { color: var(--red); }
.cx-polnote button { padding: 2px 5px; margin: -2px 0; border: 0; border-radius: 6px; background: none; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }

.cx-priv { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 34px; padding: 0 11px 0 9px; border: 1px solid transparent; border-radius: 17px; background: transparent; color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
button.cx-priv { cursor: pointer; }
.cx-priv svg { width: 15px; height: 15px; }
button.cx-priv:hover:not(:disabled) { background: var(--card-2); color: var(--text); }
.cx-priv.on { color: var(--text); border-color: var(--line-2); border-style: dashed; }

svg.peye .peye-cut { fill: none; stroke: #000; stroke-width: 3.8; stroke-linecap: round; }

svg.peye :is(.peye-slash, .peye-cut) { stroke-dasharray: 1 1.2; stroke-dashoffset: 1.1; transition: stroke-dashoffset 0.32s cubic-bezier(0.32, 0.72, 0, 1); }
svg.peye.on :is(.peye-slash, .peye-cut) { stroke-dashoffset: 0; transition-delay: 0.1s; }
svg.peye :is(.peye-ball, .peye-pupil) { transform-box: view-box; transform-origin: 8px 8px; }
svg.peye .peye-pupil { transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1); }
svg.peye.on .peye-pupil { transform: scale(0.72); }
svg.peye.shut .peye-ball { animation: peye-blink 0.38s cubic-bezier(0.32, 0.72, 0, 1); }
svg.peye.wake .peye-ball { animation: peye-wake 0.38s cubic-bezier(0.32, 0.72, 0, 1); }
@keyframes peye-blink { 0% { transform: scaleY(1); } 38% { transform: scaleY(0.1); } 100% { transform: scaleY(1); } }
@keyframes peye-wake { 0% { transform: scaleY(0.35); } 100% { transform: scaleY(1); } }
:is(.mbar .sb-eye, .cx-priv) { transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.14s ease; }
:is(.mbar button.sb-eye, button.cx-priv):active:not(:disabled) { transform: scale(0.92); }
@media (prefers-reduced-motion: reduce) {
  svg.peye *, :is(.mbar .sb-eye, .cx-priv) { transition: none !important; animation: none !important; }
}
.cx-privnote { display: flex; align-items: center; gap: 7px; margin: 6px 20px 0; font-size: 12.5px; color: var(--text-2); }
.cx-privnote svg { width: 13px; height: 13px; flex: none; }
@media (pointer: coarse) { button.cx-priv { min-height: 44px; } }

@media (width <= 760px) { .win-col:has(> .mbar .sb-eye) .cx-priv { display: none; } }

.icon-btn.win-eye { position: absolute; top: 9px; right: 12px; z-index: 8; border: 1px dashed transparent; border-radius: 22px; background: none; color: var(--text-2); }
.win-col:has(> .win-ctl) > .icon-btn.win-eye { right: 54px; }

.icon-btn.win-eye svg { width: 18px; height: 18px; }
button.icon-btn.win-eye { cursor: pointer; }
button.icon-btn.win-eye:hover { background: var(--card-2); color: var(--text); }
.icon-btn.win-eye.on { background: var(--card-2); border-color: var(--line-2); color: var(--text); }
.icon-btn.win-eye { transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.14s ease; }
button.icon-btn.win-eye:active { transform: scale(0.92); }
@media (prefers-reduced-motion: reduce) { .icon-btn.win-eye { transition: none; } }
@media (width > 760px) {
  .main:not(.win-2) > .win-col:has(> .win-eye):has(> .win-ctl) > .top { padding-right: 100px; }
  .main.win-2 > .win-col:has(> .win-eye) > .top { padding-right: 58px; }
}
@media (width <= 760px) { .win-col:has(> .mbar .sb-eye) > .win-eye { display: none; } }
@media (pointer: coarse) { .icon-btn.win-eye { width: 44px; height: 44px; } }
.cx-polnote button:hover { background: var(--card-2); }
.cx-polnote button:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 1px; }


.mk-btn.hw-chip { gap: 7px; padding: 0 10px 0 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.mk-btn.hw-chip:hover, .mk-btn.hw-chip[aria-expanded="true"] { background: var(--raise); }
.hw-words { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.hw-pp { display: inline-flex; align-items: center; gap: 7px; }
.hw-sep { width: 1px; height: 14px; background: var(--line-2); }

.hw-plain .hw-perm .hw-seg button { white-space: nowrap; }
.hw-plain .hw-perm .hw-seg .hw-dot, .hw-plain .hw-foot { display: none; }
.hw-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 18%, transparent); }
.hw-mark { color: var(--red); }
.hw-dot.hw-plan { background: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 18%, transparent); }
.hw-dot.hw-auto { background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }
.mk-pop.hw-pop { right: -6px; width: 344px; padding: 8px; transform-origin: calc(100% - 40px) 100%; }
.hw-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 8px; margin: 6px 8px 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.hw-for { margin-left: auto; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.hw-seg button:focus-visible { outline: 2px solid rgba(var(--acc-rgb), 0.7); outline-offset: 2px; }
.hw-line { display: flex; flex-direction: column; align-items: center; gap: 3px; margin: 4px 12px 10px; min-height: 38px; font-size: 13px; line-height: 1.45; color: var(--text-3); text-align: center; }
.hw-line .mk-mm { font: 11px var(--mono); }
.hw-line .mk-tag { margin-top: 2px; }
.hw-more { max-height: min(30vh, 220px); overflow-y: auto; margin: 0 0 6px; padding-top: 4px; border-top: 1px solid var(--line); }
.hw-more.hw-list { max-height: none; overflow: visible; margin: 6px 0 8px; padding-top: 0; border-top: 0; }
.hw-list .mk-row[aria-checked="true"] { background: var(--card-2); }
.mk-t .mk-tag.hw-can { padding: 1px 8px 1px 6px; background: var(--card-2); color: var(--text-2); font-size: 12px; }
.hw-list .mk-row[aria-checked="true"] .mk-tag.hw-can { background: var(--raise); }
.hw-can svg { width: 12px; height: 12px; }
.hw-cnote { margin: 0 4px 10px; padding: 8px 10px; border-radius: 10px; background: var(--card-2); color: var(--text-2); font-size: 13px; line-height: 1.4; text-align: center; }
.hw-cnote button { padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.hw-sec + .hw-sec { margin: 2px -8px 0; padding: 8px 8px 0; border-top: 1px solid var(--line); }
.hw-perm, .hw-th { transition: opacity 0.2s; }
.hw-perm.off, .hw-th.off { opacity: 0.5; }

.hw-lv { color: var(--text-2); font-weight: 500; }
.hw-lv::before { content: "·"; margin: 0 6px 0 1px; color: var(--text-3); }
.hw-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; flex: none; opacity: 0.55; transition: opacity 0.18s; }
.hw-bars i { width: 3px; border-radius: 1px; background: var(--line-2); }
.hw-bars i:nth-child(1) { height: 5px; }
.hw-bars i:nth-child(2) { height: 8px; }
.hw-bars i:nth-child(3) { height: 12px; }
.hw-bars[data-l="1"] i:nth-child(-n + 1), .hw-bars[data-l="2"] i:nth-child(-n + 2), .hw-bars[data-l="3"] i, .hw-bars[data-l="4"] i { background: var(--acc); }

.hw-bars[data-l="4"] i:nth-child(1) { height: 3px; }
.hw-bars[data-l="4"] i:nth-child(2) { height: 6px; }
.hw-bars[data-l="4"] i:nth-child(3) { height: 9px; }
.hw-bars[data-l="4"] i:nth-child(4) { height: 12px; }
.hw-seg button[aria-checked="true"] .hw-bars { opacity: 1; }
.hw-next { font-size: 12px; color: var(--acc-text); }
.hw-seg { position: relative; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); padding: 3px; margin: 6px 2px 0; border-radius: 12px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.hw-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n, 3)); border-radius: 9px; background: var(--raise); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 0 0 1px var(--line-2); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1); }
.light .hw-thumb, .cust-light .hw-thumb { background: var(--card); box-shadow: 0 1px 3px rgba(20, 24, 40, 0.12), inset 0 0 0 1px var(--line-2); }
.hw-seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 6px; border: 0; border-radius: 9px; background: none; color: var(--text-3); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: color 0.18s; }
.hw-seg button[aria-checked="true"] { color: var(--text); }
.hw-seg button .hw-dot { opacity: 0.5; transition: opacity 0.18s; }
.hw-seg button[aria-checked="true"] .hw-dot { opacity: 1; }
.hw-seg button:disabled { cursor: default; }

.hw-seg.hw-who { margin: 8px 2px 0; }
.hw-who .hw-thumb { background: color-mix(in srgb, var(--c) 22%, var(--raise)); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1), background 0.22s, box-shadow 0.22s; }
.light .hw-who .hw-thumb, .cust-light .hw-who .hw-thumb { background: color-mix(in srgb, var(--c) 14%, var(--card)); }
.hw-who.out .hw-thumb { opacity: 0; }
.hw-seg.hw-who button { height: 38px; gap: 7px; padding: 0 4px; font-size: 14px; min-width: 0; }
.hw-who button > span:last-child { min-width: 0; white-space: normal; overflow-wrap: break-word; }
.hw-seg.hw-who.n4 button { gap: 5px; font-size: 13px; }
.hw-ag { display: inline-flex; flex: none; }
.hw-foot { gap: 12px; }
.hw-foot span { display: inline-flex; align-items: center; gap: 6px; }


.composer.cx .cx-send { position: relative; width: 34px; height: 34px; }
.composer.cx .cx-send:disabled { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--text-3); }

.composer.cx.cx-busy .foot:where(:not(.cx-tfoot)) { padding-right: 12px; }

@keyframes cx-spin { to { transform: rotate(360deg); } }
@keyframes cx-sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes cx-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }


@media (width <= 640px) {
  .composer .foot > .em.em-x { position: static; }
  .mk-pop.em-pop, .mk-pop.hw-pop { left: 0; right: 0; width: auto; }
}

@media (pointer: coarse), (height <= 520px) {
  .hw-foot { display: none; }
}
@media (pointer: coarse) {
  .cx-plus, .cx-pol, .em-btn, .composer .foot .mk-btn { min-height: 44px; }
  .cx-plus, .composer.cx .cx-send { width: 44px; height: 44px; }
  .hw-seg button { min-height: 44px; }
}
@media (width <= 640px) {
  .composer.cx .foot { gap: 4px; }
}
@container page (width <= 640px) {
  .composer.cx .cx-send { width: 44px; height: 44px; }
  .composer.cx textarea { min-height: 42px; }
  .cx-polnote { margin: 6px 16px 0; }
}

@media (width <= 640px), (height <= 520px) {
  .composer.cx textarea { padding: 12px 16px 0; }
  .composer.cx .foot { padding: 4px 6px 6px; }
  .mk-pop.hw-pop { padding: 6px; }
  .hw-h { margin: 4px 8px 0; }
  .hw-line { min-height: 0; margin: 0 12px 6px; gap: 2px; font-size: 12.5px; line-height: 1.4; }
  .hw-sec + .hw-sec { margin: 0 -6px; padding: 6px 6px 0; }
  .hw-seg { margin: 4px 0; padding: 2px; }
  .hw-thumb { top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / var(--n, 3)); border-radius: 10px; }
  .hw-seg button { height: 40px; min-height: 40px; border-radius: 10px; }
  .hw-seg button::after { content: ""; position: absolute; inset: -2px 0; }
}
@container page (width <= 400px) {
  .hw-plain .hw-perm .hw-seg button { padding: 0 2px; font-size: 12.5px; }
}

@container page (width <= 400px) {
  .hw-seg.hw-who.n4 .hw-ag, .hw-seg.hw-who.n4 canvas { display: none; }
  .hw-seg.hw-lvs.n4 button { gap: 4px; padding: 0 2px; font-size: 13px; }
}
@container cx (max-width: 440px) {
  
  .mk-btn.hw-chip .hw-pp:has(.hw-mark) { display: none; }
  .cx-pol { width: 40px; padding: 0; justify-content: center; }
  .cx-pol span { display: none; }
  .cx-priv { width: 40px; padding: 0; justify-content: center; }
  .cx-priv span { display: none; }
  .composer.cx:has(.cx-pol) .foot > .em:not(.warn):not(.stop) { display: none; }
  .mk-btn.hw-chip { padding: 0 9px 0 11px; gap: 6px; }
}
@container cx (max-width: 360px) {
  
  .composer.cx:has(.cx-ics > button:nth-of-type(3)) .foot > .em:not(.warn):not(.stop),
  .composer.cx:has(.cx-ics > button:nth-of-type(3)) .foot .cm-chip:not(.fill):not(.full),
  .composer.cx:has(.cx-ics > button:nth-of-type(3)) .mk-btn.hw-chip :is(.hw-pn, .hw-lv) { display: none; }
  .composer.cx:has(.cx-ics > button:nth-of-type(3)) .cx-ics { gap: 0; }
  .mk-btn.hw-chip .hw-mn { min-width: 0; white-space: normal; overflow-wrap: break-word; }
  .mk-btn.hw-chip .hw-pp { flex: none; }
}

@container cx (max-width: 300px) {
  .composer.cx:has(.cx-ics > button:nth-of-type(3)) .mk-btn.hw-chip .hw-mn { display: none; }
}

@container cx (max-width: 440px) {
  .composer.cx .foot > .em.em-x { flex: none; overflow: visible; }
  .composer.cx .foot > .em.em-x .em-btn { gap: 0; padding: 0 5px; }
  .composer.cx .foot > .em.em-x .em-t { overflow: visible; }
  .composer.cx .foot > .em.em-x .em-live { display: none; }
  .composer.cx .foot > .em.em-x:is(.warn, .extra) .em-n, .composer.cx .foot > .em.em-x.stop .em-when { display: none; }
  .composer.cx .foot > .mk.prj { flex: none; }
  .composer.cx .foot > .mk.hw { flex: 0 1 auto; min-width: 34px; }
  .composer.cx .foot .mk-btn.hw-chip { min-width: 0; max-width: 100%; overflow: hidden; }
}

@media (width > 760px) {
  @container cx (max-width: 440px) {
    .composer.cx:has(.cx-chipw) .foot > .em.em-x:not(.warn):not(.stop) { display: none; }
  }
}

@container cx (max-width: 385px) {
  .composer.cx .foot > .em.em-x .em-w { display: none; }
}

@container cx (max-width: 345px) {
  .composer.cx .foot > .em.em-x :is(.em-n, .em-when) { display: none; }
}

@container cx (max-width: 360px) {
  .composer.cx:has(.cx-chipw) .foot > .em.em-x :is(.em-n, .em-when) { display: none; }
  .composer.cx:has(.cx-chipw) .foot > .em.em-x:not(.warn):not(.stop) { display: none; }
}

@container cx (max-width: 300px) {
  .composer.cx .foot { gap: 3px; }
  .composer.cx .cx-ics { gap: 0; }
  .composer.cx .cx-ics > button { width: 28px; }
  .composer.cx .foot > .em.em-x .em-btn { padding: 0 3px; }
  .composer.cx .foot .prj-btn, .composer.cx .foot .mk-btn.hw-chip { padding: 0 6px; }
  .composer.cx .foot > .mk.hw { min-width: 30px; }
  .composer.cx .cx-send { width: 40px; height: 40px; }
  .composer.cx .foot .mk-btn.hw-chip .hw-pp { display: none; }
}

@container cx (max-width: 900px) {
  .composer.cx .foot .mk-btn.hw-chip { min-width: 0; max-width: 100%; overflow: hidden; }
  .composer.cx .foot > .mk.prj { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .composer.cx.cx-polishing .cx-pol svg, .composer.cx.cx-polishing textarea { animation: none; }
  .cx-pol, .cx-polnote, .hw-thumb { animation: none; transition: none; }
  .em.writing .em-ring-f { animation: none; }
  .em-ring-f { transition: none; }
}


@container cx (max-width: 260px) {
  .composer.cx .foot .mk-btn.hw-chip .hw-mn { display: none; }
}



.pm-ic { display: grid; place-items: center; width: 22px; height: 22px; color: var(--text-2); }
.pm-ic svg { width: 17px; height: 17px; }


.chg { margin: 8px 0 4px; max-width: 560px; font-size: 13px; color: var(--text-2); }
.chg-h { display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text-2); font-size: 12.5px; }
.chg-h svg { width: 14px; height: 14px; color: var(--green); }
.chg ul { margin: 4px 0 0; padding: 0 0 0 21px; display: flex; flex-direction: column; gap: 2px; }
.chg li { overflow-wrap: anywhere; }
.chg li b { font-weight: 600; color: var(--text); }


.mch { list-style: none; margin: 8px 0 4px; padding: 0; max-width: 560px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-2); }
.mch-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.mch-row > svg { width: 14px; height: 14px; flex: none; color: var(--green); }
.mch-txt { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.mch-txt b { font-weight: 600; color: var(--text-2); font-size: 12.5px; margin-right: 6px; }
.mch-fact { color: var(--text); }
.mch-undone .mch-fact { color: var(--text-3); text-decoration: line-through; }
.mch-undone > svg { color: var(--text-3); }
.mch-undo { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text-2); font: inherit; font-size: 12.5px; cursor: pointer; }
.mch-undo:hover { color: var(--text); border-color: var(--text-3); }
.mch-undo:disabled { color: var(--text-3); cursor: default; }
.mch-undo svg { width: 13px; height: 13px; }
.mch-err { flex-basis: 100%; padding-left: 22px; color: var(--red, var(--text-2)); font-size: 12.5px; }

.mch-quiet > svg, .mch-quiet .mch-txt b { color: var(--text-3); font-weight: 500; }
.mch-quiet .mch-fact { color: var(--text-3); }
.mch-bad > svg, .mch-bad .mch-txt b { color: var(--red, var(--text-2)); }
@media (pointer: coarse) { .mch-undo { min-height: 44px; padding: 0 14px; } }


.ap { margin: 10px 0 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); max-width: 560px; }
.ap.open { border-color: color-mix(in srgb, var(--yellow) 45%, transparent); }
.ap-h { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.ap-h svg { width: 15px; height: 15px; color: var(--yellow); flex: none; }
.ap:not(.open) .ap-h svg { color: var(--text-3); }
.ap ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.ap-i { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ap-i:first-child { border-top: 0; }
.ap-pick { display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: 32px; cursor: pointer; }
.ap-pick input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--acc); }
.ap-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ap-t b { font-weight: 600; color: var(--text); }
.ap-d { color: var(--text-2); overflow-wrap: anywhere; }
.ap-why { color: var(--text-3); font-size: 12.5px; white-space: pre-line; }
.ap-s { flex: none; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.ap-s.ran { color: var(--green); }
.ap-s.failed { color: var(--red); }
.ap-s.waiting { color: var(--yellow); }
.ap-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.ap-go .btn svg { width: 14px; height: 14px; }
.ap-n { font-size: 12px; }


.pg-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 4px; padding: 10px 12px; border: 1px solid rgba(var(--acc-rgb), 0.35); border-radius: 12px; background: var(--card); max-width: 560px; }
.pg-go-t { display: flex; flex-direction: column; gap: 1px; font-size: 13.5px; }
.pg-go-t .faint { font-size: 12.5px; }
.pg-go-b { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-go .btn svg { width: 14px; height: 14px; }
.pg-go .btn.line svg { color: var(--yellow); }


.msg.you-ok { align-items: flex-end; }

@media (pointer: coarse) {
  .ap-pick { min-height: 44px; align-items: center; }
  .ap-pick input { width: 20px; height: 20px; margin: 0; }
  .ap-go .btn, .pg-go .btn { min-height: 44px; }
}

@container page (width <= 400px) {
  .pm-name { display: none; }
  .pg-go-b { width: 100%; }
  .pg-go-b .btn { flex: 1 1 auto; justify-content: center; }
}
.ap-s.expired { color: var(--text-3); }


.chg li.chg-f { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.chg-f .mono { font-size: 12.5px; color: var(--text); overflow-wrap: anywhere; }
.chg-f a.mono { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.chg-f a.mono:hover { border-bottom-color: var(--acc); }
.chg-d { display: inline-flex; gap: 6px; font: 12px var(--mono); }
.chg-add { color: var(--green); }
.chg-del { color: var(--red); }
@media (pointer: coarse) { .chg-f a.mono { display: inline-block; padding: 6px 0; } }


.askc { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.askc .btn { min-height: 36px; }
@container page (width <= 640px) { .askc .btn { min-height: 44px; } }


.akc { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); min-width: 0; max-width: 640px; }
.akc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; min-width: 0; }
.akc-who { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.akc-steps { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 3px; list-style: none; background: var(--sw-bg); border: 1px solid var(--sw-line); border-radius: 9px; }
.akc-step { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 9px; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.akc-step:hover:not(:disabled) { color: var(--text); }
.akc-step.now { background: var(--sw-on); color: var(--text); font-weight: 600; box-shadow: var(--sw-lift); }
.akc-step:disabled { cursor: default; }
.akc-step svg.i { color: var(--green); stroke-width: 2; }
.akc-q { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text); overflow-wrap: anywhere; }
.akc-list { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--card-2); overflow: hidden; }
.akc-c { display: flex; align-items: flex-start; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.akc-list > :first-child { border-top: 0; }
.akc-c:hover:not(:disabled) { background: color-mix(in srgb, var(--raise) 60%, var(--card-2)); }
.akc-c.on { background: var(--raise); }

.akc-c.on:disabled, .akc-c.said:disabled { color: var(--text); cursor: default; }
.akc-n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 999px; background: var(--raise); color: var(--text-2); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.akc-n.box { border-radius: 6px; }
.akc-n svg.i { stroke-width: 2; }
.akc-c:hover:not(:disabled) .akc-n { background: var(--card); color: var(--text); }
.akc-c.on .akc-n { background: var(--btn-bg); color: var(--btn-fg); }
.akc-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; padding-top: 1px; }
.akc-t b { font-weight: 600; line-height: 1.4; overflow-wrap: break-word; }
.akc-pk { margin-left: 8px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--green-text); }
.akc-d { font-size: 13px; line-height: 1.45; color: var(--text-2); overflow-wrap: break-word; }
.akc-sq { font-size: 12.5px; color: var(--text-2); overflow-wrap: break-word; }
.akc-chg { flex: none; align-self: center; font-size: 13px; color: var(--text-2); }
.akc-own { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 5px 6px 5px 12px; border-top: 1px solid var(--line); }
.akc-own:focus-within { background: var(--card); }
.akc-own .akc-n { background: transparent; color: var(--text-3); }

.akc-grow { display: grid; flex: 1; min-width: 0; }
.akc-grow::after { content: attr(data-value) " "; visibility: hidden; white-space: pre-wrap; overflow-wrap: anywhere; }
.akc-grow > .akc-in, .akc-grow::after { grid-area: 1 / 1; margin: 0; padding: 6px 0; border: 0; font: inherit; font-size: 14px; line-height: 1.45; }
.akc-in { min-width: 0; min-height: 0; resize: none; overflow: hidden; background: transparent; color: var(--text); outline: none; overflow-wrap: anywhere; }
.akc-in::placeholder { color: var(--text-3); }
.akc-in:disabled { color: var(--text); -webkit-text-fill-color: var(--text); opacity: 1; }

.akc-go { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text-3); cursor: pointer; }
.akc-go.ready { border-color: transparent; background: var(--btn-bg); color: var(--btn-fg); }
.akc-go svg.i { stroke-width: 2; }
.akc-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

@media (width <= 640px) {
  .akc { padding: 12px; }
  .akc-step { min-height: 44px; padding: 0 12px; }
  .akc-grow > .akc-in, .akc-grow::after { font-size: 16px; padding: 9px 0; }
  .akc-go { width: 44px; height: 44px; }
  .akc-foot .btn { min-height: 44px; }
}


.mon-card { margin: 6px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); min-width: 0; }
.mon-card.ended { opacity: 0.8; }
.mon-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.mon-lines { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font: 12px/1.45 var(--mono); color: var(--text-2); }
.mon-lines li { overflow-wrap: anywhere; }


.okp { padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--yellow) 45%, transparent); border-radius: 14px; background: var(--card); min-width: 0; }
.okp-h { display: flex; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.okp-h svg { width: 15px; height: 15px; color: var(--yellow); flex: none; }
.okp-d { display: block; margin: 8px 0 0; padding: 7px 10px; border-radius: 8px; background: var(--line); font: 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 7.5em; overflow: auto; }
.okp-why { margin: 6px 0 0; font-size: 12.5px; }
.okp-go { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.okp-go kbd { font: 600 11px/1 ui-monospace, Menlo, monospace; opacity: 0.6; margin-right: 6px; }
@media (pointer: coarse) {
  .okp-go .btn { min-height: 44px; }
  .okp-go kbd { display: none; }
}


@media (width <= 640px) {
  
  :is(html.cust, .pv) .composer :has(> .att-wait) { flex-wrap: wrap; }
  :is(html.cust, .pv) .att-wait { order: -1; flex: 1 0 100%; padding: 0 4px 2px; }
  
  :is(html.cust, .pv) .okp-go { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(html.cust, .pv) .okp-go .btn { justify-content: center; width: 100%; min-height: 44px; padding-inline: 6px; }
  :is(html.cust, .pv) .okp-go .btn:first-child, :is(html.cust, .pv) .okp-go .btn:nth-child(2):last-child { grid-column: 1 / -1; }
  
  :is(html.cust, .pv) .wcx-b { height: auto; min-height: 220px; max-height: 65vh; overflow: auto; }
  :is(html.cust, .pv) .wcx-addr { flex: 1 1 100%; }
  :is(html.cust, .pv) .wcx-bar .btn { flex: 1 1 0; justify-content: center; white-space: nowrap; }
  :is(html.cust, .pv) .wcx-files { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(180px, 1fr); }
  :is(html.cust, .pv) .wcx-files ul { display: flex; gap: 4px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  :is(html.cust, .pv) .wcx-files li { flex: none; }
  :is(html.cust, .pv) .wcx-files li button { flex: none; }
  :is(html.cust, .pv) .wcx-src pre { max-height: 46vh; }
}

@media (width <= 760px) {
  :is(html.cust, .pv) .ec-top:not(.ec-naming) { display: none; }
  :is(html.cust, .pv) .ec-top.ec-naming { padding: 8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left)); }
  :is(html.cust, .pv) .ec-naming > form { flex: 1 1 100%; min-width: 0; }
  :is(html.cust, .pv) .ec-naming .field { flex: 1 1 auto; min-width: 0; width: auto !important; font-size: 16px; }
  :is(html.cust, .pv) .ec-naming .btn { flex: none; }
  :is(html.cust, .pv) .win-col > .content:not(.lo-page, .hm, .gx-page, .csoon-page) { padding-top: 14px; }
  :is(html.cust, .pv) .win-col > .top:not(.ec-top) { padding-top: 10px; padding-bottom: 2px; }
  :is(html.cust, .pv) .win-col > .content.pj-page { padding-top: 8px; }
}

@media (width <= 760px) {
  :is(html.cust, .pv) .pw-ptop .pw-actions { gap: 0; margin-right: -10px; }
  :is(html.cust, .pv) .pw-ptop .pw-actions :is(.btn, .icon-btn) { justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--text); }
}

@media (pointer: coarse) {
  
  :is(html.cust, .pv) :is(.lo-linkbtn, .lo-boxme) { position: relative; }
  :is(html.cust, .pv) .lo-linkbtn::after { content: ""; position: absolute; inset: -4px -4px -8px; }
  :is(html.cust, .pv) .lo-boxme::after { content: ""; position: absolute; inset: -7px; }
  :is(html.cust, .pv) .hw-seg button::after { content: ""; position: absolute; inset: -2px 0; }
  :is(html.cust, .pv) .composer.cx .cx-send::after { content: ""; position: absolute; inset: -2px; }
  :is(html.cust, .pv) .composer-dock > .cx-jump { width: 44px; height: 44px; top: -38px; }
  :is(html.cust, .pv) :is(.ap-go .btn, .pg-go .btn, .sb-lbl, button.dt-live) { min-height: 44px; }
  :is(html.cust, .pv) .kf-ctl button { min-width: 44px; min-height: 44px; }
  
  @media (width <= 640px) { :is(html.cust, .pv) .kf-scene:not(.dt-scene) > .kf-stat { top: 62px; } }
  :is(html.cust, .pv) .ho-scene .kf-grow-play { width: 44px; height: 44px; }
  
  :is(html.cust, .pv) .composer.cx .cx-plus::after { content: ""; position: absolute; inset: -2px; }
  :is(html.cust, .pv) :is(.cx-wmb, .em-btn, .bd-seg button, .tl-add .btn.sm) { position: relative; }
  :is(html.cust, .pv) .cx-wmb::after { content: ""; position: absolute; inset: -2px 0; }
  :is(html.cust, .pv) .em-btn::after { content: ""; position: absolute; inset: -4px 0; }
  :is(html.cust, .pv) .bd-seg button::after { content: ""; position: absolute; inset: -4px 0; }
  :is(html.cust, .pv) .tl-add .btn.sm::after { content: ""; position: absolute; inset: -2px 0; }
  
  
  :is(html.cust, .pv) .bl-switch:not(.swx-rig *) { box-sizing: content-box; border-style: solid; border-color: transparent; border-width: 6px 0; border-radius: 16px / 22px; margin-block: -6px; background-clip: padding-box; box-shadow: inset 0 0 0 1px var(--line-2); --sw-in: 4px; }
  :is(html.cust, .pv) :is(.tlx, .yd) .hx-sw { box-sizing: content-box; border-style: solid; border-color: transparent; border-width: 10px 0; border-radius: 12px / 22px; margin-block: -10px; background-clip: padding-box; box-shadow: inset 0 0 0 1px var(--line-2); --sw-in: 3px; }
  :is(html.cust, .pv) .bl-switch.on:not(.swx-rig *), :is(html.cust, .pv) :is(.tlx, .yd) .hx-sw.on { box-shadow: none; }
  :is(html.cust, .pv) .yd-pc-part .hx-sw { margin-top: -7px; }
  
  :is(html.cust, .pv) :is(.ma-seg button, .ma-chips button, .ma-lnk, .ma-plan, .cdd-kv > a, .cdd-kv > button, .mcp-paste .btn, .pw-chips button, .pw-addline .btn, .fin-hmv-h .fa-tabs button, .mem-acts .icon-btn, .mem-ctl .icon-btn, .kf-grow-play) { position: relative; }
  :is(html.cust, .pv) :is(.ma-seg button, .ma-chips button, .ma-plan, .cdd-kv > a, .cdd-kv > button, .fin-hmv-h .fa-tabs button)::after { content: ""; position: absolute; inset: -4px 0; }
  :is(html.cust, .pv) .ma-lnk::after { content: ""; position: absolute; inset: 0 -10px; }
  :is(html.cust, .pv) :is(.mcp-paste .btn, .pw-chips button)::after { content: ""; position: absolute; inset: -6px 0; }
  :is(html.cust, .pv) .pw-addline .btn::after { content: ""; position: absolute; inset: 0 -4px 0 0; }
  :is(html.cust, .pv) .tlx .hx-x::after { content: ""; position: absolute; inset: -4px; }
  :is(html.cust, .pv) :is(.mem-acts, .mem-ctl) .icon-btn::after { content: ""; position: absolute; inset: -6px; }
  :is(html.cust, .pv) .kf-scene:not(.ho-scene) .kf-grow-play::after { content: ""; position: absolute; inset: -5px; }
  :is(html.cust, .pv) .tlx .tw-pc .tw-hit::after { content: ""; position: absolute; inset: -20px 0 -6px; }
  :is(html.cust, .pv) :is(.fin-tries > .fin-try, .mem-note-more) { min-height: 44px; }
  
  :is(html.cust, .pv) .kf-tools :is(.seg > *, .btn.sm) { position: relative; }
  :is(html.cust, .pv) .kf-tools :is(.seg > *, .btn.sm)::after { content: ""; position: absolute; inset: -9px 0; }
  
  :is(html.cust, .pv) .cx-fin .cx-sw button { position: relative; }
  :is(html.cust, .pv) .cx-fin .cx-sw button::after { content: ""; position: absolute; inset: -5px 0; }
  
  :is(html.cust, .pv) .cga-t > a { position: relative; }
  :is(html.cust, .pv) .cga-t > a::after { content: ""; position: absolute; inset: -11px 0 -12px; }
}

@container cx (max-width: 300px) {
  :is(html.cust, .pv) .composer.cx:not(:has(.em.warn, .em.stop)) .cx-ics > button:only-of-type { width: 44px; }
}


.door.px::before, .door.px::after { display: none; }

.door.px > .px-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; image-rendering: pixelated; }
.door.px > .px-c { position: absolute; z-index: 1; transition: opacity 0.35s; }
.door.px > .px-main { position: relative; z-index: 2; }
.door.px > a.px-name { z-index: 3; }
.px-tl { top: 24px; left: 28px; left: max(28px, env(safe-area-inset-left)); top: max(24px, env(safe-area-inset-top)); }

.px-tr { top: 36px; right: 28px; right: max(28px, env(safe-area-inset-right)); top: max(36px, env(safe-area-inset-top)); }
.px-name { display: inline-flex; align-items: center; gap: 10px; font-size: 40px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.px-name .d-chip { font-size: 10px; letter-spacing: 0.1em; }
a.px-name { margin: -6px -8px; padding: 6px 8px; color: inherit; text-decoration: none; border-radius: 8px; transition: opacity 0.15s; }
a.px-name:hover { opacity: 0.75; }
a.px-name:focus-visible { outline: 2px solid rgba(var(--ice-rgb), 0.7); outline-offset: 4px; }
.px-no { font: 500 15px var(--mono); color: var(--text-2); }

.px-stat { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font: 500 11px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.px-stat > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.px-stat b { font-weight: 600; color: var(--text-2); }
.px-stat b.err { color: var(--red); }

.door.px { --px-room: 110px; --px-gap: 24px; }
.door.px > .px-foot { left: 24px; right: 24px; bottom: max(26px, env(safe-area-inset-bottom)); }
.px-base { margin-top: 20px; }

@media (width > 640px) and (height <= 520px) { .door.px { --px-room: 90px; } }

.px-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 100px 20px; }
.px-stage { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.px-card { width: 400px; max-width: 100%; display: flex; flex-direction: column; padding: 30px 28px 22px; text-align: left; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); }
.px-card h1.d-h-sm { margin: 0 0 4px; }
.px-card .d-mono { margin-bottom: 22px; }
.px-fields { display: flex; flex-direction: column; gap: 12px; }
.px-card .d-disc .d-hint { text-align: left; }

.px-card.sn { padding: 28px 28px 22px; }
.sn-top { width: 100%; margin-bottom: 18px; }
.sn-mark { display: grid; grid-template-columns: repeat(14, 3px); grid-auto-rows: 3px; width: 42px; height: 42px; flex: none; }
.sn-mark i { background: var(--ice); }
.sn-mark i.f { background: var(--text); }
.sn-mark i.e { background: transparent; }
.door h1.sn-h { margin: 16px 0 0; max-width: 100%; min-width: 0; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; overflow-wrap: break-word; }
.sn-sub { margin: 6px 0 0; max-width: 100%; min-width: 0; font-size: 14px; color: var(--text-2); overflow-wrap: break-word; }
.sn-form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.sn .d-fld label { font-weight: 500; color: var(--text); }
.sn .d-labrow .d-tlink { font-size: 13px; }
.sn .d-field { min-height: 46px; border-radius: 10px; }
.sn .d-big { min-height: 48px; }
.sn-row2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sn-row2 .d-big { width: auto; min-width: 116px; }
.sn-row2 .d-tlink { min-width: 0; text-align: left; }
.sn .d-disc { margin-top: 14px; }

.sn-u { padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--text-3); }
.sn-u:hover { text-decoration-color: var(--text); }
.d-err .sn-u { color: inherit; text-decoration-color: currentColor; }
.sn-under { margin: 16px 0 0; max-width: 100%; font-size: 13.5px; color: var(--text-2); }
.px-stage > .sn-under { text-align: center; }
.sn-legal { margin: 14px 0 0; font-size: 12.5px; color: var(--text-3); text-align: center; }
.sn-legal a { text-decoration: none; }
.sn-legal a:hover { color: var(--text); }

.sn-list { margin: 20px 0 0; padding: 0; list-style: none; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.sn-list li { display: flex; align-items: stretch; }
.sn-list li + li { border-top: 1px solid var(--line); }
.sn-acct { flex: 1; min-width: 0; min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 8px 14px; border: 0; background: none; color: var(--text); font: inherit; font-size: 14.5px; font-weight: 500; text-align: left; }
.sn-acct:hover, .sn-x:hover { background: color-mix(in srgb, var(--text) 5%, transparent); }
.sn-acct > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: break-word; }
.sn-acct small { display: block; font-size: 12.5px; font-weight: 400; color: var(--text-3); }
.sn-acct .d-av { width: 32px; height: 32px; font-size: 14px; }
.sn-acct > svg.i { color: var(--text-3); }
.sn-x { flex: none; width: 52px; display: flex; align-items: center; justify-content: center; border: 0; border-left: 1px solid var(--line); background: none; color: var(--text-2); }
.sn-x:hover { color: var(--red); }

.sn-chip { align-self: flex-start; max-width: 100%; min-width: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-top: 14px; padding: 4px 12px 4px 5px; border-radius: 18px; border: 1px solid var(--line-2); background: none; color: var(--text); font: inherit; font-size: 13.5px; font-weight: 500; text-align: left; }
.sn-chip:hover { border-color: var(--text-3); }

.sn-chip:disabled { border-color: var(--line-2); cursor: default; }
.sn-chip > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.sn-chip svg.i { width: 13px; height: 13px; color: var(--text-3); }
.sn-u:focus-visible, .sn-acct:focus-visible, .sn-x:focus-visible, .sn-chip:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; }
.sn-acct:focus-visible, .sn-x:focus-visible { outline-offset: -2px; }

.sn-caps { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--yellow); }
.sn-caps svg.i { width: 13px; height: 13px; }
.sn-note { margin: 0; display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); font-size: 13.5px; line-height: 1.45; color: var(--text-2); overflow-wrap: break-word; }
.sn-note > span { min-width: 0; }
.sn-note b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.sn-note svg.i { margin-top: 2px; color: var(--text-3); }
.sn-h + .sn-note, .sn-sub + .sn-note { margin-top: 16px; }
.sn-spin { width: 15px; height: 15px; flex: none; border-radius: 50%; border: 2px solid color-mix(in srgb, currentColor 25%, transparent); border-top-color: currentColor; animation: sn-spin 0.8s linear infinite; }
@keyframes sn-spin { to { transform: rotate(360deg); } }
.px-fine { margin: 18px 0 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.px-fine svg.i { width: 13px; height: 13px; }


.px-step { margin: 0 0 10px; font: 600 11px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.px-card .d-mono .dot { margin-right: 8px; vertical-align: 1px; }

.px-card .d-mono { white-space: normal; }
.px-card .d-mono > span { white-space: nowrap; }

@container page (width <= 400px) { .px-card .d-mono { font-size: max(11px, min(13px, 3.4vw)); } }
.px-text { margin: -8px 0 18px; font-size: 14px; line-height: 1.55; color: var(--text-2); overflow-wrap: anywhere; }
.px-text b { color: var(--text); font-weight: 500; }
.d-state + .px-text { margin-top: 0; }
.px-card .d-panel { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.px-card .d-acct + .d-panel, .px-card .d-acct + .px-fields { margin-top: 14px; }
.px-card .d-quote { margin-bottom: 4px; }
.px-card .d-tip { font-size: 13px; }
.px-card .d-row { grid-template-columns: minmax(0, 1fr); }


.door.px > .px-newer { position: fixed; z-index: 20; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 6px 6px 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); box-shadow: var(--d-shadow); font-size: 13px; color: var(--text-2); white-space: nowrap; }

@media (width <= 640px) {
  
  .door.px > .px-newer { font-size: 12.5px; }
}

@container page (width <= 640px) {
  .px-tl { top: max(16px, env(safe-area-inset-top)); left: max(18px, env(safe-area-inset-left)); }
  .px-tr { top: max(22px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); }
  .px-name { font-size: 28px; }
  .px-no { font-size: 12px; }
  .door.px { --px-gap: 22px; }
  .door.px > .px-foot { left: 16px; right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); }
  .px-stat { gap: 4px 14px; font-size: 10.5px; }
  .px-main { align-items: flex-start; padding: 66px 16px; }
  .px-stage { width: 100%; margin: auto 0; }
  .px-card { width: 100%; padding: 22px 16px 16px; }
  .px-card.sn { padding: 22px 16px 16px; }
  .door h1.sn-h { font-size: 23px; }
  .sn .d-big { min-height: 50px; }
  .sn-acct { min-height: 60px; }
  .sn-chip { min-height: 44px; border-radius: 22px; }
  
  a.px-name { margin: -8px; padding: 8px; }
  .sn-legal a { position: relative; }
  .sn-legal a::after { content: ""; position: absolute; inset: -15px -8px; }
}

@media (height <= 520px) {
  
  .px-tl { top: max(12px, env(safe-area-inset-top)); left: max(18px, env(safe-area-inset-left)); }
  .px-tr { top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); }
  .px-name { font-size: 28px; }
  
  a.px-name { margin: -8px; padding: 8px; }
  .px-no { font-size: 12px; }
  .px-main { align-items: flex-start; padding-top: 54px; padding-bottom: 20px; }
  .px-card.sn { width: 480px; padding-top: 16px; padding-bottom: 14px; }
  .px-card.sn > .sn-mark { display: none; }
  .door h1.sn-h { margin-top: 0; font-size: 21px; }
  .sn-chip { margin-top: 8px; min-height: 44px; border-radius: 22px; }
  .sn-form { gap: 10px; margin-top: 10px; }
  .sn .d-cb { min-height: 44px; }
  .sn-u { position: relative; }
  .sn-u::after { content: ""; position: absolute; inset: -12px -6px; }
  .sn-list { margin-top: 12px; }
  .px-base { margin-top: 12px; }
}

@media (height <= 350px) {
  .px-main { padding-top: 50px; }
  .px-card.sn { padding-top: 12px; }
  .sn-chip { margin-top: 4px; }
  .sn-form { gap: 8px; margin-top: 8px; }
  .sn .d-field { min-height: 44px; }
  .sn .d-big { min-height: 44px; }
}

@media (pointer: coarse) {
  .sn .d-cb { min-height: 44px; }
  .sn-u, .sn .d-tlink { position: relative; }
  .sn-u::after, .sn .d-tlink::after { content: ""; position: absolute; inset: -12px -6px; }
  .sn-chip { min-height: 44px; border-radius: 22px; }
  .sn-legal a { position: relative; }
  .sn-legal a::after { content: ""; position: absolute; inset: -15px -8px; }
}
@media (prefers-reduced-motion: reduce) { .sn-spin { animation-duration: 2.4s; } }


:is(html.cust, .pv) {
  --code: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --mono: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --acc: var(--text-2);
  --acc-rgb: 163, 163, 171;
  --acc-text: var(--text);
  --peri: var(--text-2);
  
  --box: #3A3936;
  --box-on: #474642;
  --box-edge: #6E6C64;
}
:is(html.cust.light, .light .pv) { --acc-rgb: 90, 90, 98; --box: var(--card); --box-on: var(--raise); --box-edge: var(--line-2); }
html.cust .door { --mono: var(--code); }
:is(html.cust, .pv) :is(.wu-list, .hm-news) { --ice: var(--text-2); --ice-rgb: var(--acc-rgb); --ice-text: var(--text); }
:is(html.cust, .pv) :is(code, pre, kbd, .md code.inl, .fc-body, .fc-sub, .cl-kbd, .cx-pc) { font-family: var(--code); }
:is(html.cust, .pv) :is(
  .cm-eyebrow,
  .cm-office-lab,
  .cm-ro-tag,
  .csoon-badge,
  .cx-pg,
  .em-h,
  .eyebrow,
  .ho-lab,
  .hw-h,
  .mcp-gh,
  .mcp-sub,
  .md-table th,
  .pa-sect,
  .swx-gh,
  .td-g,
  .tlx .hx-th
) { text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 500; }
:is(html.cust, .pv) .wu-tag { padding: 0; background: none; color: var(--text-3); font-size: 12.5px; }


:is(html.cust, .pv) .content:not(.hm) h1 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
:is(html.cust, .pv) .top:has(> .crumbs:only-child):not(:has(.crumbs a)):has(+ .content h1) { display: none; }
:is(html.cust, .pv) .top:not(:has(> .crumbs:only-child)):not(:has(.crumbs a)):has(+ .content h1) > .crumbs { visibility: hidden; }
@media (width > 760px) and (height > 520px) {
  :is(html.cust, .pv) .top:has(> .crumbs:only-child):not(:has(.crumbs a)):has(+ .content h1) + .content { padding-top: 60px; }
}
@container page (width <= 760px) {
  :is(html.cust, .pv) .top:not(:has(.crumbs a)):has(+ .content h1) + .content h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
:is(html.cust, .pv) .win-ctl { border-color: transparent; background: none; opacity: 0.6; }
:is(html.cust, .pv) .win-ctl:is(:hover, :focus-visible), :is(html.cust, .pv) .win-bar .win-ctl { opacity: 1; }



:is(html.cust, .pv) :is(.card, .tl-card, .pw-pcard:not(.pw-pnew), .pa-metric, .pa-acct, .hx-nav.hx-flat, .ho-card, .ho-wait, .kf-grow, .lo-prefs, .rf-panel, .dz) { border-color: transparent; border-radius: 16px; }
:is(html.cust, .pv) :is(.tl-card, .pw-pcard:not(.pw-pnew)):hover { border-color: var(--line-2); }
:is(html.cust, .pv) :is(.tl-card, .tlx) .bd-tile { background: none; border-color: transparent; }
:is(html.cust, .pv) .theme-opt.on { border-color: var(--text-3); box-shadow: none; }
:is(html.cust, .pv) .theme-opt .theme-l svg { color: var(--text); }
:is(html.cust, .pv) .em-tick { background: var(--text-3); }
:is(html.cust, .pv) .rf-panel { background: var(--card); }
:is(html.cust, .pv) .pa-acct { --ff: var(--raise); }
:is(html.cust, .pv) .pa-acct .pa-dot { color: var(--btn-fg); }
:is(html.cust.light, .light .pv) :is(.pa, .set-plan) { --pa-pro: var(--text-2); }
:is(html.cust, .pv) .composer.cx { --ember: var(--text-2); }
:is(html.cust, .pv) :is(.em-bar i.f, .em-live) { color: var(--text-2); }
:is(html.cust, .pv) .tlx .wk-tile:is(.peri, .hx-peri) { color: var(--text-2); background: var(--raise); border-color: var(--line-2); }
:is(html.cust, .pv) .pill.mcp-op { color: var(--text-2); background: var(--raise); }
:is(html.cust, .pv) .pill.mcp-new { color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }


:is(html.cust, .pv) .composer.cx { border-radius: 20px; border-color: transparent; background: var(--box); box-shadow: none; }
:is(html.cust, .pv) .composer.cx:focus-within { border-color: var(--box-edge); }
:is(html.cust, .pv) .composer.cx textarea::placeholder { color: var(--text-2); }
:is(html.cust, .pv) .composer.cx :is(.cx-plus, .cx-pol, .em-btn):is(:hover, [aria-expanded="true"]) { background: var(--box-on); }
:is(html.cust.light, .light .pv) .composer.cx { border-color: var(--line); }
:is(html.cust.light, .light .pv) .composer.cx:focus-within { border-color: var(--line-2); }
:is(html.cust, .pv) .composer.cx .foot .mk-btn.hw-chip { background: transparent; box-shadow: none; }
:is(html.cust, .pv) .composer.cx .foot .mk-btn.hw-chip:hover, :is(html.cust, .pv) .composer.cx .foot .mk-btn.hw-chip[aria-expanded="true"] { background: var(--box-on); }

@container cx (min-width: 380px) {
  :is(html.cust, .pv) .composer.cx .foot .mk-btn.hw-chip .hw-mn { display: inline; }
}

:is(html.cust, .pv) .composer.cx .cx-send:disabled { background: transparent; box-shadow: none; }
:is(html.cust, .pv) .composer.cx .cx-chip:not(.on) { border-color: transparent; background: transparent; }
:is(html.cust, .pv) .composer.cx .cx-chip:not(.on):hover { background: var(--box-on); }



@media (hover: hover) and (pointer: fine) and (width > 760px) and (height > 520px) {
  :is(html.cust, .pv) .sb-li:not(:hover):not(:focus-within):not(.on):not(.open) .sb-c { padding-right: 10px; }
}


@container page (width > 1180px) {
  :is(html.cust, .pv, .ec-page) .composer-dock > .cx-jump { left: calc(100% + 14px); top: 22px; transform: translate(0, 8px); }
  :is(html.cust, .pv, .ec-page) .composer-dock > .cx-jump.show { transform: translate(0, 0); }
}
@container page (width <= 1180px) {
  :is(html.cust, .pv, .ec-page) .composer-dock > .cx-jump { left: auto; right: 6px; transform: translate(0, 8px); }
  :is(html.cust, .pv, .ec-page) .composer-dock > .cx-jump.show { transform: translate(0, 0); }
  :is(html.cust, .pv, .ec-page) .composer-dock > .cx-jump.say { width: auto; aspect-ratio: 1; padding: 0; justify-content: center; border-radius: 50%; }
  :is(html.cust, .pv, .ec-page) .composer-dock > .cx-jump.say::after { border-radius: 50%; }
  :is(html.cust, .pv, .ec-page) .composer-dock > .cx-jump.say span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}


.av.tint { color: hsl(var(--hue) 70% 84%); background: hsl(var(--hue) 30% 26%); box-shadow: inset 0 0 0 1px hsl(var(--hue) 30% 34%); }
.light .av.tint, .cust-light .av.tint { color: hsl(var(--hue) 55% 28%); background: hsl(var(--hue) 62% 90%); box-shadow: inset 0 0 0 1px hsl(var(--hue) 40% 80%); }

.me .who > span, .me .who small { white-space: normal; min-width: 0; overflow-wrap: break-word; }

.av.pf-big { width: 44px; height: 44px; border-radius: 12px; font-size: 18px; }


.pf-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.set-sec .pf-form { max-width: 560px; }
.pf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pf-l { font-size: 13px; font-weight: 600; color: var(--text-2); }
.pf-field .field { width: 100%; }
.pf-field .field[aria-invalid="true"] { border-color: var(--red); }
.pf-h { font-size: 12.5px; line-height: 1.45; color: var(--text-3); }
.pf-colors { display: grid; grid-template-columns: repeat(9, 32px); gap: 6px; }
.pf-sw { padding: 0; border: 0; background: transparent; border-radius: 10px; cursor: pointer; line-height: 0; }
.pf-sw .av { width: 32px; height: 32px; border-radius: 9px; font-size: 13px; }
.pf-sw:hover .av { filter: brightness(1.12); }
.pf-sw.on { outline: 2px solid var(--text); outline-offset: 2px; }
.pf-sw:focus-visible { outline: 2px solid var(--line-2); outline-offset: 2px; }
.pf-sw.on:focus-visible { outline-color: var(--text); }
.pf-sign { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--text-2); }
.pf-sign svg { flex: none; color: var(--text-3); }
.pf-sign b { color: var(--text); font-weight: 600; }
.pf-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pf-acts .btn:disabled { cursor: default; }
.pf-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--green-text); }
.pf-form .err { margin: 0; }


:root { --yg0: #3A3936; --yg1: #1E4630; --yg2: #2A7347; --yg3: #3FA466; --yg4: #5BD08A; }
.light, .cust-light { --yg0: #E8E3D4; --yg1: #C2EACF; --yg2: #8BD6A6; --yg3: #47B873; --yg4: #24914F; }
.yg-wrap { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.yg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.yg-head b { font-size: 15px; font-weight: 600; }
.yg-legend { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--text-3); }
.yg-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 2.5px; }
.yg-legend i:first-child { margin-left: 4px; }
.yg-legend i:last-child { margin-right: 4px; }
.yg-body { display: flex; align-items: flex-start; min-width: 0; }
.yg-days { flex: none; display: block; }
.yg-scroll { flex: 1 1 auto; min-width: 0; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; padding-bottom: 4px; scrollbar-width: thin; }
.yg { display: block; max-width: none; cursor: pointer; touch-action: pan-x pan-y; -webkit-tap-highlight-color: transparent; }
.yg-lbl { fill: var(--text-3); font-size: 10px; font-family: inherit; }
.yg rect.yg-c, .yg-legend i.l0 { fill: var(--yg0); background: var(--yg0); }
.yg rect.l1, .yg-legend i.l1 { fill: var(--yg1); background: var(--yg1); }
.yg rect.l2, .yg-legend i.l2 { fill: var(--yg2); background: var(--yg2); }
.yg rect.l3, .yg-legend i.l3 { fill: var(--yg3); background: var(--yg3); }
.yg rect.l4, .yg-legend i.l4 { fill: var(--yg4); background: var(--yg4); }
.yg rect.on { stroke: var(--text); stroke-width: 1.5; }
.yg-wrap .yg-pick { margin: 0; min-height: 20px; font-size: 13.5px; color: var(--text-2); }
.yg-pick b { color: var(--text); font-weight: 600; }
.yg-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 4px 0 0; }
.yg-stats > div { background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.light .yg-stats > div, .cust-light .yg-stats > div { background: var(--bg); }
.yg-stats dt { font-size: 12px; color: var(--text-3); }
.yg-stats dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; white-space: normal; min-width: 0; overflow-wrap: break-word; }
.yg-stats dd small { display: block; font-size: 12px; font-weight: 400; color: var(--text-2); }
.yg-wrap .yg-empty { margin: 0; font-size: 13.5px; }


.ug-page { max-width: 920px; gap: 18px; }
.ug-intro h1 { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -0.015em; }
.ug-intro p { margin: 6px 0 0; max-width: 66ch; line-height: 1.55; }
.ug-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; min-width: 0; }
.set-sec .ug-open { align-self: flex-start; }

@container page (width <= 760px) {
  .pf-field .field { font-size: 16px; min-height: 44px; }
  .pf-colors { grid-template-columns: repeat(5, 48px); gap: 10px; }
  .pf-sw .av { width: 48px; height: 44px; border-radius: 11px; font-size: 15px; }
  .pf-acts .btn { min-height: 44px; padding: 0 18px; }
  .yg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ug-card { padding: 16px 14px; }
  .ug-intro h1 { font-size: 22px; }
}



.pfe-line { margin: 0; }
.pfe-wait { display: flex; gap: 10px; align-items: flex-start; max-width: 560px; padding: 12px 14px; border-radius: 12px; background: var(--raise); border: 1px solid var(--line); }
.pfe-wait > svg { flex: none; margin-top: 2px; color: var(--text-2); }
.pfe-wait > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.pfe-wait b { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.pfe-wait .mono { font-family: var(--mono); font-size: 12.5px; }
.pfe-wait .pf-acts { margin-top: 2px; }
@container page (width <= 760px) {
  .pf-form .field[type="email"], .pf-form .field[type="password"] { font-size: 16px; }
}

@media (pointer: coarse) {
  .pf-colors { grid-template-columns: repeat(5, 48px); gap: 10px; }
  .pf-sw .av { width: 48px; height: 44px; border-radius: 11px; font-size: 15px; }
}


.fl { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fl .md { min-width: 0; }


.fl .rh { display: inline-flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; min-height: 28px; margin-left: -6px; padding: 0 8px 0 6px; border: 0; border-radius: 7px; background: none; color: var(--text-2); font-size: 13px; line-height: 1.5; text-align: left; font-variant-numeric: tabular-nums; cursor: pointer; }
.fl .rh:hover { background: var(--card); color: var(--text); }
.fl .rh.live { color: var(--text); }
.fl .rh-i { display: grid; place-items: center; width: 14px; height: 14px; flex: none; color: var(--text-3); }
.fl .rh-i svg { width: 14px; height: 14px; transition: transform .2s; }
.fl .rh.open .rh-i svg { transform: rotate(90deg); }
.fl .fl-ring { display: block; width: 12px; height: 12px; flex: none; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--text-2) 28%, transparent); border-top-color: var(--text-2); animation: fl-spin .9s linear infinite; }
@keyframes fl-spin { to { transform: rotate(360deg); } }


.fl .fold { display: grid; grid-template-rows: 1fr; margin-bottom: -10px; transition: grid-template-rows .26s cubic-bezier(.2, .8, .2, 1); }
.fl .fold.shut { grid-template-rows: 0fr; }
.fl .fold-i { min-height: 0; overflow: hidden; }
.fl .flow { display: flex; flex-direction: column; gap: 8px; padding: 0 0 10px; }
.fl .cur { display: flex; align-items: center; min-height: 22px; color: var(--text-2); font-size: 13.5px; line-height: 1.45; }
.fl .cur.quiet { color: var(--text-3); }


.fl .rw { --kc: var(--text-3); position: relative; min-width: 0; color: var(--text-2); font-size: 14px; line-height: 20px; }
.fl .rw.t-think { --kc: var(--text); }
.fl .rw.t-read { --kc: var(--lk-blue); }
.fl .rw.t-write { --kc: var(--green); }
.fl .rw.t-wait { --kc: var(--red); }
.fl .rw.soft { --kc: var(--yellow); }
.fl .rw.now { color: var(--text); }
.fl .rw + .rw { margin-top: -8px; }
.fl .rw + .rw::before, .fl .rw:has(+ .rw)::after { content: ""; position: absolute; left: 12px; width: 1.5px; background: color-mix(in srgb, var(--kc) 38%, var(--line)); }
.fl .rw + .rw::before { top: 0; height: 4px; }
.fl .rw:has(+ .rw)::after { top: 34px; bottom: 0; }
.fl .rw.wait + .rw::before, .fl .rw + .rw.wait::before { height: 4px; }
.fl .rw.wait:has(+ .rw)::after { top: 34px; }
.fl .rw-b { display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: 28px; padding: 4px 0; border: 0; border-radius: 7px; background: none; color: inherit; font: inherit; text-align: left; }
.fl button.rw-b { cursor: pointer; }
.fl button.rw-b:hover { color: var(--text); }
.fl .rw-g { position: relative; z-index: 1; width: 26px; height: 26px; flex: none; display: grid; place-items: center; }
.fl .rw .fl-ring { border-color: color-mix(in srgb, var(--kc) 28%, transparent); border-top-color: var(--kc); }
.fl .rw-t { flex: 1 1 auto; min-width: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.fl .rw-ch { flex: none; display: inline-flex; align-self: center; color: var(--text-3); opacity: .7; transition: transform .15s; }
.fl .rw-ch svg { width: 12px; height: 12px; }
.fl .rw.open .rw-ch { transform: rotate(90deg); }

.fl .rw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px 38px; min-width: 0; }
.fl .rw-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 26px; padding: 0 10px 0 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--text-2); font-size: 12.5px; }
.fl .rw-chip svg { flex: none; width: 12px; height: 12px; color: var(--text-3); }
.fl .rw-chip span { min-width: 0; white-space: normal; overflow-wrap: break-word; }

.fl .rw-x { display: flex; flex-direction: column; gap: 5px; margin: 2px 0 8px 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 12.5px; line-height: 1.5; color: var(--text-3); min-width: 0; }
.fl .rw-x p { margin: 0; }
.fl .rw-x pre { margin: 0; font: 11.5px/1.5 var(--mono); color: var(--text-3); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: auto; }
.fl .rw-x code { font: 11.5px/1.5 var(--mono); color: var(--text-2); overflow-wrap: anywhere; }
.fl .rw-run + .rw-run { margin-top: 6px; }
.fl .rw-th { margin: -1px 0 6px 38px; max-height: 4.6em; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; font-size: 12.5px; line-height: 1.5; color: var(--text-3); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%); mask-image: linear-gradient(to bottom, transparent, #000 70%); }

.fl .flow > .cur.quiet { padding-left: 38px; }


.fl .stg-slot { flex: none; height: 374px; min-width: 0; margin: 2px 0; transition: height .4s cubic-bezier(.2, .8, .2, 1); }
.fl .stg-slot.done.high { height: clamp(396px, calc((100dvh - 330px) * 1.1), 616px); }
.fl .stg-slot.isfull { transition: none; }
.fl .stg { display: flex; flex-direction: column; height: 100%; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13.5px; line-height: 1.4; }
.fl .stg.full { position: fixed; inset: 0; z-index: 900; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; }
.fl .stg-h { flex: none; display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 5px 8px 5px 12px; border-bottom: 1px solid var(--line); min-width: 0; }
.fl .stg-fi { display: inline-flex; color: var(--text-2); }
.fl .stg-fi svg { width: 15px; height: 15px; }
.fl .stg-name { flex: 0 1 auto; min-width: 60px; white-space: normal; font-size: 14px; font-weight: 600; overflow-wrap: break-word; }
.fl .stg-sub { flex: 0 9 auto; min-width: 0; font: 12px/1.3 var(--mono); color: var(--text-3); white-space: normal; overflow-wrap: break-word; }
.fl .stg-acts { flex: none; margin-left: auto; display: flex; align-items: center; gap: 2px; }
.fl .stg-seg { display: inline-flex; margin-right: 4px; padding: 2px; gap: 2px; background: var(--sw-bg); border: 1px solid var(--sw-line); border-radius: 10px; }
.fl .stg-seg button { border: 0; background: none; color: var(--text-2); font-size: 12.5px; padding: 3px 10px; border-radius: 6px; cursor: pointer; }
.fl .stg-seg button.on { background: var(--sw-on); color: var(--text); font-weight: 600; box-shadow: var(--sw-lift); }
.fl .stg-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 8px; border: 0; border-radius: 7px; background: none; color: var(--text-2); font-size: 12.5px; white-space: nowrap; cursor: pointer; }
.fl .stg-btn:hover { background: var(--card-2); color: var(--text); }
.fl .stg-btn svg { width: 14px; height: 14px; }


.fl .stg-body { position: relative; flex: 1; min-height: 0; display: flex; }
.fl .stg-code { flex: 0 0 44%; min-width: 0; overflow-x: hidden; overflow-y: auto; display: flex; align-items: flex-start; padding: 8px 0; font: 12px/1.55 var(--mono); transition: flex-basis .4s cubic-bezier(.2, .8, .2, 1), opacity .25s; scrollbar-width: none; }
.fl .stg-code::-webkit-scrollbar { display: none; }
.fl .stg-gut { flex: none; margin: 0; padding: 0 10px 0 12px; font: inherit; color: var(--text-3); text-align: right; user-select: none; -webkit-user-select: none; }
.fl .stg-srcw { flex: 1 1 0; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent); }
.fl .stg-src { margin: 0; font: inherit; color: var(--text-2); white-space: pre; }
.fl .stg-view { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--card-2); border-left: 1px solid var(--line); }
.fl .stg-wait { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px 22px; text-align: center; color: var(--text-3); font-size: 13px; }

.fl .stg-thumb { position: absolute; left: 0; top: 0; width: 1000px; height: calc(100% / var(--pic, .41)); border: 0; background: transparent; transform: scale(var(--pic, .41)); transform-origin: 0 0; visibility: hidden; pointer-events: none; }
.fl .stg-thumb.front { visibility: visible; }
.fl .stg-live { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; pointer-events: none; background: var(--bg); }
.fl .stg.alive .stg-live { opacity: 1; pointer-events: auto; transition: opacity .25s; }
.fl .stg[data-body="view"] .stg-code { flex-basis: 0; padding: 0; opacity: 0; }
.fl .stg[data-body="view"] .stg-view { border-left-width: 0; }
.fl .stg[data-body="code"] .stg-code { flex-basis: 100%; overflow-y: auto; scrollbar-width: thin; }
.fl .stg[data-body="code"] .stg-srcw { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.fl .stg[data-body="code"] .stg-view { flex: 0 0 0; border-left-width: 0; }


.fl .stg-foot { flex: none; display: flex; align-items: center; gap: 14px; height: 30px; padding: 0 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); overflow: hidden; }
.fl .sg { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fl .sg svg { width: 12px; height: 12px; }
.fl .sg .fl-ring { width: 11px; height: 11px; }
.fl .sg-o { display: block; width: 9px; height: 9px; margin: 0 1px; border-radius: 50%; border: 1px solid var(--line-2); }
.fl .sg.now { color: var(--text); }
.fl .sg.todo { opacity: .7; }


@media (width <= 760px) {
  .fl .stg[data-body="view"] .stg-code { flex: 0 0 0; padding: 0; }
  .fl .stg[data-body="view"] .stg-view { flex: 1 1 0; border-bottom: 0; }
  .fl .stg[data-body="code"] .stg-code { flex: 1 1 0; }
  .fl .stg[data-body="code"] .stg-view { flex: 0 0 0; border: 0; }
}
@container page (width <= 760px) {
  .fl .stg-slot { height: 366px; }
  .fl .stg-slot.done.high { height: clamp(360px, calc(100dvh - 330px), 480px); }
  .fl .stg-h { flex-wrap: wrap; }
  .fl .stg-acts { margin-left: 0; flex: 1 0 100%; }
  .fl .stg-seg { margin-right: auto; }
  .fl .stg-btn span { display: none; }
  .fl .stg-btn span.keep { display: inline; }
  .fl .stg-body { flex-direction: column; }
  .fl .stg-code { flex: 1 1 0; font-size: 11.5px; line-height: 1.5; padding: 5px 0; }
  .fl .stg-view { flex: 0 0 170px; order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .fl .fl-ring { animation-duration: 3s; }
  .fl .stg-slot, .fl .fold, .fl .stg-code { transition: none; }
}


.fl .rw-x .rw-sum { margin: 0; color: var(--text); font-size: 14px; line-height: 1.55; }
.fl .rw-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.fl .rw-more:hover { color: var(--text); }
.fl .rw-more svg { width: 12px; height: 12px; transform: rotate(90deg); transition: transform .15s; }
.fl .rw-more[aria-expanded="true"] svg { transform: rotate(-90deg); }
.fl .rw-raw { max-height: 22em; overflow: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.fl .rw-raw, .fl .rw-raw :is(p, li, span, strong, em, code) { font-size: 12.5px; line-height: 1.55; color: var(--text-3); }
.fl .rw-th { font-size: 13px; color: var(--text-2); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.4), #000 45%); mask-image: linear-gradient(to bottom, rgba(0,0,0,.4), #000 45%); }
@media (pointer: coarse) {
  .fl .rw-b, .fl .rh { min-height: 44px; align-items: center; }
  .fl .rw-more { min-height: 44px; }
  .fl .stg-seg button { min-height: 40px; padding: 0 14px; }
  .fl .stg-btn { min-width: 44px; height: 44px; justify-content: center; }
}
@container page (width <= 640px) { .fl .rw-raw { max-height: 50vh; } }


.fl .stg.full { container: page / inline-size; }


.fl { --lk-blue: #4DA3FF; }
:is(.light, .cust-light) .fl { --lk-blue: #1F6FD0; }
.fl .t-think { --kc: var(--text); }
.fl .t-read { --kc: var(--lk-blue); }
.fl .t-write { --kc: var(--green); }
.fl .t-wait { --kc: var(--red); }

.fl .rh { gap: 12px; margin-left: 0; padding: 0 8px 0 0; }
.fl .rh-i { width: 26px; height: 26px; }

.fl .lk-now .rw-t { color: var(--text-2); font-weight: 500; }
.fl .rw-b { align-items: center; gap: 12px; min-height: 34px; }
.fl .rw-n { display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid color-mix(in srgb, var(--kc) 34%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--kc) 13%, var(--bg)); color: var(--kc); }
.fl .rw-n svg { width: 13px; height: 13px; }
.fl .rw.now .rw-n { border-color: var(--kc); }
.fl .rw-line { display: -webkit-box; margin: -4px 128px 6px 38px; overflow: hidden; color: var(--text-3); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fl .lk-w { flex: none; width: auto; min-width: 112px; margin-left: auto; grid-template-columns: 30px auto; column-gap: 8px; padding: 3px 12px 3px 10px; }
.fl .lk-mbar, .fl .lk-split { width: 30px; }
.fl .lk-end .rw-t time { margin-left: 6px; color: var(--text-3); font-size: 12.5px; font-weight: 400; }
.fl .lk-end .rw-n { --kc: var(--text-3); }
.fl .lk-sum { margin: -4px 0 2px 38px; }
.fl .lk-picks { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px 38px; }
.fl .lk-picks button { min-height: 36px; padding: 4px 16px; text-align: left; overflow-wrap: anywhere; border: 1.5px solid var(--btn-bg); border-radius: 18px; background: none; color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fl .lk-picks button.on { background: var(--btn-bg); color: var(--btn-fg); }

@media (pointer: coarse) { .fl .lk-picks button { min-height: 44px; } }

.fl .lk-card { display: block; margin: 6px 0 4px 38px; }
.fl.lk-q { flex-direction: row; align-items: flex-end; gap: 8px; }
.fl .lk-av { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--raise); }
.fl .lk-av svg { width: 14px; height: 14px; }
@container page (width <= 400px) {
  .fl .rw-line { margin-right: 0; }
  .fl .lk-w { min-width: 0; grid-template-columns: auto; padding: 3px 10px; }
  .fl .lk-picks { margin-left: 0; }
  .fl .lk-picks button { flex: 1; min-height: 44px; }
  .fl .lk-card { margin-left: 0; }
}


*, *::before, *::after { scrollbar-width: none !important; }
::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }


@property --edge-up { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --edge-down { syntax: "<length>"; inherits: false; initial-value: 0px; }
.td-nav, .td-body, .td-tabs, .cl-b, .sh-b, .rp-scroll, .rp-reply-box textarea, .rp textarea { scrollbar-width: none; }
.td-nav::-webkit-scrollbar, .td-body::-webkit-scrollbar, .td-tabs::-webkit-scrollbar, .cl-b::-webkit-scrollbar, .sh-b::-webkit-scrollbar, .rp-scroll::-webkit-scrollbar, .rp textarea::-webkit-scrollbar { display: none; width: 0; height: 0; }
.td-nav, .td-body, .cl-b, .sh-b, .rp-scroll {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--edge-up), #000 calc(100% - var(--edge-down)), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--edge-up), #000 calc(100% - var(--edge-down)), transparent 100%);
  transition: --edge-up 0.15s, --edge-down 0.15s;
}
@media (prefers-reduced-motion: reduce) { .td-nav, .td-body, .cl-b, .sh-b, .rp-scroll { transition: none; } }


@property --edge-left { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --edge-right { syntax: "<length>"; inherits: false; initial-value: 0px; }
.md-tw, .md .code pre, .td-tabs {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--edge-left), #000 calc(100% - var(--edge-right)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--edge-left), #000 calc(100% - var(--edge-right)), transparent 100%);
  transition: --edge-left 0.15s, --edge-right 0.15s;
}
@media (prefers-reduced-motion: reduce) { .md-tw, .md .code pre, .td-tabs { transition: none; } }


.sh-dlg { width: min(560px, calc(100vw - 32px)); }
.sh-sub { margin: -6px 0 6px; padding: 0 20px; color: var(--text-2); font-size: 14px; white-space: normal; min-width: 0; overflow-wrap: break-word; }
.sh-b { padding: 4px 20px 14px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; flex: 1 1 auto; }
.sh-opts { display: flex; flex-direction: column; gap: 8px; }
.sh-opt { display: grid; grid-template-columns: 18px 34px minmax(0, 1fr); align-items: start; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.sh-opt.on { border-color: var(--line-2); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.sh-opt.off { opacity: 0.6; }
.sh-opt > input { margin: 9px 0 0; width: 16px; height: 16px; accent-color: var(--btn-bg); cursor: pointer; }
.sh-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--raise); display: inline-flex; align-items: center; justify-content: center; color: var(--text); flex: none; }
.sh-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sh-t label { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.sh-opt.off .sh-t label { cursor: default; }
.sh-t b { font-size: 14.5px; font-weight: 600; }
.sh-t small { font-size: 13px; color: var(--text-2); line-height: 1.45; }
.sh-people { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.sh-matches { display: flex; flex-direction: column; gap: 2px; padding: 4px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); }
.sh-match { font: inherit; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.sh-match:hover, .sh-match:focus-visible { background: var(--raise); }
.sh-match .nm { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sh-match .nm b { font-size: 14px; }
.sh-match .nm small { font-size: 12.5px; color: var(--text-3); }
.sh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 2px 0 4px; border-radius: 999px; background: var(--raise); font-size: 13px; }
.av.sm { width: 22px; height: 22px; border-radius: 999px; font-size: 11px; }
.sh-chip button { width: 24px; height: 24px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.sh-chip button:hover { color: var(--text); background: var(--card-2); }
.sh-what { padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 8px; }
.sh-what p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.sh-what p b { color: var(--text); }
.sh-what .d-label { color: var(--text-3); }
.sh-link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 10px; background: var(--side); border: 1px solid var(--line); }
.light .sh-link, .cust-light .sh-link { background: var(--card-2); }
.sh-link code { flex: 1 1 auto; min-width: 0; font: 12.5px var(--mono); color: var(--text-2); white-space: normal; overflow-wrap: break-word; }
.sh-b .err { margin: 0; }
.btn.sh-open { margin-right: 2px; }
.sh-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); flex-wrap: wrap; }
.sh-banner > div { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; flex: 1 1 240px; }
.sh-banner .faint { font-size: 13px; }
.sh-ro { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; }
@media (width <= 760px) {
  .cl-dlg.sh-dlg { width: 100%; height: auto; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); }
}
@container page (width <= 760px) {
  .sh-opt { grid-template-columns: 20px minmax(0, 1fr); }
  .sh-opt .sh-ic { display: none; }
  .sh-b { padding: 4px 14px 12px; }
  .sh-sub { padding: 0 18px; }
  .sh-chip { min-height: 36px; }
  .sh-chip button { width: 32px; height: 32px; }
  .sh-banner .btn { width: 100%; justify-content: center; }
}
@media (width <= 760px), (pointer: coarse) {
  .sh-opt > input { width: 20px; height: 20px; margin-top: 7px; }
  .sh-match { min-height: 46px; }
}


.pub { min-height: 100vh; min-height: 100dvh; }
.pub-top { display: flex; align-items: center; gap: 10px; padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); border-bottom: 1px solid var(--line); background: var(--side); }
.pub-main { max-width: 820px; margin: 0 auto; padding: 22px max(16px, env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); display: flex; flex-direction: column; gap: 20px; }
.pub-h h1 { margin: 8px 0 4px; font-size: 24px; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.pub-h .faint { margin: 0; font-size: 13.5px; }
.pub-f { padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }



.side.sb-side { flex: 0 0 calc(240px + env(safe-area-inset-left)); width: calc(240px + env(safe-area-inset-left)); padding: 10px 10px max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); gap: 1px; overflow: hidden auto; }
.side.drawer.sb-side { width: min(320px, 88vw); padding: max(10px, env(safe-area-inset-top)) 10px max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); }
.sb-head { flex: none; display: flex; align-items: center; gap: 4px; height: 40px; padding-left: 8px; margin-bottom: 6px; }
.sb-brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 650; font-size: 16.5px; letter-spacing: -0.01em; }
.sb-brand svg.i { width: 19px; height: 19px; }
.sb-brand .tag { font-size: 11.5px; font-weight: 500; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 7px; line-height: 18px; letter-spacing: 0; }
.sb-ib { position: relative; width: 32px; height: 32px; flex: none; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--text-2); text-decoration: none; cursor: pointer; }
.sb-ib:focus-visible, .sb-acct:focus-visible, .sb-r:focus-visible, .sb-dots:focus-visible, .sb-lbl:focus-visible { outline: 2px solid var(--text-2); outline-offset: -2px; }
.sb-nav { flex: 1 1 auto; min-height: 0; min-width: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 1px; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.sb-side .item { min-height: 36px; position: relative; width: 100%; font: inherit; font-size: 14.5px; color: var(--text); text-align: left; background: transparent; border: 0; cursor: pointer; }
.sb-side .item .t { flex: 1 1 auto; min-width: 0; white-space: normal; overflow-wrap: break-word; }
.sb-side .item .n, .sb-side .item .badge { flex: none; margin-left: auto; }
.sb-side .item .badge + .n { margin-left: 6px; }
.sb-side .item > .sb-dot { flex: none; margin-left: auto; width: 7px; height: 7px; }
.sb-side .item:focus-visible { outline: 2px solid var(--text-2); outline-offset: -2px; }

.sb-side .item.on { background: var(--raise); }
.sb-kbd { margin-left: auto; font: 11px var(--mono); color: var(--text-3); border: 1px solid var(--line-2); border-radius: 5px; padding: 0 5px; line-height: 18px; }

.sb-plus { width: 22px; height: 22px; margin-left: -3px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--text); color: var(--bg); }
.sb-plus svg.i { color: var(--bg) !important; stroke-width: 2.2; }
.sb-note { list-style: none; margin: 0 0 6px; padding: 0 10px; font-size: 13px; line-height: 1.45; color: var(--text-3); }

.sb-findln { flex: none; display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.sb-find { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 8px 0 10px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg); color: var(--text-3); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.sb-find:hover { border-color: var(--text-3); color: var(--text-2); }
.sb-find:focus-visible, .sb-newb:focus-visible { outline: 2px solid var(--text-2); outline-offset: 1px; }
.sb-find > svg.i { color: var(--text-3); }
.sb-find .t { flex: 1 1 auto; min-width: 0; }
.sb-fk { flex: none; font: 11px var(--mono); color: var(--text-3); border: 1px solid var(--line-2); border-radius: 5px; padding: 0 5px; line-height: 18px; }
.sb-newb { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; text-decoration: none; cursor: pointer; }
.sb-newb:hover { background: var(--card); }
.sb-newb .sb-plus { margin: 0; width: 26px; height: 26px; }
.sb-newb.off { opacity: 0.5; cursor: not-allowed; }
.sb-newb.off:hover { background: transparent; }
@media (width <= 760px), (pointer: coarse), (height <= 520px) {
  .sb-find { height: 44px; }
  .sb-newb { width: 44px; height: 44px; }
}
@media (hover: none) { .sb-fk { display: none; } }

[hidden] { display: none !important; }
.sb-sub { display: flex; flex-direction: column; gap: 1px; }
.sb-sub .item { padding-left: 36px; color: var(--text-2); }
.sb-sub .item.on { color: var(--text); }
.sb-sub.flush .item { padding-left: 10px; color: var(--text); }
.sb-sub.flush .item svg.i { color: var(--text-2); }

.sb-recents { display: flex; flex-direction: column; min-width: 0; }

.sb-side .item .sb-kbd { opacity: 0; transition: opacity 0.15s; }
.sb-side .item:hover .sb-kbd, .sb-side .item:focus-visible .sb-kbd { opacity: 1; }
.sb-side .item > .sb-dot + .sb-kbd { margin-left: 8px; }

.sb-lbl { flex: none; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; margin: 14px 0 2px; padding: 0 8px 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--text-3); font: inherit; font-size: 12.5px; cursor: pointer; }
.sb-lbl:hover { color: var(--text-2); }
.sb-lbl > svg.i { transition: transform 0.15s; }
.sb-lbl[aria-expanded="true"] > svg.i { transform: rotate(90deg); }
.sb-lbl .reply-dot { margin-left: 0; width: 7px; height: 7px; }
.sb-lbl .badge { margin-left: 0; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--green); color: var(--btn-fg); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.light .sb-lbl .badge, .cust-light .sb-lbl .badge { color: var(--btn-fg); }
.sb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.sb-li { position: relative; }

.sb-c { color: var(--text-2) !important; padding-right: 36px; padding-top: 7px; padding-bottom: 7px; }
.sb-c.on { color: var(--text) !important; }

.sb-priv { display: inline-flex; flex: none; margin-right: 6px; color: var(--text-3); }
.sb-priv svg { width: 12px; height: 12px; }
.sb-c .reply-dot { margin-left: 4px; }
.sb-dots { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--text-2); cursor: pointer; opacity: 0; }
.sb-li:hover .sb-dots, .sb-li.open .sb-dots, .sb-li.on .sb-dots, .sb-dots:focus-visible { opacity: 1; }
.sb-li:hover .sb-c, .sb-li.open .sb-c { background: var(--card); }
.sb-li.on .sb-c { background: var(--raise); }
.sb-dots:hover, .sb-li.open .sb-dots { color: var(--text); background: var(--raise); }
.sb-li.on .sb-dots:hover, .sb-li.on.open .sb-dots { background: var(--line-2); }
.sb-all .t { color: var(--text-3); }
.sb-rename { padding: 1px 0; }
.sb-rename .field { width: 100%; min-height: 36px; font-size: 14.5px; }

.sb-foot { flex: none; display: flex; align-items: center; gap: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.sb-acct { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 6px 10px 6px 6px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.sb-acct.open { background: var(--card); }
.sb-acct .who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.sb-acct .who b { font-size: 14.5px; font-weight: 600; white-space: normal; min-width: 0; overflow-wrap: break-word; }
.sb-acct .who small { font-size: 12.5px; color: var(--text-3); white-space: normal; min-width: 0; overflow-wrap: break-word; }
.sb-acct > svg.i { flex: none; color: var(--text-3); }

@media (height <= 520px) { .sb-acct .who small { display: none; } }
.sb-avw { position: relative; flex: none; display: inline-flex; }
.av.sb-av { width: 30px; height: 30px; border-radius: 50%; font-size: 12.5px; }
.sb-st { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--side); background: var(--text-3); }
.sb-st.ok { background: var(--green); }
.sb-st.warn { background: var(--yellow, #E6B450); }
.sb-st.bad { background: var(--red); }
.sb-bug, .sb-search { width: 36px; height: 36px; color: var(--text-3); }

.sb-foot.sb-one { gap: 6px; }
.sb-me { flex: none; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.sb-me.open { background: var(--card); }
.sb-me:focus-visible { outline: 2px solid var(--text-2); outline-offset: -2px; }
.sb-who { display: flex; align-items: center; gap: 10px; padding: 6px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.sb-who-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.3; }
.sb-who-t b { font-size: 14.5px; font-weight: 600; white-space: normal; min-width: 0; overflow-wrap: anywhere; }
.sb-who-t small { font-size: 12.5px; color: var(--text-3); white-space: normal; min-width: 0; overflow-wrap: anywhere; }
.sb-wdot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--text-3); }
.sb-wdot.ok { background: var(--green); }
.sb-wdot.warn { background: var(--yellow, #E6B450); }
.sb-wdot.bad { background: var(--red); }

.sb-state { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 10px; margin-top: 5px; padding: 8px 10px 4px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.35; color: var(--text-3); }
.sb-state-s { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.sb-state-m { min-width: 0; font: 11.5px/1.35 var(--mono); overflow-wrap: anywhere; }

.sb-menu { position: fixed; z-index: 60; display: flex; flex-direction: column; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; padding: 6px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); }
.light .sb-menu, .cust-light .sb-menu { box-shadow: 0 18px 50px rgba(20, 20, 30, 0.16); }

.sb-mh { padding: 6px 10px 4px; font-size: 13px; color: var(--text-3); white-space: normal; min-width: 0; overflow-wrap: break-word; }
.sb-mi { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 14.5px; text-align: left; text-decoration: none; cursor: pointer; }
.sb-mi:focus-visible { background: var(--raise); outline: none; }
.sb-mi > svg.i { color: var(--text-2); }
.sb-mi .t { white-space: nowrap; }
.sb-mi .r { margin-left: auto; padding-left: 10px; font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.sb-mi .badge { margin-left: auto; }
.sb-mi-dot { flex: none; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--text); }
.light .sb-mi-dot { background: var(--text); }
.sb-mi-dot + .r { margin-left: 0; padding-left: 8px; }
.sb-mi.danger, .sb-mi.danger > svg.i { color: var(--red); }
.sb-sep { height: 1px; margin: 5px 10px; background: var(--line); }
.sb-theme { display: flex; align-items: center; gap: 11px; min-height: 40px; padding: 0 10px; font-size: 14.5px; }
.sb-theme > svg.i { color: var(--text-2); }
.sb-seg { margin-left: auto; display: inline-flex; padding: 2px; background: var(--side); border: 1px solid var(--line-2); border-radius: 8px; }
.sb-seg button { font: inherit; font-size: 11.5px; padding: 2px 7px; border-radius: 6px; color: var(--text-2); background: transparent; border: 0; cursor: pointer; }
.sb-seg button.on { background: var(--raise); color: var(--text); }
.sb-seg button:focus-visible { outline: 2px solid var(--text-2); outline-offset: 1px; }

.sb-tip { position: fixed; z-index: 90; pointer-events: none; max-width: 280px; padding: 5px 10px; font-size: 13px; line-height: 1.35; white-space: pre-line; color: var(--text); background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.light .sb-tip, .cust-light .sb-tip { box-shadow: 0 10px 30px rgba(20, 20, 30, 0.14); }

.side.sb-rail { flex: 0 0 calc(60px + env(safe-area-inset-left)); width: calc(60px + env(safe-area-inset-left)); padding: 10px 0 max(10px, env(safe-area-inset-bottom)) env(safe-area-inset-left); align-items: center; gap: 4px; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
.sb-r { position: relative; width: 40px; height: 40px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); text-decoration: none; cursor: pointer; }
.sb-r.on { background: var(--raise); color: var(--text); }
.sb-r.off { opacity: 0.5; cursor: not-allowed; }
.sb-r:first-child { margin-bottom: 6px; }
.sb-rb { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--green); color: var(--btn-fg); font: 600 10px/16px -apple-system, BlinkMacSystemFont, sans-serif; font-style: normal; text-align: center; }
.sb-rdot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.sb-rail .sb-bug, .sb-rail .sb-search { width: 40px; height: 40px; }
.sb-rme { margin-top: 2px; }
@media (hover: hover) {
  .sb-ib:hover, .sb-r:hover { background: var(--card); color: var(--text); }
  .sb-side .item:not(.on):not(.off):hover { background: var(--card); }
  .sb-acct:hover, .sb-me:hover { background: var(--card); }
  .sb-mi:hover { background: var(--raise); color: var(--text); }
}

@media (width <= 760px) {
  .mbar.sb-bar { gap: 6px; padding: max(6px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) 6px max(6px, env(safe-area-inset-left)); background: var(--bg); }
  .sb-mb { width: 44px; height: 44px; color: var(--text); }
  .sb-mb.off { opacity: 0.4; }
  .sb-title { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 600; font-size: 15.5px; white-space: nowrap; }
  .sb-title > span { min-width: 0; white-space: normal; overflow-wrap: break-word; }
  
  .sb-title > span { cursor: pointer; }
  .sb-title > span:not(.w) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .has-acts > .sb-title { justify-content: flex-start; }
  .sb-acts { flex: none; display: inline-flex; align-items: center; }
  
  .sb-acts .ec-more { min-width: 44px; width: 44px; min-height: 44px; height: 44px; padding: 0; border-radius: 8px; color: var(--text); }
  .sb-acts svg.i { color: var(--text); }
  
  @media (width <= 400px) { .mbar.has-acts.has-eye > .sb-bnew { display: none; } }
  
  .mbar .sb-eye { color: var(--text-2); border: 1px dashed transparent; border-radius: 22px; }
  .mbar .sb-eye.on { color: var(--text); background: var(--card-2); border-color: var(--line-2); }
}

@media (width <= 760px), (pointer: coarse), (height <= 520px) {
  .sb-side .item, .sb-mi { min-height: 44px; font-size: 15.5px; }
  .sb-ib { width: 44px; height: 44px; }
  .sb-lbl { min-height: 40px; font-size: 13px; }
  .sb-lbl > svg.i { opacity: 1; }
  .sb-dots { width: 44px; height: 44px; right: 0; opacity: 1; }
  .sb-c { padding-right: 48px; }
  .sb-acct { min-height: 54px; }
  .sb-theme { min-height: 52px; font-size: 15.5px; }
  .sb-theme { gap: 10px; }
  .sb-seg button { min-height: 36px; padding: 0 8px; font-size: 13px; }
  
  .sb-seg button { position: relative; }
  .sb-seg button::after { content: ""; position: absolute; inset: -4px 0; }
  .sb-rename .field { min-height: 44px; font-size: 16px; }
  .sb-menu { border-radius: 16px; }
  .sb-side .item .sb-kbd { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sb-lbl > svg.i, .sb-side .item .sb-kbd { transition: none; }
}


.d-welcome.d-signup { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.d-welcome.d-signup .d-label { margin: 0; }
.d-welcome.d-signup .d-signup-t { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-2); white-space: normal; }
.d-signup-t b { display: block; margin-bottom: 2px; color: var(--text); font-weight: 600; }
.d-ask { font-size: inherit; color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.d-signup .d-big { justify-content: space-between; }
.d-signup.again { margin-bottom: 16px; }


@media (width > 640px) and (height > 520px) { .j-form .d-field::placeholder { color: transparent; } }
@media (width <= 640px), (height <= 520px) {
  .px-main:has(.j-form) { padding-top: 58px; padding-bottom: 44px; }
  .px-card:has(> .j-form) { padding-top: 18px; padding-bottom: 12px; }
  .px-card:has(> .j-form) .px-step { margin-bottom: 6px; }
  .px-card:has(> .j-form) .d-mono { margin-bottom: 14px; }
  .j-intro { display: none; }
  .j-form, .j-form .d-row { gap: 8px; }
  .j-form .d-labrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .j-form .d-field, .j-form .d-field.mono { min-height: 44px; }
  .j-form textarea.d-field { min-height: 44px; height: 44px; padding-top: 9px; padding-bottom: 9px; resize: none; transition: height 0.18s ease; }
  .j-form textarea.d-field:focus, .j-form textarea.d-field:not(:placeholder-shown) { height: 92px; }
  .j-form .d-hint-row { margin-top: -2px; }
  .j-form .d-tip { margin: 2px 0; padding: 0; border: 0; background: none; font-size: 12.5px; line-height: 1.45; color: var(--text-3); }
  .px-card:has(> .j-form) .d-small { margin-top: 10px; }
  .px-card:has(> .j-form) .px-fine { margin-top: 10px; }
}
@media (width <= 640px) and (prefers-reduced-motion: reduce) { .j-form textarea.d-field { transition: none; } }


@media (width > 640px) and (height > 520px) {
  .px-main:has(.j-form) { padding-top: 64px; padding-bottom: 48px; }
  .px-card:has(> .j-form) { width: 560px; padding-top: 22px; padding-bottom: 16px; }
  .px-card:has(> .j-form) .px-step { margin-bottom: 8px; }
  .px-card:has(> .j-form) .d-mono { margin-bottom: 14px; }
  .px-card:has(> .j-form) .j-intro { margin: -4px 0 14px; }
  .px-card:has(> .j-form) .d-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .px-card:has(> .j-form) textarea.d-field { min-height: 44px; height: 44px; padding-top: 10px; padding-bottom: 10px; resize: none; transition: height 0.18s ease; }
  .px-card:has(> .j-form) textarea.d-field:focus, .px-card:has(> .j-form) textarea.d-field:not(:placeholder-shown) { height: 92px; }
  .px-card:has(> .j-form) .d-hint-row { margin-top: -4px; }
  .px-card:has(> .j-form) .d-tip { margin: 0; padding: 0; border: 0; background: none; font-size: 12.5px; line-height: 1.45; color: var(--text-3); }
  .px-card:has(> .j-form) .d-small { margin-top: 10px; }
  .px-card:has(> .j-form) .px-fine { margin-top: 10px; }
}
@media (width > 640px) and (prefers-reduced-motion: reduce) { .j-form textarea.d-field { transition: none; } }


.d-codebig { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 2px 0 12px; padding: 16px 12px; border-radius: 14px; border: 1px dashed rgba(var(--ice-rgb), 0.45); background: rgba(var(--ice-rgb), 0.06); }
.d-codebig b { font: 600 clamp(24px, 7.4vw, 30px)/1.1 var(--mono); letter-spacing: 0.12em; color: var(--ice-text); user-select: all; }
.d-state { display: flex; flex-direction: column; gap: 3px; margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--card) 70%, transparent); text-align: left; }
.d-state > b { font-size: 15px; font-weight: 600; color: var(--text); }
.d-state > span { font-size: 13.5px; line-height: 1.55; color: var(--text-2); overflow-wrap: anywhere; }
.d-state > span b { color: var(--text); font-weight: 600; }

.d-withdraw { display: flex; flex-direction: column; gap: 8px; }
.d-withdraw .d-state { margin: 0; }
.d-big.d-big-red { color: var(--red); border-color: color-mix(in srgb, var(--red) 45%, transparent); background: color-mix(in srgb, var(--red) 8%, transparent); }
.d-big.d-big-red:hover { background: color-mix(in srgb, var(--red) 14%, transparent); }


#th-bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; display: block; }
html:not(.th-on) #th-bg { display: none; }
html.th-on { background: var(--bg); --sw-bg: color-mix(in srgb, var(--bg) 60%, transparent); --sw-on: var(--raise); --sw-line: transparent; }
html.th-on body { background: transparent; }
html.th-on .side,
html.th-on .mbar { background: color-mix(in srgb, var(--side) var(--th-solid), transparent); -webkit-backdrop-filter: blur(var(--th-blur)) saturate(1.15); backdrop-filter: blur(var(--th-blur)) saturate(1.15); border-color: color-mix(in srgb, var(--line) 60%, transparent); }
html.th-on .top,
html.th-on .chat-top,
html.th-on .vx-hrow { background: transparent; }
html.th-on .composer-dock { background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent), color-mix(in srgb, var(--bg) 92%, transparent) 46%); }
html.th-on .md,
html.th-on .card,
html.th-on .td { background: color-mix(in srgb, var(--raise) var(--th-solid), transparent); -webkit-backdrop-filter: blur(var(--th-blur)) saturate(1.15); backdrop-filter: blur(var(--th-blur)) saturate(1.15); }
html.th-on .card,
html.th-on .td { background: color-mix(in srgb, var(--card) calc(var(--th-solid) + 8%), transparent); }
html.th-on .you-b { background: color-mix(in srgb, color-mix(in srgb, var(--accent) 20%, var(--raise)) var(--th-solid), transparent); -webkit-backdrop-filter: blur(var(--th-blur)); backdrop-filter: blur(var(--th-blur)); }
html.th-on .composer { background: color-mix(in srgb, var(--card) calc(var(--th-solid) + 8%), transparent); -webkit-backdrop-filter: blur(var(--th-blur)) saturate(1.15); backdrop-filter: blur(var(--th-blur)) saturate(1.15); border-color: color-mix(in srgb, var(--accent) 30%, var(--line-2)); }
html.th-on .cx-sw { background: color-mix(in srgb, var(--bg) 55%, transparent); }
html.th-on .ab-named.on { background: var(--accent); color: var(--on-accent); }
html.th-on .ab-named.on svg { color: var(--on-accent); }
html.th-on .item.on,
html.th-on .sub a.on { background: color-mix(in srgb, var(--accent) 22%, transparent); }
html.th-on .ans-loop svg { color: var(--accent); }


.th-grid, .col-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.th-pic { width: 76px; height: 41px; border-radius: 6px; object-fit: cover; flex: none; display: block; }
.th-make { margin: 10px 2px 0; font-size: 13px; }
.th-grid .theme-opt.on { border-color: var(--accent, var(--green)); }
@media (width <= 760px) {
  .th-grid, .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (width <= 400px) {
  .th-grid, .col-grid { grid-template-columns: minmax(0, 1fr); }
}


@media (width <= 760px), (pointer: coarse), (height <= 520px) {
  select.field, .light select.field, .cust-light select.field { min-height: 44px; }
  
  .d-tlink { padding: 12px 8px; margin: -12px -8px; }
  
  textarea.d-field { font-size: 16px; }
  
  .pj-mcp p a, .pj-steps a { padding-block: 14px; }
}


dialog[autofocus]:focus, dialog[autofocus]:focus-visible { outline: none; }


.wu-list { --ice: #B9CCE3; --ice-rgb: 185, 204, 227; --ice-text: #C6D6EA; display: flex; flex-direction: column; text-align: left; }
.light .wu-list, .cust-light .wu-list { --ice: #3A5573; --ice-rgb: 58, 85, 115; --ice-text: #2F475F; }

.door.px > .wn-pop.wn-own { width: 400px; padding-bottom: 8px; overscroll-behavior: contain; }

.wu { padding: 8px 12px 10px; }
.wu-head { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.wu-head:focus-visible, .wu-more:focus-visible, .wu-earlier:focus-visible { outline: 2px solid rgba(var(--ice-rgb), 0.7); outline-offset: 2px; border-radius: 6px; }
.wu-head .wn-row > svg.i { flex: none; color: var(--text-3); transition: transform 0.15s; }
.wu.open .wu-head .wn-row > svg.i { transform: rotate(180deg); }
.wu-t { display: block; margin-top: 3px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--text); }
.wu:not(.open) .wu-t { white-space: normal; font-size: 13.5px; font-weight: 500; color: var(--text-2); min-width: 0; overflow-wrap: break-word; }
.wu-head:hover .wu-t { color: var(--text); }
.wu-plain { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; }


.wu-tags { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.wu-tags li { display: grid; grid-template-columns: 72px 1fr; gap: 8px; align-items: baseline; font-size: 13.5px; line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; }
.wu-tag { justify-self: start; padding: 0 7px; white-space: nowrap; border-radius: 999px; font: 500 11px/1.65 var(--mono); }
.wu-tag.new { color: var(--ice-text); background: rgba(var(--ice-rgb), 0.13); }
.wu-tag.improved { color: var(--text-2); background: var(--raise); }
.wu-tag.fixed { color: var(--green-text); background: color-mix(in srgb, var(--green) 15%, transparent); }
.wu-list .wu { position: relative; padding-left: 32px; }
.wu-list .wu::before { content: ""; position: absolute; left: 17px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.wu-list .wu:first-child::before { top: 17px; }
.wu-list .wu:last-child::before { bottom: auto; height: 17px; }
.wu-list .wu:only-child::before { display: none; }
.wu-list .wu::after { content: ""; position: absolute; left: 13px; top: 13px; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--card); }
.wu-list .wu.now::after { border-color: var(--ice); background: var(--ice); }
.wu-list .wn-now { width: 0; height: 0; margin-right: -7px; }

.wu-more { display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 0 -8px; padding: 4px 8px; border: 0; border-radius: 6px; background: none; color: var(--text-3); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.wu-more:hover { color: var(--text); }
.wu-more > svg.i, .wu-earlier > svg.i { transition: transform 0.15s; }
.wu-more[aria-expanded="true"] > svg.i { transform: rotate(180deg); }
.wu-d { margin: 4px 0 0; padding: 9px 11px; border-radius: 8px; background: color-mix(in srgb, var(--raise) 55%, transparent); font-size: 12.5px; line-height: 1.5; color: var(--text-2); overflow-wrap: anywhere; }

.wu-earlier { display: flex; align-items: center; gap: 7px; margin: 4px 6px 0; padding: 9px 6px; border: 0; border-radius: 8px; background: none; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.wu-earlier:hover { color: var(--text); }
.wu-earlier > span { font: 500 12px var(--mono); color: var(--text-3); }
.wu-earlier > svg.i { margin-left: auto; color: var(--text-3); }


.set-sec .wu-list { margin: 0 -12px 0 -16px; max-width: 700px; }


@media (hover: none) {
  .wu-head { min-height: 44px; }
  .wu-more { min-height: 44px; padding: 0 8px; margin-top: 0; margin-bottom: -6px; }
  .wu-earlier { min-height: 44px; padding: 0 6px; }
}
@media (width <= 640px) {
  
  .door.px > .wn-pop.wn-own { left: 12px; right: 12px; width: auto; max-width: none; max-height: calc(100vh - 116px); max-height: calc(100dvh - 116px); }
}
@container page (width <= 640px) {
  .wu-tags li { gap: 6px; }
  .wu-list .wu { padding-left: 28px; }
  .wu-list .wu::before { left: 15px; }
  .wu-list .wu::after { left: 11px; }
  .set-sec .wu-list { margin-left: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .wu-head .wn-row > svg.i, .wu-more > svg.i, .wu-earlier > svg.i { transition: none; }
}


.sb-mi .r .wn-dot { display: inline-block; margin-right: 7px; vertical-align: 1px; background: var(--text); }
.light .sb-mi .r .wn-dot { background: var(--text); }


.door.px > button.px-no { z-index: 5; display: inline-flex; align-items: center; gap: 7px; margin: -7px -10px; padding: 7px 10px; border: 0; border-radius: 8px; background: none; color: var(--text-3); font: 500 13px var(--mono); cursor: pointer; transition: opacity 0.35s, color 0.15s; }
.door.px > button.px-no:hover, .door.px > button.px-no[aria-expanded="true"] { color: var(--text); }
.door.px > button.px-no:focus-visible { outline: 2px solid rgba(var(--ice-rgb), 0.7); outline-offset: 2px; }
.wn-dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--ice); }

.door.px > .wn-pop { position: absolute; z-index: 6; top: max(68px, calc(env(safe-area-inset-top) + 40px)); right: 22px; width: 312px; max-width: calc(100% - 24px); padding: 12px 6px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32); text-align: left; cursor: auto; animation: wn-in 0.18s ease-out; max-height: calc(100vh - 78px); max-height: calc(100dvh - 78px); overflow-y: auto; scrollbar-width: none; }
.cust-light .door.px > .wn-pop { box-shadow: var(--d-shadow); }
.door.px > .wn-pop::-webkit-scrollbar { display: none; }
@keyframes wn-in { from { opacity: 0; transform: translateY(-6px); } }
.wn-h { margin: 0 12px 2px; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--text-3); }
.wn-i { padding: 8px 12px 10px; }
.wn-row { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-3); }
.wn-v { font: 500 12px var(--mono); color: var(--text-2); }
.wn-row time { margin-left: auto; white-space: nowrap; }

.wn-now { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--ice); }
.wn-t { margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; }
.wn-i:first-of-type .wn-t { color: var(--text); }


@media (hover: none), (pointer: coarse), (width <= 760px) { .door.px > button.px-no { padding: 15px 14px; margin: -15px -14px; } }
@media (width <= 640px) {
  .door.px > .wn-pop { left: auto; right: 12px; width: min(312px, calc(100% - 24px)); top: max(54px, calc(env(safe-area-inset-top) + 32px)); }
}
@container page (width <= 640px) {
  .door.px > button.px-no { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .door.px > .wn-pop { animation: none; } }


.content.yd { flex: 1 1 auto; width: 100%; max-width: 680px; margin-inline: auto; gap: 0; container: yd / inline-size; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.yd h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; text-wrap: balance; overflow-wrap: anywhere; }
.yd p { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.yd-load { padding: 24px 0; }


.content.yd.yd-wide { max-width: 1040px; gap: 16px; }
.yd-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; padding: 12px 0 2px; min-width: 0; }
.yd-head-t { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.yd-head p { color: var(--text-2); font-size: 14px; max-width: 60ch; }


.yd-sec { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.yd-sec-h { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.yd-sec-h h2 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }


.yd-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, calc(50% - 6px)), 1fr)); grid-auto-rows: max-content; gap: 12px; min-width: 0; }
.yd-tile { display: flex; flex-direction: column; gap: 10px; min-height: 150px; padding: 12px 12px 14px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); min-width: 0; }
.yd-tile.on { border-color: var(--line-2); }
.yd-tile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.yd-tile .yd-row-t { flex: 1 1 auto; }
.yd-tile > .btn { align-self: flex-start; min-height: 34px; min-width: 84px; justify-content: center; }
.yd-tile.off .yd-place-ic { color: var(--text-3); }
.yd-tile-add { border-style: dashed; border-color: var(--line-2); background: transparent; padding: 0; }
.yd-tile-add .yd-addrow { flex: 1 1 auto; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 12px 12px 14px 14px; }
.yd-tile-add .yd-addrow > svg:last-child { display: none; }
.yd-tile-add .yd-soon { flex-direction: column; padding: 14px; }
.yd-more-box { display: flex; flex-direction: column; gap: 6px; padding: 6px 14px 0; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); min-width: 0; }
.yd-more-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; }
.yd-more-h b { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.yd-more-box .yd-more { padding-left: 0; }


.yd-node { container: ydn / inline-size; display: flex; flex-direction: column; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); min-width: 0; }
.yd-node-h { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 0; min-width: 0; }
.yd-node-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--raise); color: var(--text-2); }
.yd-node-h h2 { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.yd-node-n { flex: none; font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.yd-node-h .btn { flex: none; }
.yd-node > .yd-say { padding: 10px 0 12px; }


.yd-place { min-width: 0; }
.yd-place-ic { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--raise); color: var(--text); }
.yd-place-ic .dot { position: absolute; right: -2px; bottom: -2px; box-shadow: 0 0 0 2px var(--card); }
.yd-row-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yd-row-t b { font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }
.yd-row-t small { font-size: 12.5px; color: var(--text-3); overflow-wrap: anywhere; line-height: 1.4; }
.btn.yd-info { width: 34px; padding: 0; justify-content: center; color: var(--text-2); }
.yd-more { display: flex; flex-direction: column; gap: 10px; padding: 0 0 14px 50px; min-width: 0; }
.yd-more > p { font-size: 13px; color: var(--text-2); }
.yd-facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 13px; }
.yd-facts dt { color: var(--text-3); }
.yd-facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; min-width: 0; }
.yd-addrow { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; color: var(--text); text-decoration: none; min-width: 0; }
.yd-addrow .yd-ic { width: 38px; height: 38px; border-radius: 10px; border: 1px dashed var(--line-2); align-items: center; }
.yd-addrow > svg:last-child { flex: none; color: var(--text-3); }
.yd-addrow:hover b { text-decoration: underline; text-underline-offset: 3px; }
.yd-soon { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; font-size: 13px; color: var(--text-2); }
.yd-soon svg { flex: none; margin-top: 2px; color: var(--text-3); }


.yd-step { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; min-width: 0; }
.yd-step-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--raise); color: var(--text-2); }
.yd-step.done .yd-step-ic { color: var(--text); }
.yd-step-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.yd-step-t b { font-size: 14px; font-weight: 600; }
.yd-step-t small { font-size: 12.5px; color: var(--text-2); line-height: 1.45; overflow-wrap: anywhere; }
.yd-step > .btn { flex: none; min-height: 34px; }
.yd-keys .yd-rows { padding: 0 2px; }
.yd-here { font-weight: 400; color: var(--text-3); }


.yd-fold { border: 1px solid var(--line); border-radius: 14px; background: var(--card); min-width: 0; }
.yd-fold > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; list-style: none; cursor: pointer; font-size: 13.5px; color: var(--text); }
.yd-fold > summary::-webkit-details-marker { display: none; }
.yd-fold > summary svg:first-child { color: var(--text-2); flex: none; }
.yd-fold > summary span { flex: 1 1 auto; }
.yd-fold > summary svg:last-child { color: var(--text-3); flex: none; transition: transform 0.15s; }
.yd-fold[open] > summary svg:last-child { transform: rotate(90deg); }
.yd-fold > .yd-list, .yd-fold > .yd-keys { padding: 0 14px 14px; }
.yd-fold > .yd-list { padding-left: 32px; }

.yd-node .yd-fold { border-width: 1px 0 0; border-radius: 0; background: none; }
.yd-node .yd-fold > summary { padding: 0; }
.yd-node .yd-fold > .yd-keys { padding: 0 0 6px; }

.yd-node > * + * { border-top: 1px solid var(--line); }


@container yd (min-width: 1000px) {
  .yd-safe > .yd-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 36px; padding: 2px 14px 16px 32px; }
}

@container ydn (max-width: 300px) {
  .yd-step { flex-wrap: wrap; }
  .yd-step-t { flex-basis: calc(100% - 40px); }
  .yd-step > .btn { margin-left: 40px; }
}

.yd-note { font-size: 13px; color: var(--text-2); }
.yd-linkbtn { align-self: center; min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.yd-linkbtn:hover { color: var(--text); }
.yd-big-ic { align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--raise); color: var(--text); }
.yd-of { font-size: 13px; color: var(--text-2); flex: 1 0 100%; }
.yd-of b { color: var(--text); font-weight: 600; }


.yd-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.yd-row { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 0; border-top: 1px solid var(--line); min-width: 0; }
.yd-rows .yd-row:first-child { border-top: 0; }
.yd-ic { flex: none; display: inline-flex; width: 16px; justify-content: center; color: var(--text-2); }
.yd-row .btn { flex: none; min-height: 32px; }
.yd-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.yd-acts-c { justify-content: center; }
.yd-acts .yd-note { flex: 1 0 100%; }
.yd-small { font-size: 12.5px; color: var(--text-3); }
.yd-box { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--side); font-size: 13px; color: var(--text-2); }
.yd-say { display: flex; align-items: flex-start; gap: 7px; font-size: 13.5px; color: var(--text); }
.yd-say svg { margin-top: 3px; color: var(--text-2); flex: none; }
.content.yd > .yd-say { margin-bottom: 14px; }
.yd-list { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.5; color: var(--text-2); }


.yd-label { font-size: 13.5px; font-weight: 600; }
.field.yd-input { width: 100%; max-width: 320px; min-height: 44px; font-size: 16px; }
.yd-codef { display: flex; flex-wrap: wrap; gap: 8px; }
.field.yd-code { flex: 1 1 150px; width: auto; max-width: 240px; min-width: 0; font-family: var(--code, var(--mono)); letter-spacing: 0.06em; text-transform: uppercase; }
.field.yd-code::placeholder { text-transform: none; }
.yd-codef .btn { flex: none; min-height: 44px; }


.yd-os { align-self: flex-start; margin: 14px 0 12px; }
.yd-ol { list-style: none; counter-reset: yd; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; }
.yd-ol > li { counter-increment: yd; position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); min-width: 0; }
.yd-ol > li::before { content: counter(yd); position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--raise); color: var(--text); font-size: 12.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.yd-ol b { font-size: 14px; font-weight: 600; }
.yd-ol p { font-size: 13.5px; color: var(--text-2); }
.yd-ol p a { position: relative; color: var(--text); }
.yd-ol p a::after { content: ""; position: absolute; inset: -12px -4px; }
.yd-cmd { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 2px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--side); min-width: 0; }
.yd-cmd code { flex: 1 1 auto; min-width: 0; padding: 10px 0; font-family: var(--code, var(--mono)); font-size: 13.5px; line-height: 1.45; }

.yd-tok { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.yd-cmd .btn { flex: none; min-height: 32px; }
.yd-pair { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 420px; margin: auto; padding: 24px 0; text-align: center; }
.yd-who { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); text-align: left; color: var(--text-2); min-width: 0; }
.yd-who .yd-row-t { flex: 0 1 auto; color: var(--text); }
.yd-only { font-size: 14.5px; font-weight: 600; }
.yd-first { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.yd-first p { font-size: 13.5px; color: var(--text-2); }
.yd-first b { color: var(--text); font-weight: 600; }
.yd-pair .yd-acts .btn { flex: 1 1 auto; justify-content: center; min-height: 44px; }
.yd-match { font-family: var(--code, var(--mono)); font-size: 44px; font-weight: 600; line-height: 1.2; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; text-indent: 0.12em; }
@container yd (max-width: 300px) { .yd-match { font-size: 36px; } }

@container yd (max-width: 340px) {
  .yd-step { flex-wrap: wrap; }
  .yd-step-t { flex-basis: calc(100% - 40px); }
  .yd-step > .btn { margin-left: 40px; }
}
@media (pointer: coarse) {
  .yd-acts .btn, .yd-row .btn, .yd-cmd .btn, .yd-tile > .btn, .yd-step > .btn, .yd-os > button { min-height: 44px; }
  .yd-tile > .btn { align-self: stretch; }
  .btn.yd-info { width: 44px; }
}


.yd-pc-bar { display: block; height: 6px; border-radius: 999px; background: var(--raise); overflow: hidden; }
.yd-pc-bar i { display: block; height: 100%; border-radius: inherit; background: var(--text-2); }
.yd-pc-part { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; min-width: 0; }
.yd-pc-part + .yd-pc-part { border-top: 1px solid var(--line); }
.yd-pc-part.off .yd-node-ic { color: var(--text-3); }
.yd-pc-pt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.yd-pc-pt b { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.yd-pc-pt b small { font-size: 12px; font-weight: 400; color: var(--text-3); }
.yd-pc-ask { font-size: 12.5px; color: var(--text-3); }
.yd-pc-part .hx-sw { margin-top: 3px; }
.yd-pc-part > .yd-small { flex: none; margin-top: 4px; }

.dk-opts { display: flex; flex-direction: column; gap: 2px; }
.dk-opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.dk-opt:hover { background: var(--card-2); }
.dk-opt.on { background: var(--raise); }
.dk-opt:disabled { color: var(--text-3); cursor: default; }
.dk-opt:disabled:hover { background: transparent; }
.dk-opt-ic { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--raise); color: var(--text-2); }
.dk-opt.on .dk-opt-ic { background: var(--card); }
.dk-opt-ic .dot { position: absolute; right: -2px; bottom: -2px; box-shadow: 0 0 0 2px var(--card); }
.dk-opt-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.dk-opt-t b { font-weight: 500; white-space: normal; min-width: 0; overflow-wrap: break-word; }
.dk-opt-t small { font-size: 12px; color: var(--text-3); white-space: normal; min-width: 0; overflow-wrap: break-word; }
.dk-wait { padding: 8px; font-size: 13px; }
.dk-pop .cx-pop-f { line-height: 1.45; }
.cx-pop-f a { position: relative; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cx-pop-f a::after { content: ""; position: absolute; inset: -12px -4px; }


.dk-where { position: static; display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 0; min-width: 0; }
.dk-where-b { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 36px; padding: 4px 10px 4px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--side); color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer; min-width: 0; }
.dk-where-b:hover { border-color: var(--line-2); }
.dk-where-b:disabled { cursor: default; color: var(--text-3); }
.dk-where-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--raise); color: var(--text); }
.dk-where-t { flex: 1 1 auto; min-width: 0; white-space: normal; overflow-wrap: break-word; }
.dk-where-k { color: var(--text-3); }
.dk-where-t b { font-weight: 600; }
.dk-where-f { color: var(--text-2); }
.dk-where-s { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.dk-where-b > svg:last-child { flex: none; color: var(--text-3); }
.dk-where-p { margin: 0; padding: 0 4px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.dk-where-x .dk-where-b { border-color: var(--line-2); }
@container page (width <= 400px) { .dk-where-s > span:not(.dot) { display: none; } }
@media (pointer: coarse) { .dk-where-b { min-height: 44px; } }


.ap.open.okc-card { border-color: var(--line-2); max-width: 680px; }
.ap.okc-card .ap-h svg { color: var(--text-2); }
.ap-i.ap-shows { flex-wrap: wrap; }
.okc { flex: 1 0 100%; width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 2px 0 6px; }
.okc-where { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.okc-where svg { color: var(--text-3); }
.okc-where b { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.okc-path { min-width: 0; font-family: var(--code, var(--mono)); overflow-wrap: anywhere; }
.okc-n { color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.okc-pre { margin: 0; max-height: 340px; max-height: min(44vh, 340px); overflow: auto; overscroll-behavior: contain; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--side); color: var(--text); font-family: var(--code, var(--mono)); font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; }
.okc-pre:focus-visible { outline: 2px solid var(--line-2); outline-offset: 1px; }
.okc-l { display: block; min-height: 1.5em; margin-inline: -4px; padding-inline: 4px; border-radius: 3px; }
.okc-l.add { background: var(--raise); }
.okc-l.del { background: var(--card-2); color: var(--text-2); }
.okc-l.head { color: var(--text-3); }
.okc-hid { display: inline-block; margin: 0 1px; padding: 0 4px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--raise); color: var(--text); font-size: 11px; line-height: 1.35; }
.okc-note { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; }
.okc-note a { position: relative; color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.okc-note a::after { content: ""; position: absolute; inset: -12px -4px; }
.okc-say { margin-top: 8px; }
.okc-err { display: flex; align-items: flex-start; gap: 6px; color: var(--text); }
.okc-err svg { margin-top: 2px; flex: none; color: var(--text-2); }
.okc-link { position: relative; padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.okc-link::after { content: ""; position: absolute; inset: -12px -6px; }

.okc-pin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; min-width: 0; }
.okc-pin label { font-size: 13px; font-weight: 600; color: var(--text); }
.field.pin-input.okc-pin-in { width: 132px; max-width: 132px; min-height: 36px; }
.okc-pin-n { flex: 1 1 160px; min-width: 0; font-size: 12.5px; line-height: 1.4; color: var(--text-3); }
@media (pointer: coarse) { .field.pin-input.okc-pin-in { min-height: 44px; } }
.okc-go .btn { min-height: 32px; justify-content: center; white-space: normal; text-align: center; }
@media (pointer: coarse) { .okc-go .btn { min-height: 44px; } }
.okc-on { color: var(--text-3); margin-right: -4px; }

.app:has(.content.ydx) { height: 100dvh; min-height: 0; }
.app:has(.content.ydx) > .main { height: 100dvh; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.app:has(.content.ydx) .main > :is(.mbar, .banner, .top) { flex: none; }
.app:has(.content.ydx) .main > .win-col { min-height: 0; overflow: hidden; }
.content.yd.ydx { flex: 1 1 auto; min-height: 0; overflow: hidden; max-width: 1480px; gap: 14px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.ydx .yd-head { flex: none; padding-top: 8px; }

@media (width > 760px) { .win-col:has(> .win-ctl) .yd-head { padding-right: 44px; } }
.ydx > .pe-nav { flex: none; }

.yd-tabs { flex: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; max-width: 100%; box-sizing: border-box; align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.yd-tabs a { flex: none; font: inherit; font-size: 14px; color: var(--text-2); text-decoration: none; border-radius: 8px; min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; }
.yd-tabs a:hover { color: var(--text); background: var(--card-2); }
.yd-tabs a.on { background: var(--raise); color: var(--text); font-weight: 600; }
.yd-tabs a svg { color: var(--text-3); }
.yd-tabs a.on svg { color: var(--text); }
@media (pointer: coarse) { .yd-tabs a { min-height: 44px; } }
.content.pw-page.pw-desk { max-width: 1480px; }
.yd.pw-deskh { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pw-deskh .yd-head { padding-top: 8px; }

.content.yd.fv-deskh { flex: none; max-width: 1480px; padding-bottom: 0; gap: 14px; }
.ydx-cut { visibility: hidden; }
.ydx-fit { min-height: 0; overflow: hidden; }


.ydk-grid { flex: 1 1 auto; min-height: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ydk-grid.k-pc { grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "pc pc space ok" "runs runs apps apps"; }
.ydk-grid.k-pc.k-nook { grid-template-areas: "pc pc space space" "runs runs apps apps"; }

.ydk-grid.k-pc.k-conn { grid-template-areas: "pc pc space ok" "runs runs apps conn"; }
.ydk-grid.k-pc.k-nook.k-conn { grid-template-areas: "pc pc space space" "runs runs apps conn"; }
.ydk-grid.k-list { grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "pc pc pc ok" "pc pc pc safe" "pc pc pc ."; }
.k-list .ydk-big { margin-top: 18px; }
.k-list .ydk-line { margin-top: 6px; }
.ydk-grid.k-list.k-lapps { grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "pc pc pc ok" "pc pc pc safe" "pc pc pc apps"; }
.ydk-grid.k-apps { grid-template-rows: minmax(0, 1fr); grid-template-areas: "apps apps apps apps"; }
.ydk { min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--text); }
.ydk-btn { font: inherit; text-align: left; cursor: pointer; }
.ydk-btn:hover { border-color: var(--line-2); background: var(--card-2); }
.ydk-btn:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; }
.ydk-pc { grid-area: pc; gap: 14px; justify-content: space-between; }
.ydk-space { grid-area: space; }
.ydk-ok { grid-area: ok; }
.ydk-runs { grid-area: runs; gap: 6px; }
.ydk-apps { grid-area: apps; }
.ydk-safe { grid-area: safe; }
.ydk-conn { grid-area: conn; }
.ydk-h { flex: none; display: flex; align-items: center; gap: 10px 12px; min-width: 0; }

.ydk-h h2 { flex: 1 1 auto; min-width: min-content; margin: 0; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.ydk-h .yd-node-n { flex: none; }
.ydk-who { flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ydk-who h2 { flex: none; }
.ydk-who small { font-size: 12.5px; line-height: 1.4; color: var(--text-2); overflow-wrap: anywhere; }
.ydk-pc.off .yd-place-ic { color: var(--text-3); }
.btn.ydk-more { flex: none; gap: 2px; margin-right: -6px; color: var(--text-2); }
.btn.ydk-more svg { color: var(--text-3); }
.ydk-togs { flex: none; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ydk-togs li { min-width: 0; display: flex; } 
.ydk-tog { width: 100%; min-height: 104px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card-2); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.ydk-tog:hover { border-color: var(--line-2); }
.ydk-tog:disabled { cursor: default; }
.ydk-tog:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; }
.ydk-tog-ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: auto; border-radius: 50%; background: var(--raise); color: var(--text-2); }
.ydk-tog.on .ydk-tog-ic { background: var(--text); color: var(--card); }
.ydk-tog b { margin-top: 8px; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.ydk-tog small { font-size: 12.5px; color: var(--text-3); }
.ydk-tog.on small { color: var(--text-2); }
.ydk-go { flex: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ydk-k { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.ydk-big { margin-top: auto; font-size: 30px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ydk-ok .ydk-big { font-size: 24px; }
.ydk-sub { font-size: 12.5px; color: var(--text-2); }
.ydk-line { margin-top: auto; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.ydk-checks { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--text-3); }
.ydk-checks > span { display: flex; align-items: center; gap: 6px; }
.ydk-checks > .on { color: var(--text); }
.ydk-pips, .ydk-k-n { display: none; }
.ydk-runs .ydx-runl { flex: 1 1 auto; }

.ydk-runs .ydx-runl, .ydk .ydk-cl { margin-inline: -8px; padding-inline: 8px; }
.ydk-apps .ka-h { display: none; }
.ydk-apps .ka-apps { flex: 1 1 auto; min-height: 0; margin: 0; overflow: hidden; }
.ydk-apps .ka-grid { height: 100%; max-width: none; grid-template-rows: repeat(auto-fill, 96px); grid-auto-rows: 0; row-gap: 0; overflow: hidden; }
.ydk .ka-apps:has(.ka-none) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 14px; }
.ydk .ka-apps:has(.ka-none) .ka-grid { order: 1; height: auto; grid-template-columns: 92px; grid-template-rows: auto; }
.ydk .ka-apps:has(.ka-none) .ka-none { order: 2; color: var(--text-2); }

.ydk-placel.yd-tiles { flex: 1 1 auto; align-content: start; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }

.ydk-undo { display: inline-flex; align-items: center; gap: 12px; }
.ydk-undo button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ydk-undo button::after { content: ""; position: absolute; inset: 0; }
@media (pointer: coarse) { .ydk-go .btn { min-height: 44px; } }


@container page (width <= 1180px) {
  .k-pc .ydk-conn .ydk-h > .yd-node-ic { display: none; }
}

@container page (width > 960px) and (width <= 1180px) {
  .k-pc .ydk-apps .ka-none { display: none; }
}

.ydk-conn .ydk-h { flex-wrap: wrap; }
.ydk-conn .ydk-more { margin-left: auto; }

@container page (width <= 960px) {
  .k-pc .ydk-conn .ydk-h > .yd-node-ic { display: inline-flex; } 
  .ydk-grid { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ydk-grid.k-pc { grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "pc pc" "space ok" "runs apps"; }
  .ydk-grid.k-pc.k-nook { grid-template-areas: "pc pc" "space space" "runs apps"; }
  .ydk-grid.k-pc.k-conn { grid-template-rows: auto auto minmax(0, 1fr) auto; grid-template-areas: "pc pc" "space ok" "runs runs" "apps conn"; }
  .ydk-grid.k-pc.k-nook.k-conn { grid-template-areas: "pc pc" "space space" "runs runs" "apps conn"; }
  .ydk-grid.k-list { grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "pc pc" "ok safe"; }
  .ydk-grid.k-list.k-lapps { grid-template-rows: minmax(0, 1fr) auto auto; grid-template-areas: "pc pc" "ok safe" "apps apps"; }
  .ydk-grid.k-apps { grid-template-areas: "apps apps"; }
  .ydk { padding: 12px 14px; border-radius: 16px; gap: 8px; }
  .ydk-tog { min-height: 0; padding: 10px; flex-direction: row; align-items: center; gap: 8px; }
  .ydk-tog-ic { width: 30px; height: 30px; margin: 0; }
  .ydk-tog b { margin: 0; font-size: 13px; }
  .ydk-tog small { display: none; }
  .ydk-big { font-size: 22px; }
  .ydk-ok .ydk-big { font-size: 18px; }
}

@container page (width <= 640px) {
  .k-list .ydk-pc > .ydk-h { flex-wrap: wrap; } 
  .ydk-grid { gap: 8px; }
  .ydk-grid.k-pc { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "pc pc pc" "space ok apps" "runs runs runs"; }
  .ydk-grid.k-pc.k-nook { grid-template-areas: "pc pc pc" "space space apps" "runs runs runs"; }
  
  .ydk-grid.k-pc.k-conn { grid-template-rows: auto auto minmax(0, 1fr) auto; grid-template-areas: "pc pc pc" "space ok apps" "runs runs runs" "conn conn conn"; }
  .ydk-grid.k-pc.k-nook.k-conn { grid-template-areas: "pc pc pc" "space space apps" "runs runs runs" "conn conn conn"; }
  .k-pc.k-conn .ydk-conn { padding: 8px 12px 8px 14px; }
  .k-pc.k-conn .ydk-conn > :not(.ydk-h) { display: none; }
  .k-pc .ydk-conn .ydk-who { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
  .k-pc .ydk-space, .k-pc .ydk-ok, .k-pc .ydk-apps { padding: 10px; }
  
  .k-pc :is(.ydk-space, .ydk-ok) .ydk-big { margin-top: 0; line-height: 24px; }
  .k-pc .ydk-space .yd-pc-bar { margin-top: auto; }
  .k-pc .ydk-ok .ydk-pips { display: flex; gap: 4px; margin-top: auto; }
  .k-pc .ydk-pips i { flex: 1 1 0; height: 6px; border-radius: 999px; background: var(--raise); }
  .k-pc .ydk-pips i.on { background: var(--text-2); }
  .k-pc .ydk-apps .ydk-h h2 { font-size: 12.5px; font-weight: 600; letter-spacing: 0; color: var(--text-3); }
  .k-pc .ydk-k-w:has(+ .ydk-k-n) { display: none; } 
  .k-pc .ydk-k-n { display: inline; }
  .k-pc .ydk-apps .ydk-more, .k-pc .ydk-apps .ka-none, .k-pc .ydk-apps .ka-n { display: none; }
  
  .k-list .ydk-apps .ka-none { display: none; }
  .k-pc .ydk-apps .ka-grid { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); grid-template-rows: auto; }
  
  .k-pc .ydk-apps .ka-apps:has(.ka-none) .ka-grid { grid-template-columns: minmax(0, 1fr); }
  .k-pc .ydk-apps .ka-apps:has(.ka-none) { grid-template-columns: minmax(0, 1fr); } 
  .ydk-togs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .ydk-tog { flex-direction: column; align-items: flex-start; padding: 8px; gap: 4px; }
  .ydk-tog-ic { width: 26px; height: 26px; }
  .ydk-tog b { font-size: 12.5px; }
  .ydk-go .btn { flex: 1 1 0; justify-content: center; }
  .ydk-checks, .ydk-line { display: none; }
  .ydk-sub { font-size: 12px; }
  .ydk-runs .ydx-run-m, .ydk-runs .ydx-dayn, .ydk-runs .yd-node-n { display: none; }
  
  .k-pc .ydk-runs { padding-top: 8px; padding-bottom: 8px; gap: 6px; }
  
  .k-pc.k-conn .ydk-conn .ydk-h { flex-wrap: nowrap; }
}


.ydx-runl { display: flex; flex-direction: column; min-width: 0; }
.ydx-dayn { margin: 0; padding: 8px 0 2px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.ydx-run { display: flex; align-items: flex-start; gap: 10px; margin: 0 -8px; padding: 7px 8px; border-radius: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.ydx-run:hover { background: var(--card-2); }
.ydx-run:focus-visible { outline: 2px solid var(--text-2); outline-offset: -2px; }
.ydx-run-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--raise); color: var(--text-2); }
.ydx-run-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ydx-run-t b { font-size: 13.5px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ydx-run-w { font-size: 12.5px; line-height: 1.4; color: var(--text-2); overflow-wrap: anywhere; }
.ydx-run-w.ydx-cmd { font-family: var(--code, var(--mono)); font-size: 12px; }
.ydx-run-m { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ydx-run-at { flex: none; padding-top: 3px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.ydx-none { padding: 4px 0 8px; font-size: 13px; color: var(--text-2); }


.ydp .ka-apps { margin: 0; }
.ydp .ka-h { display: none; }
.ydx-about { display: flex; flex-direction: column; gap: 22px; }
.ydx-about h3, .ydp-keys h3 { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.ydx-about p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.ydx-about-parts { list-style: none; margin: 0; padding: 0; }
.ydx-about-parts .yd-pc-part:first-child { padding-top: 4px; }
.ydx-about .yd-soon { padding: 6px 0 0; }
.btn.ydx-data { margin-left: -8px; }
.ydp-ok { padding: 0 16px; }
.ydp-keys { padding: 12px 0 4px; }
.ydp-safe { padding-left: 20px; gap: 10px; font-size: 14px; }
.ydx-runs-all .ydx-lead { margin: 0 0 6px; font-size: 13.5px; color: var(--text-2); }
.ydp-places { display: flex; flex-direction: column; gap: 14px; }
.ydp-place { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 2px; border: 1px solid var(--line); border-radius: 14px; }
.ydp-place-h { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ydp-place .yd-more { padding-left: 50px; }
.ydp-places > .yd-addrow, .ydp-places > .yd-soon { padding-left: 2px; }


@container page (width <= 760px) {
  :is(html.cust, .pv) :is(.content.ydx, .pw-deskh, .fv-deskh) .yd-head h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}


@media (height <= 720px), (width <= 640px) and (height <= 800px), (width > 640px) and (width <= 1180px) and (height <= 1000px) {
  .ydk-grid:is(.k-pc, .k-list, .k-apps, .k-pc.k-nook.k-conn) { flex: none; grid-template-rows: none; grid-auto-rows: auto; }
  .ydk-runs .ydx-runl > a:nth-of-type(3) ~ * { display: none; }
  .ydk .ydk-cl > li:nth-child(n + 5) { display: none; }
}
@media (width <= 640px) and (height <= 800px) {
  .content.yd.ydx { overflow-y: auto; }
}
@media (height <= 720px), (width > 640px) and (width <= 1180px) and (height <= 1000px) {
  .app:has(.content.ydx), .app:has(.content.ydx) > .main { height: auto; overflow: visible; }
  .app:has(.content.ydx) .main > .win-col, .content.yd.ydx { overflow: visible; }
  .ydk { overflow: visible; }
}


.ydk-cl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.ydk-c { width: 100%; display: flex; align-items: center; gap: 10px; margin: 0 -8px; padding: 7px 8px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; box-sizing: content-box; }
.ydk-c:hover { background: var(--card-2); }
.ydk-c:focus-visible { outline: 2px solid var(--text-2); outline-offset: -2px; }
.ydk-c b { flex: 1 1 auto; min-width: 0; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.ydk-c small { flex: none; font-size: 12px; color: var(--text-3); }
.ydk-c .dot { flex: none; }
.yd-conn { display: flex; flex-direction: column; gap: 12px; }
.yd-conn .yd-conn-l { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.yd-conn .yd-conn-l b { color: var(--text); font-weight: 600; }
.yd-conn .wk-machines { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.yd-conn .wk-mc { padding: 14px 16px; gap: 8px; }
.yd-conn-what { margin: 0; font-size: 13px; color: var(--text-2); }

.yd-conn-sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 13px; }
.yd-conn-sign .btn { min-height: 32px; }
@media (pointer: coarse) { .yd-conn-sign .btn { min-height: 44px; } }
.yd-conn .wk-mc.yd-conn-go { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 1px; align-items: center; justify-items: start; color: var(--text); text-decoration: none; }
.yd-conn .yd-conn-go > .wk-tile { grid-row: span 2; }
.yd-conn .yd-conn-go > b { font-size: 14px; font-weight: 600; align-self: end; text-align: left; overflow-wrap: break-word; }
.yd-conn .yd-conn-go > .faint { font-size: 12.5px; align-self: start; text-align: left; }
.yd-conn .yd-conn-go:focus-visible { outline: 2px solid var(--text-3); outline-offset: 2px; }
:is(html.cust, .pv) .yd-conn .wk-mc.ghost { border: 1px dashed var(--line-2); background: transparent; }
@media (pointer: coarse) { .ydk-c { min-height: 30px; } }




.ec-page .split.solo.chat-col { grid-template-columns: minmax(0, 814px); }
@container page (width > 760px) {
  .ec-page .thread > .msg.you:first-child { padding-top: 48px; }
}



.ec-page .msg.you .you-b.you-quiet, .light .ec-page .msg.you .you-b.you-quiet, .cust-light .ec-page .msg.you .you-b.you-quiet { background: var(--raise); color: var(--text); }
.ec-page .msg.you .you-b.you-fold { max-height: calc(7.25em + 9px); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.you-more { align-self: flex-end; min-height: 28px; margin: -2px -4px 0 0; padding: 0 8px; border: 0; border-radius: 7px; background: none; color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.you-more:hover { background: var(--card); color: var(--text); }
.you-more:focus-visible { outline: 2px solid var(--line-2); outline-offset: 1px; }
@media (pointer: coarse) { .you-more { min-height: 44px; } }


.door.px.ffi { --ffi-ff: #E2A660; }
.light .door.px.ffi { --ffi-ff: #A86A1E; }

.door.px.ffi.inv { --ffi-ff: var(--ice); }
.ffi-tag { margin: 0; display: flex; align-items: center; gap: 8px; font: 12.5px var(--mono); color: var(--text-2); }
.ffi-tag .dot { width: 7px; height: 7px; background: var(--ffi-ff); }

.door.px > .ffi-3d { mix-blend-mode: screen; }


.door.px > .ffi-hello { position: absolute; z-index: 1; left: 24px; right: 24px; top: var(--ffi-hello-t, 62%); margin: 0; text-align: center; pointer-events: none; opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ffi[data-hi] > .ffi-hello { opacity: 1; transform: none; }
.ffi-hello b { display: block; font-size: 26px; font-weight: 650; letter-spacing: -0.01em; color: var(--text); overflow-wrap: anywhere; }
.ffi-hello span { display: block; margin-top: 6px; font: 13px var(--mono); color: var(--text-2); }


.ffi .px-main { align-items: flex-end; padding-bottom: 76px; }
.ffi-slot { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 400px; max-width: 100%; }
.ffi .px-stage { width: 100%; opacity: 0; transform: translateY(120px); transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ffi[data-ffi="up"] .px-stage, .ffi[data-ffi="done"] .px-stage { opacity: 1; transform: none; }
.ffi .px-card { width: 100%; }


.d-field.ffi-code { display: flex; align-items: center; gap: 2px; margin: 0; min-height: 50px; padding: 0 12px 0 14px; box-sizing: border-box; font-size: 19px; letter-spacing: 0.12em; color: var(--ffi-ff); transition: border-color 0.3s; }
.ffi-code .ffi-ph { color: var(--text-3); opacity: 0.55; }
.ffi-caret { display: block; width: 2px; height: 22px; margin-left: 1px; background: var(--text); animation: ffi-blink 1s steps(1) infinite; }
.d-field.ffi-code.ok { border-color: color-mix(in srgb, var(--ffi-ff) 65%, var(--line-2)); }
.ffi-tick { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--green); background: color-mix(in srgb, var(--green) 16%, transparent); animation: ffi-pop 0.4s cubic-bezier(0.2, 1.6, 0.4, 1); }
.ffi .d-hint { margin-top: 6px; }
@keyframes ffi-blink { 50% { opacity: 0; } }
@keyframes ffi-pop { from { transform: scale(0); } }


.ffi-qr { display: none; }
@media (width > 960px) and (height > 699px) {
  .ffi-slot { flex-direction: row; align-items: flex-end; width: auto; gap: 18px; }
  .ffi .px-stage { width: 400px; }
  .ffi-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 150px; padding: 14px 12px; border-radius: 16px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--card) 86%, transparent); font-size: 12.5px; line-height: 1.4; color: var(--text-2); text-align: center; opacity: 0; transform: translateY(120px); transition: opacity 0.6s ease 0.25s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s; }
  .ffi[data-ffi="up"] .ffi-qr, .ffi[data-ffi="done"] .ffi-qr { opacity: 1; transform: none; }
  .ffi-qr .qr { border-radius: 8px; }
}

@container page (width <= 640px) {
  .ffi .px-main { padding: 66px 16px 64px; }
  .ffi-slot { width: 100%; }
  .door.px > .ffi-hello { left: 16px; right: 16px; }
  .ffi-hello b { font-size: 22px; }
}

@media (height <= 520px) {
  .ffi .px-main { align-items: center; padding-top: 64px; padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .ffi .px-stage, .door.px > .ffi-hello, .ffi-qr { transition: none; }
  .ffi-caret, .ffi-tick { animation: none; }
}


.sb-wn, .sb-rep { position: relative; }
.sb-ib.sb-wn.on, .sb-r.sb-wn.on, .sb-ib.sb-rep.on, .sb-r.sb-rep.on { background: var(--raise); color: var(--text); }
.sb-wn .wn-dot { position: absolute; top: 5px; right: 5px; }
.sb-rep .sb-rdot { top: 4px; right: 4px; width: 7px; height: 7px; }
.sb-rail .sb-wn, .sb-rail .sb-rep { width: 28px; height: 28px; margin: 0 0 6px; }
.sb-rail .sb-wn svg.i, .sb-rail .sb-rep svg.i { width: 15px; height: 15px; }
@media (pointer: coarse) {
  .sb-rail .sb-wn, .sb-rail .sb-rep { width: 40px; height: 40px; }
}


.nup { margin: 4px 0 14px; max-width: 700px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.nup-pic { position: relative; width: 100%; background: var(--side); border-bottom: 1px solid var(--line); }
.nup-pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.nup-play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; background: color-mix(in srgb, var(--side) 82%, transparent); color: var(--text); cursor: pointer; }
.nup-play:hover { background: color-mix(in srgb, var(--side) 95%, transparent); }
.nup-play:focus-visible { outline: 2px solid var(--text-2); outline-offset: 3px; }
.nup-words { padding: 12px 16px 14px; }
.nup-when { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--ice, var(--text-2)); }
.nup h3 { margin: 4px 0 0; font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; color: var(--text); overflow-wrap: anywhere; }
.nup p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }
.nup-list { display: flex; flex-direction: column; gap: 14px; margin: 4px 0 18px; }
.nup-list .nup { margin: 0; }
.set-sec .nup-when { color: var(--text-2); }
@container page (width <= 760px) {
  .nup { border-radius: 12px; }
  .nup-words { padding: 10px 14px 12px; }
}


.py-lines dt { display: flex; align-items: center; gap: 8px; min-width: 0; }
.py-tot dt, .py-tot dd { font-weight: 650; color: var(--text); }
.py-lines { margin-bottom: 6px; }
.py-addr { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); }
.py-addr .mono { flex: 1; min-width: 0; font-size: 12.5px; overflow-wrap: anywhere; word-break: break-all; }
.py-copy.d-big { width: auto; flex: none; min-height: 36px; padding: 0 10px; gap: 6px; font-size: 13px; }
@container page (width <= 640px) {
  .py-copy.d-big { min-height: 44px; }
}


.bz-card { gap: 14px; }
.bz-card.wide { width: 520px; }
.bz-card > h1.d-h-sm { margin-top: 0; }
.bz-card .d-mono { margin-bottom: 2px; }
.bz-card .d-err, .bz-card .px-fields { margin: 0; }
.bz-card .px-step { margin: 0; }
.bz-card .px-text { margin: 0; }
.bz-card .d-btnstack { display: grid; gap: 10px; }



.bz-amt { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--card-2); }
.bz-amt .d-label { margin: 0; }
.bz-amt b { font: 600 26px/1.15 var(--mono); letter-spacing: 0.02em; color: var(--ice); overflow-wrap: anywhere; }
.bz-amt b small { font-size: 15px; color: var(--text-2); margin-left: 6px; letter-spacing: 0; }
.bz-amt > span { font-size: 13px; color: var(--text-3); }
.bz-amt.gone b { color: var(--text-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.bz-copy.d-big { width: auto; flex: none; min-height: 36px; padding: 0 10px; gap: 6px; font-size: 13px; }
.bz-held { display: inline-flex; gap: 6px; align-items: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bz-qr { display: flex; gap: 14px; align-items: center; }
.bz-qr .qr { flex: none; border-radius: 10px; background: #fff; padding: 4px; }
.bz-qr p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

.bz-qr:has(.py-open) { flex-wrap: wrap; }
.bz-qr .py-open { flex: 1 0 100%; text-decoration: none; }
.bz-ends { font-family: var(--mono); white-space: nowrap; }
.bz-ends em { font-style: normal; color: var(--text); background: color-mix(in srgb, var(--ice) 22%, transparent); border-radius: 4px; padding: 0 2px; }
.bz-net { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--text-2); padding: 10px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--yellow) 40%, var(--line)); background: color-mix(in srgb, var(--yellow) 7%, transparent); line-height: 1.45; }
.bz-net b { color: var(--text); font-weight: 600; }
.bz-net .i, .bz-net svg { flex: none; margin-top: 2px; color: var(--yellow); }
.bz-how { margin: 0; padding: 0 14px 14px; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.bz-how li { counter-increment: s; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.bz-how li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font: 600 11px/1 var(--mono); color: var(--text-2); }
.bz-how b { color: var(--text); font-weight: 500; }
.bz-txline { margin: 0; font: 12.5px/1.5 var(--mono); color: var(--text-3); overflow-wrap: anywhere; }
.bz-txline a { color: var(--text-2); display: inline-flex; align-items: center; min-height: 32px; }
.bz-card .d-small { margin: 0; }
.bz-card .d-tlink2 { display: inline-flex; align-items: center; gap: 4px; }


.bz-track { list-style: none; margin: 0; padding: 0; display: grid; }
.bz-track li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px 0; position: relative; }
.bz-track li::after { content: ""; position: absolute; left: 11px; top: 32px; bottom: -8px; width: 2px; background: var(--line-2); }
.bz-track li:last-child::after { display: none; }
.bz-track li.done::after { background: var(--green); }
.bz-track i { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font: 600 11px/1 var(--mono); font-style: normal; color: var(--text-3); background: var(--card); position: relative; z-index: 1; box-sizing: border-box; }
.bz-track .done i { border-color: var(--green); background: var(--green); color: var(--btn-fg); }
.bz-track .now i { border-color: var(--ice); color: var(--ice); }
.bz-track .now i::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ice); opacity: 0.35; animation: bz-pulse 1.6s ease-out infinite; }
@keyframes bz-pulse { from { transform: scale(0.8); opacity: 0.6; } to { transform: scale(1.35); opacity: 0; } }
.bz-track b { display: block; font-size: 14.5px; font-weight: 500; color: var(--text); }
.bz-track span span { display: block; font-size: 13px; color: var(--text-3); }
.bz-track small { font: 12.5px var(--mono); color: var(--text-3); padding-top: 3px; }


.bz-faq { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bz-faq details { border-top: 1px solid var(--line); }
.bz-faq details:first-child { border-top: 0; }
details.bz-faq { display: block; }
.bz-faq summary { list-style: none; cursor: pointer; padding: 12px 14px; font-size: 14px; color: var(--text); display: flex; gap: 10px; align-items: center; min-height: 44px; box-sizing: border-box; }
.bz-faq summary::-webkit-details-marker { display: none; }
.bz-faq summary::after { content: "+"; margin-left: auto; color: var(--text-3); font: 16px var(--mono); }
.bz-faq details[open] > summary::after, details.bz-faq[open] > summary::after { content: "–"; }
.bz-faq details p { margin: 0; padding: 0 14px 12px; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.bz-help { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.bz-help svg { vertical-align: -2px; margin-right: 6px; }

.bz-help .d-tlink { display: inline-block; min-height: 32px; margin: 0; padding: 6px 0; font-size: 13.5px; color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.bz-who .d-tlink { min-height: 32px; display: inline-flex; align-items: center; margin: 0; padding: 0; }
.bz-help .d-tlink::after, .bz-who .d-tlink::after { inset: 0 -4px; }
.bz-who { margin: 0; }
.bz-card .px-fine { margin-top: 0; }

@container page (width <= 400px) {
  .bz-qr { gap: 12px; }
  .bz-qr .qr { width: 112px; height: 112px; }
  .bz-amt b { font-size: 22px; }
}


.door, .pa { --ff: #E2A660; }
.light :is(.door, .pa), .cust-light :is(.door, .pa) { --ff: #A86A1E; }
.pa-opt.ff .pa-sub { overflow-wrap: anywhere; }
.ff-code { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); cursor: default; }
.ff-code .d-field { font-size: 18px; letter-spacing: 0.12em; text-transform: uppercase; }
.ff-code .d-field::placeholder { letter-spacing: 0.12em; }
.ff-code .d-hint, .ff-code .d-err { margin: 0; }
.ff-ended { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.pa-opt.ff.ended:not([aria-checked="true"]) .pa-nm, .pa-opt.ff.ended:not([aria-checked="true"]) .pa-price { color: var(--text-3); }
.ff-pass { display: grid; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card-2); }
.ff-pass header { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; }
.ff-pass header b { font-size: 15.5px; font-weight: 600; color: var(--text); }
.ff-pass header span { font: 12.5px var(--mono); color: var(--text-3); white-space: nowrap; }
.ff-m { display: grid; gap: 5px; }
.ff-m .l { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-2); }
.ff-m .l b { font: 500 13px var(--mono); color: var(--text); text-align: right; }
.ff-m .t { height: 6px; border-radius: 6px; background: var(--raise); overflow: hidden; }
.ff-m .t i { display: block; height: 100%; border-radius: 6px; background: var(--ff, #E2A660); }
.ff-m.days .t i { background: var(--text-3); }
.ff-sum { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 13px; color: var(--text-2); }
.ff-sum b { color: var(--text); font-weight: 500; }
.ff-lbl { font-size: 13px; color: var(--text-2); }
.d-acct-wrap .d-who { white-space: normal; overflow-wrap: anywhere; }
.d-field.ff-lock { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 10px 12px; color: var(--text-2); box-sizing: border-box; }
.ff-lock span { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.ff-lock small { flex: none; display: inline-flex; gap: 5px; align-items: center; font: 600 10.5px var(--mono); letter-spacing: 0.06em; color: var(--text-3); }
@container page (width <= 760px) {
  .ff-code .d-field { font-size: 18px; }
}

.px-card .d-acct + .ff-sum { margin-top: 12px; }
.px-card .ff-sum + .px-fields { margin-top: 14px; }


.bz-card { --stp-card: var(--ice); }
.cust-light .bz-card, .light .bz-card { --stp-card: #3A5573; }
.stp-note { margin: 0; font-size: 12.5px; color: var(--text-3); }
.stp-note.center { text-align: center; }
.stp-or { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12.5px; color: var(--text-3); }
.stp-or::before, .stp-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

.stp-renew { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--stp-card) 35%, var(--line)); background: color-mix(in srgb, var(--stp-card) 6%, var(--card-2)); font-size: 14px; color: var(--text-2); line-height: 1.45; }
.stp-renew svg { flex: none; margin-top: 2px; color: var(--stp-card); }
.stp-renew b { color: var(--text); font-weight: 500; }
.stp-renew.warn { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); background: color-mix(in srgb, var(--red) 6%, var(--card-2)); }
.stp-renew.warn svg { color: var(--red); }

.stp-renew.ff { border-color: color-mix(in srgb, var(--ff) 35%, var(--line)); background: color-mix(in srgb, var(--ff) 6%, var(--card-2)); }
.stp-renew.ff svg { color: var(--ff); }
.bz-card .d-btnstack + .ff-code { margin-top: 14px; }



.door.px.ffi.pay { --ffi-ff: var(--ice); --pay-p1: #6EDDA6; --pay-p2: #8E9BFF; --pay-btc: #E2A660; }
.door.px.ffi.pay.t-p1 { --ffi-ff: var(--pay-p1); }
.door.px.ffi.pay.t-p2 { --ffi-ff: var(--pay-p2); }
.door.px.ffi.pay.t-btc { --ffi-ff: var(--pay-btc); }
.door.px.ffi.pay.t-ff { --ffi-ff: var(--ff); }
.door.px.ffi.pay.t-wait { --ffi-ff: var(--yellow); }
.door.px.ffi.pay.t-paid { --ffi-ff: var(--green); }
.door.px.ffi.pay.t-bad { --ffi-ff: var(--red); }
.pay .ffi-tag .dot { transition: background 0.3s; }


.pay .ffi-slot { width: auto; max-width: 100%; }
.pay.ffi .px-stage { width: 460px; max-width: 100%; }
.pay.pay-wide .px-stage { width: 700px; }
.pay.pay-mid .px-stage { width: 560px; }
.pay.pay-choose .px-stage { width: auto; }
.pay .px-card.bz-card { width: 100%; box-sizing: border-box; gap: 14px; animation: pay-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes pay-in { from { opacity: 0; transform: translateY(14px); } }
.pay .px-card h1.d-h-sm { margin: 0; display: flex; align-items: center; gap: 12px; }
.pay .px-step { margin: 0; }
.ffi-tick.pay-tick { margin-left: 0; flex: none; }
.pay .ffi-qr.pay-qr { width: 170px; }
@media (width > 960px) and (height > 699px) { .pay .pay-qrin { display: none; } }


.pay-stub { --c: var(--pay-p1); display: grid; gap: 8px; }
.pay-stub.p2 { --c: var(--pay-p2); }
.pay-stub.ff { --c: var(--ff); }
.pay-tag { margin: 0; display: flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--text-3); }
.pay-tag .dot { width: 7px; height: 7px; border-radius: 0; background: var(--c); }
.pay-stubrow { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.pay-stubrow > b { font-size: 22px; font-weight: 650; letter-spacing: -0.01em; color: var(--text); }
.pay-price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.pay-price b { font: 600 24px/1.1 var(--mono); letter-spacing: 0.02em; color: var(--c); }
.pay-price small { font-size: 12.5px; color: var(--text-3); }
.pay-steps { display: flex; gap: 6px; }
.pay-steps i { flex: 1; height: 3px; border-radius: 3px; background: var(--line-2); transition: background 0.3s; }
.pay-steps i.on { background: var(--c, var(--ice)); }
.pay-steps i.now { background: color-mix(in srgb, var(--c, var(--ice)) 40%, var(--line-2)); }
.pay-tear { border-top: 1px dashed var(--line-2); margin: 0 -28px; }
.ff-pass.pay-meters { padding: 12px 14px; }


.pay-choose { display: grid; gap: 18px; justify-items: center; }
.pay-head { text-align: center; }
.pay-head h1 { margin: 0; font-size: 26px; font-weight: 650; letter-spacing: -0.01em; color: var(--text); overflow-wrap: anywhere; }
.pay-head p { margin: 6px 0 0; font: 13px/1.5 var(--mono); color: var(--text-2); }
.pay-refused { margin: 0; max-width: 560px; }

.pay-trialnote { display: flex; gap: 10px; align-items: flex-start; margin: 0; max-width: 560px; box-sizing: border-box; padding: 11px 14px; border: 1px solid color-mix(in srgb, var(--ff) 35%, var(--line-2)); border-radius: 12px; background: color-mix(in srgb, var(--ff) 8%, transparent); color: var(--text-2); font-size: 14px; line-height: 1.45; text-align: left; overflow-wrap: anywhere; }
.pay-trialnote svg { flex: none; margin-top: 2px; color: var(--ff); }
.pay-trialnote b { color: var(--text); font-weight: 600; }
.pay-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px; }
.pay .px-card.pay-plan { --c: var(--pay-p1); width: 300px; box-sizing: border-box; padding: 22px 22px 18px; gap: 8px; cursor: pointer; transition: opacity 0.5s ease calc(var(--i) * 0.12s), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--i) * 0.12s), border-color 0.25s; }
.pay .px-card.pay-plan.p2 { --c: var(--pay-p2); }
.pay .px-card.pay-plan.ff { --c: var(--ff); width: 240px; border-style: dashed; background: color-mix(in srgb, var(--card) 55%, transparent); }
.pay[data-ffi="start"] .pay-plan { opacity: 0; transform: translateY(60px); }
.pay-plan.on { cursor: default; border-color: color-mix(in srgb, var(--c) 65%, var(--line-2)); transform: translateY(-6px); transition-delay: 0s; }
.pay-plan.off { opacity: 0.55; transition-delay: 0s; }
.pay-plan.off:hover { opacity: 0.85; }
.pay-plan .d-mono { margin-bottom: 0; }
.pay-nm { margin: 2px 0 0; font-size: 24px; font-weight: 650; letter-spacing: -0.01em; color: var(--text); }
.pay-nm.small { font-size: 19px; }
.pay-plan .pay-price b { font-size: 34px; }
.pay-tok { margin: 0; font: 13px/1.45 var(--mono); color: var(--text-2); }
.pay-perks { list-style: none; margin: 4px 0 0; padding: 9px 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 4px; font-size: 13px; color: var(--text-2); }
.pay-perks li { display: flex; gap: 7px; }
.pay-perks li::before { content: "✓"; color: var(--c); font-weight: 700; }
.pay-for { margin: 0; font-size: 13px; color: var(--text-3); }
.pay-plan > .d-big, .pay-plan > .ff-code { margin-top: auto; }
.pay-plan .ff-ended { margin: 0; }
.pay-open { margin-top: auto; display: grid; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line-2); animation: pay-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pay-open .stp-note, .pay-open .d-err, .pay-open .bz-net { margin: 0; }
.pay-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.pay-way { --w: var(--ice); font: inherit; font-size: 14px; font-weight: 600; color: var(--text); display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.pay-way.btc { --w: var(--pay-btc); }
.pay-way svg { color: var(--w); }
.pay-way:hover { border-color: var(--text-3); }
.pay-way[aria-checked="true"] { border-color: color-mix(in srgb, var(--w) 65%, var(--line-2)); background: color-mix(in srgb, var(--w) 7%, transparent); }
.pay-way:focus-visible { outline: 2px solid rgba(var(--ice-rgb), 0.7); outline-offset: 2px; }
.pay-sum { margin: 0; display: grid; gap: 4px; font-size: 13px; }
.pay-sum div { display: flex; justify-content: space-between; gap: 12px; }
.pay-sum dt { color: var(--text-3); }
.pay-sum dd { margin: 0; text-align: right; color: var(--text); }
.pay-foot { display: grid; justify-items: center; gap: 6px; text-align: center; }
.pay-foot > p { margin: 0; justify-content: center; }


.pay-footline { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.pay-footline .bz-help { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 13px; }
.pay-footline .bz-help svg { margin-right: 2px; }


.pay-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 22px; align-items: start; }
.pay-col { display: grid; gap: 12px; min-width: 0; align-content: start; }
.pay-col .px-fields, .pay-col .d-small, .pay-col .bz-txline { margin: 0; }
.pay-amt { display: grid; gap: 6px; }
.pay-amt .d-hint { margin: 0; font-size: 12.5px; color: var(--text-3); }
.d-field.ffi-code.pay-amtf { padding-right: 6px; font-variant-numeric: tabular-nums; }
.pay-amtf small { margin-left: 8px; font-size: 13px; letter-spacing: 0; color: var(--text-2); }
.pay-amtf .bz-copy.d-big { margin-left: auto; letter-spacing: 0; font-size: 13px; color: var(--text-2); }
.pay-amt.gone .pay-amtf > span { color: var(--text-3); text-decoration: line-through; text-decoration-thickness: 1px; }

@container page (width <= 760px) {
  .pay-cols { grid-template-columns: minmax(0, 1fr); }
}
@container page (width <= 640px) {
  .pay .ffi-slot, .pay.ffi .px-stage, .pay.pay-wide .px-stage, .pay.pay-mid .px-stage, .pay-choose, .pay-row { width: 100%; }
  .pay-row { flex-direction: column; flex-wrap: nowrap; }
  .pay .px-card.pay-plan, .pay .px-card.pay-plan.ff { width: 100%; padding: 18px 16px 16px; }
  .pay-tear { margin: 0 -16px; }
  .pay-head h1 { font-size: 22px; }
  .pay-plan .pay-price b { font-size: 30px; }
}

@container page (width <= 400px) {
  .d-field.ffi-code.pay-amtf { font-size: 16px; letter-spacing: 0.06em; padding-left: 10px; }
  .pay-amtf small { margin-left: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .pay .px-card.bz-card, .pay-open { animation: none; }
  .pay-plan, .pay-steps i, .pay-way { transition: none; }
}


.main { position: relative; --win-ms: 520ms; --win-ease: cubic-bezier(0.32, 0.72, 0, 1); }
.win-ctl { position: absolute; top: 9px; right: 12px; z-index: 8; }
.main:not(.win-2) > .win-col > .top { padding-right: 58px; }
.win-col { flex: 1 1 auto; min-width: 0; min-height: 0; display: flex; flex-direction: column; position: relative; }

.main > .win-col { container: page / inline-size; }
.main.win-hold { overflow: hidden; }
.app:has(> .main.win-hold) { height: 100vh; height: 100dvh; overflow: hidden; }
.main > .win-col:not(.win-b) {
  width: 100%;
  transition: width var(--win-ms) var(--win-ease);
}
.main.win-2 > .win-col:not(.win-b) { width: 50%; }
.win-b {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 50%;
  overflow: hidden;
  border-left: 1px solid transparent;
  transform: translateX(102%);
  box-shadow: -28px 0 56px rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: transform var(--win-ms) var(--win-ease), box-shadow var(--win-ms) ease, border-color 0.3s ease;
}
.main.win-2 .win-b {
  transform: none;
  pointer-events: auto;
  border-left-color: var(--line);
  box-shadow: -18px 0 44px rgba(0, 0, 0, 0.38);
}
.main.win-2.win-settled .win-b {
  box-shadow: none;
  transition: transform var(--win-ms) var(--win-ease), box-shadow 0.35s ease, border-color 0.3s ease;
}
.light .main.win-2 .win-b,
.cust-light .main.win-2 .win-b { box-shadow: -18px 0 44px rgba(20, 24, 40, 0.18); }
.light .main.win-2.win-settled .win-b,
.cust-light .main.win-2.win-settled .win-b { box-shadow: none; }
.win-bar { flex: none; display: flex; align-items: center; justify-content: flex-end; height: 46px; padding: 0 10px; }
.win-bar .win-ctl { position: static; top: auto; right: auto; }
.win-frame { flex: 1 1 auto; width: 100%; height: 100%; border: 0; background: var(--bg); }

@media (width <= 760px) {
  .win-ctl { display: none; }
  .main:not(.win-2) > .win-col > .top { padding-right: max(16px, env(safe-area-inset-right)); }
}
@media (pointer: coarse) {
  .win-ctl { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .main > .win-col:not(.win-b),
  .win-b,
  .main.win-2.win-settled .win-b { transition: none; }
}


html.embed .mbar, html.embed .sb-bar { display: none !important; }
html.embed .top:has(+ .content.hm) { display: flex !important; }
html.embed .top { padding-right: 16px; }


.win-b { background: var(--bg); }
.main:not(.win-hold) > .win-b { transform: none; visibility: hidden; transition: none; box-shadow: none; }
.main.win-start > .win-b { transition: none; }
.win-frame { opacity: 0; transition: opacity 0.18s ease; }
.win-b.win-ready .win-frame { opacity: 1; }
.win-wait {
  position: absolute;
  inset: 46px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
  pointer-events: none;
  opacity: 0;
  animation: win-wait-in 0.3s ease 1.6s forwards;
}
@keyframes win-wait-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .win-frame { transition: none; }
  .win-wait { animation: none; opacity: 1; }
}

.app > .side.sb-side:not(.drawer) { z-index: 6; }
