:root{--page: #f5f5f5;--surface: #ffffff;--sunken: #f9f9f9;--hover: #f2f2f2;--line: #ededed;--line-strong: #dcdcdc;--ink: #15171c;--body: #3d3d3d;--muted: #4d4d4d;--faint: #6b6b6b;--date: #697386;--accent: #0f6fc0;--accent-soft: #e6f2fd;--accent-ink: #0f5ea3;--accent-ring: #b7dfff;--amber: #c98a00;--amber-soft: #fdf3dc;--amber-ink: #7a4f00;--red: #b42318;--red-soft: #fdecea;--red-ink: #a3261b;--red-line: #f0b8b2;--green: #1f9d62;--green-soft: #e7f6ee;--green-ink: #17714a;--grey-soft: #f1f1f1;--raised: 0 1.4px 1px rgba(0, 0, 0, .06), 0 0 1px rgba(0, 0, 0, .25);--overlay: 0 16px 32px -12px rgba(13, 13, 18, .25), 0 1px 2px rgba(13, 13, 18, .05);--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif}*,*::before,*::after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--page);color:var(--ink);font:14px/1.45 var(--font)}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{margin:0;color:var(--ink)}h1{font-size:24px;font-weight:600;letter-spacing:-.01em}h2{font-size:16px;font-weight:600}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid #1b8ce8;outline-offset:2px}[hidden]{display:none !important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.i{width:16px;height:16px;flex:0 0 auto;display:inline-block;vertical-align:middle}.i-sm{width:14px;height:14px}.muted{color:var(--faint)}.shell{display:flex;flex-wrap:wrap;min-height:100vh}.sidebar{flex:0 0 232px;width:232px;height:100vh;position:sticky;top:0;padding:20px;display:flex;flex-direction:column;gap:20px}.brand{display:flex;align-items:center;gap:8px;color:var(--ink)}.brand:hover{text-decoration:none}.brand-mark{width:29px;height:29px;border-radius:7px;color:#fff;display:flex;align-items:center;justify-content:center;background:linear-gradient(0deg, #1b8ce8 34.7%, #4eb0ff 93.7%)}.brand-name{display:flex;flex-direction:column;line-height:1.25}.brand-name strong{font-size:15px;font-weight:600}.brand-name span{font-size:12px;color:var(--faint)}.nav{display:flex;flex-direction:column;gap:16px}.nav-group{display:flex;flex-direction:column;gap:2px}.nav-group+.nav-group{border-top:1px solid #e8e8e8;padding-top:10px}.nav-label{padding:8px 10px;font-size:13px;color:var(--faint)}.nav-item{display:flex;align-items:center;gap:8px;min-height:36px;padding:0 10px;border-radius:6px;color:var(--muted);white-space:nowrap}.nav-item:hover{background:#ebebeb;text-decoration:none}.nav-item.is-active{background:var(--surface);color:#000;box-shadow:var(--raised)}.nav-item.is-active .i{color:#1b8ce8}.nav-item .count{margin-left:auto;min-width:20px;padding:0 6px;border-radius:5px;background:var(--accent);color:#fff;font-size:12px;line-height:20px;text-align:center}.account{margin-top:auto;position:relative}.account-button{width:100%;border:0;display:flex;align-items:center;gap:8px;min-height:40px;padding:0 10px;border-radius:6px;background:transparent;color:var(--muted);text-align:left;white-space:nowrap;cursor:pointer}.account-button:hover,.account-button[aria-expanded="true"],.account-button.is-active{background:var(--surface);color:#000;box-shadow:var(--raised)}.account-button .email{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.avatar{width:22px;height:22px;border-radius:999px;background:var(--accent-soft);color:var(--accent-ink);font-size:10px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.popover{position:absolute;left:0;right:0;bottom:calc(100% + 6px);background:var(--surface);border-radius:10px;box-shadow:var(--overlay),0 0 0 1px rgba(0,0,0,0.06);padding:4px;display:flex;flex-direction:column;z-index:20}.popover-item{display:flex;align-items:center;gap:8px;min-height:36px;padding:0 10px;border-radius:6px;color:var(--ink);border:0;background:transparent;width:100%;text-align:left;cursor:pointer;white-space:nowrap}.popover-item:hover{background:var(--hover);text-decoration:none}.popover-sep{height:1px;background:var(--line);margin:4px 6px}.main{flex:999 1 640px;min-width:0;padding:14px 14px 14px 0}.card{min-height:calc(100vh - 28px);background:var(--surface);border-radius:12px;box-shadow:inset 0 0 0 1px var(--line);display:flex;flex-wrap:wrap;align-items:stretch}.card-body{flex:999 1 600px;min-width:0;padding:24px;display:flex;flex-direction:column;gap:16px}.card-aside{flex:1 1 320px;min-width:0;max-width:100%;padding:24px 20px;background:var(--sunken);box-shadow:inset 1px 0 0 var(--line);border-radius:0 12px 12px 0;display:flex;flex-direction:column;gap:10px}.page-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.page-head h1{flex:1 1 auto}.back{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;color:var(--muted)}.narrow{width:100%;max-width:760px}.form-narrow{width:100%;max-width:640px}@media (max-width: 900px){.sidebar{position:static;height:auto;flex:1 1 100%;width:100%;padding:12px;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 12px}.nav{order:3;flex:1 1 100%;flex-direction:row;flex-wrap:wrap;gap:2px}.nav-group{flex-direction:row;flex-wrap:wrap;gap:2px}.nav-group+.nav-group{border-top:0;padding-top:0}.nav-label{display:none}.account{margin:0 0 0 auto}.account-button .email{display:none}.popover{left:auto;right:0;bottom:auto;top:calc(100% + 6px);width:220px}.main{padding:0 8px 8px}.card{min-height:0}}@media (max-width: 600px){.job-head{grid-template-columns:32px minmax(0, 1fr) 32px}.job-head>:nth-child(4){grid-column:3;grid-row:1}.job-when{grid-column:2;grid-row:2}.job .job-text strong,.job .job-text span{white-space:normal}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 12px;border:0;border-radius:8px;font-size:14px;font-weight:500;white-space:nowrap;cursor:pointer;background:var(--surface);color:var(--ink);box-shadow:var(--raised);text-decoration:none}.btn:hover{text-decoration:none;filter:brightness(0.97)}.btn[disabled],.btn.is-disabled{opacity:.45;cursor:not-allowed}.btn-primary{background:var(--accent);color:#fff;box-shadow:none}.btn-ghost{background:transparent;box-shadow:none;color:var(--ink);font-weight:400}.btn-ghost:hover{background:var(--hover);filter:none}.btn-soft{background:var(--page);box-shadow:none;font-weight:400}.btn-soft.is-on{background:var(--accent-soft);color:#0f4a80}.btn-danger{background:var(--red);color:#fff;box-shadow:none}.btn-danger-outline{background:var(--surface);color:var(--red-ink);box-shadow:inset 0 0 0 1px var(--red-line)}.btn-sm{height:32px;padding:0 10px;font-size:13px;border-radius:7px}.btn-lg{height:44px;padding:0 16px;font-size:15px}.btn-action{width:120px;height:34px;font-size:13px;border-radius:7px}.btn-icon{width:36px;height:36px;padding:0;background:transparent;box-shadow:none;color:var(--faint)}.btn-icon:hover{background:var(--hover);filter:none;color:var(--ink)}.btn-icon.is-danger{color:var(--red-ink)}.btn-icon.is-primary{background:var(--accent);color:#fff}.btn-icon.is-solid-danger{background:var(--red);color:#fff}.badge{min-width:18px;padding:0 5px;border-radius:5px;background:var(--accent);color:#fff;font-size:12px;line-height:18px;text-align:center;font-weight:500}.field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500}.field .hint{font-size:13px;font-weight:400;color:var(--faint)}.field .error{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:400;color:var(--red-ink)}.input,.select{height:40px;padding:0 12px;border-radius:8px;border:0;box-shadow:inset 0 0 0 1px var(--line-strong);background:var(--surface);font-size:15px;font-weight:400;min-width:0}.select{padding:0 10px}.input:focus,.select:focus{outline:none;box-shadow:inset 0 0 0 1.5px #1b8ce8,0 0 0 3px var(--accent-ring)}.input.is-invalid{box-shadow:inset 0 0 0 1.5px var(--red)}.input-sm{height:36px;font-size:14px}.checkbox{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--body)}.checkbox input{width:18px;height:18px;margin:0;accent-color:var(--accent)}.form-stack{display:flex;flex-direction:column;gap:18px}.form-actions{display:flex;flex-wrap:wrap;gap:8px}.fieldset{border:0;margin:0;padding:16px;border-radius:10px;background:var(--sunken);box-shadow:inset 0 0 0 1px var(--line);display:flex;flex-direction:column;gap:16px}.fieldset legend{padding:0 4px;font-size:14px;font-weight:600}.panel{padding:18px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--line);display:flex;flex-direction:column;gap:14px}.panel.is-sunken{background:var(--sunken)}.segmented{display:inline-flex;gap:2px;padding:3px;border-radius:9px;background:var(--page);align-self:flex-start}.segmented label{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:6px;color:var(--muted);cursor:pointer}.segmented input{position:absolute;opacity:0;width:1px;height:1px}.segmented input:checked+span{color:var(--ink)}.segmented label:has(input:checked){background:var(--surface);box-shadow:var(--raised);color:var(--ink)}.search{display:flex;align-items:center;gap:8px;height:38px;padding:0 12px;border-radius:9px;box-shadow:inset 0 0 0 1px #e1e1e1;color:var(--faint)}.search input{flex:1 1 auto;min-width:0;border:0;outline:none;background:transparent;color:var(--ink)}.banner{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:10px 14px;border-radius:10px;font-size:14px}.banner-info{background:var(--accent-soft);color:#0f4a80}.banner-warn{background:var(--amber-soft);color:#5c3b00}.banner-ok{background:var(--green-soft);color:#12573a}.banner-error{background:var(--red-soft);color:#7a1c13}.banner .grow{flex:1 1 280px}.toasts{position:fixed;right:20px;bottom:20px;display:flex;flex-direction:column;gap:8px;z-index:50;width:440px;max-width:calc(100vw - 40px)}.toast{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:12px;background:var(--ink);color:#fff;box-shadow:var(--overlay);font-size:14px}.toast a{color:#9fd0ff}.toast .i{color:#5ad19a}.toast.is-error{background:var(--red-soft);color:#7a1c13;box-shadow:inset 0 0 0 1px var(--red-line),var(--overlay)}.toast.is-error .i{color:var(--red-ink)}.toast .grow{flex:1 1 auto}.toast-close{border:0;background:transparent;color:inherit;opacity:.7;cursor:pointer;padding:0;width:24px;height:24px}.progress{height:6px;border-radius:999px;background:#f0f0f0;overflow:hidden;display:block}.progress>span{display:block;height:100%;border-radius:999px;background:var(--accent)}.progress.is-amber>span{background:var(--amber)}.progress.is-red>span{background:#c42b2b}.progress.is-green>span{background:var(--green)}.progress.is-indeterminate>span{width:100%;border-radius:0;background:repeating-linear-gradient(135deg, var(--accent) 0 8px, var(--accent-soft) 8px 16px)}.progress-inline{display:inline-block;width:120px;vertical-align:middle}.empty{padding:48px 24px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.empty-tile{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--grey-soft);color:var(--muted)}.empty-tile .i{width:24px;height:24px}.empty-tile.is-blue{background:var(--accent-soft);color:var(--accent-ink)}.empty-tile.is-green{background:var(--green-soft);color:var(--green-ink)}.empty h2{font-size:18px}.empty p{margin:0;max-width:440px;color:var(--muted)}.empty .form-actions{justify-content:center;margin-top:4px}.boxed{border-radius:10px;box-shadow:inset 0 0 0 1px var(--line)}dialog.dialog{width:500px;max-width:calc(100vw - 32px);border:0;border-radius:12px;padding:22px;box-shadow:var(--overlay);color:var(--ink)}dialog.dialog::backdrop{background:rgba(21,23,28,0.32)}.dialog-body{display:flex;flex-direction:column;gap:14px}.dialog-body h2{font-size:19px}.dialog-body p{margin:0;color:var(--muted);line-height:1.5}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}.choice{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;box-shadow:inset 0 0 0 1px var(--line);cursor:pointer}.choice:has(input:checked){box-shadow:inset 0 0 0 1.5px #1b8ce8,0 0 0 3px var(--accent-ring)}.choice input{margin:0;width:18px;height:18px;accent-color:var(--accent)}.choice .grow{flex:1 1 auto;display:flex;flex-direction:column}.choice small{color:var(--date);font-size:12px}.choices{display:flex;flex-direction:column;gap:6px;max-height:280px;overflow:auto;padding:3px}.tag{padding:1px 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent-ink);font-size:12px;white-space:nowrap}.tag-grey{background:var(--grey-soft);color:var(--body);border-radius:5px}.pair-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:12px 14px;border-radius:10px;background:var(--sunken);box-shadow:inset 0 0 0 1px var(--line);font-size:15px}.pair-bar label{color:var(--muted)}.pair-bar .select{height:38px}.fresh{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;font-size:13px;color:var(--muted)}.fresh-item{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 8px}.fresh-item.is-ok .i{color:var(--green-ink)}.fresh-item.is-busy{color:var(--accent-ink)}.fresh-item.is-warn{color:var(--amber-ink)}.filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.chips{display:flex;flex-wrap:wrap;gap:2px;padding:3px;border-radius:9px;background:var(--page)}.chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border-radius:6px;border:0;background:transparent;color:var(--muted);font-size:13px;cursor:pointer}.chip b{color:var(--faint);font-weight:600}.chip[aria-pressed="true"],.chip[aria-current="true"]{background:var(--surface);color:var(--ink);box-shadow:var(--raised)}.chip[aria-pressed="true"] b,.chip[aria-current="true"] b{color:var(--ink)}a.chip{text-decoration:none}.tree-children{display:block}.tree-loading{padding:14px 14px 14px 52px;color:var(--faint);font-size:13px;box-shadow:inset 0 -1px 0 #f2f2f2}.dot{width:8px;height:8px;border-radius:999px;background:var(--ink)}.dot-missing{background:var(--accent)}.dot-outdated{background:var(--amber)}.dot-edited{background:#c42b2b}.dot-current{background:#9a9a9a}.filters .search{flex:1 1 200px}.tree-wrap{overflow-x:auto;border-radius:10px;box-shadow:inset 0 0 0 1px var(--line)}.tree{min-width:820px}.tree-head,.tree-row{display:grid;grid-template-columns:minmax(0, 1fr) 176px minmax(0, 1fr) 128px 40px;gap:0 12px;align-items:center;padding:0 14px}.tree-head{padding-top:10px;padding-bottom:10px;background:var(--sunken);box-shadow:inset 0 -1px 0 var(--line);font-size:13px;font-weight:500;color:var(--muted)}.tree-row{min-height:54px;padding-top:4px;padding-bottom:4px;box-shadow:inset 0 -1px 0 #f2f2f2}.tree-row:hover{background:#fafafa}.tree-row.is-folder{background:#fcfcfc}.tree-row.is-busy{opacity:.7}.cell-title{display:flex;align-items:center;gap:6px;min-width:0}.cell-title .i{color:var(--faint)}.toggle{width:28px;height:28px;flex:0 0 auto;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.toggle:hover{background:var(--hover)}.toggle .i{transition:transform .15s;transform:rotate(90deg)}.tree-row.is-collapsed .toggle .i{transform:rotate(0)}.toggle-space{width:28px;flex:0 0 auto}.title-text{display:flex;flex-direction:column;min-width:0}.title-text a,.title-text span.name{color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-row.is-folder .title-text .name,.tree-row.is-folder .title-text a{font-weight:500}.title-text small{font-size:12px;color:var(--date);display:flex;gap:6px;flex-wrap:wrap}.pub{color:var(--amber-ink)}.state{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px}.state-icon{width:22px;height:22px;flex:0 0 auto;border-radius:999px;display:inline-flex;align-items:center;justify-content:center}.state-icon .i{width:14px;height:14px}.state-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.state-missing{color:var(--accent-ink)}.state-missing .state-icon{background:var(--accent-soft)}.state-outdated{color:var(--amber-ink)}.state-outdated .state-icon{background:var(--amber-soft)}.state-edited{color:var(--red-ink)}.state-edited .state-icon{background:var(--red-soft)}.state-current,.state-folder-done{color:var(--faint)}.state-current .state-label,.state-folder-done .state-label{font-weight:400}.state-unlinked{color:var(--body)}.state-unlinked .state-icon{background:var(--grey-soft)}.state-folder-open{color:var(--ink)}.state-folder-open .state-icon{background:var(--grey-soft);font-size:11px;font-weight:600}.state-busy{color:var(--accent-ink)}.state-busy .state-icon{background:var(--accent-soft)}.locked{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--faint)}.target-none{color:#9a9a9a}.tree-row form{margin:0}.jobs{display:flex;flex-direction:column;gap:8px}.jobs-section{display:flex;flex-direction:column;gap:8px}.jobs-section h2{font-size:13px;font-weight:500;color:var(--faint)}.job{border-radius:10px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);padding:12px 12px 14px;display:flex;flex-direction:column;gap:10px}.job-head{display:grid;grid-template-columns:32px minmax(0, 1fr) auto 32px;gap:10px;align-items:center}.job-tile{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:var(--accent-soft);color:var(--accent-ink)}.job-tile.is-grey{background:var(--grey-soft);color:var(--muted)}.job-tile.is-amber{background:var(--amber-soft);color:var(--amber-ink)}.job-tile.is-green{background:var(--green-soft);color:var(--green-ink)}.job-tile.is-red{background:var(--red-soft);color:var(--red-ink)}.job-text{min-width:0;display:flex;flex-direction:column;gap:1px}.job-text strong{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.job-text span{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.job-text span.is-amber{color:var(--amber-ink)}.job-text span.is-red{color:var(--red-ink)}.job-when{font-size:13px;white-space:nowrap;font-weight:500;color:var(--date)}.job-when.is-live{color:var(--ink)}.job form{margin:0}.list{border-radius:10px;box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}.list-head,.list-row{display:grid;gap:0 12px;align-items:center;padding:0 16px}.list-head{padding-top:10px;padding-bottom:10px;background:var(--sunken);box-shadow:inset 0 -1px 0 var(--line);font-size:13px;font-weight:500;color:var(--muted)}.list-row{min-height:56px;padding-top:8px;padding-bottom:8px;box-shadow:inset 0 -1px 0 #f2f2f2}.list-row.is-editing{background:#f3f9ff}.list-row.is-deleting{background:var(--red-soft)}.list-row .actions{display:flex;justify-content:flex-end;gap:4px}.list-row form{margin:0;display:contents}.cols-glossaries{grid-template-columns:minmax(0, 1.2fr) 220px 100px minmax(0, 1.3fr) 110px}.cols-entries{grid-template-columns:minmax(0, 1fr) 24px minmax(0, 1fr) 84px}.cols-users{grid-template-columns:minmax(0, 1fr) 120px 84px}.entry-text{padding:0 11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-row.is-deleting .entry-text{color:var(--red-ink);text-decoration:line-through}.pending-dot{width:8px;height:8px;border-radius:999px;background:var(--amber);flex:0 0 auto}.cell-inline{display:inline-flex;align-items:center;gap:8px;min-width:0}.user-cell{display:flex;align-items:center;gap:10px;min-width:0}.user-cell .avatar{width:28px;height:28px;font-size:11px}.split{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}.split>.grow{flex:999 1 480px;min-width:0}.split>.side{flex:1 1 320px;min-width:0}.sites{display:grid;grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));gap:14px}.site{border-radius:10px;box-shadow:inset 0 0 0 1px var(--line);padding:16px;display:flex;flex-direction:column;gap:12px}.site-head{display:flex;align-items:flex-start;gap:10px}.site-code{width:36px;height:36px;flex:0 0 auto;border-radius:9px;background:var(--page);color:var(--body);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;text-transform:uppercase}.site-head .grow{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.site-head strong{font-size:15px;font-weight:600}.site-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--body)}.site-tech{display:flex;flex-wrap:wrap;gap:6px 14px;padding-top:10px;box-shadow:inset 0 1px 0 #f2f2f2;font-size:12px;color:var(--date)}.auth{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px 16px}.auth-card{width:100%;max-width:380px;background:var(--surface);border-radius:14px;box-shadow:inset 0 0 0 1px var(--line),0 1px 2px rgba(0,0,0,0.04);padding:32px;display:flex;flex-direction:column;gap:16px}.auth-card .btn{width:100%;height:44px}
