@font-face{font-family:Studio Sans;src:url('/static/fonts/DejaVuSans.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Studio Sans;src:url('/static/fonts/DejaVuSans-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--navy:#10263e;--navy-deep:#0b1c2f;--navy-soft:#203b57;--gold:#b29153;--gold-light:#e7d5ad;--ivory:#f7f5ef;--paper:#fffefa;--ink:#203246;--muted:#6b7a89;--line:#e0e4e5;--green:#34765d;--red:#a64139;--blue:#376b95;--radius:14px;--shadow:0 12px 35px rgba(19,39,58,.045);font-family:"Studio Sans","Segoe UI",sans-serif;font-size:14px;color:var(--ink);background:var(--ivory)}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[contenteditable]:focus-visible{outline:3px solid #c49c54;outline-offset:3px}a{color:var(--navy);text-decoration:none}a:hover{text-decoration:underline}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}p{line-height:1.75}h1,h2,h3,h4,p{margin-top:0}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.025em}h1{font-size:clamp(32px,3.4vw,48px);line-height:1.15;margin-bottom:13px}h2{font-size:27px;line-height:1.25;margin-bottom:11px}h3{font-size:15px;line-height:1.5;margin-bottom:10px}h4{font-size:13px;line-height:1.6}em{color:#9a773c;font-weight:400}small{font-size:11px;line-height:1.6}[hidden],.hidden{display:none!important}.muted{color:var(--muted)}.nowrap{white-space:nowrap}.full{width:100%}.text-right{text-align:right}.stack{display:grid;gap:18px}.spacer{flex:1}.divider{height:1px;background:var(--line);margin:24px 0}.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:.16em;color:#927443;line-height:1.6;margin-bottom:12px}.badge{font-size:10px;display:inline-flex;align-items:center;gap:5px;font-weight:700;padding:5px 9px;border-radius:5px;background:#eef1f3;color:#5b6b79;white-space:nowrap}.badge.green{background:#eaf3ee;color:#306b53}.badge.gold{background:#f5eddd;color:#8a672e}.badge.red{background:#faedeb;color:#a1443c}.badge.blue{background:#eaf1f8;color:#37668c}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.split{display:flex;align-items:center;justify-content:space-between;gap:18px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.section-heading h2{margin:0}.section-heading p{margin:5px 0 0;font-size:12px;color:var(--muted)}.page-head{display:flex;justify-content:space-between;gap:25px;align-items:flex-start;margin-bottom:30px}.page-head p{font-size:13px;color:var(--muted);max-width:700px;margin:0}.page-head-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end;padding-top:20px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;border:1px solid var(--navy);background:var(--navy);color:#fff;border-radius:7px;padding:11px 17px;font-weight:700;font-size:12px;line-height:1.5;text-decoration:none;transition:background .15s,transform .15s}.button:hover{background:#25415e;text-decoration:none}.button svg{width:16px;height:16px}.button-light{background:white;color:var(--navy);border-color:#d4dce2}.button-light:hover{background:#f2f5f7;border-color:#b2bec9}.button-gold{background:#b6975c;color:#fff;border-color:#b6975c}.button-gold:hover{background:#97783f}.button-danger{background:#fff;color:var(--red);border-color:#e2c6c2}.button-danger:hover{background:#faeeec}.button-small{min-height:35px;padding:8px 12px;font-size:11px}.text-button{border:0;background:none;color:#46667f;padding:5px 0;font-size:12px;font-weight:700}.text-button:hover{text-decoration:underline}.text-button.danger{color:var(--red)}.icon-button{display:inline-grid;place-items:center;width:35px;height:35px;min-width:35px;border:1px solid transparent;background:none;border-radius:7px;color:#607487;padding:7px}.icon-button:hover{background:#edf1f4;border-color:#e0e5ea}.icon-button.danger:hover{background:#faedeb;color:var(--red)}.icon-button svg{width:18px;height:18px}.action-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.skip-link{position:fixed;top:-80px;left:20px;background:#fff;padding:12px;z-index:100}.skip-link:focus{top:15px}.noscript{position:fixed;bottom:20px;left:20px;right:20px;background:#fff0cc;padding:20px;z-index:100}
.app-shell{display:grid;grid-template-columns:234px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:var(--navy-deep);color:#b3c4d4;z-index:30;overflow-y:auto}.brand{display:flex;align-items:center;gap:11px;padding:25px 21px;color:#f5f3e9;min-height:90px}.brand:hover{text-decoration:none}.brand-icon{width:39px;height:43px;display:grid;place-items:center;border:1px solid #8d784e;border-radius:5px;color:#e2c68a;background:#142b44}.brand-icon svg{width:29px;height:29px;stroke-width:1.35}.brand strong{font-size:13px;letter-spacing:.09em;white-space:nowrap}.brand strong b{color:#d5b778}.brand small{display:block;font-size:8px;letter-spacing:.16em;margin-top:5px;color:#91a5ba}.side-project{padding:17px 20px 13px;border-top:1px solid #ffffff0e;border-bottom:1px solid #ffffff0e}.side-project label{display:block;font-size:8px;font-weight:700;letter-spacing:.15em;margin-bottom:9px;color:#8199ae}.side-project select{width:100%;background:#172d43;border:1px solid #31475c;border-radius:5px;padding:9px 8px;color:#e6edf5;font-size:11px;min-height:36px}.side-link{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:none;color:#bba16d;font-size:10px;padding:11px 1px 2px}.side-link:hover{color:#efd9a9}.nav-groups{padding:8px 12px 23px;flex:1}.nav-label{font-size:8px;font-weight:700;letter-spacing:.15em;color:#70879e;margin:22px 12px 9px}.nav-link{display:flex;align-items:center;gap:11px;color:#aebed0;min-height:40px;border:1px solid transparent;padding:9px 12px;border-radius:6px;font-size:11px;margin:3px 0}.nav-link:hover{background:#183149;color:white;text-decoration:none}.nav-link.active{background:#223b52;border-color:#375067;color:white}.nav-link.active:before{content:"";height:20px;width:3px;background:#d2b475;position:absolute;left:0;border-radius:0 2px 2px 0}.nav-link svg{width:16px;height:16px;opacity:.9}.nav-link .nav-count{margin-left:auto;background:#344b60;color:#c9d8e6;font-size:9px;border-radius:4px;padding:2px 6px}.legacy-link{margin-top:13px;border-top-color:#ffffff0c;padding-top:15px;border-radius:0}.legacy-link>span:last-child{margin-left:auto}.side-bottom{display:flex;align-items:center;gap:10px;padding:20px;border-top:1px solid #ffffff12}.side-bottom strong{font-size:8px;letter-spacing:.08em;color:#c2cfdb}.side-bottom small{display:block;font-size:9px;color:#718ba3;margin-top:5px}.workspace-dot{width:6px;height:6px;background:#b49a63;border-radius:50%;flex-shrink:0}.workspace-shell{min-width:0;display:flex;flex-direction:column}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;gap:15px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:17px}.breadcrumbs{font-size:11px;display:flex;align-items:center;gap:13px;color:#8a98a4}.breadcrumbs strong{font-weight:400;color:#3f5367}.crumb-slash{color:#c9d0d5}.profile-button{display:flex;align-items:center;gap:9px;border:0;background:none;color:#405469;font-size:11px}.profile-chevron{color:#8795a3}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#eee7d8;color:#80683a;font-size:11px;font-weight:700}.save-status{font-size:10px;color:var(--green);white-space:nowrap}.save-status.error{color:var(--red)}.save-status.pending{color:#93703e}.book-context{min-height:57px;background:#fbfaf7;border-bottom:1px solid #e6e6de;display:flex;align-items:center;justify-content:space-between;padding:10px 35px;gap:15px}.book-context>div{display:flex;align-items:center;gap:11px}.book-context svg{color:#957e50;width:16px;height:16px}.book-context label{font-size:8px;letter-spacing:.12em;font-weight:700;color:#84909c;white-space:nowrap}.book-context select{background:transparent;border:0;color:#253d54;padding:6px;max-width:400px;font-size:12px;font-weight:700}.book-context-actions span{font-size:10px}.main-content{width:100%;max-width:1640px;padding:35px 36px 50px;margin:0 auto;flex:1;min-width:0}.main-content:focus{outline:none}.workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 36px;border-top:1px solid #e4e4dc;font-size:9px;color:#8d968f}.workspace-footer>span:first-child{letter-spacing:.13em;font-weight:700;color:#7c8c98}.workspace-footer a{color:#7c8c98}.mobile-menu{display:none}.global-notice{padding:14px 35px;background:#fff2df;color:#80532a;border-bottom:1px solid #eed3ac;font-size:12px;line-height:1.7}.global-notice .action-row{margin-top:9px}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:var(--shadow);min-width:0}.panel.flush{padding:0;overflow:hidden}.panel-title{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-title h2{font-size:23px;margin:0}.panel-body{padding:23px}.two-column{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,.7fr);gap:23px;align-items:start}.equal-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;align-items:start}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:29px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px 20px;min-width:0}.stat-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#7b8a97}.stat-card-top svg{color:#a78e5c;width:17px;height:17px}.stat-card strong{display:block;margin-top:13px;font-size:29px;font-family:Georgia,serif;font-weight:400;color:#1e3853}.stat-card small{display:block;margin-top:7px;color:#81909c;font-size:9px}.dashboard-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);background:#ebe9df;border:1px solid #dfdfd2;border-radius:var(--radius);overflow:hidden;margin-bottom:27px}.hero-copy{padding:33px 36px}.hero-copy h1{font-size:clamp(31px,3.2vw,47px);max-width:630px}.hero-copy p{color:#768078;max-width:540px;font-size:12px;margin-bottom:22px}.hero-copy .eyebrow{color:#817045}.hero-art{position:relative;min-height:272px;overflow:hidden;display:grid;place-items:center;background:radial-gradient(ellipse at 65% 35%,#38526a,#142e47 77%)}.hero-art:before,.hero-art:after{content:"";border:1px solid #c4ac7126;position:absolute;width:360px;height:360px;transform:rotate(32deg);border-radius:50%}.hero-art:after{width:270px;height:270px;transform:translate(40px,40px)}.hero-cover{z-index:1;width:156px;height:213px;transform:rotate(-9deg);background:#f2ebd8;border-left:7px solid #b89c63;box-shadow:14px 18px 25px #06152655,4px 0 0 #ded5bf;border-radius:1px 4px 4px 1px;text-align:center;padding:25px 17px 17px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;color:#253d52}.hero-cover small{font-size:6px;letter-spacing:.19em}.hero-cover strong{font-family:Georgia,serif;font-size:23px;font-weight:400;line-height:1.3;overflow-wrap:anywhere}.hero-cover b{font-size:23px;color:#a48750}.workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:30px}.workflow-step{text-align:left;display:flex;gap:13px;padding:19px;background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--ink)}.workflow-step:hover{border-color:#b7a276}.workflow-num{display:grid;place-items:center;border:1px solid #e6ddc8;width:29px;height:29px;flex-shrink:0;border-radius:50%;font-family:Georgia,serif;color:#a18249;font-size:14px}.workflow-step strong{display:block;font-size:12px;margin:2px 0 7px}.workflow-step small{display:block;color:#83909b;font-size:10px;line-height:1.7}.activity-list{list-style:none;padding:0;margin:0}.activity-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #eef0f1}.activity-item:last-child{border-bottom:0}.activity-dot{width:7px;height:7px;margin-top:7px;border-radius:50%;background:#b29a63;flex-shrink:0}.activity-item strong{font-size:11px;display:block;font-weight:400;line-height:1.7}.activity-item small{font-size:9px;color:#909ba4;display:block;margin-top:3px}.empty-state{padding:47px 24px;text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:9px;color:#687d8c}.empty-state .empty-icon{height:52px;width:52px;border:1px solid #e6dfcf;background:#f8f5ec;border-radius:14px;display:grid;place-items:center;margin-bottom:7px;color:#aa8f55}.empty-state .empty-icon svg{width:25px;height:25px}.empty-state h2{font-size:26px;color:#2a4156;margin:0}.empty-state p{max-width:470px;font-size:12px;margin:0 0 10px}.empty-state.compact{padding:28px 20px}.empty-state.compact h2{font-size:21px}.searchbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:23px}.search-box{position:relative;max-width:380px;flex:1}.search-box svg{position:absolute;left:13px;top:12px;width:17px;height:17px;color:#8c9aa5}.search-box input{padding-left:40px!important}.searchbar>small{color:#83909d}.book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:21px}.book-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:transform .15s,box-shadow .15s;min-width:0}.book-card:hover{transform:translateY(-3px);box-shadow:0 13px 30px #203c5810}.book-card-cover{height:188px;display:flex;justify-content:center;align-items:center;background:#e9e9df;padding:16px;cursor:pointer;width:100%;border:0;color:var(--navy)}.book-card:nth-child(3n+2) .book-card-cover{background:#dfe6e6}.book-card:nth-child(3n+3) .book-card-cover{background:#e9e1d9}.mini-cover{height:151px;width:109px;background:#18334d;border:1px solid #223d57;border-left:6px solid #0e2339;box-shadow:7px 8px 13px #172c3c28,3px 0 0 #efe9da;border-radius:1px 3px 3px 1px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;color:#eee2c4;padding:16px 11px}.mini-cover strong{font-family:Georgia,serif;font-size:16px;font-weight:400;line-height:1.25;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.mini-cover small{font-size:6px;letter-spacing:.06em;max-width:100%;overflow:hidden;text-overflow:ellipsis}.mini-cover b{font-size:15px;color:#c2a66b}.book-card-body{padding:17px 18px}.book-card-title{display:block;font-size:13px;font-weight:700;line-height:1.5;margin:9px 0 5px;color:#253f57;border:0;background:none;padding:0;text-align:left}.book-card-body p{font-size:10px;color:#83909d;margin-bottom:15px}.book-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eff0ed;padding-top:13px;gap:9px}.book-card-footer small{font-size:9px;color:#8996a0}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-grid .span-2{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>label,.field>span.label{font-size:11px;color:#3d546a;font-weight:700;line-height:1.5}.field small{font-size:10px;color:#87949f;line-height:1.65}.field input,.field select,.field textarea,.search-box input,input.control,select.control,textarea.control{width:100%;border:1px solid #d5dde3;border-radius:6px;background:#fff;color:#2a4158;padding:11px 12px;min-height:42px;font-size:12px;outline:none;transition:border-color .15s,box-shadow .15s}.field input:focus,.field textarea:focus,.field select:focus,.search-box input:focus,.control:focus{border-color:#b49962;box-shadow:0 0 0 3px #b4996215}.field input[aria-invalid=true]{border-color:#bd655c}.field textarea{resize:vertical;line-height:1.7;min-height:100px}.field input[type=color]{padding:5px;height:43px}.field input[type=checkbox]{width:16px;height:16px;min-height:0}.field select[multiple]{min-height:120px}.check{display:flex;align-items:flex-start;gap:10px;color:#5d7081;font-size:11px;line-height:1.7;cursor:pointer}.check input{accent-color:#28465f;width:16px;height:16px;flex-shrink:0;margin-top:2px}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:21px;margin-top:21px;border-top:1px solid var(--line)}.form-error{font-size:12px;line-height:1.7;color:#9e3c34;background:#fff2ef;border:1px solid #ebc7c1;border-radius:6px;padding:12px 14px;margin:15px 0 0}.form-note{background:#f6f4ec;border:1px solid #e8e0ce;padding:12px 14px;color:#826d47;border-radius:6px;font-size:11px;line-height:1.75}.form-note.blue{background:#eef4f9;border-color:#dce6ef;color:#4c6e8a}.form-note p:last-child{margin-bottom:0}.help{font-size:10px;line-height:1.8;color:#82909d;margin:12px 0 0}.tabs{display:flex;gap:4px;border-bottom:1px solid #dce2e5;margin:0 0 26px;overflow-x:auto}.tab{border:0;border-bottom:2px solid transparent;background:none;padding:13px 18px 15px;font-size:12px;white-space:nowrap;color:#778b9c}.tab.active{color:#213c55;border-bottom-color:#b29459;font-weight:700}.tab:hover{background:#f0eee6}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}th{padding:12px 15px;background:#fafaf7;border-bottom:1px solid var(--line);font-size:9px;letter-spacing:.05em;color:#81909b;font-weight:700;white-space:nowrap}td{padding:16px 15px;border-bottom:1px solid #eef0ed;color:#4b6276;line-height:1.6;vertical-align:middle}tr:last-child td{border-bottom:0}td strong{display:block;color:#293f55;font-size:11px}td small{display:block;color:#8997a0;font-size:9px;margin-top:4px}.table-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.table-actions .button{padding:6px 10px;font-size:10px;min-height:31px}.inline-fields{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.inline-fields .field{flex:1;min-width:120px}
.editor-grid{display:grid;grid-template-columns:209px minmax(0,1fr);gap:20px;align-items:start}.chapter-sidebar{position:sticky;top:18px;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.chapter-head{display:flex;align-items:center;justify-content:space-between;padding:16px 14px;border-bottom:1px solid #e8ebeb;font-size:9px;letter-spacing:.1em;color:#728698;font-weight:700}.chapter-list{padding:9px;max-height:58vh;overflow-y:auto}.chapter-row{display:flex;align-items:center;gap:5px;margin:3px 0;border-radius:5px;border:1px solid transparent}.chapter-row.active{background:#f6f1e6;border-color:#e4d9bf}.chapter-button{display:flex;gap:9px;align-items:flex-start;flex:1;min-width:0;padding:11px 7px;border:0;background:none;text-align:left;font-size:11px;color:#556b7e;line-height:1.5}.chapter-button strong{font-size:8px;color:#b29a67;border:1px solid #e5dfd2;border-radius:3px;padding:1px 4px;font-weight:400;min-width:21px;text-align:center}.chapter-button span{overflow-wrap:anywhere}.chapter-row .icon-button{width:25px;min-width:25px;height:30px;padding:5px;opacity:.65}.chapter-row .icon-button svg{width:13px;height:13px}.chapter-footer{padding:13px;border-top:1px solid #e8ebeb}.chapter-footer .button{width:100%;font-size:10px}.manuscript-paper{background:#fffefb;border:1px solid #dedfd6;border-radius:10px;box-shadow:0 6px 25px #263a5004;overflow:hidden;min-width:0}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 17px;border-bottom:1px solid #e6e7df;background:#fbfbf7}.editor-toolbar .action-row{gap:3px}.format-button{width:31px;height:31px;min-width:31px;display:grid;place-items:center;background:#fff;border:1px solid #dfe3e1;border-radius:4px;font-family:Georgia,serif;color:#3f5362}.format-button:hover{background:#f4eddf}.editor-toolbar small{font-size:9px;color:#8c9c9c}.chapter-title-wrap{padding:27px 33px 12px}.chapter-title-input{font-family:Georgia,serif;font-size:31px;line-height:1.3;width:100%;border:0;border-bottom:1px solid transparent;outline:0;color:#233d55;background:none;padding:5px 0}.chapter-title-input:focus{border-color:#b2955a}.chapter-meta{display:flex;gap:12px;align-items:center;color:#91a09e;font-size:9px;padding:9px 0}.blocks{padding:0 22px 20px}.block{position:relative;padding:13px 12px 17px;border:1px solid transparent;border-radius:7px;margin:3px 0}.block:focus-within{border-color:#ddd5c0;background:#fffefa}.block:hover>.block-tools,.block:focus-within>.block-tools{opacity:1}.block-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;opacity:.7;border-bottom:1px solid #eeeee8;margin-bottom:10px;padding-bottom:8px}.block-type{border:0;background:transparent;font-size:8px;font-weight:700;letter-spacing:.06em;color:#8c9a9d;text-transform:uppercase;padding:5px 0;max-width:145px}.block-tools .icon-button{width:26px;min-width:26px;height:25px;padding:5px}.block-tools .icon-button svg{width:13px;height:13px}.rich-editor{font-family:Georgia,serif;font-size:17px;line-height:1.85;color:#344452;min-height:38px;white-space:pre-wrap;overflow-wrap:anywhere;outline:none}.rich-editor:empty:before{content:attr(data-placeholder);color:#b2b7b5;pointer-events:none}.rich-editor blockquote{margin:0}.rich-editor.quote{border-left:3px solid #c4ad77;padding-left:22px;font-style:italic;color:#697367}.rich-editor.heading{font-size:25px;font-weight:700;line-height:1.5}.block textarea{min-height:90px;font-family:Georgia,serif;font-size:15px;line-height:1.8}.page-break{display:flex;align-items:center;gap:13px;color:#a3a8a3;font-size:9px;letter-spacing:.1em;text-transform:uppercase;padding:10px 0}.page-break:before,.page-break:after{content:"";height:1px;flex:1;border-top:1px dashed #cdd2c8}.block-image{max-height:260px;max-width:100%;display:block;object-fit:contain;margin:15px auto}.image-placeholder{padding:25px;background:#f3f4ed;text-align:center;color:#91a098;font-size:11px;border-radius:6px}.add-block-row{display:flex;justify-content:center;gap:8px;padding:20px;border-top:1px solid #e8e9df;background:#fbfbf6;flex-wrap:wrap}.add-block-row select{font-size:11px;padding:9px;border:1px solid #d6dfdd;border-radius:5px;color:#4e6878;background:white}.editor-bottom{margin-top:15px;display:flex;justify-content:space-between;gap:15px;color:#8a969b;font-size:10px}.import-drop{border:1px dashed #b8c9d6;background:#f6f9fb;border-radius:9px;padding:25px;text-align:center;color:#55728b}.import-drop input{width:100%;margin-top:15px;font-size:11px}.import-drop strong{display:block;margin:10px 0 7px}.revision-list{display:grid;gap:12px}.revision-card{border:1px solid var(--line);border-radius:8px;padding:15px;display:flex;justify-content:space-between;gap:15px;align-items:center}.revision-card strong{display:block;font-size:12px}.revision-card small{color:#8596a2;font-size:10px;display:block;margin-top:5px}.front-matter{display:grid;gap:18px;padding:25px 32px}.front-matter .field textarea{font-family:Georgia,serif;font-size:15px;min-height:150px}
.designer-grid{display:grid;grid-template-columns:142px minmax(250px,1fr) 235px;gap:15px;align-items:start}.pages-sidebar,.properties-panel{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.pages-sidebar{padding:13px;max-height:80vh;overflow:auto}.pages-sidebar h3{font-size:9px;letter-spacing:.08em;color:#83939f;display:flex;justify-content:space-between;align-items:center}.page-thumb{padding:10px;margin-bottom:12px;border:1px solid #e4e8e8;background:#fafaf6;border-radius:6px;width:100%;color:#687f8f;text-align:center;position:relative}.page-thumb.active{border-color:#b4985d;box-shadow:0 0 0 1px #b4985d}.page-thumb-paper{height:105px;background:#fff;border:1px solid #e2e3dc;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#bdc5c8;margin-bottom:7px}.page-thumb-paper img{width:100%;height:100%;object-fit:contain}.page-thumb small{font-size:9px}.designer-stage{min-height:570px;background:#e9eceb;border:1px solid #d7deda;border-radius:9px;overflow:hidden;padding:22px 18px;display:flex;flex-direction:column;align-items:center;gap:20px}.designer-stage>small{text-align:center;color:#84958f;font-size:9px;line-height:1.6}.paper-wrap{position:relative;flex:none;margin:auto;box-shadow:0 10px 25px #20334617;max-width:100%}.design-paper{position:absolute;top:0;left:0;transform-origin:top left;background:#fffefb;background-repeat:no-repeat;background-size:100% 100%;overflow:hidden}.design-element{position:absolute;border:1px solid transparent;touch-action:none;cursor:move;user-select:none;white-space:pre-wrap;overflow-wrap:anywhere;padding:4px;line-height:1.35;outline:none;overflow:visible}.design-element.selected{border:1px solid #c69942;box-shadow:0 0 0 1px #ffffffcc}.design-element:not(.selected):hover{border:1px dashed #aebac5}.design-element img{width:100%;height:100%;object-fit:contain;pointer-events:none}.design-text{height:100%;overflow:hidden;font-family:Georgia,serif;pointer-events:none}.resize-handle{position:absolute;width:12px;height:12px;background:#ae8944;right:-6px;bottom:-6px;border:2px solid #fff;cursor:nwse-resize;box-shadow:0 1px 3px #0003;touch-action:none;padding:0}.properties-panel{padding:17px}.properties-panel h3{font-size:11px;border-bottom:1px solid #e6ebea;padding-bottom:14px;margin-bottom:16px}.properties-panel .field{margin-bottom:13px}.properties-panel .field label{font-size:10px}.properties-panel .field input,.properties-panel .field select{font-size:11px;min-height:36px;padding:8px}.properties-panel .field textarea{font-size:11px;min-height:90px}.properties-panel .form-grid{gap:9px}.properties-panel .button{font-size:10px}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:13px;margin-top:19px}.asset-card{padding:9px;border:1px solid #dce4e7;border-radius:7px;text-align:center;background:#fff;min-width:0;color:#567083}.asset-card img{width:100%;height:95px;object-fit:contain;background:#f1f3f0}.asset-card span{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:7px}.asset-card:hover{border-color:#b19760}
.export-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:25px}.export-card{border:1px solid #dde4e6;background:#fff;border-radius:9px;padding:19px}.export-icon{width:37px;height:42px;border:1px solid #d5dfdf;border-radius:4px;display:grid;place-items:center;font-size:9px;font-weight:700;letter-spacing:.03em;color:#668070;background:#f7f9f5;margin-bottom:17px}.export-card h3{font-size:13px;margin-bottom:7px}.export-card p{font-size:10px;color:#84939f;min-height:49px;line-height:1.75;margin-bottom:15px}.export-card .button{width:100%;font-size:10px}.job-list{display:grid;gap:12px}.job{border:1px solid #e1e6e7;border-radius:8px;padding:16px;background:white}.job-top{display:flex;justify-content:space-between;gap:14px;align-items:center}.job strong{display:block;font-size:11px;font-weight:700}.job small{display:block;color:#8b99a2;font-size:9px;margin:5px 0}.job .action-row{margin-top:11px}.job .button{font-size:10px;min-height:31px;padding:6px 10px}.progress-track{height:4px;border-radius:5px;background:#edf0eb;margin-top:12px;overflow:hidden}.progress-track>span{display:block;height:100%;background:#bd9c5f;transition:width .3s}.job-error{font-size:11px;color:#a1443e;margin:9px 0 0;line-height:1.65;overflow-wrap:anywhere}.pdf-preview{width:100%;height:65vh;border:1px solid #dfe5e4;background:#f3f4f0;border-radius:7px}.job-result-note{font-size:10px;color:#6c7e8b;margin-top:10px;line-height:1.7}
.ai-scope{padding:14px;background:#f7f5ee;border:1px solid #e6deca;border-radius:7px;color:#8b744a;font-size:10px;line-height:1.7;margin-bottom:20px}.ai-scope strong{color:#695632}.ai-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:21px}.ai-action{padding:12px 7px;text-align:center;border:1px solid #dfe5e5;border-radius:6px;background:#fff;color:#667d8d;font-size:10px}.ai-action svg{display:block;margin:0 auto 9px;width:17px;height:17px}.ai-action.active{border-color:#b59b65;background:#f8f2e7;color:#8b6e36}.suggestion{border:1px solid #dfe5e5;border-radius:9px;overflow:hidden;margin-bottom:17px;background:#fff}.suggestion-head{padding:14px 17px;border-bottom:1px solid #e5e9e6;display:flex;align-items:center;justify-content:space-between;gap:13px}.suggestion-head strong{font-size:10px;color:#637e8b}.suggestion-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.suggestion-column{padding:18px;min-width:0}.suggestion-column:first-child{background:#fbf7f5;border-right:1px solid #e9e5df}.suggestion-column:last-child{background:#f6faf6}.suggestion-column>small{display:block;font-size:8px;letter-spacing:.09em;font-weight:700;color:#919b97;margin-bottom:12px}.suggestion-text{font-family:Georgia,serif;line-height:1.9;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto}.suggestion-note{padding:14px 18px;font-size:11px;color:#7b8d96;line-height:1.7;border-top:1px solid #e5e9e6}.suggestion-footer{padding:12px 18px;border-top:1px solid #e8ebe7;display:flex;gap:9px;justify-content:flex-end;align-items:center}.usage-summary{background:#f6f8f5;border:1px solid #e2e8df;padding:17px;border-radius:8px}.usage-summary p{margin-bottom:0;font-size:10px;color:#7a8c89}.usage-summary strong{font-size:22px;font-family:Georgia,serif;color:#385d4c}
.certificate-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(330px,1.1fr);gap:23px;align-items:start}.certificate-preview-wrap{background:#e8e9e2;border:1px solid #dedfd4;padding:25px;border-radius:12px;position:sticky;top:20px}.certificate-preview{--cert-primary:#14314a;--cert-accent:#a4864d;--cert-bg:#fffdf7;background:var(--cert-bg);color:var(--cert-primary);padding:20px;aspect-ratio:8.5/11;box-shadow:0 9px 23px #203a5115;display:flex;flex-direction:column;position:relative;overflow:hidden}.certificate-inner{border:2px double var(--cert-accent);flex:1;padding:22px 18px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}.certificate-preview.minimal .certificate-inner{border:0;border-top:2px solid var(--cert-accent);border-bottom:2px solid var(--cert-accent)}.certificate-preview.modern{background:linear-gradient(160deg,var(--cert-primary) 0 22%,var(--cert-bg) 22.2%)}.certificate-preview.modern .cert-kicker{color:var(--cert-bg)}.certificate-preview.modern .cert-star{color:var(--cert-accent)}.certificate-preview .cert-star{font-size:30px;line-height:1;color:var(--cert-accent)}.certificate-preview .cert-kicker{font-size:7px;letter-spacing:.15em;margin:0}.certificate-preview h3{font:normal clamp(23px,2.2vw,32px)/1.3 Georgia,serif;color:var(--cert-primary);margin:9px 0 0;overflow-wrap:anywhere}.certificate-preview .cert-subtitle{font-size:9px;color:var(--cert-accent);margin:0;line-height:1.7}.cert-recipient{font:italic 24px Georgia,serif;border-bottom:1px solid color-mix(in srgb,var(--cert-accent) 40%,transparent);padding:8px 16px;color:var(--cert-primary);width:90%;margin-top:auto;overflow-wrap:anywhere}.cert-body{font:12px/1.8 Georgia,serif;max-width:95%;margin:3px 0 7px;white-space:pre-wrap;overflow-wrap:anywhere}.cert-book-title{font-family:Georgia,serif;font-size:17px;font-style:italic;margin:0}.cert-signature{margin-top:auto;font:italic 20px Georgia,serif;color:var(--cert-primary)}.cert-signature small{display:block;font:7px "Studio Sans",sans-serif;letter-spacing:.06em;color:var(--cert-accent);margin-top:8px}.cert-qr{height:43px;width:43px;display:grid;place-items:center;border:1px solid var(--cert-primary);font-size:7px;line-height:1.3;color:var(--cert-primary);background:repeating-conic-gradient(#e4e4d8 0% 25%,#fff 0% 50%) 50%/8px 8px}.cert-qr span{background:#fff;padding:3px}.cert-number{font-size:6px;letter-spacing:.1em;color:var(--cert-accent);margin:0}.cert-preview-caption{text-align:center;color:#849185;font-size:9px;line-height:1.7;margin:15px 0 0}.certificate-preview .cert-preview-watermark{position:absolute;transform:rotate(-35deg);font-size:36px;letter-spacing:.12em;font-weight:700;opacity:.035;left:12%;top:43%;pointer-events:none}.copy-list{margin-top:28px}.template-select-row{display:flex;gap:9px;align-items:end;margin-bottom:18px}.template-select-row .field{flex:1}.order-item-row{display:grid;grid-template-columns:minmax(150px,1.2fr) 80px minmax(120px,1fr) 30px;gap:9px;align-items:end;margin:14px 0}.order-item-row .icon-button{margin-bottom:3px}.order-total{padding:15px 0;border-top:1px solid var(--line);text-align:right;color:#637b8c;font-size:12px}.order-total strong{color:#203c54;font-size:18px;font-family:Georgia,serif;margin-left:15px}
.modal{padding:0;border:1px solid #d9dfe1;border-radius:14px;width:min(670px,calc(100% - 32px));max-height:90vh;overflow:auto;box-shadow:0 30px 100px #061a3140;color:var(--ink);background:#fffefb}.modal.wide{width:min(1050px,calc(100% - 32px))}.modal::backdrop{background:#0b1e35a3;backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;padding:24px 26px 20px;border-bottom:1px solid #e2e5e0;gap:15px}.modal-heading h2{margin:0;font-size:28px}.modal-heading .eyebrow{font-size:8px;margin-bottom:6px}.modal-body{padding:25px 26px}.modal-body>p{font-size:12px;color:#728593}.toast-region{position:fixed;bottom:24px;right:25px;z-index:100;display:flex;flex-direction:column;gap:10px;max-width:min(420px,calc(100vw - 32px))}.toast{padding:14px 16px;border-radius:8px;border:1px solid #d7e1dc;background:#fff;color:#46695b;box-shadow:0 8px 30px #102b5421;display:flex;gap:12px;align-items:flex-start;font-size:12px;line-height:1.7;animation:toast-in .2s ease}.toast.error{color:#9a4b41;border-color:#ead3c9}.toast .icon-button{height:24px;min-width:24px;width:24px;padding:3px;flex-shrink:0;color:inherit}.toast-message{flex:1;overflow-wrap:anywhere}.loading-page{padding:70px;text-align:center;color:#8193a3;font-size:12px}.loading-bar{height:3px;background:#eee9dc;border-radius:3px;overflow:hidden;position:relative;margin:25px 0}.loading-bar:after{content:"";position:absolute;width:40%;height:100%;background:#b39a62;animation:loading-slide 1.5s ease infinite}.skeleton-line{height:13px;border-radius:4px;background:#edf0ed;margin:14px 0;animation:pulse 1s infinite alternate}.auth-screen{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.auth-story{background:var(--navy-deep);color:#f5f0df;position:relative;overflow:hidden;display:flex;flex-direction:column;padding:13px 9% 0}.auth-brand{padding-left:0}.auth-intro{padding-top:45px;position:relative;flex:1}.auth-intro h1{font-size:clamp(44px,4vw,64px);margin:15px 0 20px;line-height:1.1}.auth-intro h1 em{color:#c1a370}.auth-intro .eyebrow{font-size:8px;color:#a58e63}.auth-intro p{font-size:12px;color:#96a8b8;max-width:360px;line-height:1.9}.auth-foot{font-size:9px;color:#8194a5;line-height:1.9;padding:26px 0 15px;border-top:1px solid #ffffff15;margin-top:25px}.auth-book{position:relative;perspective:1200px;width:200px;height:270px;margin:34px auto 28px;transform:rotate(-9deg)}.auth-book-cover{position:absolute;inset:0;background:#e7dcc2;border-left:9px solid #b9a16d;box-shadow:15px 20px 35px #03132680,5px 0 0 #c9c1aa;border-radius:1px 5px 5px 1px;color:#243e54;display:flex;align-items:center;justify-content:space-between;flex-direction:column;padding:29px 20px}.auth-book-cover>span{font-size:6px;letter-spacing:.12em}.auth-book-cover i{font:normal 26px/1.35 Georgia,serif;text-align:center}.auth-book-cover b{font-size:25px;color:#a4854d}.auth-book-cover small{font-size:6px;letter-spacing:.14em}.auth-panel{display:flex;align-items:center;justify-content:center;background:#f9f8f3;padding:40px}.auth-card{width:min(390px,100%)}.auth-card h2{font-size:35px;margin-bottom:13px}.auth-card>p{font-size:12px;color:#81909a;line-height:1.8}.auth-card .field{margin-top:20px}.auth-card .button{margin-top:25px}.auth-card .auth-help{font-size:10px;margin-top:25px;color:#8c999d;text-align:center}.account-menu{display:grid;gap:12px}.account-menu p{font-size:12px;color:#758594}.account-menu strong{color:#314e66}
@keyframes loading-slide{from{left:-40%}to{left:100%}}@keyframes pulse{from{opacity:.4}to{opacity:1}}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.main-content{padding-top:43px}.topbar,.book-context{padding-left:44px;padding-right:44px}}
@media(max-width:1280px){.app-shell{grid-template-columns:215px minmax(0,1fr)}.brand{padding-left:17px;padding-right:13px;gap:9px}.brand strong{font-size:12px}.brand small{font-size:7px}.main-content{padding:29px 26px 40px}.topbar,.book-context{padding-left:26px;padding-right:26px}.designer-grid{grid-template-columns:110px minmax(220px,1fr) 208px;gap:11px}.properties-panel{padding:13px}.designer-stage{padding:18px 13px}.pages-sidebar{padding:10px}.hero-copy{padding:28px}.hero-art{min-width:240px}.two-column{grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)}.topbar-right{gap:12px}.profile-button>#userName{display:none}.certificate-layout{grid-template-columns:minmax(270px,.9fr) minmax(270px,1.1fr)}.certificate-preview-wrap{padding:18px}.certificate-inner{padding:17px 13px;gap:10px}.cert-body{font-size:11px}.cert-recipient{font-size:22px}.workflow-step{padding:15px;gap:10px}.workflow-step small{font-size:9px}}
@media(max-width:1080px){.dashboard-hero{grid-template-columns:1fr 240px}.hero-copy h1{font-size:35px}.hero-art{min-width:0}.stat-grid{gap:11px}.stat-card{padding:17px 15px}.stat-card-top{font-size:9px}.two-column{grid-template-columns:1fr}.certificate-layout{grid-template-columns:1fr}.certificate-preview-wrap{max-width:510px;width:100%;position:static;margin:auto}.certificate-preview h3{font-size:32px}.certificate-inner{padding:27px}.cert-body{font-size:14px}.cert-recipient{font-size:28px}.certificate-preview .cert-kicker{font-size:8px}.certificate-preview .cert-subtitle{font-size:11px}.cert-book-title{font-size:22px}.cert-signature{font-size:25px}.designer-grid{grid-template-columns:100px minmax(0,1fr)}.properties-panel{grid-column:1/-1}.properties-panel .property-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.properties-panel .property-fields .field{margin:0}.properties-panel .property-fields .wide-property{grid-column:1/-1}.designer-stage{min-height:470px}.editor-grid{grid-template-columns:175px minmax(0,1fr);gap:13px}.chapter-title-wrap{padding:23px 23px 10px}.blocks{padding-left:13px;padding-right:13px}.chapter-title-input{font-size:28px}.export-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.equal-columns{grid-template-columns:1fr}.page-head-actions{padding-top:10px}.breadcrumbs>span:first-child{display:none}.breadcrumbs .crumb-slash{display:none}.save-status{font-size:9px}.workflow{gap:10px}.workflow-step{display:block}.workflow-num{margin-bottom:12px}}
@media(max-width:850px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:234px;transform:translateX(-100%);transition:transform .2s;z-index:60}.sidebar.open{transform:translateX(0)}.sidebar-scrim{position:fixed;inset:0;background:#081d3670;border:0;z-index:59}.mobile-menu{display:grid}.topbar{height:69px;padding:0 22px}.topbar-left{gap:9px}.main-content{padding:27px 23px 40px}.book-context{padding:10px 23px}.book-context select{max-width:320px}.workspace-footer{padding:20px 23px}.dashboard-hero{grid-template-columns:1.4fr 1fr}.hero-copy{padding:27px}.hero-art{min-height:270px}.editor-grid{grid-template-columns:180px minmax(0,1fr)}.designer-grid{grid-template-columns:120px minmax(0,1fr)}.properties-panel .property-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.designer-stage{min-height:520px}.workflow-step{display:flex}.workflow-num{margin-bottom:0}.auth-story{padding:15px 7% 0}.auth-intro h1{font-size:45px}.auth-book{width:170px;height:236px}.auth-book-cover i{font-size:23px}.auth-panel{padding:33px}.auth-card h2{font-size:31px}.auth-brand .brand-icon{width:34px;height:39px}.auth-brand strong{font-size:11px}}
@media(max-width:640px){h1{font-size:33px}.topbar{padding:0 13px;height:63px}.topbar-right{gap:8px}.topbar-right .new-label{display:none}.topbar-right>.button{min-width:35px;padding:8px}.profile-chevron{display:none}.profile-button{padding:0}.save-status{max-width:90px;white-space:normal;text-align:right;font-size:8px;line-height:1.5}.breadcrumbs{font-size:10px}.main-content{padding:23px 16px 34px}.page-head{display:block;margin-bottom:23px}.page-head p{font-size:12px}.page-head-actions{justify-content:flex-start;margin-top:17px;padding-top:0}.eyebrow{font-size:9px}.book-context{padding:10px 16px;display:block}.book-context>div{gap:7px}.book-context label{font-size:7px}.book-context select{max-width:calc(100vw - 135px);font-size:11px}.book-context-actions{justify-content:space-between;padding-left:25px;padding-top:7px}.book-context-actions span{font-size:9px}.book-context-actions .text-button{font-size:10px}.dashboard-hero{grid-template-columns:1fr}.hero-copy{padding:26px 24px}.hero-copy h1{font-size:37px}.hero-art{min-height:205px;max-height:205px}.hero-cover{height:168px;width:127px;padding:20px 13px;transform:rotate(-9deg)}.hero-cover strong{font-size:18px}.hero-cover small{font-size:5px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:23px}.stat-card strong{font-size:27px}.workflow{grid-template-columns:1fr;gap:9px;margin-bottom:25px}.workflow-step{padding:16px;align-items:center}.workflow-step strong{margin-bottom:5px}.workflow-step small{font-size:10px}.panel{padding:20px}.panel-title{padding:18px 19px}.panel-title h2{font-size:23px}.panel-body{padding:18px}.section-heading h2{font-size:25px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.book-card-cover{height:161px;padding:12px}.mini-cover{height:133px;width:97px;padding:14px 9px}.mini-cover strong{font-size:14px}.book-card-body{padding:13px}.book-card-body p{font-size:9px}.book-card-title{font-size:11px}.book-card-footer{align-items:flex-start}.book-card-footer .text-button{font-size:10px}.book-card-footer small{font-size:8px}.book-card .badge{font-size:8px;padding:4px 6px}.searchbar{gap:10px}.searchbar>small{font-size:9px}.form-grid{grid-template-columns:1fr;gap:17px}.form-grid .span-2{grid-column:auto}.form-actions{flex-wrap:wrap}.form-actions .button{flex:1}.tabs{margin-bottom:22px}.tab{padding-left:13px;padding-right:13px;font-size:11px}.editor-grid{display:block}.chapter-sidebar{position:static;margin-bottom:17px}.chapter-head{padding:11px 13px}.chapter-list{display:flex;gap:7px;padding:9px;max-height:none;overflow-x:auto}.chapter-row{min-width:145px;max-width:220px;flex-shrink:0;margin:0}.chapter-button{font-size:10px;padding:9px 5px}.chapter-row>.icon-button{display:none}.chapter-footer{padding:8px 11px;display:flex;justify-content:flex-end}.chapter-footer .button{width:auto;min-height:31px;padding:7px 13px}.chapter-title-wrap{padding:20px 21px 10px}.chapter-title-input{font-size:28px}.blocks{padding-left:9px;padding-right:9px}.block{padding:10px 11px 14px}.rich-editor{font-size:16px}.block-tools{opacity:1}.editor-toolbar{padding:10px 12px}.editor-toolbar small{font-size:8px}.front-matter{padding:22px}.add-block-row{padding:16px;justify-content:flex-start}.editor-bottom{font-size:9px;line-height:1.7}.designer-grid{display:flex;flex-direction:column;gap:14px}.pages-sidebar{width:100%;max-height:none}.pages-sidebar>h3{margin:0 0 10px}.pages-list{display:flex;gap:10px;overflow-x:auto}.page-thumb{width:74px;min-width:74px;margin-bottom:4px;padding:7px}.page-thumb-paper{height:80px}.designer-stage{width:100%;min-height:420px;padding:18px 15px}.properties-panel{width:100%}.properties-panel .property-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.properties-panel .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.export-grid{gap:11px}.export-card{padding:15px}.export-card h3{font-size:12px}.export-card p{font-size:9px;min-height:62px}.export-icon{margin-bottom:12px}.export-card .button{padding:9px 8px}.suggestion-comparison{grid-template-columns:1fr}.suggestion-column:first-child{border-right:0;border-bottom:1px solid #e9e5df}.suggestion-footer{padding:12px;flex-wrap:wrap}.suggestion-text{font-size:14px}.suggestion-head{padding:12px}.ai-action-grid{gap:7px}.ai-action{font-size:9px;padding:11px 5px}.certificate-preview-wrap{padding:16px}.certificate-preview{padding:15px}.certificate-inner{padding:20px 14px;gap:10px}.certificate-preview h3{font-size:27px}.cert-body{font-size:12px}.cert-recipient{font-size:24px}.certificate-preview .cert-kicker{font-size:6px}.certificate-preview .cert-subtitle{font-size:9px}.cert-book-title{font-size:18px}.cert-signature{font-size:22px}.cert-qr{height:38px;width:38px}.cert-number{font-size:5px}.copy-list{margin-top:23px}.order-item-row{grid-template-columns:minmax(0,1fr) 69px 30px;padding-bottom:14px;border-bottom:1px solid #e4e9e6}.order-item-row .field:nth-child(3){grid-column:1/3;grid-row:2}.order-item-row .icon-button{grid-column:3;grid-row:2;align-self:center}.workspace-footer{padding:18px 16px;flex-wrap:wrap;gap:10px;font-size:8px}.workspace-footer>span:nth-child(2){display:none}.modal{max-height:93vh;width:calc(100% - 22px);border-radius:10px}.modal-heading{padding:20px}.modal-heading h2{font-size:26px}.modal-body{padding:20px}.modal.wide{width:calc(100% - 22px)}.toast-region{bottom:15px;right:15px}.global-notice{padding:13px 17px;font-size:11px}.revision-card{align-items:flex-start}.revision-card .button{font-size:9px}.table-wrap{margin-left:-1px;margin-right:-1px}th{padding:11px;font-size:8px}td{padding:13px 11px;font-size:10px}.auth-screen{display:block}.auth-story{padding:0 25px}.auth-brand{min-height:85px}.auth-intro{padding-top:8px}.auth-intro h1{font-size:38px;margin-top:10px;margin-bottom:16px}.auth-intro p{font-size:11px;max-width:300px;padding-bottom:17px;margin-bottom:0}.auth-intro .eyebrow{font-size:7px}.auth-book{display:none}.auth-foot{display:none}.auth-panel{padding:32px 25px 40px;min-height:430px}.auth-card{width:100%}.auth-card h2{font-size:30px}.auth-card>p{font-size:11px}.auth-card .field{margin-top:17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

.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}.rich-editor em{color:inherit}.cert-signature-image{display:block;max-width:160px;max-height:60px;object-fit:contain;margin:0 auto 8px}.signature-preview{width:100%;max-height:85px;object-fit:contain;border:1px solid #e5e8df;background:#fbfcf9;border-radius:5px;padding:8px}.reserved-number{display:inline-block;font-size:10px;border:1px solid #dfd6bf;border-radius:4px;padding:3px 6px;margin:3px 4px 0 0;color:#8a713f;background:#f8f3e7}

.book-card-cover .book-designed-cover{display:block;max-width:100%;max-height:100%;object-fit:contain;box-shadow:3px 5px 14px #10263e25;border-radius:2px}
