:root{--accent: #b95b3f;--accent-hover: #a34f37;--accent-soft: #f5e8e2;--bg-app: #f2f4f1;--bg-side: #e7ebe7;--surface: #ffffff;--surface-muted: #f7f8f5;--control: #e7ebe6;--border: #d9dfd8;--border-soft: rgba(48, 43, 36, .12);--text-strong: #181714;--text-main: #34322e;--text-muted: #746f66;--text-faint: #aaa39a;--green: #267052;--green-soft: #e7f3ed;--amber: #9b6425;--amber-soft: #faecd7;--red: #a84432;--red-soft: #f8e5e0;color-scheme:light}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden;background:var(--bg-app);color:var(--text-main);font-family:MiSans,Noto Sans SC,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input,textarea,select{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer}button:disabled,input:disabled{cursor:not-allowed;opacity:.56}.login-shell{display:grid;place-items:center;width:100vw;height:100vh;min-width:1180px;min-height:720px;background:linear-gradient(135deg,#efede8,#f8f6f1 52%,#e9edf0)}.login-card{width:420px;border:1px solid var(--border-soft);border-radius:8px;background:#ffffffe0;box-shadow:0 24px 80px #3c302424;padding:24px}.login-brand,.brand-block{display:flex;align-items:center;gap:10px}.login-brand{margin-bottom:24px}.login-brand img,.brand-block img{width:32px;height:32px}.login-brand div,.brand-block div{display:flex;flex-direction:column;gap:4px}.login-brand strong,.brand-block strong{color:var(--text-strong);font-size:18px;font-weight:650;line-height:1}.login-brand span,.brand-block span,.sidebar-footer span,.sidebar-footer small{color:var(--text-muted);font-size:12px;line-height:18px}.login-form{display:grid;gap:14px}.form-error{margin:0;color:var(--red);font-size:13px;line-height:20px}.admin-shell{display:grid;grid-template-columns:252px minmax(0,1fr);width:100vw;height:100vh;min-width:1360px;min-height:760px;overflow:hidden}.sidebar{display:flex;flex-direction:column;gap:18px;padding:18px 14px;border-right:1px solid var(--border-soft);background:var(--bg-side)}.brand-block{padding:4px 8px 12px}.side-nav{display:flex;flex-direction:column;gap:4px}.side-nav button{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;height:40px;padding:0 10px 0 8px;border-radius:8px;color:var(--text-main);text-align:left}.side-nav button:hover,.side-nav button.active{background:#ffffffb3;color:var(--text-strong)}.side-nav button.active{box-shadow:inset 3px 0 0 var(--accent)}.nav-icon-shell{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:7px;color:var(--text-muted);transition:background-color .16s ease,color .16s ease}.nav-icon-shell svg{width:17px;height:17px;stroke-width:1.9}.side-nav button:hover .nav-icon-shell,.side-nav button.active .nav-icon-shell{background:var(--accent-soft);color:var(--accent)}.side-nav button:disabled .nav-icon-shell{background:transparent;color:var(--text-faint)}.side-nav .nav-label{overflow:hidden;font-size:14px;font-weight:560;white-space:nowrap;text-overflow:ellipsis}.side-nav button small{color:var(--text-faint);font-size:12px}.sidebar-footer{display:flex;flex-direction:column;gap:5px;margin-top:auto;padding:12px;border-radius:8px;background:#ffffff94}.sidebar-footer strong{color:var(--text-strong);font-size:13px}.sidebar-footer a{color:var(--accent);font-size:12px;line-height:18px;text-decoration:none}.main-surface{display:flex;flex-direction:column;min-width:0;height:100vh;min-height:760px;overflow:hidden}.topbar{display:flex;align-items:center;justify-content:space-between;flex:0 0 74px;padding:0 24px;border-bottom:1px solid var(--border-soft);background:#ffffffc7;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.topbar h1,.panel-heading h2,.inspector-header h2{margin:0;color:var(--text-strong);font-weight:650}.topbar h1{font-size:24px;line-height:32px}.eyebrow{display:none}.topbar-actions,.inspector-actions,.row-actions{display:flex;align-items:center;gap:10px}.session-pill{display:inline-flex;align-items:center;height:32px;padding:0 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:12px;white-space:nowrap}.sync-pill{display:inline-flex;align-items:center;height:32px;padding:0 10px;border:1px solid var(--border);border-radius:999px;background:#f6f1eb;color:var(--text-muted);font-size:12px;white-space:nowrap}.sync-pill.online{border-color:#2584563d;background:#e8f5ef;color:#1f7a4f}.sync-pill.pending{border-color:#be7e2d47;background:#fff6df;color:#996112}.sync-pill.error{border-color:#d2463647;background:#fff0ed;color:var(--red)}.sync-action-slot{display:inline-flex}.sync-now-button{min-width:76px}.primary-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 14px;border-radius:8px;font-size:13px;font-weight:560;line-height:18px;white-space:nowrap}.primary-button{background:var(--accent);color:#fff}.primary-button:hover{background:var(--accent-hover)}.ghost-button{border:1px solid var(--border);background:var(--surface);color:var(--text-main)}.ghost-button:hover{background:var(--surface-muted)}.article-save-button{min-width:86px;gap:6px}.article-save-button.is-loading{opacity:.86}.article-save-button.is-loading:before{width:13px;height:13px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;content:"";animation:article-import-spin .9s linear infinite}.full{width:100%}.summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px 24px 0}.summary-strip.five{grid-template-columns:repeat(5,minmax(0,1fr))}.metric{min-width:0;padding:14px 16px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface)}.metric span,.metric small{display:block;overflow:hidden;color:var(--text-muted);font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.metric strong{display:block;margin:6px 0 2px;color:var(--text-strong);font-size:28px;font-weight:650;line-height:34px}.metric.accent strong{color:var(--accent)}.dashboard-grid,.list-workbench,.commerce-layout,.learning-path-workbench,.knowledge-workbench{min-height:0;padding:16px 24px 24px;overflow:hidden}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(420px,.85fr);grid-template-rows:minmax(0,1fr);gap:14px}.user-activity-panel,.order-focus-panel{min-height:0}.list-workbench{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:14px;overflow:auto}.vercel-usage-panel{min-height:0}.usage-heading-line{display:flex;align-items:center;gap:10px}.usage-overall-status{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:6px;background:#eef6ef;color:#28723e;font-size:12px;font-weight:700;line-height:18px}.usage-overall-status.warning{background:#fff4dc;color:#925700}.usage-overall-status.exceeded,.usage-overall-status.error{background:#fff0ed;color:#b13e2d}.usage-overall-status.unavailable{background:var(--surface-muted);color:var(--text-muted)}.usage-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 16px 16px}.usage-metric{min-width:0;padding:13px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted)}.usage-metric-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.usage-metric-heading span{overflow:hidden;color:var(--text-main);font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.usage-metric-heading strong{flex:0 0 auto;color:#28723e;font-size:13px}.usage-metric.warning .usage-metric-heading strong{color:#925700}.usage-metric.exceeded .usage-metric-heading strong{color:#b13e2d}.usage-metric.unavailable .usage-metric-heading strong{color:var(--text-faint)}.usage-progress{height:7px;margin:11px 0 9px;overflow:hidden;border-radius:4px;background:var(--control)}.usage-progress span{display:block;height:100%;border-radius:inherit;background:#4f9d62}.usage-metric.warning .usage-progress span{background:#d28a18}.usage-metric.exceeded .usage-progress span{background:#d8543f}.usage-metric p,.usage-metric small{margin:0;color:var(--text-muted);font-size:11px;line-height:17px}.usage-metric p b{color:var(--text-strong);font-size:13px}.usage-empty{padding:6px 16px 18px;color:var(--text-muted);font-size:13px}.usage-threshold-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:11px 16px;border-top:1px solid var(--border-soft);color:var(--text-muted);font-size:11px;line-height:17px}.usage-threshold-legend span{display:inline-flex;align-items:center;gap:6px}.usage-threshold-legend i{width:8px;height:8px;border-radius:50%;background:#4f9d62}.usage-threshold-legend i.warning{background:#d28a18}.usage-threshold-legend i.exceeded{background:#d8543f}.usage-threshold-legend small{margin-left:auto;color:var(--text-faint)}@media(max-width:960px){.usage-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.usage-threshold-legend small{width:100%;margin-left:0}}.commerce-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:14px}.knowledge-workbench{display:grid;grid-template-columns:300px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:14px;flex:1 1 auto;min-height:0;overflow:hidden;align-items:stretch}.knowledge-side-stack{--tag-panel-height: clamp(190px, 24vh, 260px);display:grid;grid-template-rows:minmax(0,1fr) var(--tag-panel-height);gap:14px;height:100%;min-height:0}.learning-path-workbench{overflow:auto}.learning-path-board{display:grid;grid-template-columns:repeat(4,minmax(250px,1fr));gap:14px;min-width:1080px;align-items:start}.panel,.inspector{min-width:0;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface)}.panel{display:flex;flex-direction:column;min-height:0;overflow:hidden}.panel.wide{grid-column:1 / -1}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px;border-bottom:1px solid var(--border-soft)}.panel-heading.compact{align-items:center}.panel-heading h2{font-size:18px;line-height:26px}.panel-heading p{max-width:540px;margin:0;color:var(--text-muted);font-size:13px;line-height:22px}.filters{display:grid;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border-soft)}.filters.two{grid-template-columns:minmax(260px,1fr) 180px}.filters.three{grid-template-columns:minmax(260px,1fr) 180px 180px}.search-field,.select-field,.form-field{display:flex;flex-direction:column;gap:7px;min-width:0}.search-field span,.select-field span,.form-field span,.field-label span{color:var(--text-muted);font-size:12px;line-height:18px}.form-field small{color:var(--text-faint);font-size:11px;line-height:16px}input,textarea,select{width:100%;border:1px solid var(--border);border-radius:8px;outline:none;background:var(--surface);color:var(--text-main);font-size:13px}input,select{height:34px;padding:0 10px}.admin-select{position:relative;width:100%;min-width:0}.admin-select>select{display:block;min-width:0;text-overflow:ellipsis}.admin-select:has(>svg)>select{appearance:none;padding-right:34px}.admin-select>svg{position:absolute;top:50%;right:10px;width:14px;height:14px;color:var(--text-muted);pointer-events:none;transform:translateY(-50%)}.admin-select:has(>select:disabled)>svg{opacity:.45}textarea{min-height:76px;resize:vertical;padding:9px 10px;line-height:20px}textarea[data-field=article-body]{min-height:210px;font-family:SF Mono,ui-monospace,Menlo,Monaco,Consolas,monospace}.rich-editor-shell{position:relative;min-width:0}.rich-editor-shell [hidden]{display:none!important}.article-doc-toolbar{display:flex;align-items:center;gap:4px;min-height:46px;overflow-x:auto;padding:7px 10px;border:1px solid var(--border);border-bottom:0;border-radius:12px 12px 0 0;background:var(--surface);white-space:nowrap}.article-doc-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding:0 8px;border-radius:7px;color:var(--text-muted);font-size:13px;font-weight:680;line-height:1}.article-doc-toolbar button:hover,.article-doc-toolbar button:focus-visible,.article-doc-toolbar button.is-active{background:var(--surface-muted);color:var(--text-strong);outline:none}.article-doc-toolbar button.is-active{background:var(--accent-soft);color:var(--accent)}.article-doc-toolbar svg{width:17px;height:17px;stroke-width:1.9}.article-doc-toolbar-divider{display:inline-block;width:1px;height:20px;margin:0 4px;background:var(--border-soft)}.rich-editor-shell[data-editor-mode=markdown] .article-doc-toolbar [data-editor-command],.rich-editor-shell[data-editor-mode=markdown] .article-doc-toolbar-divider{display:none}.article-import-button{display:inline-flex!important;gap:6px;padding:0 10px}.rich-editor-shell[data-editor-mode=markdown] .article-import-button{display:inline-flex!important;margin-left:auto}.rich-editor-shell[data-editor-mode=markdown] .editor-mode-toggle{margin-left:0}.article-import-button.is-loading svg{display:none}.article-import-button.is-loading:before{width:14px;height:14px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;content:"";animation:article-import-spin .9s linear infinite}@keyframes article-import-spin{to{transform:rotate(360deg)}}#article-selection-toolbar,#article-slash-menu,#article-block-handle,#article-block-drop-marker,#article-block-menu{display:none!important}.rich-text-field small{color:var(--text-muted);font-size:12px;line-height:18px}.rich-text-field .sun-editor{overflow:hidden;border:1px solid var(--border);border-radius:0 0 12px 12px;background:var(--surface);box-shadow:none}.rich-text-field .sun-editor:focus-within{border-color:#b95b3f75;box-shadow:0 0 0 3px #c4583d1a}.rich-text-field .se-toolbar{display:none!important}.rich-text-field .se-toolbar,.rich-text-field .se-btn-tray{background:var(--surface)}.rich-text-field .se-toolbar{border-bottom:1px solid var(--border-soft);outline:0}.rich-text-field .se-btn-tray{display:flex!important;align-items:center;gap:4px;min-height:46px;overflow-x:auto;padding:7px 156px 7px 10px!important;white-space:nowrap}.rich-text-field .se-btn{width:30px;height:30px;border-radius:7px;color:var(--text-muted)}.rich-text-field .se-btn svg{width:17px;height:17px}.rich-text-field .se-btn:hover,.rich-text-field .se-btn:focus,.rich-text-field .se-btn.active{background:var(--surface-muted);color:var(--text-strong)}.rich-text-field .se-wrapper,.rich-text-field .se-wrapper-inner{background:var(--surface)}.rich-text-field .se-wrapper-inner{box-sizing:border-box;width:min(680px,calc(100% - 96px))!important;max-width:680px;min-height:640px;margin:0 auto;padding:40px 0 72px;color:var(--text-main);font-size:18px;line-height:1.8}.rich-text-field .se-wrapper-inner:focus{outline:none}.rich-text-field .se-wrapper-inner :first-child{margin-top:0}.rich-text-field .se-wrapper-inner p{margin:0 0 22px}.rich-text-field .se-wrapper-inner:empty:before,.rich-text-field .se-wrapper-inner .is-editor-empty:before{color:var(--text-faint);content:attr(data-placeholder);pointer-events:none}.rich-text-field .se-wrapper-inner p.is-editor-empty,.rich-text-field .se-wrapper-inner h2.is-editor-empty,.rich-text-field .se-wrapper-inner h3.is-editor-empty,.rich-text-field .se-wrapper-inner h4.is-editor-empty,.rich-text-field .se-wrapper-inner h5.is-editor-empty,.rich-text-field .se-wrapper-inner h6.is-editor-empty,.rich-text-field .se-wrapper-inner blockquote.is-editor-empty{position:relative;min-height:1.8em}.rich-text-field .se-wrapper-inner p.is-editor-empty:before,.rich-text-field .se-wrapper-inner h2.is-editor-empty:before,.rich-text-field .se-wrapper-inner h3.is-editor-empty:before,.rich-text-field .se-wrapper-inner h4.is-editor-empty:before,.rich-text-field .se-wrapper-inner h5.is-editor-empty:before,.rich-text-field .se-wrapper-inner h6.is-editor-empty:before,.rich-text-field .se-wrapper-inner blockquote.is-editor-empty:before{position:absolute;top:0;left:0;white-space:nowrap}.rich-text-field .se-wrapper-inner li.is-editor-empty:before,.rich-text-field .se-wrapper-inner code.is-editor-empty:before{display:inline}.rich-text-field .se-wrapper-inner:empty:before{display:block;content:"输入 / 快速插入"}.rich-text-field .se-wrapper-inner h2.is-editor-empty:before,.rich-text-field .se-wrapper-inner h3.is-editor-empty:before,.rich-text-field .se-wrapper-inner h4.is-editor-empty:before,.rich-text-field .se-wrapper-inner h5.is-editor-empty:before,.rich-text-field .se-wrapper-inner h6.is-editor-empty:before{color:#71665c7a}.rich-text-field .se-wrapper-inner h2{margin:38px 0 14px;color:var(--text-main);font-size:22px;font-weight:500;line-height:1.45;scroll-margin-top:40px}.rich-text-field .se-wrapper-inner h3{margin:30px 0 12px;color:var(--text-main);font-size:19px;font-weight:500;line-height:1.5;scroll-margin-top:40px}.rich-text-field .se-wrapper-inner h4{margin:26px 0 10px;color:var(--text-main);font-size:18px;font-weight:600;line-height:1.55;scroll-margin-top:40px}.rich-text-field .se-wrapper-inner h5{margin:24px 0 8px;color:var(--text-main);font-size:17px;font-weight:600;line-height:1.6;scroll-margin-top:40px}.rich-text-field .se-wrapper-inner h6{margin:22px 0 8px;color:var(--text-main);font-size:16px;font-weight:600;line-height:1.6;scroll-margin-top:40px}.rich-text-field .se-wrapper-inner a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.rich-text-field .se-wrapper-inner ul,.rich-text-field .se-wrapper-inner ol{margin:0 0 24px 1.2em;padding:0}.rich-text-field .se-wrapper-inner .article-task-list{display:grid;gap:8px;margin:0 0 24px;padding:0;list-style:none}.rich-text-field .se-wrapper-inner li{margin:6px 0}.rich-text-field .se-wrapper-inner .article-task-list li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;margin:0}.rich-text-field .se-wrapper-inner .task-check{position:relative;display:inline-grid;place-items:center;width:16px;height:16px;margin-top:8px;border:1px solid #d8d1c8;border-radius:4px;background:var(--surface);cursor:pointer}.rich-text-field .se-wrapper-inner .article-task-list li[data-checked=true] .task-check{border-color:var(--accent);background:var(--accent)}.rich-text-field .se-wrapper-inner .article-task-list li[data-checked=true] .task-check:after{width:7px;height:4px;margin-top:-1px;border-bottom:2px solid #fff;border-left:2px solid #fff;content:"";transform:rotate(-45deg)}.rich-text-field .se-wrapper-inner .task-text{min-width:0}.rich-text-field .se-wrapper-inner .article-task-list li[data-checked=true] .task-text{color:var(--text-muted);text-decoration:line-through;text-decoration-thickness:1px;text-underline-offset:3px}.rich-text-field .se-wrapper-inner blockquote{margin:0 0 28px;padding-left:16px;border-left:4px solid #edebe7;color:var(--text-muted);font-size:16px}.rich-text-field .se-wrapper-inner .quote-block{display:grid;grid-template-columns:4px minmax(0,1fr);gap:12px;margin:0 0 28px;color:var(--text-muted);font-size:16px}.rich-text-field .se-wrapper-inner .quote-block:before{display:block;border-radius:5px;background:#edebe7;content:""}.rich-text-field .se-wrapper-inner .article-callout{position:relative;margin:0 0 28px;padding:16px 18px 16px 44px;border:1px solid rgba(196,88,61,.18);border-radius:8px;background:#fff8f2;color:var(--text-main);font-size:16px}.rich-text-field .se-wrapper-inner .article-callout:before{position:absolute;top:18px;left:18px;width:14px;height:14px;border-radius:999px;background:var(--accent);box-shadow:0 0 0 4px #c4583d1f;content:""}.rich-text-field .se-wrapper-inner .article-callout p{margin:0}.rich-text-field .se-wrapper-inner .welcome-article-intro p:last-child,.rich-text-field .se-wrapper-inner .welcome-updates .welcome-link-list,.rich-text-field .se-wrapper-inner .welcome-contact-column p:last-child{margin-bottom:0}.rich-text-field .se-wrapper-inner .welcome-article-intro strong{font-weight:600}.rich-text-field .se-wrapper-inner .welcome-accent-tools{color:#2e9d4d}.rich-text-field .se-wrapper-inner .welcome-accent-workflow{color:#d97816}.rich-text-field .se-wrapper-inner .welcome-accent-cases{color:#356fce}.rich-text-field .se-wrapper-inner .welcome-accent-trends{color:#7650b8}.rich-text-field .se-wrapper-inner .welcome-divider{height:1px;margin:34px 0;border:0;background:#e6e3df}.rich-text-field .se-wrapper-inner .welcome-section-title{margin:0 0 14px;color:var(--text-muted);font-size:14px;font-weight:500}.rich-text-field .se-wrapper-inner .welcome-link-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.rich-text-field .se-wrapper-inner .welcome-link-list li{margin:0}.rich-text-field .se-wrapper-inner .welcome-link-list a,.rich-text-field .se-wrapper-inner .welcome-author-list a{color:#356fce;font-weight:500;text-decoration:none}.rich-text-field .se-wrapper-inner .welcome-contact-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:54px;align-items:start}.rich-text-field .se-wrapper-inner .welcome-author-list{display:grid;gap:8px}.rich-text-field .se-wrapper-inner .welcome-contact-qr img{display:block;width:100%;height:auto;margin:2px 0 6px}.rich-text-field .se-wrapper-inner .welcome-qr-labels{display:grid;grid-template-columns:1fr 1fr;color:var(--text-muted);font-size:12px;line-height:18px;text-align:center}.rich-text-field .se-wrapper-inner table{width:100%;margin:28px 0;overflow:hidden;border:1px solid #e5e7eb;border-radius:6px;border-collapse:separate;border-spacing:0;font-size:14px;line-height:20px}.rich-text-field .se-wrapper-inner th,.rich-text-field .se-wrapper-inner td{padding:12px 20px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}.rich-text-field .se-wrapper-inner th{background:var(--bg-app);color:#6b7280;font-size:12px;font-weight:500;letter-spacing:.06px}.rich-text-field .se-wrapper-inner tr:last-child td{border-bottom:0}.rich-text-field .se-wrapper-inner pre{margin:24px 0;overflow:auto;padding:16px;border:1px solid var(--border);border-radius:8px;background:#fbfaf8;color:var(--text-main);font-family:SF Mono,ui-monospace,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.8;white-space:pre-wrap}.rich-text-field .se-wrapper-inner code{font-family:SF Mono,ui-monospace,Menlo,Monaco,Consolas,monospace}.rich-text-field .se-wrapper-inner :not(pre)>code{padding:2px 5px;border-radius:5px;background:#f5f1ec;color:#9a4f35;font-size:.88em}.rich-text-field .se-wrapper-inner img,.rich-text-field .se-wrapper-inner iframe{display:block;width:100%;max-width:100%;margin:28px 0;border:0;border-radius:8px;background:#111}.rich-text-field .se-wrapper-inner img[data-width=wide]{width:78%;margin-right:auto;margin-left:auto}.rich-text-field .se-wrapper-inner img[data-width=narrow]{width:56%;margin-right:auto;margin-left:auto}.rich-text-field .se-wrapper-inner iframe{aspect-ratio:16 / 9}.rich-editor-shell.is-image-dropping .se-wrapper-inner{outline:2px dashed rgba(196,88,61,.38);outline-offset:-8px;background:linear-gradient(#fff8f2bd,#fff8f2bd)}.article-image-upload{display:none}.rich-text-field .se-wrapper-inner hr{margin:32px 0;border:0;border-top:1px solid var(--border)}.rich-text-field .se-wrapper-inner .article-block-active{border-radius:8px;box-shadow:0 0 0 2px #c4583d29,0 10px 26px #302b240f}.rich-text-field .se-wrapper-inner p.article-block-active,.rich-text-field .se-wrapper-inner h2.article-block-active,.rich-text-field .se-wrapper-inner h3.article-block-active,.rich-text-field .se-wrapper-inner h4.article-block-active,.rich-text-field .se-wrapper-inner h5.article-block-active,.rich-text-field .se-wrapper-inner h6.article-block-active,.rich-text-field .se-wrapper-inner blockquote.article-block-active{background:#fff8f2b8}.rich-text-field .se-wrapper-inner hr.article-block-active{box-shadow:0 0 0 2px #c4583d29}.rich-text-field .se-wrapper-inner .article-block-dragging{border-radius:8px;background:#fffaf6;box-shadow:0 16px 38px #302b2429;opacity:.58;transform:scale(.992)}body.article-block-is-dragging,body.article-block-is-dragging *{cursor:grabbing!important;-webkit-user-select:none;user-select:none}.article-selection-toolbar{position:absolute;z-index:12;display:flex;align-items:center;gap:3px;min-height:38px;padding:4px;border:1px solid var(--border-soft);border-radius:10px;background:#fffffff5;box-shadow:0 14px 42px #302b2429;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.article-selection-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;border-radius:7px;color:var(--text-main);font-size:13px;font-weight:650}.article-selection-toolbar button:hover{background:var(--surface-muted);color:var(--text-strong)}.article-selection-toolbar button.is-active{background:var(--accent-soft);color:var(--accent)}.article-selection-toolbar-divider{width:1px;height:20px;margin:0 2px;background:var(--border-soft)}.selection-toolbar-format{min-width:66px;padding:0 10px;gap:6px;color:var(--text-strong);font-weight:680}.selection-toolbar-format svg{width:13px;height:13px}.article-selection-format-menu{position:absolute;top:42px;left:4px;z-index:2;display:grid;width:220px;gap:2px;padding:6px;border:1px solid var(--border-soft);border-radius:10px;background:#fffffffa;box-shadow:0 16px 44px #302b2429;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.article-selection-format-menu button{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:9px;width:100%;height:auto;min-height:44px;padding:7px 8px;border-radius:8px;text-align:left}.article-selection-format-menu button:hover,.article-selection-format-menu button:focus-visible,.article-selection-format-menu button.active{background:var(--surface-muted);outline:none}.format-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:var(--surface-muted);color:var(--text-muted)}.format-menu-icon svg{width:15px;height:15px;stroke-width:1.9}.article-selection-format-menu button.active .format-menu-icon{background:var(--accent-soft);color:var(--accent)}.format-menu-label{display:block;color:var(--text-strong);font-size:13px;font-weight:680;line-height:18px}.article-selection-format-menu small{display:block;color:var(--text-muted);font-size:12px;line-height:16px}.article-selection-toolbar svg{width:16px;height:16px;stroke-width:1.9}.article-selection-format-menu .format-menu-icon svg{width:15px;height:15px}.article-slash-menu{position:absolute;z-index:12;display:grid;gap:6px;width:292px;max-height:372px;overflow:auto;padding:8px;border:1px solid var(--border-soft);border-radius:12px;background:#fffffffa;box-shadow:0 18px 50px #302b242e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.article-slash-menu button{display:grid;grid-template-columns:1fr;gap:2px;min-height:44px;padding:7px 10px;border-radius:8px;text-align:left}.article-slash-menu button:hover,.article-slash-menu button:focus-visible,.article-slash-menu button.active{background:var(--surface-muted);outline:none}.article-slash-menu span{color:var(--text-strong);font-size:13px;font-weight:650;line-height:18px}.article-slash-menu small{color:var(--text-muted);font-size:12px;line-height:16px}.article-block-handle{position:absolute;z-index:11;display:flex;align-items:center;gap:2px;height:30px;padding:2px;border:1px solid var(--border-soft);border-radius:8px;background:#fffffff0;box-shadow:0 10px 30px #302b241f;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.article-block-handle button{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:6px;color:var(--text-muted)}.article-block-handle button:hover{background:var(--surface-muted);color:var(--text-strong)}.article-block-handle button[data-editor-block-menu]{cursor:grab}.article-block-handle button[data-editor-block-menu]:active{cursor:grabbing}.article-block-handle.is-dragging{border-color:#c4583d5c;box-shadow:0 14px 34px #302b2429}.article-block-handle.is-dragging button[data-editor-block-menu]{background:var(--accent-soft);color:var(--accent)}.article-block-handle svg{width:15px;height:15px;stroke-width:1.9}.article-block-drop-marker{position:absolute;z-index:14;height:2px;border-radius:999px;background:var(--accent);box-shadow:0 0 0 3px #c4583d1f;pointer-events:none}.article-block-drop-marker:before,.article-block-drop-marker:after{position:absolute;top:-3px;width:8px;height:8px;border-radius:999px;background:var(--accent);content:""}.article-block-drop-marker:before{left:-2px}.article-block-drop-marker:after{right:-2px}.article-media-toolbar{position:absolute;z-index:15;display:flex;align-items:center;gap:4px;padding:6px;border:1px solid var(--border-soft);border-radius:10px;background:#fffffff5;box-shadow:0 16px 40px #302b2424;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.article-media-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:28px;padding:0 9px;border-radius:7px;color:var(--text-muted);font-size:12px;font-weight:650}.article-media-toolbar button:hover,.article-media-toolbar button:focus-visible,.article-media-toolbar button.is-active{background:var(--surface-muted);color:var(--text-strong);outline:none}.article-media-toolbar button.is-active{background:var(--accent-soft);color:var(--accent)}.article-media-toolbar .danger-media-action{color:#c2413b}.article-media-toolbar .danger-media-action:hover,.article-media-toolbar .danger-media-action:focus-visible{background:#c2413b1a;color:#b42318}.article-media-toolbar svg{width:14px;height:14px;stroke-width:1.9}.article-media-toolbar-divider{width:1px;height:18px;background:var(--border-soft)}.article-block-menu{position:absolute;z-index:13;display:grid;width:292px;max-height:336px;overflow:auto;padding:6px;border:1px solid var(--border-soft);border-radius:12px;background:#fffffffa;box-shadow:0 18px 50px #302b242e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.article-block-menu[data-mode=insert] .block-menu-transform,.article-block-menu[data-mode=insert] .block-menu-actions,.article-block-menu[data-mode=actions] .block-menu-insert{display:none}.block-menu-section+.block-menu-section{margin-top:6px;padding-top:6px;border-top:1px solid var(--border-soft)}.block-menu-title{padding:6px 10px 7px;color:var(--text-faint);font-size:12px;font-weight:650;line-height:16px}.article-block-menu button{display:grid;gap:2px;min-height:44px;padding:7px 10px;border-radius:8px;text-align:left}.article-block-menu button:hover,.article-block-menu button:focus-visible,.article-block-menu button.active{background:var(--surface-muted);outline:none}.article-block-menu .danger-block-action span{color:var(--red)}.article-block-menu .danger-block-action:hover,.article-block-menu .danger-block-action:focus-visible,.article-block-menu .danger-block-action.active{background:#b4443114}.article-block-menu span{color:var(--text-strong);font-size:13px;font-weight:650;line-height:18px}.article-block-menu small{color:var(--text-muted);font-size:12px;line-height:16px}.command-menu-group+.command-menu-group{margin-top:6px;padding-top:6px;border-top:1px solid var(--border-soft)}.command-menu-group-title{padding:5px 9px 7px;color:var(--text-faint);font-size:11px;font-weight:700;line-height:14px}.article-slash-menu .command-menu-group button,.article-block-menu .block-menu-insert .command-menu-group button{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px;min-height:48px;padding:7px 9px}.command-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:var(--surface-muted);color:var(--text-muted)}.command-menu-icon svg{width:16px;height:16px;stroke-width:1.9}.command-menu-copy{display:grid;min-width:0;gap:2px}.article-slash-menu .command-menu-label,.article-block-menu .command-menu-label{color:var(--text-strong);font-size:13px;font-weight:680;line-height:18px}.article-slash-menu .command-menu-group button:hover .command-menu-icon,.article-slash-menu .command-menu-group button:focus-visible .command-menu-icon,.article-slash-menu .command-menu-group button.active .command-menu-icon,.article-block-menu .block-menu-insert .command-menu-group button:hover .command-menu-icon,.article-block-menu .block-menu-insert .command-menu-group button:focus-visible .command-menu-icon,.article-block-menu .block-menu-insert .command-menu-group button.active .command-menu-icon{background:var(--accent-soft);color:var(--accent)}.editor-mode-toggle{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 10px;border:0;border-radius:999px;background:var(--surface);color:var(--text-main);font-size:12px;font-weight:620;line-height:18px;box-shadow:inset 0 0 0 1px var(--border)}.editor-mode-toggle:hover{background:var(--surface-muted);color:var(--text-strong)}.rich-editor-shell[data-editor-mode=markdown]{overflow:visible;border:0;border-radius:0;background:transparent}.rich-editor-shell[data-editor-mode=markdown]:before{content:none}.rich-editor-shell[data-editor-mode=markdown] textarea[data-field=article-body]{display:block!important;width:100%;min-height:640px;border:1px solid var(--border);border-top:0;border-radius:0 0 12px 12px;background:var(--surface);font-family:SF Mono,ui-monospace,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.8;box-shadow:none}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #c4583d24}.form-grid{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid>*{min-width:0}.form-grid.dense{padding:0 16px 16px}.form-field.span-2{grid-column:1 / -1}.data-table{width:100%;min-width:var(--table-min-width, 720px);border-collapse:separate;border-spacing:0;table-layout:fixed}.data-table thead{position:sticky;top:0;z-index:4}.data-table th,.data-table td{padding:12px 14px;border-bottom:1px solid var(--border-soft);font-size:13px;line-height:20px;text-align:left;vertical-align:middle}.data-table th{background:var(--surface-muted);color:var(--text-muted);font-weight:560}.data-table tbody{overflow:visible}.data-table tr:hover td,.data-table tr.selected td{background:#fff8f4}.data-table th:last-child,.data-table td:last-child:not([colspan]){text-align:right}.data-table td:last-child .row-actions{justify-content:flex-end}.data-table td strong,.mini-row strong{display:block;overflow:hidden;max-width:360px;color:var(--text-strong);font-size:13px;font-weight:620;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.data-table td span,.mini-row span{display:block;overflow:hidden;max-width:360px;color:var(--text-muted);font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.table-frame{position:relative;flex:1;width:100%;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain}.admin-table{--table-min-width: 760px}.user-table{--table-min-width: 820px}.order-table{--table-min-width: 1360px}.order-filters{grid-template-columns:minmax(180px,1fr) repeat(4,minmax(100px,140px))}.order-number-column{width:220px}.order-date-column{width:152px}.order-amount-column{width:80px}.order-payment-column{width:96px}.order-account-column{width:200px}.order-status-column{width:88px}.order-distributor-column{width:116px}.order-distribution-status-column{width:132px}.order-table th:last-child,.order-table td:last-child:not([colspan]){text-align:left}.order-table th,.order-table td{white-space:nowrap}.order-number-action{display:block;width:100%;padding:0;background:none;color:var(--text-strong);font-weight:620;line-height:20px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-number-action:hover{color:var(--accent);text-decoration:underline}.order-number-action:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.order-account-info,.order-table .order-account-info strong{min-width:0}.order-note-editor{position:relative;min-width:0}.order-note-editor input{display:block;width:100%;text-overflow:ellipsis}.order-table .order-save-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.order-note-editor input[aria-invalid=true],.order-table select[data-order-annotation][aria-invalid=true]{border-color:var(--red)}.orders-shell,.orders-shell .main-surface{min-width:0;min-height:0}@media(max-width:1200px){.orders-shell .order-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.orders-shell .order-filters .search-field{grid-column:1 / -1}}@media(max-width:960px){.orders-shell .summary-strip,.orders-shell .order-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.orders-shell{grid-template-columns:64px minmax(0,1fr)}.orders-shell .sidebar{padding:18px 8px}.orders-shell .brand-block{padding:0;justify-content:center}.orders-shell .brand-block div,.orders-shell .nav-label,.orders-shell .side-nav small,.orders-shell .sidebar-footer,.orders-shell .session-pill{display:none}.orders-shell .side-nav button{display:flex;justify-content:center;padding:10px}.orders-shell .topbar{padding:0 12px}.orders-shell .topbar h1{font-size:20px}.orders-shell .summary-strip{padding:12px 12px 0}.orders-shell .list-workbench{padding:12px}.orders-shell .order-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}.code-table{--table-min-width: 900px}.article-table{--table-min-width: 820px}.article-table th:nth-child(1),.article-table td:nth-child(1){width:46%}.article-table th:nth-child(2),.article-table td:nth-child(2),.article-table th:nth-child(3),.article-table td:nth-child(3){width:92px}.article-table th:nth-child(4),.article-table td:nth-child(4){width:108px}.article-table th:nth-child(5),.article-table td:nth-child(5){width:224px}.user-table{width:100%}.user-table th:nth-child(1),.user-table td:nth-child(1){width:230px}.user-table th:nth-child(2),.user-table td:nth-child(2){width:125px}.user-table th:nth-child(3),.user-table td:nth-child(3){width:92px}.user-table th:nth-child(4),.user-table td:nth-child(4){width:105px}.user-table th:nth-child(5),.user-table td:nth-child(5){width:96px}.user-table th:nth-child(6),.user-table td:nth-child(6){width:172px}.article-title-cell{display:grid;gap:3px;min-width:0}.article-title-cell strong{max-width:none;font-size:14px;line-height:20px}.article-title-cell span{max-width:none;color:var(--text-muted)}.article-date{display:inline-block;max-width:100%;overflow:hidden;color:var(--text-main);text-overflow:ellipsis;white-space:nowrap}.pill,.status-badge{display:inline-flex;align-items:center;justify-content:center;min-width:64px;height:24px;padding:0 8px;border-radius:999px;font-size:12px;line-height:18px;white-space:nowrap}.status-badge{min-width:76px;height:30px;background:var(--surface-muted);color:var(--text-main)}.article-draft-state{display:inline-flex;align-items:center;gap:7px;width:fit-content;min-height:28px;margin:-2px auto 0;padding:0 10px;border:1px solid var(--border-soft);border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:12px;line-height:18px}.article-draft-dot{width:6px;height:6px;border-radius:999px;background:var(--text-faint)}.article-draft-state[data-state=saving] .article-draft-dot{background:var(--amber)}.article-draft-state[data-state=saved] .article-draft-dot{background:var(--green)}.article-draft-state button{margin-left:2px;color:var(--accent);font-weight:650}.article-draft-state button:hover{color:var(--accent-hover)}.article-inspector .article-draft-state{flex:0 0 auto;margin:0;white-space:nowrap}.pill.free{background:var(--green-soft);color:var(--green)}.pill.locked{background:var(--accent-soft);color:var(--accent)}.pill.warning{background:var(--amber-soft);color:var(--amber)}.pill.neutral{background:#eceff1;color:var(--text-muted)}.data-table td .pill{display:inline-flex;align-items:center;justify-content:center;max-width:none;overflow:visible;line-height:1;vertical-align:middle}.inspector{display:flex;flex-direction:column;min-height:0;padding:16px;overflow:auto}.inspector-header{position:sticky;top:-16px;z-index:12;display:grid;gap:12px;margin:-16px -16px 16px;padding:16px;border-bottom:1px solid var(--border-soft);background:#fffffff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.inspector-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.inspector-header h2{max-width:290px;overflow:hidden;font-size:18px;line-height:26px;text-overflow:ellipsis;white-space:nowrap}.permission-box,.log-list,.related-list{margin-top:16px;padding-top:16px;border-top:1px solid var(--border-soft)}.field-label{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px}.field-label small{color:var(--text-faint);font-size:12px}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.check-card{display:flex;align-items:center;gap:8px;min-height:34px;padding:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted);color:var(--text-main);font-size:12px}.check-card input{width:14px;height:14px;margin:0;accent-color:var(--accent)}.log-list{display:grid;gap:8px}.readonly-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.readonly-detail-item{display:grid;gap:4px;min-width:0;padding:10px 0 12px;border-bottom:1px solid var(--border-soft)}.readonly-detail-item>span{color:var(--text-muted);font-size:12px;line-height:18px}.readonly-detail-item>strong{overflow:hidden;color:var(--text-strong);font-size:13px;font-weight:550;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.readonly-detail-item.span-2{grid-column:1 / -1}.log-row,.related-list button,.related-list .related-readonly-row,.mini-row{display:grid;gap:4px;width:100%;min-width:0;padding:10px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted);text-align:left}.log-row strong,.related-list strong{color:var(--text-strong);font-size:12px;line-height:18px}.log-row span,.related-list span{color:var(--text-muted);font-size:12px;line-height:18px}.inspector-actions{justify-content:flex-end;flex-wrap:wrap}.article-actions{justify-content:space-between;width:100%}.article-inspector .article-actions{flex:0 0 auto;justify-content:flex-end;flex-wrap:nowrap;width:auto;gap:8px}.article-save-actions{display:flex;align-items:center;gap:10px}.article-inspector .article-save-actions{gap:8px;white-space:nowrap}.danger-text-button{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 14px;border:1px solid rgba(168,68,50,.24);border-radius:8px;background:var(--red-soft);color:var(--red);font-size:13px;font-weight:560;line-height:18px;white-space:nowrap}.danger-text-button:hover{border-color:#a844325c;background:#f5d6cd}.bar-list,.mini-table{display:grid;gap:10px;padding:16px;overflow:auto}.bar-row{display:grid;grid-template-columns:260px minmax(0,1fr) 88px;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted)}.bar-row strong{display:block;color:var(--text-strong);font-size:13px;line-height:20px}.user-activity-panel .bar-list{min-height:0;align-content:start}.bar-row>div:first-child{min-width:0}.bar-row strong,.bar-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-row span{display:block;color:var(--text-muted);font-size:12px;line-height:18px}.bar-track{height:8px;overflow:hidden;border-radius:999px;background:var(--control)}.bar-track i{display:block;height:100%;border-radius:inherit;background:var(--accent)}.bar-row b{color:var(--accent);font-size:13px;text-align:right}.mini-row{grid-template-columns:minmax(0,1fr) 104px 78px;align-items:center;min-height:52px}.state-dot{display:inline-flex;justify-content:center;color:var(--text-muted);font-size:12px;font-style:normal}.state-dot.ok{color:var(--green)}.state-dot.bad{color:var(--red)}.directory-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-stat{position:relative;overflow:hidden;min-height:78px;padding:13px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted)}.directory-stat i{position:absolute;left:0;bottom:0;height:3px}.generator-panel{align-self:start}.code-generator-body{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;padding:16px}.code-generator-fields.form-grid.dense{grid-template-columns:120px minmax(180px,1fr) minmax(140px,.75fr) 190px;padding:0}.code-duration-field .form-field{height:100%}.code-duration-field[hidden]{display:none}.generator-panel .primary-button{min-width:136px;margin:0}.code-table-panel{width:100%;min-height:0;justify-self:stretch}.code-table th,.code-table td{padding:10px 12px}.code-table th:nth-child(1),.code-table td:nth-child(1){width:24%}.code-table th:nth-child(2),.code-table td:nth-child(2){width:13%}.code-table th:nth-child(3),.code-table td:nth-child(3),.code-table th:nth-child(4),.code-table td:nth-child(4){width:11%}.code-table th:nth-child(5),.code-table td:nth-child(5){width:23%}.code-table th:nth-child(6),.code-table td:nth-child(6){width:18%}.code-row-actions{justify-content:flex-end;gap:4px}.code-row-actions button{min-width:38px}.code-row-actions .danger-action{border-color:#e8c7bf;color:var(--red)}.code-row-actions .danger-action:hover{border-color:#dca99d;background:#fff3f0}.user-row-actions .danger-action{border-color:#e8c7bf;color:var(--red)}.user-row-actions .danger-action:hover:not(:disabled){border-color:#dca99d;background:#fff3f0}.row-actions{gap:6px}.row-actions button{height:26px;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-main);font-size:12px;white-space:nowrap}.article-row-actions button{display:inline-flex;align-items:center;justify-content:center}.article-row-actions svg{width:14px;height:14px}.article-row-actions .danger-action{border-color:#e7bbb2;color:var(--red)}.article-row-actions .danger-action:hover{border-color:#dca99d;background:var(--red-soft)}.table-action{display:inline-flex;align-items:center;justify-content:center;height:28px;min-width:52px;padding:0 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text-main);font-size:12px;white-space:nowrap}.table-action:hover{border-color:#b95b3f6b;background:var(--accent-soft);color:var(--accent)}.edit-action{border-color:#b95b3f38;color:var(--accent)}.drawer-layer{position:fixed;inset:0;z-index:40;pointer-events:none}.drawer-backdrop{position:absolute;inset:0;background:#1817142e;cursor:default;pointer-events:auto}.inspector.detail-drawer{position:absolute;top:0;right:0;bottom:0;width:520px;border-width:0 0 0 1px;border-radius:0;box-shadow:-18px 0 50px #28211829;pointer-events:auto}.inspector.detail-drawer.article-inspector{width:min(960px,calc(100vw - 292px))}.article-inspector .inspector-header{grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:10px;margin-bottom:12px;padding:12px 16px}.article-inspector .inspector-heading-row{justify-content:flex-start;min-width:0}.article-inspector .inspector-header h2{max-width:clamp(180px,26vw,360px)}@media(max-width:1180px){.article-inspector .inspector-header{grid-template-columns:minmax(0,1fr) auto}.article-inspector .article-draft-state{order:3;grid-column:1 / -1;justify-self:center}.article-inspector .article-actions{grid-column:2}}.modal-layer{position:fixed;inset:0;z-index:55;display:grid;place-items:center}.modal-backdrop{position:absolute;inset:0;background:#1817143d}.modal-card{position:relative;z-index:1;width:460px;max-height:min(640px,calc(100vh - 80px));overflow:auto;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface);box-shadow:0 24px 70px #28211838;padding:18px}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:8px}.modal-header h2{margin:0;color:var(--text-strong);font-size:20px;line-height:28px}.modal-copy{margin:12px 0 16px;color:var(--text-muted);font-size:13px;line-height:22px}.recovery-list{display:grid;gap:8px;max-height:260px;overflow:auto}.recovery-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:6px}.recovery-row>div{min-width:0;display:grid;gap:3px}.recovery-row strong,.recovery-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recovery-row span{color:var(--text-muted);font-size:12px}.modal-form{grid-template-columns:1fr;margin-bottom:16px}.delete-summary{display:grid;gap:4px;margin-bottom:16px;padding:12px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted)}.delete-summary strong{color:var(--text-strong);font-size:14px;line-height:22px}.delete-summary span{color:var(--text-muted);font-size:12px;line-height:18px}.primary-button.danger{background:var(--red)}.primary-button.danger:hover{background:#92392a}.directory-panel{height:100%;min-height:0;padding-bottom:0;overflow:hidden}.directory-list{display:grid;gap:8px;flex:1 1 auto;min-height:0;padding:10px;overflow:auto}.directory-tree-group,.directory-children{display:grid;gap:6px}.directory-children{position:relative;margin-left:18px;padding-left:12px;border-left:1px solid var(--border-soft)}.directory-row{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr) 32px;align-items:center;gap:6px;min-width:0;min-height:54px;padding:9px 10px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted);cursor:pointer;transition:border-color .12s ease,background .12s ease,box-shadow .12s ease,transform .12s ease,opacity .12s ease}.directory-row.active,.directory-row:hover{border-color:#c4583d57;background:#fff8f4}.directory-row.child{min-height:50px;background:var(--surface)}.directory-row.child .directory-main strong{font-weight:600}.directory-row.dragging{border-color:#b95b3f6b;background:#fffaf6;box-shadow:0 14px 34px #2821182e;opacity:.72;transform:scale(.985)}.directory-row.drop-before:before,.directory-row.drop-after:after{position:absolute;left:8px;right:8px;z-index:3;height:2px;border-radius:999px;background:var(--accent);content:"";pointer-events:none}.directory-row.drop-before:before{top:-6px}.directory-row.drop-after:after{bottom:-6px}.directory-row.drop-before .drag-handle:before,.directory-row.drop-after .drag-handle:after{position:absolute;left:2px;z-index:4;width:6px;height:6px;border-radius:999px;background:var(--accent);content:"";pointer-events:none}.directory-row.drop-before .drag-handle:before{top:-8px}.directory-row.drop-after .drag-handle:after{bottom:-8px}.drag-handle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:24px;border-radius:6px;color:var(--text-muted);cursor:grab;-webkit-user-select:none;user-select:none}.drag-handle:hover{background:var(--control);color:var(--text-strong)}.drag-icon{width:10px;height:14px;background-image:radial-gradient(currentColor 1.1px,transparent 1.2px);background-position:0 0;background-size:5px 5px}.directory-main{min-width:0}.directory-main strong{display:block;overflow:hidden;color:var(--text-strong);font-size:13px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.directory-main span{display:block;overflow:hidden;color:var(--text-muted);font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.directory-action-cell{position:relative;display:flex;justify-content:flex-end;opacity:1;pointer-events:auto;transition:opacity .12s ease}.directory-row:hover .directory-action-cell,.directory-action-cell.open{opacity:1;pointer-events:auto}.tag-admin-panel{height:100%;min-height:0;overflow:hidden}.tag-admin-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.tag-admin-heading h3{margin:0;color:var(--text-strong);font-size:15px;line-height:22px}.tag-admin-heading p{margin:2px 0 0;color:var(--text-muted);font-size:12px;line-height:18px}.compact-button{height:32px;padding:0 12px}.tag-admin-editor{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;margin:10px 10px 0;padding:8px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted)}.tag-admin-editor input{min-width:0;height:34px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-main);font-size:13px;outline:none}.tag-admin-editor input:focus{border-color:#b95b3f61;box-shadow:0 0 0 3px #b95b3f1a}.tag-admin-list{display:grid;align-content:start;grid-auto-rows:54px;gap:6px;flex:1 1 auto;min-height:0;max-height:none;padding:10px;overflow:auto}.tag-admin-row{display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;height:54px;min-width:0;padding:9px 10px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted)}.tag-admin-row strong{display:block;overflow:hidden;color:var(--text-strong);font-size:13px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.tag-admin-row span{display:block;color:var(--text-muted);font-size:12px;line-height:18px}.tag-admin-actions{display:inline-flex;gap:6px;flex:0 0 auto}.tag-admin-actions button{height:28px;padding:0 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-main);font-size:12px}.tag-admin-actions button:hover{border-color:#b95b3f57;background:#fff8f4;color:var(--accent)}.tag-admin-actions .danger-action{border-color:#b0432e42;color:var(--red)}.tag-admin-actions .danger-action:hover{border-color:#b0432e57;background:var(--red-soft);color:var(--red)}.icon-menu-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-muted)}.icon-menu-button:hover,.icon-menu-button.active{border-color:#b95b3f5c;background:var(--accent-soft);color:var(--accent)}.more-icon,.more-icon:before,.more-icon:after{display:block;width:3px;height:3px;border-radius:999px;background:currentColor}.more-icon{position:relative}.more-icon:before,.more-icon:after{position:absolute;left:0;content:""}.more-icon:before{top:-7px}.more-icon:after{top:7px}.directory-menu{position:absolute;top:36px;right:0;z-index:8;display:grid;min-width:118px;padding:6px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface);box-shadow:0 14px 34px #28211829}.directory-menu button{height:30px;padding:0 10px;border-radius:6px;color:var(--text-main);font-size:12px;text-align:left;white-space:nowrap}.directory-menu button:hover{background:var(--surface-muted);color:var(--text-strong)}.directory-menu .danger-menu-item{color:var(--red)}.directory-menu .danger-menu-item:hover{background:var(--red-soft);color:var(--red)}.directory-menu button:disabled{color:var(--text-faint);cursor:not-allowed}.directory-menu button:disabled:hover{background:transparent;color:var(--text-faint)}.path-column{display:grid;gap:10px;min-height:420px;padding:12px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface)}.path-column-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:46px}.path-column-header>div{display:flex;min-width:0;gap:10px}.path-column-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;background:var(--accent-soft);color:var(--accent)}.path-column-icon svg,.path-column-header .icon-menu-button svg,.path-remove-button svg{width:16px;height:16px}.path-column-header h2{margin:0;overflow:hidden;color:var(--text-strong);font-size:15px;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.path-column-header p{margin:2px 0 0;display:-webkit-box;overflow:hidden;color:var(--text-muted);font-size:12px;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.path-picker{display:grid;gap:8px;padding:8px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted)}.path-picker input,.path-picker select,.path-picker textarea{width:100%;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-main);font-size:13px;outline:none}.path-picker input,.path-picker select{height:34px;padding:0 10px}.path-picker textarea{min-height:68px;resize:vertical;padding:9px 10px;line-height:18px}.path-picker input:focus,.path-picker select:focus,.path-picker textarea:focus{border-color:#b95b3f61;box-shadow:0 0 0 3px #b95b3f1a}.path-picker label{display:grid;gap:5px}.path-picker label span{color:var(--text-muted);font-size:12px;line-height:18px}.path-picker-heading,.watchtower-site-form-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.path-picker-heading strong{color:var(--text-strong);font-size:13px;line-height:20px}.path-picker-heading .text-button{height:auto;padding:0;background:transparent;color:var(--accent);font-size:12px;font-weight:600}.path-picker-heading .text-button:hover{color:var(--accent-hover)}.path-picker-list{display:grid;gap:6px;max-height:280px;overflow:auto}.path-picker-list button{display:grid;gap:2px;padding:8px 9px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface);text-align:left}.path-picker-list button:hover{border-color:#b95b3f57;background:#fff8f4}.path-picker-list strong{overflow:hidden;color:var(--text-strong);font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.path-picker-list span,.path-picker-empty{color:var(--text-muted);font-size:12px;line-height:18px}.path-card-list{display:grid;gap:8px;min-height:280px;align-content:start}.path-card-list.drop-empty{outline:2px dashed rgba(185,91,63,.36);outline-offset:3px}.watchtower-site-list{gap:12px}.watchtower-site-group{display:grid;gap:8px}.watchtower-site-group h3{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 0;color:var(--text-strong);font-size:13px;line-height:20px}.watchtower-site-group h3 small{color:var(--text-faint);font-size:11px;font-weight:500}.path-article-card{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr) 28px;gap:8px;align-items:start;min-height:82px;padding:10px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-muted);cursor:grab;transition:border-color .12s ease,background .12s ease,opacity .12s ease,transform .12s ease,box-shadow .12s ease}.path-article-card:hover{border-color:#b95b3f57;background:#fff8f4}.path-article-card.dragging{border-color:#b95b3f6b;background:#fffaf6;box-shadow:0 14px 34px #28211829;opacity:.72;transform:scale(.985)}.path-article-card.drop-before:before,.path-article-card.drop-after:after{position:absolute;left:8px;right:8px;z-index:2;height:2px;border-radius:999px;background:var(--accent);content:""}.path-article-card.drop-before:before{top:-6px}.path-article-card.drop-after:after{bottom:-6px}.path-article-index{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:var(--control);color:var(--text-muted);font-size:11px;font-weight:650}.path-article-card strong{display:block;overflow:hidden;color:var(--text-strong);font-size:13px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.path-article-card p{display:-webkit-box;margin:2px 0 4px;overflow:hidden;color:var(--text-muted);font-size:12px;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.path-article-card span:last-child{color:var(--text-faint);font-size:11px;line-height:16px}.path-site-card{grid-template-columns:24px minmax(0,1fr) auto;cursor:grab}.path-site-card .path-article-index{background:var(--accent-soft);color:var(--accent)}.path-card-actions{display:inline-flex;gap:6px}.path-remove-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-muted)}.path-remove-button:hover{border-color:#b95b3f57;background:#fff8f4;color:var(--accent)}.path-remove-button.danger:hover{border-color:#b0432e52;background:var(--red-soft);color:var(--red)}.path-empty-state{display:grid;place-items:center;min-height:132px;border:1px dashed var(--border);border-radius:8px;color:var(--text-muted);font-size:13px}.article-inspector .form-grid{grid-template-columns:1fr 1fr}.article-meta-row{display:grid;grid-template-columns:minmax(160px,.7fr) minmax(280px,1.3fr);gap:12px;align-items:end}.article-meta-row>.form-field{min-width:0}.article-tag-selector{align-self:stretch}.article-choice-list{display:flex;flex-wrap:wrap;gap:8px;min-height:38px;align-items:center}.article-choice{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 11px;border:1px solid var(--border-soft);border-radius:999px;background:var(--surface-muted);color:var(--text-main);font-size:12px;line-height:18px;cursor:pointer}.article-choice input{width:13px;height:13px;accent-color:var(--accent)}.article-choice:has(input:checked){border-color:#b95b3f57;background:var(--accent-soft);color:var(--accent)}.article-tag-empty{display:flex;align-items:center;min-height:24px;color:var(--text-muted);font-size:12px}.article-inspector textarea[data-field=article-body]{grid-column:1 / -1}.article-inspector textarea[data-field=article-body]{min-height:560px}.empty-state{display:grid;place-items:center;min-height:120px;color:var(--text-muted);font-size:13px}.empty-state.small{min-height:54px;border:1px dashed var(--border);border-radius:8px}.toast{position:fixed;right:24px;bottom:24px;z-index:50;padding:10px 14px;border-radius:8px;background:#191714;color:#fff;font-size:13px;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .16s ease,transform .16s ease}.toast.show{opacity:1;transform:translateY(0)}
