:root{font-family:"DM Sans","Noto Sans KR",sans-serif;color:#182033;background:#f3f5f9;font-synthesis:none;text-rendering:optimizeLegibility;--navy:#17118e;--navy-2:#2118aa;--ink:#1c2435;--muted:#7d8495;--line:#e8ebf1;--paper:#fff;--soft:#f5f6fa;--accent:#635bdf;--shadow:0 16px 50px rgba(27,30,66,.09)}
*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f1f3f8;color:var(--ink);transition:background .25s,color .25s}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(91,107,255,.32);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.5}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:64px;background:var(--navy);color:#fff;display:flex;align-items:center;padding:0 clamp(18px,5.2vw,84px);gap:13px;position:relative;z-index:5;box-shadow:0 3px 14px rgba(19,14,95,.12)}.brand{color:#fff;display:flex;align-items:center;gap:9px;border:0;background:none;padding:0;margin-right:clamp(16px,4.3vw,68px)}.crest{width:48px;height:36px;display:grid;place-items:center;position:relative;background:#ffe238;color:#12106d;clip-path:polygon(50% 0,100% 25%,86% 77%,50% 100%,14% 77%,0 25%);font-weight:900;font-size:10px;letter-spacing:-.04em}.crest:before{content:"";position:absolute;inset:3px;border:1.4px solid #161284;clip-path:polygon(50% 0,100% 25%,86% 77%,50% 100%,14% 77%,0 25%)}.crest span{position:relative;z-index:1;font-size:9px}.crest i{position:absolute;top:18px;font-size:7px;font-style:normal;letter-spacing:.08em}.brand-name{display:none;font-weight:700;font-size:16px;letter-spacing:-.05em}.icon-button{width:32px;height:32px;display:grid;place-items:center;background:transparent;border:0;color:inherit;border-radius:9px}.icon-button:hover,.account-button:hover{background:rgba(255,255,255,.14)}.icon-button svg,.account-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.topbar-spacer{flex:1}.theme-button{color:#fff}.account-button{color:white;display:flex;align-items:center;gap:7px;border:0;border-radius:9px;background:none;padding:6px 8px;font-size:12px}.account-button svg{width:13px;height:13px}.avatar{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:transparent;font-size:12px}.avatar svg{width:14px;height:14px;display:block;fill:currentColor;stroke:none}
main{flex:1}.home-view{min-height:calc(100vh - 64px);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:64px 22px 76px;background:linear-gradient(123deg,#43d6f5 0%,#09d8db 36%,#04e7b4 68%,#3479ff 100%);background-size:180% 180%;animation:gradient-drift 13s ease-in-out infinite alternate}.home-view:before,.home-view:after{content:"";position:absolute;width:460px;height:460px;border-radius:50%;filter:blur(80px);opacity:.28;pointer-events:none;animation:orb-drift 15s ease-in-out infinite alternate}.home-view:before{background:#30ff89;left:-190px;bottom:-230px}.home-view:after{background:#4d4dff;right:-160px;top:-250px;animation-delay:-6s}@keyframes gradient-drift{0%{background-position:0% 30%}100%{background-position:100% 75%}}@keyframes orb-drift{from{transform:translate(0,0) scale(.9)}to{transform:translate(50px,-30px) scale(1.18)}}.hero-content{position:relative;z-index:1;width:min(100%,930px);margin:auto;text-align:center;padding:10px 0 0}.hero-kicker{font-size:14px;font-weight:700;letter-spacing:-.035em;color:var(--navy);margin:0 0 5px}.hero-title{font-size:clamp(27px,4.4vw,42px);line-height:1.22;letter-spacing:-.065em;color:#000;margin:0;font-weight:800}.hero-title-brand{color:var(--navy)}.hero-description{max-width:min(100%,850px);margin:14px auto 0;padding:0;text-align:center;list-style:none;font-size:12px;line-height:1.65;color:#111}.hero-description li::before{content:"• ";}.hero-description li+li{margin-top:3px}.hero-search-row{width:min(100%,740px);height:54px;margin:32px auto 14px;display:flex;gap:9px}.hero-search{display:flex;align-items:center;flex:1;min-width:0;border-radius:13px;background:#fff;box-shadow:0 8px 30px #093a8930;padding:0 16px 0 19px}.hero-search input{border:0;outline:0;min-width:0;flex:1;font-size:13px;color:var(--ink);background:transparent}.hero-search input::placeholder{color:#a1a6b0}.hero-search>button{border:0;background:none;color:#272b35;display:grid;place-items:center;width:30px;height:34px}.hero-search>button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}.hero-tool{width:55px;border:0;border-radius:13px;background:#fff;color:#182033;font-size:12px;font-weight:700;box-shadow:0 8px 30px #093a8930;transition:transform .18s,background .18s}.hero-tool:hover{transform:translateY(-2px);background:#f5f4ff}.hero-tool svg{width:17px;height:17px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.home-widgets{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:min(100%,740px);margin:0 auto;text-align:left}.widget-card{min-height:196px;background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.65);border-radius:14px;padding:18px 20px;box-shadow:0 8px 32px #093a8918;transition:transform .2s,box-shadow .2s}.widget-card:hover{transform:translateY(-3px);box-shadow:0 14px 38px #093a8925}.widget-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 15px;color:#555b69;font-size:12px;font-weight:600;cursor:pointer}.widget-heading:hover{color:var(--accent)}.widget-heading span:first-child{display:flex;align-items:center;gap:8px}.widget-icon{width:20px;height:20px;border-radius:6px;background:#f0efff;color:#625be0;display:grid;place-items:center}.widget-icon svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.widget-more{font-size:10px;color:#9298a6}.widget-list{display:grid;gap:10px}.widget-item{display:flex;align-items:center;gap:9px;min-width:0;border:0;background:none;text-align:left;padding:2px 0;color:#333b4b;font-size:12px}.widget-item:hover .widget-text{text-decoration:underline;color:#4640c6}.doc-number{font-family:"DM Sans",sans-serif;color:#8d91a1;font-size:10px;font-weight:700;width:13px}.widget-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.widget-meta{color:#a0a4b0;font-size:10px}.widget-empty{color:#a0a4af;font-size:12px;padding:22px 2px;text-align:center}.trend-delta{width:14px;color:#f46a71;font-size:11px;text-align:center}.trend-delta.down{color:#7185e9}.trend-delta.same{color:#b1b4be}.home-note{margin:19px auto 0;font-size:10px;color:#17356a9c;letter-spacing:.01em}
.content-page{width:min(1180px,calc(100% - 52px));margin:30px auto 42px;min-height:calc(100vh - 154px)}.page-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:5px 0 21px}.eyebrow{color:#7169dd;font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;margin:0 0 6px}.page-title{margin:0;font-size:clamp(25px,3vw,33px);letter-spacing:-.06em;font-weight:800;color:#20253a}.page-subtitle{margin:7px 0 0;color:#858b9a;font-size:13px;line-height:1.6}.page-actions{display:flex;align-items:center;gap:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:1px solid transparent;border-radius:10px;padding:0 15px;font-size:12px;font-weight:700;transition:.18s}.button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.button-primary{color:#fff;background:#5149ce;box-shadow:0 5px 14px #5048cd2c}.button-primary:hover{background:#3f38b5;transform:translateY(-1px)}.button-secondary{color:#4b5162;background:#fff;border-color:#e4e7ef}.button-secondary:hover{border-color:#bcb9eb;color:#4e46c9}.button-danger{color:#d0505a;background:#fff0f0;border-color:#ffe0e2}.panel{background:var(--paper);border:1px solid #eaecf2;border-radius:15px;box-shadow:0 4px 22px #242c4910}.search-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px}.search-summary{padding:18px 21px;border-bottom:1px solid var(--line);font-size:13px;color:#7b8291}.search-summary strong{color:#292e40}.result-list{padding:3px 20px}.result-item{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #eff0f4;background:none;padding:18px 2px}.result-item:last-child{border-bottom:0}.result-title{font-size:16px;font-weight:700;color:#3331a1;margin-bottom:6px}.result-item:hover .result-title{text-decoration:underline}.result-excerpt{font-size:12px;line-height:1.8;color:#737b8b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.result-tags{display:flex;gap:6px;margin-top:9px}.tag{font-size:10px;color:#777e91;background:#f2f3f7;border-radius:5px;padding:4px 7px}.sidebar-panel{padding:17px}.sidebar-title{font-size:13px;font-weight:700;color:#33394b;margin:0 0 13px}.side-link{display:block;text-align:left;width:100%;background:none;border:0;color:#6b7281;font-size:12px;padding:9px 0;border-bottom:1px solid #f0f1f5}.side-link:last-child{border-bottom:0}.side-link:hover{color:#4d45c5}.empty-state{padding:70px 24px;text-align:center}.empty-mark{width:50px;height:50px;border-radius:15px;background:#f1f0ff;color:#5d55da;display:grid;place-items:center;margin:0 auto 16px}.empty-mark svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.empty-title{font-weight:700;font-size:15px;margin:0 0 7px}.empty-copy{font-size:12px;line-height:1.7;color:#9297a4;margin:0}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}.article-main{padding:28px 32px}.breadcrumbs{font-size:11px;color:#979cab;margin-bottom:21px}.breadcrumbs button{color:#7671cb;border:0;background:none;padding:0;font-size:inherit}.article-title{font-size:34px;letter-spacing:-.06em;margin:0 0 12px;line-height:1.2}.article-meta{font-size:11px;color:#9a9eaa;display:flex;align-items:center;gap:10px;padding-bottom:21px;border-bottom:1px solid var(--line)}.article-body{font-size:14px;line-height:1.95;color:#41495b;padding:22px 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}.article-body h2{font-size:20px;color:#252a3c;margin:25px 0 10px;letter-spacing:-.04em}.article-body h3{font-size:16px;color:#34394a;margin:20px 0 8px}.article-body p{margin:0 0 14px}.article-body a,.article-body .media-url{color:#4b45bf}.article-toc{padding:19px}.toc-title{font-weight:700;font-size:12px;margin-bottom:12px}.toc-item{border:0;background:none;display:block;text-align:left;width:100%;font-size:11px;color:#767e90;padding:7px 2px}.article-side-actions{display:flex;gap:8px;margin-top:13px}.article-side-actions .button{flex:1;padding:0 9px}.edit-note{font-size:11px;color:#9298a8;line-height:1.7;margin-top:13px}
.editor-panel{padding:24px}.field{display:grid;gap:7px;margin-bottom:16px}.field label{font-size:12px;font-weight:700;color:#454b5d}.field input,.field textarea,.field select{width:100%;border:1px solid #e3e6ee;border-radius:9px;background:#fff;color:#242a39;padding:11px 12px;font-size:13px;outline:0;transition:border .15s,box-shadow .15s}.field input:focus,.field textarea:focus,.field select:focus{border-color:#8079e9;box-shadow:0 0 0 3px #6d65d21a}.field textarea{min-height:260px;resize:vertical;line-height:1.7}.editor-toolbar{display:flex;gap:5px;margin-top:-7px;margin-bottom:9px;flex-wrap:wrap}.editor-toolbar button{border:1px solid #e8e9ef;background:#fff;border-radius:6px;padding:6px 9px;color:#73798a;font-size:10px}.editor-toolbar button:hover{color:#4c46c3;border-color:#c9c6f5}.field-hint{font-size:10px;color:#9a9eaa;line-height:1.65;margin-top:-2px}.limits-row{display:flex;gap:10px;flex-wrap:wrap;padding:13px 14px;border-radius:9px;background:#f6f7fb;margin:3px 0 18px}.limit-chip{color:#6e7484;font-size:10px}.limit-chip strong{color:#454c61}.limit-count{margin-left:auto;font-size:10px;color:#8c91a0}.limit-count.near{color:#d78335}.limit-count.over{color:#d2535b;font-weight:700}.editor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-actions-left{font-size:11px;color:#9499a7}.editor-actions-right{display:flex;gap:8px}.admin-callout{display:flex;align-items:center;gap:12px;background:#f3f2ff;border:1px solid #e3e1ff;padding:13px 15px;border-radius:10px;margin:0 0 17px;color:#5d58a4;font-size:11px;line-height:1.6}.admin-callout svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rank-list{padding:4px 23px}.rank-row{display:grid;grid-template-columns:45px minmax(0,1fr) auto 80px;align-items:center;gap:12px;min-height:66px;border-bottom:1px solid #eff0f4}.rank-row:last-child{border-bottom:0}.rank-number{font-size:19px;font-weight:800;color:#a4a9b7;text-align:center}.rank-row:nth-child(-n+3) .rank-number{color:#5149ce}.rank-term{font-size:14px;font-weight:600;color:#33394b}.rank-change{min-width:35px;font-size:10px;color:#ee7278}.rank-change.down{color:#7589e0}.rank-change.same{color:#adb1bb}.rank-count{font-size:10px;color:#9a9eaa;text-align:right}.rank-head{display:flex;align-items:center;justify-content:space-between;padding:16px 23px;border-bottom:1px solid var(--line);font-size:11px;color:#999eaa}.period-switch{display:flex;gap:4px;background:#f2f3f7;padding:3px;border-radius:8px}.period-switch button{border:0;background:transparent;border-radius:6px;padding:6px 10px;color:#828797;font-size:10px}.period-switch button.active{background:#fff;color:#4942bf;box-shadow:0 1px 4px #2222}.rank-disclaimer{font-size:10px;color:#a0a4b0;margin:13px 2px}.recommend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.recommend-card{padding:18px;min-height:170px;display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}.recommend-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.recommend-tag{font-size:10px;color:#625bd0;font-weight:700;background:#f1f0ff;padding:5px 8px;border-radius:6px;align-self:flex-start}.recommend-title{font-size:16px;letter-spacing:-.04em;margin:13px 0 7px;color:#31364a}.recommend-description{font-size:11px;color:#8b91a0;line-height:1.7;flex:1}.recommend-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:12px;color:#a1a5b1;font-size:10px}
.ai-layout{max-width:850px;margin:28px auto 42px;width:calc(100% - 36px);display:flex;flex-direction:column;min-height:calc(100vh - 155px)}.ai-heading{display:flex;align-items:center;gap:12px;margin-bottom:19px}.ai-spark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#6860e8,#8f6ced);color:white;display:grid;place-items:center;box-shadow:0 7px 19px #655cda38}.ai-spark svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.ai-heading h1{font-size:23px;margin:0;letter-spacing:-.05em}.ai-heading p{margin:3px 0 0;font-size:11px;color:#9298a6}.chat-panel{flex:1;padding:23px 25px;display:flex;flex-direction:column;min-height:430px}.chat-messages{flex:1;display:flex;flex-direction:column;gap:17px;padding:7px 1px 20px;overflow:auto}.chat-message{max-width:83%;font-size:13px;line-height:1.8;padding:13px 15px;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.assistant{align-self:flex-start;background:#f3f4f8;color:#444b5c;border-top-left-radius:4px}.chat-message.user{align-self:flex-end;background:#5049cb;color:#fff;border-top-right-radius:4px}.chat-message small{display:block;font-size:9px;opacity:.65;margin-bottom:3px}.chat-sources{font-size:10px;color:#8389a0;margin-top:8px;border-top:1px solid #ffffff7a;padding-top:7px}.chat-sources button{border:0;background:none;color:#5049cb;text-decoration:underline;padding:0;font-size:inherit}.chat-composer{border:1px solid #e4e6ef;border-radius:13px;padding:8px;display:flex;align-items:flex-end;gap:8px;background:#fff}.chat-composer textarea{flex:1;min-width:0;border:0;outline:0;resize:none;max-height:140px;padding:8px 10px;font-size:12px;line-height:1.6;color:#323849}.chat-send{width:39px;height:39px;border:0;border-radius:10px;background:#5149ce;color:white;display:grid;place-items:center;flex:none}.chat-send svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chat-footnote{text-align:center;color:#a0a5b1;font-size:10px;margin:11px 0 0}.suggestions{display:flex;flex-wrap:wrap;gap:7px;padding:0 0 13px}.suggestion{background:#fff;border:1px solid #e7e8ef;border-radius:20px;padding:7px 11px;color:#6f7586;font-size:10px}.suggestion:hover{border-color:#b7b3ee;color:#5049cb}
.admin-tabs{display:flex;gap:6px;border-bottom:1px solid #e8eaf0;margin:0 0 17px;padding-bottom:10px;overflow:auto}.admin-tabs button{border:0;background:none;color:#888e9d;padding:8px 12px;border-radius:8px;white-space:nowrap;font-size:11px}.admin-tabs button.active{background:#f0efff;color:#4f48c5;font-weight:700}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 16px}.stat-card{padding:15px 16px}.stat-label{font-size:10px;color:#989dab}.stat-value{font-size:24px;font-weight:800;letter-spacing:-.05em;margin:7px 0 3px}.stat-help{font-size:9px;color:#a4a8b4}.table-panel{overflow:hidden}.table-row{display:grid;grid-template-columns:minmax(0,1fr) 105px 115px;gap:12px;align-items:center;padding:14px 18px;border-bottom:1px solid #eff0f4;font-size:11px}.table-row:last-child{border-bottom:0}.table-header{font-size:10px;color:#9a9eaa;background:#fafbfc}.table-title{font-weight:600;color:#3f4556;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-status{justify-self:start;border-radius:20px;background:#eaf8f2;color:#368a66;padding:5px 8px;font-size:9px}.table-status.pending{background:#fff6e8;color:#b57a28}.table-status.hidden{background:#f2f2f5;color:#878c99}.table-actions{display:flex;justify-content:flex-end;gap:5px}.table-actions button{border:0;background:none;color:#7e8492;font-size:10px;padding:5px}.table-actions button:hover{color:#4e47c3}.request-row{padding:16px 18px;border-bottom:1px solid #eff0f4;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.request-row:last-child{border-bottom:0}.request-copy{min-width:0}.request-title{font-size:12px;font-weight:700;margin-bottom:5px}.request-detail{font-size:10px;color:#8c92a0;line-height:1.65}.request-actions{display:flex;gap:6px;flex:none}.request-actions button{font-size:10px;padding:7px 10px;min-height:30px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-card{padding:19px}.settings-card h3{font-size:13px;margin:0 0 13px}.setting-inline{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #f0f1f5;padding:12px 0;font-size:11px;color:#707787}.setting-inline input{width:96px;border:1px solid #e3e6ee;border-radius:7px;padding:7px 8px;text-align:right;color:#34394b}.switch{appearance:none;width:34px;height:20px;background:#d9dce5;border-radius:20px;position:relative;cursor:pointer;transition:.2s}.switch:checked{background:#6058d7}.switch:before{content:"";position:absolute;width:14px;height:14px;border-radius:50%;left:3px;top:3px;background:white;transition:.2s;box-shadow:0 1px 3px #0002}.switch:checked:before{left:17px}
.site-footer{min-height:52px;background:#fff;border-top:1px solid #e9ebf1;display:flex;align-items:center;justify-content:center;gap:13px;color:#a1a5b0;font-size:10px;padding:10px 20px}.site-footer>span:first-child{font-weight:700;color:#777d8c}.site-footer button{border:0;background:none;color:#7870d4;font-size:10px}.toast{position:fixed;z-index:30;left:50%;bottom:25px;transform:translate(-50%,12px);opacity:0;pointer-events:none;transition:.22s;background:#242638;color:#fff;border-radius:10px;padding:12px 16px;font-size:12px;box-shadow:0 8px 30px #0003;max-width:calc(100% - 30px);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.modal-backdrop{position:fixed;inset:0;z-index:20;background:rgba(22,24,39,.44);display:grid;place-items:center;padding:20px;backdrop-filter:blur(4px)}.modal-backdrop[hidden]{display:none}.modal{width:min(100%,460px);max-height:min(86vh,760px);overflow:auto;background:#fff;border-radius:17px;box-shadow:0 25px 80px #10132650;padding:24px}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:17px}.modal-header h2{font-size:19px;letter-spacing:-.05em;margin:0}.modal-header p{font-size:11px;color:#8c92a0;line-height:1.6;margin:5px 0 0}.modal-close{border:0;background:#f2f3f7;color:#73798a;border-radius:8px;width:30px;height:30px;font-size:18px}.modal-copy{font-size:12px;color:#6f7585;line-height:1.8}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.modal-note{border-radius:9px;padding:11px 12px;background:#f5f5fb;color:#83899a;font-size:10px;line-height:1.7;margin-top:13px}.modal .field:last-child{margin-bottom:0}.auth-user{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #eceef3;border-radius:11px;margin:15px 0}.auth-user .avatar{width:36px;height:36px;color:white;background:#716be0}.auth-user strong{font-size:12px}.auth-user small{display:block;color:#9096a5;font-size:10px;margin-top:4px}.check-row{display:flex;align-items:flex-start;gap:9px;color:#757b8b;font-size:10px;line-height:1.65}.check-row input{margin-top:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.article-media{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin:22px 0}.media-card{display:block;overflow:hidden;border-radius:10px;background:#f1f2f7;aspect-ratio:4/3}.media-card img{width:100%;height:100%;object-fit:cover}.media-link{display:flex;align-items:center;justify-content:space-between;border:1px solid #e6e8ef;border-radius:9px;padding:11px 13px;color:#5149c8;font-size:11px;max-width:390px;text-decoration:none}.media-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body.dark{--ink:#eef0f7;--muted:#a2a7b6;--line:#35384a;--paper:#222435;--soft:#292b3c;background:#171926;color:#eef0f7}body.dark .content-page,body.dark .site-footer{color:#eef0f7}body.dark .content-page{background:transparent}body.dark .panel,body.dark .recommend-card{background:#222435;border-color:#303346}body.dark .site-footer{background:#202233;border-color:#303346}body.dark .page-title,body.dark .article-title,body.dark .article-body h2,body.dark .article-body h3,body.dark .recommend-title,body.dark .term,body.dark .table-title,body.dark .request-title{color:#eceefa}body.dark .result-title{color:#aaa5ff}body.dark .result-excerpt,body.dark .article-body,body.dark .widget-item,body.dark .page-subtitle,body.dark .sidebar-title{color:#b6bbcb}body.dark .result-item,body.dark .rank-row,body.dark .table-row,body.dark .request-row,body.dark .article-meta{border-color:#35384a}body.dark .field input,body.dark .field textarea,body.dark .field select,body.dark .chat-composer,body.dark .button-secondary{background:#282a3c;border-color:#3b3e52;color:#e8eaf2}body.dark .editor-toolbar button{background:#292b3b;border-color:#3b3e50;color:#bec2d1}body.dark .limits-row,body.dark .rank-head,body.dark .table-header{background:#282a3a}body.dark .chat-message.assistant{background:#303245;color:#e0e3ef}body.dark .sidebar-panel .side-link{border-color:#35384a;color:#bec2d1}body.dark .modal{background:#222435;color:#eef0f7}body.dark .modal .field input{background:#292b3b;color:#eef0f7}body.dark .admin-callout{background:#302e4d;border-color:#41406a;color:#c4c0ff}body.dark .stat-card{background:#222435;border-color:#303346}body.dark .home-view{color:#17203c}
@media(min-width:1100px){.brand-name{display:inline}.brand{margin-right:clamp(20px,4vw,66px)}}@media(max-width:760px){.topbar{height:58px;padding:0 14px;gap:7px}.brand{margin-right:4px}.crest{width:40px;height:31px}.account-button{padding:5px}.account-button #accountLabel,.account-button>svg{display:none}.home-view{min-height:calc(100vh - 58px);padding:44px 18px 56px}.hero-content{padding:0}.hero-kicker{font-size:12px}.hero-title{font-size:clamp(27px,7vw,37px)}.hero-description{font-size:10px;max-width:500px}.hero-search-row{margin-top:25px;height:48px;gap:7px}.hero-search{padding:0 10px 0 13px}.hero-search input{font-size:11px}.hero-tool{width:44px;border-radius:11px;font-size:11px}.home-widgets{gap:9px}.widget-card{padding:14px 13px;min-height:176px}.widget-heading{font-size:10px;margin-bottom:11px}.widget-list{gap:9px}.widget-item{font-size:10px;gap:6px}.widget-meta{display:none}.content-page{width:calc(100% - 28px);margin:22px auto 30px}.page-title-row{align-items:flex-start;flex-direction:column;margin-bottom:15px}.page-title{font-size:27px}.page-actions{width:100%;justify-content:flex-start}.search-layout,.article-layout{grid-template-columns:1fr}.search-layout>.sidebar-panel,.article-layout>.sidebar-panel{display:none}.article-main{padding:22px 19px}.article-title{font-size:28px}.recommend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.recommend-card{padding:14px;min-height:160px}.admin-stats{grid-template-columns:repeat(2,1fr);gap:8px}.table-row{grid-template-columns:minmax(0,1fr) 78px 82px;padding:12px}.table-actions button{padding:4px}.settings-grid{grid-template-columns:1fr}.ai-layout{min-height:calc(100vh - 140px);margin:21px auto 28px}.chat-panel{padding:15px;min-height:400px}.chat-message{max-width:94%}.site-footer{min-height:45px;gap:8px;font-size:9px}.site-footer>span:nth-child(2){display:none}}@media(max-width:430px){.topbar{padding:0 10px;gap:4px}.theme-button{width:28px}.home-widgets{grid-template-columns:1fr}.widget-card{min-height:132px;padding:14px 16px}.widget-list{grid-template-columns:1fr 1fr;column-gap:14px}.home-view{align-items:flex-start;padding-top:75px}.hero-description{line-height:1.65}.hero-search-row{margin-top:21px}.recommend-grid{grid-template-columns:1fr}.rank-row{grid-template-columns:34px minmax(0,1fr) 36px 56px;gap:7px}.rank-list{padding:4px 12px}.rank-head{padding:13px}.page-actions .button{padding:0 10px}.editor-actions{align-items:flex-start;flex-direction:column}.editor-actions-right{width:100%}.editor-actions-right .button{flex:1}.request-row{flex-direction:column}.request-actions{align-self:flex-end}.modal{padding:20px}.brand-name{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Keep ranking rows clean and make their full width an intentional click target. */
.rank-list{display:grid;gap:0;padding:4px 18px 10px}
.rank-row{appearance:none;width:100%;padding:0 12px;border:0;border-bottom:1px solid #eef0f5;border-radius:0;background:transparent;color:inherit;text-align:left;cursor:pointer;transition:background-color .16s ease,border-radius .16s ease}
.rank-row:last-child{border-bottom:0}
.rank-row:hover{border-radius:12px;background:#f7f7fc}
.rank-row:focus-visible{outline:3px solid rgba(91,107,255,.32);outline-offset:-3px;border-radius:12px}
.rank-term{min-width:0;overflow-wrap:anywhere}
body.dark .rank-row{border-color:#35384a;background:transparent;color:#eef0f7}
body.dark .rank-row:hover{background:#2b2e43}
body.dark .rank-row:focus-visible{outline-color:rgba(153,148,255,.65)}
@media(max-width:430px){.rank-list{padding:4px 10px 8px}.rank-row{grid-template-columns:34px minmax(0,1fr) 32px 58px;min-height:60px;padding:0 7px}.rank-term{font-size:13px}}
.search-category-list{display:flex;flex-wrap:wrap;gap:7px;padding:5px 9px 9px}
.search-category-option{min-height:31px;padding:0 10px;border:1px solid #e7e9f1;border-radius:999px;background:#f8f9fc;color:#697084;font-size:11px;transition:background-color .15s,border-color .15s,color .15s}
.search-category-option:hover,.search-category-option.active{border-color:#d7d4f5;background:#f0efff;color:#5149c6}
.search-category-option:focus-visible{outline:3px solid rgba(91,107,255,.32);outline-offset:2px}
body.dark .search-category-option{border-color:#41445a;background:#2b2e42;color:#c7cada}
body.dark .search-category-option:hover,body.dark .search-category-option.active{border-color:#625f91;background:#393858;color:#e0deff}
.theme-button .moon-icon{display:none}body.dark .theme-button .sun-icon{display:none}body.dark .theme-button .moon-icon{display:block}
body.dark .home-view{background:linear-gradient(125deg,#17384b 0%,#103b43 34%,#143f3a 68%,#20315e 100%);background-size:180% 180%}
body.dark .home-view:before{background:#19ae82;opacity:.2}body.dark .home-view:after{background:#554dc7;opacity:.22}
body.dark .hero-kicker,body.dark .hero-title,body.dark .hero-description{color:#f0f2ff}
body.dark .hero-title{ text-shadow:0 2px 20px #08152b50 }body.dark .hero-title-brand{color:#ffe45c}body.dark .home-note{color:#e5e9ffad}
.hero-kicker{color:#000}
.article-toc-top{display:flex;align-items:flex-start;gap:10px;margin:13px 0 0;padding:9px 12px;background:var(--soft);border-color:var(--line);box-shadow:none}.article-toc-top .toc-title{flex:none;margin:4px 0 0;font-size:11px}.toc-items{display:flex;flex:1;flex-wrap:wrap;gap:4px 6px}.article-toc-top .toc-item{display:inline-flex;align-items:center;width:auto;border:1px solid var(--line);border-radius:6px;padding:4px 7px;background:var(--paper);color:var(--muted);font-size:10px;line-height:1.3}
body.dark .article-toc-top{background:var(--soft);border-color:var(--line)}
@media(max-width:430px){.article-toc-top{gap:7px;padding:8px}.article-toc-top .toc-title{margin-top:5px}}
body.dark .widget-card{background:rgba(29,33,51,.96);border-color:#ffffff20;box-shadow:0 8px 32px #050a1c38}
.brand-logo{display:block;width:100px;height:50px;object-fit:contain;image-rendering:auto;flex:none}
@media(max-width:760px){.brand-logo{width:80px;height:40px}}
body.dark .widget-heading,body.dark .widget-item{color:#e2e5f2}body.dark .widget-more,body.dark .widget-meta{color:#a7adc1}
body.dark .widget-icon{background:#343356;color:#c3bfff}body.dark .widget-empty{color:#abb0c0}
body.dark .hero-search{background:#252a40;box-shadow:0 8px 30px #050a1c55}body.dark .hero-search input{color:#f0f2fa}body.dark .hero-search input::placeholder{color:#aeb4c5}body.dark .hero-search>button{color:#f0f2fa}
body.dark .hero-tool{background:#292e49;color:#f2f3ff;box-shadow:0 8px 30px #050a1c55}body.dark .hero-tool:hover{background:#373960}
.home-widgets{align-items:stretch;gap:14px}
.widget-card{min-height:0;padding:18px;display:flex;flex-direction:column;gap:12px;border-radius:16px;background:rgba(255,255,255,.98);border:1px solid rgba(255,255,255,.82);box-shadow:0 10px 28px rgba(17,39,80,.13);transition:box-shadow .18s,border-color .18s}
.widget-card:hover{transform:none;box-shadow:0 14px 34px rgba(17,39,80,.18)}
.widget-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.widget-heading{display:flex;align-items:center;gap:10px;min-width:0;margin:0;color:#252c42;cursor:default}
.widget-heading .widget-icon{width:36px;height:36px;border-radius:11px;flex:none;background:#f0efff;color:#5d55d1}
.widget-heading .widget-icon svg{width:17px;height:17px}
.widget-heading-copy{min-width:0}
.widget-title{margin:0;color:#252c42;font-size:14px;line-height:1.4;letter-spacing:-.04em;font-weight:700}
.widget-description{margin:3px 0 0;color:#858b9b;font-size:10px;line-height:1.5}
.widget-more{display:flex;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:0 10px;border:1px solid #e8e7fb;border-radius:10px;background:#f7f6ff;color:#5149c6;font-size:10px;font-weight:700;white-space:nowrap;flex:none;transition:background .16s,border-color .16s}
.widget-more:hover{background:#eeedff;border-color:#d9d6fb}
.widget-more svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.widget-list{display:grid;gap:3px;margin:0;padding:0;list-style:none}
.widget-list li{min-width:0;margin:0;padding:0}
.widget-item{display:grid;grid-template-columns:25px minmax(0,1fr) auto 22px;align-items:center;gap:8px;width:100%;min-height:44px;padding:5px 7px;border:0;border-radius:10px;background:transparent;color:#30384c;text-align:left;font-size:12px;transition:background .15s,color .15s}
.widget-item:hover{background:#f4f4fc;color:#423bb4}
.widget-item:focus-visible,.widget-more:focus-visible,.widget-suggestion:focus-visible{outline:3px solid rgba(91,107,255,.42);outline-offset:2px}
.doc-number{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#f0effb;color:#675fd1;font-size:10px;font-weight:700;line-height:1}
.widget-text{min-width:0;color:inherit;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.widget-meta{color:#858b9b;font-size:9px;white-space:nowrap}
.widget-row-arrow,.widget-row-search{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;color:#8582b7}
.widget-row-arrow svg,.widget-row-search svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.widget-item:hover .widget-row-arrow,.widget-item:hover .widget-row-search{background:#e9e8fb;color:#5149c6}
.trend-delta{width:auto;min-width:23px;color:#dd6572;font-size:10px;font-weight:700;text-align:center;white-space:nowrap}
.trend-delta.down{color:#627ed2}.trend-delta.same{color:#9399a8}
.widget-empty{display:grid;gap:5px;padding:12px 11px;border-radius:12px;background:#f8f8fc;text-align:left;color:#52596a}
.widget-empty strong{font-size:11px;font-weight:700;color:#3c4355}
.widget-empty>span{font-size:10px;line-height:1.5;color:#83899a}
.widget-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-top:4px}
.widget-suggestion{min-height:36px;padding:0 11px;border:1px solid #e5e5f1;border-radius:18px;background:#fff;color:#5149c6;font-size:10px;font-weight:600;transition:background .15s,border-color .15s}
.widget-suggestion:hover{background:#f0efff;border-color:#d3d0fb}
body.dark .widget-card{background:rgba(29,33,51,.97);border-color:#ffffff20;box-shadow:0 10px 28px #050a1c44}
body.dark .widget-card:hover{box-shadow:0 14px 34px #050a1c66}
body.dark .widget-heading,body.dark .widget-title{color:#edf0fb}
body.dark .widget-description,body.dark .widget-meta{color:#aeb4c5}
body.dark .widget-heading .widget-icon{background:#363557;color:#c8c5ff}
body.dark .widget-more{border-color:#454369;background:#302f4d;color:#d1ceff}
body.dark .widget-more:hover{background:#3c3a61;border-color:#5b578f}
body.dark .widget-item{color:#d9dced}
body.dark .widget-item:hover{background:#2f3249;color:#fff}
body.dark .doc-number{background:#363451;color:#c8c3ff}
body.dark .widget-row-arrow,body.dark .widget-row-search{color:#aaa7d8}
body.dark .widget-item:hover .widget-row-arrow,body.dark .widget-item:hover .widget-row-search{background:#414063;color:#dedcff}
body.dark .widget-empty{background:#282b40;color:#dfe2f0}
body.dark .widget-empty strong{color:#f0f2fb}
body.dark .widget-empty>span{color:#b0b6c8}
body.dark .widget-suggestion{border-color:#454766;background:#30334c;color:#dddafe}
body.dark .widget-suggestion:hover{background:#3b3d61;border-color:#626092}
@media(max-width:760px){.home-widgets{gap:9px}.widget-card{padding:14px 12px;gap:9px}.widget-header{align-items:flex-start;gap:7px}.widget-heading{gap:8px}.widget-heading .widget-icon{width:30px;height:30px;border-radius:9px}.widget-heading .widget-icon svg{width:15px;height:15px}.widget-title{font-size:12px}.widget-description{font-size:9px}.widget-more{min-height:36px;padding:0 8px;font-size:9px}.widget-item{grid-template-columns:22px minmax(0,1fr) auto 20px;min-height:44px;gap:6px;padding:5px 4px}.doc-number{width:22px;height:22px}.widget-text{font-size:11px}.widget-meta{font-size:8px}}
@media(max-width:430px){.widget-card{padding:16px;gap:10px}.widget-header{align-items:center;gap:10px}.widget-heading .widget-icon{width:34px;height:34px}.widget-title{font-size:14px}.widget-description{font-size:10px}.widget-more{min-height:40px;padding:0 11px;font-size:10px}.widget-item{grid-template-columns:25px minmax(0,1fr) auto 22px;min-height:48px;gap:9px;padding:6px}.doc-number{width:25px;height:25px}.widget-text{font-size:13px}.widget-meta{font-size:10px}}
.hero-title{word-break:keep-all}
@media(max-width:760px){.hero-title{font-size:clamp(27px,6vw,34px)}.widget-title{font-size:13px}.widget-description{font-size:10px}.widget-more{min-height:40px;font-size:10px}.widget-meta{font-size:9px}.widget-suggestion{min-height:40px}}
.featured-document{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:100%;min-height:156px;padding:14px;border:1px solid #e8e8f1;border-radius:14px;background:linear-gradient(145deg,#fbfbff,#f5f6fc);color:#30364b;text-align:left;transition:transform .16s,border-color .16s,box-shadow .16s}
.featured-document:hover{transform:translateY(-2px);border-color:#c9c6f3;box-shadow:0 8px 20px #24265b14}
.featured-document:focus-visible{outline:3px solid rgba(91,107,255,.42);outline-offset:3px}
.featured-document-head,.featured-document-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}
.featured-tag{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:7px;background:#ecebff;color:#5149c6;font-size:10px;font-weight:700}
.featured-slot{color:#8b90a0;font-size:9px;white-space:nowrap}
.featured-title{display:block;color:#262d43;font-size:15px;font-weight:800;line-height:1.35;letter-spacing:-.04em;overflow-wrap:anywhere}
.featured-summary{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;color:#71788a;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.featured-document-foot{margin-top:auto;padding-top:8px;border-top:1px solid #e9eaf1;color:#9297a6;font-size:9px;line-height:1.4}
.featured-read{display:inline-flex;align-items:center;gap:3px;color:#5149c6;font-size:10px;font-weight:700;white-space:nowrap}
.featured-read svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.widget-description{word-break:keep-all}
body.dark .featured-document{border-color:#40435a;background:linear-gradient(145deg,#292c43,#24273a);color:#e8eaf5}
body.dark .featured-document:hover{border-color:#68649b;box-shadow:0 8px 20px #050a1c55}
body.dark .featured-tag{background:#3c3a61;color:#d5d2ff}
body.dark .featured-slot,body.dark .featured-document-foot{color:#aab0c2}
body.dark .featured-title{color:#f1f2fc}
body.dark .featured-summary{color:#b8bed0}
body.dark .featured-document-foot{border-color:#3c3f53}
body.dark .featured-read{color:#cfcbff}
@media(max-width:760px){.featured-document{min-height:150px;padding:11px;gap:8px}.featured-title{font-size:13px}.featured-summary{font-size:10px;-webkit-line-clamp:3}.featured-document-foot{font-size:8px}.featured-read{font-size:9px}}
@media(max-width:430px){.featured-document{min-height:160px;padding:14px}.featured-title{font-size:15px}.featured-summary{font-size:11px}.featured-document-foot{font-size:9px}.featured-read{font-size:10px}}
.widget-header{min-height:40px}
@media(max-width:760px){.widget-header{align-items:center}}
.widget-heading span.widget-icon{display:grid;place-items:center;}
.widget-heading .widget-icon{border-radius:50%;}
.ai-back-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 10px;flex:none;border:1px solid #e4e7ef;border-radius:10px;background:#fff;color:#626a7c;font-size:11px;font-weight:700;transition:background .16s,border-color .16s,color .16s}
.ai-back-button:hover{background:#f6f5ff;border-color:#d7d4f5;color:#5149c6}
.ai-back-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.dark .ai-back-button{background:#282a3c;border-color:#3b3e52;color:#e0e3ef}
body.dark .ai-back-button:hover{background:#343650;border-color:#525078;color:#d4d1ff}
@media(max-width:430px){.ai-back-button{width:38px;padding:0}.ai-back-button span{display:none}.ai-heading{gap:9px}.ai-heading h1{font-size:20px}}

@property --ai-rainbow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.hero-tool-ai {
  border: 2px solid transparent;
  background: linear-gradient(#fff,#fff) padding-box,
    conic-gradient(from var(--ai-rainbow-angle), #ff4f78, #ff9d43, #ffe45e, #48d6a2, #38bdf8, #7974ff, #d66bff, #ff4f78) border-box;
  animation: ai-rainbow-border 10s linear infinite;
}
.hero-tool-ai:hover {
  background: linear-gradient(#f5f4ff,#f5f4ff) padding-box,
    conic-gradient(from var(--ai-rainbow-angle), #ff4f78, #ff9d43, #ffe45e, #48d6a2, #38bdf8, #7974ff, #d66bff, #ff4f78) border-box;
}
@keyframes ai-rainbow-border { to { --ai-rainbow-angle: 360deg; } }
body.dark .hero-tool-ai {
  background: linear-gradient(#292e49,#292e49) padding-box,
    conic-gradient(from var(--ai-rainbow-angle), #ff4f78, #ff9d43, #ffe45e, #48d6a2, #38bdf8, #7974ff, #d66bff, #ff4f78) border-box;
}
body.dark .hero-tool-ai:hover {
  background: linear-gradient(#373960,#373960) padding-box,
    conic-gradient(from var(--ai-rainbow-angle), #ff4f78, #ff9d43, #ffe45e, #48d6a2, #38bdf8, #7974ff, #d66bff, #ff4f78) border-box;
}
@media(prefers-reduced-motion:reduce) { .hero-tool-ai { animation: none; } }

/* Keep the animated home background continuous behind the footer when the page scrolls. */
.app-shell:has(.home-view) {
  background: linear-gradient(123deg, #43d6f5 0%, #09d8db 36%, #04e7b4 68%, #3479ff 100%);
  background-size: 180% 180%;
  animation: gradient-drift 13s ease-in-out infinite alternate;
}
.app-shell:has(.home-view) .home-view { background: transparent; animation: none; }
.app-shell:has(.home-view) .site-footer { background: transparent; border-color: transparent; }
body.dark .app-shell:has(.home-view) {
  background: linear-gradient(125deg, #17384b 0%, #103b43 34%, #143f3a 68%, #20315e 100%);
  background-size: 180% 180%;
}
body.dark .app-shell:has(.home-view) .home-view { background: transparent; }
body.dark .app-shell:has(.home-view) .site-footer { background: transparent; border-color: transparent; }

.topbar-nav{display:flex;align-items:center;gap:clamp(3px,1.4vw,20px);height:100%;color:#fff}
.topbar-nav-link,.topbar-special>summary{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 9px;border:0;border-radius:9px;background:transparent;color:inherit;font-size:13px;font-weight:650;white-space:nowrap;cursor:pointer;list-style:none}
.topbar-nav-link:hover,.topbar-special>summary:hover,.topbar-special[open]>summary{background:#ffffff19}
.topbar-nav-link svg,.topbar-special>summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.topbar-special{position:relative}
.topbar-special>summary::-webkit-details-marker{display:none}
.topbar-special>summary .menu-chevron{width:13px;height:13px;margin-left:1px}
.topbar-dropdown{position:absolute;z-index:15;top:calc(100% + 8px);right:0;width:278px;max-height:min(75vh,680px);overflow:auto;padding:7px;background:#fff;color:#252b39;border:1px solid #e5e8f0;border-radius:12px;box-shadow:0 16px 36px #10163032}
.topbar-dropdown button{display:flex;align-items:center;gap:12px;width:100%;min-height:40px;padding:8px 11px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;font-size:12px}
.topbar-dropdown button:hover{background:#f1f2fc;color:#4942bf}
.topbar-dropdown button:first-letter{width:18px;font-weight:800;text-align:center}
.dropdown-group-label{padding:9px 10px 5px;color:#969bad;font-size:10px;font-weight:700;letter-spacing:.04em}
.dropdown-group-label:not(:first-child){border-top:1px solid #eceef3;margin-top:4px}
body.dark .topbar-dropdown{background:#222435;border-color:#393c50;color:#eceefa}
body.dark .topbar-dropdown button:hover{background:#30334b;color:#d4d1ff}
body.dark .dropdown-group-label{color:#a2a8ba;border-color:#393c50}
.recent-tabs,.discussion-tabs{display:flex;gap:4px;max-width:100%;overflow-x:auto;padding:4px;background:#fff;border:1px solid #e5e7ed;border-radius:10px;scrollbar-width:thin}
.recent-tabs button,.discussion-tabs button{flex:none;border:0;border-radius:7px;background:transparent;padding:8px 11px;color:#656c7a;font-size:12px;white-space:nowrap}
.recent-tabs button.active,.discussion-tabs button.active{background:#eeefff;color:#4f47c8;font-weight:700}
.change-table{margin-top:22px}
.change-head,.change-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(100px,150px) minmax(110px,170px) minmax(85px,120px);align-items:center;gap:14px}
.change-head{padding:13px 14px;border-bottom:2px solid #e2e4ea;font-size:12px;font-weight:750;color:#444b59}
.change-row{min-height:60px;padding:10px 14px;border-bottom:1px solid #e8eaf0}
.change-doc{display:flex;align-items:center;gap:8px;min-width:0;border:0;background:none;text-align:left;color:#315aca;font-weight:650}
.change-doc span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.change-type,.change-author,.change-time{font-size:11px;color:#717888}
.change-author{font-weight:650}
.change-tools{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}
.change-tools button{border:1px solid #e4e6ec;border-radius:6px;background:#fff;padding:3px 7px;color:#656c7a;font-size:10px}
.change-tools button:hover{border-color:#b7b4ee;color:#4c46c4}
.discussion-section{margin:22px 0 10px;color:#73798a;font-size:11px;font-weight:750}
.discussion-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 19px;border-bottom:1px solid #eceef2}
.discussion-row:last-child{border-bottom:0}
.discussion-open{flex:1;min-width:0;border:0;background:none;text-align:left}
.discussion-title{display:block;color:#315aca;font-size:14px;font-weight:700}
.discussion-meta{display:block;margin-top:6px;color:#8a90a0;font-size:10px;line-height:1.5}
.discussion-status{flex:none;border-radius:999px;background:#edf8f5;padding:5px 8px;color:#079784;font-size:10px;font-weight:700}
.discussion-status.closed{background:#f1f2f5;color:#777e8d}
.discussion-status.paused{background:#fff5e8;color:#b7792b}
.discussion-thread{padding:20px}
.discussion-message{padding:12px 0;border-bottom:1px solid #eceef2;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.discussion-message small{display:block;margin-bottom:4px;color:#8a90a0;font-size:10px}
.discussion-composer{display:flex;gap:8px;padding:14px 18px}
.discussion-composer input,.upload-url{flex:1;min-width:0;border:1px solid #e3e6ee;border-radius:9px;padding:10px 12px;font:inherit;font-size:12px}
.special-list{display:grid;gap:8px}
.special-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 17px}
.special-row strong{display:block;color:#343a4c;font-size:13px}
.special-row small{display:block;margin-top:4px;color:#868c9b;font-size:10px}
.upload-panel{padding:22px}
body.dark .recent-tabs,body.dark .discussion-tabs{background:#222435;border-color:#393c50}
body.dark .recent-tabs button,body.dark .discussion-tabs button{color:#c4c8d6}
body.dark .recent-tabs button.active,body.dark .discussion-tabs button.active{background:#363451;color:#d4d1ff}
body.dark .change-head{border-color:#393c50;color:#eceefa}
body.dark .change-row,body.dark .discussion-row,body.dark .discussion-message{border-color:#393c50}
body.dark .change-doc,.dark .discussion-title{color:#aaa5ff}
body.dark .change-type,body.dark .change-author,body.dark .change-time,body.dark .discussion-meta{color:#aeb4c5}
body.dark .change-tools button{background:#292b3b;border-color:#3b3e50;color:#bec2d1}
body.dark .discussion-status{background:#233e3a;color:#83ddcc}
body.dark .discussion-status.closed{background:#303245;color:#bdc2d0}
body.dark .discussion-status.paused{background:#493b2a;color:#edc28a}
body.dark .special-row strong{color:#eceefa}
body.dark .discussion-composer input,body.dark .upload-url{background:#292b3b;border-color:#3b3e50;color:#eef0f7}
@media(max-width:760px){.topbar{gap:5px}.topbar-nav{gap:0}.topbar-nav-link,.topbar-special>summary{gap:5px;padding:0 6px;font-size:10px}.topbar-nav-link svg,.topbar-special>summary svg{width:15px;height:15px}.change-head,.change-row{grid-template-columns:minmax(145px,1fr) 90px 95px 70px;gap:7px;padding-left:9px;padding-right:9px}.change-head{font-size:10px}.change-type,.change-author,.change-time{font-size:9px}.change-tools button{padding:3px 5px;font-size:9px}}
@media(max-width:430px){.topbar-nav-link,.topbar-special>summary{padding:0 4px;font-size:9px}.topbar-nav-link svg,.topbar-special>summary svg{width:13px;height:13px}.topbar-special>summary .menu-chevron{width:10px;height:10px}.topbar-dropdown{position:fixed;top:58px;right:8px;width:min(278px,calc(100vw - 16px));max-height:calc(100vh - 70px)}.change-head{display:none}.change-row{grid-template-columns:minmax(0,1fr) auto;gap:5px}.change-type{grid-column:2;grid-row:1}.change-author,.change-time{font-size:9px}.discussion-tabs{border-radius:8px}.discussion-row{padding:13px 12px}.discussion-title{font-size:12px}.discussion-composer{padding:12px}}
.article-side-actions{flex-wrap:wrap}
.compare-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-height:55vh;overflow:auto}
.compare-columns section{min-width:0}
.compare-columns h3{font-size:12px;margin:0 0 7px}
.compare-columns pre{max-height:45vh;overflow:auto;padding:11px;border-radius:8px;background:#f4f5f8;color:#444b5b;font:11px/1.65 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
body.dark .compare-columns pre{background:#2a2d40;color:#e0e3ef}
@media(max-width:560px){.compare-columns{grid-template-columns:1fr}.compare-columns pre{max-height:30vh}}
.wiki-inline-link{display:inline;border:0;background:none;padding:0;color:#315aca;text-decoration:underline;text-underline-offset:2px;font:inherit;cursor:pointer}
.wiki-inline-link:hover{color:#5149ce}
body.dark .wiki-inline-link{color:#aaa5ff}
body[data-article-size="large"] .article-body{font-size:16px}body[data-article-size="larger"] .article-body{font-size:18px}.settings-section+.settings-section{margin-top:14px}.settings-section h3{margin:0 0 4px;color:#3d4353;font-size:12px}.setting-inline.setting-choice{min-height:58px}.setting-copy{display:grid;gap:4px;min-width:0}.setting-copy strong{color:#3d4353;font-size:11px}.setting-copy small{color:#9298a6;font-size:9px;line-height:1.45}.setting-inline input:not(.switch){width:96px}.setting-inline select{flex:none;max-width:118px;border:1px solid #e3e6ee;border-radius:8px;background:#fff;color:#34394b;padding:8px 9px;font-size:10px}.setting-inline .switch{width:34px;min-width:34px;flex:none;padding:0}body.dark .settings-section h3,body.dark .setting-copy strong{color:#e7e9f2}body.dark .setting-copy small{color:#a5aabb}body.dark .setting-inline select{background:#292b3b;border-color:#3b3e52;color:#eef0f7}
.shuffle-button{display:grid;place-items:center;flex:none;width:42px;height:42px;padding:0;border:0;border-radius:9px;background:transparent;color:#fff;transition:background .16s}.shuffle-button:hover,.shuffle-button:focus-visible{background:#ffffff19}.shuffle-button:active{background:#ffffff26}.shuffle-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}@media(max-width:760px){.shuffle-button{width:30px;height:32px;border-radius:8px}.shuffle-button svg{width:15px;height:15px}}@media(max-width:430px){.shuffle-button{width:27px;height:30px}.shuffle-button svg{width:14px;height:14px}}
.auth-options{display:grid;gap:0}.login-profile-form{display:grid;gap:0}.login-profile-form .field{margin-bottom:12px}.login-profile-form .field input{min-height:42px}.profile-visibility-note{margin:0 0 10px;padding:10px 12px;border:1px solid #e5e8f0;border-radius:9px;background:#f7f8fc;color:#697082;font-size:10px;line-height:1.7}.profile-visibility-note strong{color:#3e4670}.profile-consent{margin:0 0 13px}.login-profile-form .auth-google-button{margin-top:2px}.auth-google-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;padding:0 14px;border:1px solid #e2e5ec;border-radius:10px;background:#fff;color:#343a46;font-size:12px;font-weight:700;transition:background .16s,border-color .16s}.auth-google-button:hover{background:#f8f9fb;border-color:#cfd4df}.auth-google-mark{font-family:Arial,sans-serif;font-size:18px;font-weight:800;color:#4285f4}.auth-divider{display:flex;align-items:center;gap:12px;margin:16px 0;color:#a0a5b1;font-size:10px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#e8eaf0}.auth-write-card{display:flex;align-items:center;gap:12px;width:100%;min-height:70px;padding:12px 13px;border:1px solid #e5e6f1;border-radius:12px;background:#f8f8fd;color:#303648;text-align:left;transition:background .16s,border-color .16s}.auth-write-card:hover{border-color:#c8c5ee;background:#f3f2ff}.auth-write-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:10px;background:#ecebff;color:#5952c8}.auth-write-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-write-copy{display:grid;gap:4px;min-width:0;flex:1}.auth-write-copy strong{font-size:12px}.auth-write-copy small{color:#818899;font-size:10px;line-height:1.45}.auth-write-arrow{color:#7770cf}.auth-write-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.auth-config-note{margin:0}.auth-divider:before,.auth-divider:after{background:#e8eaf0}body.dark .auth-google-button{background:#292b3b;border-color:#3b3e52;color:#eef0f7}body.dark .auth-google-button:hover{background:#303247}body.dark .auth-divider:before,body.dark .auth-divider:after{background:#3b3e52}body.dark .auth-write-card{background:#292b3b;border-color:#3b3e52;color:#eef0f7}body.dark .auth-write-card:hover{background:#303247;border-color:#514b8b}body.dark .auth-write-icon{background:#3a3762;color:#c4c0ff}body.dark .auth-write-copy small{color:#a5aabb}body.dark .profile-visibility-note{background:#292b3b;border-color:#3b3e52;color:#b4bacb}body.dark .profile-visibility-note strong{color:#d4d1ff}
/* Keep document syntax guidance available beside the editor without crowding it. */
.editor-markup-help{margin:0 0 10px;color:#858b9a;font-size:10px}
.editor-markup-help summary{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0 8px;border:1px solid #e8eaf0;border-radius:7px;background:#fff;color:#777e8d;cursor:pointer;list-style:none;transition:background .15s,border-color .15s,color .15s}
.editor-markup-help summary::-webkit-details-marker{display:none}
.editor-markup-help summary:before{content:"＋";font-size:11px;color:#7770d4}
.editor-markup-help[open] summary:before{content:"−"}
.editor-markup-help summary:hover,.editor-markup-help summary:focus-visible{border-color:#d5d2f5;background:#fafaff;color:#5149c6;outline:none}
.editor-markup-content{margin-top:8px;padding:11px 12px;border:1px solid #ececf3;border-radius:9px;background:#fafafe}
.editor-markup-content>p{margin:0 0 8px;color:#858b9a;font-size:10px;line-height:1.5}
.editor-markup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px}
.editor-markup-grid span{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.editor-markup-grid code,.editor-markup-note code{padding:2px 4px;border-radius:4px;background:#f0effa;color:#5049b5;font:10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap}
.editor-markup-grid small{color:#9297a5;font-size:9px;text-align:right}
.editor-markup-content .editor-markup-note{margin:9px 0 0;padding-top:8px;border-top:1px solid #ececf3;color:#969baa;font-size:9px}
.editor-markup-reference{margin-top:9px;padding-top:8px;border-top:1px solid #ececf3}
.editor-markup-reference>summary{color:#777e8d;font-size:9px;cursor:pointer;list-style:none}
.editor-markup-reference>summary::-webkit-details-marker{display:none}
.editor-markup-reference>summary:before{content:"＋ ";color:#7770d4}
.editor-markup-reference[open]>summary:before{content:"− "}
.editor-markup-reference .editor-markup-grid{margin-top:8px}
body.dark .editor-markup-help summary{border-color:#3b3e52;background:#282a3c;color:#b8bdcc}
body.dark .editor-markup-help summary:hover,body.dark .editor-markup-help summary:focus-visible{border-color:#514b8b;background:#303149;color:#d4d1ff}
body.dark .editor-markup-content{border-color:#393c50;background:#252738}
body.dark .editor-markup-content>p{color:#a5aabb}
body.dark .editor-markup-grid code,body.dark .editor-markup-note code{background:#363451;color:#d4d1ff}
body.dark .editor-markup-grid small,body.dark .editor-markup-content .editor-markup-note{color:#9da3b4}
body.dark .editor-markup-content .editor-markup-note{border-color:#393c50}
body.dark .editor-markup-reference{border-color:#393c50}
body.dark .editor-markup-reference>summary{color:#b8bdcc}
@media(max-width:430px){.editor-markup-grid{grid-template-columns:1fr}.editor-markup-grid span{justify-content:flex-start}.editor-markup-grid small{text-align:left}}
.topbar-search-slot{flex:0 1 clamp(180px,32vw,420px);min-width:0;margin:0 clamp(10px,2vw,28px) 0 0}
.topbar-search-slot:empty{display:none}
.topbar-search{width:100%;min-width:0;margin:0}
.topbar-search-field,.hero-search{position:relative;z-index:12;display:flex;align-items:center;gap:5px;width:100%;height:36px;padding:0 6px 0 13px;border:1px solid #ffffff40;border-radius:999px;background:#fff;color:#252a3a;box-shadow:0 2px 8px #09084124}
.topbar-search-field input{width:100%;min-width:0;flex:1;border:0;outline:0;background:transparent;color:#252a3a;font-size:12px}
.topbar-search-field input::placeholder{color:#969baa}
.topbar-search-field>button,.hero-search>button{display:grid;place-items:center;flex:none;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:#272b35}
.topbar-search-field>button:hover,.hero-search>button:hover{background:#f0f1f7}
.topbar-search-field>button svg,.hero-search>button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.search-suggestions{position:absolute;z-index:20;top:calc(100% + 8px);left:0;right:0;max-height:min(360px,55vh);overflow:auto;padding:7px;background:#fff;border:1px solid #e4e7ef;border-radius:13px;box-shadow:0 14px 36px #14225430;text-align:left;color:#252a3a}.search-suggestions[hidden]{display:none}.search-suggestion-heading{padding:9px 10px 5px;color:#858b9a;font-size:10px;font-weight:700;letter-spacing:.02em}.search-suggestion-option{display:flex;align-items:center;gap:10px;width:100%;min-height:43px;padding:7px 9px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left}.search-suggestion-option:hover,.search-suggestion-option.active{background:#f0f2fa}.search-suggestion-option>svg{width:14px;height:14px;flex:none;fill:none;stroke:#969bac;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.search-suggestion-icon{width:25px;height:25px;flex:none;display:grid;place-items:center;border-radius:7px;background:#f0efff;color:#5149ce}.search-suggestion-icon.keyword{background:#eaf8f5;color:#139b88}.search-suggestion-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.search-suggestion-copy{display:grid;gap:2px;min-width:0;flex:1}.search-suggestion-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}.search-suggestion-copy small{color:#9298a6;font-size:10px}.search-suggestion-query{min-height:48px}body.dark .search-suggestions{background:#242638;border-color:#3b3e52;box-shadow:0 14px 36px #0008;color:#edf0f8}body.dark .search-suggestion-heading{color:#a2a7b7}body.dark .search-suggestion-option:hover,body.dark .search-suggestion-option.active{background:#303349}body.dark .search-suggestion-icon{background:#363451;color:#d4d1ff}body.dark .search-suggestion-icon.keyword{background:#263f3e;color:#70d6c3}body.dark .search-suggestion-copy small{color:#a2a7b7}
.search-no-match{padding:14px 11px;color:#858b9a;font-size:11px}
body.dark .search-no-match{color:#a2a7b7}
.hero-search-form{display:flex;align-items:center;flex:1;min-width:0;height:100%;margin:0}
.hero-search-form .hero-search{width:100%;height:100%}
@media(min-width:761px){.topbar .brand{margin-right:clamp(4px,1.5vw,18px)}}
@media(max-width:760px){.topbar-search-slot{flex:1 1 auto;margin:0 2px 0 0}.topbar-search-field{height:32px;padding-left:10px}.topbar-search-field input{font-size:11px}.topbar-search-field input::placeholder{font-size:10px}.topbar-search-field>button{width:24px;height:24px}.topbar-search-field>button svg{width:14px;height:14px}}
@media(max-width:430px){.topbar-search-slot{margin-right:1px}.topbar-search-field{height:30px;padding:0 4px 0 9px}.topbar-search-field input{font-size:10px}}
.wiki-list{margin:0 0 15px;padding-left:23px}.wiki-list li{padding:2px 0}.wiki-callout{padding:11px 14px;border-left:3px solid #7770d4;border-radius:0 8px 8px 0;background:#f4f3ff;color:#393568;font-weight:600}.wiki-quote{margin:0 0 14px;padding:8px 14px;border-left:3px solid #c9c6e8;color:#73798a}.wiki-divider{height:1px;margin:20px 0;border:0;background:var(--line)}.wiki-image{margin:14px 0 18px}.wiki-image img{display:block;max-width:100%;max-height:520px;border-radius:9px;object-fit:contain}.wiki-image figcaption{margin-top:5px;color:#858b9a;font-size:11px}.wiki-media-link{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px solid #e4e5ee;border-radius:8px;background:#f9f9fd;text-decoration:none}body.dark .wiki-callout{background:#302e4d;color:#d4d1ff}body.dark .wiki-quote{color:#b6bbcb;border-color:#514b8b}body.dark .wiki-media-link{background:#292b3b;border-color:#3b3e52}
.logout-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 10px;border:1px solid #ffffff65;border-radius:8px;background:transparent;color:#fff;font-size:11px;font-weight:650;white-space:nowrap}.logout-button:hover{background:rgba(255,255,255,.14)}.logout-button[hidden]{display:none}
.proposal-preview{margin-top:12px;border:1px solid #eceef3;border-radius:10px;padding:10px 12px;background:#fafbfc}.proposal-preview summary{cursor:pointer;color:#5149c8;font-size:11px;font-weight:700}.proposal-preview .article-body{max-height:320px;overflow:auto;padding:10px 2px 0;white-space:normal}body.dark .proposal-preview{background:#282a3c;border-color:#3b3e52}body.dark .proposal-preview summary{color:#aaa5ff}

/* Admin workspace: clear task queue and searchable document controls */
.admin-page .page-title-row{align-items:center}.admin-tabs{margin-bottom:20px;gap:5px}.admin-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 13px}.admin-tab-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#fff0e2;color:#b56c1a;font-size:10px;font-weight:800}.admin-tabs button.active .admin-tab-count{background:#dedcff;color:#5048c7}.admin-overview{padding:20px;margin-bottom:15px}.admin-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.admin-section-heading h2{font-size:16px;letter-spacing:-.04em;margin:0}.admin-section-heading p{font-size:11px;line-height:1.6;color:#858b9a;margin:5px 0 0}.admin-pending-total{white-space:nowrap;border-radius:999px;background:#f2f1ff;color:#5149c6;padding:7px 10px;font-size:10px;font-weight:700}.admin-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.admin-task-card{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;min-height:118px;padding:14px;border:1px solid #e9eaf1;border-radius:12px;background:#fbfbfd;color:var(--ink);text-align:left;transition:border-color .16s,background .16s,transform .16s}.admin-task-card:hover{border-color:#c9c6f3;background:#f8f7ff;transform:translateY(-1px)}.admin-task-card:focus-visible,.admin-stat-card:focus-visible{outline:3px solid rgba(91,107,255,.32);outline-offset:2px}.admin-task-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.admin-task-title{font-size:12px;font-weight:700}.admin-task-count{display:grid;place-items:center;min-width:26px;height:26px;padding:0 7px;border-radius:9px;background:#f0f1f5;color:#7f8593;font-size:12px}.admin-task-count.has-pending{background:#fff0e3;color:#b56c1a}.admin-task-copy{min-height:30px;color:#858b9a;font-size:10px;line-height:1.55}.admin-task-link{display:flex;align-items:center;gap:4px;margin-top:auto;color:#5149c6;font-size:10px;font-weight:700}.admin-task-link svg,.admin-stat-card .stat-help svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.admin-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 15px}.admin-stat-card{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:14px 16px;text-align:left;color:var(--ink);cursor:pointer;transition:border-color .16s,transform .16s}.admin-stat-card:hover{border-color:#c9c6f3;transform:translateY(-1px)}.admin-stat-card .stat-value{margin:7px 0 4px}.admin-stat-card .stat-help{display:flex;align-items:center;gap:4px;color:#858b9a;font-size:9px}.admin-doc-panel,.admin-list-panel{overflow:hidden}.admin-doc-toolbar{display:flex;align-items:center;gap:9px;padding:13px 15px;border-bottom:1px solid var(--line);background:var(--paper)}.admin-doc-search{display:flex;align-items:center;gap:8px;flex:1;min-width:150px;height:38px;padding:0 10px;border:1px solid #e4e7ef;border-radius:9px;background:var(--paper);color:#8a90a0}.admin-doc-search svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.admin-doc-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:11px}.admin-doc-search input::placeholder{color:#a2a7b3}.admin-doc-filter select{height:38px;padding:0 28px 0 10px;border:1px solid #e4e7ef;border-radius:9px;background:var(--paper);color:#596071;font-size:10px}.admin-doc-count{min-width:max-content;color:#8a90a0;font-size:10px}.admin-doc-row{display:grid;grid-template-columns:minmax(0,1fr) 130px auto;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #eff0f4}.admin-doc-row:last-child{border-bottom:0}.admin-doc-row[hidden]{display:none}.admin-doc-info{display:grid;gap:4px;min-width:0}.admin-doc-title{overflow:hidden;border:0;background:transparent;padding:0;color:#353b50;text-align:left;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.admin-doc-title:hover{color:#5149c6;text-decoration:underline}.admin-doc-meta{overflow:hidden;color:#9196a4;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.admin-doc-status{justify-self:start;padding:5px 8px;border-radius:999px;background:#eaf8f2;color:#368a66;font-size:9px;white-space:nowrap}.admin-doc-status.hidden{background:#f1f1f4;color:#818694}.admin-doc-actions{display:flex;justify-content:flex-end;gap:4px}.admin-doc-actions button{min-height:30px;padding:0 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:#717889;font-size:9px;white-space:nowrap}.admin-doc-actions button:hover{border-color:#e2e0f6;background:#f7f6ff;color:#5149c6}.admin-doc-actions .admin-delete-action:hover{border-color:#ffd7da;background:#fff2f2;color:#c34750}.admin-doc-no-results{text-align:center;padding:35px 14px;color:#8b91a0;font-size:11px}.admin-list-intro{padding:16px 18px 5px}.admin-list-intro strong{font-size:12px}.admin-list-intro p,.admin-settings-help,.admin-settings-note{color:#858b9a;font-size:10px;line-height:1.7}.admin-list-intro p{margin:5px 0 8px}.admin-settings-help{margin:0 0 12px}.admin-settings-note{margin:12px 0 0}.admin-list-empty{padding:36px 20px}
body.dark .admin-task-card{border-color:#3b3e52;background:#27293b;color:#eef0f7}body.dark .admin-task-card:hover{border-color:#625f91;background:#2d2f45}body.dark .admin-task-title,body.dark .admin-doc-title{color:#e6e8f2}body.dark .admin-task-copy,body.dark .admin-section-heading p,body.dark .admin-doc-meta,body.dark .admin-doc-count,body.dark .admin-settings-help,body.dark .admin-settings-note,body.dark .admin-list-intro p{color:#aeb4c5}body.dark .admin-pending-total{background:#353354;color:#d0ccff}body.dark .admin-tab-count{background:#443546;color:#ffc58d}body.dark .admin-tabs button.active .admin-tab-count{background:#444166;color:#d2ceff}body.dark .admin-task-count{background:#37394b;color:#bdc2d1}body.dark .admin-task-count.has-pending{background:#493b34;color:#ffc58d}body.dark .admin-task-link,body.dark .admin-stat-card .stat-help{color:#b9b4ff}body.dark .admin-doc-toolbar{background:#222435}body.dark .admin-doc-search,body.dark .admin-doc-filter select{border-color:#3b3e52;background:#282a3c;color:#e8eaf2}body.dark .admin-doc-row{border-color:#35384a}body.dark .admin-doc-status.hidden{background:#343644;color:#c1c5d1}body.dark .admin-doc-actions button{color:#b5bbca}body.dark .admin-doc-actions button:hover{border-color:#4b496d;background:#303149;color:#d0ccff}body.dark .admin-doc-actions .admin-delete-action:hover{border-color:#684449;background:#412f37;color:#ffb7bd}
@media(max-width:760px){.admin-task-grid{grid-template-columns:1fr}.admin-task-card{min-height:98px}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-doc-toolbar{flex-wrap:wrap}.admin-doc-search{flex-basis:100%}.admin-doc-count{margin-left:auto}.admin-doc-row{grid-template-columns:minmax(0,1fr) auto;gap:9px}.admin-doc-status{grid-column:2;grid-row:1}.admin-doc-actions{grid-column:1/-1;justify-content:flex-start;border-top:1px solid #eff0f4;padding-top:8px}.admin-doc-actions button{min-height:34px;padding:0 11px}body.dark .admin-doc-actions{border-color:#35384a}}
@media(max-width:430px){.admin-page .page-title-row{align-items:flex-start}.admin-overview{padding:15px}.admin-section-heading h2{font-size:14px}.admin-pending-total{font-size:9px}.admin-doc-filter select{max-width:140px}.admin-doc-row{padding:12px}.admin-doc-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.admin-doc-actions button{padding:0 4px;font-size:9px}.admin-doc-status{font-size:8px;padding:5px 6px}}

/* Quieter admin styling: compact navigation, review rows, and a single metrics strip */
.admin-page .page-title-row{margin-bottom:17px}.admin-page .page-title{letter-spacing:-.055em}.admin-page .page-subtitle{font-size:12px}.admin-tabs{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:4px;gap:2px;margin-bottom:17px}.admin-tabs button{min-height:36px;padding:0 12px;font-size:10px}.admin-tabs button.active{background:#f3f2ff;color:#4f48bd}.admin-tab-count{min-width:18px;height:18px;font-size:9px}.admin-work-panel{padding:18px 20px;margin-bottom:13px;box-shadow:0 2px 12px rgba(27,30,66,.035)}.admin-section-heading{margin-bottom:10px}.admin-section-heading h2{font-size:14px}.admin-section-heading p{font-size:10px}.admin-pending-total{background:#f4f4f8;color:#767c8b;font-size:9px;padding:6px 9px}.admin-work-list{display:grid}.admin-work-row{display:flex;align-items:center;gap:12px;width:100%;min-height:59px;padding:9px 2px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}.admin-work-row:hover .admin-work-copy strong,.admin-work-row:hover .admin-work-arrow{color:#5149c6}.admin-work-count{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:#f2f3f7;color:#858b98;font-size:11px;font-weight:700}.admin-work-count.needs-review{background:#fff3e7;color:#b56c1a}.admin-work-copy{display:grid;gap:3px;flex:1;min-width:0}.admin-work-copy strong{font-size:11px;font-weight:700}.admin-work-copy small{overflow:hidden;color:#8a90a0;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.admin-work-arrow{color:#a0a5b1;font-size:21px;line-height:1}.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.admin-metric{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 10px;min-width:0;padding:13px 16px;border:0;border-right:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}.admin-metric:last-child{border-right:0}.admin-metric:hover{background:var(--soft)}.admin-metric>span{color:#858b9a;font-size:9px}.admin-metric>strong{grid-column:2;grid-row:1/3;font-size:20px;letter-spacing:-.04em}.admin-metric>small{color:#a0a5b1;font-size:8px}.admin-doc-toolbar{padding:12px 16px;background:var(--paper)}.admin-doc-row{grid-template-columns:minmax(0,1fr) auto auto;padding:14px 16px}.admin-doc-actions{gap:2px}.admin-doc-actions button{min-height:29px;padding:0 9px;border-radius:6px;color:#73798a;font-size:9px}.admin-doc-actions button:hover{border-color:transparent;background:#f2f2f8}.admin-doc-actions .admin-delete-action{color:#a16c70}.admin-doc-actions .admin-delete-action:hover{border-color:transparent;background:#fff1f1;color:#c34750}.admin-doc-status{padding:5px 8px;font-size:8px}.admin-doc-title{font-size:11px}.admin-doc-meta{font-size:8px}
body.dark .admin-tabs button.active{background:#34334f;color:#d6d3ff}body.dark .admin-pending-total{background:#303246;color:#bdc2d0}body.dark .admin-work-count{background:#343648;color:#c1c5d1}body.dark .admin-work-count.needs-review{background:#493b34;color:#ffc58d}body.dark .admin-work-copy small{color:#a7aec0}body.dark .admin-work-arrow,body.dark .admin-metric>span,body.dark .admin-metric>small{color:#a7aec0}body.dark .admin-metric:hover{background:#2a2c40}body.dark .admin-doc-actions button:hover{border-color:transparent;background:#303149}body.dark .admin-doc-actions .admin-delete-action{color:#d7999e}body.dark .admin-doc-actions .admin-delete-action:hover{border-color:transparent;background:#412f37;color:#ffb7bd}
@media(max-width:760px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-metric:nth-child(2){border-right:0}.admin-metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.admin-doc-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 10px}.admin-doc-status{grid-column:2;grid-row:1}.admin-doc-actions{grid-column:1/-1;justify-content:flex-start;border-top:1px solid var(--line);padding-top:7px}.admin-doc-actions button{min-height:32px;padding:0 11px}}
@media(max-width:430px){.admin-work-panel{padding:15px}.admin-section-heading h2{font-size:13px}.admin-work-row{min-height:56px;gap:9px}.admin-work-copy small{font-size:8px}.admin-metric{padding:11px 12px}.admin-metric>strong{font-size:18px}.admin-doc-row{padding:12px}.admin-doc-actions{display:flex;gap:4px}.admin-doc-actions button{flex:1;padding:0 5px;font-size:8px}}
/* Notion-inspired document reading layout */
.article-layout{width:min(900px,100%);margin-inline:auto;display:block}
.article-main{padding:clamp(26px,5.5vw,62px) clamp(22px,6.3vw,76px) 42px;border:1px solid #e9e9e7;border-radius:14px;background:#fff;box-shadow:0 2px 10px rgba(20,20,20,.025)}
.breadcrumbs{margin-bottom:30px;color:#9b9a97;font-size:12px}.breadcrumbs button{color:#777671}.breadcrumbs button:hover{color:#37352f;text-decoration:underline}
.article-title{margin:0 0 13px;color:#252521;font-size:clamp(30px,4vw,40px);font-weight:720;line-height:1.2;letter-spacing:-.055em}
.article-meta{flex-wrap:wrap;gap:7px 10px;padding-bottom:21px;border:0;color:#999894;font-size:11px}
.article-toc-top{display:block;margin:0 0 32px;padding:15px 17px;border:1px solid #eeefed;border-radius:10px;background:#f8f9f8;box-shadow:none}
.article-toc-top .toc-title{margin:0 0 8px;color:#777873;font-size:11px;font-weight:700}
.article-toc-top .toc-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:stretch;gap:2px 15px}
.article-toc-top .toc-item{display:grid;grid-template-columns:2.5ch minmax(0,1fr);justify-content:start;justify-items:start;align-items:baseline;gap:8px;width:100%;min-width:0;padding:5px 3px;border:0;border-radius:5px;background:transparent;color:#62635e;text-align:left!important;font-size:11px;line-height:1.5}
.article-toc-top .toc-item>span{justify-self:start;text-align:left!important}.article-toc-top .toc-item>span:last-child{width:100%}
.article-toc-top .toc-item:hover{background:#eff1ef;color:#242520}
.article-toc-top .toc-item.level-3{padding-left:3px;color:#888983}.article-toc-top .toc-item.level-3>span:last-child{padding-left:0}
.toc-number{display:block;width:2.5ch;margin:0;text-align:left;color:#a0a19b;font-size:10px;font-variant-numeric:tabular-nums}
.article-body{max-width:740px;margin:0 auto;padding:0 0 24px;color:#373832;font-size:15px;line-height:1.9;white-space:normal}
.article-body h2,.article-body h3{scroll-margin-top:24px;font-weight:700;letter-spacing:-.04em}
.article-body h2{margin:42px 0 13px;padding-bottom:8px;border-bottom:1px solid #eeefed;color:#282923;font-size:24px;line-height:1.4}
.article-body h3{margin:29px 0 9px;color:#363731;font-size:18px;line-height:1.45}
.article-body p{margin:0 0 16px}.article-body a,.article-body .media-url{color:#3e6f9e;text-decoration:underline;text-decoration-color:#ced8e2;text-underline-offset:2px}
.article-body a:hover,.article-body .media-url:hover{color:#24527d;text-decoration-color:currentColor}
.article-body .wiki-inline-link{border:0;background:transparent;padding:0;color:#3e6f9e;font:inherit;text-decoration:underline;text-decoration-color:#ced8e2;text-underline-offset:2px}
.article-body .wiki-list{margin:0 0 18px;padding-left:25px}.article-body .wiki-list li{padding:2px 0 2px 3px}
.article-body .wiki-callout{margin:18px 0;padding:13px 16px;border:0;border-left:3px solid #7f9c8a;border-radius:0 7px 7px 0;background:#f3f6f3;color:#454b43;font-weight:500}
.article-body .wiki-quote{margin:18px 0;padding:4px 0 4px 17px;border-left:2px solid #d6d8d3;color:#777872}
.article-body .wiki-divider{margin:27px 0;background:#e6e7e4}
.article-body .wiki-image{margin:22px 0}.article-body .wiki-image img{border-radius:8px}.article-body .wiki-image figcaption{color:#92938e;font-size:12px}
.article-media{display:grid;gap:12px;margin-top:22px}.article-side-actions{flex-wrap:wrap;max-width:740px;margin:25px auto 0;padding-top:17px;border-top:1px solid #eeefed}.article-side-actions .button{flex:0 0 auto}
body.dark .article-main{border-color:#35373a;background:#20211f;box-shadow:none}
body.dark .article-title,body.dark .article-body h2,body.dark .article-body h3{color:#f0f0eb}
body.dark .article-body{color:#d3d4ce}
body.dark .article-toc-top{border-color:#383a37;background:#272925}
body.dark .article-toc-top .toc-title,body.dark .article-toc-top .toc-item{color:#c2c4bc}
body.dark .article-toc-top .toc-item:hover{background:#343731;color:#f0f0eb}
body.dark .article-toc-top .toc-item.level-3,body.dark .toc-number{color:#a5a79f}
body.dark .article-meta,body.dark .article-body h2,body.dark .article-side-actions{border-color:#383a37}
body.dark .article-body a,body.dark .article-body .media-url,body.dark .article-body .wiki-inline-link{color:#a8c6e1;text-decoration-color:#657c91}
body.dark .article-body .wiki-callout{background:#292e29;color:#d9ded6;border-color:#78917d}
body.dark .article-body .wiki-quote{border-color:#555a52;color:#b8bbb2}
@media(max-width:620px){.article-layout{width:100%}.article-main{padding:25px 20px 30px;border-radius:11px}.breadcrumbs{margin-bottom:23px}.article-title{font-size:30px}.article-toc-top{margin-bottom:25px;padding:13px}.article-toc-top .toc-items{grid-template-columns:1fr}.article-body{font-size:14px}.article-body h2{margin-top:34px;font-size:21px}.article-body h3{font-size:17px}.article-side-actions .button{min-height:36px;padding:0 10px;font-size:11px}}

/* Center the admin title and keep its return action grouped beneath it. */
.admin-page .page-title-row{align-items:center;justify-content:center}
.admin-page .admin-title-copy{text-align:center}
.admin-page .admin-return-button{margin-top:12px}
