:root{--bg:#f7f8f5;--paper:#fff;--ink:#1b3028;--muted:#708078;--line:#e1e7e0;--green:#254d3d;--light:#eaf0e9;--orange:#c67f53;--red:#a33d37}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.6}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer}.shell{display:flex;min-height:100vh}.sidebar{width:252px;flex:none;background:#f0f3ed;border-right:1px solid var(--line);padding:34px 24px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-weight:650;line-height:1.4}.brand-mark{position:relative;border-radius:13px;background:var(--green);color:white;padding:10px 8px;font-size:24px;letter-spacing:-3px;width:54px;height:54px}.brand-mark span{color:#cfb589;font-size:16px;position:absolute;right:6px;top:0}.brand small{display:block;letter-spacing:2.5px;font-size:9px;margin-top:5px;color:var(--muted)}.sidebar-label{margin:58px 12px 13px;text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--muted)}nav a{display:block;text-decoration:none;padding:13px 14px;border-radius:7px;margin:4px 0;color:#617066;font-weight:550}nav a.active{background:#dfe7db;color:var(--green)}nav a:hover{background:#e3e9df}.sidebar-bottom{margin-top:auto;padding:24px 12px 0}.sidebar-bottom p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:4px}.sidebar-bottom strong{font-size:12px}.lock-icon{font-size:26px;color:var(--green);margin-bottom:10px}.workspace{width:calc(100% - 252px);margin-left:252px}.topbar{height:86px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 44px;gap:20px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#b6beb6}.topbar-actions{display:flex;align-items:center;gap:12px}.locale-form{display:flex;align-items:center;gap:5px}.locale-form select{border:0;background:transparent;font-size:12px;width:92px;padding:5px}.locale-form button{font-size:10px}.text-button{background:none;border:0;padding:5px;color:var(--muted)}.avatar{display:inline-flex;border-radius:50%;width:32px;height:32px;align-items:center;justify-content:center;background:#efe9dc;font-weight:600}.user-name{max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}main{max-width:1500px;margin:auto;padding:44px 48px 64px}footer{padding:20px 48px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;justify-content:space-between}h1,h2,h3,p{margin-top:0}h1{font-size:38px;letter-spacing:-1.5px;line-height:1.2;font-weight:550;margin-bottom:12px}h2{font-size:20px;line-height:1.4;letter-spacing:-.5px;font-weight:600;margin-bottom:12px}h3{font-size:16px;line-height:1.4;font-weight:600;margin-bottom:5px}p{color:var(--muted)}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:2px;font-weight:650;color:var(--orange);margin-bottom:15px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:3px 0 36px}.page-heading p:last-child{margin:0;max-width:720px}.heading-dot{color:var(--orange)}.button{border:1px solid var(--green);background:var(--green);color:#fff;border-radius:6px;padding:12px 20px;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:20px;font-size:12px;font-weight:600;white-space:nowrap;min-height:44px;line-height:1.6}.button:hover{background:#173c2d}.button.secondary{background:transparent;color:var(--green)}.full{width:100%}.card{background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:28px;margin-bottom:22px}.onboarding{display:flex;align-items:center;gap:20px;background:#f0f4ed}.onboarding .button{margin-left:auto}.onboarding h2{margin-bottom:3px}.onboarding p{margin-bottom:0}.step-number{display:inline-flex;font-size:11px;letter-spacing:1px;color:var(--orange);flex-shrink:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:40px}.stats section{background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px 24px}.stats span{display:block;font-size:12px;color:var(--muted)}.stats strong{display:block;font-size:36px;letter-spacing:-1px;font-weight:500;margin:8px 0}.stats small{font-size:10px;color:#8b978f}.security-stat strong span{display:inline;font-size:24px;color:#7b9972}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 15px}.section-heading h2{margin:0}.hint{font-size:11px;color:var(--muted);font-weight:400}.tag{font-size:9px;letter-spacing:1.8px;color:var(--orange);text-transform:uppercase;font-weight:700}.empty-state{display:flex;align-items:center;gap:50px;min-height:310px;padding:36px 60px}.empty-state img{height:225px;box-shadow:8px 8px 0 #e8e9e0;border-radius:1px;transform:rotate(-5deg)}.empty-state h2{font-size:25px;margin-top:12px}.empty-state p{max-width:420px}.help-strip{display:flex;align-items:flex-start;gap:14px;margin-top:24px;padding:20px 2px;max-width:650px}.help-strip>span{color:#7b9774;font-size:23px;line-height:1.2}.help-strip p{font-size:11px;margin:0}.pill{display:inline-block;background:var(--light);color:#42654d;font-size:10px;padding:5px 10px;border-radius:25px;font-weight:550;white-space:nowrap}.book-list{border:1px solid var(--line);border-radius:8px;background:white;overflow:hidden}.book-row{display:flex;align-items:center;gap:20px;text-decoration:none;padding:18px 24px;border-bottom:1px solid var(--line)}.book-row:last-child{border:0}.book-row:hover{background:#fbfcf9}.book-row img{width:42px;height:60px;object-fit:contain}.book-row .pill{margin-left:auto}.row-arrow{font-size:22px;color:#91a086}.book-row h3{margin:0 0 5px}.notice{padding:18px 22px;border-radius:7px;background:#f6efd9;border:1px solid #e8dbaf;margin-bottom:24px;font-size:13px}.notice.success{background:#eaf3e7;border-color:#cbdec3}.notice.error{background:#fff0ed;border-color:#ebc9c3;color:var(--red)}.notice ul{padding-left:20px;margin-bottom:0}label,.label{display:block;font-size:12px;font-weight:550;margin-bottom:7px}input,select,textarea{width:100%;border:1px solid #d5ded3;border-radius:5px;padding:10px 12px;color:var(--ink);background:#fff;min-height:44px}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid #8baf86;outline-offset:1px}input[type=file]{background:#fafbf8;font-size:12px;margin-bottom:16px}input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:var(--green);flex-shrink:0}.check{display:flex;align-items:flex-start;gap:10px;font-weight:400;margin:18px 0}.check input{margin-top:3px}.check span{font-size:12px}.consent{margin:22px 3px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.span-2{grid-column:1/-1}.form-grid+.button{margin-top:24px}.form-section summary{list-style:none;display:flex;gap:14px;align-items:center;cursor:pointer;font-size:16px;font-weight:600}.form-section summary::-webkit-details-marker{display:none}.summary-arrow{margin-left:auto;color:var(--muted)}.form-section[open] summary{margin-bottom:26px}.form-section:not([open]){padding-top:20px;padding-bottom:20px}details.card>summary{cursor:pointer;font-weight:600}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:26px;align-items:start}.editor-main{min-width:0}.editor-aside{position:sticky;top:25px}.cover-guide{padding:24px}.cover-guide img{display:block;width:130px;margin:24px auto;box-shadow:6px 6px 0 #e7e9de}.cover-guide p{font-size:11px}.cover-guide h3{font-size:14px}.cover-guide ul{padding-left:15px;color:var(--muted);font-size:11px;line-height:2}.quiet{background:#eef2e9;font-size:12px}.quiet p{margin:9px 0 0;font-size:11px}.channel-grid{display:flex;gap:12px;flex-wrap:wrap}.channel{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:15px 13px;border-radius:6px;cursor:pointer;flex:1;min-width:120px}.channel input{margin:0}.channel-grid .check{margin:5px 0 18px}.auth-grid{display:grid;grid-template-columns:1fr 410px;gap:65px;padding:35px 0;align-items:center}.auth-story h1{font-family:Georgia,serif;font-size:54px;line-height:1.15;font-weight:400;letter-spacing:-1.6px;max-width:420px}.lead{font-size:15px;line-height:1.9;max-width:430px;margin-top:25px}.auth-card{padding:34px;max-width:550px}.auth-card h2{font-size:26px;margin-bottom:25px}.auth-card label{margin-top:18px}.auth-card .button{margin-top:24px}.auth-links{display:flex;justify-content:space-between;gap:15px;font-size:11px;margin-top:24px}.book-scene{display:flex;gap:28px;align-items:center;margin:45px 0}.book-scene img{width:110px;box-shadow:6px 6px 0 #e1e6d9;transform:rotate(-6deg)}.book-scene p{font-size:12px;max-width:200px;margin:12px 0 18px}.network{font-family:Georgia,serif;font-size:18px;letter-spacing:.5px}.network span{padding:0 6px;color:#b3bcae}.story-foot{font-size:11px;color:#8a9b83;border-top:1px solid var(--line);padding-top:25px;max-width:400px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.two-columns h2{margin-top:18px}.qr{padding:18px 0}.qr svg{max-width:200px;height:auto}.recovery-codes{display:grid;grid-template-columns:1fr 1fr;max-width:500px;gap:12px;margin:25px 0}.recovery-codes code{padding:12px;background:#f1f4ee;border-radius:5px;font-size:14px}.data-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.data-grid dt{font-size:10px;color:var(--muted)}.data-grid dd{margin:6px 0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.book-preview img{width:100%;max-height:340px;object-fit:contain;margin-bottom:20px}.book-preview .pill{margin:3px}.history-row{display:flex;gap:14px;padding:18px 0;border-top:1px solid var(--line)}.history-row p{font-size:12px;margin:4px 0}.history-dot{width:8px;height:8px;background:#a0b795;border-radius:50%;margin-top:8px;flex:none}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{color:var(--muted);font-size:10px;font-weight:500;padding-bottom:16px}td{border-top:1px solid var(--line);padding:15px 8px 15px 0;font-size:12px}.pagination{display:flex;justify-content:space-between;margin:16px 0;font-size:12px}.queue-row{display:flex;gap:20px;align-items:center;border-top:1px solid var(--line);margin-top:20px;padding:18px 0}.field-error{color:var(--red);font-size:11px}.skip{position:absolute;left:10px;top:-100px;z-index:100;background:#fff;padding:12px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
@media(min-width:1550px){main{padding-top:55px}.auth-grid{padding-top:60px;gap:100px}}@media(max-width:1180px){.sidebar{width:215px;padding:28px 18px}.workspace{margin-left:215px;width:calc(100% - 215px)}main{padding:35px 28px}.topbar{padding:0 28px}.auth-grid{grid-template-columns:1fr 360px;gap:30px}.auth-story h1{font-size:44px}.editor-layout{grid-template-columns:minmax(0,1fr) 215px;gap:18px}.cover-guide{padding:18px}.user-name{display:none}.empty-state{padding:30px;gap:35px}}@media(max-width:900px){.sidebar{position:static;width:100%;padding:18px 24px;display:block;border-bottom:1px solid var(--line);border-right:0}.sidebar-label,.sidebar-bottom{display:none}.brand-mark{height:42px;width:44px;font-size:20px;padding:7px}.brand{font-size:13px}.shell{display:block}.workspace{margin:0;width:100%}nav{display:flex;gap:5px;flex-wrap:wrap;margin-top:15px}nav a{font-size:11px;padding:8px 10px}.topbar{height:65px}.auth-grid{gap:35px}.auth-story h1{font-size:40px}.breadcrumb{font-size:10px}.editor-layout{grid-template-columns:minmax(0,1fr) 225px}h1{font-size:32px}footer{padding:20px 28px}}@media(max-width:650px){main{padding:26px 18px 45px}.sidebar{padding:18px}.topbar{padding:0 18px;height:60px}.breadcrumb{max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-actions{gap:8px}.avatar{display:none}.locale-form button{font-size:9px}.locale-form select{width:80px}.page-heading{align-items:flex-start;gap:20px;flex-direction:column;margin-bottom:25px}.page-heading .button{width:100%}h1{font-size:32px}.stats{gap:8px;margin-bottom:30px}.stats section{padding:14px 11px}.stats span{font-size:9px}.stats strong{font-size:27px}.stats small{font-size:8px}.stats .security-stat strong{font-size:23px}.security-stat strong span{font-size:15px}.card{padding:22px 20px}.empty-state{gap:25px;padding:28px 22px;align-items:flex-start}.empty-state img{height:135px;margin-top:10px}.empty-state h2{font-size:19px}.empty-state p{font-size:11px}.empty-state .button{font-size:10px;padding:10px;white-space:normal}.section-heading h2{font-size:17px}.section-heading>.hint{max-width:110px;text-align:right;font-size:9px}.editor-layout{display:flex;flex-direction:column}.editor-main,.editor-aside{width:100%}.editor-aside{position:static}.cover-guide{display:grid;grid-template-columns:100px 1fr;gap:10px 20px}.cover-guide img{width:80px;grid-row:1/5;margin:5px}.cover-guide .tag{grid-column:2}.cover-guide h3,.cover-guide p,.cover-guide ul{grid-column:2;margin:0}.form-grid{gap:16px 12px}.form-grid label{font-size:10px}.form-grid input,.form-grid select{padding:10px 8px;font-size:12px}.auth-grid{display:flex;flex-direction:column;padding:0;gap:20px}.auth-story{width:100%}.auth-story h1{font-size:40px;max-width:300px}.auth-story .lead{font-size:13px;margin:15px 0}.book-scene,.story-foot{display:none}.auth-card{width:100%;max-width:none}.two-columns{grid-template-columns:1fr;gap:0}.onboarding{flex-wrap:wrap;gap:12px}.onboarding .button{margin:0;width:100%}.onboarding>div{flex:1}.onboarding h2{font-size:16px}.onboarding p{font-size:11px}.book-row{padding:16px 14px;gap:12px}.book-row h3{font-size:13px}.book-row .pill{font-size:8px;padding:4px 7px}.row-arrow{display:none}.data-grid{grid-template-columns:1fr}.queue-row{flex-wrap:wrap}.recovery-codes{grid-template-columns:1fr}footer{padding:18px;font-size:9px;gap:20px}.auth-links{flex-wrap:wrap}.user-name{display:none}}

.form-actions{display:flex;gap:12px;flex-wrap:wrap}.form-actions>.button{flex:1}