/* Widebear world; desktop arithmetic: 226px navigation + 40px gutter + fluid work area + 40px gutter. */
:root{--bg:#f7f5f0;--surface:#fff;--sunk:#eeebe3;--text:#18181a;--muted:#62615c;--border:#e4dfd4;--strong:#cfc9bb;--rail:#0e0f12;--rail-text:#e7e4da;--gold:#e0b600;--blue:#1765ac;--success:#246644;--error:#b62e28;--radius:14px;--ease:cubic-bezier(.22,1,.36,1);font-family:Manrope,system-ui,sans-serif;color:var(--text);background:var(--bg);font-size:14px;line-height:1.55;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{min-height:40px;border:1px solid var(--strong);border-radius:10px;padding:8px 15px;background:var(--surface);color:var(--text);font-weight:650;cursor:pointer;transition:background-color 120ms var(--ease),color 120ms var(--ease)}button:disabled{opacity:.5;cursor:not-allowed}.primary{background:var(--gold);border-color:var(--gold);color:#242008}.danger{background:var(--error);border-color:var(--error);color:#fff}.danger-quiet{color:var(--error)}.quiet{background:transparent;border-color:transparent}.small{min-height:40px;padding:7px 10px;font-size:13px;white-space:nowrap}.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.icon{width:18px;height:18px;flex:none;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}a{color:var(--blue);text-underline-offset:3px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #977800;outline-offset:3px}::selection{background:#f3df83;color:#18181a}input,textarea{caret-color:var(--blue)}*{scrollbar-color:#bcb6aa transparent;scrollbar-width:thin}h1,h2,h3,p{margin-top:0}h1{font-size:28px;line-height:1.25;letter-spacing:-.025em;margin-bottom:8px;font-weight:800}h2{font-size:18px;line-height:1.35;letter-spacing:-.015em;margin-bottom:8px;font-weight:750}h3{font-size:15px;margin-bottom:8px}p{margin-bottom:14px;max-width:72ch}.muted,.hint{color:var(--muted)}.hint{font-size:12px;line-height:1.6;margin:6px 0 0}.mono,code{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere}code{background:var(--sunk);padding:2px 5px;border-radius:4px}hr{border:0;border-top:1px solid var(--border);margin:24px 0}[hidden]{display:none!important}.skip-link{position:fixed;left:16px;top:-60px;z-index:99;padding:8px;background:white}.skip-link:focus{top:12px}
.shell{min-height:100vh;display:grid;grid-template-columns:226px minmax(0,1fr)}.sidebar{background:var(--rail);color:var(--rail-text);padding:26px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:11px;align-items:center;padding:0 9px 28px;font-size:17px;letter-spacing:-.03em;font-weight:800;color:inherit;text-decoration:none}.brand img{width:35px;height:35px}.sidebar nav{display:grid;gap:6px}.nav-link{display:flex;align-items:center;gap:10px;color:#b8b9bd;text-decoration:none;padding:11px 12px;border-radius:10px;font-weight:600;font-size:13px}.nav-link[aria-current=page]{background:#25262b;color:#fff}.sidebar-foot{margin-top:auto;padding:24px 10px 0;font-size:12px;color:#aaaab0}.sidebar-foot p{margin:0 0 12px}.sidebar-foot button{color:var(--rail-text);border-color:#414248;background:transparent;width:100%}.workspace{min-width:0;padding:30px 40px 48px;max-width:1600px;width:100%;margin:0 auto}.topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px;font-size:12px;color:var(--muted)}.health{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#76736a;flex:none}.dot.good{background:var(--success)}.dot.bad{background:var(--error)}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.page-head p{margin:0;color:var(--muted)}.head-actions,.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.actions{margin-top:22px}.actions .push{margin-left:auto}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px}.toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.toolbar p{margin:0}.search{max-width:320px;width:100%}.site-table{width:100%;border-collapse:collapse;table-layout:fixed}.site-table th{text-align:left;font-size:13px;font-weight:500;color:var(--muted);padding:0 12px 12px}.site-table th:first-child,.site-table td:first-child{padding-left:0}.site-table th:last-child,.site-table td:last-child{padding-right:0}.site-table th:nth-child(1){width:30%}.site-table th:nth-child(2){width:29%}.site-table th:nth-child(3){width:28%}.site-table th:nth-child(4){width:13%}.site-table td{padding:20px 12px;border-top:1px solid var(--border);vertical-align:middle;overflow-wrap:anywhere}.site-table td:last-child{text-align:right}.site-name{font-weight:750;font-size:14px;margin-bottom:4px}.subline{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.key-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.copy-key{padding:8px;min-height:40px;width:40px;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.badge.good{color:var(--success)}.badge.bad{color:var(--error)}.status-row{display:flex;gap:16px;flex-wrap:wrap;padding:16px 0 0;margin-top:10px;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}.empty{padding:28px 0;max-width:620px}.empty h2{font-size:21px}.empty p{color:var(--muted)}.empty .actions{margin-top:18px}.editor{margin-top:24px}.editor-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:24px}.editor-head p{margin:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>label,.label{font-weight:650;font-size:13px}.field.full{grid-column:1/-1}input:not([type=checkbox]):not([type=file]),select,textarea{width:100%;min-height:42px;border:1px solid var(--strong);border-radius:10px;background:#fff;color:var(--text);padding:10px 12px}input::placeholder,textarea::placeholder{color:#77736a;opacity:1}input[readonly]{background:#f4f2ed;color:var(--muted)}textarea{min-height:130px;resize:vertical;line-height:1.6}input[type=checkbox]{accent-color:#9b7b00;width:18px;height:18px;flex:none}input[type=file]{max-width:100%;font-size:12px}input[type=file]::file-selector-button{font:inherit;border:1px solid var(--strong);background:#fff;color:var(--text);border-radius:8px;padding:8px 12px;margin-right:10px;cursor:pointer}.check{display:flex;gap:10px;align-items:flex-start;font-size:13px;cursor:pointer}.check input{margin-top:2px}.check strong{display:block}.check .hint{display:block;font-weight:400}.section-rule{padding-top:24px;border-top:1px solid var(--border);margin-top:24px}.webapp-settings{margin-top:20px}.callout{background:#f7f5f0;border-radius:10px;padding:16px;margin-top:20px;font-size:13px}.callout p:last-child{margin-bottom:0}.callout strong{font-weight:750}.callout.error{color:#8e2521;background:#fff0ee}.form-error{color:var(--error);font-size:13px;margin:14px 0 0;white-space:pre-wrap}.form-error:empty{display:none}.settings-section{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.3fr);gap:40px;margin-bottom:30px;align-items:start}.settings-section>.section-copy{padding-top:8px}.section-copy p{color:var(--muted);font-size:13px}.settings-section .panel .field+.field{margin-top:18px}.password-fields{display:grid;gap:18px}.transfer-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,.75fr);gap:24px;align-items:start}.file-fields{display:grid;gap:22px}.file-fields textarea{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:12px}.file-fields details{margin-top:10px}.file-fields summary{cursor:pointer;color:var(--blue);font-size:12px;margin-bottom:8px}.history{display:grid;gap:0;margin-top:18px}.history-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 0;border-top:1px solid var(--border);font-size:12px}.history-row p{margin:0}.history-row time{color:var(--muted);font-size:11px}.import-counts{display:flex;gap:16px;flex-wrap:wrap;font-size:12px}.import-counts b{font-size:18px;font-variant-numeric:tabular-nums;margin-right:5px}.preview-list{padding-left:18px;font-size:12px;overflow-wrap:anywhere}.preview-list li{margin:6px 0}.preview{margin-top:24px}.preview h3{margin-top:20px}.mobile-name{display:none}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{max-width:460px;width:100%;padding:32px}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px;font-weight:750}.auth-brand img{width:38px;height:38px}.auth-card h1{font-size:26px}.auth-card .field{margin-top:18px}.auth-card .primary{width:100%;margin-top:24px}.auth-card>p{font-size:13px;color:var(--muted)}.boot{padding:48px}.notice{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translateX(-50%);max-width:min(620px,calc(100vw - 32px));background:#202126;color:#fff;padding:13px 18px;border-radius:10px;z-index:50;font-size:13px}.notice.error{background:#8e2521}dialog{max-width:480px;width:calc(100% - 32px);border:1px solid var(--border);border-radius:16px;padding:28px;color:var(--text);background:var(--surface)}dialog::backdrop{background:rgba(14,15,18,.5)}dialog .actions{justify-content:flex-end}dialog p{font-size:13px}details{font-size:13px}summary{cursor:pointer}button,.nav-link{touch-action:manipulation}
@media(hover:hover){button:hover:not(:disabled){background:var(--sunk)}.primary:hover:not(:disabled){background:#d1a900;border-color:#d1a900}.danger:hover:not(:disabled){background:#932722}.nav-link:hover{background:#1c1e24;color:white}.sidebar-foot button:hover{background:#25262b}.quiet:hover:not(:disabled){background:#eeebe3}}
@media(max-width:1100px){.workspace{padding:26px 24px 40px}.shell{grid-template-columns:204px minmax(0,1fr)}.site-table th:nth-child(2){width:25%}.transfer-grid{grid-template-columns:minmax(0,1fr)}.settings-section{gap:24px;grid-template-columns:minmax(170px,.7fr) minmax(0,1fr)}.head-actions{justify-content:flex-end}}
@media(max-width:1000px){.shell{display:block}.sidebar{position:static;height:auto;padding:16px 16px 12px;display:block}.brand{padding:0 0 14px;font-size:16px}.brand img{width:30px;height:30px}.sidebar nav{display:flex;gap:6px}.nav-link{flex:1;justify-content:center;padding:10px 8px;font-size:12px;white-space:nowrap}.nav-link .icon{display:none}.sidebar-foot{position:absolute;top:14px;right:16px;padding:0;margin:0}.sidebar-foot p{display:none}.sidebar-foot button{width:auto;font-size:12px;padding:5px 9px;min-height:34px}.workspace{padding:20px 16px 32px}.topline{margin-bottom:22px;align-items:flex-start;font-size:11px}.topline>span{max-width:48%}.health{justify-content:flex-end;font-size:11px;gap:5px}.page-head{margin-bottom:22px;gap:16px;flex-wrap:wrap}.page-head p{font-size:13px}h1{font-size:25px}.head-actions{justify-content:flex-start;width:100%}.head-actions .primary{flex:1}.panel{padding:18px}.toolbar{align-items:stretch;gap:10px}.toolbar .search{max-width:none;min-width:0}.toolbar .muted{white-space:nowrap;font-size:12px;align-self:center}.site-table,.site-table tbody{display:block}.site-table thead{display:none}.site-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:18px 0;border-top:1px solid var(--border);gap:12px}.site-table td{padding:0!important;border:0}.site-table td:nth-child(1){grid-column:1;grid-row:1}.site-table td:nth-child(4){grid-column:2;grid-row:1}.site-table td:nth-child(2),.site-table td:nth-child(3){grid-column:1/-1}.site-table td:nth-child(3){display:flex;flex-wrap:wrap;gap:7px}.mobile-name{display:inline;font-size:11px;color:var(--muted);margin-right:4px}.form-grid{grid-template-columns:1fr;gap:18px}.settings-section{grid-template-columns:1fr;gap:14px;margin-bottom:28px}.section-copy{padding:0!important}.section-copy p{margin:0}.transfer-grid{gap:22px}.editor-head{gap:12px}.editor-head p{font-size:12px}.key-line{justify-content:flex-start}.notice{left:50%;bottom:16px}.auth-card{padding:24px}.status-row{gap:8px;flex-direction:column}.form-error{overflow-wrap:anywhere}.actions .push{margin-left:0}.actions{gap:8px}.preview-list{padding-left:16px}.topline .health .latency{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.change-detail{padding:12px 0;border-bottom:1px solid var(--border)}.change-detail summary{font-weight:650}

.key-line .mono{font-size:13px}
@media(max-width:1000px){input:not([type=checkbox]):not([type=file]),select,textarea{font-size:16px}.sidebar-foot button{min-height:40px}.brand{padding-right:75px}}
