:root{--bg:#f5f4f1;--paper:#fffefa;--soft:#ededea;--ink:#282c33;--muted:#737984;--faint:#969ca5;--line:#e2e3e5;--green:#596f90;--green-dark:#394b66;--green-soft:#e9edf3;--accent:#7c91b0;--side:#252a32;--side-muted:#b4bdcb;--sans:'Aptos','Segoe UI','Helvetica Neue',Arial,sans-serif;--serif:'Iowan Old Style','Palatino Linotype','Book Antiqua',Georgia,serif;--shadow:0 20px 70px #232a3412;--side-width:232px;color-scheme:light}
html[data-theme=sepia]{--bg:#eee7db;--paper:#fbf5e9;--soft:#e7dece;--ink:#423d36;--muted:#80786d;--faint:#9d968b;--line:#ded6c8;--green:#696c7c;--green-dark:#464958;--green-soft:#e9e6e0;--side:#2d2c30;--side-muted:#bbb7b5;--accent:#9c8c76}
html[data-theme=night]{--bg:#1c2027;--paper:#252a33;--soft:#2b313c;--ink:#e8eaf0;--muted:#a5afc0;--faint:#8995a9;--line:#373f4c;--green:#b3c4df;--green-dark:#c5d3e8;--green-soft:#333e51;--accent:#a6bbd9;--side:#171c24;--side-muted:#b2bdcf;color-scheme:dark}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:var(--sans);font-size:14px;color:var(--ink);background:var(--bg)}body.modal-open{overflow:hidden}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input,textarea,select{color:var(--ink)}input::placeholder,textarea::placeholder{color:var(--faint)}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle;stroke-width:1.6}button svg{pointer-events:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:400}p{line-height:1.65}small{font-size:12px}.muted{color:var(--muted)}.serif{font-family:var(--serif)}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:10px;font-weight:600;color:var(--muted)}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.spacer{flex:1}.hidden,[hidden]{display:none!important}.skip-link{position:fixed;top:10px;left:10px;transform:translateY(-180%);z-index:500;background:var(--paper);padding:12px}.skip-link:focus{transform:none}.loading{height:100dvh;display:grid;place-content:center;text-align:center;color:var(--muted)}.loading-leaf{font-size:48px;color:var(--green);margin-bottom:16px}.icon-btn{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0;color:var(--muted)}.icon-btn:hover{background:var(--soft);color:var(--ink)}.icon-btn.active{background:var(--green-soft);color:var(--green)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:9px 15px;border-radius:7px;background:var(--paper);border:1px solid var(--line);font-size:12px;font-weight:500;white-space:nowrap;transition:background .15s,transform .15s}.btn svg{width:16px;height:16px}.btn:hover{background:var(--soft)}.btn.primary{background:var(--green-dark);border-color:var(--green-dark);color:var(--bg)}.btn.primary:hover{filter:brightness(1.12)}.btn.small{min-height:32px;font-size:11px;padding:7px 11px}.btn.ghost{background:transparent;border-color:transparent}.btn.danger{color:#a55344}.text-btn{font-size:12px;color:var(--green);display:inline-flex;gap:7px;align-items:center;padding:7px 0}.text-btn svg{width:15px;height:15px}.text-btn:hover{text-decoration:underline}.tag{display:inline-flex;align-items:center;font-size:10px;letter-spacing:.02em;padding:5px 8px;background:var(--green-soft);border-radius:5px;color:var(--green)}.dot{width:5px;height:5px;background:currentColor;border-radius:50%;display:inline-block}.save-state{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}.save-state .dot{color:#738ca9}.save-state.error{color:#b45e43}.save-state.error .dot{color:#b45e43}
/* The atelier frame */
.app-shell{min-height:100dvh;padding-left:var(--side-width)}.sidebar{width:var(--side-width);height:100dvh;position:fixed;top:0;left:0;z-index:40;background:var(--side);color:#e7ebf2;display:flex;flex-direction:column;padding:29px 18px 15px}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 32px;color:#f1f3f7}.brand>svg{width:26px;height:30px;stroke-width:1.5;color:#c0cde0}.brand-name{font-family:var(--sans);font-size:27px;font-weight:600;letter-spacing:-1px}.brand-tag{font-size:8px;letter-spacing:.15em;text-transform:uppercase;color:var(--side-muted);display:block;margin-top:3px}.side-nav{display:grid;gap:5px}.side-item{display:flex;align-items:center;gap:12px;padding:12px 14px;width:100%;text-align:left;color:#bec7d5;font-size:12px;border-radius:6px;min-height:40px}.side-item svg{width:17px;height:17px;color:#9caec6}.side-item:hover{background:#ffffff08;color:#f5f7fa}.side-item.active{background:#ffffff0e;color:#f5f7fa;box-shadow:inset 2px 0 #aabedf}.side-item.active svg{color:#d0dcf0}.side-item .count{margin-left:auto;font-size:10px;color:#abb9ce}.side-section{border-top:1px solid #ffffff10;margin-top:28px;padding:23px 12px 10px}.side-label{display:flex;align-items:center;justify-content:space-between;color:#9daabd;font-size:9px;letter-spacing:.13em;text-transform:uppercase;margin-bottom:14px}.side-label button{color:#b5c3d8;padding:0}.side-label svg{width:15px;height:15px}.mini-project{width:100%;display:flex;align-items:center;gap:10px;text-align:left;color:#bdc8da;font-size:11px;padding:10px 0;line-height:1.4}.mini-project:hover{color:white}.mini-cover{height:22px;width:16px;border-radius:2px;background:#8799b4;box-shadow:inset 2px 0 #ffffff18;flex-shrink:0}.mini-cover.c1{background:#ab8876}.mini-cover.c2{background:#b5a27c}.mini-cover.c3{background:#7c9095}.side-bottom{margin-top:auto;padding-top:28px}.side-ambience{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:13px 12px;border:1px solid #ffffff12;border-radius:7px;color:#becadd;margin-bottom:17px}.side-ambience svg{width:16px;height:16px}.side-ambience strong{display:block;font-size:11px;font-weight:400;color:#e1e7f1}.side-ambience small{display:block;font-size:9px;color:#a4b3c9;margin-top:4px}.side-ambience .sound-bars{margin-left:auto}.sound-bars{display:flex;align-items:center;gap:2px;height:17px}.sound-bars i{display:block;height:5px;width:2px;background:#adbed9;border-radius:2px}.sound-bars i:nth-child(2){height:13px}.sound-bars i:nth-child(3){height:9px}.sound-bars i:nth-child(4){height:17px}.sound-bars.playing i{animation:sound 1.3s ease-in-out infinite alternate}.sound-bars.playing i:nth-child(2){animation-delay:-.3s}.sound-bars.playing i:nth-child(3){animation-delay:-.8s}@keyframes sound{to{transform:scaleY(.3)}}.profile{display:flex;align-items:center;gap:10px;padding:5px 10px 13px;width:100%;text-align:left}.avatar{height:30px;width:30px;display:grid;place-items:center;border-radius:50%;background:#c5d1e2;color:#252a32;font-family:var(--serif);font-size:15px;flex-shrink:0}.profile strong{font-size:11px;font-weight:500;display:block;color:#e8edf5}.profile small{font-size:9px;color:#a6b4c9;display:block;margin-top:4px}.profile svg{margin-left:auto;width:15px;height:15px;color:#a1b0c6}.side-about{width:100%;font-size:9px;color:#95a6bf;padding-top:8px;border-top:1px solid #ffffff0c;text-align:center}.topbar{height:72px;border-bottom:1px solid var(--line);padding:0 46px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--bg)}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted);min-width:0}.breadcrumb svg{width:15px;height:15px}.breadcrumb span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.breadcrumb strong{font-weight:500;color:var(--ink)}.top-actions{display:flex;align-items:center;gap:13px}.top-divider{height:17px;border-left:1px solid var(--line);margin:0 4px}.mobile-menu{display:none}.workspace{max-width:1460px;margin:auto;padding:42px 48px 26px;animation:appear .3s ease-out}@keyframes appear{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
/* Library */
.welcome{display:grid;grid-template-columns:1fr 220px;gap:28px;align-items:center;padding:2px 0 30px}.welcome .eyebrow{color:var(--green);margin-bottom:15px;font-size:9px}.welcome h1{font-family:var(--sans);font-size:43px;line-height:1.16;letter-spacing:-1.5px;margin:0 0 16px;max-width:680px;font-weight:550}.welcome h1 em{font-weight:400;color:var(--green)}.welcome p{font-size:12px;color:var(--muted);margin:0 0 22px}.welcome-actions{display:flex;gap:10px}.desk-art{width:215px;height:185px;justify-self:end;opacity:.84;color:var(--green)}.desk-art svg{width:100%;height:100%;stroke-width:1}.continue-card{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;padding:23px 27px;background:var(--green-soft);border:1px solid color-mix(in srgb,var(--green) 12%,transparent);border-radius:9px;position:relative;overflow:hidden}.continue-content{display:flex;gap:18px;align-items:center;min-width:0}.continue-mark{width:42px;height:49px;border:1px solid color-mix(in srgb,var(--green) 24%,transparent);border-radius:4px;display:grid;place-items:center;background:color-mix(in srgb,var(--paper) 35%,transparent);color:var(--green);flex-shrink:0}.continue-mark svg{width:21px;height:21px}.continue-card .eyebrow{font-size:8px;letter-spacing:.13em;margin-bottom:8px;color:var(--green)}.continue-card h2{font-family:var(--sans);font-size:21px;margin-bottom:6px;letter-spacing:-.3px;font-weight:550}.continue-card p{font-size:10px;margin:0;color:var(--muted)}.section-head{display:flex;justify-content:space-between;align-items:center;margin-top:35px;margin-bottom:19px}.section-head h2{font-family:var(--sans);font-size:24px;letter-spacing:-.6px;margin:0;font-weight:550}.section-head-right{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:10px}.filter-row{display:flex;align-items:center;gap:22px;border-bottom:1px solid var(--line);margin-bottom:25px}.filter{font-size:11px;color:var(--muted);padding:0 0 11px;position:relative}.filter.active{color:var(--green)}.filter.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--green)}.filter .num{background:var(--soft);border-radius:4px;padding:2px 5px;font-size:9px;margin-left:5px}.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px}.project-card{min-width:0;text-align:left;position:relative}.project-open{padding:0;text-align:left;width:100%}.cover-stage{height:210px;background:#eaece3;border-radius:7px;display:grid;place-items:center;position:relative;overflow:hidden;transition:background .2s}.cover-stage:after{content:'';position:absolute;left:12%;right:12%;bottom:10px;box-shadow:0 0 19px 7px #35342716;border-radius:50%}.cover-stage.c1{background:#eee4dd}.cover-stage.c2{background:#eeeadf}.cover-stage.c3{background:#e2e9e6}.book-cover{height:173px;width:122px;position:relative;box-shadow:5px 7px 11px #293b291d;border-radius:1px 4px 4px 1px;z-index:1;overflow:hidden;transition:transform .25s;transform:rotate(-3deg);background:#52634f;color:#f4edd7;border:1px solid #0000000c}.project-open:hover .book-cover{transform:rotate(0deg) translateY(-5px)}.book-cover:before{content:'';position:absolute;top:0;bottom:0;left:4px;border-right:1px solid #ffffff15;box-shadow:1px 0 #00000014;z-index:3}.book-cover.c1{background:#b98b77;color:#fff0d8;transform:rotate(3deg)}.book-cover.c2{background:#d9c7a3;color:#6a604d;transform:rotate(-2deg)}.book-cover.c3{background:#73908b;color:#f5efd9;transform:rotate(4deg)}.cover-ornament{position:absolute;inset:0;width:100%;height:100%;opacity:.45}.cover-title{position:absolute;left:17px;right:13px;top:26px;text-align:center;font-family:var(--serif);font-size:17px;line-height:1.15;letter-spacing:.1px;z-index:2;overflow-wrap:anywhere}.cover-author{position:absolute;bottom:16px;left:12px;right:12px;text-transform:uppercase;letter-spacing:.17em;font-size:6px;text-align:center;opacity:.8}.cover-mini-label{position:absolute;bottom:37px;left:12px;right:12px;text-align:center;text-transform:uppercase;letter-spacing:.2em;font-size:6px;opacity:.8}.project-card-info{padding:14px 2px 0}.project-card-title{font-family:var(--sans);font-size:17px;margin:0 26px 7px 0;letter-spacing:-.25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:550}.project-type{font-size:9px;color:var(--muted);display:flex;gap:6px;align-items:center;margin-bottom:10px}.project-type .dot{width:3px;height:3px}.project-footer{border-top:1px solid var(--line);padding-top:10px;font-size:9px;color:var(--muted);display:flex;justify-content:space-between;gap:8px}.project-footer span:last-child{font-size:8px;color:var(--faint)}.project-more{position:absolute;right:-2px;top:219px;width:28px;height:26px}.project-more svg{width:17px;height:17px}.project-grid.list{grid-template-columns:1fr}.project-grid.list .project-card{display:flex;gap:20px;border-bottom:1px solid var(--line);padding-bottom:14px}.project-grid.list .project-open{display:flex;gap:20px;align-items:center}.project-grid.list .cover-stage{height:90px;width:100px;flex-shrink:0}.project-grid.list .book-cover{transform:scale(.43);transform-origin:center;flex-shrink:0}.project-grid.list .project-card-info{flex:1;padding:0 40px 0 0}.project-grid.list .project-more{top:12px}.library-bottom{display:grid;grid-template-columns:1.25fr 1fr .95fr;gap:21px;margin-top:33px}.quiet-card{border:1px solid var(--line);border-radius:7px;padding:20px;min-width:0;position:relative;background:color-mix(in srgb,var(--paper) 40%,transparent)}.quiet-card .eyebrow{font-size:8px;letter-spacing:.12em;display:flex;gap:7px;align-items:center;margin-bottom:14px}.quiet-card .eyebrow svg{width:13px;height:13px;color:var(--accent)}.inspiration-text{font-family:var(--serif);font-size:17px;line-height:1.5;margin-bottom:11px}.quiet-card .text-btn{font-size:10px}.rhythm-value{font-family:var(--serif);font-size:26px;margin-bottom:6px;color:var(--green)}.rhythm-value span{font:10px var(--sans);color:var(--muted);padding-left:6px}.quiet-card .note{font-size:10px;color:var(--muted);line-height:1.6;margin:0}.week-dots{display:flex;gap:9px;align-items:end;margin-top:16px;height:27px}.week-dots span{width:13px;height:5px;border-radius:3px;background:var(--line);position:relative}.week-dots span.filled{background:#9dafc9;height:17px}.week-dots span.today{border:1px solid #a4b6d2;background:var(--green-soft);height:24px}.quiet-audio{background:color-mix(in srgb,var(--green-soft) 44%,var(--paper))}.quiet-audio h3{font-family:var(--sans);font-size:19px;line-height:1.3;margin:0 0 10px;font-weight:550}.quiet-audio .text-btn{margin-top:12px}.workspace-footer{display:flex;align-items:center;justify-content:space-between;margin-top:28px;padding-top:17px;border-top:1px solid var(--line);color:var(--faint);font-size:9px;gap:14px}.workspace-footer .row{gap:6px}.workspace-footer svg{width:12px;height:12px}.empty-state{padding:50px 25px;text-align:center;border:1px dashed var(--line);border-radius:8px}.empty-state>svg{width:34px;height:34px;color:var(--muted);margin-bottom:15px}.empty-state h2{font-family:var(--sans);font-size:26px;margin-bottom:10px;font-weight:550}.empty-state p{color:var(--muted);font-size:12px}.empty-state .btn{margin-top:10px}
/* Manuscript and outline */
.editor-shell .topbar{padding:0 25px;height:62px}.editor-shell .brand{padding-bottom:20px}.sidebar.editor-sidebar{padding:23px 15px 15px}.back-library{font-size:10px;color:#bfcbdd;display:flex;align-items:center;gap:6px;margin:0 10px 20px;padding:0}.back-library svg{width:13px;height:13px}.outline-title{padding:0 11px 19px;border-bottom:1px solid #ffffff10;margin-bottom:17px}.outline-title .eyebrow{font-size:8px;color:#9faec4;margin-bottom:9px}.outline-title h2{font-family:var(--sans);font-size:20px;color:#f0f3f8;line-height:1.2;margin:0 0 9px;font-weight:550}.outline-title small{font-size:10px;color:#aebdd2}.outline-scroll{overflow:auto;flex:1;margin:0 -5px;padding:0 5px;min-height:80px}.part-label{color:#acbbd0;font-size:10px;padding:10px 11px;margin:10px 0 7px;display:flex;gap:7px;align-items:center}.part-label svg{width:12px;height:12px}.scene-item{display:flex;align-items:center;gap:8px;width:100%;padding:11px 11px 11px 19px;text-align:left;color:#c4cddd;font-size:11px;line-height:1.35;border-radius:5px;position:relative;min-height:40px}.scene-item svg{width:13px;height:13px;color:#9baec9;flex-shrink:0}.scene-item small{display:block;font-size:8px;color:#a1b2cc;margin-top:5px}.scene-item.active{color:#f4f7fb;background:#ffffff0d}.scene-item.active:before{content:'';width:2px;background:#b0c5e6;position:absolute;left:1px;top:10px;bottom:10px}.scene-item.dragover{box-shadow:inset 0 2px #c1d0e9}.add-scene{display:flex;align-items:center;gap:7px;font-size:10px;color:#b5c3d9;padding:17px 18px}.add-scene svg{width:14px;height:14px}.outline-bottom{padding:15px 10px;border-top:1px solid #ffffff10;color:#a5b5ce;font-size:9px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 294px;height:calc(100dvh - 62px)}.editor-layout.no-codex{grid-template-columns:1fr}.editor-main{min-width:0;display:flex;flex-direction:column;height:100%;overflow:hidden}.editor-tools{min-height:46px;display:flex;align-items:center;gap:12px;padding:8px 28px;border-bottom:1px solid var(--line);background:var(--bg)}.editor-tools .segment{display:flex;gap:3px;align-items:center}.segment button{font-size:10px;padding:6px 10px;color:var(--muted);border-radius:4px}.segment button.active{background:var(--green-soft);color:var(--green)}.editor-tools select{font-size:10px;border:0;background:none;max-width:120px;color:var(--muted)}.editor-tools .icon-btn{height:26px;width:26px}.editor-tools .icon-btn svg{width:14px;height:14px}.font-size-label{font-size:10px;color:var(--muted);min-width:16px;text-align:center}.writing-scroll{overflow-y:auto;flex:1;min-height:0;padding:34px 34px 80px;scroll-behavior:smooth}.paper{max-width:770px;min-height:calc(100dvh - 230px);margin:0 auto;background:var(--paper);padding:49px 61px 40px;border:1px solid var(--line);border-radius:3px;box-shadow:0 8px 30px #27322503;position:relative}.paper .eyebrow{font-size:8px;margin-bottom:18px;color:var(--faint);letter-spacing:.16em}.scene-title{font-family:var(--sans);font-size:32px;letter-spacing:-.7px;line-height:1.25;width:100%;border:0;background:transparent;padding:0;margin:0 0 25px;outline:none!important;resize:none;font-weight:550}.prose-editor{display:block;resize:none;width:100%;min-height:430px;border:0;padding:0;background:transparent;font-family:var(--serif);font-size:18px;line-height:1.95;color:var(--ink);outline:none!important;overflow:hidden}.prose{font-family:var(--serif);font-size:18px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;min-height:250px}.prose p{margin:0 0 1.1em;line-height:inherit}.prose mark{background:transparent;border-bottom:1px dotted #91a9ce;color:inherit;cursor:pointer;padding:0 1px}.prose mark:hover{background:var(--green-soft)}.paper-end{padding-top:30px;display:flex;align-items:center;gap:8px;color:var(--faint);font-size:9px}.paper-end:before,.paper-end:after{content:'';height:1px;background:var(--line);flex:1}.scene-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:25px;padding-top:15px;border-top:1px solid var(--line);align-items:center}.scene-links .eyebrow{margin:0 5px 0 0;font-size:7px}.entity-pill{display:inline-flex;align-items:center;gap:5px;font-size:9px;background:var(--green-soft);color:var(--green);border-radius:4px;padding:5px 8px}.entity-pill svg{width:11px;height:11px}.editor-status{height:33px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 26px;color:var(--muted);font-size:9px;border-top:1px solid var(--line)}.editor-status .text-btn{font-size:9px}.editor-status svg{width:12px;height:12px}.codex{border-left:1px solid var(--line);height:100%;overflow:auto;background:color-mix(in srgb,var(--paper) 46%,var(--bg));padding:0 20px 25px}.codex-header{position:sticky;top:0;background:var(--bg);z-index:1;height:46px;margin:0 -20px;padding:0 17px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line)}.codex-tab{font-size:10px;padding:15px 0 14px;margin-right:15px;color:var(--muted);border-bottom:2px solid transparent}.codex-tab.active{color:var(--green);border-color:var(--green)}.codex .eyebrow{font-size:8px;margin-top:24px;margin-bottom:13px;letter-spacing:.1em}.character-row{display:flex;gap:10px;align-items:center;text-align:left;width:100%;padding:10px 0;color:var(--ink);border-bottom:1px solid var(--line)}.character-row.active .char-avatar{box-shadow:0 0 0 2px var(--green-soft)}.char-avatar{width:33px;height:36px;background:#d9ddcc;border-radius:7px;display:grid;place-items:center;color:#586d50;font:20px var(--serif);flex-shrink:0}.char-avatar.c1{background:#e5d8c7;color:#a1805c}.char-avatar.c2{background:#d3dedb;color:#60827c}.character-row strong{font-size:12px;font-weight:500;display:block}.character-row small{font-size:9px;color:var(--muted);display:block;margin-top:4px}.character-row>svg{width:13px;height:13px;color:var(--faint);margin-left:auto}.entity-detail{margin-top:23px;border-top:1px solid var(--line);padding-top:20px}.entity-detail h2{font-family:var(--sans);font-size:24px;margin:0 0 5px;font-weight:550}.entity-detail .role{font-size:10px;color:var(--muted);margin-bottom:19px}.facts{display:grid;gap:11px;font-size:10px;margin-bottom:17px}.fact{display:flex;justify-content:space-between;gap:15px}.fact span{color:var(--muted)}.fact strong{font-weight:500;text-align:right}.traits{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:14px}.traits span{font-size:8px;background:var(--soft);padding:5px 7px;border-radius:4px;color:var(--muted)}.entity-detail p{font-size:11px;color:var(--muted);line-height:1.8}.entity-actions{display:flex;gap:7px;margin-top:18px;flex-wrap:wrap}.entity-actions .btn{padding:8px 9px;font-size:9px;min-height:32px}.link-note{font-size:9px;color:var(--muted);line-height:1.7;padding:11px;border:1px solid var(--line);border-radius:5px;margin-top:18px}.note-editor{width:100%;min-height:120px;resize:vertical;background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:12px;font-size:12px;line-height:1.7}.return-note{background:var(--green-soft);border-radius:6px;padding:13px;margin-top:16px}.return-note label{display:block;font-size:10px;color:var(--green);margin-bottom:8px}.return-note textarea{border:0;background:transparent;resize:vertical;width:100%;font-size:11px;line-height:1.7;min-height:68px}.version-row{padding:12px 0;border-bottom:1px solid var(--line);font-size:10px}.version-row strong{display:block;font-weight:500;line-height:1.5}.version-row small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.version-row .text-btn{font-size:9px;margin-top:5px}.focus-mode.app-shell{padding-left:0}.focus-mode .sidebar,.focus-mode .codex{display:none}.focus-mode .editor-layout{grid-template-columns:1fr}.focus-mode .editor-tools{justify-content:center}.focus-mode .paper{border:0;box-shadow:none;background:transparent;max-width:820px}.focus-mode .topbar{background:transparent}.focus-mode .breadcrumb .project-crumb{display:none}
/* Other workspaces */
.page-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:0 0 32px}.page-heading h1{font:38px var(--sans);letter-spacing:-1px;margin:0 0 10px;font-weight:550}.page-heading p{font-size:12px;color:var(--muted);margin:0}.note-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.fragment-card{padding:25px;background:var(--paper);border:1px solid var(--line);border-radius:6px;text-align:left;min-height:190px;transition:transform .2s}.fragment-card:hover{transform:translateY(-3px)}.fragment-card .eyebrow{font-size:8px;margin-bottom:18px}.fragment-card h3{font:22px var(--sans);margin-bottom:13px;line-height:1.3;overflow-wrap:anywhere;font-weight:550}.fragment-card p{font:14px/1.7 var(--serif);color:var(--muted);white-space:pre-wrap;max-height:140px;overflow:hidden;margin:0}.fragment-card footer{font-size:9px;color:var(--faint);margin-top:24px}.entity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.entity-card{padding:24px;border:1px solid var(--line);background:var(--paper);border-radius:7px;min-width:0}.entity-card h2{font:25px var(--sans);margin:17px 0 5px;overflow-wrap:anywhere;font-weight:550}.entity-card p{font-size:11px;color:var(--muted);line-height:1.7}.entity-card .row{font-size:9px;color:var(--muted)}.entity-card .entity-card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding-top:13px;border-top:1px solid var(--line)}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:25px}.stats-card{background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:27px}.stats-card strong{font:40px var(--serif);display:block;color:var(--green);margin-bottom:10px}.stats-card span{font-size:11px;color:var(--muted)}.weekly-chart{display:flex;align-items:flex-end;gap:7%;height:190px;padding:15px 12px 25px;border-bottom:1px solid var(--line);margin-bottom:28px}.weekly-chart .day{flex:1;height:100%;display:flex;align-items:flex-end;position:relative}.weekly-chart .bar{background:var(--green-soft);border:1px solid var(--line);width:100%;min-height:4px;border-radius:4px 4px 0 0;position:relative}.weekly-chart .bar.today{background:#8fa6c8}.weekly-chart .day small{position:absolute;bottom:-24px;font-size:9px;left:0;right:0;text-align:center;color:var(--muted)}.weekly-chart .bar span{position:absolute;top:-19px;left:0;right:0;text-align:center;font-size:9px;color:var(--muted)}.project-progress{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);font-size:12px;gap:18px}.project-progress small{color:var(--muted);font-size:10px}.soft-select{background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:9px 12px;color:var(--muted);font-size:11px;max-width:240px}
/* Dialogs */
.modal-backdrop{position:fixed;inset:0;background:#17251cc2;backdrop-filter:blur(5px);z-index:100;display:flex;align-items:center;justify-content:center;padding:28px;animation:appear .15s ease-out}.modal-card{width:min(570px,100%);max-height:calc(100dvh - 56px);background:var(--bg);border:1px solid var(--line);border-radius:12px;box-shadow:0 30px 100px #0004;display:flex;flex-direction:column;overflow:hidden}.modal-card.wide{width:min(900px,100%)}.modal-card.book-modal{width:min(1040px,100%)}.modal-head{padding:24px 28px 18px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.modal-head h2{font:28px var(--sans);letter-spacing:-.6px;line-height:1.2;margin:0 0 8px;font-weight:550}.modal-head p{font-size:11px;color:var(--muted);margin:0;line-height:1.6}.modal-body{padding:24px 28px;overflow:auto}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:17px 28px;border-top:1px solid var(--line);flex-wrap:wrap}.modal-footer small{font-size:10px;color:var(--muted);margin-right:auto}.field{display:block;margin-bottom:18px}.field>span,.field-label{font-size:10px;color:var(--muted);display:block;margin-bottom:8px}.field input,.field textarea,.field select,.search-input{width:100%;border:1px solid var(--line);background:var(--paper);border-radius:6px;padding:11px 12px;font-size:12px;line-height:1.5}.field textarea{min-height:100px;resize:vertical}.field input[readonly]{background:var(--soft);color:var(--muted)}.field .help{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:7px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.type-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:23px}.type-option{position:relative;display:block;cursor:pointer}.type-option input{position:absolute;opacity:0}.type-option>div{display:flex;flex-direction:column;align-items:flex-start;gap:13px;border:1px solid var(--line);padding:16px;border-radius:7px;background:var(--paper);font-size:11px}.type-option svg{width:21px;height:21px;color:var(--muted)}.type-option input:checked+div{border-color:var(--green);background:var(--green-soft);color:var(--green)}.type-option input:focus-visible+div{outline:2px solid var(--accent)}.type-option input:checked+div svg{color:var(--green)}.cover-options{display:flex;gap:12px;margin-bottom:23px}.cover-option{position:relative;display:block}.cover-option input{position:absolute;opacity:0}.cover-option>span{display:block;width:31px;height:37px;border-radius:3px;background:#52634f;border:3px solid var(--bg);box-shadow:0 0 0 1px transparent;cursor:pointer}.cover-option:nth-child(2)>span{background:#b98b77}.cover-option:nth-child(3)>span{background:#d9c7a3}.cover-option:nth-child(4)>span{background:#73908b}.cover-option input:checked+span{box-shadow:0 0 0 1px var(--green)}.cover-option input:focus-visible+span{outline:2px solid var(--accent)}.search-wrap{position:relative}.search-wrap>svg{position:absolute;top:12px;left:12px;width:17px;height:17px;color:var(--muted)}.search-wrap input{padding-left:39px}.search-results{margin-top:17px;max-height:390px;overflow:auto}.search-result{display:block;text-align:left;padding:15px 2px;border-bottom:1px solid var(--line);width:100%}.search-result strong{display:block;font:18px var(--serif);margin:6px 0}.search-result small{font-size:9px;color:var(--muted)}.search-result p{font-size:11px;color:var(--muted);margin:5px 0 0;line-height:1.65;overflow-wrap:anywhere}.search-result mark,.occurrence mark{background:#dbd7b965;color:inherit;border-radius:2px;padding:0 1px}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:26px}.theme-choice{text-align:center;font-size:10px;color:var(--muted)}.theme-preview{height:78px;border-radius:6px;background:#f6f2e8;border:1px solid #e5e1d5;display:grid;place-content:center;gap:7px;padding:16px;margin-bottom:8px}.theme-preview i{display:block;height:2px;width:60px;background:#8a8d7850}.theme-preview i:first-child{height:6px;background:#596d5a70;width:36px;margin-bottom:4px}.theme-choice.active .theme-preview{outline:2px solid var(--green);outline-offset:3px}.theme-preview.sepia{background:#eaddc3;border-color:#d3c4a7}.theme-preview.night{background:#252e3e;border-color:#3b465a}.theme-preview.night i{background:#c0cee250}.theme-preview.night i:first-child{background:#c0cee290}.ambience-options{display:grid;gap:9px;margin-top:14px}.ambience-option{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:6px;padding:13px;width:100%;text-align:left;background:var(--paper)}.ambience-option>svg{width:20px;height:20px;color:var(--muted)}.ambience-option>span{flex:1;font-size:12px}.ambience-option small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.ambience-option.active{border-color:var(--green);background:var(--green-soft)}.ambience-option .play-icon{width:15px;height:15px;margin-left:auto;color:var(--green)}.volume-row{display:flex;align-items:center;gap:13px;margin-top:20px;font-size:10px;color:var(--muted)}.volume-row input{flex:1;accent-color:var(--green)}.separator{height:1px;background:var(--line);margin:24px 0}.info-box{padding:14px 16px;background:var(--green-soft);color:var(--green);font-size:11px;line-height:1.7;border-radius:6px}.info-box svg{width:15px;height:15px;margin-right:6px}.settings-action{display:flex;gap:16px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.settings-action>div{flex:1}.settings-action strong{font-size:12px;font-weight:500;display:block;margin-bottom:5px}.settings-action p{font-size:10px;color:var(--muted);margin:0;line-height:1.65}.settings-action>.btn{font-size:10px}.capture-text{font-family:var(--serif)!important;font-size:19px!important;line-height:1.75!important;min-height:220px!important}.rename-line{display:grid;grid-template-columns:1fr 24px 1fr;gap:12px;align-items:center}.rename-line .field{margin-bottom:0}.rename-line>svg{margin-top:16px;color:var(--muted)}.audit-summary{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:17px 0;margin-top:15px;color:var(--muted);font-size:11px}.audit-summary strong{font-size:20px;color:var(--green);font-family:var(--serif);font-weight:400}.occurrences{display:grid;gap:10px;margin-top:12px}.occurrence{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);background:var(--paper);padding:16px;border-radius:6px;cursor:pointer}.occurrence input{margin-top:4px;accent-color:var(--green);flex-shrink:0}.occurrence>span{flex:1;min-width:0}.occurrence small{font-size:9px;color:var(--muted);display:block;margin-bottom:9px}.occurrence p{font-family:var(--serif);font-size:15px;line-height:1.7;margin:0;overflow-wrap:anywhere}.refactor-table{width:100%;font-size:10px;border-collapse:collapse;margin:10px 0 20px}.refactor-table td,.refactor-table th{text-align:left;font-weight:400;padding:9px;border-bottom:1px solid var(--line)}.refactor-table th{color:var(--muted);font-size:9px}.refactor-table td:last-child,.refactor-table th:last-child{text-align:right}.select-all{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px}.select-all input{accent-color:var(--green)}.warning-text{font-size:10px;color:#ac7650;line-height:1.7;margin-top:15px}.book-preview{background:var(--soft);padding:28px;overflow:auto;min-height:250px}.book-page{width:min(510px,100%);background:#fffdf7;color:#34372b;box-shadow:3px 6px 19px #25302515;margin:0 auto 28px;padding:50px 53px;min-height:650px;font-family:var(--serif);overflow-wrap:anywhere}.book-page .book-running{font-size:8px;text-align:center;letter-spacing:.15em;color:#858878;text-transform:uppercase;margin-bottom:45px}.book-page h2{font-size:25px;text-align:center;margin:20px 0 35px}.book-page p{font-size:14px;line-height:1.9;text-align:justify;white-space:pre-wrap;margin:0 0 17px}.book-page.roman p.first:first-letter{float:left;font-size:48px;line-height:.9;padding:6px 6px 0 0}.book-page.poesie p{white-space:pre-wrap;text-align:left;line-height:2.1;margin-bottom:24px}.book-page.manuscrit{font-family:'Courier New',monospace}.book-page.manuscrit p{font-size:12px;line-height:2}.book-cover-page{display:grid;place-content:center;text-align:center}.book-cover-page h1{font:40px/1.2 var(--serif);margin:20px 0}.book-cover-page small{font-size:9px;text-transform:uppercase;letter-spacing:.18em;color:#8b8c79}.book-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.book-toolbar select{font-size:10px;background:var(--paper);border:1px solid var(--line);padding:8px;border-radius:5px;color:var(--muted)}.book-toolbar .btn{font-size:10px}.book-modal .modal-body{padding:0}.book-modal .modal-head{padding:19px 24px}.book-modal .modal-head h2{font-size:24px}.about-title{text-align:center;padding:15px 0 20px}.about-title .brand-name{display:block;margin-bottom:8px;font-size:42px}.about-title p{font-size:12px;color:var(--muted)}.about-list{display:grid;gap:13px;margin:20px 0}.about-list div{display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.65;color:var(--muted)}.about-list svg{color:var(--green);width:16px;height:16px}.shortcut{font-size:9px;border:1px solid var(--line);border-radius:4px;padding:3px 5px;color:var(--faint);margin-left:auto}.modal-card .empty-state{border:0;padding:32px 15px}#toast{position:fixed;bottom:27px;left:calc(50% + 90px);transform:translate(-50%,15px);background:var(--side);color:#f0eedb;border:1px solid #ffffff15;border-radius:7px;font-size:12px;padding:13px 21px;z-index:300;opacity:0;pointer-events:none;transition:transform .2s,opacity .2s;box-shadow:0 10px 30px #0002;max-width:90vw;line-height:1.5}#toast.show{opacity:1;transform:translate(-50%,0)}.mobile-backdrop{display:none}#print-root{display:none}.error-banner{background:#f8e9d7;color:#805431;padding:12px 25px;font-size:12px;line-height:1.6;border-bottom:1px solid #dec19b}.fatal{max-width:520px;margin:100px auto;padding:35px}.fatal h1{font:34px var(--sans);font-weight:550}.fatal p{color:var(--muted)}
/* Small screens retain the page, the rest becomes optional. */
@media(min-width:1600px){:root{--side-width:252px}.workspace{padding:50px 64px}.welcome{padding-bottom:40px}.welcome h1{font-size:50px}.cover-stage{height:246px}.book-cover{height:198px;width:140px}.cover-title{font-size:21px;top:32px}.project-more{top:255px}.library-bottom{margin-top:40px}}
@media(max-width:1250px){:root{--side-width:214px}.workspace{padding:33px 30px 24px}.topbar{padding:0 30px}.welcome h1{font-size:37px}.welcome{grid-template-columns:1fr 170px}.desk-art{width:170px}.project-grid{gap:15px}.cover-stage{height:185px}.book-cover{height:151px;width:105px}.cover-title{font-size:15px;left:12px;right:10px;top:22px}.project-more{top:195px}.project-card-title{font-size:16px}.project-footer{font-size:8px}.library-bottom{gap:15px}.quiet-card{padding:16px}.editor-layout{grid-template-columns:minmax(0,1fr) 260px}.paper{padding:42px 38px}.writing-scroll{padding:25px 20px 60px}.codex{padding-inline:16px}.codex-header{margin-inline:-16px;padding-inline:14px}.editor-tools{padding-inline:20px}.editor-shell .save-state{display:none}.entity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1030px){:root{--side-width:205px}.workspace{padding:30px 26px 24px}.welcome{grid-template-columns:1fr}.desk-art{display:none}.welcome h1{font-size:39px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 19px}.cover-stage{height:214px}.book-cover{height:178px;width:126px}.cover-title{font-size:18px;top:28px;left:18px;right:14px}.project-more{top:223px}.library-bottom{grid-template-columns:1fr 1fr}.quiet-audio{grid-column:1/-1;display:none}.continue-card{padding:20px}.continue-card h2{font-size:19px}.topbar .save-state{display:none}.sidebar{padding-inline:14px}.editor-layout{grid-template-columns:minmax(0,1fr)}.codex{position:fixed;top:62px;right:0;bottom:0;width:300px;height:calc(100dvh - 62px);z-index:35;box-shadow:-15px 0 50px #0002;background:var(--bg)}.editor-layout.no-codex .codex{display:none}.editor-shell .topbar{padding:0 16px}.editor-shell .top-actions{gap:4px}.editor-tools{padding-inline:15px;gap:8px}.editor-shell .breadcrumb{font-size:9px;gap:6px}.editor-shell .breadcrumb .project-crumb{max-width:115px}.editor-shell .top-actions .btn{font-size:0;padding:9px}.editor-shell .top-actions .btn svg{width:17px;height:17px}.note-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{gap:14px}.stats-card{padding:22px}.stats-card strong{font-size:34px}}
@media(max-width:760px){:root{--side-width:0px}.app-shell{padding-left:0}.sidebar{width:238px;transform:translateX(-100%);transition:transform .2s;padding-top:26px}.sidebar.open{transform:translateX(0)}.mobile-backdrop.open{display:block;position:fixed;inset:0;background:#16251c77;z-index:39;backdrop-filter:blur(2px)}.mobile-menu{display:inline-flex}.topbar{height:60px;padding:0 19px}.top-actions{gap:6px}.topbar .breadcrumb{gap:9px}.topbar .save-state{display:flex;font-size:8px}.top-divider{display:none}.workspace{padding:31px 23px 23px}.welcome{padding-bottom:25px;gap:0}.welcome .eyebrow{font-size:8px;margin-bottom:15px}.welcome h1{font-size:38px;letter-spacing:-1.2px}.welcome p{font-size:11px;max-width:280px;line-height:1.8}.welcome-actions .btn{font-size:11px}.continue-card{padding:18px 17px;gap:12px;grid-template-columns:1fr auto}.continue-content{gap:12px}.continue-mark{width:32px;height:42px}.continue-card .eyebrow{font-size:7px}.continue-card h2{font-size:17px}.continue-card p{font-size:9px;line-height:1.7;max-width:180px}.continue-card .btn{font-size:0;padding:10px;min-height:34px}.continue-card .btn svg{width:17px;height:17px}.section-head{margin-top:28px;margin-bottom:20px}.section-head h2{font-size:24px}.filter-row{gap:20px;overflow:auto;white-space:nowrap}.filter{font-size:10px}.project-grid{gap:24px 16px}.cover-stage{height:203px}.book-cover{height:168px;width:118px}.cover-title{font-size:17px}.project-card-title{font-size:17px}.project-type{font-size:9px}.project-footer{font-size:8px;flex-wrap:wrap;gap:4px}.project-more{top:213px}.library-bottom{grid-template-columns:1fr;margin-top:29px;gap:14px}.quiet-card{padding:20px}.quiet-audio{display:block;grid-column:auto}.quiet-card .eyebrow{font-size:9px}.quiet-card .note{font-size:11px}.workspace-footer{font-size:8px;align-items:flex-start;line-height:1.6}.workspace-footer span:last-child{max-width:130px;text-align:right}.topbar .icon-btn{width:30px;height:30px}.topbar .icon-btn svg{width:17px;height:17px}.editor-shell .topbar{height:58px}.editor-shell .breadcrumb span.scene-crumb{max-width:120px}.editor-shell .breadcrumb .project-crumb{display:none}.editor-layout{height:calc(100dvh - 58px)}.writing-scroll{padding:17px 12px 50px}.paper{padding:32px 24px;border-radius:4px;min-height:calc(100dvh - 200px)}.scene-title{font-size:30px;margin-bottom:24px}.prose,.prose-editor{font-size:17px;line-height:1.95}.editor-tools{padding:7px 14px;gap:5px;min-height:44px}.editor-tools .segment button{padding:5px 8px}.editor-tools select{max-width:78px;font-size:9px}.editor-tools .toolbar-label{display:none}.codex{top:58px;height:calc(100dvh - 58px);width:min(320px,92vw)}.editor-status{padding:0 16px;font-size:8px}.editor-status .hide-mobile{display:none}.focus-mode .topbar .breadcrumb strong{display:none}.modal-backdrop{padding:12px}.modal-card{max-height:calc(100dvh - 24px);border-radius:10px}.modal-head{padding:22px 21px 18px}.modal-head h2{font-size:26px}.modal-body{padding:21px}.modal-footer{padding:16px 21px;gap:7px}.modal-footer .btn{font-size:10px}.modal-footer small{font-size:9px;flex-basis:100%;margin-bottom:5px}.type-grid{gap:8px}.type-option>div{padding:12px;font-size:10px}.two-fields{gap:12px}.rename-line{gap:6px;grid-template-columns:1fr 18px 1fr}.rename-line input{font-size:11px;padding-inline:8px}.audit-summary{gap:12px;font-size:10px}.occurrence{padding:13px;gap:9px}.occurrence p{font-size:14px}.refactor-table td{padding:8px 4px}.refactor-table th{padding:8px 4px}.refactor-table td:first-child{max-width:190px}.page-heading h1{font-size:32px}.page-heading{gap:10px;align-items:flex-start}.page-heading .btn{font-size:10px;padding:9px 10px}.page-heading .btn svg{width:14px;height:14px}.page-heading p{font-size:11px}.note-grid{grid-template-columns:1fr 1fr;gap:14px}.fragment-card{padding:19px}.fragment-card h3{font-size:20px}.fragment-card p{font-size:13px}.entity-grid{grid-template-columns:1fr;gap:14px}.stats-grid{gap:10px}.stats-card{padding:16px 12px}.stats-card strong{font-size:29px}.stats-card span{font-size:9px}.book-modal .modal-head{padding:16px;flex-wrap:wrap;gap:12px}.book-toolbar{width:100%;gap:6px}.book-toolbar .icon-btn{position:absolute;right:23px;top:23px}.book-preview{padding:16px}.book-page{padding:35px 27px;min-height:550px}.book-page p{font-size:12px}.book-page h2{font-size:23px}.book-cover-page h1{font-size:33px}.project-grid.list .project-card{padding-bottom:10px}.soft-select{max-width:160px;font-size:10px}#toast{left:50%;bottom:20px;font-size:11px;width:max-content;max-width:90vw}}
@media(max-width:380px){.workspace{padding-inline:18px}.welcome h1{font-size:34px}.cover-stage{height:178px}.book-cover{height:147px;width:104px}.cover-title{font-size:15px;top:24px;left:14px;right:11px}.project-more{top:189px}.project-card-title{font-size:15px}.topbar .save-state{display:none}.note-grid{grid-template-columns:1fr}.type-grid{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{@page{size:A5;margin:17mm 15mm 18mm}html,body{background:#fff!important;color:#222!important;font-family:Georgia,serif;font-size:11pt}#app,#modal-root,#toast,.skip-link,noscript{display:none!important}#print-root{display:block!important}.print-cover{break-after:page;min-height:140mm;text-align:center;display:grid;place-content:center}.print-cover h1{font-size:30pt;font-weight:400;line-height:1.2;margin:20mm 0 8mm}.print-cover p{font-size:9pt;letter-spacing:.1em}.print-chapter{break-before:page}.print-chapter h2{font-weight:400;font-size:20pt;text-align:center;margin:15mm 0 12mm}.print-chapter p{line-height:1.65;text-align:justify;white-space:pre-wrap;orphans:3;widows:3;margin:0 0 4mm;overflow-wrap:anywhere}.print-chapter.poesie p{text-align:left;line-height:2}.print-chapter.manuscrit{font-family:'Courier New',monospace;font-size:10pt}.print-chapter.manuscrit p{line-height:2}.print-chapter.roman p:first-of-type:first-letter{float:left;font-size:32pt;line-height:.9;margin-right:2mm}.print-part{font-size:8pt;text-transform:uppercase;letter-spacing:.1em;text-align:center;color:#888}}

.outline-hidden.app-shell{padding-left:0}.outline-hidden .sidebar{transform:translateX(-100%)}
@media(max-width:760px){.editor-shell .breadcrumb .scene-crumb{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outline-hidden .sidebar.open{transform:translateX(0)}}

/* Neutral graphite navigation and clear, modern interface typography. */
.brand-tag{font-size:8px;line-height:1.55;letter-spacing:.11em}.sidebar{color:#e7ebf2}.side-item{font-size:12px}.outline-title h2{line-height:1.35;letter-spacing:-.3px}.outline-title .eyebrow{font-size:9px;letter-spacing:.1em}.scene-item{font-size:12px;line-height:1.4}.scene-item small{font-size:9px}.part-label{font-size:11px}.side-bottom{padding-top:18px}.profile .avatar{font-family:var(--sans);font-weight:600}.brand>svg{color:#b9cbe5}.side-item.active{background:#ffffff0e;box-shadow:inset 2px 0 #b5c9e9}.scene-item.active{background:#ffffff0e}.welcome h1 em{font-style:normal;font-weight:550}
.project-title-trigger{display:flex;align-items:flex-start;gap:8px;width:100%;padding:0;text-align:left;font:inherit;letter-spacing:inherit;line-height:inherit;color:inherit;border-radius:4px}.project-title-trigger span{flex:1;min-width:0;overflow-wrap:anywhere}.project-title-trigger svg{height:13px;width:13px;margin-top:6px;color:#b3c5e0;opacity:.5;transition:opacity .15s}.project-title-trigger:hover svg,.project-title-trigger:focus-visible svg{opacity:1}.project-title-trigger:hover{color:#fff}.project-title-input{display:block;resize:none;background:#ffffff09;color:#f0f3f8;border:1px solid #aabedc80;border-radius:5px;font:inherit;letter-spacing:inherit;line-height:inherit;padding:5px 7px;margin:-6px -8px;width:calc(100% + 16px);outline:0;overflow:hidden;min-height:34px}.project-title-input:focus{border-color:#c3d3ed;outline:2px solid #8faad035;outline-offset:2px}.project-title-hint{font-size:9px;color:var(--side-muted);line-height:1.5;margin-top:9px}.project-title-trigger:disabled{opacity:1;cursor:default}

/* Additional writing atmospheres, with a fully light navigation in pure white. */
:root{--side-title:#f0f3f8;--side-text:#c4cddd;--side-line:#ffffff14;--side-icon:#a2b5cf;--side-active:#ffffff0f;--side-hover:#ffffff08;--side-marker:#b5c9e9;--side-avatar:#c5d1e2;--side-avatar-ink:#252a32;--side-input:#ffffff09}
html[data-theme=white]{--bg:#fff;--paper:#fff;--soft:#f2f4f7;--ink:#253044;--muted:#6b778b;--faint:#8c98ab;--line:#e4e8ef;--green:#5b7195;--green-dark:#405676;--green-soft:#edf1f8;--accent:#7e96bc;--side:#f7f8fb;--side-title:#253044;--side-text:#4d5b71;--side-muted:#738199;--side-line:#dfe5ef;--side-icon:#7488a7;--side-active:#e8eef7;--side-hover:#edf1f7;--side-marker:#8099bd;--side-avatar:#dce5f2;--side-avatar-ink:#405676;--side-input:#fff;color-scheme:light}
html[data-theme=mist]{--bg:#edf2f8;--paper:#fbfdff;--soft:#e1e9f3;--ink:#2a3851;--muted:#6d7e98;--faint:#8c9db6;--line:#d7e1ee;--green:#617fa7;--green-dark:#3d587e;--green-soft:#dfe9f5;--accent:#8aa7cd;--side:#27344a;color-scheme:light}
html[data-theme=rose]{--bg:#f8f2f3;--paper:#fffcfc;--soft:#f0e5e9;--ink:#45343c;--muted:#8a747f;--faint:#ae98a4;--line:#eadfe4;--green:#8d687a;--green-dark:#674b5b;--green-soft:#f0e4e9;--accent:#aa7d94;--side:#352a33;color-scheme:light}
.sidebar{border-right:1px solid var(--side-line)}
.sidebar .brand,.sidebar .brand>svg,.sidebar .outline-title h2,.sidebar .profile strong,.sidebar .side-ambience strong,.sidebar .project-title-trigger:hover{color:var(--side-title)}
.sidebar .side-item,.sidebar .mini-project,.sidebar .scene-item,.sidebar .back-library,.sidebar .add-scene,.sidebar .side-ambience{color:var(--side-text)}
.sidebar .brand-tag,.sidebar .side-label,.sidebar .side-item .count,.sidebar .part-label,.sidebar .scene-item small,.sidebar .outline-title small,.sidebar .outline-title .eyebrow,.sidebar .outline-bottom,.sidebar .side-ambience small,.sidebar .profile small,.sidebar .side-about{color:var(--side-muted)}
.sidebar .side-item svg,.sidebar .scene-item svg,.sidebar .side-label button,.sidebar .profile svg,.sidebar .project-title-trigger svg{color:var(--side-icon)}
.sidebar .side-item.active,.sidebar .scene-item.active{background:var(--side-active);color:var(--side-title)}
.sidebar .side-item.active{box-shadow:inset 2px 0 var(--side-marker)}.sidebar .scene-item.active:before{background:var(--side-marker)}
.sidebar .side-item:hover,.sidebar .scene-item:hover,.sidebar .side-ambience:hover{background:var(--side-hover);color:var(--side-title)}
.sidebar .side-section,.sidebar .outline-title,.sidebar .outline-bottom,.sidebar .side-about,.sidebar .side-ambience{border-color:var(--side-line)}
.sidebar .avatar{background:var(--side-avatar);color:var(--side-avatar-ink)}.sidebar .sound-bars i{background:var(--side-icon)}
.sidebar .project-title-input{background:var(--side-input);color:var(--side-title);border-color:var(--side-marker)}
.theme-preview.cream{background:#f5f4f1;border-color:#e2e3e5}.theme-preview.white{background:#fff;border-color:#e4e8ef}.theme-preview.mist{background:#e7eff9;border-color:#cddced}.theme-preview.rose{background:#f5e8ef;border-color:#e5cdda}.theme-preview.night{background:#252a33;border-color:#414b5c}
.editor-tools #font-select{max-width:145px}
.codex-work{margin:20px 0 4px;padding:13px;background:var(--soft);border:1px solid var(--line);border-radius:6px}
.codex-work>div{display:flex;gap:9px;align-items:flex-start;margin-bottom:14px}.codex-work>div>svg{width:16px;height:16px;margin-top:3px;color:var(--green)}
.codex-work small{display:block;font-size:8px;color:var(--muted);margin-bottom:5px}.codex-work strong{display:block;font-size:12px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}
.codex-work label{display:block;font-size:8px;color:var(--muted);margin:0 0 7px}.codex-work select{width:100%;padding:8px;background:var(--paper);border:1px solid var(--line);border-radius:4px;font-size:10px;color:var(--ink)}
.codex-list-label{display:flex;justify-content:space-between;gap:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-size:8px;padding:16px 0 5px}.codex-list-label span{letter-spacing:0}
.codex-project-group{margin-top:30px;padding-bottom:28px;border-bottom:1px solid var(--line)}
.codex-project-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.codex-project-heading>div{display:flex;gap:14px;align-items:center}.codex-project-heading>div>svg{width:21px;height:21px;color:var(--green)}
.codex-project-heading h2{font:550 23px/1.3 var(--sans);letter-spacing:-.4px;margin:0 0 6px}.codex-project-heading small{font-size:10px;color:var(--muted)}.codex-project-heading .text-btn{font-size:10px;white-space:nowrap}.codex-kind-label{margin:22px 0 14px}
@media(max-width:760px){.editor-tools #font-select{max-width:85px}.codex-project-heading h2{font-size:19px}.codex-project-heading small{font-size:9px}.codex-project-heading .text-btn{font-size:9px}.codex-project-heading{gap:10px}.codex-project-heading>div{gap:9px}}

/* Paginéo: a quiet stone navigation with generous, readable labels. */
:root{--side:#ecebe5;--side-title:#343b39;--side-text:#5e6863;--side-muted:#748078;--side-line:#d5d9d2;--side-icon:#819087;--side-active:#ffffff9c;--side-hover:#ffffff64;--side-marker:#93a69b;--side-avatar:#d6dfd7;--side-avatar-ink:#4a5c50;--side-input:#fffefa}
html[data-theme=sepia]{--side:#e7dfd0;--side-title:#4d4438;--side-text:#746858;--side-muted:#8b7c67;--side-line:#d3c7b3;--side-icon:#99886d;--side-active:#fff9eb9e;--side-hover:#fff9eb64;--side-marker:#b19a76;--side-avatar:#dbccb1;--side-avatar-ink:#64533a;--side-input:#fbf3e1}
html[data-theme=mist]{--side:#dfe7ee;--side-title:#364859;--side-text:#5a6f83;--side-muted:#6b8197;--side-line:#c9d6e2;--side-icon:#7a92aa;--side-active:#f7fbffad;--side-hover:#f7fbff64;--side-marker:#8aa5bd;--side-avatar:#c7d8e8;--side-avatar-ink:#3e5b76;--side-input:#f8fbff}
html[data-theme=rose]{--side:#eedfe6;--side-title:#55414c;--side-text:#7e6574;--side-muted:#907789;--side-line:#ddc9d4;--side-icon:#aa879c;--side-active:#fff9fc9e;--side-hover:#fff9fc64;--side-marker:#b593a7;--side-avatar:#e3cbd8;--side-avatar-ink:#785567;--side-input:#fff9fc}
html[data-theme=night]{--side:#242b31;--side-title:#e4eaf0;--side-text:#bcc8d1;--side-muted:#99aab8;--side-line:#3d4850;--side-icon:#a0b4c1;--side-active:#ffffff0b;--side-hover:#ffffff06;--side-marker:#9bafbb;--side-avatar:#4e606c;--side-avatar-ink:#e6edf1;--side-input:#303a42}
.brand{padding-bottom:24px}.brand-name{font-size:29px;letter-spacing:-1px}.brand-tag{font-size:9px;letter-spacing:.07em;line-height:1.5}.side-item{font-size:13px;padding-block:12px}.side-label{font-size:11px;letter-spacing:.06em;font-weight:550}.mini-project{font-size:12px;line-height:1.5}.sidebar:not(.editor-sidebar) .side-section{flex:1;min-height:54px;overflow:auto;margin-top:20px;padding-top:18px}.side-bottom{flex-shrink:0;padding-top:12px}.side-ambience{padding:11px 12px;margin-bottom:12px}.side-ambience strong{font-size:12px}.side-ambience small{font-size:10px}.profile strong{font-size:12px}.profile small{font-size:10px}.profile{padding-bottom:9px}.side-about{font-size:10px}.back-library{font-size:11px;margin-bottom:15px}.outline-title{padding-bottom:14px;margin-bottom:10px}.outline-title h2{font-size:21px;line-height:1.3}.outline-title .eyebrow{font-size:10px}.outline-title small{font-size:11px}.part-label{font-size:12px;padding-top:8px;margin-top:7px}.scene-item{font-size:13px;line-height:1.4}.scene-item small{font-size:10px}.add-scene{font-size:11px}.outline-bottom{font-size:10px;line-height:1.5;padding-block:12px}
.editor-tools{overflow-x:auto;scrollbar-width:thin}.editor-tools>*{flex-shrink:0}.font-size-control{display:flex;align-items:center;gap:3px;color:var(--muted);font-size:9px}.font-size-control input{width:39px;border:1px solid var(--line);border-radius:4px;background:var(--paper);padding:5px 2px 5px 6px;color:var(--ink);font-size:11px;appearance:textfield}.font-size-control input::-webkit-inner-spin-button{appearance:none}.font-size-field{display:flex;align-items:center;gap:8px}.font-size-field input{min-width:0;flex:1}.font-size-field>span{flex:0 0 auto;pointer-events:none;color:var(--muted);font-size:14px}
.preferences-section{padding-bottom:22px;margin-bottom:20px;border-bottom:1px solid var(--line)}.settings-section-heading{display:flex;align-items:center;gap:9px;margin-bottom:17px;color:var(--green)}.settings-section-heading>svg{width:16px;height:16px}.settings-section-heading h3{font:550 16px/1.4 var(--sans);letter-spacing:-.2px;margin:0;color:var(--ink)}.font-preview{border:1px solid var(--line);padding:18px;border-radius:6px;line-height:1.65;background:var(--paper);overflow-wrap:anywhere}.language-field{margin:22px 0 0}.studio-context{margin-bottom:21px}.studio-context h3{font:550 25px/1.3 var(--sans);letter-spacing:-.4px;margin:11px 0 5px}.studio-context p{color:var(--muted);font-size:11px;margin:0}.studio-tabs{display:flex;gap:24px;margin-bottom:22px;border-bottom:1px solid var(--line)}.studio-tabs button{font-size:12px;padding:0 0 12px;color:var(--muted);border-bottom:2px solid transparent}.studio-tabs button.active{border-bottom-color:var(--green);color:var(--green)}.entity-visuals{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.entity-visuals .eyebrow{margin:0}.entity-visual-cover{display:block;position:relative;width:100%;height:175px;margin-top:13px;padding:0;overflow:hidden;border-radius:6px;background:var(--soft)}.codex-image{display:block;width:100%;height:100%;object-fit:cover;background:var(--soft)}.entity-visual-cover>span{position:absolute;bottom:9px;right:9px;background:#ffffffed;color:#536357;border-radius:4px;padding:5px 8px;display:flex;gap:5px;align-items:center;font-size:10px}.entity-visual-cover>span>svg{width:12px;height:12px}.card-visual{height:150px;border-radius:6px;margin-top:16px}.visual-empty{padding:20px 12px;background:var(--soft);border-radius:6px;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:10px;margin-top:13px;font-size:10px;text-align:center}.visual-empty>svg{width:21px;height:21px;color:var(--faint)}.visual-empty.large{min-height:210px;display:flex;flex-direction:column;padding:34px 25px;gap:13px;background:var(--paper);border:1px dashed var(--line)}.visual-empty.large>svg{height:35px;width:35px}.visual-empty.large h3{font:22px/1.4 var(--serif);margin:0;color:var(--ink)}.visual-empty.large p{font-size:12px;max-width:380px;line-height:1.7;margin:0}.visual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.visual-item{margin:0;overflow:hidden;border-radius:7px;border:1px solid var(--line);background:var(--paper)}.visual-item>.codex-image{height:250px;object-fit:contain}.visual-item figcaption{padding:10px 12px;display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.visual-item figcaption .icon-btn:first-of-type{margin-left:auto}.visual-item figcaption .icon-btn{width:25px;height:25px;flex-shrink:0}.visual-item figcaption .icon-btn>svg{width:13px;height:13px}.check-line{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);line-height:1.6}.check-line input{accent-color:var(--green)}.prompt-output{min-height:260px!important;line-height:1.8!important;font-size:12px!important}.search-options{display:flex;gap:23px;flex-wrap:wrap}.replacement-example{font-size:12px!important;color:var(--green);margin-top:7px!important}.translation-method{padding:20px 0;border-top:1px solid var(--line)}.translation-method p{font-size:12px;color:var(--muted);line-height:1.8}.translation-method>small{display:block;margin-top:13px;font-size:10px;color:var(--muted);line-height:1.6}.translation-support{font-size:11px;line-height:1.8;background:var(--green-soft);color:var(--green);padding:13px;border-radius:6px;margin-bottom:16px}#translation-progress{font-size:11px;line-height:1.8;color:var(--green);margin-bottom:12px}
@media(max-width:760px){.visual-grid{gap:12px}.visual-item>.codex-image{height:180px}.visual-item figcaption{padding:8px;font-size:10px;gap:3px}.search-options{gap:12px}.studio-tabs button{font-size:11px}.visual-item figcaption .icon-btn{width:23px;height:23px}.brand-name{font-size:28px}.settings-section-heading h3{font-size:15px}}

/* A conversation with the work, with its evidence kept close. */
.story-scope{display:flex;align-items:center;gap:14px;padding:16px;background:var(--soft);border:1px solid var(--line);border-radius:9px;margin-bottom:24px}.story-scope>svg{width:25px;height:25px;color:var(--green);flex-shrink:0}.story-scope>div{flex:1;min-width:0}.story-scope strong{display:block;font-size:15px;font-weight:500;overflow-wrap:anywhere}.story-scope span:not(.tag){display:block;color:var(--muted);font-size:11px;margin-top:5px}.story-examples{display:flex;gap:8px;flex-wrap:wrap;margin:-5px 0 18px}.story-examples .btn{font-size:11px}.story-controls{display:flex;gap:10px;flex-wrap:wrap}.story-method{border-left:2px solid var(--line);padding-left:12px;line-height:1.7;margin:15px 0}.story-answer{border-top:1px solid var(--line);margin-top:27px;padding-top:23px}.story-answer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.story-answer h3{font-size:18px;line-height:1.5;margin:14px 0}.story-answer-text{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.story-sources details{border:1px solid var(--line);border-radius:7px;margin:12px 0;padding:12px 15px}.story-sources summary{cursor:pointer;line-height:1.7;font-size:12px;font-weight:500}.story-sources summary small{font-size:10px;color:var(--muted);margin-left:8px;font-weight:400}.source-id{color:var(--green);background:var(--green-soft);border-radius:4px;font-size:10px;padding:3px 6px;margin-right:8px}.story-sources blockquote{font-family:var(--serif);font-size:15px;line-height:1.8;white-space:pre-wrap;margin:16px 0 12px;padding:0 0 0 14px;border-left:2px solid var(--line);overflow-wrap:anywhere}#story-progress{font-size:12px;color:var(--green);line-height:1.7;margin-top:15px}@media(max-width:550px){.story-scope{flex-wrap:wrap}.story-scope .tag{margin-left:39px}.story-controls .btn{width:100%;justify-content:center}.story-sources details{padding:10px}}

/* Paginéo 0.04 — readable controls, quiet surfaces, clear destinations. */
@font-face{font-family:'Pagineo Sans';src:url('./fonts/source-sans-3.woff') format('woff');font-style:normal;font-weight:200 900;font-display:swap}
:root{--sans:'Pagineo Sans','Segoe UI',system-ui,sans-serif}
html,body{font-size:16px;font-synthesis:none;text-rendering:optimizeLegibility}button,input,select,textarea{font-family:var(--sans)}
.btn{font-size:15px;min-height:44px;padding:10px 16px}.btn.small{font-size:14px;min-height:40px}.text-btn{font-size:14px;min-height:40px}.icon-btn{width:40px;height:40px}.eyebrow{font-size:11px;letter-spacing:.1em}.muted,.help{line-height:1.65}.help{font-size:13px;color:var(--muted)}
.brand-name{font-weight:600;letter-spacing:-.9px}.side-item{font-size:15px;min-height:46px}.side-label{font-size:12px;letter-spacing:.05em}.mini-project{font-size:14px;min-height:40px}.side-bottom{padding-top:8px}.side-ambience{margin-bottom:8px}.side-guide{display:flex;align-items:center;gap:10px;padding:10px 12px;font-size:14px;line-height:1.4;color:var(--side-title);border-radius:6px;min-height:42px}.side-guide:hover{background:var(--side-hover)}.side-guide>svg{width:17px;height:17px;color:var(--side-icon)}.side-guide>svg:last-child{margin-left:auto;width:14px}.side-about{font-size:12px;min-height:36px}.profile strong{font-size:14px}.profile small{font-size:12px}.back-library{font-size:14px;min-height:42px}.scene-item{font-size:15px;min-height:48px}.scene-item small{font-size:12px}.part-label{font-size:13px}.outline-title small{font-size:13px}.outline-bottom{font-size:12px}.add-scene{font-size:14px;min-height:42px}.side-ambience strong{font-size:13px}.side-ambience small{font-size:12px}
.breadcrumb{font-size:14px}.save-state{font-size:12px}.welcome h1{font-size:40px;line-height:1.16;font-weight:550;letter-spacing:-1px}.welcome p{font-size:16px;line-height:1.65;max-width:440px}.welcome .eyebrow{font-size:11px}.continue-card .eyebrow{font-size:10px}.continue-card h2{font-size:24px}.continue-card p{font-size:14px}.section-head-right{font-size:14px}.section-head h2{font-size:26px}.filter{font-size:14px;min-height:42px}.filter .num{font-size:12px}.project-card-title{font-size:20px}.project-type{font-size:13px}.project-footer{font-size:12px}.project-footer span:last-child{display:none}.project-more{width:40px;height:38px}.workspace-footer{font-size:12px}.library-inspiration{margin:32px 0 15px;border-top:1px solid var(--line);padding-top:18px}.library-inspiration>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-size:15px;color:var(--muted);min-height:44px}.library-inspiration>summary::-webkit-details-marker{display:none}.library-inspiration>summary svg{width:16px}.library-inspiration[open]>summary svg{transform:rotate(90deg)}.library-inspiration .library-bottom{margin-top:16px}
.cover-stage[class]{background:var(--cover-stage,#eaece3)}.book-cover[class]{background:var(--cover,#52634f);color:var(--cover-ink,#f4edd7)}.mini-cover[class]{background:var(--cover,#52634f)}.cover-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-width:400px}.cover-option{width:auto;height:54px;position:relative;cursor:pointer}.cover-options .cover-option>span{width:100%;height:100%;display:block;border-radius:3px 7px 7px 3px;background:var(--cover);box-shadow:inset 5px 0 #00000018,inset 6px 0 #ffffff18;border:1px solid #0000000a}.cover-option input:focus-visible+span{outline:2px solid var(--accent);outline-offset:4px}.cover-option input:checked+span{outline:2px solid var(--accent);outline-offset:4px}.cover-label{font-size:13px;color:var(--muted);margin:13px 0 0}
.modal-head h2{font-size:28px;line-height:1.2}.modal-head p{font-size:15px;line-height:1.55}.modal-head,.modal-footer{flex-shrink:0}.modal-body{overscroll-behavior:contain}.field>span,.field-label{font-size:14px}.field input,.field textarea,.field select,.search-input{font-size:16px;padding:12px 14px}.field .help{font-size:13px}.type-option>div{font-size:15px;min-height:92px;padding:16px}.modal-footer small{font-size:13px}.two-fields{gap:16px}.soft-select{font-size:14px;min-height:42px}.settings-action strong{font-size:16px}.settings-action p{font-size:14px}.font-preview{line-height:1.6}.settings-section-heading h3{font-size:19px}.backup-settings{padding:22px 0;border-block:1px solid var(--line)}.backup-settings h3{font-size:18px;font-weight:550;margin:0 0 7px}.backup-settings p{font-size:14px;color:var(--muted);margin:0 0 14px}.settings-more{border-bottom:1px solid var(--line)}.settings-more>summary{font-size:15px;cursor:pointer;min-height:52px;padding:16px 0}.settings-guide{display:flex;align-items:center;gap:12px;margin-top:20px;padding:16px;background:var(--soft);border-radius:8px;font-size:14px}.settings-guide span{flex:1;color:var(--muted)}.settings-guide strong{display:block;color:var(--ink);font-size:16px;font-weight:550}.settings-guide svg{color:var(--green)}#toast{color:var(--ink);background:var(--paper);border:1px solid var(--line);font-size:15px}
.codex-header{height:58px;gap:8px;z-index:3}.codex-header>.icon-btn{margin-left:auto}.codex-tab{font-size:14px;margin-right:8px;min-height:58px;padding:17px 0}.codex-section-title{font-size:16px;font-weight:550;margin:24px 0 14px}.codex-work{margin-top:20px}.codex-work small{font-size:12px}.codex-work strong{font-size:15px}.codex-work label{font-size:12px}.codex-work select{font-size:14px;min-height:44px}.codex-list-label{font-size:11px;letter-spacing:.07em}.character-row{min-height:76px;padding:14px 0;gap:13px}.character-row strong{font-size:17px;font-weight:550;line-height:1.3}.character-row small{font-size:13px;line-height:1.45}.character-row>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}.character-row>svg{width:16px;height:16px}.char-avatar{width:39px;height:44px;font-size:25px}.entity-detail{border:0;margin-top:0;padding-top:0;outline:none}.codex-back{display:flex;align-items:center;gap:8px;min-height:52px;padding:9px 0;color:var(--green);font-size:14px;width:100%;text-align:left;border-bottom:1px solid var(--line);margin-bottom:20px}.codex-back svg{width:16px}.entity-work-label{display:block;font-size:12px;color:var(--muted);margin-bottom:16px;overflow-wrap:anywhere}.entity-profile-heading{display:flex;gap:13px;align-items:center;margin:0 0 24px}.entity-profile-heading>div{min-width:0}.entity-profile-heading h2{font-size:25px;line-height:1.2;overflow-wrap:anywhere}.entity-detail .role{font-size:14px;line-height:1.4;margin:6px 0 0}.facts{font-size:14px;gap:13px}.traits{gap:7px;margin:19px 0}.traits span{font-size:13px;padding:5px 9px}.entity-detail p{font-size:15px;line-height:1.75}.entity-actions{gap:9px}.entity-actions .btn{font-size:14px;min-height:42px;padding:9px 12px}.codex-extra{border-top:1px solid var(--line);margin-top:22px}.codex-extra>summary{cursor:pointer;font-size:14px;min-height:50px;padding:15px 0;color:var(--muted)}.codex-extra .entity-visuals{border:0;margin-top:0;padding-top:0}.codex-empty{font-size:14px;line-height:1.7;margin-top:24px}.note-editor,.return-note textarea{font-size:16px}.return-note label{font-size:14px}.version-row{font-size:14px}.version-row small{font-size:12px}
.studio-tabs{gap:25px}.studio-tabs button{font-size:15px;min-height:44px;padding-bottom:12px}.appearance-tabs{margin-bottom:25px}.appearance-intro h3{font-size:22px;letter-spacing:-.3px;margin:0 0 6px;font-weight:550}.appearance-intro p{font-size:15px;color:var(--muted);margin:0 0 20px}.tone-switch{display:flex;gap:4px;border:1px solid var(--line);padding:4px;background:var(--soft);border-radius:9px;margin-bottom:22px}.tone-switch button{flex:1;display:flex;gap:8px;align-items:center;justify-content:center;font-size:15px;min-height:40px;border-radius:5px;color:var(--muted)}.tone-switch button svg{width:17px;height:17px}.tone-switch .active{background:var(--paper);color:var(--ink);box-shadow:0 1px 5px #0000000a}.theme-families{display:grid;grid-template-columns:1fr 1fr;gap:16px}.theme-family{padding:0 0 12px;text-align:left;border:1px solid var(--line);border-radius:9px;background:var(--paper);overflow:hidden}.theme-family.active{outline:2px solid var(--accent);outline-offset:2px}.theme-family>strong{display:block;font-size:17px;font-weight:550;padding:12px 15px 2px}.theme-family>small{display:block;font-size:13px;color:var(--muted);padding:0 15px}.family-preview{--pv-bg:#ecebe3;--pv-paper:#fffdf5;--pv-side:#96a58d;--pv-ink:#776e60;height:106px;display:flex;gap:12px;background:var(--pv-bg);padding:15px 34px 0 18px;position:relative;overflow:hidden;border-bottom:1px solid #00000008}.preview-spine{width:20%;border-radius:3px 3px 0 0;background:var(--pv-side)}.preview-sheet{flex:1;padding:12px 13px;background:var(--pv-paper);border-radius:3px 3px 0 0;box-shadow:0 4px 12px #0000000c}.preview-sheet b{display:block;font:21px/1.3 var(--serif);color:var(--pv-ink);font-weight:400;margin-bottom:7px}.preview-sheet i{display:block;height:2px;background:var(--pv-ink);opacity:.25;margin:5px 0}.preview-sheet i:last-child{width:70%}.family-preview>svg{position:absolute;right:9px;top:10px;width:17px;height:17px;color:var(--pv-ink)}.family-preview.enquete{--pv-bg:#dee5e7;--pv-paper:#f6f9f8;--pv-side:#6f8287;--pv-ink:#354a4e}.family-preview.memoire{--pv-bg:#e9dfcf;--pv-paper:#fff4e2;--pv-side:#b39972;--pv-ink:#78634b}.family-preview.essentiel{--pv-bg:#ededeb;--pv-paper:#fff;--pv-side:#c6c9c6;--pv-ink:#434744}.family-preview.atelier.dark{--pv-bg:#252d36;--pv-paper:#353e49;--pv-side:#778a9e;--pv-ink:#d2dce4}.family-preview.enquete.dark{--pv-bg:#1c2523;--pv-paper:#2d3935;--pv-side:#728178;--pv-ink:#d2dbcc}.family-preview.memoire.dark{--pv-bg:#2d2721;--pv-paper:#41372e;--pv-side:#9b8062;--pv-ink:#e9d9bb}.family-preview.essentiel.dark{--pv-bg:#20201f;--pv-paper:#333331;--pv-side:#77776e;--pv-ink:#e4e3d6}.ambience-option{min-height:76px}.ambience-option span{font-size:16px}.ambience-option small{font-size:13px}.volume-row{font-size:14px}.check-line{font-size:14px}.translation-method p{font-size:15px}.translation-support{font-size:14px}.translation-method>small{font-size:13px}.story-method{font-size:13px}.story-answer-text{font-size:16px}.story-sources summary{font-size:14px}
html[data-theme=ink]{--bg:#181e1c;--paper:#222a26;--soft:#2b3530;--ink:#edf0e9;--muted:#b4bfb5;--faint:#92a194;--line:#3c4940;--green:#bdcdb9;--green-dark:#c4d0bc;--green-soft:#344235;--accent:#a7b99d;--side:#1e2621;color-scheme:dark}
html[data-theme=walnut]{--bg:#28221e;--paper:#322b25;--soft:#3d342c;--ink:#f0e6d7;--muted:#c0b09b;--faint:#a2927b;--line:#55493d;--green:#ceb892;--green-dark:#d9c5a3;--green-soft:#4b3e2d;--accent:#b8a180;--side:#29221c;color-scheme:dark}
html[data-theme=graphite]{--bg:#191919;--paper:#242424;--soft:#303030;--ink:#eeeee9;--muted:#b4b4ae;--faint:#95958d;--line:#444440;--green:#d3d3c7;--green-dark:#d3d3c7;--green-soft:#363630;--accent:#bdbdad;--side:#20201f;color-scheme:dark}
html:is([data-theme=ink],[data-theme=walnut],[data-theme=graphite]){--side-title:var(--ink);--side-text:var(--muted);--side-muted:var(--muted);--side-line:var(--line);--side-icon:var(--accent);--side-active:var(--green-soft);--side-hover:#ffffff08;--side-marker:var(--accent);--side-avatar:var(--soft);--side-avatar-ink:var(--ink);--side-input:var(--paper)}
@media(max-width:1030px){.codex{width:350px}}
@media(max-width:760px){.sidebar{width:min(304px,86vw);padding-top:22px}.brand{padding-bottom:18px}.side-item{font-size:17px;min-height:48px}.mini-project{font-size:16px}.side-section{padding-top:16px}.side-guide{font-size:16px;min-height:46px}.profile strong{font-size:16px}.profile small{font-size:13px}.side-about{font-size:13px}.outline-title h2{font-size:23px}.scene-item{font-size:16px;min-height:54px}.scene-item small{font-size:13px}.side-ambience strong{font-size:14px}.side-ambience small{font-size:13px}.topbar{height:64px;padding:0 14px}.breadcrumb{font-size:15px}.topbar .icon-btn{width:40px;height:44px}.topbar .icon-btn svg{width:21px;height:21px}.top-actions{gap:2px}.topbar .save-state{display:none}.editor-shell .topbar{height:64px}.editor-layout{height:calc(100dvh - 64px)}.editor-shell .breadcrumb .scene-crumb{max-width:100px}.workspace{padding:26px 20px}.welcome{padding-bottom:22px}.welcome .eyebrow{font-size:11px;margin-bottom:12px}.welcome h1{font-size:32px;line-height:1.14;letter-spacing:-.7px;margin-bottom:14px}.welcome p{font-size:16px;line-height:1.6;max-width:none;margin-bottom:19px}.welcome-actions{gap:6px;flex-wrap:wrap}.welcome-actions .btn{font-size:15px}.continue-card h2{font-size:21px}.continue-card p{font-size:13px;max-width:none}.continue-card .eyebrow{font-size:9px}.continue-card .btn{width:44px;height:44px}.continue-card .btn svg{width:20px;height:20px}.section-head{gap:12px;flex-wrap:wrap}.section-head h2{font-size:25px}.section-head-right{font-size:13px;gap:3px}.filter-row{gap:20px}.filter{font-size:15px;min-height:45px}.filter .num{font-size:12px}.project-card-title{font-size:18px;line-height:1.3;margin-right:22px}.project-type{font-size:12px;line-height:1.5}.project-footer{font-size:12px}.project-more{width:36px;height:36px;top:213px}.workspace-footer{font-size:11px;gap:20px}.workspace-footer span:last-child{max-width:140px}.modal-backdrop{padding:10px}.modal-card{max-height:calc(100dvh - 20px);border-radius:12px}.modal-head{padding:22px 20px 18px}.modal-head h2{font-size:27px;line-height:1.14;letter-spacing:-.5px}.modal-head p{font-size:15px;margin-top:10px}.modal-head>.icon-btn{width:40px;height:40px;margin-top:-5px;margin-right:-8px}.modal-body{padding:22px 20px}.modal-footer{padding:15px 20px;gap:10px}.modal-footer .btn{font-size:15px}.modal-footer small{font-size:13px}.field input,.field textarea,.field select,.search-input{font-size:16px;min-height:48px}.field>span,.field-label{font-size:14px;line-height:1.5}.field .help{font-size:13px}.type-option>div{font-size:15px;padding:14px;min-height:86px}.type-option svg{width:23px;height:23px}.two-fields{grid-template-columns:1fr;gap:0}.rename-line{grid-template-columns:1fr;gap:12px}.rename-line>svg{display:none}.rename-line input{font-size:16px}.cover-options{gap:12px}.cover-option{height:48px}.settings-action{gap:12px}.settings-action .btn{font-size:14px}.settings-section-heading h3{font-size:19px}.soft-select{font-size:14px}.page-heading p{font-size:15px}.page-heading .btn{font-size:14px}.codex{top:64px;height:calc(100dvh - 64px);width:min(390px,100vw);max-width:100vw;padding:0 22px 32px;overscroll-behavior:contain;box-shadow:-12px 0 45px #0000001f}.codex-header{height:64px;margin-inline:-22px;padding-inline:20px;gap:15px}.codex-tab{font-size:16px;min-height:64px;margin-right:8px;flex-shrink:0}.codex-header>.icon-btn{width:44px;height:48px}.codex-work{padding:16px;margin-top:20px}.codex-work small{font-size:13px}.codex-work strong{font-size:17px}.codex-work label{font-size:13px;line-height:1.6}.codex-work select{font-size:16px;min-height:48px}.codex-section-title{font-size:18px}.codex-list-label{font-size:12px}.character-row{min-height:82px}.character-row strong{font-size:19px}.character-row small{font-size:15px}.char-avatar{width:42px;height:48px}.codex-back{font-size:16px;min-height:58px}.entity-work-label{font-size:14px}.entity-profile-heading h2{font-size:28px}.entity-detail .role{font-size:16px}.facts{font-size:16px}.entity-detail p{font-size:17px;line-height:1.75}.traits span{font-size:14px}.entity-actions .btn{font-size:15px;min-height:46px}.codex-extra>summary{font-size:16px;min-height:56px}.entity-visuals .eyebrow{font-size:12px}.studio-tabs button{font-size:16px}.editor-tools{min-height:56px}.editor-tools .segment button{font-size:14px;min-height:42px}.editor-tools select{font-size:14px;min-height:40px;max-width:100px}.editor-tools #font-select{max-width:104px}.font-size-control input{font-size:15px;width:42px;min-height:40px}.font-size-control{font-size:12px}.editor-tools .icon-btn{width:40px;height:44px}.editor-tools .btn{font-size:14px}.editor-status{font-size:11px;min-height:40px}.editor-status .text-btn{font-size:12px}.scene-links .eyebrow{font-size:11px}.entity-pill{font-size:14px;min-height:42px;padding:9px 12px}.theme-families{gap:14px}.theme-family>strong{font-size:18px}.theme-family>small{font-size:14px}.family-preview{height:100px;padding-inline:14px 27px}.appearance-intro h3{font-size:23px}.tone-switch button{font-size:16px;min-height:44px}.studio-tabs{gap:24px}#toast{font-size:15px}.check-line{font-size:14px;align-items:flex-start}.translation-method p{font-size:16px}.story-scope span:not(.tag){font-size:13px}.story-scope strong{font-size:17px}.story-examples .btn{font-size:14px}}
@media(max-width:380px){.welcome h1{font-size:30px}.section-head h2{font-size:23px}.section-head-right{margin-left:auto}.codex-header{gap:10px}.codex-tab{font-size:15px}.project-more{top:189px}.theme-family>strong,.theme-family>small{padding-inline:12px}.type-option>div{font-size:14px}.cover-options{gap:11px}.editor-shell .breadcrumb .scene-crumb{max-width:74px}}

.editor-more{display:none}.editor-options .language-field{display:none}.editor-options-list{display:grid;gap:0}.editor-option-row{display:flex;align-items:center;gap:13px;min-height:54px;border-bottom:1px solid var(--line);text-align:left;font-size:16px;color:var(--ink);padding:12px 0}.editor-option-row svg{width:19px;color:var(--green)}
@media(max-width:760px){.editor-tools>:not(.segment):not(.editor-more){display:none}.editor-tools{overflow:visible;justify-content:space-between;padding:9px 16px}.editor-tools .editor-more{display:inline-flex;font-size:15px;min-height:42px}.editor-tools .segment button{font-size:15px;padding-inline:12px}}

@media(max-width:380px){.editor-shell .topbar{padding-inline:8px;gap:4px}.editor-shell .topbar .icon-btn{width:34px}.editor-shell .breadcrumb{gap:4px}.editor-shell .breadcrumb .scene-crumb{max-width:58px}.topbar .breadcrumb>span:not([class]){display:none}}

/* Codex 0.05 — one work, flexible cards, relationships on demand. */
.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}
.codex-workspace .page-heading{margin-bottom:28px}.codex-workspace .page-heading p{max-width:600px}.codex-work-selector{display:flex;align-items:center;gap:15px;padding:17px 20px;background:var(--paper);border:1px solid var(--line);border-radius:9px;margin:0 0 25px}.codex-work-selector label{font-size:14px;color:var(--muted)}.codex-work-selector select{font-size:16px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:6px;min-height:44px;padding:9px 35px 9px 12px;max-width:430px;flex:1}.codex-work-selector>span{font-size:13px;color:var(--muted);margin-left:auto;white-space:nowrap}.codex-view-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:27px}.codex-view-tabs>button{display:flex;align-items:center;justify-content:center;gap:9px;font-size:16px;min-height:52px;padding:8px 2px 15px;border-bottom:2px solid transparent;color:var(--muted)}.codex-view-tabs>button>svg{width:18px;height:18px}.codex-view-tabs>button.active{color:var(--ink);border-color:var(--accent)}.codex-find{display:flex;align-items:center;gap:20px;margin-bottom:25px}.codex-find .search-wrap{flex:1}.codex-find input{font-size:16px;min-height:46px;padding:10px 14px 10px 42px;border:1px solid var(--line);background:var(--paper);border-radius:6px;color:var(--ink);width:100%}.codex-kind-filters{display:flex;gap:5px}.codex-kind-filters>button{font-size:14px;min-height:40px;padding:8px 13px;border-radius:6px;color:var(--muted)}.codex-kind-filters>.active{background:var(--green-soft);color:var(--green)}.codex-blank{border:1px dashed var(--line);border-radius:10px;background:var(--paper);padding:48px 24px;text-align:center}.codex-blank>svg{width:39px;height:39px;color:var(--accent);margin-bottom:19px}.codex-blank h2{font-size:25px;font-weight:500;margin-bottom:11px}.codex-blank p{color:var(--muted);font-size:16px}.codex-list-network{padding:20px 0 0}.codex-list-network .btn{width:100%}
.profile-information,.entity-relations{padding-top:21px;margin-top:23px;border-top:1px solid var(--line)}.profile-information h3,.entity-relations h3{font-size:17px;font-weight:550;margin:0}.profile-information>.row,.entity-relations>.row{gap:8px;margin-bottom:9px}.profile-information .text-btn,.entity-relations .text-btn{font-size:13px}.profile-information .text-btn svg,.entity-relations .text-btn svg{width:15px;height:15px}.entity-detail .profile-hint{font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:0}.profile-information-item{border-bottom:1px solid var(--line)}.profile-information-item>summary{font-size:15px;min-height:45px;cursor:pointer;line-height:1.5;padding:12px 0}.entity-detail .profile-information-item>p{font-size:15px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0 17px}.relation-mini{display:flex;gap:7px;align-items:center;border-bottom:1px solid var(--line);padding:8px 0}.relation-mini>button:first-child{flex:1;min-width:0;text-align:left;padding:7px 0}.relation-mini small{display:block;font-size:12px;color:var(--muted);line-height:1.4}.relation-mini strong{display:block;font-size:16px;font-weight:550;line-height:1.45;margin-top:4px}.relation-mini .icon-btn{width:34px;height:40px}.entity-network-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.entity-network-actions .btn{font-size:13px;padding:8px 10px}.entity-relations+.entity-actions{margin-top:24px}.profile-builder{border-top:1px solid var(--line);margin-top:27px;padding-top:22px}.profile-builder h3{font-size:20px;font-weight:550;margin:0 0 8px}.profile-builder>p{font-size:14px;color:var(--muted);line-height:1.6;margin-bottom:18px}.profile-edit-row{border:1px solid var(--line);background:var(--paper);border-radius:8px;margin-bottom:14px;padding:14px}.profile-edit-row>.row{gap:7px;margin-bottom:10px}.profile-edit-row .profile-field-label{font-weight:550;border:0;background:transparent;padding:7px 0;font-size:16px;min-width:0;flex:1}.profile-edit-row .icon-btn{flex-shrink:0}.profile-edit-row .profile-field-value{font-size:15px;line-height:1.7;background:var(--bg);min-height:110px}.profile-add-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-add-line select{font-size:15px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:6px;min-height:44px;padding:10px;flex:1;min-width:180px}.profile-add-line .btn{font-size:14px}.relation-direction{background:var(--green-soft);color:var(--green);font-size:15px;line-height:1.7;padding:15px;border-radius:7px;overflow-wrap:anywhere}.new-linked-card{display:grid;gap:9px;padding:12px;background:var(--green-soft);border-radius:6px;margin-top:10px}.new-linked-card select{font-size:14px;min-height:40px}.new-linked-card input{font-size:16px}.relation-type{display:inline-flex;font-size:12px;line-height:1.5;border:1px solid var(--line);padding:4px 8px;border-radius:5px;color:var(--muted);margin-bottom:8px}.relation-type.family{color:var(--green);background:var(--green-soft);border-color:transparent}
.network-toolbar{display:flex;align-items:flex-end;gap:16px;margin-bottom:14px;flex-wrap:wrap}.network-toolbar>.field{flex:1;min-width:190px;margin:0}.network-toolbar>.field>select{min-height:46px}.network-toolbar>.btn{margin-bottom:0}.network-caption{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:16px 0 13px}.network-caption>p{font-size:14px;color:var(--muted);line-height:1.6;max-width:540px;margin:0}.network-zoom{display:flex;align-items:center;gap:4px;flex-shrink:0}.network-zoom .text-btn{font-size:13px;min-width:40px;justify-content:center;font-variant-numeric:tabular-nums}.network-zoom .icon-btn{border:1px solid var(--line);border-radius:6px;width:35px;height:35px}.network-zoom svg{width:16px;height:16px}.network-viewport{width:100%;max-height:520px;overflow:auto;border:1px solid var(--line);border-radius:10px;background-color:var(--soft);background-image:radial-gradient(circle,color-mix(in srgb,var(--muted) 18%,transparent) .8px,transparent .8px);background-size:18px 18px;overscroll-behavior:contain;scrollbar-width:thin;position:relative}.network-sizer{position:relative;min-width:1px;min-height:1px}.network-canvas{position:absolute;left:0;top:0;transform-origin:0 0}.network-lines{position:absolute;inset:0;overflow:visible;color:var(--green)}.graph-line{fill:none;stroke:var(--accent);stroke-width:1.6;opacity:.85}.graph-line.partner{stroke-dasharray:6 5}.graph-line.sibling{stroke-dasharray:2 4}.network-lines text{fill:var(--ink);font:12px var(--sans);paint-order:stroke;stroke:var(--soft);stroke-width:5px;stroke-linejoin:round}.network-node{position:absolute;display:flex;align-items:center;gap:10px;text-align:left;border-radius:8px;border:1px solid var(--line);background:var(--paper);padding:13px;box-shadow:0 4px 14px #00000008;z-index:1}.network-node:hover{border-color:var(--accent);box-shadow:0 7px 18px #0000000d}.network-node.focus{border:2px solid var(--accent);background:var(--paper);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 15%,transparent)}.network-avatar{display:grid;place-items:center;background:var(--green-soft);color:var(--green);height:33px;width:30px;border-radius:6px;flex-shrink:0;font-size:21px;font-family:var(--serif)}.network-avatar>svg{height:17px;width:17px}.network-node>span:last-child{min-width:0}.network-node strong{display:block;font-size:15px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100px}.network-node small{display:block;color:var(--muted);font-size:11px;line-height:1.4;margin-top:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100px}.network-focus-card{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0 16px;border-bottom:1px solid var(--line)}.network-focus-card h3{font-size:23px;font-weight:550;line-height:1.2;margin:7px 0}.network-focus-card p{font-size:14px;color:var(--muted);margin:0}.family-quick{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 0}.family-quick>small{font-size:12px;color:var(--muted)}.network-link-list{margin-top:23px}.network-link-list>h3{font-size:18px;font-weight:550;margin-bottom:15px}.network-link-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 0;border-top:1px solid var(--line)}.network-link-row>div{min-width:0;flex:1}.network-link-row>div>button{display:flex;align-items:center;gap:9px;font-size:17px;line-height:1.5;font-weight:550;text-align:left;min-height:35px;padding:0}.network-link-row>div>button svg{width:15px;height:15px;color:var(--green)}.network-link-row p{font-size:14px;color:var(--muted);line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-width:620px;margin:8px 0 0}.network-link-row>.btn{flex-shrink:0;font-size:13px}.codex-workspace .entity-card-bottom small{font-size:12px!important}.codex-workspace .entity-card .row{font-size:15px}
@media(max-width:760px){.codex-work-selector{display:grid;gap:9px;padding:16px}.codex-work-selector label{font-size:14px}.codex-work-selector select{width:100%;max-width:none;font-size:17px}.codex-work-selector>span{margin-left:0;font-size:13px}.codex-view-tabs{gap:0;margin-bottom:22px}.codex-view-tabs>button{flex:1;font-size:17px;min-height:54px;padding-bottom:14px}.codex-find{flex-direction:column;align-items:stretch;gap:12px}.codex-find input{font-size:16px;min-height:48px}.codex-kind-filters{justify-content:flex-start;gap:7px}.codex-kind-filters>button{font-size:15px;min-height:42px}.profile-information h3,.entity-relations h3{font-size:19px}.profile-information .text-btn,.entity-relations .text-btn{font-size:14px}.profile-information-item>summary{font-size:17px;min-height:50px}.entity-detail .profile-information-item>p{font-size:17px}.entity-detail .profile-hint{font-size:16px}.relation-mini small{font-size:14px}.relation-mini strong{font-size:18px}.relation-mini .icon-btn{width:40px;height:44px}.entity-network-actions .btn{font-size:14px;min-height:44px}.profile-builder h3{font-size:21px}.profile-builder>p{font-size:16px}.profile-edit-row{padding:12px}.profile-edit-row .profile-field-label{font-size:17px}.profile-edit-row .profile-field-value{font-size:16px}.profile-add-line select{width:100%;font-size:16px}.profile-add-line .btn{width:100%;font-size:16px;min-height:46px}.network-toolbar{align-items:stretch;gap:12px}.network-toolbar>.field{min-width:100%;flex:1}.network-toolbar>.btn{width:100%;font-size:16px}.network-caption{align-items:flex-start;gap:10px;flex-direction:column}.network-caption>p{font-size:15px}.network-zoom{align-self:flex-end}.network-zoom .icon-btn{height:42px;width:42px}.network-zoom .text-btn{font-size:14px}.network-viewport{max-height:420px}.network-focus-card{align-items:flex-start;gap:12px}.network-focus-card h3{font-size:24px;overflow-wrap:anywhere}.network-focus-card .btn{font-size:14px;white-space:normal;flex-shrink:0;max-width:135px}.family-quick .btn{font-size:14px;min-height:44px}.family-quick>small{font-size:13px;flex-basis:100%}.network-link-list>h3{font-size:20px}.network-link-row>div>button{font-size:18px}.network-link-row p{font-size:16px}.network-link-row>.btn{font-size:14px}.relation-type{font-size:13px}.codex-blank{padding:35px 20px}.codex-blank h2{font-size:25px}.codex-blank p{font-size:16px}}

.profile-edit-row .profile-field-value{display:block;width:100%;border:1px solid var(--line);border-radius:6px;padding:12px;color:var(--ink);resize:vertical;font-family:var(--sans)}

.profile-more{margin-top:10px}.profile-more>summary{font-size:14px;color:var(--green);cursor:pointer;padding:13px 0;min-height:44px}.profile-more .profile-information-item{padding-left:10px}@media(max-width:760px){.profile-more>summary{font-size:16px;min-height:48px}}
