:root{--bg:#f5f6f3;--paper:#fff;--ink:#203930;--text:#33453e;--muted:#87918c;--line:#e6ebe5;--green:#247058;--forest:#173e35;--pale:#edf4ee;--yellow:#f2dfa5;--danger:#a54036;--shadow:0 5px 24px #1e392609;--radius:15px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button,input,textarea{outline:none}button:focus-visible,a:focus-visible{outline:3px solid #a0c9b8;outline-offset:3px}input:focus,textarea:focus{border-color:#82af9a;box-shadow:0 0 0 3px #2470580b}a{color:var(--green)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--ink)}button{border:0}small{font-size:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.muted{color:var(--muted);line-height:1.8}.tiny-dot{width:6px;height:6px;background:currentColor;border-radius:50%;display:inline-block;flex:none}.eyebrow{color:#809387;font-size:10px;font-weight:650;letter-spacing:1.8px;display:block;line-height:1.5}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:650;letter-spacing:2px}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:3px;font-weight:500}.brand-mark{background:#e4eed5;color:#254b3d;width:39px;height:43px;border-radius:10px 10px 3px 10px;display:grid;place-items:center;font-size:23px;font-family:serif;letter-spacing:0}.brand-link{text-decoration:none;color:#f4f8ed}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:11px 17px;background:white;color:var(--text);font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap;min-height:39px;transition:background .15s,transform .15s}.button:hover:not(:disabled){background:#f4f7f2}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover:not(:disabled){background:#1b5d49}.button.secondary{background:#ffffffa6;border-color:#d8e0d6}.button.small{padding:8px 12px;min-height:32px;font-size:11px}.button.wide{width:100%}.text-button{background:none;color:var(--green);font-size:11px;font-weight:600;padding:5px 0}.text-button:hover{text-decoration:underline}.icon-button{width:32px;height:32px;display:inline-grid;place-items:center;background:#ffffff0b;color:inherit;border-radius:7px;font-size:20px;flex:none}.icon-button:hover{background:#ffffff18}.icon-button.light{background:#f0f4ee;color:#587565}.icon-button.light:hover{background:#e3ebdf}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field label,.cover-info>label{font-size:12px;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#4e6155}.field label span{font-size:10px;font-weight:400;color:#9ba79d}.field input,.field textarea,.cover-info input,.search-input input{width:100%;border:1px solid var(--line);border-radius:7px;padding:10px 12px;background:#fff;color:var(--ink);font-size:12px;line-height:1.5}input::placeholder,textarea::placeholder{color:#a0aaa1;font-weight:400}.field textarea{resize:vertical}.field-note{font-size:10px;color:#8d988f;line-height:1.6}.field-row{display:grid;grid-template-columns:1fr 1.5fr;gap:17px}.card{border:1px solid var(--line);background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 23px;border-bottom:1px solid var(--line)}.card-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.card-title h2{font-size:14px;font-weight:650}.section-mark{display:block;background:#3b8067;height:14px;width:3px;border-radius:2px;margin-right:2px}.soft-badge{font-size:10px;background:#f2f5ef;border:1px solid #e6ebe2;padding:4px 7px;color:#7a8d7a;border-radius:5px;white-space:nowrap}.soft-badge.unsaved{background:#fff7e7;color:#a18442;border-color:#f0e6cb}.soft-badge.success{background:#edf7f0;color:#2d7854}.soft-badge.warning{background:#fff1db;color:#9d741f}.boot-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;color:#7e9182;font-size:12px}.boot-screen .brand-mark{animation:breathe 1.4s ease-in-out infinite}@keyframes breathe{50%{opacity:.5;transform:translateY(-4px)}}
/* The quiet writing room. */
.app-shell{display:flex;min-height:100vh}.sidebar{width:204px;background:var(--forest);color:#c3d5c7;padding:32px 19px 18px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:5}.sidebar .brand{padding-left:9px;margin-bottom:50px}.sidebar-label{font-size:9px;letter-spacing:1.5px;color:#83a294;padding:0 16px;margin-bottom:13px}.main-nav{display:flex;flex-direction:column;gap:7px}.nav-link{width:100%;display:flex;align-items:center;gap:11px;text-align:left;padding:12px 14px;border-radius:8px;color:#afc7b8;background:transparent;font-size:12px;line-height:1.4}.nav-link>span:first-child{width:18px;font-size:19px;font-weight:400;text-align:center;line-height:20px}.nav-link:hover{background:#ffffff09;color:#fff}.nav-link.active{background:#33594c;color:#f4f8ee;font-weight:550}.nav-count{margin-left:auto;font-size:10px!important;width:auto!important;background:#ffffff12;padding:2px 6px;border-radius:4px;line-height:15px!important}.attention-dot{width:6px!important;height:6px;background:#e0b768;border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto}.draft-mode{margin:28px 10px;padding:16px 0;border-bottom:1px solid #426055;color:#c6d6b1}.draft-mode strong{font-size:11px;font-weight:500;margin-left:6px}.draft-mode p{font-size:10px;color:#88a392;margin-top:8px}.account{display:flex;align-items:center;gap:9px;border-top:1px solid #34554a;margin-top:19px;padding-top:21px}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#557260;color:#dce8d2;font-size:11px;flex:none}.account div{min-width:0;flex:1}.account strong{display:block;font-size:11px;color:#e6eddf;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account div>span{display:block;color:#81a08c;font-size:9px;margin-top:5px}.main{margin-left:204px;min-width:0;flex:1}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;background:#fbfcf9;gap:15px}.breadcrumb{font-size:11px;color:#8b998d}.breadcrumb>span{color:#c1cac0;padding:0 12px}.breadcrumb strong{font-weight:500;color:#4e6754}.topbar-right{display:flex;align-items:center;gap:12px}.safe-badge{color:#6d856d;display:flex;align-items:center;gap:7px;font-size:10px}.safe-badge .tiny-dot{color:#75a479}.mobile-settings{display:none}.main-content{max-width:1600px;margin:0 auto;padding:34px 35px 18px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:25px}.page-heading h1{font-size:27px;font-weight:650;letter-spacing:-.6px;margin:9px 0 10px;line-height:1.5}.page-heading p{font-size:11px;color:#8a968b;line-height:1.7}.heading-dot{color:#72a583}.workflow-strip{display:flex;align-items:center;gap:16px;border:1px solid #e3e9dd;background:#edf2e8;border-radius:9px;padding:14px 20px;margin-bottom:24px}.step{font-size:10px;color:#9baa94;display:flex;align-items:center;gap:8px;white-space:nowrap}.step b{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#e0e8d9;font-size:9px;font-weight:500;color:#899980}.step.active{color:#4c7152;font-weight:600}.step.active b{background:#5f8663;color:#fff}.workflow-strip i{width:30px;border-top:1px solid #cddbc8}.workflow-note{margin-left:auto;font-size:9px;color:#9aa28a}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}.editor-fields{padding:24px 23px 22px}.title-input{width:100%;color:var(--ink);font-size:22px;border:0;background:transparent;line-height:1.5;padding:1px 0 9px;font-weight:600}.title-input:focus{box-shadow:none}.title-count{text-align:right;font-size:9px;color:#a1aba0;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:20px}.editor-fields>.field{margin-top:20px}.content-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:23px 0 10px}.content-label>label{font-size:12px;font-weight:600;color:#4e6155;display:flex;align-items:center;gap:9px}.input-format{font-size:8px;border:1px solid #dfe7dc;padding:2px 4px;border-radius:3px;color:#8f9f86;font-weight:500;letter-spacing:.4px}.editor-tools{display:flex;gap:3px}.tool-button{font-size:10px;background:none;color:#6c8070;padding:4px 7px;border-radius:4px}.tool-button:hover{background:#f0f5ed}.content-input{width:100%;resize:vertical;min-height:275px;max-height:900px;border:1px solid var(--line);border-radius:8px;background:#fbfcf9;padding:16px;font-size:12px;line-height:1.95;color:#526255;font-family:"SFMono-Regular",Consolas,"Liberation Mono","PingFang SC",monospace;tab-size:2}.editor-bottom-line{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#a1ab9b;margin-top:8px;line-height:1.7}.cover-field{display:flex;gap:12px;align-items:center;border:1px dashed #dbe3d5;border-radius:8px;padding:14px;margin-top:23px;background:#fcfdfb}.cover-placeholder{width:45px;height:47px;background:#eff3e9;border-radius:6px;display:grid;place-items:center;color:#a5b795;font-size:23px;flex:none}.cover-placeholder.configured{color:#548461;background:#e3eee2}.cover-info{flex:1;min-width:0}.cover-info>label{justify-content:flex-start;gap:8px;font-size:11px}.required-tag{font-size:8px;color:#a69b75;font-weight:400;background:#f4f1e6;padding:2px 4px;border-radius:3px}.cover-info input{font-size:10px;border:0;background:transparent;padding:5px 0;box-shadow:none}.cover-info input:focus{border-bottom:1px solid #93b19a;border-radius:0}.cover-info .field-note{font-size:9px}.cover-actions{display:flex;flex-direction:column;gap:4px;align-items:center}.cover-actions .button{font-size:10px;min-height:28px;padding:6px 9px}.cover-actions .text-button{font-size:9px}.editor-footer{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-top:1px solid var(--line);gap:10px;background:#fcfdfa;border-radius:0 0 15px 15px}.save-description{font-size:9px;color:#95a18e;display:flex;align-items:center;gap:6px}.save-description .tiny-dot{width:4px;height:4px;color:#85a172}.footer-actions{display:flex;gap:9px}.footer-actions .button{padding:10px 12px;font-size:11px}.preview-panel{padding:4px 0}.preview-header{display:flex;align-items:center;justify-content:space-between;padding:0 8px 17px}.preview-header h2{font-size:13px;font-weight:600}.preview-header p{font-size:9px;color:#a0aa9b;margin-top:6px}.preview-header .icon-button{width:27px;height:27px;font-size:18px;background:#e8eee2}.phone{border:7px solid #e4e9df;background:#fff;border-radius:28px;overflow:hidden;height:617px;box-shadow:0 5px 19px #56624808;display:flex;flex-direction:column}.phone-status{height:33px;display:flex;justify-content:space-between;align-items:center;padding:0 20px;flex:none;font-size:10px;font-weight:600;color:#465042;letter-spacing:.3px}.phone-status span+span{font-size:9px;letter-spacing:1px}.phone-nav{height:36px;background:#fafbf9;display:flex;align-items:center;justify-content:space-between;padding:0 15px;color:#52604d;flex:none;font-size:10px;border-bottom:1px solid #f0f1ed}.phone-nav>span:first-child{font-size:24px;line-height:1}.phone-nav>span:last-child{letter-spacing:1px}#preview-frame{border:0;display:block;width:100%;height:100%;background:white;flex:1;min-height:0}.preview-note{text-align:center;font-size:9px;line-height:1.9;color:#9ca896;margin-top:17px}.page-footer{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#acb4a6;padding:28px 0 8px}.receipt{margin:0 22px 20px;padding:14px 16px;border-radius:8px;background:#f0f7ef;border:1px solid #dceadc;font-size:11px;line-height:1.8;color:#507d55;overflow-wrap:anywhere}.receipt.warning{background:#fff7e8;border-color:#f2dfb4;color:#8d712d}.receipt strong{display:block;margin-bottom:3px;font-size:12px}.receipt code{font-size:10px}.receipt .text-button{margin-top:8px;display:block}
/* Library and account pages. */
.list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.search-input{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:0 12px;max-width:360px;width:100%}.search-input>span{font-size:23px;color:#93a18c}.search-input input{border:0;background:none;padding-left:0;box-shadow:none}.documents-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.document-card{padding:23px;text-align:left;transition:transform .15s,box-shadow .15s;cursor:pointer}.document-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px #1e392611}.document-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.document-symbol{font-size:23px;color:#86a576;background:#f0f4e9;width:40px;height:43px;display:grid;place-items:center;border-radius:7px}.document-card h3{font-size:16px;line-height:1.7;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:54px}.document-card p{font-size:11px;color:#98a08f;line-height:1.8;margin:9px 0 24px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}.document-card-bottom{display:flex;justify-content:space-between;border-top:1px solid #edf0e7;padding-top:16px;font-size:9px;color:#a0ab95}.document-card-bottom span+span{color:#68855c}.empty-state{grid-column:1/-1;border:1px dashed #d8e2d0;padding:67px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:12px;background:#fafcf7}.empty-state .empty-icon{font-size:34px;color:#91ad80;margin-bottom:17px}.empty-state h3{font-size:17px;margin-bottom:10px;font-weight:550}.empty-state p{font-size:11px;color:#95a08d;line-height:1.8;max-width:350px}.empty-state .button{margin-top:22px}.notice{display:flex;align-items:flex-start;gap:12px;padding:15px 18px;border:1px solid #e1e8d9;background:#eef4e8;border-radius:9px;font-size:11px;line-height:1.8;color:#7b8e6e;margin-bottom:25px}.notice>span{font-size:17px;line-height:1.3}.notice.warning{background:#fcf7e9;border-color:#ece1c5;color:#9b8a60}.materials-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.material-card{padding:13px;min-width:0}.material-thumb{height:130px;background:#edf2e9;border-radius:8px;display:grid;place-items:center;overflow:hidden;color:#b0c1a1;font-size:35px;margin-bottom:14px}.material-thumb img{width:100%;height:100%;object-fit:cover}.material-card h3{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 2px 6px;font-weight:550}.material-card p{font-size:9px;color:#9aa68f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 2px 15px}.material-card .button{width:100%}.operations-list{display:flex;flex-direction:column;gap:13px}.operation-card{padding:19px 22px;display:flex;gap:16px;align-items:flex-start;min-width:0}.operation-indicator{width:33px;height:33px;display:grid;place-items:center;flex:none;border-radius:50%;background:#ecf3e6;color:#709865;font-size:16px}.operation-indicator.warning{background:#fcf2d9;color:#b89842}.operation-indicator.error{background:#faeae6;color:#b26b5e}.operation-content{flex:1;min-width:0}.operation-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:8px}.operation-heading h3{font-size:12px;font-weight:600}.operation-meta{font-size:10px;color:#93a087;line-height:1.9;overflow-wrap:anywhere}.operation-details{font-size:10px;margin-top:10px;background:#f7f9f3;border-radius:6px;padding:10px 12px;line-height:1.8;overflow-wrap:anywhere}.operation-actions{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.settings-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr);gap:24px;max-width:1060px}.settings-fields{padding:26px;display:flex;flex-direction:column;gap:24px}.settings-actions{display:flex;gap:10px}.inline-alert{padding:12px 14px;border-radius:7px;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.inline-alert.warning{background:#f8f5e9;color:#928359;border:1px solid #ece6d0}.inline-alert.error{background:#fcf0ec;color:#a75340;border:1px solid #f0d7ce}.help-card{padding:27px 30px;background:#f0f4e9}.help-card h2{font-size:18px;font-weight:600;margin:9px 0 23px}.help-card ol{margin:0;padding-left:20px;color:#84a16e;font-size:12px}.help-card li{padding-left:5px;margin-bottom:22px}.help-card strong{font-size:12px;font-weight:550;color:#5b7450}.help-card p{font-size:11px;color:#91a086;line-height:1.8;margin-top:6px}.settings-origin{font-size:10px;color:#9aa58e;border-top:1px solid #dee7d5;padding-top:14px;overflow-wrap:anywhere;line-height:1.8}
/* Dialogs, feedback, and sign-in. */
.dialog{width:min(490px,calc(100% - 32px));border:1px solid var(--line);border-radius:17px;padding:26px;box-shadow:0 20px 90px #19362929;color:var(--text);max-height:calc(100vh - 48px);overflow:auto}.dialog::backdrop{background:#18352b70;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.dialog-heading h2{font-size:19px;font-weight:600}.dialog>.field,.dialog form>.field{margin-top:22px}.dialog .muted{font-size:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:27px}.dialog .inline-alert{margin-top:16px}.confirm-copy{font-size:13px;line-height:1.9;color:#73816e;white-space:pre-line}.confirm-detail{padding:15px;background:#f1f5eb;border-radius:8px;font-size:11px;line-height:1.9;white-space:pre-line;color:#6b835e;margin-top:18px;overflow-wrap:anywhere}.toasts{position:fixed;right:24px;bottom:24px;z-index:30;display:flex;flex-direction:column;align-items:flex-end;gap:10px;pointer-events:none;max-width:min(440px,calc(100vw - 32px))}.toast{padding:14px 18px;box-shadow:0 8px 32px #23492a1a;border:1px solid #dce7d3;background:#f9fcf4;color:#517148;border-radius:9px;font-size:12px;line-height:1.7;pointer-events:auto;animation:appear .2s ease-out;overflow-wrap:anywhere}.toast.error{background:#fff7f1;color:#a36b4a;border-color:#ecd9c6}.toast.warning{background:#fff9e9;color:#9b813d;border-color:#f0e3bc}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fbfcf8}.auth-story{padding:40px 8%;background:#173e35;color:#ceddc9;position:relative;overflow:hidden;min-height:800px;display:flex;flex-direction:column;align-items:center}.auth-story>.brand{align-self:flex-start;color:#f2f7e9}.auth-story-copy{position:relative;max-width:420px;width:100%;margin:auto 0}.auth-story-copy>.eyebrow{font-size:11px;color:#9db694;letter-spacing:3px}.auth-story h1{font-size:43px;font-weight:550;letter-spacing:1px;line-height:1.6;color:#edf3df;margin:22px 0}.auth-story-copy>p{font-size:12px;line-height:2.1;color:#9fb8a1}.auth-sheet{width:242px;min-height:245px;background:#f1f1dc;border-radius:4px;padding:25px 27px;margin:38px auto 20px;transform:rotate(-5deg);box-shadow:14px 15px 0 #78997529,0 10px 35px #0a271a40;position:relative}.sheet-date{font-size:7px;letter-spacing:2px;color:#98a788}.sheet-rule{height:1px;background:#cbd4b7;margin:12px 0 17px}.auth-sheet h2{font-family:serif;font-size:23px;line-height:1.6;font-weight:500;color:#526447;margin-bottom:15px}.sheet-lines{height:4px;background:#d3dcc0;margin-bottom:9px;border-radius:2px;width:100%}.sheet-lines.short{width:70%}.sheet-tag{font-size:8px;color:#6c8454;display:block;margin-top:20px}.auth-foot{font-size:10px;color:#789a80;margin-top:35px;text-align:center;line-height:1.8}.auth-form-wrap{display:grid;place-items:center;padding:45px}.auth-form{max-width:340px;width:100%}.auth-form>.eyebrow{font-size:9px;color:#99a98d;letter-spacing:2px}.auth-form h2{font-size:29px;margin:13px 0 10px;font-weight:600}.auth-form>.muted{font-size:12px;margin-bottom:35px}.auth-form .field{margin-bottom:22px}.auth-form .field input{padding:13px 14px;background:white;font-size:13px}.auth-form>.button{margin-top:15px;padding:14px 18px;justify-content:space-between;font-size:13px}.auth-note{font-size:9px;color:#a2ad99;line-height:1.8;margin-top:23px;display:flex;align-items:center;gap:7px}.auth-note .tiny-dot{width:4px;height:4px}
@media(min-width:1600px){.editor-layout{grid-template-columns:minmax(0,1fr) 340px;gap:36px}.phone{width:320px;margin:0 auto}.preview-header{padding-left:16px;padding-right:16px}.content-input{min-height:330px}}@media(max-width:1250px){.sidebar{width:183px;padding-left:12px;padding-right:12px}.main{margin-left:183px}.main-content{padding:28px 25px 16px}.topbar{padding:0 25px}.editor-layout{grid-template-columns:minmax(0,1fr) 267px;gap:19px}.phone{height:596px}.workflow-note{display:none}.page-heading h1{font-size:24px}.editor-fields{padding:20px}.card-heading{padding:19px 20px}.editor-footer{flex-direction:column-reverse;align-items:stretch;padding:17px 20px;gap:12px}.footer-actions{justify-content:flex-end}.save-description{justify-content:center}.documents-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.materials-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.field-row{grid-template-columns:1fr 1.1fr;gap:12px}.content-label{align-items:flex-start}.editor-tools{gap:0}.tool-button{padding:3px 5px}.cover-field{padding:11px;gap:9px}.cover-placeholder{display:none}}@media(max-width:1040px){.sidebar{width:76px;padding:25px 9px 17px}.sidebar .brand{padding-left:9px;margin-bottom:35px}.sidebar .brand>span+span,.sidebar-label,.nav-count,.draft-mode,.account div,.account .avatar{display:none}.nav-link{font-size:0;justify-content:center;padding:13px}.nav-link>span:first-child{font-size:22px}.sidebar-bottom>.nav-link{font-size:0}.sidebar-bottom{margin-top:auto}.account{justify-content:center;padding-top:16px}.attention-dot{position:absolute;right:10px;margin-top:-17px}.main{margin-left:76px}.main-content{padding:25px 22px 16px}.topbar{padding:0 22px;height:63px}.editor-layout{grid-template-columns:minmax(0,1fr) 260px}.title-input{font-size:20px}.page-heading h1{font-size:23px}.workflow-strip{gap:12px;padding:13px 16px}.settings-layout{grid-template-columns:1fr 310px;gap:20px}.settings-fields{padding:21px}.help-card{padding:25px}.auth-story h1{font-size:36px}}@media(max-width:850px){.editor-layout{grid-template-columns:minmax(0,1fr)}.preview-panel{max-width:380px;width:100%;margin:12px auto 0}.phone{height:630px;width:310px;margin:auto}.preview-header{padding-left:35px;padding-right:35px}.editor-footer{flex-direction:row;align-items:center}.save-description{font-size:8px}.editor-fields{padding:23px}.field-row{grid-template-columns:1fr 1.5fr;gap:18px}.cover-placeholder{display:grid}.page-heading h1{font-size:25px}.settings-layout{grid-template-columns:1fr}.settings-card,.help-card{max-width:640px}.materials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-story{padding:35px 9%;min-height:720px}.auth-form-wrap{padding:35px}.auth-story h1{font-size:30px}.auth-story-copy>p{font-size:10px}.auth-sheet{width:215px}.auth-foot{font-size:8px}.auth-story .brand{font-size:20px}}
@media(max-width:600px){.sidebar{position:fixed;inset:auto 0 0;width:100%;height:67px;padding:6px 7px calc(6px + env(safe-area-inset-bottom));flex-direction:row;border-top:1px solid #496451;background:#173e35;z-index:10}.sidebar .brand,.sidebar-bottom{display:none}.main-nav{flex:1;flex-direction:row;justify-content:space-around;gap:3px}.nav-link{padding:5px 8px;display:flex;flex-direction:column;gap:3px;font-size:9px!important;width:25%;position:relative;line-height:1.4}.nav-link>span:first-child{font-size:18px;line-height:19px}.attention-dot{right:25%;top:22px}.main{margin:0;width:100%;padding-bottom:67px}.topbar{height:58px;padding:0 18px}.breadcrumb{font-size:10px}.breadcrumb>span{padding:0 8px}.safe-badge{font-size:8px;gap:5px}.mobile-settings{display:inline-flex;padding:6px 8px!important;font-size:10px!important;min-height:28px!important}.topbar-right{gap:9px}.main-content{padding:24px 15px 15px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:22px}.page-heading>.button{font-size:9px;padding:9px 10px;min-height:31px;margin-top:27px}.page-heading h1{font-size:21px;letter-spacing:-.7px;margin:9px 0}.page-heading .eyebrow{font-size:7px;letter-spacing:1.2px}.page-heading p{font-size:9px;max-width:260px}.workflow-strip{padding:12px;justify-content:space-between;gap:7px;margin-bottom:18px}.step{font-size:9px;gap:5px}.step b{width:16px;height:16px;font-size:8px}.workflow-strip i{width:14px}.editor-layout{gap:18px}.card-heading{padding:18px 17px;gap:7px}.card-title{gap:7px}.card-title h2{font-size:13px}.soft-badge{font-size:8px;padding:3px 5px}.card-heading .text-button{font-size:10px}.editor-fields{padding:19px 16px}.title-input{font-size:20px}.field-row{grid-template-columns:1fr;gap:17px}.field label{font-size:11px}.field input,.field textarea{font-size:11px}.content-label>label{font-size:11px}.input-format{font-size:7px}.tool-button{font-size:9px;padding:4px 5px}.content-input{font-size:11px;min-height:320px;padding:13px}.editor-bottom-line{font-size:8px}.cover-placeholder{display:none}.cover-info>label{font-size:10px}.cover-info input{font-size:9px}.cover-info .field-note{font-size:8px}.cover-field{padding:11px;gap:6px}.cover-actions .button{font-size:9px;padding:6px 7px}.editor-footer{flex-direction:column-reverse;align-items:stretch;padding:16px;gap:12px}.footer-actions{display:grid;grid-template-columns:1fr 1.65fr}.footer-actions .button{font-size:11px;padding:12px 10px}.save-description{font-size:9px}.phone{max-width:310px;width:100%;height:610px}.preview-panel{max-width:335px;padding:10px}.preview-header{padding-left:10px;padding-right:10px}.preview-note{font-size:8px}.page-footer{font-size:8px;padding-top:25px;gap:10px}.documents-grid{grid-template-columns:1fr;gap:13px}.document-card{padding:22px}.document-card h3{min-height:0}.document-card p{min-height:0;margin-bottom:20px}.document-card-top{margin-bottom:13px}.notice{padding:13px;font-size:10px;gap:9px;margin-bottom:18px}.materials-grid{gap:12px}.material-card{padding:10px}.material-thumb{height:108px}.material-card h3{font-size:11px}.material-card .button{font-size:9px}.operation-card{padding:16px 13px;gap:10px}.operation-indicator{width:28px;height:28px;font-size:13px}.operation-heading{align-items:flex-start;gap:7px}.operation-heading h3{font-size:11px}.operation-meta{font-size:9px}.operation-actions .button{font-size:9px;padding:8px}.settings-fields{padding:20px;gap:23px}.settings-actions .button{flex:1}.help-card{padding:23px}.toasts{bottom:84px;right:16px}.toast{font-size:11px;padding:12px 15px}.dialog{padding:22px}.dialog-heading h2{font-size:17px}.confirm-copy{font-size:12px}.auth-screen{display:block}.auth-story{min-height:0;padding:28px 25px 33px;align-items:flex-start}.auth-story>.brand{font-size:20px}.auth-story-copy{margin:30px 0 0}.auth-story-copy>.eyebrow{font-size:8px;letter-spacing:2px}.auth-story h1{font-size:27px;margin:12px 0 0;line-height:1.6}.auth-story h1 br{display:none}.auth-story-copy>p,.auth-sheet,.auth-foot{display:none}.auth-form-wrap{padding:35px 26px 50px}.auth-form{max-width:400px}.auth-form>.eyebrow{font-size:8px}.auth-form h2{font-size:24px;margin-top:11px}.auth-form>.muted{margin-bottom:27px}.auth-form .field{margin-bottom:19px}.auth-form .field input{padding:12px}.auth-note{font-size:8px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.import-image-note{font-size:9px;line-height:1.8;color:#9aa78f;margin-top:10px}.settings-logout{margin-top:15px;font-size:11px}

/* Administrator-only machine identities. Tokens never appear in list or audit markup. */
.machine-settings-link{display:flex;width:100%;margin-top:20px}.machine-layout{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.2fr);gap:24px;align-items:start}.machine-subheading{font-size:12px;font-weight:600;margin-bottom:10px}.machine-scope-list{padding-left:18px;margin:0 0 13px;font-size:11px;line-height:1.9;color:#657c6d}.machine-scope-list li+li{margin-top:5px}.machine-scope-codes{margin-top:13px;font-size:10px;line-height:1.8;color:#718579}.machine-scope-codes summary{cursor:pointer}.machine-scope-codes>div{margin-top:8px;padding:10px;background:#f4f7f1;border-radius:6px;overflow-wrap:anywhere;font-family:monospace}.machine-identities-list{padding:7px 23px 12px}.machine-identity{padding:19px 0}.machine-identity+.machine-identity{border-top:1px solid var(--line)}.machine-identity-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.machine-identity-heading h3{font-size:13px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}.machine-identity-meta{margin:0;display:flex;flex-direction:column;gap:8px;font-size:10px;line-height:1.8}.machine-identity-meta>div{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px}.machine-identity-meta dt{color:#91a092}.machine-identity-meta dd{margin:0;color:#667d6a;overflow-wrap:anywhere}.machine-revoke{color:var(--danger);margin-top:12px}.machine-identities-list .empty-state,.machine-audit-list .empty-state{border:0;background:transparent;padding:35px 15px}.machine-loading{font-size:11px;padding:20px 0;line-height:1.8}.machine-audit-card{margin-top:24px}.machine-audit-note{padding:17px 23px 0;font-size:10px;line-height:1.8;color:#8d998c}.machine-audit-list{padding:12px 23px 22px;overflow:auto}.machine-audit-table{border-collapse:collapse;width:100%;font-size:10px;text-align:left;line-height:1.8}.machine-audit-table th{font-weight:600;color:#637d68;background:#f4f7f0;white-space:nowrap}.machine-audit-table td,.machine-audit-table th{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}.machine-audit-table td{color:#7f8e7f;overflow-wrap:anywhere;max-width:280px}.machine-audit-table td:first-child{white-space:nowrap}.machine-token-dialog .muted{overflow-wrap:anywhere}.machine-token-dialog textarea{font-family:monospace;word-break:break-all;resize:none;background:#f8faf5}.machine-token-dialog .field-note{margin-top:10px;display:block}.machine-token-dialog .dialog-actions{flex-wrap:wrap}
@media(max-width:1040px){.machine-layout{grid-template-columns:minmax(260px,1fr) minmax(0,1fr);gap:18px}.machine-identities-list{padding-left:18px;padding-right:18px}}
@media(max-width:850px){.machine-layout{grid-template-columns:1fr}.machine-identities-card{max-width:none}}
@media(max-width:600px){.machine-layout{gap:18px}.machine-identities-list{padding:3px 16px 9px}.machine-identity-meta{font-size:10px}.machine-audit-card{margin-top:18px}.machine-audit-note{padding:14px 16px 0}.machine-audit-list{padding:10px 12px 16px}.machine-audit-table td,.machine-audit-table th{padding:9px 8px}.machine-audit-table{min-width:500px}.machine-token-dialog .dialog-actions .button{flex:1}.machine-scope-list{font-size:10px}#machine-create-form .settings-fields{gap:20px}}
