/* DragonsOAO Notes: a soft, colorful notebook palette for both themes. */
:root[data-theme=light]{--bg:#faf8fc;--panel:#fffefd;--line:#e3e3e3;--text:#3a3a3a;--muted:#777777;--accent:#626262;--lilac:#e9e9e9;--peach:#eeeeee;--mint:#efefef;--butter:#f3f3f3;--pink:#ebebeb;--soft-shadow:0 6px 25px #5e5e5e08}
:root[data-theme=dark]{--bg:#171717;--panel:#222222;--line:#343434;--text:#eaeaea;--muted:#a9a9a9;--accent:#b4b4b4;--lilac:#333333;--peach:#353535;--mint:#393939;--butter:#3d3d3d;--pink:#323232;--soft-shadow:0 6px 25px #00000012}
body{font-family:ui-rounded,"Microsoft JhengHei",system-ui,sans-serif;line-height:1.6}h1,h2,h3{font-weight:750}a,button{transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s}.eyebrow{letter-spacing:1.5px}p{color:var(--muted)}[data-theme] .button{border-radius:11px;padding:12px 20px;font-weight:650;box-shadow:0 4px 10px #61616116}[data-theme=light] .button{background:#6d6d6d;color:#fff;border-color:#6d6d6d}[data-theme=dark] .button{background:#adadad;color:#1f1f1f;border-color:#adadad}[data-theme=light] .button:hover{background:#5d5d5d;box-shadow:0 5px 14px #61616128}[data-theme=dark] .button:hover{background:#c1c1c1}[data-theme] .button.secondary{background:var(--panel);color:var(--accent);border:1px solid var(--line);box-shadow:none}[data-theme] .button.secondary:hover{background:var(--lilac);border-color:var(--accent)}[data-theme] input,[data-theme] textarea,[data-theme] select{border-radius:9px;border-color:var(--line);color:var(--text);background:var(--panel)}[data-theme] input:focus,[data-theme] textarea:focus,[data-theme] select:focus{outline:2px solid #8f8f8f2b;border-color:#8f8f8f;outline-offset:1px}[data-theme] input::placeholder,[data-theme] textarea::placeholder{color:#9d9d9d}[data-theme] label,[data-theme] .auth-form label{color:var(--muted)}[data-theme] .theme-toggle{border-radius:20px;color:var(--muted);background:var(--panel);border-color:var(--line);box-shadow:var(--soft-shadow)}[data-theme] .theme-toggle:hover{background:var(--lilac);color:var(--accent)}
/* Public navigation and the welcoming paper illustration. */
[data-theme] body>header{background:var(--panel);border-bottom:1px solid var(--line)}.nav{min-height:90px}.brand{gap:12px;font-size:18px}.brand small{font-size:8px;letter-spacing:1.7px}.brand img{box-shadow:0 3px 10px #28282813}.nav-account{border-radius:11px}[data-theme] .nav-account{background:var(--lilac);color:var(--accent);border-color:transparent;font-weight:650}nav>a{font-size:13px}.catalog-shell{padding-top:28px}.catalog-welcome{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:226px;border:1px solid var(--line);border-radius:24px;padding:30px 38px;margin:0 0 32px;background:none;box-shadow:var(--soft-shadow)}.welcome-copy{position:relative;z-index:1}.welcome-pill{display:inline-flex;align-items:center;gap:7px;border-radius:20px;padding:6px 12px;background:#ffffff8f;font-size:10px;font-weight:650;color:#6d6d6d;letter-spacing:.5px}.welcome-pill>span{color:#a6a6a6;font-size:14px}.catalog-welcome h2{font-size:clamp(23px,1.8vw,36px);line-height:1.45;letter-spacing:-.7px;margin:16px 0 10px;color:#595959}.catalog-welcome p{font-size:12px;color:#898989;max-width:560px}.welcome-topics{display:flex;gap:8px;margin-top:20px}.welcome-topics>span{font-size:9px;padding:4px 10px;border:1px solid #ffffffbb;border-radius:20px;color:#858585;background:#ffffff3b}.welcome-art{position:relative;width:250px;height:180px;flex-shrink:0;margin-right:15px}.art-note{position:absolute;width:124px;height:150px;background:#fafafa;border:1px solid #c7c7c7;border-radius:13px;box-shadow:0 10px 18px #8383831b;padding:18px}.art-note-back{left:27px;top:5px;transform:rotate(-16deg);background:#eeeeee;border-color:#d4d4d4}.art-note-front{left:86px;top:22px;transform:rotate(10deg)}.art-note-front:before{content:'';position:absolute;top:-9px;left:34px;width:48px;height:19px;background:#c6c6c6b3;transform:rotate(-7deg)}.art-note-front>span{font:600 26px var(--mono);color:#9e9e9e}.art-note i{display:block;height:4px;background:#d9d9d9;border-radius:4px;margin:12px 0;width:100%}.art-note i:last-of-type{width:64%}.art-note-front i{background:#dcdcdc}.art-note b{font:8px var(--mono);color:#acacac;font-weight:400}.art-spark{position:absolute;font-size:30px;color:#b1b1b1}.spark-one{right:0;top:1px;transform:rotate(10deg)}.spark-two{left:5px;bottom:0;color:#b9b9b9;font-size:24px}.art-dot{position:absolute;right:9px;bottom:8px;width:15px;height:15px;background:#cacaca;border-radius:50%}.catalog-heading{margin-bottom:25px}.catalog-heading h1{font-size:29px;letter-spacing:-.7px}.catalog-heading h1>span{background:var(--lilac);border:0;color:var(--accent);font-size:10px;padding:6px 10px}.catalog-search{border-radius:12px;box-shadow:var(--soft-shadow)}[data-theme] .search{background:var(--panel);border-color:var(--line)}[data-theme] .search button{border-radius:8px;background:var(--lilac);color:var(--accent)}.catalog-toolbar{border-color:var(--line);padding-bottom:16px}.sort-tabs a[aria-current=page]{color:var(--accent)}
/* Sidebar cards, category chips and articles. */
[data-theme] .side-panel{background:var(--panel);border:1px solid var(--line);border-radius:20px;box-shadow:var(--soft-shadow)}.side-panel>h2,.side-panel summary{font-size:15px}.category-panel{padding:22px 12px 12px}.category-panel summary{padding:0 12px 14px;font-weight:700}.category-list{gap:5px}.category-list a{border-radius:11px;padding:12px;font-size:12px}.category-list a i{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:var(--mint);color:#8c8c8c;font:11px var(--mono)}.category-list a:nth-child(3n) i{background:var(--peach);color:#929292}.category-list a:nth-child(4n) i{background:var(--butter);color:#9c9c9c}.category-list a:nth-child(5n) i{background:var(--pink);color:#959595}[data-theme] .category-list a[aria-current=page]{background:var(--lilac);color:var(--accent)}[data-theme] .category-list b{background:var(--bg);border:1px solid var(--line);color:var(--muted);font-size:9px}.side-panel .eyebrow{font-size:8px;color:var(--accent)}.side-panel p{font-size:12px}.side-panel .read-link{font-size:11px}.tag-panel .tags{gap:7px}[data-theme] .tag{border-radius:7px;padding:5px 8px;background:var(--lilac);color:var(--accent);border:1px solid transparent;font-size:10px}[data-theme] .tag:nth-child(3n+2){background:var(--mint);color:#818181}[data-theme] .tag:nth-child(3n){background:var(--peach);color:#858585}[data-theme] .tag:hover{border-color:var(--accent)}.picks-panel li:before{color:var(--accent);background:var(--lilac);padding:3px 6px;border-radius:6px;font-size:9px;align-self:start}[data-theme] .note-card{background:var(--panel);border-color:var(--line);border-radius:20px;box-shadow:var(--soft-shadow)}.note-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #68686814;border-color:#b6b6b6}.note-copy{padding:24px}.note-copy h2{font-size:19px;line-height:1.6}.note-copy>p{font-size:12px}.note-cover{border-bottom:1px solid var(--line);border-radius:0;padding:28px}.note-cover:after{border:1px solid #ffffff85;background:#ffffff12}.note-cover strong{font-size:23px;line-height:1.55;font-weight:750}.cover-rule{background:currentColor;opacity:.35;border-radius:2px}.note-cover .eyebrow{font-size:8px}.cover-topic{font-size:9px}[data-theme=light] .note-cover.cover-notes{background:none}[data-theme=light] .note-cover.cover-ai{background:none}[data-theme=light] .note-cover.cover-tools{background:none}[data-theme=light] .note-cover.cover-code{background:none}[data-theme=light] .note-cover.cover-game{background:none}[data-theme=light] .note-cover strong{color:#5e5e5e}[data-theme=light] .note-cover .eyebrow,[data-theme=light] .cover-topic{color:#8d8d8d}[data-theme=light] .cover-tools strong{color:#7d7d7d}[data-theme=light] .cover-code strong{color:#858585}[data-theme=light] .cover-game strong{color:#8c8c8c}.access-badge{border-radius:20px;padding:4px 8px}.read-time{font-size:10px}.catalog-content>.empty{position:relative;border:1px dashed var(--line);border-radius:23px;padding:38px 34px;background:var(--panel);box-shadow:var(--soft-shadow);min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.catalog-content>.empty h2{font-size:22px;letter-spacing:0;margin:14px 0 10px}.catalog-content>.empty p{font-size:12px}.catalog-content>.empty .mono{font-size:8px;color:var(--accent);letter-spacing:1.5px}.empty-notes{position:relative;width:82px;height:64px;margin-bottom:20px}.empty-notes i{position:absolute;display:block;width:42px;height:53px;background:var(--mint);border:1px solid var(--line);border-radius:8px;left:8px;top:1px;transform:rotate(-14deg)}.empty-notes i:nth-child(2){background:var(--lilac);left:32px;top:8px;transform:rotate(10deg)}.empty-notes i:after{content:'';position:absolute;inset:14px 10px;background:none;border-radius:2px}.empty-notes span{position:absolute;color:#bababa;right:-7px;top:-10px;font-size:24px}
/* Member, authentication and reading pages. */
[data-theme] .auth-form{border-radius:23px;border:1px solid var(--line);background:var(--panel);box-shadow:0 14px 45px #5e5e5e0c;position:relative;overflow:hidden}[data-theme] .auth-form:before{content:'';position:absolute;top:0;left:0;right:0;height:5px;background:none}.auth-brand .eyebrow{color:var(--accent);font-size:9px}.auth-brand h1{font-size:30px;letter-spacing:-.7px}.auth-brand p{font-size:13px}.auth-form input{border-radius:10px}[data-theme] .auth-form>.button{background:#6d6d6d;color:white;border-color:#6d6d6d;border-radius:11px}.auth-switch{border-color:var(--line)}.auth-help{font-size:11px}.verification-options{border-color:var(--line)}[data-theme] .verify-notice{border-radius:13px;background:var(--butter);border-color:var(--line);border-left:3px solid #bfbfbf}[data-theme] .verify-notice p,[data-theme] .verify-notice small{color:var(--muted)}.verify-notice strong{color:var(--text)}.otp-boxes{gap:9px}.auth-form .otp-boxes input{border-radius:10px;background:var(--bg)}[data-theme] .member-card{background:var(--panel);border-color:var(--line);border-radius:20px;box-shadow:var(--soft-shadow)}.member-card>.eyebrow{font-size:8px}.member-card:nth-child(1){border-top:4px solid #b8b8b8}.member-card:nth-child(2){border-top:4px solid #d1d1d1}.member-card:nth-child(3){border-top:4px solid #cfcfcf}.member-card:nth-child(4){border-top:4px solid #d6d6d6}[data-theme] .member-subscription{border-radius:13px;background:var(--lilac);border-color:transparent}[data-theme] .member-topics a{background:var(--mint);color:#848484;border:0;border-radius:9px}.member-topics a:nth-child(2n){background:var(--peach);color:#858585}[data-theme] .admin-security-shell>.form-panel{background:var(--panel);border-radius:20px;border-color:var(--line);box-shadow:var(--soft-shadow)}.setup-step>span{background:var(--lilac);color:var(--accent);border-color:transparent}.article-page{max-width:820px}.article-page>h1{letter-spacing:-1px}[data-theme] .locked{border-radius:17px;background:var(--lilac);border-color:var(--line)}.prose figure img{border-radius:14px}[data-theme] .prose pre{border-radius:12px;border:1px solid var(--line)}footer{border-color:var(--line);margin-top:25px}.status-actions .button{border-radius:12px}
/* The same stationery palette, with restrained details for focused admin work. */
[data-theme] .admin-shell{background:var(--bg)}[data-theme] .admin-rail{background:var(--panel);border-color:var(--line)}[data-theme] .admin-topbar{background:var(--panel);border-color:var(--line)}.admin-brand{font-size:16px}.admin-brand small{color:var(--muted);font-size:9px}.admin-rail-label{color:var(--muted);font-size:9px}.admin-rail nav>a{border-radius:11px;font-size:13px}[data-theme] .admin-rail nav>a{color:var(--muted)}[data-theme] .admin-rail nav>a[aria-current=page]{background:var(--lilac);color:var(--accent);box-shadow:none;font-weight:650}[data-theme] .admin-rail nav>a[aria-current=page]>span{color:var(--accent)}[data-theme] .admin-rail nav>a:hover{background:var(--lilac)}[data-theme] .admin-rail-bottom{border-color:var(--line)}.admin-secure-badge{border-radius:20px}.workspace-heading h1{font-size:30px;letter-spacing:-.6px}.workspace-heading .eyebrow{color:var(--accent);font-size:8px}.workspace-heading p{font-size:12px}.workspace-stats{gap:18px}[data-theme] .workspace-stats>a{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:var(--soft-shadow);padding:23px 25px}[data-theme] .workspace-stats>a:after{content:'';position:absolute;right:-9px;bottom:-18px;width:87px;height:87px;border-radius:50%;background:var(--lilac);opacity:.65}[data-theme] .workspace-stats>a:nth-child(2):after{background:var(--mint)}[data-theme] .workspace-stats>a:nth-child(3):after{background:var(--butter)}[data-theme] .workspace-stats>a:nth-child(4):after{background:var(--pink)}.workspace-stats strong{position:relative;z-index:1;font-size:31px}[data-theme] .workspace-stats strong{color:var(--text)}[data-theme] .workspace-stats>a>span{color:var(--muted);font-size:12px}[data-theme] .workspace-card,[data-theme] .document-template-bar{background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:var(--soft-shadow)}.card-heading{padding:22px 24px}[data-theme] .card-heading,[data-theme] .article-tabs,[data-theme] .editor-commandbar,[data-theme] .table-foot{border-color:var(--line)}.card-heading h2{font-size:15px}.quick-start{background:none!important}.quick-start h2{font-size:25px;line-height:1.55}.quick-start .workspace-tip{border-color:var(--line)}[data-theme] .admin-data-table th{background:var(--bg);color:var(--muted);font-size:10px}[data-theme] .admin-data-table td{border-color:var(--line);color:var(--muted)}[data-theme] .article-name-cell>a{color:var(--text)}[data-theme] .admin-data-table .table-edit{color:var(--accent)}[data-theme] .admin-data-table tbody tr:hover{background:var(--bg)}[data-theme] .admin-status{background:var(--lilac);color:var(--accent);border:0;border-radius:6px}[data-theme] .admin-status.published{background:var(--mint);color:#848484}[data-theme] .workspace-filters input,[data-theme] .workspace-filters select{background:var(--bg);border-color:var(--line);border-radius:9px}.article-tabs button.active{border-bottom-color:var(--accent)}[data-theme] .article-tabs button.active{color:var(--accent)}.workspace-empty>span{background:var(--lilac);width:66px;height:66px;line-height:66px;border-radius:20px;margin:0 auto 18px;color:var(--accent);font-size:27px}.workspace-empty h2{font-size:19px}[data-theme] .admin-callout{background:var(--butter);border-color:var(--line);border-radius:12px}[data-theme] .admin-callout strong{color:var(--text)}[data-theme] .admin-callout span{color:var(--muted)}.access-settings label{font-size:12px}.workspace-toast{border-radius:12px}[data-theme] .document-template-bar{background:none;padding:20px 24px}.document-template-bar strong{font-size:14px}.document-template-bar p{font-size:11px}.document-source-pane .card-heading,.document-preview-pane .card-heading{min-height:70px}[data-theme] .document-source-pane #article-document{background:var(--bg);color:var(--text);font-size:12px}[data-theme] .document-source-footer{border-color:var(--line);color:var(--muted)}[data-theme] .document-preview-status{background:var(--mint);color:#848484;border-color:var(--line);font-size:10px}[data-theme] .document-preview-status.has-error{background:var(--peach);color:#838383}[data-theme] .document-format-guide{background:var(--panel);border-color:var(--line);border-radius:14px}.document-format-guide summary{color:var(--accent)}.document-mobile-tabs button{border-radius:10px}.document-preview-article>.eyebrow{color:var(--accent)}.document-preview-article>.tags{margin:20px 0}.document-preview-empty>span{background:var(--lilac);padding:15px 22px;display:block;border-radius:18px;color:var(--accent);font-size:16px}.document-preview-empty>p{font-size:11px}[data-theme] .document-format-error{background:var(--peach);color:#838383;border-color:var(--line);border-radius:12px}
/* Night colors retain the personality without using bright white surfaces. */
[data-theme=dark] body{background:var(--bg)}[data-theme=dark] .catalog-welcome h2{color:#d2d2d2}[data-theme=dark] .catalog-welcome p{color:#a9a9a9}[data-theme=dark] .welcome-pill{background:#ffffff0c;color:#bbbbbb}[data-theme=dark] .welcome-topics>span{background:#ffffff05;border-color:#ffffff12;color:#adadad}[data-theme=dark] .welcome-art{opacity:.72}[data-theme=dark] .note-cover.cover-notes{background:none}[data-theme=dark] .note-cover.cover-ai{background:none}[data-theme=dark] .note-cover.cover-tools{background:none}[data-theme=dark] .note-cover.cover-code{background:none}[data-theme=dark] .note-cover.cover-game{background:none}[data-theme=dark] .auth-form>.button{background:#adadad;color:#1f1f1f;border-color:#adadad}[data-theme=dark] .tag:nth-child(3n+2),[data-theme=dark] .admin-status.published,[data-theme=dark] .document-preview-status,[data-theme=dark] .member-topics a{color:#c1c1c1}[data-theme=dark] .tag:nth-child(3n),[data-theme=dark] .member-topics a:nth-child(2n){color:#b4b4b4}[data-theme=dark] .document-format-error,[data-theme=dark] .document-preview-status.has-error{color:#bbbbbb}[data-theme=dark] .category-list a i{color:#c1c1c1}[data-theme=dark] .category-list a:nth-child(3n) i{color:#b4b4b4}[data-theme=dark] .category-list a:nth-child(4n) i{color:#bdbdbd}[data-theme=dark] .category-list a:nth-child(5n) i{color:#b5b5b5}
@media(max-width:1200px){.catalog-welcome{padding:26px;min-height:205px}.welcome-art{width:180px;transform:scale(.85);transform-origin:right center;margin-right:0}.catalog-welcome h2{font-size:24px}.welcome-copy{max-width:65%}.catalog-welcome p{font-size:11px}.welcome-topics{margin-top:15px}}
@media(max-width:800px){.catalog-shell{padding-top:20px}.catalog-welcome{min-height:190px;padding:23px;margin-bottom:26px;border-radius:20px;gap:12px}.welcome-copy{max-width:75%}.catalog-welcome h2{font-size:23px}.welcome-art{position:absolute;right:-25px;bottom:-4px;transform:scale(.6);opacity:.65;pointer-events:none}.catalog-welcome p{max-width:240px}.welcome-topics{position:relative;z-index:1}.welcome-pill{font-size:9px;padding:4px 9px}.catalog-heading h1{font-size:26px}.category-panel summary{font-size:13px}.catalog-content>.empty{padding:30px 20px;min-height:270px}.catalog-content>.empty h2{font-size:20px}.note-copy{padding:21px}.auth-brand h1{font-size:27px}.workspace-heading h1{font-size:26px}.document-template-bar strong{font-size:12px}.document-template-bar{padding:18px!important}.card-heading{padding:18px}.workspace-stats>a{padding:18px!important}.workspace-stats strong{font-size:27px}.member-card{border-radius:17px}.theme-toggle{font-size:10px}}
@media(max-width:420px){.catalog-welcome{padding:21px}.welcome-copy{max-width:90%}.catalog-welcome h2{font-size:21px;max-width:245px}.catalog-welcome p{font-size:10px;max-width:220px}.welcome-art{right:-53px;bottom:8px;transform:scale(.45);opacity:.45}.welcome-topics>span{font-size:8px;padding:4px 8px}.welcome-topics{gap:5px}.otp-boxes{gap:6px}.auth-form .otp-boxes input{border-radius:8px}.nav{min-height:84px}.brand{font-size:16px}}
:root[data-theme=light]{--muted:#6e6e6e}[data-theme=light] .catalog-welcome p{color:#757575}[data-theme] .category-list a[aria-current=page] b{background:var(--panel);color:var(--accent);border:0}[data-theme=light] .tag:nth-child(3n+2),[data-theme=light] .admin-status.published,[data-theme=light] .document-preview-status,[data-theme=light] .member-topics a{color:#6b6b6b}[data-theme=light] .tag:nth-child(3n),[data-theme=light] .member-topics a:nth-child(2n){color:#707070}

.admin-breadcrumb{display:flex;align-items:center;gap:11px;flex-wrap:wrap;font-size:12px}.admin-breadcrumb>a{font-size:inherit;color:var(--muted);border-radius:5px;padding:3px 0}.admin-breadcrumb>a:hover{color:var(--accent);text-decoration:underline;text-underline-offset:4px}.admin-breadcrumb>span{margin:0;color:var(--muted);opacity:.5}.admin-breadcrumb>strong{font-size:inherit;font-weight:500;color:var(--text)}@media(max-width:560px){.admin-breadcrumb{gap:7px;font-size:10px}}
/* Spacious hierarchy: a full-width introduction, clear navigation and readable content. */
.knowledge-page{padding-top:38px}.knowledge-page>.catalog-welcome{min-height:325px;padding:44px 64px;margin:0 0 40px;border-radius:28px}.knowledge-page .catalog-welcome h2{font-size:clamp(34px,3vw,56px);line-height:1.3;letter-spacing:-1.4px;max-width:950px;margin:20px 0}.knowledge-page .catalog-welcome h2>span{font-weight:500;opacity:.7}.knowledge-page .catalog-welcome p{font-size:16px;max-width:760px;line-height:1.9}.knowledge-page .welcome-pill{font-size:12px;padding:8px 14px}.knowledge-page .welcome-topics{margin-top:25px;gap:10px}.knowledge-page .welcome-topics>span{font-size:12px;padding:6px 14px}.knowledge-page .welcome-art{width:350px;transform:scale(1.35);transform-origin:center;margin-right:35px}.knowledge-page .catalog-shell{padding-top:0;grid-template-columns:290px minmax(0,1fr);gap:36px}.nav{min-height:102px}.brand{font-size:21px}.brand small{font-size:10px}.nav nav{font-size:15px;gap:30px}.nav nav>a{font-size:15px}.nav-account{padding:13px 21px}.theme-toggle{font-size:12px;padding:10px 14px}.catalog-heading{gap:30px;align-items:center;margin:0 0 28px}.catalog-heading>.eyebrow,.catalog-heading .eyebrow{font-size:10px}.catalog-heading h1{font-size:36px;margin:8px 0 12px}.catalog-heading h1>span{font-size:12px}.catalog-heading p{font-size:15px}.catalog-search{width:min(450px,45%);padding:7px}.catalog-search input{font-size:14px;padding:13px 12px}.catalog-search button{width:43px;font-size:22px}.catalog-toolbar{font-size:14px;padding-bottom:20px;margin-bottom:28px}.sort-tabs{gap:30px}.catalog-hint{font-size:12px}.knowledge-page .side-panel{padding:28px}.knowledge-page .category-panel{padding:27px 13px 14px}.knowledge-page .category-panel summary{font-size:18px;padding:0 15px 20px}.category-list a{font-size:15px;padding:14px}.category-list a i{width:32px;height:32px;font-size:14px}.category-list a b{font-size:12px}.category-list .empty-category{font-size:13px;padding:17px 14px}.side-panel>h2,.side-panel h2{font-size:18px}.side-panel p{font-size:14px;line-height:1.9}.side-panel .eyebrow{font-size:10px;margin-bottom:9px}.side-panel .read-link{font-size:14px}.side-panel .tag{font-size:12px;padding:7px 10px}.picks-panel li{font-size:14px}.catalog-sidebar{gap:22px}.catalog-is-empty .tag-panel,.catalog-is-empty .picks-panel{display:none}.catalog-is-empty .about-panel{background:none;border:0;box-shadow:none}.note-grid{gap:26px}.note-copy{padding:28px}.note-copy h2{font-size:23px;line-height:1.6;margin:17px 0 13px}.note-copy>p{font-size:15px;line-height:1.9}.note-meta{font-size:12px}.access-badge{font-size:11px}.note-bottom .tag{font-size:11px;padding:6px 9px}.read-time{font-size:12px}.note-cover{padding:32px}.note-cover strong{font-size:28px}.note-cover .eyebrow{font-size:10px}.cover-topic{font-size:11px}.note-card.is-featured:first-child{grid-column:span 2;display:grid;grid-template-columns:1.05fr 1fr;min-height:350px}.note-card.is-featured:first-child .note-cover{aspect-ratio:auto;height:100%;border-bottom:0;border-right:1px solid var(--line);padding:35px}.note-card.is-featured:first-child .note-cover strong{font-size:32px}.note-card.is-featured:first-child .note-copy{justify-content:center;padding:32px}.note-card.is-featured:first-child .note-copy h2{font-size:27px}.note-card.is-featured:first-child .note-bottom{margin-top:22px}.catalog-content>.empty{display:grid;grid-template-columns:180px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:40px;align-content:center;justify-items:start;text-align:left;min-height:300px;padding:45px 50px;border-style:solid;background:none;box-shadow:none}.catalog-content>.empty .empty-notes{grid-row:1/4;grid-column:1;align-self:center;margin:0;transform:scale(1.7);transform-origin:center;justify-self:center}.catalog-content>.empty>.mono,.catalog-content>.empty>h2,.catalog-content>.empty>p,.catalog-content>.empty>a{grid-column:2}.catalog-content>.empty .mono{font-size:11px}.catalog-content>.empty h2{font-size:28px;margin:12px 0}.catalog-content>.empty p{font-size:15px}.catalog-content>.empty>a{font-size:14px;margin-top:12px}footer{padding:40px 0}footer p,footer>div{font-size:14px}footer .brand{font-size:19px}footer small{font-size:11px}
/* Give the working interface the scale of an application, rather than tiny form fields. */
.admin-shell{grid-template-columns:264px minmax(0,1fr)}.admin-rail{padding:33px 22px}.admin-brand{font-size:19px;padding:0 10px 36px}.admin-brand img{width:38px;height:38px}.admin-brand small{font-size:11px}.admin-rail-label{font-size:11px;padding:15px 12px}.admin-rail nav>a{font-size:16px;padding:16px 14px;gap:15px}.admin-rail nav>a>span svg{width:22px;height:22px}.admin-rail-bottom{font-size:14px}.admin-topbar{height:87px;padding:0 42px}.admin-breadcrumb{font-size:14px;gap:14px}.admin-secure-badge{font-size:12px;padding:8px 14px}.admin-panels{padding:40px 42px 65px}.workspace-heading{margin-bottom:32px}.workspace-heading h1{font-size:37px;margin:12px 0}.workspace-heading .eyebrow{font-size:10px}.workspace-heading p{font-size:15px}.workspace-heading>.button{font-size:14px;padding:14px 22px}.workspace-stats{gap:20px;margin-bottom:30px}.workspace-stats>a{padding:28px!important}.workspace-stats>a>span{font-size:14px!important}.workspace-stats strong{font-size:40px;margin:18px 0 16px}.workspace-stats small{font-size:12px}.overview-columns{grid-template-columns:minmax(0,1fr) 350px;gap:26px}.card-heading{padding:25px 28px}.card-heading h2{font-size:18px}.card-heading>a,.card-heading>span{font-size:13px}.admin-data-table th{font-size:12px!important;padding:17px 26px}.admin-data-table td{font-size:14px!important;padding:24px 26px}.article-name-cell>a{font-size:17px}.article-name-cell small{font-size:12px;margin-top:10px}.admin-data-table .table-edit{font-size:14px}.admin-status{font-size:12px;padding:6px 10px}.quick-start{padding:32px}.quick-start h2{font-size:30px}.quick-start>p{font-size:14px;line-height:1.9}.quick-start .eyebrow{font-size:10px}.quick-start>.button{font-size:14px}.workspace-tip strong{font-size:14px}.workspace-tip p{font-size:13px}.article-tabs{gap:34px;padding:0 28px}.article-tabs button{font-size:15px;padding:22px 0}.article-tabs button span{font-size:12px}.workspace-filters{padding:24px 28px;gap:14px}.workspace-filters input,.workspace-filters select{font-size:14px;height:47px}.workspace-filters button{font-size:13px}.table-foot{font-size:12px;padding:20px 28px}.admin-callout{font-size:14px;padding:18px 23px;gap:22px}.members-layout{grid-template-columns:minmax(0,1fr) 355px;gap:26px}.access-settings>p{font-size:14px;line-height:1.9;padding:22px 27px 0}.access-settings form{padding:24px 27px 28px;gap:23px}.access-settings label{font-size:14px}.access-settings select,.access-settings input{font-size:14px;min-height:46px}.access-settings small{font-size:12px}.access-settings button{font-size:14px}.editor-commandbar{padding:19px 0;margin-bottom:25px}.editor-commandbar>span{font-size:13px}.editor-commandbar button{font-size:14px;padding:13px 20px}.document-template-bar{padding:24px 28px!important}.document-template-bar strong{font-size:17px}.document-template-bar p{font-size:14px;margin-top:8px}.document-template-bar button{font-size:13px}.document-grid{gap:26px}.document-source-pane .card-heading,.document-preview-pane .card-heading{min-height:78px;padding:22px 26px}.document-source-pane .card-heading>span{font-size:11px}.document-preview-pane .card-heading select{font-size:13px;height:39px}.document-source-pane #article-document{font-size:15px!important;line-height:2;min-height:680px;padding:28px}.document-source-footer{font-size:12px;padding:16px 23px}.document-preview-status{font-size:12px!important;padding:13px 26px}#document-preview-content{padding:34px;min-height:620px}.document-preview-article>h1{font-size:36px}.document-preview-article>.lead{font-size:16px}.document-preview-article .prose p,.document-preview-article .prose li{font-size:16px;line-height:2}.document-preview-article .prose-section h2,.document-preview-article .locked h2{font-size:26px}.document-preview-article .prose-section h3{font-size:22px}.document-preview-article .prose pre{font-size:14px}.document-format-guide{padding:22px 27px;margin-top:26px}.document-format-guide summary{font-size:14px}.document-format-guide p{font-size:14px;line-height:2}.document-preview-empty>span{font-size:21px}.document-preview-empty>p{font-size:14px}.document-mobile-tabs button{font-size:14px}.document-copy-status{font-size:14px}.workspace-empty h2{font-size:24px}.workspace-empty p,.workspace-empty>a{font-size:14px}
@media(min-width:2200px){.knowledge-page .catalog-shell{grid-template-columns:320px minmax(0,1fr);gap:44px}.knowledge-page>.catalog-welcome{min-height:355px;padding:50px 72px}.knowledge-page .catalog-welcome h2{font-size:57px}.knowledge-page .catalog-welcome p{font-size:18px}.knowledge-page .welcome-art{transform:scale(1.55);margin-right:95px}.note-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-shell{grid-template-columns:280px minmax(0,1fr)}.admin-panels{padding:46px 50px 75px}}
@media(max-width:1400px){.knowledge-page>.catalog-welcome{padding:35px 40px;min-height:290px}.knowledge-page .catalog-welcome h2{font-size:40px}.knowledge-page .catalog-welcome p{font-size:14px}.knowledge-page .welcome-art{transform:scale(1.1);width:260px;margin-right:10px}.knowledge-page .catalog-shell{grid-template-columns:250px minmax(0,1fr);gap:28px}.catalog-heading h1{font-size:31px}.catalog-heading p{font-size:13px}.note-cover strong{font-size:24px}.note-copy h2{font-size:21px}.note-copy>p{font-size:14px}.overview-columns{grid-template-columns:1fr}.quick-start{display:none}.members-layout{grid-template-columns:1fr}.admin-shell{grid-template-columns:225px minmax(0,1fr)}.admin-rail{padding:28px 16px}.admin-brand{font-size:17px}.admin-rail nav>a{font-size:14px}.admin-panels{padding:32px 30px 50px}.workspace-stats>a{padding:22px!important}.workspace-stats strong{font-size:33px}.workspace-heading h1{font-size:32px}.workspace-heading p{font-size:14px}.document-source-pane #article-document{font-size:14px!important}.document-preview-article .prose p,.document-preview-article .prose li{font-size:15px}}
@media(max-width:1000px){.knowledge-page .catalog-shell{grid-template-columns:220px minmax(0,1fr);gap:24px}.knowledge-page .side-panel{padding:22px}.knowledge-page .category-panel{padding:22px 10px 12px}.category-list a{font-size:13px;padding:12px}.note-card.is-featured:first-child{display:flex;grid-column:span 2;min-height:0}.note-card.is-featured:first-child .note-cover{aspect-ratio:16/8;min-height:210px;border-right:0}.note-card.is-featured:first-child .note-copy h2{font-size:23px}.workspace-stats>a>span{font-size:12px!important}.admin-data-table th,.admin-data-table td{padding:18px}.admin-data-table td{font-size:13px!important}}
@media(max-width:900px){.admin-shell{display:block}.admin-rail{position:static;height:auto;padding:18px 20px}.admin-brand{padding-bottom:17px}.admin-brand img{width:30px;height:30px}.admin-rail nav>a{font-size:13px;padding:13px 8px}.admin-topbar{height:65px;padding:0 24px}.admin-breadcrumb{font-size:12px}.admin-panels{padding:29px 22px 45px}.admin-rail-bottom,.admin-rail-label{display:none}.workspace-heading h1{font-size:29px}.workspace-heading p{font-size:13px}.workspace-stats strong{font-size:30px}.card-heading{padding:21px}.card-heading h2{font-size:16px}.document-preview-pane .card-heading select{font-size:12px}.document-template-bar{padding:21px!important}.document-template-bar strong{font-size:15px}.document-template-bar p{font-size:13px}.editor-commandbar button{font-size:12px;padding:12px 16px}}
@media(max-width:800px){.knowledge-page{padding-top:22px}.knowledge-page>.catalog-welcome{min-height:270px;padding:27px;margin-bottom:25px}.knowledge-page .catalog-welcome h2{font-size:34px;letter-spacing:-.8px;margin:16px 0}.knowledge-page .catalog-welcome p{font-size:13px;max-width:330px}.knowledge-page .welcome-copy{max-width:85%}.knowledge-page .welcome-art{position:absolute;transform:scale(.75);right:-25px;bottom:20px;opacity:.45}.knowledge-page .welcome-topics>span{font-size:10px;padding:5px 10px}.knowledge-page .welcome-pill{font-size:10px}.knowledge-page .catalog-shell{display:flex;padding-top:0;gap:25px}.catalog-heading h1{font-size:29px}.catalog-heading p{font-size:14px}.catalog-search{width:100%;margin-top:21px}.catalog-search input{font-size:14px}.catalog-toolbar{font-size:13px}.catalog-hint{display:none}.knowledge-page .category-panel{padding:0}.knowledge-page .category-panel summary{font-size:15px;padding:17px 20px}.catalog-content>.empty{display:flex;min-height:320px;padding:32px 25px;text-align:center;align-items:center;gap:0}.catalog-content>.empty .empty-notes{transform:scale(1.2);margin:10px 0 30px}.catalog-content>.empty h2{font-size:24px}.catalog-content>.empty p{font-size:14px}.note-copy{padding:24px}.note-copy h2{font-size:21px}.note-copy>p{font-size:14px}.note-cover .eyebrow{font-size:9px}.nav{min-height:95px}.brand{font-size:19px}.nav nav{gap:15px}.nav nav>a{font-size:13px}.theme-toggle{font-size:11px}.brand small{font-size:9px}footer p,footer>div{font-size:13px}}
@media(max-width:560px){.knowledge-page>.catalog-welcome{padding:25px 23px;min-height:285px;border-radius:22px}.knowledge-page .welcome-copy{max-width:100%}.knowledge-page .catalog-welcome h2{font-size:29px;max-width:100%;line-height:1.4}.knowledge-page .catalog-welcome p{font-size:12px;max-width:255px}.knowledge-page .welcome-art{transform:scale(.55);right:-65px;bottom:15px;opacity:.3}.knowledge-page .welcome-topics{gap:6px;margin-top:20px}.knowledge-page .welcome-topics>span{font-size:9px}.knowledge-page .welcome-pill{font-size:10px}.catalog-heading h1{font-size:28px}.note-grid{grid-template-columns:1fr}.note-card.is-featured:first-child{grid-column:auto}.note-card.is-featured:first-child .note-cover{aspect-ratio:16/9}.note-card.is-featured:first-child .note-copy{padding:24px}.note-copy h2,.note-card.is-featured:first-child .note-copy h2{font-size:22px}.note-copy>p{font-size:14px}.note-meta{font-size:12px}.nav{min-height:90px}.brand{font-size:18px}.nav nav>a{font-size:12px}.nav-account{padding:10px 13px}.theme-toggle{padding:8px}.brand small{font-size:8px}.admin-rail{padding:17px 14px}.admin-rail nav>a{font-size:12px;padding:12px 7px}.admin-panels{padding:25px 17px 38px}.admin-topbar{height:60px;padding:0 18px}.admin-breadcrumb{font-size:11px;gap:8px}.workspace-heading{margin-bottom:25px}.workspace-heading h1{font-size:27px}.workspace-heading p{font-size:12px}.workspace-heading>.button{font-size:12px;padding:11px 14px}.workspace-stats{grid-template-columns:1fr 1fr;gap:12px}.workspace-stats>a{padding:20px!important}.workspace-stats strong{font-size:30px}.workspace-stats>a>span{font-size:12px!important}.card-heading h2{font-size:16px}.card-heading>a,.card-heading>span{font-size:11px}.article-tabs{gap:25px;padding:0 18px}.article-tabs button{font-size:14px;padding:18px 0}.article-tabs button span{font-size:11px}.workspace-filters{padding:18px}.workspace-filters input,.workspace-filters select{font-size:13px;height:44px}.admin-data-table td,.admin-data-table th{padding:17px 14px}.article-name-cell>a{font-size:14px}.article-name-cell small{font-size:11px}.admin-data-table .table-edit{font-size:12px}.admin-status{font-size:10px}.table-foot{padding:17px;font-size:11px}.editor-commandbar{padding:16px 0}.editor-commandbar button{font-size:11px;padding:12px 6px}.editor-commandbar>span{font-size:12px}.document-template-bar{padding:19px!important}.document-template-bar strong{font-size:14px}.document-template-bar p{font-size:12px}.document-template-bar button{font-size:12px}.document-mobile-tabs button{font-size:13px}.document-source-pane #article-document{font-size:13px!important;padding:22px;min-height:580px}.document-preview-status{font-size:11px!important;padding:12px 19px}.document-source-footer{font-size:11px}.document-source-pane .card-heading,.document-preview-pane .card-heading{padding:18px;min-height:65px}#document-preview-content{padding:24px;min-height:500px}.document-preview-article>h1{font-size:29px}.document-preview-article>.lead{font-size:14px}.document-preview-article .prose p,.document-preview-article .prose li{font-size:14px}.document-preview-article .prose-section h2,.document-preview-article .locked h2{font-size:23px}.document-format-guide summary,.document-format-guide p{font-size:13px}.document-format-guide{padding:19px}.access-settings label,.access-settings input,.access-settings select{font-size:14px}}

/* Functional palette: neutral surfaces, blue actions, semantic feedback. No gradients. */
:root[data-theme=light]{--bg:#f5f6f8;--panel:#ffffff;--line:#dce0e5;--text:#20252d;--muted:#626b78;--accent:#245fc7;--lilac:#eaf0fb;--peach:#f1f3f6;--mint:#f1f3f6;--butter:#fff7e6;--pink:#f1f3f6;--soft-shadow:0 2px 8px #00000005}
:root[data-theme=dark]{--bg:#15181d;--panel:#1e2229;--line:#363d48;--text:#edf0f5;--muted:#a6afbd;--accent:#91b6ff;--lilac:#26354e;--peach:#282e37;--mint:#282e37;--butter:#393024;--pink:#282e37;--soft-shadow:0 2px 8px #00000012}
[data-theme] .catalog-welcome{background:var(--panel)}
[data-theme] .catalog-welcome h2,[data-theme] .note-cover strong,[data-theme] .workspace-stats strong{color:var(--text)}
[data-theme] .catalog-welcome p,[data-theme] .welcome-pill,[data-theme] .welcome-topics>span,[data-theme] .note-cover .eyebrow,[data-theme] .cover-topic{color:var(--muted)}
[data-theme] .welcome-pill,[data-theme] .welcome-topics>span{background:var(--bg);border:1px solid var(--line)}
[data-theme] .note-cover{background:var(--bg);color:var(--text)}
[data-theme] .category-list a i,[data-theme] .tag,[data-theme] .member-topics a{background:var(--bg);color:var(--muted)}
[data-theme] .category-list a[aria-current=page],[data-theme] .admin-rail nav>a[aria-current=page]{background:var(--lilac);color:var(--accent)}
[data-theme] .button,[data-theme] .auth-form>.button{background:#245fc7;color:#fff;border-color:#245fc7;box-shadow:none}
[data-theme] .button:hover,[data-theme] .auth-form>.button:hover{background:#194ca6;border-color:#194ca6;box-shadow:none}
[data-theme] .button.secondary{background:var(--panel);color:var(--text);border-color:var(--line)}
[data-theme] .button.secondary:hover{background:var(--bg);border-color:var(--muted)}
[data-theme] input:focus,[data-theme] textarea:focus,[data-theme] select:focus{outline:2px solid var(--accent);outline-offset:2px;border-color:var(--accent)}
[data-theme] .auth-form:before{background:var(--accent);height:3px}
[data-theme] .member-card{border-top:1px solid var(--line)}
[data-theme] .workspace-stats>a:after{display:none}
[data-theme] .admin-status.published,[data-theme] .workspace-toast{background:#eaf5ee;color:#24613c;border-color:#bbd9c5}
[data-theme] .verify-notice,[data-theme] .notice,[data-theme] .admin-callout{background:var(--butter);color:var(--text);border-color:var(--line);border-left-color:#b8821b}
[data-theme] .document-format-error,[data-theme] .form-error{color:#b12a2a;background:transparent;border-color:#b12a2a}
[data-theme=dark] .admin-status.published,[data-theme=dark] .workspace-toast{background:#203c2c;color:#9ad8b0;border-color:#3e6650}
[data-theme=dark] .document-format-error,[data-theme=dark] .form-error{color:#ffaaaa;border-color:#df7777}
