:root {
  --xl-bar: var(--accent);           
  --xl-bar-ink: #ffffff;
  --xl-head: var(--surface-2);       
  --xl-grid: var(--line);            
  --xl-sel: var(--accent);           
  --xl-sel-soft: color-mix(in srgb, var(--accent) 12%, var(--surface));
  --xl-msg: #fff4ce;                 
  --xl-msg-ink: #5c4a00;
  --xl-csv: #1d6f42;
  --s1: #2f6fde; --s2: #0f8a5f; --s8: #d9480f; --s4: #7048e8; --s5: #0b7285; --s7: #a61e4d;   
}
:root[data-theme="dark"] {
  --xl-bar: #10241c;
  --xl-bar-ink: #e9edf5;
  --xl-msg: #3a3110;
  --xl-msg-ink: #f3e3a2;
  --s1: #7aa7ff; --s2: #4cd39b; --s8: #ff9a5c; --s4: #b197fc; --s5: #4fc3d1; --s7: #f783ac;
}
html, body.xl-body { height: 100%; height: 100dvh; }   
body.xl-body { margin: 0; overflow: hidden; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--fs-sm); }
.xl { height: 100%; display: flex; flex-direction: column; min-width: 0; }
.xl button { font: inherit; }
.xl svg { width: 16px; height: 16px; flex: none; }
.xl-title { flex: none; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 0 12px; height: 44px;
  padding-top: env(safe-area-inset-top, 0px); background: var(--xl-bar); color: var(--xl-bar-ink); }
.xl-brand { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 700; font-size: var(--fs-md); text-decoration: none; white-space: nowrap; }
.xl-brand:hover { text-decoration: none; }
.xl-brand svg, .xl-brand img { width: 22px; height: 22px; }
.xl-file { justify-self: start;    display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.xl-file b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .95; }
.xl-ic { flex: none; display: inline-grid; place-items: center; width: 30px; height: 20px; border-radius: 4px; background: var(--xl-csv); color: #fff; font-size: .5625rem; font-weight: 800; letter-spacing: .04em; }
.xl-title .xl-ic { background: rgba(255, 255, 255, .18); }
.xl-file.open { padding: 3px 4px 3px 6px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 6px; background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 3px rgba(255, 255, 255, .06); }
.xl-file.open b { font-weight: 700; opacity: 1; }
.xl-file.open .xl-ic { background: #fff; color: var(--accent); }
.xl-fk { flex: none; padding: 1px 7px; border-radius: 10px; background: rgba(255, 255, 255, .22); font-size: .6875rem; font-weight: 700; }
.xl-title .xl-fx { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #fff; opacity: .85; cursor: pointer; font-size: .8125rem; line-height: 1; }
.xl-title .xl-fx:hover, .xl-title .xl-fx:focus-visible { background: rgba(255, 255, 255, .22); opacity: 1; }
.xl-menu { display: flex; align-items: center; gap: 2px; }
.xl-menu form { margin: 0; display: contents; }
.xl-menu > button, .xl-menu > a, .xl-menu form button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: inherit;
  cursor: pointer; white-space: nowrap; text-decoration: none; font-size: var(--fs-sm); }
.xl-menu > button:hover, .xl-menu > a:hover, .xl-menu form button:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }
.xl-menu .xl-join { background: rgba(255, 255, 255, .16); font-weight: 600; }
.xl-cnt { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #fff; color: var(--accent); font-size: .6875rem; font-weight: 700; }
.xl-theme .drk, :root[data-theme="dark"] .xl-theme .lig { display: none; }
:root[data-theme="dark"] .xl-theme .drk { display: inline-flex; }
.xl-theme .lig { display: inline-flex; }
.xl-ribbon { flex: none; display: flex; align-items: stretch; gap: 0; margin: 0; padding: 6px 4px 0; background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.rg { display: grid; grid-template-rows: 1fr auto; gap: 4px; padding: 2px 9px 0; border-right: 1px solid var(--line); flex: none; }   
.rg:last-child { border-right: 0; }
.rg-c { display: flex; align-items: center; gap: 6px; min-height: 36px; }
.rg-l { display: flex; justify-content: center; align-items: center; gap: 4px; padding-bottom: 4px; font-size: .6875rem; color: var(--ink-3); letter-spacing: .02em; white-space: nowrap; }
.rg-q { flex: 1 1 260px; min-width: 210px; }
.rg-c.stack { display: grid; grid-template-rows: repeat(2, 26px); grid-auto-flow: column; gap: 4px 5px; align-content: center; }   
.rg-c.stack .tg { height: 26px; padding: 0 7px; }
.tg.tg-big { height: 56px; flex-direction: column; justify-content: center; gap: 2px; padding: 0 12px; font-size: var(--fs-xs); color: var(--ink); }   
.rg-dl { margin-left: auto; border-left: 1px solid var(--line); position: sticky; right: 0; z-index: 2; background: var(--surface); box-shadow: -10px 0 12px -10px rgba(12, 20, 36, .25); }   
.xl-q { display: flex; align-items: center; gap: 6px; width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink-3); }
.xl-q:focus-within { border-color: var(--accent); box-shadow: var(--focus); }
.xl-q input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: var(--fs-md); }
.xl-ribbon select { height: 34px; padding: 0 24px 0 9px; border: 1px solid var(--line-strong); border-radius: 6px; background-color: var(--surface); color: var(--ink); font: inherit; max-width: 170px; }
.xl-ribbon select:disabled { opacity: .55; }
.xl-ribbon select:focus-visible { outline: 0; border-color: var(--accent); box-shadow: var(--focus); }
.tg { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink-2); cursor: pointer; white-space: nowrap; font-size: var(--fs-sm); }
.tg:hover { border-color: var(--ink-3); }
.tg[aria-pressed="true"] { border-color: var(--accent); background: var(--xl-sel-soft); color: var(--ink); font-weight: 600; }
.tg .n { font-size: .6875rem; color: var(--ink-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.tg i.dot { width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--ink-3)); }
.tg:focus-visible, .xl-btn:focus-visible, .xl-dl:focus-visible, .xl-tab:focus-visible { outline: 0; box-shadow: var(--focus); }
.xl-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink-2); cursor: pointer; white-space: nowrap; font-size: var(--fs-sm); }
.xl-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.xl-btn svg { width: 14px; height: 14px; }
.xl-dl { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 10px; border: 0; border-radius: 6px; background: var(--xl-csv); color: #fff; font-weight: 700; font-size: var(--fs-md); cursor: pointer; white-space: nowrap; }
.xl-dl:hover { filter: brightness(1.08); }
.xl-dl .xl-ic { background: rgba(255, 255, 255, .2); }
.xl-dl svg { width: 18px; height: 18px; flex: none; }
.bs-exp { display: inline-flex; align-items: center; gap: 8px; }
.bs-exp svg { width: 16px; height: 16px; flex: none; }
.bs-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -6px 0 14px; color: var(--ink-3); font-size: var(--fs-sm); }
.xl-dl[disabled] { opacity: .6; cursor: wait; }
.tip { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line-strong); font-style: normal; font-size: .5625rem; color: var(--ink-3); cursor: help; position: relative; }
.xl-msg { flex: none; display: flex; align-items: center; gap: 12px; padding: 6px 14px; background: var(--xl-msg); color: var(--xl-msg-ink); border-bottom: 1px solid color-mix(in srgb, var(--xl-msg-ink) 25%, transparent); font-size: var(--fs-sm); }
.xl-msg b { flex: none; }
.xl-msg span { flex: 1; min-width: 0; }
.xl-msg .xl-btn { background: transparent; border-color: color-mix(in srgb, var(--xl-msg-ink) 45%, transparent); color: inherit; height: 26px; }
.xl-msg .xl-trb { background: var(--xl-csv); border-color: var(--xl-csv); color: #fff; font-weight: 700; white-space: nowrap; }   
.xl-msg .xl-tkb { position: relative; overflow: hidden; background: var(--surface); font-weight: 600; }
.xl-tkb svg { width: 16px; height: 16px; overflow: visible; animation: tk-glow 2.4s ease-in-out infinite; }
.xl-tkb .ic-tri { fill: #f5b301; stroke: #f5b301; }
.xl-tkb .ic-ex { stroke: #3b2c00; stroke-width: 2.4; }
.xl-tkb::after { content: none; }   
@keyframes tk-glow { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(245, 179, 1, 0)); } 50% { transform: scale(1.12); filter: drop-shadow(0 0 4px rgba(245, 179, 1, .9)); } }
@keyframes tk-shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .xl-tkb svg, .xl-tkb::after { animation: none; } .xl-tkb::after { display: none; } }
.xl-fx { flex: none; display: flex; align-items: center; gap: 0; height: 30px; background: var(--surface); border-bottom: 1px solid var(--line); }
.xl-ref { flex: none; width: 76px; height: 100%; display: grid; place-items: center; border-right: 1px solid var(--line); font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-2); }
.xl-fxl { flex: none; padding: 0 10px; font-style: italic; font-family: Georgia, "Times New Roman", serif; color: var(--ink-3); border-right: 1px solid var(--line); height: 100%; display: grid; place-items: center; }
.xl-fxv { flex: 1; min-width: 0; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: text; }
.xl-more { margin: 0 6px; height: 24px; }
.xl-fxcp { flex: none; margin-left: 6px; height: 24px; }
.xl-grid { flex: 1; min-height: 0; overflow: auto; background: var(--surface); outline: 0; position: relative; overscroll-behavior: contain; }
.xl-grid table { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: 100%; min-width: 1680px; font-size: var(--fs-sm); }
.c-rn { width: 52px; } .c-n { width: 220px; } .c-src { width: 176px; } .c-k { width: 300px; } .c-t { width: 126px; } .c-m { width: 126px; } .c-e { width: 186px; } .c-fx { width: 126px; }
.c-st { width: 96px; } .c-pd { width: 116px; } .c-d { width: 160px; } .c-od { width: 132px; } .c-add { width: 64px; }   
.xl-grid th.c-addh, .xl-grid th.c-addl { padding: 0 6px; text-align: center; }
.xl-grid td.c-addc { background: color-mix(in srgb, var(--xl-head) 45%, var(--surface)); cursor: default; }
.xl-addcol { height: 24px; padding: 0 8px; border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 5px; background: var(--surface); color: var(--accent); font: inherit; font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; cursor: pointer; }
.xl-addcol:hover { border-style: solid; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.xl-grid th, .xl-grid td { height: 28px; padding: 0 8px; border-right: 1px solid var(--xl-grid); border-bottom: 1px solid var(--xl-grid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; vertical-align: middle; }
.xl-grid thead th { position: sticky; z-index: 3; background: var(--xl-head); }
.xl-letters th { top: 0; height: 22px; text-align: center; font-weight: 400; font-size: var(--fs-xs); color: var(--ink-3); }
.xl-hd th { top: 23px; font-weight: 700; color: var(--ink); background: color-mix(in srgb, var(--xl-csv) 9%, var(--surface)) !important; border-bottom: 2px solid color-mix(in srgb, var(--xl-csv) 35%, var(--line)); }
.xl-grid th:first-child, .xl-grid td:first-child, .xl-grid tbody th { position: sticky; left: 0; z-index: 2; background: var(--xl-head); text-align: center; color: var(--ink-3); font-weight: 400; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.xl-grid thead th:first-child { z-index: 4; }
.xl-hd th.rn { color: var(--ink-3); font-weight: 400; }
.xl-grid tbody td { color: var(--ink-2); cursor: cell; }
.xl-grid tbody td.n { color: var(--ink); font-weight: 600; }
.xl-grid td.mono { font-family: var(--mono); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.xl-grid tbody tr:hover td { background: color-mix(in srgb, var(--accent) 4%, var(--surface)); }
.xl-grid tbody tr.pad td, .xl-grid tbody tr.pad:hover td { background: var(--surface); cursor: default; }   
.xl-grid tbody tr.on th { background: color-mix(in srgb, var(--accent) 22%, var(--xl-head)); color: var(--ink); font-weight: 700; }
.xl-letters th.on { background: color-mix(in srgb, var(--accent) 22%, var(--xl-head)); color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--xl-sel); }
.xl-grid td.sel, .xl-grid tbody td.sel:nth-child(2) { box-shadow: inset 0 0 0 2px var(--xl-sel); background: var(--surface) !important; }   
.xl-grid td.muted, .xl-grid span.muted { color: var(--ink-3); }
.sx { display: inline-flex; gap: 3px; }
.sx b { display: inline-flex; align-items: center; height: 18px; padding: 0 4px; border-radius: 3px; font-size: .65625rem; letter-spacing: -.02em; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--surface)); }
.s-1 { --c: var(--s1); } .s-2 { --c: var(--s2); } .s-8 { --c: var(--s8); } .s-4 { --c: var(--s4); } .s-5 { --c: var(--s5); } .s-7 { --c: var(--s7); }
.sx b i.sn { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; margin-left: 3px; }   
.st2 { color: var(--warn) !important; } .st3, .st4 { color: var(--err) !important; }
.xl-grid tr.load td, .xl-grid tr.end td { position: static; text-align: left; color: var(--ink-3); background: var(--surface); }
.xl-grid tr.end td { padding: 10px 12px; white-space: normal; }
.xl-empty { position: absolute; inset: 80px 0 auto; display: grid; justify-items: center; gap: 10px; padding: 24px; text-align: center; color: var(--ink-2); }
.xl-empty b { font-size: var(--fs-md); color: var(--ink); }
.xl-grid.busy tbody { opacity: .55; transition: opacity .15s; }
.xl-tabbar { flex: none; position: relative; display: flex; align-items: stretch; height: 34px; background: var(--xl-head); border-top: 1px solid var(--line); }
.xl-tnav { flex: none; display: flex; align-items: center; gap: 1px; padding: 0 4px 0 6px; border-right: 1px solid var(--line); }
.xl-tnav button { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 3px; background: none; color: var(--ink-3); font-size: 10px; cursor: pointer; }
.xl-tnav button:hover:not(:disabled) { background: var(--surface); color: var(--ink); }
.xl-tnav button:disabled { opacity: .3; cursor: default; }
.xl-tnav button[data-tn="all"] { font-size: 14px; letter-spacing: -1px; }
.xl-tabbar:not(.over) .xl-tnav { display: none; }
.xl-tabs { flex: 1; min-width: 0; display: flex; align-items: stretch; gap: 0; padding: 0 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.xl-tabs::-webkit-scrollbar { display: none; }
.xl-tabbar.r .xl-tabs { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 80px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 80px), transparent); }
.xl-tabbar.l .xl-tabs { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.xl-tabbar.l.r .xl-tabs { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 80px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 80px), transparent); }
.xl-tabbar.r::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 14%, transparent)); pointer-events: none; }   
.xl-tab { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border: 0; border-right: 1px solid var(--line); background: none; color: var(--ink-2); cursor: pointer; white-space: nowrap; font-size: var(--fs-sm); }
.xl-tab:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--ink); }
.xl-tab[aria-selected="true"] { background: var(--surface); color: var(--xl-csv); font-weight: 700; box-shadow: inset 0 -3px 0 var(--xl-csv); }
:root[data-theme="dark"] .xl-tab[aria-selected="true"] { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.xl-tab.out { opacity: .5; }   
.xl-tabs.multi .xl-tab[aria-selected="true"] { background: color-mix(in srgb, var(--xl-csv) 8%, var(--surface)); }
.xl-tab .n { font-size: .6875rem; color: var(--ink-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.xl-status { flex: none; display: flex; align-items: center; gap: 16px; height: calc(26px + env(safe-area-inset-bottom, 0px)); padding: 0 12px; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--xl-bar); color: var(--xl-bar-ink); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; }
.xl-hint { opacity: .8; overflow: hidden; text-overflow: ellipsis; }
.xl-sum { margin-left: auto; font-variant-numeric: tabular-nums; }
.xl-foot { display: inline-flex; gap: 2px; }
.xl-foot button, .xl-foot a { border: 0; background: none; color: inherit; opacity: .85; cursor: pointer; padding: 0 6px; font-size: var(--fs-xs); text-decoration: none; }
.xl-foot button:hover, .xl-foot a:hover { opacity: 1; text-decoration: underline; color: inherit; }
.xl-dlg { padding: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45);
  width: min(1120px, calc(100vw - 32px)); height: min(860px, calc(100dvh - 48px)); max-width: none; max-height: none; overflow: hidden; }
.xl-dlg[open] { display: flex; flex-direction: column; }
.xl-dlg::backdrop { background: rgba(12, 20, 36, .45); }
.xl-dlg-h { flex: none; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 14px; background: var(--xl-head); border-bottom: 1px solid var(--line); }
.xl-dlg-h b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-md); }
.xl-x { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); cursor: pointer; }
.xl-x:hover { background: var(--surface); color: var(--ink); }
.xl-dlg iframe { flex: 1; width: 100%; border: 0; background: var(--paper); }
.xl-dlg-b { flex: 1; min-height: 0; overflow: auto; padding: 16px 18px 20px; display: grid; align-content: start; gap: 14px; }
.xl-rec { width: min(980px, calc(100vw - 32px)); height: auto; max-height: calc(100dvh - 48px); }
.xl-small { width: min(560px, calc(100vw - 32px)); height: fit-content; }   
.xl-dlg.sm { width: min(560px, calc(100vw - 32px)); height: min(720px, calc(100dvh - 48px)); }   
.xl-dlg.kcp { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }   
.xl-dlg.kcp .xl-dlg-h { display: none; }
.xl-kv { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.xl-kv th, .xl-kv td { border: 1px solid var(--xl-grid); padding: 7px 10px; text-align: left; vertical-align: top; }
.xl-kv th { width: 130px; background: var(--xl-head); color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.xl-kv td { color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.xl-note { margin: 0; color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.6; }
.rec { display: grid; gap: 22px; min-width: 0; }
.rec > * { min-width: 0; }
.rec-head { display: grid; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rec-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.rec-top h2 { margin: 0; font-size: var(--fs-xl); letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
.rec-st { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; background: var(--ok-soft); color: var(--ok); }
.rec-st.st2 { background: var(--warn-soft); color: var(--warn, var(--ink)); } .rec-st.st3, .rec-st.st4 { background: var(--err-soft); color: var(--err); }
.rs { display: grid; gap: 10px; }
.rs-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.rs-h h3 { margin: 0; font-size: var(--fs-md); letter-spacing: -.01em; }
.rs-h .xl-btn { margin-left: auto; }
.rs-n { color: var(--ink-3); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.rs-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .6875rem; font-weight: 600; white-space: nowrap; }
.rec-dl, .rc-dl { margin: 0; display: grid; }
.rec-info { display: grid; }
.rec-dl.cols { display: block; columns: 2 300px; column-gap: 28px; }   
.rec-dl.cols > div { break-inside: avoid; }
.rec-dl > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rec-dl dt, .rc-dl dt { color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.7; white-space: nowrap; }
.rec-dl dd, .rc-dl dd { margin: 0; color: var(--ink); font-size: var(--fs-sm); line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.rec-dl dd .sx { margin-right: 4px; vertical-align: 1px; }
.rs-mine { padding: 14px 16px 12px; border-radius: 10px; background: var(--surface-2); }
.uc-rec { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px 14px; align-items: end; }
.uc-f { display: grid; gap: 4px; min-width: 0; }
.uc-f > label { font-size: var(--fs-xs); color: var(--ink-2); font-weight: 500; }
.uc-f input[type=text], .uc-f input[type=date], .uc-f select { font: inherit; height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--ink); min-width: 0; width: 100%; box-sizing: border-box; }
.uc-f input:focus-visible, .uc-f select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.uc-f.ck { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); cursor: pointer; font-size: var(--fs-sm); color: var(--ink); }
.uc-f.ck input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.rec-cards { display: grid; gap: 10px; }
.rc { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 12px 14px; display: grid; gap: 10px; }
.rc.ref, .rc.lic { background: var(--surface-2); border-style: dashed; }   
.rc.ref .rc-n, .rc.lic .rc-n, .rc.ref dd:not(.note), .rc.lic dd:not(.note), .rc.ref dt, .rc.lic dt { color: var(--ink-3); opacity: .75; }
.rc.ref dd.note, .rc.lic dd.note { color: var(--ink); font-weight: 600; }   
.rc.ref .rc-chip, .rc.lic .rc-chip, .rc.ref .sx, .rc.lic .sx { filter: grayscale(1); opacity: .7; }
.rc-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.rc-fold { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.rc-fold summary { display: flex; align-items: center; gap: 8px; padding: 10px 14px; cursor: pointer; list-style: none; color: var(--accent); font-size: var(--fs-sm); font-weight: 600; }
.rc-fold summary::-webkit-details-marker { display: none; }
.rc-fold summary > span:last-child::after { content: ' ▾'; } .rc-fold[open] summary > span:last-child::after { content: ' ▴'; }
.rc-fold summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 10px; }
.rc-fold-w { max-height: 420px; overflow: auto; border-top: 1px solid var(--line); }
.rc-ft { width: 100%; min-width: 0; border-collapse: collapse; font-size: var(--fs-sm); }
.rc-ft th { position: sticky; top: 0; background: var(--surface-2); color: var(--ink-3); font-size: var(--fs-xs); font-weight: 600; text-align: left; padding: 6px 10px; white-space: nowrap; }
.rc-ft td { padding: 6px 10px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: top; word-break: keep-all; overflow-wrap: anywhere; }
.rc-ft td.mono { font-family: var(--mono); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-ft tr.cl td { color: var(--ink-3); }
@media (max-width: 600px) {   
  .rc-ft thead { display: none; }
  .rc-ft tr { display: grid; gap: 1px; padding: 8px 12px; border-top: 1px solid var(--line); }
  .rc-ft td { border: 0; padding: 0; }
  .rc-ft td:first-child { font-weight: 600; }
  .rc-ft td:last-child { color: var(--ink-3); font-size: var(--fs-xs); }
}
.rc-n { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.rc-st { color: var(--ink-2); font-size: var(--fs-xs); white-space: nowrap; }
.rc-st::before { content: "· "; color: var(--ink-3); }
.rc-st.cl { color: var(--err); font-weight: 600; }
.rc-h .xl-btn { margin-left: auto; }
.rc-dl { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 8px 18px; }
.rc-dl > div { display: grid; gap: 1px; align-content: start; min-width: 0; }
.rc-dl > div.w { grid-column: 1 / -1; }
.sx, .sx b { white-space: nowrap; flex-wrap: nowrap; }
@media (max-width: 560px) {
  .rec { gap: 18px; }
  .rec-dl > div { grid-template-columns: 5.5em minmax(0, 1fr); }
  .rs-mine { padding: 12px; }
}
.rec-hint { margin: 0; padding: 10px 12px; border-radius: 6px; background: var(--xl-msg); color: var(--xl-msg-ink); font-size: var(--fs-sm); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.xl-toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(40px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); }   
.xl-toast { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 12px 12px 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); font-size: var(--fs-sm); }
.xl-toast b { color: var(--ink); }
.xl-toast.flash { animation: xl-flash .8s ease-in-out 3; }
.xl-toast.err.flash { --fl: var(--err); }
@keyframes xl-flash { 0%, 100% { box-shadow: var(--shadow), 0 0 0 0 transparent; } 45% { box-shadow: var(--shadow), 0 0 0 4px color-mix(in srgb, var(--fl, var(--accent)) 50%, transparent); border-color: var(--fl, var(--accent)); } }
@media (prefers-reduced-motion: reduce) { .xl-toast.flash { animation: none; border-color: var(--fl, var(--accent)); } }
.xl-toast .m { grid-column: 1; color: var(--ink-3); font-size: var(--fs-xs); word-break: break-all; }
.xl-toast .acts { grid-column: 1 / -1; display: flex; gap: 6px; }
.xl-toast.err { border-color: color-mix(in srgb, var(--err) 45%, var(--line)); }
.xl-toast .xl-x { grid-row: 1; grid-column: 2; width: 24px; height: 24px; }
.xl-toast a.xl-btn { text-decoration: none; }
.xl-toast a.xl-btn.pri { background: var(--xl-csv); border-color: var(--xl-csv); color: #fff; }
@media (max-width: 900px) {
  .xl-title { grid-template-columns: auto minmax(0, 1fr); }
  .xl-file { display: none; }
  .xl-menu { justify-self: end; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .xl-hint, .xl-foot { display: none; }
  .rg-q { min-width: 200px; }
  .xl-grid table { min-width: 1420px; }
  .c-n { width: 170px; } .c-k { width: 160px; } .c-e { width: 160px; }
}
@media (max-width: 560px) {
  .xl-menu > button, .xl-menu > a, .xl-menu form button { padding: 0 8px; }
  .xl-msg span { font-size: var(--fs-xs); }
  .c-rn { width: 40px; }
  .xl-grid th:first-child, .xl-grid td:first-child, .xl-grid tbody th { padding: 0 2px; }   
  .xl-dlg { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
  .xl-rec, .xl-small { height: 100dvh; }
}
@media (prefers-reduced-motion: reduce) { .xl-grid.busy tbody { transition: none; } }
.xl-gridwrap { flex: 1; min-height: 0; display: flex; position: relative; }
.xl-gridwrap > .xl-grid { flex: 1; }
.xl-grid tbody td:nth-child(2), .xl-grid thead th:nth-child(2) { position: sticky; left: 52px; z-index: 2; box-shadow: inset -1px 0 0 var(--line-strong); }
.xl-grid tbody td:nth-child(2) { background: var(--surface); }
.xl-grid thead th:nth-child(2) { z-index: 4; }
.xl-grid tbody tr:hover td:nth-child(2) { background: color-mix(in srgb, var(--accent) 4%, var(--surface)); }
.xl-hd .hd { display: flex; align-items: center; gap: 4px; min-width: 0; }
.xl-hd .hd-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.xl-hd .so { font-style: normal; color: var(--accent); font-weight: 700; }
.af { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--surface); color: var(--ink-3); font-size: 10px; line-height: 1; cursor: pointer; }
.af:hover { border-color: var(--ink-3); color: var(--ink); }
.af.on { color: var(--accent); border-color: var(--accent); background: var(--xl-sel-soft); }
.af svg { width: 12px; height: 12px; }
.af.hd-find { width: auto; gap: 2px; padding: 0 5px 0 4px; font-size: 11px; font-weight: 600; color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong)); display: inline-flex; align-items: center; }
.af.hd-find svg { width: 11px; height: 11px; }
.kp { display: grid; gap: 8px; min-width: 0; }
.kp-sel { display: flex; align-items: center; gap: 8px; min-height: 26px; font-size: var(--fs-sm); }
.kp-sel .muted { color: var(--ink-3); }
.kp-list { max-height: min(38vh, 360px); overflow: auto; border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; }
.kp-g + .kp-g { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.kp-gh { display: flex; justify-content: space-between; gap: 8px; padding: 4px 2px; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); position: sticky; top: -4px; background: var(--surface); z-index: 1; }
.kp-c { display: flex; align-items: center; gap: 4px; }
.kp-c .kp-r { flex: 1; min-width: 0; }
.kp-r { display: flex; align-items: center; gap: 6px; padding: 3px 2px; font-size: var(--fs-sm); cursor: pointer; border-radius: 4px; }
.kp-r:hover { background: var(--xl-sel-soft); }
.kp-r input:disabled + .kp-t { color: var(--ink-3); }
.kp-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kp-r .n, .kp-gh .n { flex: none; color: var(--ink-3); font-variant-numeric: tabular-nums; font-weight: 400; }
.kp-x { flex: none; width: 24px; height: 24px; border: 0; border-radius: 4px; background: none; color: var(--ink-3); cursor: pointer; }
.kp-x:hover { background: var(--xl-sel-soft); color: var(--ink); }
.kp-x.has-n { width: auto; display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 7px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }   
.kp-x.has-n[aria-expanded="true"] { border-color: var(--xl-sel); color: var(--ink); }
.kp-subs { margin: 0 0 4px 22px; padding-left: 6px; border-left: 2px solid var(--line); }
.kp-more, .kp-all { display: block; width: 100%; margin: 4px 0; padding: 5px 6px; border: 1px dashed var(--line-strong); border-radius: 5px; background: none; color: var(--accent); font-size: var(--fs-xs); cursor: pointer; text-align: left; }
.xl.filtered tbody th { color: var(--s1); }   
.xl-grid tbody td.inr { background: color-mix(in srgb, var(--accent) 13%, var(--surface)) !important; }
.xl-grid tbody td.hit { background: color-mix(in srgb, #f5b301 30%, var(--surface)); }
.xl-grid tbody td.hit.sel { background: color-mix(in srgb, #f5b301 45%, var(--surface)) !important; }
.xl-letters th { position: sticky; cursor: s-resize; user-select: none; }
.xl-letters th.xl-corner { cursor: cell; }
.xl-letters .rz { position: absolute; top: 0; right: -4px; width: 8px; height: 100%; cursor: col-resize; z-index: 5; }
.xl-letters .rz:hover { background: color-mix(in srgb, var(--accent) 40%, transparent); }
body.xl-resizing, body.xl-resizing * { cursor: col-resize !important; user-select: none !important; }
.xl-grid tbody { user-select: none; }
.xl-selsum { font-variant-numeric: tabular-nums; }
.xl-selsum:empty { display: none; }
.xl-pan { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: none; color: inherit; cursor: pointer; font: inherit; font-size: .75rem; white-space: nowrap; }
.xl-pan:hover { background: rgba(255, 255, 255, .18); }
.xl-pan[aria-pressed="true"] { border-color: #fff; background: #fff; color: var(--accent); font-weight: 700; }
.xl-grid.xl-panmode #xl-rows td { cursor: grab; }
body.xl-panning, body.xl-panning * { cursor: grabbing !important; user-select: none; }
@media (pointer: coarse), (max-width: 560px) { .xl-pan, [data-ra="pan"] { display: none; } }   
.xl-zoom { display: inline-flex; align-items: center; gap: 2px; }
.xl-zoom button { width: 20px; height: 20px; border: 0; border-radius: 3px; background: none; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; }
.xl-zoom button:hover { background: rgba(255, 255, 255, .18); }
.xl-zoom b { min-width: 40px; text-align: center; font-weight: 500; cursor: pointer; }
.xl-findbtn svg { width: 13px; height: 13px; }
.xl-fcnt { flex: none; padding: 0 12px; font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; border-right: 1px solid var(--line); }   
.xl-fcnt:empty { display: none; }
.xl-fcnt b { color: var(--accent); font-size: var(--fs-md); margin-right: 1px; }
.xl-act-n { display: none; flex: none; font-size: var(--fs-xs); font-weight: 700; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }   
.xl-find { position: absolute; top: 8px; right: 18px; z-index: 20; display: flex; align-items: center; gap: 4px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.xl-find input { width: 200px; height: 30px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface); color: var(--ink); font: inherit; }
.xl-find input:focus { outline: 0; border-color: var(--accent); box-shadow: var(--focus); }
.xl-find-n { min-width: 56px; font-size: var(--fs-xs); color: var(--ink-3); text-align: center; font-variant-numeric: tabular-nums; }
.xl-find .xl-x { width: 28px; height: 28px; font-size: 10px; }
.xl-af, .xl-cm { position: fixed; z-index: 62; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); box-shadow: 0 16px 40px -12px rgba(12, 20, 36, .35); font-size: var(--fs-sm); }
.xl-af { width: 290px; max-height: min(520px, calc(100dvh - 16px)); display: flex; flex-direction: column; }
.xl-af.af-top { z-index: 80; }
.xl-af.af-top .af-mv { display: none; }   
.xl-af.af-wide { width: min(400px, calc(100vw - 16px)); max-height: min(640px, calc(100dvh - 16px)); }   
.af-h { padding: 10px 12px 6px; font-weight: 700; }
.af-sort { display: grid; gap: 2px; padding: 0 6px 8px; border-bottom: 1px solid var(--line); }
.af-sort button { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px; border: 0; border-radius: 5px; background: none; color: var(--ink-2); text-align: left; cursor: pointer; font: inherit; }
.af-sort button:hover { background: var(--xl-head); color: var(--ink); }
.af-sort button.on { color: var(--accent); font-weight: 600; }
.af-note { margin: 2px 8px 0; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.5; }
.af-b { flex: 1; min-height: 0; overflow: auto; display: grid; align-content: start; gap: 8px; padding: 10px 12px; }
.af-b .af-note { margin: 0; }
.af-l { margin: 0; font-size: var(--fs-xs); color: var(--ink-3); }
.af-row { display: flex; align-items: center; gap: 6px; }
.af-row > * { flex: 1; min-width: 0; }
.af-row > span { flex: none; color: var(--ink-3); }
.af-b input[type=search], .af-b input[type=date], .af-b select { height: 32px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 5px; background-color: var(--surface); color: var(--ink); font: inherit; width: 100%; }
.af-b input:focus, .af-b select:focus { outline: 0; border-color: var(--accent); box-shadow: var(--focus); }
.af-list { display: grid; gap: 1px; max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 5px; padding: 4px; }
.af-list label { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 4px; cursor: pointer; }
.af-list label:hover { background: var(--xl-head); }
.af-list .af-all { border-bottom: 1px solid var(--line); border-radius: 4px 4px 0 0; margin-bottom: 2px; }
.af-list input { accent-color: var(--accent); margin: 0; }
.af-list .n { margin-left: auto; font-size: var(--fs-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.af-quick { display: flex; gap: 4px; flex-wrap: wrap; }
.af-quick button { height: 26px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface); color: var(--ink-2); cursor: pointer; font-size: var(--fs-xs); }
.af-f { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); }
.af-f span { flex: 1; }
.xl-btn.pri { background: var(--xl-csv); border-color: var(--xl-csv); color: #fff; font-weight: 600; }
.xl-btn.pri:hover { filter: brightness(1.08); color: #fff; }
.xl-cm { min-width: 230px; max-width: 340px; padding: 4px; display: grid; }
.xl-cm button { display: flex; align-items: center; gap: 16px; height: 30px; padding: 0 10px; border: 0; border-radius: 5px; background: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.xl-cm button span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xl-cm button:hover, .xl-cm button:focus-visible { background: var(--xl-sel-soft); outline: 0; }
.xl-cm kbd { font-family: var(--mono); font-size: .6875rem; color: var(--ink-3); }
.xl-cm hr { margin: 4px 6px; border: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .xl-findbtn { display: none; } .xl-selsum { display: none; } }
@media (max-width: 560px) { .xl-grid tbody td:nth-child(2), .xl-grid thead th:nth-child(2) { left: 40px; } .xl-find { left: 8px; right: 8px; } .xl-find input { width: auto; flex: 1; } }
.rg-qi { justify-content: flex-start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.rg-qi.on { color: var(--accent); font-weight: 600; }
.af-now { margin: 0 0 2px; color: var(--ink-2); }
.rg-qi.pick { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.rg-qi.pick:hover { color: var(--accent-hover); }
.af-name { display: flex; gap: 8px; align-items: flex-start; padding: 8px; border: 1px dashed var(--line-strong); border-radius: 5px; cursor: pointer; line-height: 1.45; }
.af-name input { accent-color: var(--accent); margin-top: 2px; }
.xl-cols-reset { display: block; width: 100%; height: 18px; padding: 0; border: 1px solid var(--accent); border-radius: 3px; background: var(--xl-sel-soft); color: var(--accent); font-size: 9.5px; font-weight: 700; letter-spacing: -.03em; line-height: 1; cursor: pointer; white-space: nowrap; }
.xl-cols-reset:hover { background: var(--accent); color: var(--accent-ink); }
.xl-cols-reset { display: grid; place-items: center; }
.xl-cols-reset .crs-t { display: none; }   
.xl-letters th.xl-corner { padding: 0 3px; }
.xl-colmark { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--accent); z-index: 30; pointer-events: none; }
body.xl-colmoving, body.xl-colmoving * { cursor: grabbing !important; user-select: none !important; }
.xl-sug { position: fixed; z-index: 70; margin: 0; padding: 4px; list-style: none; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); box-shadow: 0 16px 40px -12px rgba(12, 20, 36, .35); max-width: calc(100vw - 16px); }
.xl-sug li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 5px; cursor: pointer; font-size: var(--fs-sm); }
.xl-sug li.on, .xl-sug li:hover { background: var(--xl-sel-soft); }
.xl-sug b { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl-sug span { margin-left: auto; color: var(--ink-3); font-size: var(--fs-xs); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sg-t { flex: none; font-style: normal; font-size: .625rem; font-weight: 700; padding: 1px 5px; border-radius: 3px; }
.sg-r { color: var(--s1); background: color-mix(in srgb, var(--s1) 12%, var(--surface)); }
.sg-c { color: var(--s2); background: color-mix(in srgb, var(--s2) 12%, var(--surface)); }
.sg-n { color: var(--s4); background: color-mix(in srgb, var(--s4) 12%, var(--surface)); }
.tg.zero { opacity: .45; }
.xl-btn.sm { height: 24px; padding: 0 8px; font-size: var(--fs-xs); }
.xl-btn[disabled] { opacity: .6; cursor: default; }
#f-reset[disabled] { opacity: 1; border-color: var(--line); background: var(--surface-2); color: var(--ink-3); cursor: not-allowed; }
#f-reset[disabled] svg { opacity: .5; }
.xl-grid td i.nts { margin-left: 4px; font-style: normal; font-size: .625rem; padding: 0 4px; border-radius: 3px; background: var(--err-soft); color: var(--err); }
.xl-me { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; margin-right: 6px; border-radius: 12px; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }
.xl-me.on { background: rgba(255, 255, 255, .2); }
.xl-me.boss { background: #f5b301; color: #1c1f26; }   
.xl-menu > button.xl-me.off { height: 24px; padding: 0 9px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 12px; background: none; font-size: var(--fs-xs); }
.xl-grid tbody th { position: sticky; }
.xl-grid tbody th .ro { display: none; position: absolute; inset: 3px 4px; border: 0; border-radius: 4px; background: var(--accent); color: var(--accent-ink); font-size: .6875rem; font-weight: 700; cursor: pointer; padding: 0; }
.xl-grid tbody tr.on th .ro { display: block; }
.xl-grid tbody th .ro:focus-visible { display: block; outline: 2px solid var(--ink); }
.xl-dlg-b > * { min-width: 0; }
.xl-dlg-b td { white-space: normal; }   
.rec-hint { flex-wrap: wrap; }
.xl-kv td { overflow-wrap: anywhere; }
.xl-mbtn, .xl-fs, .rg-mob, .rg-sheet-h, .xl-msg .sm { display: none; }
.rg-more { display: contents; }
.xl-cond-n, .xl-rt-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }   
.rg-mob.act .xl-cond-n { background: #fff; color: var(--accent); }
.bs-ucn { color: var(--accent); font-weight: 600; }   
.xl-sheet-bg { position: fixed; inset: 0; z-index: 74; background: rgba(12, 20, 36, .45); }
@media (max-width: 560px) {
  .xl-mbtn { display: inline-flex; align-items: center; justify-self: end; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 6px; background: none; color: inherit; font: inherit; font-size: var(--fs-sm); }
  .xl-title { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .xl-fs { display: inline-grid; place-items: center; grid-row: 1; grid-column: 3; justify-self: end; width: 32px; height: 32px; padding: 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 6px; background: none; color: inherit; cursor: pointer; }
  .xl-fs[hidden] { display: none; }
  .xl-fs .fs-out, .xl-fs.on .fs-in { display: none; }
  .xl-fs.on .fs-out { display: block; }
  .xl-mbtn { grid-row: 1; grid-column: 4; }
  .xl-menu { display: none; }
  .xl-menu.open { display: flex; flex-direction: column; align-items: stretch; position: fixed; top: calc(44px + env(safe-area-inset-top, 0px)); right: 8px; z-index: 80; min-width: 190px; padding: 6px;
    border-radius: 10px; background: var(--xl-bar); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); overflow: visible; max-width: calc(100vw - 16px); }
  .xl-menu.open > button, .xl-menu.open > a, .xl-menu.open form button { justify-content: flex-start; height: 40px; width: 100%; }
  .xl-menu.open .xl-me { justify-content: flex-start; margin: 4px 0 6px; height: 28px; }
  .xl-fx { display: none; }
  .xl-act-n { display: inline; }
  .xl-msg { padding: 6px 12px; gap: 8px; }
  .xl-msg .lg { display: none; }
  .xl-msg .sm { display: inline; }
  .xl-ribbon { padding: 6px 8px 0; gap: 6px; overflow: visible; }
  .rg { padding: 2px 0 0; border-right: 0; }
  .rg-q { flex: 1 1 auto; min-width: 0; }
  .rg-q .rg-qi:not(.on) { display: none; }   
  .rg-mob { display: grid; }
  .rg-mob .rg-c, .rg-dl .rg-c { min-height: 36px; }
  .rg-mob .xl-btn { height: 36px; }
  .rg-dl { margin-left: 0; border-left: 0; position: static; box-shadow: none; }
  .rg-dl .rg-l, .rg-mob .rg-l { display: none; }
  .xl-dl { height: 36px; padding: 0 10px 0 8px; font-size: var(--fs-sm); }
  .xl-dl span:not(.xl-ic) { display: none; }
  .xl-dl::after { content: "내보내기"; }   
  .rg-more { display: none; }
  .xl-ribbon.sheet .rg-more { display: flex; flex-direction: column; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 76; max-height: 82dvh; overflow: auto;
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-radius: 14px 14px 0 0; box-shadow: 0 -16px 40px -12px rgba(0, 0, 0, .4); }
  .xl-ribbon.sheet .rg-sheet-h { display: flex; align-items: center; gap: 8px; }
  .rg-sheet-h b { font-size: var(--fs-lg); }
  .rg-sheet-h span { flex: 1; color: var(--ink-3); font-size: var(--fs-xs); }
  .xl-ribbon.sheet .rg-more .rg { display: flex; flex-direction: column-reverse; gap: 6px; padding: 0; }
  .xl-ribbon.sheet .rg-more .rg-l { justify-content: flex-start; padding: 0; font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600; }
  .xl-ribbon.sheet .rg-more .rg-c { flex-wrap: wrap; }
  .xl-ribbon.sheet .rg-more select { max-width: none; flex: 1; height: 40px; }
  .xl-ribbon.sheet .rg-c.stack { display: flex; flex-wrap: wrap; }
  .xl-ribbon.sheet .rg-c.stack .tg { height: 34px; }
  .xl-ribbon.sheet .rg-reset .rg-c { justify-content: flex-start; }
  .xl-ribbon.sheet .rg-more .rg.act { background: none; box-shadow: none; }
  .xl-ribbon.sheet .rg-more .rg.act .rg-l::after { content: "적용됨"; margin-left: 2px; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-size: .6875rem; font-weight: 700; }
}
@media (max-width: 560px) {
  .xl-grid tbody td:nth-child(2) { position: static; box-shadow: none; }
  .xl-grid thead th:nth-child(2) { left: auto; box-shadow: none; z-index: 3; }   
  .xl-kv { table-layout: fixed; }
  .xl-kv th { width: 96px; padding: 7px 8px; }
  .xl-dlg-b { padding: 14px 12px 18px; }
}
.xl-tour { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.xl-tour-hole { position: fixed; border-radius: 8px; box-shadow: 0 0 0 9999px rgba(8, 20, 14, .55), inset 0 0 0 2px #ffffff; transition: left .2s, top .2s, width .2s, height .2s; }
.xl-tour-tip { position: fixed; pointer-events: auto; display: grid; gap: 6px; padding: 14px; border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: 0 14px 36px rgba(0, 0, 0, .32); font-size: var(--fs-sm); line-height: 1.55; }
.xl-tour-tip p { margin: 0; }
.xl-tour-tip > b { font-size: var(--fs-md); }
.xl-tour-step { font-size: var(--fs-xs); color: var(--ink-3); }
.xl-tour-now { margin-top: 4px !important; padding: 8px 10px; border-radius: 6px; background: var(--xl-head); font-size: var(--fs-xs); }
.xl-tour-now .ok { color: var(--ok); font-weight: 700; }
.xl-tour-acts { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.xl-tour-acts span { flex: 1; }
.xl-tab.ok50 .n::after { content: " ✓"; color: var(--ok); font-weight: 700; }
.tour-ck { color: var(--ok); font-weight: 700; }   
@media (prefers-reduced-motion: reduce) { .xl-tour-hole { transition: none; } }
.xl-active { flex: none; display: flex; align-items: center; gap: 6px; padding: 3px 12px; background: color-mix(in srgb, var(--accent) 9%, var(--surface)); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); }
.xl-act-w { position: relative; flex: 0 1 auto; min-width: 0; display: flex; }
.xl-act-s { display: flex; align-items: center; gap: 6px; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 3px 3px; cursor: grab; }
.xl-act-s::-webkit-scrollbar { display: none; }
.xl-act-s.drag { cursor: grabbing; user-select: none; }
.xl-act-s.drag .xl-chip { pointer-events: none; }
.xl-act-w.r .xl-act-s { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.xl-act-w.l .xl-act-s { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px); mask-image: linear-gradient(90deg, transparent, #000 40px); }
.xl-act-w.l.r .xl-act-s { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 56px), transparent); }
.xl-act-nav { position: absolute; top: 50%; translate: 0 -50%; display: none; place-items: center; width: 24px; height: 24px; padding: 0; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 50%; background: var(--surface); color: var(--accent); font: 700 15px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
.xl-act-nav.l { left: 0; }
.xl-act-nav.r { right: 0; }
.xl-act-w.l .xl-act-nav.l, .xl-act-w.r .xl-act-nav.r { display: grid; }
.xl-act-nav:hover { background: var(--accent); color: #fff; }
.xl-act-l { flex: none; font-size: var(--fs-xs); color: var(--accent); white-space: nowrap; }
.xl-act-more { display: none; flex: none; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 50%; background: var(--surface); color: var(--accent); font-size: 12px; cursor: pointer; transition: transform .15s; }
@media (max-width: 560px) {   
  .xl-act-nav { display: none !important; }
  .xl-act-s { overflow-x: hidden; cursor: default; }
  .xl-active.over .xl-act-more { display: grid; }
  .xl-active.open { align-items: flex-start; }
  .xl-active.open .xl-act-l, .xl-active.open .xl-act-more, .xl-active.open .xl-chip-all { margin-top: 4px; }
  .xl-active.open .xl-act-s { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .xl-active.open .xl-act-more { transform: rotate(180deg); }
  .xl-active.open .xl-act-w { flex: 1 1 auto; }
  .xl-active.open .xl-act-s { max-width: 100%; }
  .xl-active.open .xl-chip { flex: 0 1 auto; max-width: 100%; min-width: 0; }
  .xl-active.open .xl-chip-q { flex-wrap: wrap; height: auto; min-height: 26px; padding-block: 3px; white-space: normal; row-gap: 2px; }
  .xl-active.open .xl-chip-q .cq-qi { white-space: normal; text-align: left; overflow-wrap: anywhere; }
}
@media (max-width: 560px) { .xl-active { padding-inline: 8px; gap: 4px; } .xl-act-l span { display: none; } .xl-chip-all { padding: 0 4px; } }   
.xl-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 6px 0 10px; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 13px; background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-xs); font-weight: 600; cursor: pointer; white-space: nowrap; }
.xl-chip i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; font-style: normal; font-size: 10px; color: var(--ink-3); background: var(--xl-head); }
.xl-chip:hover { border-color: var(--err); }
.xl-chip:hover i { background: var(--err); color: #fff; }
.xl-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.xl-chip-all { flex: none; height: 26px; padding: 0 8px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: var(--fs-xs); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.rg.act { background: color-mix(in srgb, var(--accent) 10%, transparent); box-shadow: inset 0 -3px 0 var(--accent); }
.rg.act .rg-l { color: var(--accent); font-weight: 700; }
.rg-mob.act .xl-btn { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.xl-empty-sug { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 6px; width: min(460px, 100%); text-align: left; }
.xl-empty-sug li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: var(--fs-sm); }
.xl-empty-sug li b { color: var(--accent); }
.xl-empty-sug li.none { opacity: .55; }
.xl-empty-sug li.none .xl-btn { display: none; }
.xl-empty-wait { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: min(460px, 100%); padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 8px; background: color-mix(in srgb, var(--accent) 7%, var(--surface)); text-align: left; font-size: var(--fs-sm); }   
.xl-empty-wait p { margin: 0; }
.xl-empty-wait b { color: var(--accent); }
.xl-empty-wait small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; }
.xl-empty-wait .xl-btn { flex: none; }
@media (max-width: 560px) { .xl-empty-wait { flex-direction: column; align-items: stretch; } }
.c-u { width: 140px; }
.xl-grid thead th.uh, .xl-letters th.uh { background: color-mix(in srgb, var(--accent) 12%, var(--xl-head)); }
.xl-grid tbody td.uc { background: color-mix(in srgb, var(--accent) 4%, var(--surface)); cursor: cell; }
.xl-grid tbody td.uc-check { text-align: center; color: var(--accent); font-weight: 700; }
.xl-grid tbody td.uc-select:empty::before { content: '선택 ▾'; }
.xl-grid tbody td.uc-date:empty::before { content: '날짜'; }
.xl-grid tbody td.uc-check:empty::before { content: '☐'; font-weight: 400; }
.xl-grid tbody td.uc:empty::before { color: var(--ink-3); opacity: .55; font-size: .92em; pointer-events: none; }
.xl-grid tbody td.uc-check { cursor: pointer; }
.xl-grid tbody td.editing { padding: 0; overflow: visible; }
.uc-ed { display: block; width: 100%; height: 100%; min-height: 26px; box-sizing: border-box; margin: 0; padding: 0 6px; border: 2px solid var(--xl-sel); border-radius: 0; background: var(--surface); color: var(--ink); font: inherit; outline: 0; }
select.uc-ed { padding: 0 2px; }
.uc-acts { display: grid; gap: 2px; }
.uc-acts.af-mv { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }   
.uc-acts button { display: block; width: 100%; padding: 7px 8px; border: 0; border-radius: 4px; background: none; color: var(--ink); font: inherit; font-size: var(--fs-sm); text-align: left; cursor: pointer; }
.uc-acts button:hover { background: var(--xl-head); }
.uc-acts .uc-del { color: var(--err); }
.ucd { display: grid; gap: 12px; }
.ucd-pre { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ucd-l { display: grid; gap: 4px; font-size: var(--fs-sm); font-weight: 600; }
.ucd-l small { font-weight: 400; color: var(--ink-3); }
.ucd-l input, .ucd-l textarea { font: inherit; font-weight: 400; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink); }
.ucd-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; }
.ucd-types label { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; cursor: pointer; }
.ucd-types label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.ucd-types small { grid-column: 2; font-weight: 400; color: var(--ink-3); font-size: var(--fs-xs); }
.ucd-err { margin: 0; color: var(--err); font-size: var(--fs-sm); }
.ucd-ask { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--err); border-radius: 6px; background: color-mix(in srgb, var(--err) 6%, var(--surface)); font-size: var(--fs-sm); }
.ucd-ask div { display: flex; gap: 6px; justify-content: flex-end; }
.ucd-f { display: flex; align-items: center; gap: 6px; }
.ucd-f span { flex: 1; }
.xl-btn.danger { background: var(--err); border-color: var(--err); color: #fff; }
.xl-rtabs { flex: none; display: flex; align-items: flex-end; gap: 2px; padding: 4px 8px 0; background: var(--surface); border-bottom: 1px solid var(--line); min-height: 32px; }
.xl-rt-file { flex: none; white-space: nowrap; height: 28px; padding: 0 16px; border: 0; border-radius: 4px 4px 0 0; background: var(--xl-csv); color: #fff; font: inherit; font-size: var(--fs-sm); font-weight: 700; cursor: pointer; }
.xl-rt-file:hover { filter: brightness(1.08); }
.xl-rt-list { display: flex; gap: 2px; }
.xl-rt { position: relative; flex: none; white-space: nowrap; height: 28px; padding: 0 14px; border: 0; border-radius: 4px 4px 0 0; background: none; color: var(--ink-2); font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.xl-rt:hover { background: var(--xl-head); color: var(--ink); }
.xl-rt[aria-selected="true"] { color: var(--accent); background: var(--surface); }
.xl-rt[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 2px; background: var(--accent); }
.xl-rtabs + .xl-ribbon { border-top: 0; padding-top: 6px; }
.rg-more.rt-off { display: none; }
.rg[data-rt][hidden] { display: none; }
.r-sorts .tg[aria-pressed="true"], #r-quick .tg[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); font-weight: 700; }
.r-big { height: 62px; flex-direction: column; gap: 2px; padding: 4px 14px; font-size: var(--fs-xs); }
.r-big b { font-size: 1.4rem; line-height: 1; color: var(--accent); }
.rg-uclist .rg-c { max-width: none; }   
.r-note { font-size: var(--fs-xs); color: var(--ink-3); max-width: 260px; white-space: normal; line-height: 1.4; }
#r-ucf { max-width: 220px; }
.r-zoom { display: inline-flex; align-items: stretch; height: 32px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); overflow: hidden; }   
.r-zoom button { display: inline-grid; place-items: center; width: 34px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.r-zoom button:hover { background: var(--surface-2); color: var(--ink); }
.r-zoom button:focus-visible { outline: 0; box-shadow: inset var(--focus); }
.r-zoom .zv { width: 58px; border-inline: 1px solid var(--line); font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.xl-cur { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; padding-bottom: 4px; font-size: var(--fs-xs); }
.xl-cur b { min-width: 0; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-sm); }
.xl-cur-k { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 10px; font-size: .6875rem; font-weight: 700; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); }
.xl-cur-k.fixed { background: color-mix(in srgb, #7048e8 14%, var(--surface)); color: #6741d9; }
:root[data-theme="dark"] .xl-cur-k.fixed { color: #b197fc; }
.xl-cur-n, .xl-cur-s { color: var(--ink-3); white-space: nowrap; }
.xl-cur-x { width: 22px; height: 22px; border: 0; border-radius: 4px; background: none; color: var(--ink-3); cursor: pointer; }
.xl-cur-x:hover { background: var(--xl-head); color: var(--ink); }
.xl-auto { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); cursor: pointer; white-space: nowrap; user-select: none; }
.xl-auto input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.xl-auto i { position: relative; width: 28px; height: 16px; border-radius: 8px; background: var(--line); transition: background .15s; }
.xl-auto i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.xl-auto input:checked + i { background: var(--accent); }
.xl-auto input:checked + i::after { transform: translateX(12px); }
.xl-auto input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .xl-auto i, .xl-auto i::after { transition: none; } }
.ucv { display: inline-flex; align-items: stretch; }
.ucv .tg { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.ucv.off .tg, .ucv.off .ucv-e { border-style: dashed; background: transparent; color: var(--ink-3); }
.ucv.off .tg:hover { color: var(--accent); border-color: var(--accent); }
.ucv-n { max-width: 7.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   
.ucv-more { color: var(--ink-3); border-style: dashed; }
.ucv-more:hover, .ucv-more[aria-expanded="true"] { color: var(--ink); border-style: solid; }
.ucv-pop { min-width: 230px; }
.ucv-pop-h { margin: 4px 8px 6px; font-size: var(--fs-xs); color: var(--ink-3); }
.ucv-pop-r { display: flex; align-items: center; gap: 2px; }
.ucv-pop-r > button:first-child { flex: 1; min-width: 0; }
.ucv-pop-r > button:first-child small { font-size: var(--fs-xs); color: var(--ink-3); }
.xl-cm.ucv-pop .ucv-e { flex: none; width: 30px; justify-content: center; padding: 0; border: 0; border-radius: 5px; background: none; color: var(--ink-3); }
.ucv-e { border: 1px solid var(--line-strong); border-left: 0; border-radius: 0 6px 6px 0; background: var(--surface); color: var(--ink-3); padding: 0 6px; cursor: pointer; font-size: .75rem; }
.ucv-e:hover { color: var(--accent); background: var(--xl-head); }
#r-ucbin .tg small { color: var(--ink-3); font-size: .625rem; margin-left: 2px; }
.xl-bs { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: clip; }   
.xl-bs[open] { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
.xl-bs::backdrop { background: transparent; }
.xl-bs.menu-only { width: 112px; box-shadow: 8px 0 30px -10px rgba(0, 0, 0, .45); }   
.xl-bs.menu-only[open] { grid-template-columns: 1fr; grid-template-rows: 1fr; animation: bs-in .16s ease-out; }
.xl-bs.menu-only .bs-main { display: none; }
.xl-bs.menu-only::backdrop { background: rgba(12, 20, 36, .32); }
@media (max-width: 820px) {   
  .xl-bs.menu-only .bs-nav { flex-direction: column; flex-wrap: nowrap; overflow: visible; gap: 4px; padding: 10px 6px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
  .xl-bs.menu-only .bs-nav button { min-height: 78px; padding: 10px 4px; gap: 6px; font-size: 13px; }
  .xl-bs.menu-only .bs-nav .bs-ic svg { width: 28px; height: 28px; }
  .xl-bs.menu-only .bs-nav .bs-back { min-height: 60px; margin: 0 0 6px; font-size: 12px; }
  .xl-bs.menu-only .bs-nav .bs-back .bs-ic svg { width: 24px; height: 24px; }
}
@keyframes bs-in { from { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .xl-bs.menu-only[open] { animation: none; } }
.bs-nav { display: flex; flex-direction: column; gap: 4px; padding: 10px 6px; background: var(--xl-csv); color: #fff; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.bs-nav button { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 78px; padding: 10px 4px; border: 0; border-radius: 6px; background: none; color: inherit; font: inherit; font-size: 13px; line-height: 1.3; text-align: center; cursor: pointer; word-break: keep-all; }
.bs-nav .bs-ic svg { display: block; width: 28px; height: 28px; }
.bs-nav button:hover { background: rgba(255, 255, 255, .12); }
.bs-nav button.on { background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .75); font-weight: 700; }
.bs-nav .bs-back { min-height: 60px; margin-bottom: 6px; font-size: 12px; opacity: .9; }
.bs-nav .bs-back .bs-ic svg { width: 24px; height: 24px; }
.bs-main { overflow: auto; padding: 28px 36px 40px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; }   
.bs-main h2 { margin: 0; font-size: 1.6rem; font-weight: 400; letter-spacing: -.02em; }
.bs-lead { margin: -6px 0 0; color: var(--ink-2); font-size: var(--fs-sm); }
.bs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; max-width: 900px; }
.bs-card { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.bs-card:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.bs-card b { font-size: var(--fs-md); }
.bs-card span { font-size: var(--fs-xs); color: var(--ink-3); }
.bs-open { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: start; }
.bs-folders { display: grid; gap: 2px; }
.bs-folders > button { display: flex; justify-content: space-between; gap: 8px; height: 34px; padding: 0 10px; border: 0; border-radius: 4px; background: none; color: var(--ink); font: inherit; font-size: var(--fs-sm); text-align: left; cursor: pointer; }
.bs-folders > button span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bs-folders > button:hover { background: var(--xl-head); }
.bs-folders > button.on { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); font-weight: 700; }
.bs-newfd, .bs-inline { display: flex; gap: 4px; margin-top: 8px; }
.bs-files .bs-inline { margin: 0; min-width: 260px; }   
.bs-files .bs-inline input { height: 28px; font-size: var(--fs-sm); }
.bs-files .bs-inline input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent); }
.bs-newfd input, .bs-inline input { flex: 1; min-width: 0; height: 30px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-sm); }
.bs-fdact { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.bs-files { min-width: 0; overflow-x: auto; }
.bs-files table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-sm); background: var(--surface); border: 1px solid var(--line); }
.bs-files th { padding: 7px 10px; background: var(--xl-head); color: var(--ink-2); font-size: var(--fs-xs); font-weight: 600; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bs-files td { padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bs-files tr.cur td { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.bs-files tbody tr:hover td { background: var(--xl-sel-soft); }
.bs-files .n { text-align: right; font-variant-numeric: tabular-nums; }
.bs-files select { height: 28px; min-width: 110px; max-width: 150px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-xs); }
.bs-fname { border: 0; background: none; padding: 0; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.bs-fname:hover { text-decoration: underline; }
.bs-acts > div { display: flex; gap: 4px; }
.bs-empty { display: grid; gap: 10px; justify-items: start; padding: 24px; border: 1px dashed var(--line-strong); border-radius: 8px; color: var(--ink-2); font-size: var(--fs-sm); max-width: 560px; }
.bs-empty p { margin: 0; }
.bs-save { display: grid; gap: 14px; max-width: 640px; }
.bs-kinds { display: grid; gap: 8px; }
.bs-kinds label { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); cursor: pointer; }
.bs-kinds label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.bs-kinds b { font-size: var(--fs-md); }
.bs-kinds span { grid-column: 2; color: var(--ink-2); font-size: var(--fs-xs); font-weight: 400; line-height: 1.6; }
.bs-tk { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -4px 0 12px; padding: 8px 12px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); color: var(--ink-2); font-size: var(--fs-sm); }
.bs-alert { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--ink-2); cursor: pointer; }
.bs-al { font-size: var(--fs-xs); }
.xl-cur-c { padding: 2px 8px; border-radius: 10px; background: color-mix(in srgb, #f08c00 16%, var(--surface)); color: #b35c00; font-weight: 700; white-space: nowrap; }
:root[data-theme="dark"] .xl-cur-c { color: #ffb84d; }
.bs-kinds small { grid-column: 2; color: var(--ink-3); font-size: .6875rem; }
.bs-cond { margin: 0; color: var(--ink-3); font-size: var(--fs-xs); }
.af-pick { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 4px; background: none; color: var(--ink); font: inherit; font-size: var(--fs-sm); text-align: left; cursor: pointer; }
.af-pick:hover { background: var(--xl-head); }
.af-pick .n { color: var(--ink-3); }
.rec-why { margin: 0; color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.6; max-width: 70ch; word-break: keep-all; }
.xl-wait { margin-left: 8px; padding: 1px 8px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); color: var(--accent); font-size: var(--fs-xs); font-weight: 600; cursor: pointer; }
.xl-wait:hover { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.xl-hint.tip { color: var(--accent); font-weight: 600; }
.xl-cur-m { display: none; align-items: center; gap: 6px; min-width: 0; }
@media (max-width: 900px) { .xl-cur-n, .xl-cur-s { display: none; } .xl-cur-m { display: inline-flex; } }
@media (max-width: 560px) {
  .xl-file.open { display: inline-flex; grid-row: 1; grid-column: 2; justify-self: start; min-width: 0; max-width: 100%; font-size: var(--fs-sm); }
  .xl-title:has(.xl-file.open) .xl-brand span { display: none; }
  .xl-rtabs { display: none; }
  .rg[data-rt] { display: none !important; }
  .rg-more.rt-off { display: none; }
  .xl-ribbon.sheet .rg-more.rt-off { display: flex; }
  .xl-bs[open] { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .bs-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 6px 4px; padding-top: calc(6px + env(safe-area-inset-top, 0px)); }
  .bs-nav { gap: 2px; }
  .bs-nav button { flex: none; min-height: 52px; padding: 6px 10px; gap: 3px; font-size: 12px; }
  .bs-nav .bs-ic svg { width: 20px; height: 20px; }
  .bs-nav .bs-back { min-height: 52px; margin: 0; }
  .bs-nav .bs-back .bs-ic svg { width: 20px; height: 20px; }
  .bs-main { padding: 16px 12px 28px; }
  .bs-main h2 { font-size: 1.25rem; }
  .bs-open { grid-template-columns: minmax(0, 1fr); }
}
.xl-cm button.danger, .xl-cm button.danger span { color: var(--err); }   
.xl-rt-q { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 780px; margin: 0 14px 3px; }
.xl-rt-q .xl-q { flex: 1 1 340px; max-width: 460px; height: 28px; }
.xl-rt-q .xl-q input { font-size: var(--fs-sm); }
.xl-rt-q .rg-qi { flex: 0 1 auto; justify-content: flex-start; min-width: 0; padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-xs); }
.xl-rt-q .rg-qi:not(.on) { display: none; }
.rg-q[hidden] { display: none; }
.xl-rtabs { align-items: flex-end; }
.xl-dlg.xl-keys { width: min(760px, calc(100vw - 32px)); height: auto; max-height: calc(100dvh - 32px); }
.xk { display: grid; gap: 18px; }
.xk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px 28px; }
.xk h3 { margin: 0 0 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--accent); }
.xk dl { margin: 0; display: grid; gap: 7px; }
.xk dl > div { display: grid; grid-template-columns: minmax(118px, auto) 1fr; gap: 12px; align-items: center; }
.xk dt { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.xk dt i { font-style: normal; color: var(--ink-3); font-size: .75rem; }
.xk dd { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.xk kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border: 1px solid var(--line-strong); border-bottom-width: 3px; border-radius: 6px; background: linear-gradient(var(--surface), color-mix(in srgb, var(--ink) 4%, var(--surface))); color: var(--ink); font: 600 .75rem/1 var(--font-mono, ui-monospace, monospace); box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent); white-space: nowrap; }
.xk-m { display: inline-block; padding: 3px 9px; border-radius: 13px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }
.xk-mouse { padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .xk dl > div { grid-template-columns: 1fr; gap: 3px; } }
.xl-tq { justify-self: center; display: flex; width: min(560px, 100%); min-width: 0; }
.xl-tq:empty { display: none; }
.xl-tq .xl-q { height: 32px; border: 0; border-radius: 6px; background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.xl-tq .xl-q:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, .55); }
.xl-tq .xl-q input { font-size: var(--fs-sm); }
.xl-tq .xl-q input::placeholder { color: var(--ink-3); }
@media (min-width: 901px) { .xl-title > .xl-menu { grid-column: 4; } }   
.xl-help { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 9px 0 7px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .16); color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.xl-help:hover { background: rgba(255, 255, 255, .28); }
.xl-help:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.xl-ready:empty { display: none; }
.xl-info { width: min(860px, calc(100vw - 32px)); height: auto; max-height: calc(100dvh - 48px); }
.gd { gap: 26px; padding: 22px 26px 26px; }
.gd section { display: grid; gap: 12px; }
.gd h3 { margin: 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--accent); }
.gd-lead { display: grid; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.gd-lead h2 { margin: 0; font-size: 1.375rem; line-height: 1.4; letter-spacing: -.02em; text-wrap: balance; word-break: keep-all; }
.gd-lead h2 em { font-style: normal; color: var(--accent); }
.gd-lead p { margin: 0; max-width: 62ch; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.7; word-break: keep-all; }
.gd-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 10px; }
.gd-cards article { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.gd-cards b { font-size: var(--fs-md); color: var(--ink); }
.gd-cards p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; word-break: keep-all; }
.gd-key article { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.gd-svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 2px 0 8px; overflow: visible; }
.gd-svg .bx { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1; }
.gd-svg .bx.on { stroke: var(--accent); stroke-width: 1.6; }
.gd-svg .t { fill: var(--ink); font-family: var(--font); font-size: 11px; }
.gd-svg .t.b { font-weight: 700; }
.gd-svg .t.sm { font-size: 10px; }
.gd-svg .t.s { fill: var(--ink-3); font-size: 9px; }
.gd-svg .t.off { fill: var(--ink-3); }
.gd-svg .ar { fill: none; stroke: var(--ink-3); stroke-width: 1.3; }
.gd-svg .am { fill: var(--ink-3); }
.gd-svg .ch { stroke: none; }
.gd-svg .ct { font-family: var(--font); font-size: 8.5px; font-weight: 700; }
.gd-svg .ch.c1 { fill: color-mix(in srgb, var(--s1) 16%, var(--surface)); } .gd-svg .ct.c1 { fill: var(--s1); }
.gd-svg .ch.c2 { fill: color-mix(in srgb, var(--s2) 16%, var(--surface)); } .gd-svg .ct.c2 { fill: var(--s2); }
.gd-svg .ch.c4 { fill: color-mix(in srgb, var(--s4) 16%, var(--surface)); } .gd-svg .ct.c4 { fill: var(--s4); }
.gd-svg .ch.c7 { fill: color-mix(in srgb, var(--s7) 16%, var(--surface)); } .gd-svg .ct.c7 { fill: var(--s7); }
.gd-svg .pl { stroke: none; } .gd-svg .pt { font-family: var(--font); font-size: 8.5px; font-weight: 700; }
.gd-svg .pl.ok { fill: var(--ok-soft); } .gd-svg .pt.ok { fill: var(--ok); }
.gd-svg .pl.wn { fill: var(--warn-soft); } .gd-svg .pt.wn { fill: var(--warn); }
.gd-svg .pl.er { fill: var(--err-soft); } .gd-svg .pt.er { fill: var(--err); }
.gd-svg .nts { fill: var(--accent-soft, var(--surface-2)); stroke: var(--accent); stroke-width: 1.4; }
.gd-svg .ck { fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gd-svg .x { stroke: var(--err); stroke-width: 1.2; opacity: .7; }
.gd-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 10px; }
.gd-two article { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.gd-two .gd-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: #fff; }
.gd-ex .gd-ic { background: var(--xl-csv); }
.gd-sv .gd-ic { background: var(--accent); }
.gd-two b { display: block; font-size: var(--fs-md); color: var(--ink); margin-bottom: 4px; }
.gd-two b small { margin-left: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); }
.gd-two p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; word-break: keep-all; }
.gd-two strong { color: var(--ink); }
.gd-two p.gd-s { margin-top: 6px; color: var(--ink-3); font-size: var(--fs-xs); }
.gd-who { margin: 0; display: grid; }
.gd-who > div { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 4px 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gd-who > div:last-child { border-bottom: 0; }
.gd-who dt { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); word-break: keep-all; }
.gd-who dd { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; word-break: keep-all; }
.gd-steps { margin: 0; padding: 0; list-style: none; counter-reset: gd; display: grid; gap: 4px; }
.gd-steps li { counter-increment: gd; display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; padding: 8px 0; }
.gd-steps li::before { content: counter(gd); grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft, var(--surface-2)); color: var(--accent); font-weight: 700; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.gd-steps b { font-size: var(--fs-sm); color: var(--ink); }
.gd-steps span { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.65; word-break: keep-all; }
.gd-steps i { font-style: normal; padding: 0 5px; border-radius: 4px; background: var(--surface-2); color: var(--ink); }
.gd kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--surface); color: var(--ink); font: 600 .6875rem/1 var(--font-mono, ui-monospace, monospace); vertical-align: 1px; }
.gd-more { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 560px) {
  .xl-info { height: 100dvh; }
  .gd { padding: 18px 16px 22px; gap: 22px; }
  .gd-lead h2 { font-size: 1.1875rem; }
  .gd-who > div { grid-template-columns: 1fr; }
}
.gd-vid { border-radius: 12px; background: #06452f; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .45); }   
.gd-vid > video, .gd-vid > .gd-play { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.gd-vid > video { background: #000; object-fit: contain; }
.gd-play { position: relative; padding: 0; border: 0; background: none; cursor: pointer; }
.gd-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gd-pb { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #fff; color: #06452f; font-size: var(--fs-md); font-weight: 700; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5); white-space: nowrap; }
.gd-pb i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #077551; }
.gd-pb i::before { content: ""; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.gd-play:hover .gd-pb, .gd-play:focus-visible .gd-pb { transform: translateX(-50%) scale(1.04); }
.gd-play:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.gd-play.wait .gd-pb { opacity: .7; }
@media (max-width: 560px) { .gd-pb { font-size: var(--fs-sm); padding: 8px 14px 8px 10px; bottom: 10%; } .gd-pb i { width: 26px; height: 26px; } }
.xl-cur-s .ic-cloud { vertical-align: -2px; margin-right: 3px; opacity: .8; }   
.r-date { display: grid; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--surface); }
.r-dq { display: grid; grid-auto-flow: column; grid-auto-columns: auto; }
.r-dq .tg { height: 26px; padding: 0 10px; justify-content: center; border: 0; border-radius: 0; background: transparent; }
.r-dq .tg + .tg { border-left: 1px solid var(--line); }
.r-dq .tg:hover { background: var(--surface-2); }
.r-dq .tg[aria-pressed="true"] { background: var(--xl-sel-soft); color: var(--ink); }
.r-date .tg:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.r-dk { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.r-dk .tg { height: 24px; padding: 0 10px; justify-content: center; border: 0; border-radius: 0; background: transparent; color: var(--ink-3); font-weight: 600; }
.r-dk .tg + .tg { border-left: 1px solid var(--line); }
.r-dk .tg:hover { color: var(--ink); }
.r-dk .tg[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.r-dpick { font-variant-numeric: tabular-nums; }
.xl-info#xl-sumd { width: min(1040px, calc(100vw - 32px)); }
.xl-info#xl-waitd { width: min(560px, calc(100vw - 32px)); height: fit-content; }   
.xl-info#xl-waitd .xl-dlg-b { flex: none; }
#sumd-b { display: grid; gap: 16px; }
.sm-cond { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); font-size: var(--fs-sm); color: var(--ink-2); display: grid; gap: 2px; }
.sm-cond p { margin: 0; }
.sm-cond b { color: var(--ink); margin-right: 6px; }
.sm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px 22px; align-items: start; }
.sm-sec { display: grid; gap: 6px; }
.sm-rows { display: grid; max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.sm-row { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 10px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-sm); text-align: left; cursor: pointer; }
.sm-row:last-child { border-bottom: 0; }
.sm-row:hover:not(:disabled) { background: var(--xl-sel-soft); }
.sm-row:disabled { cursor: default; color: var(--ink-3); }
.sm-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.sm-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.sm-n { font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 5.5em; text-align: right; }
.sm-f { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gd-speed { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px 4px 0; background: var(--surface); }
.gd-speed span { margin-right: 6px; color: var(--ink-3); font-size: var(--fs-xs); }
.gd-speed button { height: 26px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; cursor: pointer; }
.gd-speed button[aria-pressed="true"] { border-color: var(--accent); background: var(--xl-sel-soft); color: var(--ink); font-weight: 700; }
.gd-vid:has(video) { background: none; box-shadow: none; }   
.gd-vid > video { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .45); }
#f-src .tg { justify-content: flex-start; }
#f-src .tg .n { display: inline-block; min-width: 4.2em; text-align: right; font-variant-numeric: tabular-nums; }
.bs-alert-w { display: grid; gap: 6px; }
.bs-to { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding-left: 24px; font-size: var(--fs-sm); color: var(--ink-2); }
.bs-to input { flex: 1 1 220px; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; }
.bs-to input[readonly] { background: var(--surface-2); color: var(--ink-2); }
.bs-to.off { opacity: .45; pointer-events: none; }
.bs-alto { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: .6875rem; color: var(--ink-3); }
.bs-alto span { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.bs-alto select { height: 22px; padding: 0 4px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: .6875rem; }   
.bs-h select { height: 32px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; }
.bs-h small { color: var(--ink-3); font-size: var(--fs-xs); }
.bs-alto.off { opacity: .55; }
.bs-alto button { padding: 0 6px; height: 20px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: .6875rem; cursor: pointer; }
.bs-alto input { width: 170px; height: 24px; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); color: var(--ink); font: inherit; font-size: .75rem; }
.r-big-s { display: block; font-size: .625rem; font-weight: 400; color: var(--ink-3); line-height: 1.2; }   
.hd .hq { flex: none; display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--surface-2); color: var(--ink-3); font-size: .5625rem; font-style: normal; font-weight: 700; cursor: help; }   
.hd .hq:hover, .hd .hq:focus-visible { background: var(--ink-3); color: var(--surface); outline: 0; }
.tipbox { position: fixed; z-index: 95; max-width: 280px; padding: 8px 10px; border-radius: 8px; background: var(--ink); color: var(--surface); font-size: var(--fs-xs); line-height: 1.5; box-shadow: var(--shadow); pointer-events: none; }
.sbtip { display: grid; gap: 2px; text-align: center; }
.neartip { display: grid; gap: 3px; max-width: 300px; border-left: 3px solid var(--danger, #d93025); }
.neartip span { font-size: .75rem; opacity: .85; }
.ucv-pop-h.warn { padding: 6px 8px; border-radius: 6px; background: color-mix(in srgb, var(--danger, #d93025) 10%, transparent); color: var(--ink); line-height: 1.5; }
.sbtip b { font-weight: 600; }
.sbtip span { font-size: .6875rem; opacity: .75; }
.sbtip kbd { display: inline-block; padding: 0 5px; border: 1px solid color-mix(in srgb, var(--surface) 45%, transparent); border-radius: 4px; font: inherit; font-size: .75rem; line-height: 1.4; }
.ac-btn { position: fixed; right: 16px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px 0 12px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: var(--fs-sm); font-weight: 700; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .45); cursor: pointer; }
.ac-btn small { margin-left: 2px; padding: 0 6px; border-radius: 6px; background: rgba(255, 255, 255, .25); font-size: .625rem; font-weight: 600; }
.ac-btn:hover { filter: brightness(1.06); }
.ac-btn.on { background: var(--ink); }
.ac-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.ac-pn { position: fixed; right: 16px; bottom: calc(116px + env(safe-area-inset-bottom, 0px)); z-index: 61; width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100dvh - 180px)); display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .45); overflow: hidden; }
.ac-pn[hidden] { display: none; }
.ac-pn header { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 8px 10px 14px; background: var(--accent); color: #fff; }
.ac-pn header div { flex: 1; display: grid; }
.ac-pn header b { font-size: var(--fs-md); }
.ac-pn header span { font-size: .6875rem; opacity: .85; }
.ac-x { width: 30px; height: 30px; border: 0; border-radius: 6px; background: none; color: #fff; cursor: pointer; }
.ac-x:hover { background: rgba(255, 255, 255, .18); }
.ac-log { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); }
.ac-m { max-width: 88%; padding: 9px 12px; border-radius: 12px; font-size: var(--fs-sm); line-height: 1.6; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.ac-m.ai { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-top-left-radius: 4px; }
.ac-m.me { align-self: flex-end; background: var(--accent); color: #fff; border-top-right-radius: 4px; }
.ac-m.wait { color: var(--ink-3); font-style: italic; }
.ac-m.err { background: var(--warn-soft); border-color: transparent; color: var(--ink); }
.ac-f { flex: none; display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.ac-f textarea { flex: 1; min-width: 0; resize: none; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs-sm); }
.ac-pn footer { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 0 12px 10px; font-size: .6875rem; color: var(--ink-3); }
.ac-inq { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
@media (max-width: 560px) {
  .ac-btn { right: 12px; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); height: 36px; padding: 0 12px 0 10px; }
  .ac-pn { right: 0; left: 0; bottom: 0; width: auto; height: 82dvh; border-radius: 14px 14px 0 0; }
}
@media print { .ac-btn, .ac-pn { display: none; } }
.bs-ways { display: grid; gap: 0; margin-top: 4px; max-width: 620px; }   
.bs-way { padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
.bs-way-x { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.bs-way-h { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; margin-bottom: 12px; }
.bs-way-c { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.bs-no { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: var(--accent-ink, #fff); font-weight: 800; font-size: var(--fs-sm); }
.bs-way-x .bs-no { background: var(--xl-csv); color: #fff; }
.bs-way-t { display: grid; gap: 2px; min-width: 0; }
.bs-way-t b { font-size: var(--fs-md); color: var(--ink); }
.bs-way-t small { color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.5; }
.bs-xbtn { display: inline-flex; align-items: center; gap: 6px; border-color: var(--xl-csv); color: var(--xl-csv); font-weight: 700; white-space: nowrap; }
.bs-xbtn:hover { background: var(--xl-csv); color: #fff; }
.bs-or { display: flex; align-items: center; gap: 10px; margin: 8px 0; color: var(--ink-3); font-size: var(--fs-xs); }
.bs-or::before, .bs-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 560px) { .bs-way-x { grid-template-columns: auto minmax(0, 1fr); } .bs-xbtn { grid-column: 1 / -1; justify-content: center; } }
.xl-qw { position: relative; display: flex; width: 100%; min-width: 0; }
.xl-qw .rg-qi { position: absolute; left: 6px; top: calc(100% + 6px); z-index: 45; display: inline-flex; max-width: calc(100% - 12px); padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 999px;
  background: var(--surface); color: var(--accent); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 6px 18px -8px rgba(12, 20, 36, .35); }
.xl-qw .rg-qi:not(.on), .xl-qw .rg-qi.gone { display: none; }   
.xl-rt-q .xl-qw .rg-qi { display: inline-flex; padding: 5px 10px; font-size: var(--fs-xs); }
.xl-rt-q .xl-qw .rg-qi:not(.on), .xl-rt-q .xl-qw .rg-qi.gone { display: none; }
#xl-qi { display: none !important; }
.xl-chip.xl-qi-chip { border-style: dashed; background: transparent; color: var(--accent); font-weight: 600; }
.xl-chip.xl-qi-chip.pick { cursor: pointer; }
.xl-chip.xl-qi-chip:not(.pick) { cursor: default; }
.btn-spin { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: btn-spin .7s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
.xl-btn.busy { position: relative; overflow: hidden; opacity: 1; }
.xl-btn.busy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); transform: translateX(-100%); animation: btn-sweep 1.2s ease-in-out infinite; }
@keyframes btn-sweep { to { transform: translateX(100%); } }
.xl-btn.busy small { font-weight: 400; opacity: .85; }
@media (prefers-reduced-motion: reduce) { .btn-spin, .xl-btn.busy::after { animation: none; } }
@media (max-width: 1100px) { .xl-rt { padding: 0 10px; } .xl-cur b { min-width: 56px; } }   
.bs-xl { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 6px; background: var(--xl-csv); color: #fff; vertical-align: -5px; }   
.xl-qrow { flex: none; display: flex; padding: 6px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.xl-qrow .xl-qw { max-width: none; }   
.xl-qrow .xl-q { height: 36px; }
.xl-qrow .xl-q input { font-size: var(--fs-md); }
@media (max-width: 760px) { .xl-cur .xl-auto-t { display: none; } }   
@media (max-width: 820px) {
  .xl-bs[open] { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .bs-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 6px 4px; padding-top: calc(6px + env(safe-area-inset-top, 0px)); }
  .bs-nav { gap: 2px; }
  .bs-nav button { flex: none; min-height: 52px; padding: 6px 10px; gap: 3px; font-size: 12px; }
  .bs-nav .bs-ic svg { width: 20px; height: 20px; }
  .bs-nav .bs-back { min-height: 52px; margin: 0; }
  .bs-nav .bs-back .bs-ic svg { width: 20px; height: 20px; }
  .bs-main { padding: 16px 14px 28px; }
}
@media (max-width: 1000px) {
  .bs-open { grid-template-columns: minmax(0, 1fr); }
  .bs-folders { display: flex; flex-wrap: wrap; gap: 6px; }
  .bs-folders > button { flex: none; border: 1px solid var(--line); }
}
.af-b { overflow-x: hidden; }
.af-row:has(input[type="date"]) { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; }
.af-row input[type="date"] { min-width: 0; width: 100%; }
.xl-chip.xl-chip-q { gap: 0; padding-right: 3px; cursor: default; }
.xl-chip.xl-chip-q:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.xl-chip-q .cq-sep { margin: 0 8px; color: var(--line-strong); }
.xl-chip-q .cq-qi { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; white-space: nowrap; cursor: default; }
.xl-chip-q .cq-qi.pick { cursor: pointer; }
.xl-chip-q .cq-qi.pick:hover { text-decoration: underline; text-underline-offset: 3px; }
.xl-chip-q .cq-x { display: inline-grid; place-items: center; margin-left: 6px; padding: 0; border: 0; background: none; cursor: pointer; }
.xl-chip-q .cq-x:hover i { background: var(--err); color: #fff; }
.af-allrow { display: flex; gap: 6px; }   
.r-stsort { gap: 4px; } .r-stsort select { height: 30px; width: 100%; }   
.af-pk { display: inline-flex; align-items: center; gap: 6px; min-width: 0; text-align: left; } .af-pk .xl-cur-k { flex: none; }   
#xl-af .af-row:has(#pf-name) { align-items: stretch; }
#xl-af #pf-name { flex: 1 1 auto; height: 36px; box-sizing: border-box; padding: 0 10px; }
#xl-af .af-row:has(#pf-name) .xl-btn { flex: none; height: 36px; padding: 0 14px; white-space: nowrap; }
.bs-files tbody tr[data-fid] { cursor: pointer; }
.bs-files .bs-fname { display: block; width: 100%; min-width: 120px; min-height: 30px; text-align: left; }
:root[data-theme="dark"] .xl-tkb::after { opacity: .45; }
.kp-top { background: var(--xl-sel-soft); border-radius: 6px; margin: 0 -2px 6px; padding: 2px 4px 4px; }   
.kp-top .kp-gh { background: transparent; position: static; color: var(--accent); }
.xl-tr { width: min(440px, calc(100vw - 24px)); height: fit-content; max-height: calc(100dvh - 32px); }   
.tr-b { display: grid; gap: 12px; padding: 18px 20px 16px; }
.tr-badge { justify-self: start; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--xl-csv) 14%, var(--surface)); color: var(--xl-csv); font-size: var(--fs-xs); font-weight: 700; }
.tr-big { margin: 0; font-size: 1.25rem; font-weight: 800; line-height: 1.35; text-wrap: balance; }
.tr-p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.tr-li { margin: 0; padding: 10px 12px; list-style: none; display: grid; gap: 6px; border-radius: 8px; background: var(--surface-2, var(--xl-sel-soft)); font-size: var(--fs-sm); }
.tr-li b { display: inline-block; width: 1.2em; color: var(--xl-csv); }
.tr-li .no { color: var(--ink-3); }
.tr-li .no b { color: #c2410c; }
.tr-acts { display: flex; }
.tr-acts .xl-btn { flex: 1; height: 44px; justify-content: center; font-size: var(--fs-md); }
.tr-later { margin: 0; padding: 10px 12px; border-radius: 8px; border: 1px dashed var(--line-strong); color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; }   
.tr-later b { color: var(--ink); }
.tr-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 4px; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-3); }
.tr-f label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.tr-l { font-size: var(--fs-sm); font-weight: 600; }
.tr-row { display: flex; gap: 8px; }
.tr-row input { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; }
.tr-row .xl-btn { height: 38px; flex: none; }
.tr-msg { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.tr-msg.err { color: #c0392b; }
.kp-gc { cursor: pointer; }   
.kp-gc span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.kp-gc small { font-weight: 400; color: var(--ink-3); }
.kp-how { margin: 0; }
.r-kp { height: 34px; padding: 0 8px; }
.xl-me .me-s { display: none; }
@media (max-width: 900px) { .xl-me .me-l { display: none; } .xl-me .me-s { display: inline; } }
@media (min-width: 561px) and (max-width: 720px) {
  .xl-title { grid-template-columns: auto minmax(0, 1fr) auto; }
  .xl-mbtn { display: inline-flex; align-items: center; justify-self: end; grid-row: 1; grid-column: 3; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 6px; background: none; color: inherit; font: inherit; font-size: var(--fs-sm); }
  .xl-menu { display: none; }
  .xl-menu.open { display: flex; flex-direction: column; align-items: stretch; position: fixed; top: calc(44px + env(safe-area-inset-top, 0px)); right: 8px; z-index: 80; min-width: 190px; padding: 6px; border-radius: 10px; background: var(--xl-bar); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); overflow: visible; max-width: calc(100vw - 16px); }
  .xl-menu.open > button, .xl-menu.open > a, .xl-menu.open form button { justify-content: flex-start; height: 40px; width: 100%; }
  .xl-menu.open .xl-me { justify-content: flex-start; margin: 4px 0 6px; height: 28px; }
}
.nbx { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 5px; border-radius: 4px; background: #e8590c; color: #fff; font-size: 10px; font-weight: 800; line-height: 1; vertical-align: 1px; font-style: normal; }
.kp-allbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin: 6px 0 2px; padding: 7px 10px; border: 1px solid var(--accent); border-radius: 6px; background: var(--xl-sel-soft); color: var(--accent); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; text-align: left; }
.kp-allbar:hover { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.kp-allbar kbd { flex: none; font: 600 11px/1 var(--mono, ui-monospace, monospace); padding: 3px 6px; border: 1px solid currentColor; border-bottom-width: 2px; border-radius: 4px; background: var(--surface); }
.kp-allbar small { flex: none; font-weight: 500; color: var(--ink-3); }
.xl-grid td .cdk { display: inline-block; margin-right: 5px; font-family: var(--font, inherit); font-size: 11px; font-weight: 600; color: var(--ink-3, #6b7280); }
.xl-grid td .cdk.cl { color: var(--err, #c0392b); }
.xl-grid td .cdk.pz { color: var(--warn, #9a5a00); }
.xl-grid td .kgp { display: inline-block; margin-right: 6px; padding-right: 6px; border-right: 1px solid var(--xl-grid); color: var(--ink-3); font-size: 11px; line-height: 1.2; }
.xl-dx { width: min(480px, calc(100vw - 24px)); height: fit-content; max-height: calc(100dvh - 32px); }
.dx-b { display: grid; gap: 12px; padding: 16px 20px 18px; }
.dx-n { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.dx-n b { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.dx-n span { color: var(--ink-3); font-size: var(--fs-sm); }
.dx-base { display: grid; gap: 4px; padding: 10px 12px; border-radius: 8px; background: var(--surface-2, var(--xl-sel-soft)); font-size: var(--fs-sm); line-height: 1.55; }
.dx-base b { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }
.dx-g { margin: 0; padding: 0; border: 0; display: grid; gap: 6px; }
.dx-g legend { padding: 0 0 6px; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; }
.dx-g label { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.dx-g label:has(input:checked) { border-color: var(--xl-csv); background: color-mix(in srgb, var(--xl-csv) 6%, var(--surface)); }
.dx-g input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--xl-csv); flex: none; }
.dx-g span { display: grid; gap: 2px; min-width: 0; }
.dx-g small { color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.5; }
.dx-xmt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 2px 2px 0; font-size: var(--fs-sm); }
.dx-xmt > span { width: 100%; color: var(--ink-2); font-size: var(--fs-xs); font-weight: 600; }
.dx-g .dx-xmt label { padding: 4px 10px; gap: 6px; align-items: center; border-radius: 999px; }
.dx-g .dx-xmt input { margin: 0; width: 14px; height: 14px; }
.dx-xmx { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.dx-xmx table { width: 100%; min-width: 0; border-collapse: collapse; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.dx-xmx caption { caption-side: top; text-align: left; padding: 6px 10px 2px; color: var(--ink-3); font-size: var(--fs-xs); font-weight: 600; }
.dx-xmx th { background: var(--surface-2); color: var(--ink-3); font-weight: 600; text-align: left; padding: 5px 8px; white-space: nowrap; }
.dx-xmx td { padding: 5px 8px; border-top: 1px solid var(--line); white-space: nowrap; color: var(--ink); }
.dx-xmx tr.x td { background: color-mix(in srgb, var(--xl-csv) 6%, var(--surface)); }
.dx-xmx tr.x td:first-child { color: var(--xl-csv); font-weight: 600; }
.dx-xmx td:first-child { white-space: normal; min-width: 64px; word-break: keep-all; }   
.dx-xmx th, .dx-xmx td { padding-inline: 7px; }
.dx-acts { display: flex; justify-content: flex-end; gap: 8px; }
.dx-acts .xl-btn { min-width: 96px; height: 40px; justify-content: center; }
.xl-dx .dx-acts { position: sticky; bottom: -18px; z-index: 2; margin: 0 -20px -18px; padding: 12px 20px 16px; background: var(--surface); border-top: 1px solid var(--line); }   
.lv-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #16a34a; vertical-align: 1px; animation: lv-pulse 2s ease-out infinite; }
#f-src .tg .dot.lv { animation: lv-breathe 1.8s ease-in-out infinite; }
@keyframes lv-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.45); opacity: .5; } }
@keyframes lv-pulse { 0% { box-shadow: 0 0 0 0 rgb(22 163 74 / 55%); } 70% { box-shadow: 0 0 0 6px rgb(22 163 74 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(22 163 74 / 0%); } }
@media (prefers-reduced-motion: reduce) { .lv-dot, #f-src .tg .dot.lv { animation: none; } }
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .xl-q input { font-size: 16px !important; }
}
dialog.kcp-paying { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-width: none !important; max-height: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; overflow: hidden !important; transform: none !important; }
dialog.kcp-paying > :not(iframe) { display: none !important; }
dialog.kcp-paying > iframe { width: 100% !important; height: 100% !important; max-height: none !important; border: 0 !important; background: transparent !important; }
dialog.kcp-paying::backdrop { background: transparent !important; }
.hist-chip { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border: 1px dashed var(--line-strong); border-radius: 999px; color: var(--ink-3); font-size: var(--fs-xs); cursor: help; }
.hist-chip::before { content: '↺'; }
.hist-chip:hover, .hist-chip:focus-visible { border-color: var(--xl-sel); color: var(--ink); outline: 0; }
