@font-face{font-family:Noto Sans;src:url(/assets/NotoSans-Regular-Dpf_lrdO.ttf) format("truetype");font-display:swap}@font-face{font-family:Noto Serif;src:url(/assets/NotoSerif-Regular-Dvua3R1P.ttf) format("truetype");font-display:swap}:root{font-family:Noto Sans,sans-serif;color:#29322d;background:#f5f3ec;font-synthesis:weight;--ink:#253b30;--muted:#72786d;--line:#dcded2;--cream:#fdfcf7;--accent:#8b573e}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b58558;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:"Noto Serif",serif;font-weight:400;letter-spacing:-.035em}h1{font-size:clamp(32px,4.6vw,62px);line-height:1.22}h2{font-size:27px;line-height:1.35}h3{font-size:23px}p{line-height:1.75;color:#72786d}small{font-size:12px}.masthead{min-height:104px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:20px 5.5%;gap:20px}.brand{display:flex;align-items:center;gap:16px;text-decoration:none;font-size:14px;letter-spacing:3px}.brand small{display:block;font-size:8px;letter-spacing:2.4px;margin-top:7px;color:#7b806f}.sigil{height:49px;width:43px;border:1px solid #a6ac97;display:flex;align-items:center;justify-content:center;position:relative;font-family:"Noto Serif",serif;font-size:18px;letter-spacing:-1px;border-radius:22px 22px 2px 2px}.sigil span{position:absolute;top:-10px;font-size:13px;background:#f5f3ec;padding:0 2px;left:15px}.private-label{font-size:11px;color:#7d8276;letter-spacing:.5px}.status-dot{display:inline-block;width:6px;height:6px;background:#668365;border-radius:50%;margin-right:8px;vertical-align:middle}.site-footer{margin:60px 5.5% 0;padding:27px 0;border-top:1px solid var(--line);display:flex;gap:24px;align-items:center;justify-content:space-between;color:#818678;font-size:10px;letter-spacing:.5px}.site-footer a{text-decoration:none}.eyebrow{font-size:10px;letter-spacing:2.1px;color:#8b654b;margin-bottom:22px}.welcome{max-width:820px;margin:0 auto;padding:90px 30px 30px}.welcome h1{margin-bottom:27px}.intro{font-size:16px;max-width:555px}.invitation-note{display:flex;gap:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:27px 0;margin:35px 0;max-width:630px}.invitation-note h2{font-size:21px;margin-bottom:10px}.invitation-note p{font-size:13px;margin:0}.note-symbol{font-size:25px;color:#9b7654;margin-top:6px}.welcome-rule{width:54px;height:1px;background:#b7bea9;margin-top:46px}.quiet{font-size:11px;letter-spacing:.6px;margin-top:20px}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:14px 21px;border:1px solid var(--ink);border-radius:3px;background:var(--ink);color:#f9f8f1;font-size:12px;text-decoration:none;font-weight:600;line-height:1.4;min-height:46px}.button:hover:not(:disabled){background:#3c5143}.button.secondary{background:transparent;color:var(--ink);border-color:#b9c0af}.button.secondary:hover:not(:disabled){background:#eceee3}.text-button{border:0;background:none;color:#54634f;font-size:12px;padding:8px 0;text-decoration:none}.text-button:hover:not(:disabled){text-decoration:underline}.card{background:var(--cream);border:1px solid var(--line);border-radius:5px;padding:34px;box-shadow:0 8px 30px #29322d04}.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:100px;max-width:1110px;margin:80px auto;padding:0 32px;align-items:center;min-height:520px}.auth-story h1{font-size:clamp(35px,4vw,53px);margin-bottom:25px}.auth-story p{max-width:335px;font-size:14px}.ornament{font-size:21px;color:#a59779;letter-spacing:8px;display:block;margin:35px 0}.auth-card{padding:40px}.auth-card h2{margin-top:22px;margin-bottom:20px;font-size:29px}.auth-card p{font-size:13px}.auth-card .button{width:100%;margin-top:12px;justify-content:space-between}.step{font-family:"Noto Serif",serif;font-size:21px;color:#8b654b}.step span{font-family:Noto Sans,sans-serif;font-size:9px;letter-spacing:1.5px;color:#9c9b8d;margin-left:12px}.email{display:inline-block;font-weight:400;color:#3a463c;margin-top:7px;font-size:16px}.fine-print{border-top:1px solid var(--line);padding-top:22px;margin-top:30px;font-size:11px!important;line-height:1.75;color:#929486}.resend{display:block;margin:17px auto 0}.error{background:#f9ece5;border:1px solid #e7c8b7;color:#8e4932;padding:14px 17px;font-size:13px;line-height:1.7;border-radius:3px;margin:18px 0}.notice{background:#edf0e4;border:1px solid #d6dec9;padding:14px 17px;color:#53634a;font-size:13px;border-radius:3px}.field-note{font-size:11px!important;color:#929486!important;line-height:1.7;margin:8px 0 20px}label{display:block;font-size:11px;color:#5e6658;margin:20px 0 8px}input,select,textarea{border:1px solid #d4d9ca;background:#fffef9;color:#35412f;border-radius:3px;padding:12px;width:100%;font-size:13px}textarea{resize:vertical;line-height:1.6;font-family:monospace;max-height:650px}.otp-input{font-size:27px;letter-spacing:13px;text-align:center;padding:14px 9px 14px 22px}.narrow{max-width:600px;margin:70px auto;padding:40px}.session-card h1{font-size:34px}.reader-layout{max-width:1190px;margin:auto;padding:38px 32px 0}.reader-heading,.admin-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}.reader-heading h1{font-size:32px;margin-bottom:0}.reader-heading .eyebrow{margin-bottom:12px}.reader-toolbar{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin:25px 0;font-size:10px;color:#7c8274}.reader-toolbar .text-button,.expiry{margin-left:auto}.page-stage{position:relative;min-height:450px;padding:25px;background:#e9e9df;border-radius:4px;overflow:auto;text-align:center;max-height:calc(100vh - 280px)}.book-page{display:block;width:100%;max-width:720px;height:auto;margin:0 auto;box-shadow:0 3px 20px #33402e18}.page-stage.enlarged .book-page{width:1100px;max-width:none}.page-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px}.loading-tag{position:sticky;top:0;z-index:1;background:#253b30ef;color:#fff;padding:10px;font-size:11px;border-radius:3px;max-width:300px;margin:0 auto 10px}.page-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0}.page-controls form{display:flex;align-items:center;gap:10px;color:#7c8274;font-size:11px}.page-controls label{margin:0}.page-controls input{width:64px;text-align:center;padding:9px 3px}.reader-note{text-align:center;font-size:10px;color:#89917e}.reader-note span{display:block;margin-top:10px}.admin-layout{max-width:1320px;margin:45px auto 0;padding:0 40px}.admin-heading h1{font-size:38px;margin-bottom:12px}.admin-heading .eyebrow{margin-bottom:17px}.admin-heading p{font-size:13px}.admin-stats{display:grid;grid-template-columns:1fr 1fr 1.25fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:28px 0 32px;padding:25px 0}.admin-stats>div{padding:0 35px;border-left:1px solid var(--line)}.admin-stats>div:first-child{border-left:0;padding-left:0}.admin-stats span:not(.status-dot){display:block;font-size:9px;letter-spacing:1.8px;color:#8e9384;margin-bottom:12px}.admin-stats strong{font-family:"Noto Serif",serif;font-size:30px;font-weight:400}.admin-stats strong small{font-family:Noto Sans,sans-serif;font-size:12px;color:#808875;margin-left:5px}.admin-stats .stat-text{font-size:22px}.stat-text .status-dot{margin-left:12px}.tabs{display:flex;gap:30px;border-bottom:1px solid var(--line);margin-bottom:30px}.tabs button{font-size:12px;color:#8e9384;border:0;background:none;padding:12px 0 18px;position:relative}.tabs .selected{color:#2b4936}.tabs .selected:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#4f6650}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.section-heading h2{font-size:26px;margin-bottom:8px}.section-heading p{font-size:12px;margin:0}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.book-card{border:1px solid var(--line);border-radius:4px;overflow:hidden;background:#fffdf8}.book-cover{background:#3e554b;color:#e5e6cc;min-height:300px;position:relative;margin:15px;padding:25px 22px;display:flex;flex-direction:column;text-align:center;align-items:center;box-shadow:inset 5px 0 #00000012}.book-cover:before{content:"";position:absolute;inset:12px;border:1px solid #ffffff25;pointer-events:none}.cover-top{font-size:7px;letter-spacing:1.8px;margin:8px 0 22px}.cover-ornament{font-size:23px;margin:15px 0 18px}.book-cover h3{font-size:25px;line-height:1.45;max-width:250px;overflow-wrap:anywhere}.cover-bottom{font-size:7px;letter-spacing:2px;margin-top:auto;padding-top:25px}.cover-1{background:#776650;color:#efe3c9}.cover-2{background:#454e62;color:#ece4d4}.book-details{padding:4px 22px 20px}.book-details p{font-size:11px;margin:12px 0}.book-details p span{padding:0 7px}.badge{display:inline-block;background:#e9eee0;border:1px solid #dbe1d0;padding:4px 9px;border-radius:20px;font-size:9px;color:#5a7048;white-space:nowrap}.badge.muted{background:#efece5;color:#989081;border-color:#e2ddd2}.book-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:8px}.book-actions .text-button{font-size:10px}.empty-state{text-align:center;border:1px dashed #c7cebc;padding:30px 20px;border-radius:4px;margin:25px 0}.empty-state p{font-size:12px}.empty-state .ornament{margin:16px 0 20px}.manuscript-form{margin-bottom:30px;max-width:850px}.form-actions{display:flex;gap:25px;align-items:center;margin-top:20px}.grant-form{display:grid;grid-template-columns:1fr 1.3fr 1fr 1.2fr;gap:20px;margin-bottom:30px;padding:25px}.grant-form label{margin-top:0}.grant-form .button{grid-column:1/-1;justify-self:end}.optional{color:#93998a;font-size:9px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:4px;background:var(--cream)}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:9px;letter-spacing:1px;font-weight:400;text-transform:uppercase;padding:17px 20px;background:#eeefe6;color:#929786;white-space:nowrap}td{padding:18px 20px;border-top:1px solid #e3e6d9;font-size:11px;line-height:1.6}td strong{font-weight:400}td small{display:block;font-size:9px;color:#999d8e;margin-top:5px}td.actions{white-space:nowrap}td .text-button{font-size:10px;margin-right:15px}.danger{color:#a0755e}.table-empty{text-align:center;padding:45px 20px;color:#929786}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:25px;font-size:10px;color:#929786;margin-top:20px}.invitation-result{margin:25px 0}.invitation-result h2{margin-bottom:10px}.invitation-result p{font-size:12px;max-width:700px}.working{font-size:11px;color:#77866a;margin:12px 0}@media(min-width:1700px){.page-stage{max-height:calc(100vh - 300px)}}@media(max-width:900px){.auth-layout{gap:45px;margin:55px auto}.auth-card{padding:25px}.auth-story h1{font-size:39px}.admin-layout{padding:0 25px}.admin-heading h1{font-size:30px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grant-form{grid-template-columns:1fr 1fr}.admin-stats>div{padding:0 20px}.admin-stats .stat-text{font-size:18px}.site-footer{flex-wrap:wrap}.site-footer span:nth-child(2){margin-left:auto}.site-footer a{margin-left:auto}.book-actions{flex-direction:column;gap:0}.book-actions button{text-align:left}.reader-heading h1{font-size:28px}}@media(max-width:600px){.masthead{min-height:85px;padding:17px 22px}.brand{font-size:11px;letter-spacing:2px;gap:12px}.brand small{font-size:7px}.private-label{display:none}.sigil{height:43px;width:38px}.sigil span{left:13px}.welcome{padding:60px 25px 15px}.welcome h1{font-size:38px}.intro{font-size:14px}.auth-layout{grid-template-columns:1fr;padding:0 22px;margin:35px auto;gap:20px;min-height:0}.auth-story h1{font-size:35px}.auth-story h1 br{display:none}.auth-story h1 br:after{content:" "}.auth-story p{max-width:none;font-size:12px}.auth-story .ornament{display:none}.auth-story .eyebrow{margin-bottom:16px}.auth-card{padding:27px}.auth-card h2{font-size:25px}.site-footer{margin:45px 22px 0;font-size:9px;gap:15px}.site-footer span:nth-child(2){display:none}.admin-layout{margin-top:30px;padding:0 20px}.admin-heading{align-items:flex-start}.admin-heading h1{font-size:29px}.admin-heading p{font-size:11px}.admin-heading>.text-button{white-space:nowrap}.admin-stats{grid-template-columns:1fr 1fr;padding:20px 0}.admin-stats>div:last-child{display:none}.admin-stats>div:nth-child(2){padding:0 0 0 18px}.admin-stats span:not(.status-dot){font-size:8px;letter-spacing:1px}.admin-stats strong{font-size:26px}.tabs{gap:20px;overflow-x:auto;white-space:nowrap}.tabs button{font-size:11px}.section-heading{align-items:flex-start}.section-heading h2{font-size:22px}.section-heading p{font-size:11px}.section-heading .button{font-size:10px;padding:10px;white-space:nowrap;min-height:38px}.book-grid{grid-template-columns:1fr}.book-cover{min-height:330px}.book-actions{flex-direction:row}.grant-form{grid-template-columns:1fr;padding:20px;gap:18px}.grant-form .button{width:100%}.card.manuscript-form{padding:20px}.reader-layout{padding:25px 14px 0}.reader-heading{gap:12px}.reader-heading h1{font-size:24px}.reader-heading .eyebrow{font-size:8px;letter-spacing:1px}.reader-heading .text-button{font-size:10px;white-space:nowrap}.reader-toolbar{margin:18px 0 12px;gap:10px}.reader-toolbar .expiry{display:none}.reading-label{font-size:9px}.reader-toolbar .text-button{font-size:10px}.page-stage{padding:8px;min-height:300px;max-height:none}.page-placeholder{min-height:400px}.page-controls{gap:10px}.page-controls .button{padding:10px 14px;min-height:40px}.page-controls .button span{display:none}.page-controls form{gap:7px;font-size:10px}.page-controls input{width:55px}.reader-note{font-size:9px}.session-card{margin:35px 20px;padding:27px}.session-card h1{font-size:29px}.table-wrap{margin:0 -1px}.eyebrow{font-size:9px}td,th{padding:15px}.invitation-result{padding:20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.highlighted-page{position:relative;width:100%;max-width:720px;margin:0 auto;line-height:0;text-align:left}.highlighted-page.page-zoom{width:1100px;max-width:none}.highlighted-page .book-page{width:100%;max-width:none}.highlight-drawing{cursor:crosshair;outline:3px solid #b58558;outline-offset:3px;touch-action:none;-webkit-user-select:none;user-select:none}.highlight-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.saved-highlight{pointer-events:stroke;cursor:pointer}.saved-highlight.selected{filter:drop-shadow(0 0 2px #304a3a)}.highlight-drawing .saved-highlight{pointer-events:none}.highlight-cursor{display:none}.highlight-drawing:focus-visible .highlight-cursor{display:block}.highlight-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0}.highlight-swatch{border:2px solid transparent;border-radius:4px;background:#fffdf7;color:var(--ink);padding:8px 10px;font:inherit;font-size:13px;text-transform:capitalize;display:flex;align-items:center;gap:6px}.highlight-swatch:before{content:"";display:block;width:16px;height:16px;border-radius:50%;background:var(--swatch)}.highlight-swatch[aria-pressed=true]{border-color:#304a3a}.comments-panel{margin-top:28px}.comments-panel .section-heading h2,.comment-thread h3{margin-bottom:8px}.comments-panel p,.comment-thread p,.comment-filters{font-size:13px}.comment-list{display:grid;gap:8px;margin:18px 0}.comment-summary{width:100%;text-align:left;border:1px solid var(--line);border-radius:4px;background:#fffdf7;color:var(--ink);padding:13px 16px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.comment-summary.selected{border-color:#8b654b;background:#f4eee2}.comment-summary small,.comment-summary span{display:block}.comment-summary small{color:#72786d;margin:4px 0}.comment-thread{border-top:1px solid var(--line);margin-top:24px;padding-top:24px;min-width:0}.comment-thread h3{font-size:20px}.comment-message{padding:14px 0;border-bottom:1px solid var(--line)}.comment-message small{font-size:11px;color:#72786d}.comment-message p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);margin:10px 0 0}.comment-thread textarea,.comments-panel textarea{font-family:inherit;margin-bottom:14px}.comment-filters{display:grid;grid-template-columns:2fr 2fr 1fr auto;gap:18px;align-items:end;padding:22px}.comment-filters label{margin-top:0}.admin-comment-detail{margin-top:24px;min-width:0}.comments-panel>.text-button{margin-right:20px}@media(max-width:700px){.comment-filters{grid-template-columns:1fr}.comments-panel{padding:20px}.comments-panel .section-heading{align-items:flex-start;gap:12px}.comments-panel .section-heading .button{white-space:nowrap;padding:10px;font-size:11px}.comment-thread .section-heading{flex-wrap:wrap}}
