:root {
--hover: brightness(0.94); --press: brightness(0.88);
--bg: #f6f7f9; --panel: #ffffff; --panel-2: #f0f2f5; --border: #e1e5ea; --text: #15181d; --muted: #616b78;
--accent: #5b4dff; --accent-soft: #eceaff; --accent-ink: #ffffff; --good: #127a4a; --good-bg: #e3f6ec; --warn: #8a5a00; --warn-bg: #fff3d6;
--bad: #b42318; --bad-bg: #fde8e6; --info: #1f5fbf; --info-bg: #e5efff; --mute-bg: #eceef2;
--radius: 12px; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
--s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
--s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
--t-xs: 11px; --t-sm: 12px; --t-md: 13px; --t-base: 14px;
--t-lg: 16px; --t-xl: 20px; --t-2xl: 26px;
--ctl-xs: 28px; --ctl-sm: 32px; --ctl-md: 40px; --ctl-lg: 48px;
--r-sm: 8px; --r-md: 10px; --r-lg: 14px; --r-full: 999px;
--d-instant: 80ms;
--d-fast: 120ms;
--d-base: 200ms;
--d-emphasis: 320ms;
--d-slow: 400ms;
--ease-enter: cubic-bezier(.23, 1, .32, 1);
--ease-exit: cubic-bezier(.4, 0, 1, 1);
--ease-move: cubic-bezier(.4, 0, .2, 1);
--ease-drawer: cubic-bezier(.32, .72, 0, 1);
--ease: var(--ease-enter);
--spring-snappy: cubic-bezier(.2, 1.25, .3, 1);
--spring-soft: cubic-bezier(.25, .9, .3, 1);
--stagger-small: 40ms;
--stagger-list: 60ms;
--gutter: 20px;
--tabbar-h: 64px;
--shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
--shadow-raised: 0 4px 14px rgba(16, 24, 40, .10);
--shadow-menu: 0 16px 40px rgba(16, 24, 40, .18), 0 2px 6px rgba(16, 24, 40, .08);
--field-border: #d6dbe1; --field-hover: #b9c1cb; --ring: rgba(91, 77, 255, .18);
--pill-h: 44px;
--chip-h: 40px;
--avatar-sm: 40px;
--trail: 20px;
--r-row: 16px; --r-group: 20px; --r-sheet: 28px;
--hero: 48px;
--col: 520px;
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #000000; --panel: #18181b; --panel-2: #202024; --border: #26262b; --text: #ffffff; --muted: #9b9ba5;
--accent: #ab9ff2; --accent-soft: #221f33; --accent-ink: #19161f; --good: #2fe08a; --good-bg: #0f2a1d; --warn: #fbbf24; --warn-bg: #33270a;
--bad: #ff5c5c; --bad-bg: #351717; --info: #7cb0ff; --info-bg: #142640; --mute-bg: #202024; --shadow: none;
--field-border: #2f2f36; --field-hover: #45454f; --ring: rgba(171, 159, 242, .28);
--hover: brightness(1.14); --press: brightness(1.26);
color-scheme: dark;
}
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--t-base)/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-tap-highlight-color: transparent; overflow-wrap: break-word; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: var(--mono); font-size: var(--t-sm); overflow-wrap: anywhere; }
h1 { font-size: var(--t-xl); margin: 0 0 4px; letter-spacing: -0.3px; }
h2 { font-size: var(--t-lg); margin: 0; }
h3 { font-size: var(--t-base); margin: 0 0 8px; }
main > h1 + p.muted { margin: 4px 0 16px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.small { font-size: var(--t-sm); }
.ico { display: block; flex: none; }
header.top { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-3) 20px; background: var(--panel); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; view-transition-name: chrome-top; }
header.top .brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); letter-spacing: -0.2px; white-space: nowrap; }
header.top .brand img { border-radius: var(--r-sm); }
header.top .brand:hover { text-decoration: none; }
header.top nav.desk { display: flex; align-items: center; gap: var(--s-1); flex: 1; min-width: 0; position: relative; }
header.top nav.desk .nav-links { display: flex; gap: var(--s-1); min-width: 0; overflow-x: auto; scrollbar-width: none; }
header.top nav.desk .nav-links::-webkit-scrollbar { display: none; }
header.top nav.desk .nav-links a {
color: var(--muted); height: var(--ctl-sm); padding: 0 var(--s-3);
display: inline-flex; align-items: center; border-radius: var(--r-sm);
transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease),
transform var(--d-instant) var(--ease);
}
header.top nav.desk .nav-links a:hover { background: var(--panel-2); color: var(--text); text-decoration: none; }
header.top nav.desk .nav-links a:active { transform: scale(.97); }
header.top nav.desk .nav-links a.on {
background: var(--accent-soft); color: var(--accent); font-weight: 600;
}
header.top form.search input { width: 220px; }
header.top form.search.on input { border-color: var(--accent); }
header.top .who { color: var(--muted); font-size: var(--t-sm); display: flex; gap: 8px; align-items: center; white-space: nowrap; }
details.dd { position: relative; flex: none; }
details.dd > summary {
list-style: none; cursor: pointer; color: var(--muted); white-space: nowrap; font-size: var(--t-base);
height: var(--ctl-sm); padding: 0 var(--s-2) 0 var(--s-3); border-radius: var(--r-sm);
display: inline-flex; align-items: center; gap: var(--s-1);
transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
details.dd > summary::-webkit-details-marker { display: none; }
details.dd > summary .ico { transition: transform var(--d-fast) var(--ease); }
details.dd[open] > summary .ico { transform: rotate(180deg); }
details.dd > summary:hover, details.dd[open] > summary { background: var(--panel-2); color: var(--text); }
details.dd > summary.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
details.dd:not([open]) > .dd-panel { display: none; }
.dd-panel {
position: absolute; top: calc(100% + var(--s-2)); right: 0; z-index: 40;
min-width: 260px; max-width: calc(100vw - var(--s-5));
background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-lg);
box-shadow: var(--shadow-menu); padding: var(--s-2);
display: flex; flex-direction: column; gap: 2px;
animation: fold-in var(--d-fast) var(--ease) both;
}
header.top details.dd.more { position: static; }
.dd-panel.wide { display: block; top: calc(100% + var(--s-3)); left: 0; right: auto; width: min(640px, calc(100vw - var(--s-5))); column-count: 2; column-gap: var(--s-2); }
.dd-group { break-inside: avoid; display: flex; flex-direction: column; gap: 2px; padding-bottom: var(--s-2); }
.dd-group .drawer-label { margin: var(--s-2) var(--s-2) var(--s-1); }
.dd-group > span { display: contents; }
nav.desk.js .dd-group > .in-nav:not(.cut), nav.desk.js .dd-group.all-in-nav:not(:has(.cut)) { display: none; }
.dd-panel a { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2); border-radius: var(--r-sm); color: var(--text); transition: background var(--d-fast) var(--ease); }
.dd-panel a .ico { color: var(--muted); }
.dd-panel a .txt { display: flex; flex-direction: column; min-width: 0; }
.dd-panel a .lbl { font-size: var(--t-base); font-weight: 500; line-height: 20px; }
.dd-panel a .hint { font-size: var(--t-sm); line-height: 16px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-panel a:hover { background: var(--panel-2); text-decoration: none; }
.dd-panel a.on { background: var(--accent-soft); }
.dd-panel a.on .lbl, .dd-panel a.on .ico { color: var(--accent); }
.dd-who { display: flex; flex-direction: column; padding: var(--s-2) var(--s-2) var(--s-3); margin-bottom: var(--s-1); border-bottom: 1px solid var(--border); }
.dd-who strong { font-size: var(--t-base); color: var(--text); }
.dd-who span { font-size: var(--t-sm); color: var(--muted); white-space: normal; }
.dd-panel form { margin-top: var(--s-1); padding-top: var(--s-2); border-top: 1px solid var(--border); }
@media (max-width: 700px) {
details.dd[open] > .dd-panel {
position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 60;
min-width: 0; max-width: none; width: auto; max-height: 72vh; overflow-y: auto;
overscroll-behavior: contain; border: 0;
border-radius: var(--r-sheet) var(--r-sheet) 0 0;
padding: var(--s-2) var(--s-2) calc(var(--s-2) + env(safe-area-inset-bottom));
box-shadow: var(--shadow-menu);
animation: dd-sheet-in var(--d-emphasis) var(--ease-enter) both;
}
details.dd[open] > .dd-panel::before {
content: ""; flex: none; align-self: center; margin-bottom: var(--s-1);
width: 36px; height: 4px; border-radius: 4px; background: var(--border);
}
.dd-panel.wide { column-count: 1; }
.dd-panel a { min-height: var(--pill-h); }
}
@keyframes dd-sheet-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
header.top .who .btn.sm { padding: var(--s-1) 12px; }
.mob-actions { display: none; gap: 4px; margin-left: auto; }
.icon-btn { width: var(--ctl-lg); height: var(--ctl-lg); display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-lg); border: 0; background: transparent; color: var(--text); padding: 0; cursor: pointer; }
.icon-btn:hover { background: var(--panel-2); text-decoration: none; }
.icon-btn:active { filter: var(--press); transform: translateY(1px); }
.icon-btn.on { background: var(--accent-soft); color: var(--accent); }
.whoami {
display: none; align-items: center; justify-content: flex-start; gap: var(--s-3); flex: 1; min-width: 0;
height: auto; padding: 0; border: 0; background: none; color: var(--text);
font: inherit; text-align: left; cursor: pointer;
}
.whoami:hover { filter: none; background: none; }
.whoami .avatar.me {
width: var(--pill-h); height: var(--pill-h); background: var(--accent-soft); color: var(--accent);
font-size: var(--t-lg); font-weight: 700; transition: transform var(--d-instant) var(--ease);
}
.whoami:active .avatar.me { transform: scale(.94); }
.avatar .dot {
position: absolute; top: -2px; right: -4px; width: auto; min-width: 18px; height: 18px; padding: 0 var(--s-1);
border: 0; white-space: nowrap; box-sizing: border-box;
border-radius: var(--r-full); background: var(--bad); color: #fff;
font-size: var(--t-xs); font-weight: 700; line-height: 18px; text-align: center;
box-shadow: 0 0 0 2px var(--bg);
}
.avatar .dot[hidden] { display: none; }
header.top .whoami .who { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; line-height: 1.2; font-size: inherit; color: inherit; }
.whoami .handle { font-size: var(--t-sm); color: var(--muted); text-transform: capitalize; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whoami .name { display: flex; align-items: center; gap: 2px; font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.2px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whoami .name .ico { flex: none; color: var(--muted); transition: transform var(--d-base) var(--ease); }
body.menu-open .whoami .name .ico { transform: rotate(180deg); }
.iconbtn {
flex: none; width: var(--pill-h); height: var(--pill-h); border-radius: var(--r-full);
display: inline-grid; place-items: center; justify-content: center; background: var(--panel-2); color: var(--text);
transition: filter var(--d-fast) var(--ease), transform var(--d-instant) var(--ease), background var(--d-fast) var(--ease);
}
.iconbtn:hover { filter: var(--hover); text-decoration: none; }
.iconbtn:active { transform: scale(.92); }
.iconbtn.on { background: var(--accent-soft); color: var(--accent); }
.iconbtn.add { background: var(--accent); color: var(--accent-ink); }
.drawer { position: fixed; inset: 0; z-index: 50; background: rgba(8, 10, 14, 0.45); opacity: 0; pointer-events: none; transition: opacity var(--d-base) var(--ease); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); background: var(--panel); overflow-y: auto; padding: calc(12px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom)); transform: translateX(100%); transition: transform var(--d-emphasis) var(--ease-drawer); box-shadow: var(--shadow-menu); }
body.menu-open { overflow: hidden; }
body.menu-open .drawer { opacity: 1; pointer-events: auto; }
body.menu-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-3); }
.drawer-search input { width: 100%; margin-bottom: 8px; }
.drawer-group { margin-top: var(--s-4); }
.drawer-label { font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin: 0 4px 4px; }
.drawer-group a { display: flex; flex-direction: column; padding: var(--s-2) var(--s-3); border-radius: 10px; color: var(--text); }
.drawer-group a .hint { font-size: var(--t-sm); color: var(--muted); }
.drawer-group a.on, .drawer-group a:hover { background: var(--accent-soft); text-decoration: none; }
.drawer-group form { margin-top: var(--s-3); }
.btn.wide, button.wide { width: 100%; }
.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-top: 1px solid var(--border); padding: var(--s-1) var(--s-2) calc(var(--s-1) + env(safe-area-inset-bottom)); justify-content: space-around; view-transition-name: chrome-tabs; }
.tabbar .tab {
position: relative; z-index: 1; isolation: isolate; flex: 1; min-height: 52px; padding: 0;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
color: var(--muted); font-size: var(--t-xs); font-weight: 600; border-radius: 12px; -webkit-tap-highlight-color: transparent;
}
.tabbar .tab:hover { text-decoration: none; }
.tabbar .tab.on { color: var(--accent); }
.tabbar .tab .lbl {
position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.tabbar .tab .ico { width: 26px; height: 26px; transition: transform var(--d-fast) var(--ease); }
.tabbar .tab:active .ico { transform: scale(.84); }
.tab-slide {
position: absolute; z-index: 0; top: var(--s-1); left: var(--s-2); height: 52px;
width: calc((100% - var(--s-2) * 2) / var(--n, 5));
transform: translateX(calc(var(--i, 0) * 100%));
transition: transform var(--d-emphasis) var(--ease-drawer);
pointer-events: none; view-transition-name: tab-ind;
}
.tab-slide[hidden] { display: none; }
.tab-slide::before {
content: ""; position: absolute; top: var(--s-2); bottom: var(--s-2); left: 50%; width: 56px; margin-left: -28px;
border-radius: var(--r-full); background: var(--accent-soft);
}
::view-transition-group(tab-ind) { animation-duration: var(--d-emphasis); animation-timing-function: var(--ease-drawer); }
#content.shell-in { animation: vt-in var(--d-base) var(--ease-enter) both; }
main { max-width: 1440px; margin: 0 auto; padding: var(--gutter); }
.row { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.row.spread > div { min-width: 0; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);  align-items: start; }
.grid.cards { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
main > * + * { margin-top: var(--s-4); }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-4); min-width: 0; box-shadow: var(--shadow); }
.panel > .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-3); gap: 8px; flex-wrap: wrap; }
.stat .n { font-size: var(--t-2xl); font-weight: 700; letter-spacing: -0.4px; font-variant-numeric: tabular-nums; }
.stat .n.quiet { font-size: var(--t-base); font-weight: 500; letter-spacing: 0; color: var(--muted); line-height: 1.5; }
.stat .l { color: var(--muted); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.5px; }
a.panel.stat { color: inherit; display: block; }
a.panel.stat:hover { text-decoration: none; border-color: var(--accent); }
.stat .sub { color: var(--muted); font-size: var(--t-sm); margin-top: 2px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: separate; border-spacing: 0; }
th, td { text-align: left; padding: var(--s-2); border-bottom: 1px solid var(--border); vertical-align: middle; line-height: 20px; }
td a, td .down, td .small, td .mono { overflow-wrap: anywhere; }
th { color: var(--muted); font-weight: 600; font-size: var(--t-sm); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr td { transition: background var(--d-fast) var(--ease); }
tbody tr:hover td { background: var(--panel-2); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td.act { white-space: nowrap; text-align: right; }
.empty { color: var(--muted); padding: var(--s-3) 0; font-size: var(--t-md); }
td.lead { font-weight: 600; }
td.lead .muted, td.lead .small, td.lead .pill { font-weight: 400; }
.pill { display: inline-flex; align-items: center; height: 20px; padding: 0 var(--s-2); border-radius: var(--r-full); font-size: var(--t-sm); background: var(--mute-bg); color: var(--muted); white-space: nowrap; }
.pill.good { background: var(--good-bg); color: var(--good); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.info { background: var(--info-bg); color: var(--info); }
.dots { display: inline-flex; gap: var(--s-1); vertical-align: middle; }
.dot { width: 10px; height: 10px; border-radius: 2px; background: var(--mute-bg); border: 1px solid var(--border); }
.dot.on { background: var(--good); border-color: var(--good); }
.alerts { list-style: none; margin: 0; padding: 0; }
.alerts li { position: relative; padding: 8px 0; border-bottom: 1px solid var(--border); border-radius: 8px; display: flex; gap: 8px; align-items: baseline; }
.alerts li:last-child { border-bottom: 0; }
.alerts li > a { min-width: 0; overflow-wrap: anywhere; }
.alerts li > a::after { content: ""; position: absolute; inset: 0 -8px; border-radius: inherit; }
.alerts li:hover { background: var(--panel-2); }
.alerts li:has(> a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 0; }
.alerts li > a:focus-visible { outline: none; }
dl.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
dl.facts dd:has(.markdown, .secret), dl.facts.prose dd, dl.facts dd.wrap { white-space: normal; overflow: visible; }
dl.facts.prose dd { text-align: left; }
.copyval { background: none; border: 0; padding: 0; height: auto; min-height: 0; color: inherit; font: inherit; cursor: pointer; max-width: 100%; }
.copyval code { font-size: var(--t-sm); }
.copyval:hover { filter: none; color: var(--accent); }
.copyval:active { filter: var(--press); transform: none; }
input, select, textarea {
font: inherit; color: var(--text); background: var(--panel);
border: 1px solid var(--field-border); border-radius: var(--r-md);
padding: 0 var(--s-3); max-width: 100%; height: var(--ctl-md);
transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease), background var(--d-fast) var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .75; }
input:hover:not(:focus):not([type=checkbox]):not([type=file]), textarea:hover:not(:focus), select:hover { border-color: var(--field-hover); }
input:focus, select:focus, textarea:focus, .pk-trigger:focus-visible, .tags:focus-within { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
input:user-invalid, select:user-invalid, textarea:user-invalid,
[aria-invalid="true"] { border-color: var(--bad); }
input:user-invalid:focus, select:user-invalid:focus, textarea:user-invalid:focus {
border-color: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 20%, transparent);
}
textarea { width: 100%; height: auto; min-height: 96px; padding: var(--s-2) var(--s-3); resize: vertical; line-height: 1.5; }
textarea.md { min-height: 220px; font-family: var(--mono); font-size: var(--t-md); }
.markdown table { display: block; max-width: 100%; overflow-x: auto; }
.formwrap.doc textarea.md { min-height: 460px; }
input[type=date], input[type=datetime-local] { height: var(--ctl-md); }
input[type=date]::-webkit-calendar-picker-indicator, input[type=datetime-local]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23808a96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; min-height: 0; padding: 0; border: 1.5px solid var(--field-hover); border-radius: 4px; background: var(--panel); display: inline-grid; place-content: center; cursor: pointer; vertical-align: middle; flex: none; transition: background var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease); }
input[type=checkbox]::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
input[type=checkbox]:checked::after { opacity: 1; }
input[type=checkbox]:disabled { opacity: .55; cursor: default; }
input.switch { width: 44px; height: 28px; border-radius: 999px; border: 0; background: var(--mute-bg); position: relative; display: inline-block; box-shadow: inset 0 0 0 1px var(--field-border); }
input.switch::after { content: ""; position: absolute; top: var(--s-1); left: var(--s-1); width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transform: none; opacity: 1; transition: left var(--d-base) var(--ease); }
input.switch:checked { background: var(--accent); box-shadow: none; }
input.switch:checked::after { left: 20px; }
form.stack label:has(> input.switch) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: var(--s-3) 12px; border: 1px solid var(--field-border); border-radius: 10px; cursor: pointer; }
form.stack label:has(> input.switch) > .help { grid-column: 1 / -1; }
form.row.upload { margin-top: var(--s-3); align-items: center; }
input[type=file] { height: var(--ctl-md); min-height: 0; padding: 0 var(--s-2); cursor: pointer; display: flex; align-items: center; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; height: var(--ctl-sm); border: 0; border-radius: var(--r-sm); padding: 0 var(--s-3); margin-right: var(--s-2); background: var(--accent-soft); color: var(--accent); cursor: pointer; }
input[type=search] { padding-left: var(--s-6); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23808a96' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 11px center; }
input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
.pk { position: relative; display: inline-block; max-width: 100%; min-width: 0; vertical-align: middle; }
form.stack .pk { display: block; width: 100%; }
.pk-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.pk-trigger { width: 100%; height: var(--ctl-md); display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; font-weight: 400; background: var(--panel); border: 1px solid var(--field-border); border-radius: 10px; padding: 0 var(--s-3) 0 12px; color: var(--text); transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease); }
.pk-trigger:hover { filter: none; border-color: var(--field-hover); }
.pk.open .pk-trigger { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.pk.invalid .pk-trigger { border-color: var(--bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 20%, transparent); }
.pk-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-trigger.empty .pk-val { color: var(--muted); }
.pk-val .pk-hint { color: var(--muted); font-size: var(--t-sm); margin-left: 4px; }
.pk-chev { color: var(--muted); flex: none; transition: transform var(--d-fast) var(--ease); }
.pk.open .pk-chev { transform: rotate(180deg); }
.pk.compact .pk-trigger { height: var(--ctl-sm); padding: 0 var(--s-2) 0 var(--s-3); font-size: var(--t-md); }
.pk-panel { position: fixed; z-index: 90; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-menu); overflow: hidden; display: flex; flex-direction: column; max-height: 340px; opacity: 0; transform: translateY(-4px); transition: opacity var(--d-fast) var(--ease), transform var(--d-fast) var(--ease); }
.pk-panel.pk-up { transform: translateY(4px); }
.pk-panel.in { opacity: 1; transform: none; }
.pk-search { display: flex; align-items: center; gap: 8px; padding: 8px var(--s-3); border-bottom: 1px solid var(--border); color: var(--muted); }
.pk-search input { border: 0; box-shadow: none !important; padding: 4px 0; min-height: 30px; flex: 1; background: transparent; }
.pk-list { list-style: none; margin: 0; padding: var(--s-2); overflow-y: auto; overscroll-behavior: contain; }
.pk-opt { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) var(--s-3) var(--s-2) var(--s-2); border-radius: var(--r-sm); cursor: pointer; }
.pk-opt.hl { background: var(--panel-2); }
.pk-opt.sel .pk-l { font-weight: 600; }
.pk-opt.none .pk-l { color: var(--muted); }
.pk-text { display: flex; flex-direction: column; min-width: 0; }
.pk-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-text .pk-hint { font-size: var(--t-sm); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-mark { flex: none; width: 18px; height: 18px; border-radius: var(--r-full); background: rgba(16, 24, 40, .1); }
@media (prefers-color-scheme: dark) { .pk-mark { background: rgba(0, 0, 0, .28); } }
.pk-opt.sel .pk-mark { background-image: radial-gradient(circle, var(--accent) 3.6px, transparent 4.2px); }
.pk-opt[hidden], .pk-empty[hidden] { display: none; }
.pk-empty { padding: var(--s-3) var(--s-3); color: var(--muted); text-align: center; font-size: var(--t-md); }
.pk-backdrop { position: fixed; inset: 0; background: rgba(10,12,16,.38); z-index: 89; animation: pk-fade var(--d-fast) var(--ease-enter); }
.pk-panel.sheet { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 72vh; border-radius: var(--r-sheet) var(--r-sheet) 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom); transform: translateY(24px); }
.pk-panel.sheet.in { transform: none; }
.pk-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s-3) var(--trail) var(--s-2) var(--s-4); }
.pk-head::before { content: ""; position: absolute; top: var(--s-2); left: 50%; width: 36px; height: 4px; transform: translateX(-50%); border-radius: 4px; background: var(--border); }
.pk-x { width: var(--ctl-sm); height: var(--ctl-sm); border: 0; background: var(--panel-2); border-radius: 50%; padding: 0; }
.pk-panel.sheet .pk-search { margin: 4px 12px 2px; border: 1px solid var(--field-border); border-radius: 10px; }
.pk-panel.sheet .pk-search input { font-size: var(--t-lg); }
.pk-panel.sheet .pk-opt { padding: 12px; font-size: var(--t-lg); }
.rel-manual { display: contents; }
.rel-manual[hidden] { display: none; }
input.rpick { flex: 1 1 240px; min-width: 0; }
@keyframes pk-fade { from { opacity: 0; } to { opacity: 1; } }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; min-height: var(--ctl-md); padding: var(--s-1) 8px; background: var(--panel); border: 1px solid var(--field-border); border-radius: 10px; cursor: text; font-weight: 400; transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease); }
.tag { display: inline-flex; align-items: center; gap: 2px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 2px 4px 2px var(--s-3); font-size: var(--t-md); font-weight: 600; }
.tag button { height: auto; border: 0; background: transparent; color: inherit; padding: 0 var(--s-2); font-size: var(--t-base); line-height: 1; min-height: 0; }
.tags-input { height: auto; border: 0 !important; box-shadow: none !important; flex: 1; min-width: 90px; padding: 4px 2px !important; min-height: 28px !important; background: transparent; }
form.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); max-width: 760px; }
form.stack label { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-1); font-weight: 600; font-size: var(--t-md); }
form.stack label .help, form.stack label .subhelp { font-weight: 400; color: var(--muted); font-size: var(--t-sm); }
form.stack.rec label > .help {
max-height: 0; opacity: 0; overflow: hidden;
transition: max-height var(--d-base) var(--ease), opacity var(--d-fast) var(--ease);
}
form.stack.rec label:focus-within > .help { max-height: 6rem; opacity: 1; }
form.stack label.small { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 400; }
form.stack input:not([type=checkbox]), form.stack select { width: 100%; }
form.stack label > span:first-child { color: var(--text); }
form.inline { display: inline; }
.btn, button {
font: inherit; font-size: var(--t-md); cursor: pointer;
border: 1px solid var(--border); background: var(--panel-2); color: var(--text);
height: var(--ctl-md); padding: 0 var(--s-3); border-radius: var(--r-md);
display: inline-flex; align-items: center; justify-content: center;
gap: var(--s-2); line-height: 1; white-space: nowrap;
transition: filter var(--d-fast) var(--ease), transform var(--d-instant) var(--ease), border-color var(--d-fast) var(--ease);
}
.btn:hover, button:hover { text-decoration: none; filter: var(--hover); }
.btn:active, button:active, .tabbar .tab:active, .quick-item:active, a.panel.stat:active { filter: var(--press); transform: translateY(1px); }
form[data-submitting] button[disabled] { opacity: 1; }
form[data-submitting] button[disabled]::before {
content: ""; width: 13px; height: 13px; flex: none; border-radius: var(--r-full);
border: 2px solid currentColor; border-top-color: transparent;
animation: spin 700ms linear infinite;
}
.btn.primary, button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.btn.danger, button.danger { color: var(--bad); }
.btn.sm, button.sm { height: var(--ctl-sm); padding: 0 var(--s-3); font-size: var(--t-sm); }
.filters { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-3); align-items: center; --ctl-row: var(--ctl-md); }
@media (max-width: 700px) { .filters { --ctl-row: var(--ctl-lg); } }
.filters > input:not([type=checkbox]):not([type=file]),
.filters select, .filters > button, .filters > .btn, .fchips > .btn,
.filters .pk, .filters .pk .pk-trigger {
height: var(--ctl-row); min-height: var(--ctl-row);
}
.filters > .btn, .filters > button { font-size: var(--t-base); }
.filters > span, .fchips > span { display: inline-flex; align-items: center; height: var(--ctl-row); }
.form-actions { display: flex; gap: var(--s-2); }
.secret { display: inline-flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.secret .val { font-family: var(--mono); background: var(--panel-2); padding: 1px var(--s-2); border-radius: 4px; user-select: all; white-space: pre-wrap; overflow-wrap: anywhere; }
.flash { padding: var(--s-3) var(--s-4); border-radius: var(--radius); margin-bottom: var(--s-4); border: 1px solid var(--border); background: var(--panel); animation: flash-in var(--d-base) var(--ease) both; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.flash.bad { background: var(--bad-bg); color: var(--bad); }
.flash.good { background: var(--good-bg); color: var(--good); }
.panel.shown-once { border-color: var(--good); }
[data-show-if][hidden] { display: none; }
.jobs-report td.num { white-space: nowrap; }
.key { font-family: var(--mono); font-size: var(--t-base); padding: var(--s-3); background: var(--panel-2); border-radius: var(--r-sm); word-break: break-all; user-select: all; }
pre { background: var(--panel-2); padding: var(--s-3) 12px; border-radius: var(--r-sm); overflow-x: auto; font-size: var(--t-sm); }
.markdown { line-height: 1.6; overflow-wrap: anywhere; }
.markdown h1 { font-size: var(--t-xl); margin-top: var(--s-4); } .markdown h2 { font-size: var(--t-lg); margin-top: 16px; } .markdown h3 { margin-top: var(--s-4); }
.markdown table td, .markdown table th { border: 1px solid var(--border); }
.markdown img { max-width: 100%; }
details > summary { cursor: pointer; padding: var(--s-2) 0; }
.section-nav { display: flex; gap: var(--s-2); flex-wrap: wrap; margin: 12px 0 16px; }
.section-nav a { padding: 4px var(--s-3); border: 1px solid var(--border); border-radius: 999px; font-size: var(--t-sm); color: var(--muted); background: var(--panel); white-space: nowrap; }
.login { max-width: 380px; margin: var(--s-8) auto; }
.login .brand-big { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-2); }
.up { color: var(--good); } .down { color: var(--bad); }
svg.spark { display: block; overflow: visible; max-width: 100%; }
svg.spark polyline.up { stroke: var(--good); } svg.spark polyline.down { stroke: var(--bad); }
.coin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 12px; }
.coin-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; background: var(--panel-2); }
.coin-card .big { font-size: var(--t-xl); font-weight: 700; }
.board { display: flex; gap: var(--s-3); overflow-x: auto; padding-bottom: var(--s-2); align-items: start; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.board .col { flex: 1 1 230px; min-width: 200px; background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--s-2); min-height: 120px; scroll-snap-align: start; transition: width var(--d-base) var(--ease), flex-basis var(--d-base) var(--ease), min-width var(--d-base) var(--ease); }
.board .col.empty { flex: 0 0 auto; min-width: 0; width: 34px; padding: var(--s-2) var(--s-1); overflow: hidden; }
.board .col.empty h3 { writing-mode: vertical-rl; margin: 0; height: max-content; justify-content: flex-start; gap: var(--s-2); }
.board .col.empty.over { width: 200px; }
.board .col.empty.over h3 { writing-mode: horizontal-tb; height: auto; }
.board .col.over { outline: 2px dashed var(--accent); }
.board .col h3 { display: flex; justify-content: space-between; margin: 2px 4px 8px; text-transform: capitalize; }
.board .card { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: var(--s-2) var(--s-3); margin-bottom: 8px; cursor: grab; transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease), transform var(--d-fast) var(--ease); }
.board .card:hover { border-color: var(--field-hover); box-shadow: var(--shadow); }
.board .card:active { transform: translateY(1px); }
.board .card.dragging { opacity: 0.5; }
.board .card .meta { color: var(--muted); font-size: var(--t-sm); margin-top: 4px; display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; }
.board .card .meta .late { color: var(--bad); font-weight: 600; }
.board .move-btn { display: none; }
.board .move { display: none; margin-top: 8px; width: 100%; font-size: var(--t-md); padding: var(--s-1) 8px; }
.board .pk:has(> select.move) { display: none; width: 100%; margin-top: 8px; }
@media (hover: none) { .board .move { display: block; } .board .pk:has(> select.move) { display: block; } .board .card { cursor: default; } }
.board .card:focus-within .move, .board .card:focus-within .pk:has(> select.move) { display: block; }
.daygroup + .daygroup { margin-top: var(--s-4); }
.dayhead { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); padding: 0 var(--s-2) var(--s-2); font-size: var(--t-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); }
.cal-legend span { display: inline-flex; align-items: center; gap: var(--s-1); }
.cal-legend .ico { color: var(--muted); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal .dow { font-size: var(--t-sm); color: var(--muted); font-weight: 600; padding: 2px var(--s-2); }
.cal .day { background: var(--panel); border: 1px solid var(--border); border-radius: 8px; min-height: 92px; padding: 4px var(--s-2); overflow: hidden; }
.cal .day.other { opacity: 0.45; }
.cal .day.today { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.cal .day .n { font-size: var(--t-sm); color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.cal .day .add-day { color: var(--muted); padding: 0 var(--s-1); border-radius: 4px; opacity: 0; transition: opacity var(--d-fast) var(--ease); }
.cal .day:hover .add-day, .cal .day .add-day:focus-visible { opacity: 1; }
@media (hover: none) { .cal .day .add-day { opacity: 1; } }
.cal .day .add-day:hover { color: var(--accent); text-decoration: none; }
.cal details.cal-more > summary { font-size: var(--t-sm); color: var(--accent); cursor: pointer; margin-top: 2px; }
.cal .ev { display: block; font-size: var(--t-sm); line-height: 1.3; padding: 2px 4px; margin-top: 2px; border-radius: 4px; background: var(--panel-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.cal .ev.target_launch, .cal .ev.coin_launch, .cal .ev.launched { background: var(--good-bg); color: var(--good); }
.cal .ev.domain_expiry { background: var(--warn-bg); color: var(--warn); }
.quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-2); margin-top: var(--s-4); }
.quick-item { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-3) 16px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); box-shadow: var(--shadow); }
.quick-item:hover { border-color: var(--accent); text-decoration: none; }
.qi-ico { flex: none; width: var(--ctl-sm); height: var(--ctl-sm); border-radius: var(--r-sm); background: var(--panel-2); color: var(--muted); display: grid; place-items: center; transition: color var(--d-fast) var(--ease), background var(--d-fast) var(--ease); }
.quick-item:hover .qi-ico { color: var(--accent); background: var(--accent-soft); }
.qi-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.titled { display: flex; align-items: flex-start; gap: var(--s-2); min-width: 0; }
.titled > .hico { flex: none; color: var(--muted); margin-top: 2px; }
td .titled { align-items: center; gap: var(--s-2); color: var(--muted); }
td .titled > .hico { margin-top: 0; }
.getting-started ol { margin: var(--s-2) 0 0; padding-left: 0; list-style: none; display: grid; gap: var(--s-2); }
.getting-started li { display: flex; gap: var(--s-2); align-items: flex-start; }
.getting-started .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: var(--t-sm); font-weight: 700; background: var(--mute-bg); color: var(--muted); margin-top: 1px; }
.getting-started li.done .tick { background: var(--good); color: #fff; }
.getting-started li.done .what { color: var(--muted); text-decoration: line-through; }
.checklist ul.next { margin: var(--s-3) 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.checklist li { display: flex; gap: var(--s-2); align-items: flex-start; }
.checklist .tick { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: var(--t-xs); font-weight: 700; border: 2px solid var(--border); color: #fff; margin-top: 1px; }
.checklist li.done .tick { background: var(--good); border-color: var(--good); }
.checklist li.done .what { color: var(--muted); }
.checklist a.what { font-weight: 600; }
.progress { height: 6px; border-radius: var(--r-full); background: var(--mute-bg); overflow: hidden; margin-top: 8px; }
.progress > div { width: var(--w, 0%); height: 100%; background: var(--good); border-radius: var(--r-full); }
.add-group { margin-top: var(--s-4); }
.add-group .quick { margin-top: var(--s-2); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.add-group .quick-item { padding: var(--s-3) var(--s-3); box-shadow: none; }
.rowfold { display: inline-block; vertical-align: middle; }
.rowfold > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: var(--s-1); height: var(--ctl-sm); padding: 0 var(--s-3); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--panel-2); font-size: var(--t-sm); white-space: nowrap; transition: filter var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease); }
.rowfold > summary::-webkit-details-marker { display: none; }
.rowfold > summary:hover { filter: var(--hover); border-color: var(--field-hover); }
.rowfold > summary:active { transform: translateY(1px); }
.rowfold[open] > summary { border-color: var(--accent); color: var(--accent); }
.rowfold > form { margin-top: var(--s-2); animation: fold-in var(--d-base) var(--ease) both; }
.m-only { display: none; }
details.addfold > summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
details.addfold > summary::-webkit-details-marker { display: none; }
details.addfold > summary::before {
content: ""; width: 7px; height: 7px; flex: none; align-self: center;
border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
transform: rotate(-45deg); transition: transform var(--d-base) var(--ease);
}
details.addfold[open] > summary::before { transform: rotate(45deg); }
details.addfold > summary h2 { margin: 0; }
details.addfold[open] > summary { margin-bottom: var(--s-3); }
details.addfold[open] > .add-group { animation: fold-in var(--d-base) var(--ease) both; }
@keyframes fold-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.panel.section .rels > .rel + .rel { border-top: 1px solid var(--border); margin-top: var(--s-4); padding-top: var(--s-4); }
@media (min-width: 1101px) {
.panel.section .rels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); row-gap: var(--s-4); }
.panel.section .rels > .rel { grid-column: 1 / -1; }
.panel.section .rels > .rel.half:not(:only-child) { grid-column: auto; }
.panel.section .rels > .rel + .rel { margin-top: 0; }
.panel.section .rels > .rel.half:first-child + .rel.half { border-top: 0; padding-top: 0; }
}
.rel > .head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-2); }
.rel h3 { font-size: var(--t-lg); margin: 0; }
details.missing-contacts { margin-top: var(--s-3); }
details.missing-contacts > summary { cursor: pointer; color: var(--accent); font-weight: 600; padding: var(--s-1) 0; }
ul.missing-list { list-style: none; margin: var(--s-2) 0 0; padding: 0; }
ul.missing-list > li { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) 0; border-top: 1px solid var(--border); }
ul.missing-list > li > span { min-width: 0; overflow-wrap: anywhere; }
details.more-fields { border-top: 1px dashed var(--border); padding-top: 12px; }
details.more-fields > summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 4px 0; }
details.more-fields[open] > summary { margin-bottom: 12px; }
.more-grid { display: grid; gap: var(--s-4); }
details.dd > summary.btn { color: var(--text); padding: 0 var(--s-3) 0 var(--s-4); height: var(--ctl-md); }
.panel .head .muted.small { font-weight: 400; }
.install { display: none; position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom)); z-index: 40; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 12px var(--s-3); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.install.show { display: flex; gap: 12px; align-items: center; }
.install img { border-radius: 10px; flex: none; }
.install .txt { flex: 1; font-size: var(--t-md); }
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible,
[tabindex]:focus-visible, .tabbar .tab:focus-visible, .done-btn:focus-visible {
outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px;
}
html.pointing :is(a, button, .btn, summary, [tabindex], .tabbar .tab, .done-btn):focus-visible { outline: none; }
main:focus { outline: none; }
.skip { position: fixed; top: 0; left: 50%; transform: translate(-50%, -120%); z-index: 100; background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 0 0 10px 10px; padding: var(--s-3) 16px; font-weight: 600; box-shadow: var(--shadow-raised); transition: transform var(--d-base) var(--ease-move); }
.skip:focus { transform: translate(-50%, 0); text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (min-width: 901px) {
form.stack.rec { max-width: 900px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
form.stack.rec > label.wide, form.stack.rec > details, form.stack.rec > .form-actions, form.stack.rec > .flash { grid-column: 1 / -1; }
form.stack.rec .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
form.stack.rec .more-grid > label.wide { grid-column: 1 / -1; }
form.stack.rec label:has(> textarea.md) { grid-column: 1 / -1; }
.panel.formwrap { max-width: 940px; }
}
@media (max-width: 1100px) {
.grid.two { grid-template-columns: 1fr; }
header.top form.search input { width: 150px; }
}
@media (max-width: 900px) {
header.top {
padding: calc(var(--s-2) + env(safe-area-inset-top)) var(--s-4) var(--s-2); gap: 8px;
background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
border-bottom-color: transparent; transition: border-color var(--d-base) var(--ease);
}
header.top.scrolled { border-bottom-color: var(--border); }
header.top .brand { display: none; }
.whoami { display: flex; }
.desk { display: none !important; }
.mob-actions { display: flex; gap: var(--s-2); }
.tabbar { display: flex; }
.drawer-panel { right: auto; left: 0; transform: translateX(-100%); box-shadow: none; border-right: 1px solid var(--border); }
body.has-tabbar main { padding-bottom: calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom)); }
}
@media (max-width: 700px) {
body { font-size: var(--t-base); }
main { padding-top: var(--s-3); padding-bottom: var(--s-3); }
h1 { font-size: var(--t-xl); }
.panel { padding: var(--s-3); border-radius: 14px; }
.grid { gap: 12px; }
.grid.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.stat .n { font-size: var(--t-xl); }
.panel.stat { padding: var(--s-3) var(--s-3); }
.stat.secondary { display: none; }
.row.actions { gap: var(--s-2); }
.row.actions .btn, .row.actions button { height: var(--ctl-lg); padding: 0 var(--s-4); font-size: var(--t-base); }
.row.spread > .row { width: 100%; }
dl.facts { grid-template-columns: fit-content(45%) minmax(0, 1fr); gap: 8px 12px; }
input, select, textarea, .pk-trigger, .tags-input { font-size: var(--t-lg); }
input:not([type=checkbox]):not([type=file]), select { height: var(--ctl-lg); }
input[type=file] { height: var(--ctl-lg); }
input[type=file]::file-selector-button { height: var(--ctl-md); }
.pk-trigger { height: var(--ctl-lg); }
.tags { min-height: var(--ctl-lg); }
.btn, button { height: var(--ctl-lg); min-height: 40px; padding: 8px var(--s-3); }
.pk.compact .pk-trigger { height: var(--ctl-md); font-size: var(--t-base); }
input[type=checkbox] { width: 22px; height: 22px; }
input.switch { width: 48px; }
input.switch:checked::after { left: var(--s-5); }
.btn.sm, button.sm { min-height: 32px; padding: 4px var(--s-3); font-size: var(--t-md); }
.filters > * { flex: 1 1 140px; }
.filters input[type=search] { flex-basis: 100%; }
.row.spread > div:first-child { flex: 1 1 100%; }
.section-nav { flex-wrap: nowrap; overflow-x: auto; margin: var(--s-3) calc(var(--gutter) * -1) var(--s-4); padding: 0 var(--gutter); scrollbar-width: none; }
.section-nav::-webkit-scrollbar { display: none; }
.form-actions { position: sticky; bottom: calc(var(--tabbar-h) + var(--s-3) + env(safe-area-inset-bottom)); flex-wrap: wrap; background: var(--panel); padding: var(--s-3); margin: 0 -12px -12px; border-radius: 12px; box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.06); z-index: 5; }
.form-actions > * { flex: 1; }
.board { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--s-2); }
.board .col { min-width: 0; }
.cal { display: none; }
.coin-cards { grid-template-columns: 1fr; }
.quick { grid-template-columns: 1fr; }
.add-group .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.add-group.page .quick { grid-template-columns: 1fr; }
.add-group .quick-item { padding: var(--s-3) var(--s-3); }
.add-group .quick-item .small { font-size: var(--t-xs); line-height: 1.35; }
.checklist { order: -1; }
.login { margin: var(--s-7) auto; }
table.rt, table.rt tbody, table.rt tr, table.rt td { display: block; width: 100%; }
table.rt thead { display: none; }
table.rt tr { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; margin-bottom: var(--s-3); }
.panel table.rt tr { background: var(--panel-2); }
table.rt tbody tr:hover td { background: transparent; }
table.rt td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
table.rt td:not(.lead) { flex-wrap: wrap; row-gap: 4px; }
table.rt td:not(.lead) > * { min-width: 0; max-width: 100%; }
table.rt td .pill { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
table.rt td::before { content: attr(data-label); color: var(--muted); font-size: var(--t-md); text-align: left; flex: none; max-width: 45%; }
table.rt td:not([data-label])::before, table.rt td[data-label=""]::before { content: none; }
table.rt td.lead { order: -1; display: block; text-align: left; font-size: var(--t-lg); font-weight: 600; padding: 2px 0 var(--s-2); }
table.rt td.lead::before { content: none; }
table.rt td.lead .muted, table.rt td.lead .small { font-weight: 400; }
form.row > input:not([type=checkbox]):not([type=hidden]), form.row > select { flex: 1 1 100%; }
form.row > button { flex: 1 1 auto; }
table.rt td.act { justify-content: flex-end; padding-top: 8px; }
table.rt td.m-hide { display: none; }
.m-only { display: block; }
table.rt td.num { text-align: right; }
.table-wrap:has(table.rt) { overflow: visible; }
}
.consent .scopes { display: grid; gap: var(--s-2); margin: var(--s-2) 0 4px; }
label.check { display: flex !important; gap: var(--s-2); align-items: flex-start; font-weight: 400 !important; padding: var(--s-3) 12px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
label.check input { margin-top: var(--s-1); width: 18px; height: 18px; flex: none; }
label.check strong { font-weight: 600; }
ol.steps { margin: 12px 0 0; padding-left: 20px; display: grid; gap: var(--s-2); }
ol.steps code { word-break: break-all; }
.connect-hero .row .key { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dp .pk-trigger { justify-content: flex-start; }
.dp .pk-val { flex: 1; }
.dp-ico { color: var(--muted); flex: none; }
.dp .pk.open .dp-ico, .dp.open .dp-ico { color: var(--accent); }
.dp-clear { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-content: center; font-size: var(--t-sm); color: var(--muted); }
.dp-clear:hover { background: var(--panel-2); color: var(--text); }
.dp-clear[hidden] { display: none; }
.dp-panel { max-height: none; padding: var(--s-3) 12px 12px; outline: none; }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-2); }
.dp-nav { width: 34px; height: 34px; padding: 0; border: 0; border-radius: var(--r-sm); background: transparent; font-size: var(--t-xl); line-height: 1; color: var(--text); }
.dp-nav:hover { background: var(--panel-2); filter: none; }
.dp-title { border: 0; background: transparent; font-weight: 700; font-size: var(--t-base); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); gap: 4px; }
.dp-title:hover { background: var(--panel-2); filter: none; }
.dp-title svg { color: var(--muted); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-wd span { text-align: center; font-size: var(--t-xs); font-weight: 700; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.dp-day { aspect-ratio: 1; min-height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; font-variant-numeric: tabular-nums; font-size: var(--t-base); color: var(--text); position: relative; }
.dp-day:hover { background: var(--panel-2); filter: none; }
.dp-day.out { color: var(--muted); opacity: .55; }
.dp-day.today { color: var(--accent); font-weight: 700; }
.dp-day.today::after { content: ""; position: absolute; bottom: var(--s-1); left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.dp-day.focus { box-shadow: inset 0 0 0 2px var(--ring), inset 0 0 0 1px var(--accent); }
.dp-day.sel, .dp-day.sel:hover { background: var(--accent); color: var(--accent-ink); font-weight: 700; opacity: 1; }
.dp-day.sel::after { background: var(--accent-ink); }
.dp-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); padding: 4px 0; }
.dp-month { border: 0; background: var(--panel-2); border-radius: 10px; padding: 12px 0; font-weight: 600; }
.dp-month.focus { box-shadow: inset 0 0 0 2px var(--accent); }
.dp-month.sel { background: var(--accent); color: var(--accent-ink); }
.dp-time { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--border); }
.dp-time > span { font-weight: 600; font-size: var(--t-md); }
.dp-time input { width: 76px; min-height: 34px; padding: var(--s-1) 8px; text-align: center; font-variant-numeric: tabular-nums; }
.dp-time input.bad { border-color: var(--bad); }
.dp-tq { display: flex; gap: 4px; flex-wrap: wrap; }
.dp-foot { display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--border); flex-wrap: wrap; }
.dp-chips { display: flex; gap: var(--s-2); flex-wrap: wrap; flex: 1; }
.dp-chip { border: 1px solid var(--border); background: var(--panel); border-radius: 999px; padding: 4px var(--s-3); font-size: var(--t-sm); font-weight: 600; color: var(--text); }
.dp-chip:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.dp-chip.ghost { border-color: transparent; color: var(--muted); }
.dp-chip.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.dp-panel.sheet { padding: var(--s-4) var(--s-4) calc(var(--s-4) + env(safe-area-inset-bottom)); }
.dp-panel.sheet .pk-head { padding: 0 0 var(--s-1); }
.dp-panel.sheet .dp-day { font-size: var(--t-lg); min-height: 44px; }
.dp-panel.sheet .dp-chip { padding: 8px var(--s-3); font-size: var(--t-base); }
.dp-panel.sheet .dp-time input { font-size: var(--t-lg); }
@media (max-width: 700px) {
.dp-clear { width: 36px; height: 36px; margin-right: -8px; }
}
.btn.ai { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 600; }
.drawer-ai { display: flex; flex-direction: column; margin: 0 0 12px; padding: 12px var(--s-3); border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.drawer-ai .hint { font-size: var(--t-sm); font-weight: 400; color: var(--muted); }
.drawer-ai:hover { text-decoration: none; }
ol.setup { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
ol.setup > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
ol.setup > li > div > strong { display: block; font-size: var(--t-base); margin: 4px 0 8px; }
.step-n { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-content: center; font-weight: 700; }
.copyrow { gap: 8px; flex-wrap: nowrap; }
.copyrow .key { flex: 1; min-width: 0; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--panel-2); border-radius: var(--r-md); overflow-x: auto; scrollbar-width: none; margin-bottom: var(--s-3); }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; padding: var(--s-2) 12px; border-radius: 8px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tab[aria-selected=true] { background: var(--panel); color: var(--text); box-shadow: 0 1px 3px rgba(16,24,40,.12); }
.tabpanel ol.steps { margin-top: 4px; }
pre.copyable { margin: var(--s-2) 0; white-space: pre-wrap; word-break: break-all; }
.connect-status { margin-top: var(--s-3); padding: 12px var(--s-3); border-radius: 10px; background: var(--panel-2); display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-md); }
.connect-status .ok, .connect-status.done .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--good); color: #fff; display: inline-grid; place-content: center; font-size: var(--t-sm); flex: none; }
.connect-status.done { background: var(--good-bg); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.try { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--border); }
.try ul { margin: var(--s-2) 0 0; padding-left: var(--s-4); color: var(--muted); display: grid; gap: 4px; }
ul.tasklist { list-style: none; margin: 4px 0 0; padding: 0; }
ul.tasklist li { display: flex; gap: 12px; align-items: flex-start; padding: var(--s-2) 0; border-bottom: 1px solid var(--border); transition: opacity var(--d-slow) var(--ease), transform var(--d-slow) var(--ease); }
ul.tasklist li:last-child { border-bottom: 0; }
ul.tasklist li.gone { opacity: 0; transform: translateX(12px); }
.done-btn { width: 22px; height: 22px; min-height: 0; padding: 0; border-radius: 50%; border: 2px solid var(--field-hover); background: var(--panel); flex: none; margin-top: 1px; position: relative; }
.done-btn:hover { border-color: var(--good); filter: none; }
.done-btn:hover::after, .done-btn.on::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 4px; border: 2px solid var(--good); border-top: 0; border-right: 0; transform: translate(-50%, -70%) rotate(-45deg); }
.done-btn.on { background: var(--good); border-color: var(--good); }
.done-btn.on::after { border-color: #fff; }
.overdue { color: var(--bad); font-weight: 600; }
.due-soon { color: var(--warn); font-weight: 600; }
.empty-state { text-align: center; padding: var(--s-6) 16px var(--s-5); }
.panel > .empty-state { padding-left: 0; padding-right: 0; }
.empty-state .big { font-size: var(--t-xl); font-weight: 700; margin-bottom: 4px; }
.empty-state p { max-width: 520px; margin: 8px auto; }
.wsplit {
--wsplit-h: calc(100vh - var(--chrome-h, 108px) - var(--s-5));
display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
gap: var(--s-4); height: var(--wsplit-h); min-height: 420px;
}
.wlist { overflow-y: auto; padding: var(--s-2); }
.wlist > .empty { padding: var(--s-3) var(--s-2); }
.wrows { display: flex; flex-direction: column; gap: 2px; }
.wrow {
display: flex; align-items: center; gap: var(--s-3); min-width: 0;
padding: var(--s-2) var(--s-2); border-radius: var(--r-md); color: var(--text);
transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.wrow:hover { background: var(--panel-2); text-decoration: none; }
.wrow:active { transform: translateY(1px); }
.wrow.on { background: var(--accent-soft); color: var(--accent); }
.wrow.full { opacity: .5; }
.wrow-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.wrow-name, .wrow-host { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrow-name { font-weight: 600; font-size: var(--t-md); }
.wrow-host { font-size: var(--t-sm); color: var(--muted); }
.wrow.on .wrow-host { color: inherit; opacity: .8; }
.wrow-mark { flex: none; width: 16px; height: 16px; border-radius: var(--r-sm); border: 1.5px solid var(--field-border); }
.wrow.on .wrow-mark { border-color: currentColor; background: currentColor; }
.wview { display: grid; gap: var(--s-3); height: 100%; min-height: 0; }
.wview.n0, .wview.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.wview.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.wview.n3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; }
.wview.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.wsplit { container: wsplit / inline-size; }
@container wsplit (max-width: 1260px) {
.wview.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.wview.n3 > .wpane:nth-child(3) { grid-column: span 2; }
}
.wpane {
display: flex; flex-direction: column; min-width: 0; min-height: 0;
background: var(--panel); border: 1px solid var(--border);
border-radius: var(--radius); overflow: hidden;
}
.wpane-head {
display: flex; align-items: center; gap: var(--s-2); flex: none;
padding: var(--s-2) var(--s-2) var(--s-2) var(--s-3);
border-bottom: 1px solid var(--border); background: var(--panel-2);
}
.wpane-host { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--t-sm); font-weight: 600; }
.wpane-head .icon-btn.sm { height: var(--ctl-sm); width: var(--ctl-sm); border-radius: var(--r-sm); }
.wpane-body { flex: 1; min-height: 0; position: relative; display: flex; }
.wpane-frame { flex: 1; min-height: 0; width: 100%; border: 0; background: var(--bg); display: block; }
.wpane-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: var(--s-2); color: var(--muted); font-size: var(--t-sm); background: var(--bg); }
.spin { width: 14px; height: 14px; border-radius: var(--r-full); border: 2px solid currentColor; border-top-color: transparent; animation: spin 700ms linear infinite; }
.wpane-blocked { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-3); padding: var(--s-5); text-align: center; }
.wpane-blocked .ico { color: var(--warn); }
.wpane-blocked p { margin: 0; max-width: 34ch; }
.wempty { display: flex; flex-direction: column; justify-content: center; height: 100%; }
@media (max-width: 900px) {
.wsplit { grid-template-columns: 1fr; grid-template-rows: minmax(140px, 26vh) minmax(0, 1fr); height: auto; }
.wlist { max-height: 26vh; }
.wview { min-height: 60vh; }
.wview.n3, .wview.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
}
@media (max-width: 700px) {
.wview.n1, .wview.n2, .wview.n3, .wview.n4 { grid-template-columns: 1fr; grid-template-rows: repeat(4, minmax(320px, 1fr)); }
.wview.n3 > .wpane:nth-child(3) { grid-column: auto; }
.wview { min-height: 0; }
}
[data-tip] { position: relative; }
[data-tip]::after {
content: attr(data-tip);
position: absolute; bottom: calc(100% + var(--s-2)); left: 50%; transform: translate(-50%, 2px);
z-index: 60; width: max-content; max-width: 260px;
background: var(--text); color: var(--bg);
padding: var(--s-2) var(--s-3); border-radius: var(--r-sm);
font-size: var(--t-sm); font-weight: 400; line-height: 1.4;
white-space: normal; text-align: left; box-shadow: var(--shadow-menu);
opacity: 0; pointer-events: none;
display: none;
transition: opacity var(--d-fast) var(--ease-enter), transform var(--d-fast) var(--ease-enter), display var(--d-fast) allow-discrete;
}
[data-tip]:hover::after, [data-tip]:focus-visible::after { display: block; opacity: 1; transform: translate(-50%, 0); }
@starting-style { [data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 0; transform: translate(-50%, 2px); } }
td:first-child [data-tip]::after, .sc-cell:first-child [data-tip]::after { left: 0; transform: translate(0, 2px); }
td:first-child [data-tip]:hover::after, .sc-cell:first-child [data-tip]:hover::after { transform: translate(0, 0); }
@starting-style { td:first-child [data-tip]:hover::after, .sc-cell:first-child [data-tip]:hover::after { transform: translate(0, 2px); } }
#confirm-dialog { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--panel); color: var(--text); padding: var(--s-5); max-width: min(90vw, 420px); box-shadow: var(--shadow-menu); }
#confirm-dialog::backdrop { background: rgba(8, 10, 14, .45); }
#confirm-dialog .q { margin: 0 0 var(--s-5); font-size: var(--t-lg); line-height: 1.45; }
#confirm-dialog .row { display: flex; justify-content: flex-end; gap: var(--s-2); }
#confirm-dialog[open] { animation: dialog-in var(--d-base) var(--ease-enter) both; }
#confirm-dialog[open]::backdrop { animation: fade-in var(--d-base) var(--ease-enter) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
#toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
body.has-tabbar #toasts { bottom: calc(var(--tabbar-h) + var(--s-4) + env(safe-area-inset-bottom)); }
.toast { background: var(--text); color: var(--bg); padding: var(--s-3) 16px; border-radius: 999px; font-weight: 600; font-size: var(--t-base); box-shadow: var(--shadow-menu); opacity: 0; transform: translateY(8px); transition: opacity var(--d-base) var(--ease), transform var(--d-base) var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast.bad { background: var(--bad); color: #fff; }
.pk:has(> select.quick-status) { min-width: 150px; }
.sc-head .ph-title h1 { letter-spacing: -0.5px; }
.sc-head .page-intro { font-size: var(--t-sm); max-width: 60ch; }
.sc-head .page-intro strong { color: var(--text); font-weight: 600; }
.sc-seg { display: inline-flex; align-items: stretch; height: var(--ctl-sm); background: var(--panel-2); border: 0; border-radius: var(--r-full); padding: var(--s-1); gap: 2px; }
.sc-seg a {
min-width: 52px; padding: 0 var(--s-3); display: inline-flex; align-items: center; justify-content: center;
border-radius: var(--r-full); color: var(--muted); font-size: var(--t-md); font-weight: 600;
font-variant-numeric: tabular-nums; line-height: 1;
transition: background var(--d-fast) var(--ease-move), color var(--d-fast) var(--ease-move), transform var(--d-instant) var(--ease);
}
.sc-seg a:hover { text-decoration: none; color: var(--text); }
.sc-seg a:active { transform: scale(.97); }
.sc-seg a.on { background: var(--panel); color: var(--text); box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) {
.sc-seg { background: var(--panel); }
.sc-seg a.on { background: var(--panel-2); }
}
@media (max-width: 700px) {
.sc-seg { max-width: 100%; }
.sc-seg a { flex: 1 1 0; min-width: 0; padding: 0 var(--s-2); }
}
.sc-note { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: var(--s-2) 12px; font-size: var(--t-sm); line-height: 1.5; margin-bottom: var(--s-4); }
.sc-note strong { font-variant-numeric: tabular-nums; }
.sc-panel { padding: var(--s-4); }
@media (max-width: 700px) { .sc-panel { padding: var(--s-3); } }
.sc-panel > .head { margin-bottom: 12px; }
.sc-cal { display: grid; grid-template-columns: minmax(84px, auto) repeat(8, minmax(0, 1fr)); grid-auto-rows: 67px; gap: 4px; align-items: stretch; }
.sc-cal > .sc-corner, .sc-cal > .sc-band { grid-row: 1; }
.sc-corner, .sc-band { font-size: var(--t-xs); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); padding: 0 0 2px; display: flex; align-items: flex-end; }
.sc-band { justify-content: center; font-variant-numeric: tabular-nums; }
.sc-daylabel { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; background: transparent; border: 0; border-right: 1px solid var(--border); border-radius: 0; padding: var(--s-2) var(--s-3) var(--s-2) 2px; text-align: left; color: var(--text); text-decoration: none; }
.sc-daylabel:hover { background: var(--panel-2); border-radius: 8px 0 0 8px; filter: none; text-decoration: none; }
.sc-daylabel.on { background: var(--accent-soft); border-radius: 8px 0 0 8px; }
.sc-daylabel.on .d { color: var(--accent); }
.sc-cell.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.sc-daylabel .d { font-weight: 700; font-size: var(--t-md); letter-spacing: -0.2px; }
.sc-daylabel .m, .sc-daylabel .v { font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.sc-daylabel .v { font-weight: 600; }
.sc-cell {
position: relative; min-height: 58px; padding: var(--s-1); border-radius: 8px; border: 1px solid var(--border);
background: color-mix(in srgb, var(--accent) calc(var(--heat, 0) * 42%), var(--panel));
display: flex; align-items: center; justify-content: center; gap: var(--s-1); flex-wrap: wrap; text-decoration: none;
transition: transform var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
}
.sc-cell:hover { text-decoration: none; filter: none; border-color: var(--field-hover); background: color-mix(in srgb, var(--accent) calc(var(--heat, 0) * 42% + 8%), var(--panel)); }
.sc-cell.empty { background: var(--panel-2); border-style: dashed; border-color: color-mix(in srgb, var(--border) 70%, transparent); }
.sc-cell.empty.out { background: transparent; border-color: transparent; }
.sc-stack { display: flex; align-items: center; }
.sc-stack .sc-ico { margin-left: -4px; box-shadow: 0 0 0 2px var(--panel); }
.sc-stack .sc-ico:first-child { margin-left: 0; }
.sc-more { font-size: var(--t-xs); font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: var(--s-1); }
.sc-hint { margin: 12px 0 0; }
.sc-ico { position: relative; display: inline-flex; align-items: center; justify-content: center; width: var(--s, 24px); height: var(--s, 24px); flex: none; border-radius: 50%; overflow: hidden; background: var(--accent-soft); color: var(--accent); font-size: calc(var(--s, var(--t-2xl)) * 0.44); font-weight: 700; line-height: 1; }
.sc-ico::after { content: attr(data-initial); }
.sc-ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--d-base) var(--ease); }
.sc-ico img.ok { opacity: 1; }
.sc-ico img.bad { display: none; }
.sc-split { display: grid; grid-template-columns: minmax(360px, 440px) minmax(0, 1fr); gap: 16px; align-items: start; }
.sc-pane { min-width: 0; display: grid; gap: 16px; }
.sc-left { position: sticky; top: 72px; }
.sc-daypanel { padding: 0; }
.sc-day-head { padding: var(--s-3) 16px; border-bottom: 1px solid var(--border); margin: 0; position: sticky; top: 0; background: var(--panel); z-index: 2; border-radius: var(--radius) var(--radius) 0 0; }
.sc-day-head h2 { font-size: var(--t-lg); letter-spacing: -0.3px; }
.sc-daypanel > .sc-list, .sc-daypanel > .empty { padding: 12px 16px 16px; }
.sc-summary { padding: var(--s-3) 16px; }
@media (max-width: 700px) {
.sc-summary { padding: var(--s-3); }
.sc-day-head { padding: var(--s-3); }
.sc-daypanel > .sc-list, .sc-daypanel > .empty { padding: var(--s-3) var(--s-3) var(--s-4); }
}
.sc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0; }
.sc-facts > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-facts dt { display: flex; align-items: center; gap: 4px; font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.sc-facts dt .ico { opacity: .7; }
.sc-facts dd { margin: 0; display: flex; flex-direction: column; gap: 1px; font-size: var(--t-xl); font-weight: 700; letter-spacing: -0.4px; font-variant-numeric: tabular-nums; }
.sc-of { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0; color: var(--muted); }
.sc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sc-item { display: grid; grid-template-columns: 26px 40px minmax(0, 1fr); gap: var(--s-2); align-items: start; padding: var(--s-3); border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2); }
.sc-rank { font-size: var(--t-sm); font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; padding-top: var(--s-3); }
.sc-rank.sm { padding-top: 0; }
.sc-item-main { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
.sc-item-main > * { min-width: 0; }
.sc-item-top { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; min-width: 0; }
.sc-name { font-weight: 700; font-size: var(--t-base); letter-spacing: -0.2px; overflow-wrap: anywhere; }
.sc-ticker { font-size: var(--t-sm); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.sc-cat { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.sc-cat.muted-cat { background: var(--mute-bg); color: var(--muted); }
.sc-contested, .sc-doubt { background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.sc-ca { display: flex; align-items: center; justify-content: space-between; height: var(--ctl-xs); gap: var(--s-2); width: 100%; text-align: left; background: var(--panel); border: 1px solid var(--field-border); border-radius: 8px; padding: var(--s-1) 8px; min-width: 0; }
.sc-ca:hover { filter: none; border-color: var(--accent); }
.sc-ca .mono { font-size: var(--t-xs); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-copy { font-size: var(--t-xs); font-weight: 700; color: var(--accent); flex: none; text-transform: uppercase; letter-spacing: .4px; }
.sc-ca.sm { padding: 0 var(--s-2); }
.sc-ca.sm .mono { font-size: var(--t-xs); }
.sc-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(96px, 100%), 1fr)); gap: var(--s-2) 12px; min-width: 0; }
.sc-metrics > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sc-metrics .k { display: flex; align-items: center; gap: 4px; font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.sc-metrics .k .ico { display: flex; align-items: center; gap: 4px; opacity: .75; }
.sc-metrics .v { font-size: var(--t-md); font-weight: 600; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 4px; min-width: 0; flex-wrap: wrap; }
.sc-delay { font-size: var(--t-xs); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.sc-flag { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: var(--warn-bg); color: var(--warn); font-size: var(--t-xs); font-weight: 800; flex: none; cursor: help; }
.sc-links { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.sc-recat { display: flex; gap: var(--s-1); align-items: center; margin-left: auto; min-width: 0; }
.sc-recat select { font-size: var(--t-sm); padding: var(--s-1) var(--s-2); min-width: 0; }
.sc-cats { display: grid; gap: var(--s-2); }
.sc-cat-row { border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2); overflow: hidden; }
.sc-cat-row.dim { opacity: .72; }
.sc-cat-row.dim:hover { opacity: 1; }
.sc-cat-row > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px minmax(0, 1fr) 76px 92px; grid-template-areas: "rank name n vol" "rank bar bar bar"; gap: 2px var(--s-2); align-items: center; padding: var(--s-3) 12px; }
.sc-cat-row > summary::-webkit-details-marker { display: none; }
.sc-cat-row > summary:hover { background: var(--panel); }
.sc-cat-rank { grid-area: rank; font-size: var(--t-md); font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.sc-cat-name { grid-area: name; display: flex; flex-direction: column; min-width: 0; }
.sc-cat-name .l { font-weight: 700; font-size: var(--t-base); letter-spacing: -0.2px; }
.sc-cat-name .b { line-height: 1.4; }
.sc-cat-n { grid-area: n; text-align: right; font-size: var(--t-md); font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-cat-n .u { color: var(--muted); font-weight: 400; font-size: var(--t-xs); }
.sc-cat-vol { grid-area: vol; text-align: right; font-size: var(--t-base); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.3px; }
.sc-bar { grid-area: bar; height: 4px; border-radius: 999px; background: var(--mute-bg); overflow: hidden; margin-top: 4px; }
.sc-bar > span { display: block; width: var(--w, 0%); height: 100%; border-radius: 999px; background: var(--accent); }
.sc-cat-row.dim .sc-bar > span { background: var(--muted); }
.sc-mini { list-style: none; margin: 0; padding: 2px 12px 12px; display: grid; gap: 4px; border-top: 1px solid var(--border); }
.sc-mini > li { display: grid; grid-template-columns: 22px 24px minmax(0, 1fr) 52px minmax(0, 140px) 78px; gap: 8px; align-items: center; padding: 4px 0; }
.sc-mini-name { display: flex; flex-direction: column; min-width: 0; }
.sc-mini-name .n { font-size: var(--t-sm); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-mini-name .t { font-size: var(--t-xs); color: var(--muted); }
.sc-mini-vol { text-align: right; font-size: var(--t-sm); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
.sc-split { grid-template-columns: minmax(0, 1fr); }
.sc-left { position: static; }
}
@media (max-width: 700px) {
.sc-cal-wrap { overflow-x: auto; overscroll-behavior-x: contain; margin: 0 -12px; padding: 0 var(--s-3); }
.sc-cal { grid-template-columns: 58px repeat(8, 60px); gap: var(--s-1); width: max-content; }
.sc-cell { flex-wrap: nowrap; overflow: hidden; min-height: 48px; padding: var(--s-1); }
.sc-stack .sc-ico:nth-child(3) { display: none; }
.sc-corner, .sc-daylabel { position: sticky; left: 0; z-index: 3; background: var(--panel); }
.sc-band:nth-child(odd) { visibility: hidden; }
.sc-stack .sc-ico { --s: 19px !important; margin-left: -8px; }
.sc-daylabel { padding: 4px var(--s-2) 4px 0; }
.sc-daylabel .d { font-size: var(--t-sm); }
.sc-daylabel .v { display: none; }
.sc-item { grid-template-columns: 20px 32px minmax(0, 1fr); gap: 8px; }
.sc-split { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.sc-left { position: static; }
.sc-cat-row > summary { grid-template-columns: 28px minmax(0, 1fr) 82px; grid-template-areas: "rank name vol" "rank n vol" "bar bar bar"; }
.sc-cat-n { text-align: left; }
.sc-mini > li { grid-template-columns: 18px 24px minmax(0, 1fr) 72px; }
.sc-mini > li .sc-ca, .sc-mini-day { display: none; }
.sc-recat { margin-left: 0; width: 100%; }
}
.sc-notes { display: grid; gap: var(--s-2); }
.sc-note-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.sc-note-item { background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: var(--s-2) var(--s-3); }
.sc-note-body { font-size: var(--t-md); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.sc-note-meta { display: flex; align-items: center; gap: 8px; margin-top: var(--s-1); font-size: var(--t-xs); color: var(--muted); }
.sc-note-meta .who { font-weight: 700; color: var(--text); }
.sc-note-meta form { margin-left: auto; }
.sc-note-del { height: auto; border: 0; background: none; color: var(--muted); font-size: var(--t-xs); padding: 0; }
.sc-note-del:hover { color: var(--bad); filter: none; text-decoration: underline; }
.sc-note-none { margin: 0; }
.sc-note-add > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--s-1); font-size: var(--t-sm); font-weight: 600; color: var(--accent); width: fit-content; padding: 2px 0; }
.sc-note-add > summary::-webkit-details-marker { display: none; }
.sc-note-add[open] > summary { color: var(--muted); }
.sc-note-add form { display: grid; gap: var(--s-2); margin-top: var(--s-2); }
.sc-note-add textarea { width: 100%; font: inherit; font-size: var(--t-md); padding: var(--s-2) var(--s-2); border-radius: 8px; border: 1px solid var(--field-border); background: var(--panel); color: var(--text); resize: vertical; }
.sc-note-add textarea:focus { outline: 2px solid var(--ring); outline-offset: 0; border-color: var(--accent); }
.sc-mini-day { font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.lb-filters { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-bottom: 16px; }
.lb-chip { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-1) var(--s-3); border-radius: 999px; border: 1px solid var(--border); background: var(--panel); color: var(--muted); font-size: var(--t-sm); font-weight: 600; transition: border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), background var(--d-fast) var(--ease); }
.lb-chip:hover { text-decoration: none; color: var(--text); border-color: var(--accent); }
.lb-chip.on { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.lb-chip .n { font-variant-numeric: tabular-nums; opacity: .7; font-weight: 700; }
.lb-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.lb-colhead, .lb-row-in {
display: grid;
grid-template-columns: 40px 36px minmax(120px, 1.4fr) 108px minmax(80px, 1fr) minmax(70px, .85fr) 68px minmax(66px, .8fr) minmax(66px, .8fr) 56px;
gap: var(--s-3); align-items: center;
}
.lb-colhead { padding: 0 var(--s-3) var(--s-2); border: 1px solid transparent; border-radius: 12px; font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.lb-colhead span, .lb-colhead span .ico { display: flex; align-items: center; gap: 4px; }
.lb-colhead .r { text-align: right; }
.sc-seg a.thin { opacity: .62; }
.sc-seg a.thin.on { opacity: 1; }
.sc-partial { margin-left: var(--s-1); color: var(--warn); font-weight: 700; }
.lb-sort { display: flex; align-items: baseline; justify-content: flex-end; gap: var(--s-1); color: inherit; text-decoration: none; border-radius: 4px; padding: 2px 0; }
.lb-sort:hover { color: var(--text); background: var(--panel-2); text-decoration: none; }
.lb-sort.on { color: var(--accent); }
.lb-arrow { display: inline-flex; font-size: var(--t-xs); line-height: 1; }
.lb-arrow.up .ico { transform: rotate(180deg); }
.lb-row-in .lb-delay { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.lb-ath-doubt { color: var(--warn); }
.lb-vol-doubt { color: var(--warn); }
.lb-row-in { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: var(--s-3) var(--s-3); color: var(--text); transition: border-color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease); }
.lb-row-in:hover { border-color: var(--field-hover); background: var(--panel-2); }
.lb-rank { display: flex; align-items: center; gap: 4px; font-size: var(--t-base); font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); }
.lb-rank.top { color: var(--text); }
a.lb-name { min-width: 0; display: flex; flex-direction: column; gap: 1px; color: var(--text); }
a.lb-name:hover { text-decoration: none; }
a.lb-name:hover .n { color: var(--accent); }
.lb-name .n { transition: color var(--d-fast) var(--ease); font-weight: 700; font-size: var(--t-base); letter-spacing: -0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-name .t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-2); font-size: var(--t-xs); color: var(--muted); font-weight: 600; }
.lb-ca { display: flex; align-items: center; height: var(--ctl-xs); gap: var(--s-2); background: var(--panel-2); border: 1px solid var(--field-border); border-radius: var(--r-sm); padding: 4px var(--s-2); font-family: var(--mono); font-size: var(--t-xs); color: var(--text); width: 100%; justify-content: space-between; }
.lb-ca:hover { filter: none; border-color: var(--accent); }
.lb-ca .c { font-size: var(--t-xs); font-weight: 700; color: var(--accent); letter-spacing: .4px; text-transform: uppercase; }
.lb-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: var(--t-md); }
.lb-num .sub { display: block; font-size: var(--t-xs); font-weight: 500; color: var(--muted); }
.lb-num.vol { font-size: var(--t-base); letter-spacing: -0.3px; }
.lb-when { text-align: right; font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-main { container: lbmain / inline-size; min-width: 0; display: grid; gap: 16px; }
@container lbmain (max-width: 880px) {
.lb-colhead, .lb-row-in { grid-template-columns: 38px 34px minmax(104px, 1.4fr) 100px minmax(72px, 1fr) minmax(66px, .9fr) 64px 56px; }
.lb-colhead .h-mcap, .lb-colhead .h-liq, .lb-row-in .lb-mcap, .lb-row-in .lb-liq { display: none; }
}
@container lbmain (max-width: 680px) {
.lb-colhead { display: none; }
.lb-row-in { grid-template-columns: 30px 34px minmax(0, 1fr); gap: var(--s-2); row-gap: 8px; }
.lb-row-in .lb-ca { grid-column: 2 / -1; }
.lb-row-in .lb-when, .lb-row-in .lb-ath, .lb-row-in .lb-delay { display: none; }
.lb-row-in .lb-num.vol { grid-column: 2 / -1; text-align: left; display: flex; align-items: baseline; gap: var(--s-2); }
.lb-row-in .lb-num.vol .sub { display: inline; white-space: nowrap; }
}
.lb-split { display: grid; grid-template-columns: minmax(0, 1fr) 334px; gap: 16px; align-items: start; }
.lb-side { min-width: 0; display: grid; gap: 16px; position: sticky; top: 72px; }
.lb-side .head h2 { font-size: var(--t-base); display: flex; align-items: center; gap: var(--s-2); }
.panel > .head h2 { display: flex; align-items: center; gap: var(--s-2); }
.panel > .head h2 .ico { color: var(--muted); flex: none; }
.lb-hours-note { margin: 0 0 var(--s-3); line-height: 1.5; }
.lb-hourlist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.lb-hour { display: grid; grid-template-columns: 22px 92px minmax(0, 1fr) 38px; gap: 8px; align-items: center; }
.lb-hour-rank { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: var(--r-sm); background: var(--panel-2); color: var(--muted); font-size: var(--t-xs); font-weight: 800; font-variant-numeric: tabular-nums; }
.lb-hour-rank.top { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.lb-hour-time { font-size: var(--t-sm); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.2px; }
.lb-hour-bar { height: 6px; border-radius: 999px; background: var(--mute-bg); overflow: hidden; }
.lb-hour-bar > span { display: block; width: var(--w, 0%); height: 100%; border-radius: 999px; background: var(--accent); }
.lb-hour-rate { text-align: right; font-size: var(--t-md); font-weight: 800; font-variant-numeric: tabular-nums; }
.lb-hour-sub { grid-column: 2 / -1; font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; margin-top: -4px; }
.lb-hours-thin { display: flex; align-items: center; gap: var(--s-1); margin: var(--s-3) 0 0; line-height: 1.4; }
.lb-hours-thin .ico { flex: none; }
.lb-catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
.lb-catitem { display: grid; grid-template-columns: minmax(0, 1fr) 58px 30px 22px; gap: var(--s-2); align-items: center; padding: var(--s-2) var(--s-2); border-radius: var(--r-sm); color: var(--text); }
.lb-catitem:hover { background: var(--panel-2); text-decoration: none; }
.lb-catitem .nm { font-size: var(--t-sm); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-catitem .vl { text-align: right; font-size: var(--t-sm); font-weight: 700; font-variant-numeric: tabular-nums; }
.lb-catitem .pc { text-align: right; font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-catitem .ct { text-align: right; font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-catitem-bar { grid-column: 2 / -1; height: 3px; border-radius: 999px; background: var(--mute-bg); overflow: hidden; margin-top: var(--s-1); }
.lb-catitem-bar > span { display: block; width: var(--w, 0%); height: 100%; border-radius: 999px; background: var(--accent); opacity: .85; }
.lb-cat-total { margin: var(--s-3) 0 0; }
.tz-form { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-1) var(--s-2) var(--s-1) var(--s-3); border: 1px solid var(--border); background: var(--panel); border-radius: 999px; }
.tz-form .ico { color: var(--muted); flex: none; }
.tz-form select { border: 0; background: none; color: var(--text); font: inherit; font-size: var(--t-sm); font-weight: 600; padding: 2px 0; cursor: pointer; max-width: 170px; }
.tz-form select:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
.tz-form:hover { border-color: var(--accent); }
.lb-name-cat { display: block; color: var(--muted); width: 100%; margin: 1px 0 0;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn .ico { margin-right: var(--s-1); }
@media (max-width: 1100px) {
.lb-split { grid-template-columns: minmax(0, 1fr); }
.lb-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
.lb-side { grid-template-columns: minmax(0, 1fr); }
.tz-form select { max-width: 130px; }
.lb-hour { grid-template-columns: 20px 82px minmax(0, 1fr) 34px; }
}
.lb-note-flag { display: inline-flex; align-items: center; gap: var(--s-1); margin-left: var(--s-2); padding: 0 var(--s-1); border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: var(--t-xs); font-weight: 700; font-variant-numeric: tabular-nums; }
.lb-note-flag .ico { flex: none; }
.sc-links a { display: inline-flex; align-items: center; gap: 4px; }
.lb-summary { color: var(--muted); font-size: var(--t-md); margin: 0 0 var(--s-4); }
.lb-summary strong { color: var(--text); font-variant-numeric: tabular-nums; }
.enum-plain { display: inline-flex; align-items: center; height: 20px; color: var(--muted); white-space: nowrap; }
.alerts > li { line-height: 20px; }
.alerts > li::before { content: ""; flex: none; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.alerts > li.bad::before { background: var(--bad); }
.alerts > li.warn::before { background: var(--warn); border: 2px solid var(--warn); }
.alerts-more > summary, .facts-unset > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--s-2); color: var(--muted); font-size: var(--t-md); width: fit-content; }
.alerts-more > summary { padding: var(--s-2) 0 0; }
.alerts-more > summary::-webkit-details-marker, .facts-unset > summary::-webkit-details-marker { display: none; }
.alerts-more > summary::after, .facts-unset > summary::after {
content: ""; width: 6px; height: 6px; flex: none; margin-top: -4px;
border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
transform: rotate(45deg); transition: transform var(--d-base) var(--ease);
}
.alerts-more[open] > summary::after, .facts-unset[open] > summary::after { transform: rotate(225deg); margin-top: var(--s-1); }
.alerts-more > summary:hover, .facts-unset > summary:hover { color: var(--text); }
.alerts-more .alerts { margin-top: var(--s-2); }
.facts-unset { margin-top: var(--s-3); border-top: 1px solid var(--border); padding-top: var(--s-3); }
.facts-unset dl.facts { margin-top: var(--s-3); }
.quiet-danger { background: none; border-color: transparent; color: var(--muted); }
.quiet-danger:hover { filter: none; color: var(--bad); background: var(--bad-bg); border-color: transparent; }
.chips { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) var(--s-4); padding: 0 var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chips > a, .chips > form > button {
flex: none; height: var(--chip-h); padding: 0 var(--s-4); border: 0;
display: inline-flex; align-items: center; gap: var(--s-2); cursor: pointer;
border-radius: var(--r-full); background: var(--panel-2); color: var(--text);
font-size: var(--t-base); font-weight: 600; white-space: nowrap; font-family: inherit;
transition: filter var(--d-fast) var(--ease), transform var(--d-instant) var(--ease);
}
.chips > a:hover, .chips > form > button:hover { filter: var(--hover); text-decoration: none; }
.chips > a:active, .chips > form > button:active { transform: scale(.97); }
.chips > a.on { background: var(--accent); color: var(--accent-ink); }
.chips .ico { opacity: .85; }
.chips > a.on .ico { opacity: 1; }
.hero { padding: var(--s-2) 0 var(--s-5); }
.hero .scope { display: inline-flex; align-items: center; gap: var(--s-1); color: var(--muted); font-size: var(--t-base); font-weight: 500; }
.hero .scope:hover { text-decoration: none; color: var(--text); }
.hero .n {
display: block; font-size: var(--hero); font-weight: 600; letter-spacing: -1.5px; color: var(--text);
line-height: 1.08; margin: var(--s-1) 0 var(--s-1); font-variant-numeric: tabular-nums;
}
.hero a.n:hover { text-decoration: none; }
.hero .delta { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; font-size: var(--t-lg); font-weight: 500; font-variant-numeric: tabular-nums; }
.hero .delta .quiet { color: var(--muted); font-size: var(--t-md); font-weight: 400; }
.delta.up { color: var(--good); } .delta.down { color: var(--bad); } .delta.flat { color: var(--muted); }
.hero .n * { color: var(--text); }
.cardlist { display: flex; flex-direction: column; gap: 0; background: var(--panel); border-radius: var(--r-group); padding: var(--s-2); margin-bottom: var(--s-2); }
.rowcard, .grow {
display: flex; align-items: center; gap: var(--s-3); min-width: 0; min-height: 56px;
padding: var(--s-3) var(--trail) var(--s-3) var(--s-4); color: var(--text);
}
.rowcard { background: var(--panel); border-radius: var(--r-row); transition: background var(--d-fast) var(--ease), filter var(--d-fast) var(--ease), transform var(--d-instant) var(--ease); }
.rowcard:hover { filter: var(--hover); text-decoration: none; }
.rowcard:active { transform: scale(.985); }
.cardlist > .rowcard { position: relative; background: transparent; padding: var(--s-3) var(--s-3) var(--s-3) var(--s-2); border-radius: var(--r-row); }
.cardlist > .rowcard:hover { background: var(--panel-2); filter: none; }
.cardlist > .rowcard + .rowcard::before {
content: ""; position: absolute; top: 0; right: var(--s-3);
left: calc(var(--s-2) + var(--avatar-sm) + var(--s-3));
border-top: 1px solid var(--border); pointer-events: none;
}
.cardlist > .rowcard:hover::before, .cardlist > .rowcard:hover + .rowcard::before { opacity: 0; }
.group { background: var(--panel); border-radius: var(--r-group); padding: var(--s-2); display: flex; flex-direction: column; }
.group > .grow { padding: var(--s-3) var(--s-3) var(--s-3) var(--s-2); }
.grow { border-radius: var(--r-row); transition: background var(--d-fast) var(--ease); }
.grow:hover { background: var(--panel-2); text-decoration: none; }
.avatar {
position: relative; flex: none; width: var(--avatar-sm); height: var(--avatar-sm);
border: 0; padding: 0; border-radius: var(--r-full); overflow: visible;
background: var(--panel-2); display: grid; place-items: center; cursor: pointer;
font-weight: 700; font-size: var(--t-lg); letter-spacing: -0.3px; color: var(--muted);
transition: filter var(--d-fast) var(--ease), transform var(--d-instant) var(--ease);
}
.avatar:hover { filter: var(--hover); text-decoration: none; }
.avatar:active { transform: scale(.94); }
.cardlist .avatar, .rowcard .avatar { color: var(--text); }
.avatar img, .avatar > svg { width: 100%; height: 100%; border-radius: var(--r-full); object-fit: cover; display: block; }
.avatar .ico { width: 20px; height: 20px; color: var(--muted); }
.avatar .rank {
position: absolute; right: -2px; bottom: -2px; min-width: 18px; height: 18px; padding: 0 4px;
border-radius: var(--r-full); background: var(--accent); color: var(--accent-ink);
font-size: var(--t-xs); font-weight: 700; display: grid; place-items: center;
box-shadow: 0 0 0 2px var(--panel); font-variant-numeric: tabular-nums;
}
.rowmain { flex: 1; min-width: 0; }
.rowmain .t { font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rowmain .s { font-size: var(--t-base); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.rowend { flex: none; text-align: right; }
.rowend .v { font-size: var(--t-lg); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.2px; }
.rowend .d { font-size: var(--t-base); font-variant-numeric: tabular-nums; margin-top: 1px; }
.rowend .d.muted { color: var(--muted); }
.rowend .ico { color: var(--muted); }
.none:not(.pk-opt) { color: var(--muted); font-size: var(--t-base); padding: var(--s-3) 0; }
@media (max-width: 900px) {
:root { --gutter: var(--s-4); }
main { max-width: var(--col); }
}
@media (min-width: 701px) and (max-width: 900px) { :root { --col: 640px; } }
@media (prefers-reduced-motion: reduce) {
.chips > a, .rowcard, .grow, .avatar { transition: none; }
}
ul.history { list-style: none; margin: 0; padding: 0; }
ul.history > li { padding: var(--s-2) 0; border-top: 1px solid var(--border); }
ul.history > li:first-child { border-top: 0; }
ul.changes { list-style: none; margin: var(--s-1) 0 0; padding: 0; overflow-wrap: anywhere; }
.badge { display: inline-block; min-width: 16px; margin-left: var(--s-1); padding: 0 var(--s-1); border-radius: 8px;
background: var(--bad); color: #fff; font-size: var(--t-xs); line-height: 16px; text-align: center; }
.badge[hidden] { display: none; }
.err-top { display: flex; align-items: center; gap: var(--s-4); }
.err-top .search { flex: 1; max-width: 420px; }
.inline-add { display: flex; gap: var(--s-2); margin-top: var(--s-2); }
.inline-add input[type=text] { flex: 1; min-width: 0; }
.board .col.empty .inline-add { display: none; }
th.sel, td.sel { width: 36px; }
.bulk-bar { position: sticky; bottom: var(--s-3); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-3); padding: var(--s-2) var(--s-3); background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-raised); }
.bulk-bar[hidden] { display: none; }
.bulk-bar .count { font-weight: 600; margin-right: var(--s-2); }
@media (max-width: 900px) { .bulk-bar { bottom: calc(var(--s-3) + var(--tabbar-h) + env(safe-area-inset-bottom)); } }
.bulk-bar input[type=text] { flex: 1 1 220px; min-width: 0; }
@media (max-width: 700px) {
.bulk-bar.settle-bar:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; }
.bulk-bar.settle-bar > * { min-width: 0; width: 100%; margin-right: 0; }
}
.board .card .card-sel { float: right; margin: 0 0 var(--s-1) var(--s-2); }
.board .card:has(.card-sel:checked) { border-color: var(--accent); }
.palette { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .35); display: flex; justify-content: center; align-items: flex-start; padding: 12vh var(--s-4) var(--s-4); }
.palette[hidden] { display: none; }
.pal-panel { width: min(640px, 100%); background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-menu); overflow: hidden; }
.pal-panel input[type=search] { width: 100%; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; height: var(--ctl-lg); padding: 0 var(--s-4); }
.pal-list { max-height: 60vh; overflow-y: auto; padding: var(--s-1) 0; }
.pal-bar { display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.pal-bar input[type=search] { flex: 1; min-width: 0; border: 0 !important; }
.pal-cancel { display: none; }
.pal-head { padding: var(--s-3) var(--s-4) var(--s-1); color: var(--muted); font-size: var(--t-sm); font-weight: 600; }
.pal-list a { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-4); color: var(--text); min-height: var(--ctl-lg); }
.pal-list a:hover { text-decoration: none; background: var(--panel-2); }
.pal-list a.on { background: var(--panel-2); }
.pal-ico { flex: none; display: grid; place-items: center; width: var(--ctl-sm); height: var(--ctl-sm); border-radius: var(--r-full); background: var(--panel-2); color: var(--muted); font-size: var(--t-sm); font-weight: 700; }
.pal-list a.on .pal-ico { background: var(--panel); }
.pal-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pal-main .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-list .s { color: var(--muted); font-size: var(--t-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-list .none { padding: var(--s-3) var(--s-4); color: var(--muted); }
dl.spend-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s-3) var(--s-4); margin: 0 0 var(--s-4); }
dl.spend-facts > div { display: flex; flex-direction: column; gap: var(--s-1); }
dl.spend-facts dt { color: var(--muted); font-size: var(--t-sm); }
dl.spend-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.paid-pop { position: relative; display: inline-block; }
.paid-pop > summary { list-style: none; cursor: pointer; }
.paid-pop > summary::-webkit-details-marker { display: none; }
.paid-pop[open] .paid-form { position: absolute; right: 0; top: calc(100% + var(--s-1)); z-index: 10; display: flex; gap: var(--s-2); padding: var(--s-2); background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-menu); }
.paid-pop .paid-form input[type=text] { width: 220px; }
.nowrap { white-space: nowrap; }
.pre-wrap { white-space: pre-wrap; }
.text-bad { color: var(--bad); }
.row.center { justify-content: center; }
.ruled { border-top: 1px solid var(--border); padding: var(--s-3) 0; }
.panel.bad { border-color: var(--bad); }
.panel.warn { border-color: var(--warn); }
.row > form.filters { margin-bottom: 0; }
.row.chips > form.filters { --ctl-row: var(--ctl-sm); }
textarea.code { font-family: var(--mono); font-size: var(--t-md); }
.brand-big img { border-radius: var(--r-md); }
.brand-big h1 { margin: 0; }
.login.offline { text-align: center; }
.login.offline img { display: block; margin: var(--s-2) auto var(--s-3); border-radius: var(--r-lg); }
.btn .ico:last-child { margin-right: 0; }
.connect-status .ok::after { content: ""; width: 8px; height: 4px; border: 2px solid currentColor; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out var(--d-fast) var(--ease-exit) both; }
::view-transition-new(root) { animation: vt-in var(--d-base) var(--ease-enter) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
.tab-slide, .tabbar .tab .ico, .whoami .name .ico, .iconbtn { transition: none; }
#content.shell-in { animation: none; }
::view-transition-group(tab-ind) { animation: none; }
}
.mob-only { display: none !important; }
@media (max-width: 900px) {
.mob-only { display: flex !important; }
.desk-only { display: none !important; }
}
.pct {
display: inline-flex; align-items: center; height: 24px; padding: 0 var(--s-2);
border-radius: var(--r-sm); font-size: var(--t-md); font-weight: 700; font-variant-numeric: tabular-nums;
}
.pct.up { background: var(--good-bg); color: var(--good); }
.pct.down { background: var(--bad-bg); color: var(--bad); }
.pct.flat { background: var(--panel-2); color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); margin-bottom: var(--s-3); max-width: 560px; }
.tiles a {
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-2);
min-height: 72px; padding: var(--s-3) var(--s-1);
border-radius: var(--r-row); background: var(--panel); color: var(--accent);
font-size: var(--t-sm); font-weight: 600; text-align: center; line-height: 1.2;
transition: filter var(--d-fast) var(--ease), transform var(--d-instant) var(--ease);
}
.tiles a span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.tiles a:hover { text-decoration: none; filter: var(--hover); }
.tiles a:hover span { color: var(--text); }
.tiles a:active { transform: scale(.95); }
.rowcard.owed { margin-bottom: var(--s-4); max-width: 560px; }
.fchips { display: contents; }
@media (max-width: 900px) {
.listhead { flex-wrap: nowrap; align-items: center; }
.listhead > div:first-child { flex: 1 1 auto; }
.listhead h1 { margin: 0; font-size: var(--t-2xl); letter-spacing: -0.4px; }
.panel:has(> form.filters) { background: none; border: 0; padding: 0; }
form.filters { display: block; }
form.filters input[type=search] {
width: 100%; height: var(--ctl-md); min-height: var(--ctl-md); border-radius: var(--r-full); border: 0;
background: var(--panel-2); padding: 0 var(--s-4); margin-bottom: var(--s-2);
}
.fchips {
display: flex; gap: var(--s-2); flex-wrap: nowrap; overflow-x: auto; align-items: center;
margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.fchips::-webkit-scrollbar { display: none; }
.fchips > * { flex: none !important; }
.fchips .pk .pk-trigger, .fchips select {
height: var(--ctl-md) !important; min-height: var(--ctl-md) !important; width: auto;
border: 0; border-radius: var(--r-full); background-color: var(--panel-2);
padding: 0 var(--s-3) 0 var(--s-4); font-size: var(--t-md); font-weight: 600;
}
.fchips > .btn { height: var(--ctl-md); min-height: var(--ctl-md); border-radius: var(--r-full); padding: 0 var(--s-4); font-size: var(--t-md); }
.fchips > .count { height: var(--ctl-md); padding-left: var(--s-1); white-space: nowrap; }
.cardlist.records { margin-top: var(--s-2); }
main > .row.spread:first-of-type h1, main > div[hidden] + .row.spread h1, .rechead h1 { font-size: var(--t-2xl); letter-spacing: -0.4px; }
.row.actions .btn, .row.actions summary.btn { height: var(--ctl-md); min-height: var(--ctl-md); padding: 0 var(--s-4); border-radius: var(--r-full); font-size: var(--t-base); }
.checklist li:not(.done) ~ li:not(.done) .muted.small { display: none; }
.checklist ul.next li { padding-top: var(--s-1); padding-bottom: var(--s-1); }
.checklist li.done .what { color: var(--muted); }
.hero.mob-only.col { display: block !important; }
.listhead > .row { flex: 0 1 auto; min-width: 0; }
.listhead form.filters.scope { margin: 0; min-width: 0; max-width: 100%; }
.listhead form.filters.scope .pk-trigger, .listhead form.filters.scope select { border: 0; border-radius: var(--r-full); background-color: var(--panel-2); height: var(--ctl-md); min-height: var(--ctl-md); max-width: 100%; }
.listhead form.filters.scope .pk, .listhead form.filters.scope select { min-width: 0; }
.listhead form.filters.scope .pk { max-width: 100%; }
.listhead form.filters.scope .pk-trigger { overflow: hidden; }
.spend-rows { margin-bottom: var(--s-4); }
dl.spend-facts { display: flex; flex-direction: column; gap: 0; background: var(--panel); border-radius: var(--r-group); padding: var(--s-2); margin: 0 0 var(--s-4); }
dl.spend-facts > div { display: flex; flex-direction: row; text-align: left; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 48px; padding: 0 var(--s-3) 0 var(--s-2); margin: 0; }
dl.spend-facts > div + div { box-shadow: inset 0 1px 0 var(--border); }
dl.spend-facts dt, dl.spend-facts dt a { color: var(--muted); font-size: var(--t-base); }
dl.spend-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.tiles.mob-only { display: grid !important; }
.tiles, .rowcard.owed { max-width: none; }
.listhead .row .btn, main > .row.spread .row > .btn { height: var(--ctl-md); min-height: var(--ctl-md); border-radius: var(--r-full); padding: 0 var(--s-4); font-size: var(--t-md); }
.sc-head .page-head .ph-actions {
flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--s-1); width: auto; max-width: none;
}
.sc-head .ph-actions::-webkit-scrollbar { display: none; }
.sc-head .page-head .ph-actions > * { flex: none; max-width: none; }
.sc-head .ph-actions .btn.sm { height: var(--ctl-md); min-height: var(--ctl-md); border: 0; border-radius: var(--r-full); background: var(--panel-2); padding: 0 var(--s-4); font-size: var(--t-md); font-weight: 600; }
.sc-head .ph-actions .btn.sm.on { background: var(--accent); color: var(--accent-ink); }
.panel:has(> .cardlist.mob-only) { background: none; border: 0; box-shadow: none; padding: 0; }
}
.skel { padding-top: var(--s-2); }
.sk { display: block; border-radius: var(--r-md); background: var(--panel-2); animation: sk-pulse 1.4s ease-in-out infinite; }
.sk-title { width: 40%; height: 28px; margin-bottom: var(--s-5); }
.sk-hero { width: 55%; height: 48px; margin-bottom: var(--s-5); border-radius: var(--r-lg); }
.sk-search { height: var(--ctl-md); border-radius: var(--r-full); margin-bottom: var(--s-4); }
.sk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); margin-bottom: var(--s-4); }
.sk-tiles .sk { height: 72px; border-radius: var(--r-row); }
.sk-list { background: var(--panel); border-radius: var(--r-group); padding: var(--s-2); }
.sk-row { display: flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: var(--s-3) var(--s-3) var(--s-3) var(--s-2); }
.sk-row + .sk-row { box-shadow: inset 0 1px 0 var(--border); }
.sk-av { flex: none; width: var(--avatar-sm); height: var(--avatar-sm); border-radius: var(--r-full); }
.sk-lines { flex: 1; display: flex; flex-direction: column; gap: var(--s-2); }
.sk-l1 { width: 64%; height: 16px; }
.sk-l2 { width: 40%; height: 12px; }
.sk-v { flex: none; width: 56px; height: 20px; border-radius: var(--r-full); }
.sk-row:nth-child(2n) .sk-l1 { width: 52%; }
.sk-row:nth-child(3n) .sk-l1 { width: 72%; }
@keyframes sk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
.crumbs { margin-bottom: var(--s-2); }
.rec-head { display: flex; align-items: center; gap: var(--s-3); min-width: 0; margin-bottom: var(--s-3); }
.rec-av { width: 48px; height: 48px; font-size: var(--t-xl); color: var(--text); }
.rec-id { min-width: 0; }
.rec-id h1 { margin: 0; font-size: var(--t-2xl); letter-spacing: -0.4px; line-height: 1.2; overflow-wrap: anywhere; }
.rec-sub { color: var(--muted); font-size: var(--t-base); margin-top: var(--s-1); }
.rec-figure { margin: 0 0 var(--s-4); }
.rec-n { font-size: var(--hero); font-weight: 600; letter-spacing: -1.5px; line-height: 1.08; font-variant-numeric: tabular-nums; }
.rec-n.in, .rowend .v.in, .cl-total.in { color: var(--good); }
.rec-tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-2); }
.rec-due, .rowend .d { color: var(--muted); font-size: var(--t-md); }
.rec-due.late, .rowend .d.late { color: var(--bad); font-weight: 600; }
.rec-bar { margin-bottom: var(--s-4); }
.rec-bar > div:first-child:empty { display: none; }
.rec-meta { margin: var(--s-3) 0 0; color: var(--muted); font-size: var(--t-sm); }
.rec-adds { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0; }
.rec-add > summary {
list-style: none; display: inline-flex; align-items: center; gap: var(--s-2); cursor: pointer;
height: var(--ctl-md); padding: 0 var(--s-4); border-radius: var(--r-full);
background: var(--panel-2); color: var(--text); font-size: var(--t-md); font-weight: 600;
transition: filter var(--d-fast) var(--ease), transform var(--d-instant) var(--ease);
}
.rec-add > summary::-webkit-details-marker { display: none; }
.rec-add > summary:hover { filter: var(--hover); }
.rec-add > summary:active { transform: scale(.97); }
.rec-add > summary .ico { color: var(--muted); }
.rec-add[open] { flex-basis: 100%; }
.rec-add[open] > summary { background: var(--accent-soft); color: var(--accent); }
.rec-add > .panel { margin-top: var(--s-2); animation: fold-in var(--d-fast) var(--ease) both; }
.rec-add > .panel > .head { display: none; }
.rec-history > summary { display: flex; align-items: baseline; gap: var(--s-2); cursor: pointer; list-style: none; }
.rec-history > summary::-webkit-details-marker { display: none; }
.rec-history > summary h2 { margin: 0; }
.rec-history[open] > summary { margin-bottom: var(--s-3); }
.records .cl-head {
display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3);
margin: var(--s-5) var(--s-1) var(--s-2); color: var(--muted); font-size: var(--t-md); font-weight: 600;
}
.records .cl-head:first-child { margin-top: var(--s-2); }
.cl-total { color: var(--text); font-variant-numeric: tabular-nums; }
.records { flex-direction: column; }
.records .cardlist { margin-bottom: 0; }
.rec-details:not(:has(> dl.facts > dt)) { background: none; border: 0; box-shadow: none; padding: 0; margin-bottom: var(--s-4); }
.rec-details:not(:has(> dl.facts > dt)) .rec-meta { margin-top: 0; }
.rec-details .facts-unset > summary { color: var(--muted); font-size: var(--t-sm); }
.rec-controls { margin: 0 0 var(--s-4); }
.rec-controls:empty { display: none; }
.rec-controls > .grow { justify-content: space-between; flex-wrap: wrap; gap: var(--s-3); min-height: 56px; padding-top: var(--s-2); padding-bottom: var(--s-2); }
.rec-controls > .grow + .grow { box-shadow: inset 0 1px 0 var(--border); border-radius: 0; }
.rec-controls > .grow:hover { background: none; }
.rec-controls .k { flex: none; white-space: nowrap; color: var(--muted); font-size: var(--t-base); }
.rec-controls .cv { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: var(--s-2); min-width: 0; text-align: right; }
.rec-controls .cv form { margin: 0; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
.rec-controls .cv form > * { min-width: 0; max-width: 100%; }
.rec-controls .cv .pk { display: inline-flex; justify-content: flex-end; width: auto; flex: none; }
.rec-controls .cv select, .rec-controls .cv .pk-trigger, .rec-controls .cv input[type=date] {
height: var(--ctl-md); min-height: var(--ctl-md); border: 0; border-radius: var(--r-full);
background-color: var(--panel-2); font-weight: 600; font-size: var(--t-md); width: auto;
}
.rec-add.primary > summary { background: var(--accent); color: var(--accent-ink); }
.rec-add.primary > summary .ico { color: var(--accent-ink); }
.rec-add > .panel form.inline { margin-top: var(--s-2); }
.rec-chip {
display: inline-flex; align-items: center; gap: var(--s-2);
height: var(--ctl-md); min-height: var(--ctl-md); padding: 0 var(--s-4); border: 0; border-radius: var(--r-full);
background: var(--panel-2); color: var(--text); font-size: var(--t-md); font-weight: 600;
}
.rec-chip .ico { color: var(--muted); }
.rec-delete { margin: var(--s-2) 0 var(--s-4); }
.rec-page { max-width: 760px; }
form.quick .amount-field .amt {
display: flex; align-items: center; gap: var(--s-2);
padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4);
border: 1px solid var(--field-border); border-radius: var(--r-lg); background: var(--panel);
}
form.quick .amount-field .amt:focus-within { border-color: var(--accent); }
form.quick .amount-field input.amt-n {
flex: 1; min-width: 0; width: auto; height: 64px; border: 0; padding: 0; background: none; box-shadow: none;
font-size: var(--hero); font-weight: 600; letter-spacing: -0.8px; font-variant-numeric: tabular-nums;
}
form.quick .amount-field input.amt-n:focus { outline: none; }
form.quick .amount-field input.amt-cur {
flex: none; width: 88px; height: var(--ctl-md); min-height: var(--ctl-md); border: 0; border-radius: var(--r-full);
background: var(--panel-2); text-align: center; text-transform: uppercase; font-weight: 700; font-size: var(--t-base);
}
form.quick fieldset.chipset { border: 0; margin: 0; padding: 0; min-width: 0; }
form.quick fieldset.chipset[hidden] { display: none; }
form.quick fieldset.chipset > legend { padding: 0; margin-bottom: var(--s-1); font-weight: 600; font-size: var(--t-md); }
form.quick .chiprow {
display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
margin: 0 calc(var(--s-3) * -1); padding: var(--s-1) var(--s-3);
}
form.quick .chiprow::-webkit-scrollbar { display: none; }
form.stack.quick label.chip { position: relative; display: inline-flex; flex: none; gap: 0; font-weight: 600; cursor: pointer; }
form.stack.quick label.chip > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
form.quick label.chip > span {
display: inline-flex; align-items: center; gap: var(--s-2); height: var(--ctl-md); padding: 0 var(--s-4);
border-radius: var(--r-full); background: var(--panel-2); color: var(--text); font-size: var(--t-md); white-space: nowrap;
transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease), transform var(--d-instant) var(--ease);
}
form.quick label.chip:active > span { transform: scale(.96); }
form.quick label.chip > input:checked + span { background: var(--accent); color: var(--accent-ink); }
form.quick label.chip > input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
form.quick .chip-av {
display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: calc(var(--s-2) * -1);
border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent); font-size: var(--t-xs); font-weight: 700;
}
form.quick label.chip > input:checked + span .chip-av { background: var(--accent-ink); color: var(--accent); }
form.quick .date-quick { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
form.quick .date-quick > input[type=date], form.quick .date-quick > .dp { flex: 1 1 160px; min-width: 0; }
form.quick button.datechip {
height: var(--ctl-md); min-height: var(--ctl-md); padding: 0 var(--s-4); border: 0; border-radius: var(--r-full);
background: var(--panel-2); color: var(--text); font-size: var(--t-md); font-weight: 600;
}
form.quick button.datechip.on { background: var(--accent); color: var(--accent-ink); }
form.quick [hidden] { display: none !important; }
form.stack.rec > fieldset.wide, form.stack.rec > div.wide { grid-column: 1 / -1; }
form.stack input::placeholder, form.stack textarea::placeholder { font-weight: 400; }
.rec-sub .pill { vertical-align: 1px; }
.proj-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-2); margin: 0 0 var(--s-3); }
.proj-figures .pf {
display: flex; flex-direction: column; gap: var(--s-1); min-width: 0;
padding: var(--s-3) var(--s-4); border-radius: var(--r-row); background: var(--panel); color: var(--text);
transition: filter var(--d-fast) var(--ease), transform var(--d-instant) var(--ease);
}
.proj-figures .pf:hover { filter: var(--hover); text-decoration: none; }
.proj-figures .pf:active { transform: scale(.98); }
.proj-figures .pf:first-child { grid-column: 1 / -1; }
.proj-figures .k { color: var(--muted); font-size: var(--t-sm); }
.proj-figures .n { font-size: var(--t-2xl); font-weight: 600; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.proj-figures .pf:first-child .n { font-size: var(--hero); letter-spacing: -1.5px; }
.proj-figures .s { color: var(--muted); font-size: var(--t-md); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 901px) { .proj-figures { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; } .proj-figures .pf:first-child { grid-column: auto; } .proj-figures .pf:first-child .n { font-size: var(--t-2xl); } }
.proj-ready { margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-4); border-radius: var(--r-row); background: var(--panel); max-width: 960px; }
.proj-ready .progress { margin-top: 0; }
.pr-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-2); font-size: var(--t-base); }
.pr-next { color: var(--muted); }
.pr-next a { font-weight: 600; }
.good-ink { color: var(--good); }
.pr-all > summary { cursor: pointer; color: var(--muted); font-size: var(--t-md); margin-top: var(--s-2); }
.pr-all[open] > summary { margin-bottom: var(--s-2); }
.pr-all .checklist { background: none; border: 0; padding: 0; }
.proj-about > summary { display: flex; align-items: baseline; gap: var(--s-2); cursor: pointer; list-style: none; }
.proj-about > summary::-webkit-details-marker { display: none; }
.proj-about > summary h2 { margin: 0; }
.proj-about[open] > summary { margin-bottom: var(--s-3); }
.rel > .head .iconbtn.sm-add { width: var(--ctl-sm); height: var(--ctl-sm); }
.rel .records .cardlist { background: var(--panel-2); }
.panel.section .rel .records { margin-top: var(--s-2); }
.more-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-2); font-size: var(--t-md); }
.more-links a { display: inline-flex; align-items: center; gap: var(--s-1); font-weight: 600; }
.more-links a.muted { color: var(--muted); font-weight: 400; }
@media (max-width: 900px) {
.panel.section { background: none; border: 0; box-shadow: none; padding: 0; }
.panel.section > .head h2 { font-size: var(--t-xl); }
.rel .records .cardlist { background: var(--panel); }
.rel > .head .titled .muted.small { display: none; }
.rel > .head .titled .hico { display: none; }
}
@media (min-width: 701px) { .rechead details.dd > .dd-panel { left: 0; right: auto; } }
.chips.mob-only form.inline { display: contents; }
.coinrows .rowend .d { margin-top: var(--s-1); }
.coinrows .pct { height: 20px; font-size: var(--t-sm); }
.admin-seg { height: var(--ctl-md); margin: 0 0 var(--s-4); }
.admin-seg a { padding: 0 var(--s-4); }
.admin-tabs:not([data-tab]):has(:target) > .admin-tab:not(:target):not(:has(:target)) { display: none; }
.admin-tabs:not([data-tab]):not(:has(:target)) > .admin-tab:not(:first-child) { display: none; }
.admin-tabs[data-tab] > .admin-tab { display: none; }
.admin-tabs[data-tab="team"] > #team, .admin-tabs[data-tab="integrations"] > #integrations, .admin-tabs[data-tab="api-keys"] > #api-keys { display: block; }
.mrows details.mrow > summary { list-style: none; cursor: pointer; }
.mrows details.mrow > summary::-webkit-details-marker { display: none; }
.mrows details.mrow + details.mrow > summary { box-shadow: inset 0 1px 0 var(--border); }
.mrows .mrow-acts { display: flex; flex-wrap: wrap; gap: var(--s-2); padding: 0 var(--s-3) var(--s-3) calc(var(--s-2) + var(--avatar-sm) + var(--s-3)); }
.mrows .mrow-acts .rowfold { flex-basis: 100%; }
.wf-rows .rowmain .t { display: flex; gap: var(--s-1); min-width: 0; }
.wf-rows .rowmain .t .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wf-rows .rowmain .t .muted { flex: none; font-weight: 500; }
.set-row { margin-bottom: var(--s-3); }
.set-row > summary { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); cursor: pointer; list-style: none; }
.set-row > summary::-webkit-details-marker { display: none; }
.set-row > summary h2 { margin: 0; font-size: var(--t-lg); }
.set-row > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-left: var(--s-2); border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform var(--d-fast) var(--ease); align-self: center; }
.set-row[open] > summary::after { transform: rotate(45deg); }
.set-row > summary .muted { margin-left: auto; text-align: right; }
.set-row[open] > summary { margin-bottom: var(--s-3); }
.set-row h3 { margin: var(--s-4) 0 var(--s-2); }
.connect-fold .connect-hero { margin: 0; }
.mrows .mrow-acts form.row { flex: 1 1 100%; flex-wrap: nowrap; } .mrows .mrow-acts form.row select { flex: 1; min-width: 0; }
@media (max-width: 900px) {
.col-chips { margin-bottom: var(--s-3); }
.col-chips a { text-transform: capitalize; }
.col-chips a .muted { font-weight: 400; }
.col-chips a.on { background: var(--accent); color: var(--accent-ink); }
.col-chips a.on .muted { color: var(--accent-ink); opacity: .8; }
.board .col:not(.empty) { flex: 0 0 100%; }
.board .col.empty { display: none; }
.board .col > h3 { display: none; }
.board .card { border: 0; border-radius: var(--r-row); padding: var(--s-3) calc(var(--ctl-md) + var(--s-4)) var(--s-3) var(--s-4); margin-bottom: var(--s-2); }
.board .card .meta { gap: var(--s-1) var(--s-2); }
.board .move, .board .pk:has(> select.move) { width: auto; display: inline-block; margin-top: var(--s-2); }
.board .pk:has(> select.move) .pk-trigger, .board select.move {
height: var(--ctl-sm); min-height: var(--ctl-sm); width: auto; border: 0; border-radius: var(--r-full);
background-color: var(--panel-2); font-size: var(--t-sm); padding: 0 var(--s-3);
}
.board .card > a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; }
.board .move-btn {
display: grid; place-items: center; position: absolute; top: var(--s-2); right: var(--s-2);
width: var(--ctl-md); height: var(--ctl-md); border-radius: var(--r-full); background: var(--panel-2); color: var(--muted);
}
.board .move-btn select.move { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; display: block; margin: 0; cursor: pointer; }
.board .card .card-sel { display: none; }
body.selecting .board .card .card-sel { display: inline-block; float: none; position: absolute; left: var(--s-2); top: var(--s-3); }
body.selecting .board .card { padding-left: calc(var(--s-4) + 28px); }
body.selecting .board .move-btn { display: none; }
.select-mode { margin: 0 0 var(--s-3); }
body.selecting .select-mode { background: var(--accent); color: var(--accent-ink); }
.board .col.clipped > .card:nth-of-type(n+31) { display: none; }
.board .col .show-all { width: 100%; margin: var(--s-1) 0 var(--s-2); }
}
@media (min-width: 901px) {
.board .move, .board .pk:has(> select.move) { display: none !important; }
.board .card:focus-within .move-btn, .board .card:hover .move-btn { display: inline-block; }
.board .move-btn { position: absolute; top: var(--s-2); right: var(--s-2); }
.board .move-btn .ico { display: none; }
.board .card:focus-within .move-btn select.move, .board .card:hover .move-btn select.move { display: block !important; }
}
.chip.select-mode { height: var(--ctl-md); margin: 0 0 var(--s-3); padding: 0 var(--s-4); border: 0; border-radius: var(--r-full); background: var(--panel-2); color: var(--text); font-weight: 600; font-size: var(--t-md); }
@media (max-width: 900px) { .col-chips a.zero { opacity: .45; pointer-events: none; } }
.cardlist > details > .rowcard { background: transparent; padding: var(--s-3) var(--s-3) var(--s-3) var(--s-2); border-radius: var(--r-row); }
.act-row { position: relative; padding: 0; overflow: hidden; isolation: isolate; }
.cardlist > .act-row { padding: 0; }
.act-row > .row-link {
display: flex; align-items: center; gap: var(--s-3); flex: 1; min-width: 0; color: var(--text);
padding: var(--s-3) var(--s-2) var(--s-3) var(--s-2);
transform: translateX(var(--dx, 0px)); transition: transform var(--d-base) var(--ease);
}
.act-row > .row-link:hover { text-decoration: none; }
.rowcard.act-row:not(.cardlist > *) > .row-link { padding-left: var(--s-4); }
.act-row.swiping > .row-link { transition: none; }
.row-act, .row-act-gap { flex: none; width: var(--ctl-md); height: var(--ctl-md); margin-right: var(--s-3); }
.row-act {
display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--r-full); cursor: pointer;
background: var(--panel-2); color: var(--muted);
transform: translateX(var(--dx, 0px));
transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease), transform var(--d-base) var(--ease);
}
.act-row.swiping > .row-act { transition: none; }
.row-act:hover { color: var(--text); }
.row-act:active { transform: scale(.9); }
.row-act.done:hover, .act-row.armed .row-act.done { background: var(--good-bg); color: var(--good); }
.row-act.pay:hover, .act-row.armed .row-act.pay { background: var(--accent-soft); color: var(--accent); }
.act-row[data-swipe]::before {
content: "Done"; position: absolute; z-index: -1; inset: 0; display: flex; align-items: center; justify-content: flex-end;
padding-right: var(--s-5); background: var(--good-bg); color: var(--good); font-weight: 700; font-size: var(--t-md);
opacity: 0; transition: opacity var(--d-fast) var(--ease);
}
.act-row[data-swipe="pay"]::before { content: "Paid"; background: var(--accent-soft); color: var(--accent); }
.act-row.swiping::before { opacity: .6; }
.act-row.armed::before { opacity: 1; }
.rowcard.acting { opacity: .6; }
.rowcard.gone { opacity: 0; transform: translateX(-24px); transition: opacity var(--d-base) var(--ease), transform var(--d-base) var(--ease); }
.act-row > .card-sel { display: none; flex: none; order: -1; margin: 0 0 0 var(--s-3); }
body.selecting .act-row > .card-sel { display: block; }
body.selecting .act-row > .row-act { display: none; }
body.selecting .act-row > .row-act-gap { display: none; }
@media (prefers-reduced-motion: reduce) { .act-row > .row-link, .row-act, .rowcard.gone { transition: none; } }
.offline-bar {
position: fixed; z-index: 45; left: 50%; transform: translateX(-50%);
bottom: calc(var(--tabbar-h) + var(--s-3) + env(safe-area-inset-bottom));
padding: var(--s-2) var(--s-4); border-radius: var(--r-full);
background: var(--text); color: var(--bg); font-size: var(--t-md); font-weight: 600;
animation: fold-in var(--d-base) var(--ease) both;
}
@media (min-width: 901px) { .offline-bar { bottom: var(--s-5); } }
.ptr {
position: fixed; z-index: 25; left: 50%; top: calc(env(safe-area-inset-top) + var(--s-7));
width: var(--ctl-md); height: var(--ctl-md); margin-left: calc(var(--ctl-md) / -2); border-radius: var(--r-full);
background: var(--panel); box-shadow: var(--shadow-menu); display: grid; place-items: center;
transform: translateY(calc(var(--pull, 0px) - 64px)); opacity: 0; pointer-events: none;
}
.ptr.on { opacity: 1; }
.ptr span { width: 16px; height: 16px; border-radius: var(--r-full); border: 2px solid var(--muted); border-top-color: transparent; transform: rotate(calc(var(--pull, 0px) * 4)); }
.ptr.ready span { border-color: var(--accent); border-top-color: transparent; }
.ptr.loading span { animation: spin 700ms linear infinite; }
.pager .more { gap: var(--s-2); }
.pager .more[aria-busy="true"] { opacity: .6; pointer-events: none; }
.pager:has(> .more:only-child) { justify-content: center; }
.records > .cl-group:first-child > .cl-head { margin-top: var(--s-2); }
.records > .cl-group:not(:first-child) > .cl-head { margin-top: var(--s-5); }
.rowcard .avatar svg { width: var(--s-4); height: var(--s-4); }
.rowcard.unread .t { font-weight: 700; }
.records.inbox .rowcard:not(.unread) { color: var(--muted); }
.new-dot { display: inline-block; width: var(--s-2); height: var(--s-2); border-radius: var(--r-full); background: var(--accent); }
.records.inbox { max-width: 760px; }
@media (max-width: 900px) {
.panel:has(> .records.mob-only) { background: none; border: 0; box-shadow: none; padding: 0; }
.cal-next:has(> .cardlist.mob-only) { background: none; border: 0; box-shadow: none; padding: 0; }
}
.feed .rowmain .t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: var(--t-md); line-height: 1.3; }
@media (max-width: 900px) {
.cal-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
.cal-chips::-webkit-scrollbar { display: none; }
.cal-chips > * { flex: none; }
.cal-legend > span { display: none; }
.cal-chips form.filters { display: contents; }
.cal-chips select {
height: var(--ctl-md); min-height: var(--ctl-md); width: auto; border: 0; border-radius: var(--r-full);
background-color: var(--panel-2); padding: 0 var(--s-3) 0 var(--s-4); font-size: var(--t-md); font-weight: 600;
}
.cal-chips > .btn { height: var(--ctl-md); min-height: var(--ctl-md); }
}
.money-cols { display: grid; gap: var(--s-4); margin-top: var(--s-4); --bar-out: var(--muted); }
.money-col { display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; }
.money-col > .panel { margin: 0; }
@media (min-width: 901px) { .money-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.mlist { display: flex; flex-direction: column; }
.mlist > .cl-head { margin-top: 0; }
.mlist > .cl-head h2 { margin: 0; font-size: var(--t-lg); color: var(--text); }
.legend { display: inline-flex; gap: var(--s-3); font-size: var(--t-sm); color: var(--muted); }
.legend .lk { display: inline-flex; align-items: center; gap: var(--s-1); }
.legend .lk::before { content: ""; width: var(--s-2); height: var(--s-2); border-radius: var(--r-full); background: var(--bar-out); }
.legend .lk.in::before { background: var(--good); }
.mchart { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-2); align-items: end; height: 160px; padding-top: var(--s-2); }
.mcol { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); height: 100%; }
.mbars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: var(--s-1); }
.mbars .b { width: min(40%, var(--s-5)); height: var(--h, 0%); min-height: 2px; border-radius: var(--r-sm) var(--r-sm) 0 0; background: var(--bar-out); opacity: .55; transition: height var(--d-slow) var(--ease); }
.mbars .b.in { background: var(--good); opacity: 1; }
.mcol .ml { font-size: var(--t-sm); color: var(--muted); }
.mcol:last-child .ml { color: var(--text); font-weight: 600; }
.mnet { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: baseline; margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--border); font-size: var(--t-md); font-variant-numeric: tabular-nums; }
.mnet .net { font-weight: 700; }
.net.up { color: var(--good); } .net.down, .rowend .v.down { color: var(--bad); }
.shares { display: flex; flex-direction: column; gap: var(--s-1); }
.share { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-2) 0; color: inherit; }
.share:hover { text-decoration: none; filter: var(--hover); }
.share .st { display: flex; justify-content: space-between; gap: var(--s-3); font-size: var(--t-md); }
.share .sl { font-weight: 600; text-transform: capitalize; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share .sv { font-variant-numeric: tabular-nums; white-space: nowrap; }
.share .track { height: var(--s-2); border-radius: var(--r-full); background: var(--panel-2); overflow: hidden; }
.share .fill { height: 100%; width: var(--w, 0%); border-radius: var(--r-full); background: var(--accent); }
.share .fill.in { background: var(--good); }
.rowmain .s .owed { color: var(--warn); font-weight: 600; }
.settle-chip { flex: none; display: flex; align-items: center; padding-right: var(--s-3); }
.settle-chip .chip { height: var(--ctl-sm); padding: 0 var(--s-4); border: 0; border-radius: var(--r-full); background: var(--accent); color: var(--accent-ink); font-weight: 700; cursor: pointer; }
.settle-chip .chip:active { transform: scale(.97); }
@media (max-width: 900px) {
.palette.sheet { padding: 0; background: var(--bg); align-items: stretch; animation: sheet-in var(--d-fast) var(--ease-enter); }
.palette.sheet .pal-panel { width: 100%; height: 100%; display: flex; flex-direction: column; border: 0; border-radius: 0; box-shadow: none; background: var(--bg); }
.palette.sheet .pal-bar { gap: var(--s-2); padding: calc(env(safe-area-inset-top) + var(--s-3)) var(--gutter) var(--s-3); border: 0; }
.palette.sheet .pal-bar input[type=search] { height: var(--ctl-md); border-radius: var(--r-full); background: var(--panel-2); padding: 0 var(--s-4); font-size: var(--t-lg); }
.palette.sheet .pal-cancel { display: inline-flex; align-items: center; height: var(--ctl-md); padding: 0 var(--s-1); border: 0; background: none; color: var(--accent); font-weight: 600; cursor: pointer; }
.palette.sheet .pal-list { flex: 1; max-height: none; padding: 0 var(--gutter) calc(env(safe-area-inset-bottom) + var(--s-4)); overscroll-behavior: contain; }
.palette.sheet .pal-head { padding: var(--s-4) var(--s-1) var(--s-2); font-size: var(--t-md); }
.palette.sheet .pal-list a { padding: var(--s-2) var(--s-2); border-radius: var(--r-row); min-height: 56px; }
.palette.sheet .pal-ico { width: var(--ctl-md); height: var(--ctl-md); font-size: var(--t-md); }
html.pal-open, html.pal-open body { overflow: hidden; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(var(--s-4)); } to { opacity: 1; transform: none; } }
.search-rows { display: flex; max-width: 760px; }
.search-rows .rowmain .s mark { background: var(--accent-soft); color: inherit; border-radius: var(--r-sm); }
.records .cl-head .muted { font-weight: 400; }
.page-head { margin-bottom: var(--s-4); }
.page-head .listhead { margin-bottom: 0; }
.ph-title { display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
.ph-title h1 { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-count { color: var(--muted); font-weight: 500; font-size: var(--t-lg); letter-spacing: 0; white-space: nowrap; }
.page-intro { margin: var(--s-2) 0 0; max-width: 72ch; }
.ph-info { width: var(--ctl-sm); height: var(--ctl-sm); min-height: var(--ctl-sm); color: var(--muted); }
.ph-info[aria-expanded="true"] { color: var(--accent); background: var(--accent-soft); }
@media (max-width: 900px) {
.page-head { margin-bottom: var(--s-3); }
.page-intro { display: none; }
.page-intro.shown { display: block; animation: sheet-in var(--d-fast) var(--ease-enter); }
}
td.sum-lead > div { margin-top: var(--s-1); }
@media (max-width: 900px) {
.page-head .listhead { flex-wrap: wrap; row-gap: var(--s-2); }
.page-head .ph-actions { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.page-head .ph-actions > * { min-width: 0; max-width: 100%; }
}
@media (max-width: 900px) {
.page-head .ph-actions .btn, .page-head .ph-actions select, .page-head .ph-actions button { height: var(--ctl-md); min-height: var(--ctl-md); }
}
@media (max-width: 900px) {
.sc-days { flex-direction: column; gap: var(--s-1); }
.sc-days-bands {
display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-1);
padding: 0 var(--s-3); color: var(--muted); font-size: var(--t-xs); font-weight: 700;
font-variant-numeric: tabular-nums; letter-spacing: .5px;
}
.sc-dayrow {
display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "dn dv" "strip strip";
align-items: baseline; gap: var(--s-2) var(--s-3); padding: var(--s-3); border-radius: var(--r-row); color: var(--text);
transition: background var(--d-fast) var(--ease), transform var(--d-instant) var(--ease);
}
.sc-dayrow:hover { text-decoration: none; background: var(--panel-2); }
.sc-dayrow:active { transform: scale(.985); }
.sc-dayrow.on { background: var(--accent-soft); }
.sc-dayrow .dn { grid-area: dn; display: flex; align-items: baseline; gap: var(--s-2); min-width: 0; }
.sc-dayrow .d { font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.2px; }
.sc-dayrow.on .d { color: var(--accent); }
.sc-dayrow .m { font-size: var(--t-md); color: var(--muted); white-space: nowrap; }
.sc-dayrow .dv { grid-area: dv; display: flex; align-items: baseline; gap: var(--s-2); font-size: var(--t-md); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-dayrow .dv .n { font-weight: 600; }
.sc-dayrow .dv .u { color: var(--muted); }
.sc-strip { grid-area: strip; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--s-1); }
.sc-hc {
height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--border);
background: color-mix(in srgb, var(--accent) calc(var(--heat, 0) * 42%), var(--panel));
font-size: var(--t-md); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text);
}
.sc-hc.empty { background: var(--panel-2); border-style: dashed; border-color: color-mix(in srgb, var(--border) 70%, transparent); }
.sc-hc.empty.out { background: transparent; border-color: transparent; }
.sc-dayrow.on .sc-hc:not(.empty) { border-color: var(--accent); }
.sc-av { background: none; }
.sc-av .sc-ico { --s: 40px; }
.sc-row .pct, .lb-cards .pct { height: 20px; font-size: var(--t-sm); white-space: nowrap; }
.sc-row .rowend .d, .lb-cards .rowend .d { margin-top: var(--s-1); }
.sc-row .rowmain .t, .lb-cards .rowmain .t { font-size: var(--t-base); font-weight: 700; }
.sc-row .rowmain .s, .lb-cards .rowmain .s { font-size: var(--t-md); }
.sc-catcard { position: relative; border-radius: var(--r-row); }
.sc-catcard > summary { list-style: none; cursor: pointer; }
.sc-catcard > summary::-webkit-details-marker { display: none; }
.sc-catcard + .sc-catcard::before {
content: ""; position: absolute; top: 0; right: var(--s-3);
left: calc(var(--s-2) + var(--avatar-sm) + var(--s-3));
border-top: 1px solid var(--border); pointer-events: none;
}
.sc-catcard[open] { background: var(--panel-2); }
.sc-catcard[open]::before, .sc-catcard[open] + .sc-catcard::before { opacity: 0; }
.sc-catcards .rowmain .t { font-size: var(--t-base); font-weight: 700; }
.sc-catcards .rowmain .s { font-size: var(--t-md); }
.sc-catrank { background: var(--accent-soft); font-size: var(--t-md); font-variant-numeric: tabular-nums; }
.cardlist .sc-catrank { color: var(--accent); }
.cardlist .sc-catcard.dim .sc-catrank { background: var(--panel-2); color: var(--muted); }
.sc-catcard.dim[open] .sc-catrank { background: var(--panel); }
.sc-catcoins { display: flex; flex-direction: column; padding: 0 var(--s-3) var(--s-3) calc(var(--s-2) + var(--avatar-sm) + var(--s-3)); }
.sc-catcoin {
display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: var(--s-3);
min-height: var(--ctl-md); color: var(--text); font-size: var(--t-md);
}
a.sc-catcoin:hover { text-decoration: none; color: var(--accent); }
.sc-catcoin + .sc-catcoin { box-shadow: inset 0 1px 0 var(--border); }
.sc-catcoin .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.sc-catcoin .n .muted { font-weight: 400; }
.sc-catcoin .v { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 900px) {
.sc-daypanel:has(> .sc-list) { background: none; border: 0; box-shadow: none; }
.sc-daypanel:has(> .sc-list) > .sc-day-head { position: static; background: none; border: 0; padding: 0 0 var(--s-3); }
.sc-daypanel > .sc-list { display: flex; flex-direction: column; gap: 0; padding: var(--s-2); background: var(--panel); border-radius: var(--r-group); }
.sc-item { display: block; position: relative; padding: 0; border: 0; background: none; border-radius: var(--r-row); scroll-margin-top: var(--s-8); }
.sc-item > .sc-rank, .sc-item > .sc-ico { display: none; }
.sc-item + .sc-item::before {
content: ""; position: absolute; top: 0; right: var(--s-3);
left: calc(var(--s-2) + var(--avatar-sm) + var(--s-3));
border-top: 1px solid var(--border); pointer-events: none;
}
.sc-item > .sc-row { background: transparent; padding: var(--s-3) var(--s-3) var(--s-3) var(--s-2); }
.sc-item > .sc-row:hover { background: var(--panel-2); filter: none; }
.sc-item > .sc-item-main { display: none; padding: 0 var(--s-3) var(--s-4) var(--s-2); }
.sc-item.open, .sc-item:target:not(.shut) { background: var(--panel-2); }
.sc-item.open::before, .sc-item:target:not(.shut)::before, .sc-item.open + .sc-item::before,
.sc-item:target:not(.shut) + .sc-item::before { opacity: 0; }
.sc-item.open > .sc-item-main, .sc-item:target:not(.shut) > .sc-item-main { display: grid; }
.sc-item-main .sc-name, .sc-item-main .sc-ticker, .sc-item-main .sc-cat { display: none; }
.sc-item-main .sc-item-top:not(:has(.sc-contested, .sc-doubt)) { display: none; }
.sc-item-main .sc-recat .pk-trigger, .sc-item-main .sc-recat select, .sc-item-main .sc-recat .btn { height: var(--ctl-md); min-height: var(--ctl-md); }
.lb-filters {
flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
margin: 0 calc(var(--gutter) * -1) var(--s-3); padding: 0 var(--gutter);
}
.lb-filters::-webkit-scrollbar { display: none; }
.lb-chip { flex: none; height: var(--ctl-md); padding: 0 var(--s-4); white-space: nowrap; }
.lb-rows { display: none; }
.lb-sorts { margin-bottom: var(--s-3); }
.lb-sorts .lb-arrow { display: inline-flex; }
}
}
.sk-kicker { width: 24%; height: var(--s-3); margin-bottom: var(--s-3); }
.sk-figure { width: 45%; height: 40px; margin-bottom: var(--s-4); border-radius: var(--r-lg); }
.sk-chips { display: flex; gap: var(--s-2); margin-bottom: var(--s-4); }
.sk-chips .sk { width: 96px; height: var(--ctl-md); border-radius: var(--r-full); }
.sk-sub { width: 28%; margin: var(--s-5) 0 var(--s-3); }
.sk-form { display: flex; flex-direction: column; gap: var(--s-4); max-width: 560px; }
.sk-field { display: flex; flex-direction: column; gap: var(--s-2); }
.sk-input { height: var(--ctl-md); border-radius: var(--r-md); }
.sk-btn { width: 128px; height: var(--ctl-md); border-radius: var(--r-full); }
.checklist li > div { flex: 1; min-width: 0; }
.checklist .check-skip { flex: none; }
.checklist li.skipped .what { color: var(--muted); }
.checklist li.skipped .tick { border-style: dashed; }
.checklist .check-skip .btn { height: var(--ctl-sm); min-height: var(--ctl-sm); padding: 0 var(--s-2); border: 0; background: none; color: var(--muted); font-size: var(--t-sm); font-weight: 500; }
.checklist .check-skip .btn:hover { color: var(--text); background: var(--panel-2); }
.drawer-inbox { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-3); padding: var(--s-3); border-radius: var(--r-row); background: var(--panel-2); color: var(--text); }
.drawer-inbox:hover { text-decoration: none; filter: var(--hover); }
.drawer-inbox .di-ico { flex: none; display: grid; place-items: center; width: var(--ctl-md); height: var(--ctl-md); border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent); }
.drawer-inbox .di-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.drawer-inbox .di-t { font-weight: 700; }
.drawer-inbox .hint { color: var(--muted); font-size: var(--t-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details.ib-group > summary { list-style: none; cursor: pointer; }
details.ib-group > summary::-webkit-details-marker { display: none; }
.cardlist > details.ib-group > summary.rowcard { background: transparent; padding: var(--s-3) var(--s-3) var(--s-3) var(--s-2); border-radius: var(--r-row); }
.ib-items { display: flex; flex-direction: column; padding: 0 var(--s-3) var(--s-3) calc(var(--s-2) + var(--avatar-sm) + var(--s-3)); }
.ib-item { padding: var(--s-2) 0; font-size: var(--t-md); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-item.unread { color: var(--text); font-weight: 600; }
.ib-item + .ib-item { box-shadow: inset 0 1px 0 var(--border); }
.ib-read { margin-top: var(--s-2); }
.ib-more { padding: var(--s-2) 0; font-size: var(--t-md); }
.act-row[data-swipe="take"]::before { content: "Take it"; background: var(--accent-soft); color: var(--accent); }
.row-act.take:hover, .act-row.armed .row-act.take { background: var(--accent-soft); color: var(--accent); }
.today .rowmain .s.late { color: var(--bad); }
.today-more { margin: var(--s-2) 0 0; }
.today { margin: var(--s-4) 0; }
.month-check { margin: var(--s-4) 0; }
.mc-clean { display: flex; align-items: center; gap: var(--s-2); margin: 0; padding: var(--s-3) var(--s-4); border-radius: var(--r-group); background: var(--panel); color: var(--good); }
.bill-rows .act-row > .rowend { margin-right: var(--s-3); }
.bill-rows .rowend .d { display: flex; justify-content: flex-end; margin-top: var(--s-1); }
.bill-rows .row-pay { position: static; }
.bill-rows .row-pay > summary.chip {
display: inline-flex; align-items: center; height: var(--ctl-sm); padding: 0 var(--s-4); border-radius: var(--r-full);
background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: var(--t-sm);
}
.bill-rows .row-pay[open] > summary.chip { background: var(--accent); color: var(--accent-ink); }
.bill-rows .act-row:has(.row-pay[open]) { overflow: visible; background: var(--panel-2); padding-bottom: calc(var(--ctl-md) * 2 + var(--s-2) * 2 + var(--s-3)); }
.bill-rows .act-row:has(.row-pay[open]) + .rowcard::before { opacity: 0; }
.bill-rows .row-pay[open] > .paid-form {
position: absolute; top: auto; left: var(--s-2); right: var(--s-3); bottom: var(--s-3);
flex-wrap: wrap; gap: var(--s-2); padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
}
.bill-rows .row-pay .paid-form input[type=text] { order: -1; flex: 1 1 100%; width: auto; min-width: 0; }
.bill-rows .row-pay .paid-form > input[type=date], .bill-rows .row-pay .paid-form > .pk { flex: 1 1 0; min-width: 0; }
.bill-rows .row-pay .paid-form > .pk .pk-trigger { overflow: hidden; }
.bill-rows .row-pay .paid-form .pk-hint, .bill-rows .row-pay .paid-form .dp-clear { display: none; }
.bill-rows .row-pay .paid-form button { flex: none; height: var(--ctl-md); }
body.selecting .bill-rows .row-pay { display: none; }
.bill-rows .card-sel:disabled { opacity: .4; cursor: not-allowed; }
.wallet-rows .rowend .v .pill { vertical-align: middle; }
.rowend .v.muted { color: var(--muted); font-size: var(--t-md); font-weight: 500; }
@media (max-width: 900px) {
.panel:has(> .bill-rows) > .select-mode { margin: 0 0 var(--s-2); }
}