/* DocMint 0.2 — local, self-contained design tokens and component styles. */
:root{color-scheme:light;--bg:#f7f8f5;--surface:#fff;--ink:#243b32;--muted:#596b61;--line:#dce3dc;--green:#146b55;--green-hover:#0d5543;--light:#edf5ef;--warm:#f3f2e9;--warning-bg:#fff7e7;--warning:#79531b;--red:#aa342b;--red-bg:#fff1ee;--focus:#176bba;--radius:12px;--shadow:0 8px 32px #203e3008;font-family:"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary,[tabindex]{outline-offset:4px}:focus-visible{outline:3px solid var(--focus)}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--green);text-underline-offset:3px}a:hover{text-decoration:underline}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-.8px}h2{font-size:17px;line-height:1.4;font-weight:650}h3{font-size:15px;font-weight:650}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:12px}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-defs{width:0;height:0;position:absolute;pointer-events:none}.skip{position:fixed;left:12px;top:-100px;z-index:100;background:var(--ink);color:white;padding:14px 20px;border-radius:6px}.skip:focus{top:12px}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:218px;background:var(--surface);border-right:1px solid var(--line);padding:28px 18px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:9px;font-size:29px;letter-spacing:-1.4px;font-weight:750;color:var(--ink);text-decoration:none;padding:0 8px}.brand:hover{text-decoration:none}.brand-icon{display:grid;place-items:center;background:var(--green);color:white;border-radius:10px;width:33px;height:35px;font:italic 29px Georgia,serif;padding-right:4px;letter-spacing:-3px}.brand-dot{color:var(--green);margin-left:-8px}.workspace-label{font-size:11px;font-weight:600;letter-spacing:.9px;color:var(--muted);margin:40px 10px 16px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav{border:0;background:none;text-align:left;color:var(--muted);display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;font-size:14px;min-height:46px}.nav:hover{background:#f2f5f0}.nav.active{background:var(--light);color:var(--green);font-weight:650}.nav .icon{width:19px;height:19px}.count{font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;padding:1px 7px;background:#edf1e9;border-radius:5px;color:#4e6658}.nav>.count{margin-left:auto}.settings-nav{margin-top:14px}.sidebar-note{background:#f6f7ee;border:1px solid #e6e9da;border-radius:10px;padding:18px 15px;margin-top:33px}.sidebar-note>.icon{color:var(--green);margin-bottom:12px}.sidebar-note strong{display:block;font-size:13px}.sidebar-note p{font-size:12px;color:var(--muted);margin:7px 0 16px}.sidebar-bottom{margin-top:auto;padding:22px 3px 0;display:flex;gap:9px;align-items:center}.local-avatar{width:30px;height:30px;display:grid;place-items:center;background:var(--warm);color:#5e6351;border-radius:50%;flex:none}.sidebar-bottom strong{font-size:12px}.sidebar-bottom small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
#document-workbench{scroll-margin-top:88px}.shell{margin-left:218px}.topbar{height:68px;position:sticky;top:0;z-index:15;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px}.breadcrumbs{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}.breadcrumbs strong{font-weight:550;color:var(--ink)}.crumb-divider{color:#64756a;margin:0 12px}.mobile-brand{display:none}.top-actions{display:flex;align-items:center;gap:16px}.connection{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.live-dot{height:6px;width:6px;border-radius:50%;background:#238765}.connection.offline .live-dot{background:var(--red)}.version-tag{font-size:11px;font-weight:650;letter-spacing:.5px;border:1px solid var(--line);background:#f8faf5;border-radius:5px;padding:4px 7px;color:var(--muted)}main{max-width:1510px;margin:auto;padding:28px 32px 16px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.eyebrow{font-size:11px;letter-spacing:1.4px;font-weight:650;color:var(--muted);display:block;margin-bottom:8px}.lead{font-size:14px;color:var(--muted);margin-top:10px}.privacy-chip{background:#edf5ef;border:1px solid #d7e6da;color:var(--green);font-size:12px;display:flex;align-items:center;gap:7px;padding:8px 11px;border-radius:7px;white-space:nowrap}.privacy-chip .icon{width:16px;height:16px}
.button,.icon-button,.zoom-fit{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid transparent;border-radius:7px;min-height:42px;line-height:1.35;font-weight:600;font-size:13px;gap:8px;padding:10px 15px;transition:background .15s,box-shadow .15s}.button:hover,.icon-button:hover{text-decoration:none}.primary{background:var(--green);color:#fff}.primary:hover{background:var(--green-hover)}.secondary{color:#355d48;border-color:var(--line);background:#fff}.secondary:hover,.icon-button:hover,.zoom-fit:hover{background:var(--light);border-color:#b9ccbe}.danger{background:var(--red);color:white}.danger:hover{background:#872a23}.wide{width:100%}.icon-button{width:38px;min-height:38px;padding:8px;background:#fff;border-color:var(--line);color:var(--muted);flex:none}.icon-button .icon{width:18px;height:18px}.text-button{background:none;border:0;color:var(--green);font-weight:600;font-size:13px;padding:8px 0;min-height:36px}.text-button:hover{text-decoration:underline}.button:active,.icon-button:active{transform:translateY(1px)}
.upload-card{display:flex;align-items:center;gap:16px;padding:18px 20px;background:#fff;border:1px dashed #a6c7b3;border-radius:var(--radius);margin-bottom:22px;transition:background .15s,border-color .15s}.upload-card.dragover{background:#e2f1e7;border-color:var(--green)}.upload-icon{height:45px;width:45px;display:grid;place-items:center;background:var(--light);color:var(--green);border-radius:9px;flex:none}.upload-copy{flex:1;min-width:0}.upload-copy strong{display:block;font-weight:600;font-size:14px}.upload-copy span{display:block;color:var(--muted);font-size:12px;margin-top:5px}.upload-card .text-button{margin-right:4px;white-space:nowrap}.upload-status{background:#edf5ef;border:1px solid #c4dacb;border-radius:8px;padding:13px 16px;margin:-8px 0 20px}.upload-status>div{display:flex;justify-content:space-between;font-size:12px;gap:12px}.upload-status strong{font-weight:550}.upload-status progress{margin-top:10px}progress{width:100%;height:6px;accent-color:var(--green);display:block}
.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.primary-column,.options-column{min-width:0}.options-column{position:sticky;top:88px}.file-section{margin-bottom:18px}.document-list-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}.document-list-head h2{font-size:14px;display:flex;align-items:center;gap:8px}.list-actions{display:flex;align-items:center;gap:8px}.search-field{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:0 10px;min-width:0;min-height:38px}.search-field>.icon{width:16px;height:16px;color:var(--muted)}.search-field input{background:none!important;border:0!important;padding:8px 0!important;min-width:0;color:var(--ink)!important;font-size:13px!important;border-radius:0!important}.list-actions .search-field{max-width:180px}.search-field:focus-within{outline:3px solid var(--focus);outline-offset:2px}.search-field input:focus{outline:0}.documents-list{display:flex;flex-direction:column;gap:7px;max-height:187px;overflow:auto;scrollbar-gutter:stable;padding:2px}.document-row{display:flex;align-items:center;gap:12px;padding:12px 13px;border:1px solid var(--line);background:white;border-radius:8px}.document-row.selected{border-color:#87bba1;background:#f2f8f3;box-shadow:inset 3px 0 var(--green)}.file-type{height:37px;width:36px;background:#e9f3ee;color:var(--green);font-size:10px;font-weight:750;display:grid;place-items:center;border-radius:6px;flex:none}.file-type.pdf{background:#fff0e7;color:#9d4e28}.doc-select{flex:1;min-width:0;border:0;background:none;text-align:left;color:var(--ink);padding:3px}.doc-select strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px;font-weight:650}.doc-select small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.doc-state{font-size:11px;color:var(--green);white-space:nowrap;display:flex;align-items:center;gap:5px}.doc-state.failed{color:var(--red)}.delete-file{color:var(--muted);background:none;border:0;width:34px;min-height:36px;border-radius:5px;display:grid;place-items:center;flex:none}.delete-file:hover{background:var(--red-bg);color:var(--red)}.delete-file .icon{width:16px;height:16px}.empty-list{background:#fff;border:1px solid var(--line);border-radius:8px;padding:17px;color:var(--muted);font-size:13px;text-align:center}.list-skeleton{height:64px;border-radius:7px;background:linear-gradient(100deg,#e8ede7 25%,#f7faf6 50%,#e8ede7 75%);background-size:200% 100%;animation:shimmer 1.3s linear infinite}
.workspace-empty{border:1px solid var(--line);background:radial-gradient(ellipse at 50% 10%,#f2f6ec,#fff 70%);border-radius:var(--radius);min-height:370px;text-align:center;padding:52px 25px 32px;display:flex;align-items:center;flex-direction:column;justify-content:center}.workspace-empty h2{font-size:21px;margin:23px 0 10px;letter-spacing:-.4px}.workspace-empty p{color:var(--muted);font-size:14px;margin-bottom:20px}.empty-art{height:72px;width:66px;position:relative}.empty-sheet{border:1px solid #bacdb8;border-radius:7px;background:white;padding:10px;width:54px;height:72px;transform:rotate(-6deg);box-shadow:6px 5px 0 #e4edda}.empty-sheet>.icon{color:var(--green);width:21px;height:21px;margin-bottom:3px}.empty-sheet>span{height:2px;display:block;background:#c0d0ba;margin:5px 0}.empty-sheet>span:last-child{width:21px}.empty-seal{position:absolute;right:-6px;bottom:-6px;width:29px;height:29px;border:3px solid white;border-radius:50%;background:var(--green);color:white;display:grid;place-items:center}.empty-seal .icon{width:18px;height:18px}.empty-features{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-top:30px}.empty-features span::before{content:'✓';color:var(--green);margin-right:6px}
.options-card,.actions-card{border:1px solid var(--line);background:white;border-radius:var(--radius);box-shadow:var(--shadow)}.options-card>summary{display:none}.options-content{padding:22px 19px}.card-heading{display:flex;align-items:center;gap:9px;margin-bottom:18px}.card-heading h2{font-size:15px}.step-number{width:23px;height:23px;border-radius:50%;background:#eaf2e2;color:#476044;font-size:11px;display:grid;place-items:center}.profile-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;padding:14px;background:#f5f7f1;border-radius:7px}.profile-summary span{color:var(--muted);font-size:11px;display:block;margin-bottom:3px}.profile-summary strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}.options-content>.small{margin-top:12px;line-height:1.65}.preserve-note{display:flex;align-items:flex-start;gap:9px;padding-top:17px;margin-top:17px;border-top:1px solid var(--line)}.preserve-note>.icon{color:var(--green);width:18px;height:18px;margin-top:2px}.preserve-note strong{font-size:12px}.preserve-note p{font-size:12px;color:var(--muted);margin-top:5px}.actions-card{padding:19px;margin-top:14px}.quote{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:17px}.quote>span{font-size:12px;color:var(--muted)}.quote strong{font-size:23px;font-weight:650;letter-spacing:-.6px}.quote small{width:100%;font-size:12px;color:var(--muted)}.actions-card>.primary{justify-content:space-between;min-height:46px}.actions-card>.small{margin-top:10px;line-height:1.5}.simulation-note{font-size:12px;color:var(--muted);margin-top:14px;text-align:center}.shortcut-note{padding:20px 5px}.shortcut-note h3{font-size:13px;font-weight:600}.shortcut-note p{font-size:12px;color:var(--muted);margin-top:6px}
#document-workbench{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:22px;scroll-margin-top:90px}.workbench-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}.document-title{display:flex;align-items:flex-start;gap:11px;min-width:0}.document-title .file-type{margin-top:5px}.document-title>div{min-width:0}.workbench-top .eyebrow{font-size:10px;letter-spacing:1px;margin-bottom:6px}.workbench-top h2{font-size:18px;overflow-wrap:anywhere}.workbench-top p{font-size:12px;color:var(--muted);margin-top:4px}.document-actions{display:flex;gap:7px;align-items:center;flex:none}.document-actions>.button{font-size:12px;min-height:38px;padding:8px 10px}.metrics{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:17px}.metric{display:flex;align-items:baseline;gap:5px;padding:7px 10px;background:#f5f7f2;border-radius:5px;color:var(--muted);font-size:12px}.metric strong{font-size:15px;color:var(--ink);font-weight:650}.tabs{display:flex;border-bottom:1px solid var(--line);gap:21px;overflow:auto;margin-bottom:19px;scrollbar-width:thin}.tab{border:0;border-bottom:2px solid transparent;background:none;white-space:nowrap;padding:12px 0;color:var(--muted);font-size:13px;min-height:43px}.tab.active{color:var(--green);border-bottom-color:var(--green);font-weight:650}.tab-panel{min-width:0}.tab-panel:focus-visible{outline-offset:8px}.section-caption{display:flex;justify-content:space-between;align-items:center;margin:15px 0 5px;gap:12px}.section-caption h3{font-size:14px}.section-caption .text-button{font-size:12px}.issue{display:flex;align-items:flex-start;gap:10px;border-bottom:1px solid #e8ede5;padding:16px 0}.issue input{width:17px;height:17px;flex:none;margin:2px 0 0;accent-color:var(--green)}.issue>.issue-copy{flex:1;min-width:0}.issue strong{font-size:13px;font-weight:600;display:block}.issue small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:5px}.issue-count{white-space:nowrap;font-size:11px;border-radius:5px;padding:3px 6px;background:#fcf3dd;color:#76591e;flex:none}.issue-count.ok{background:#edf4e7;color:#456b40}.warnings-box{border:1px solid #eed9aa;border-radius:7px;background:var(--warning-bg);margin:0 0 16px;padding:0 13px}.warnings-box>summary{padding:11px 0;cursor:pointer;color:var(--warning);font-size:12px;font-weight:600}.warnings-box>summary span{font-weight:400;margin-left:5px}.warning{color:var(--warning);font-size:12px;line-height:1.65;padding:10px 12px;background:var(--warning-bg);border:1px solid #eed9aa;border-radius:7px;margin:10px 0}.warnings-box .warning{padding:8px 0;background:none;border:0;border-top:1px solid #eadbb7;margin:0}.callout{color:var(--warning);background:var(--warning-bg);border:1px solid #eed9aa;border-radius:8px;padding:15px 17px;font-size:13px;line-height:1.7;margin:18px 0}.analysis-state{padding:21px;background:#f6f8f2;border:1px solid var(--line);border-radius:8px;text-align:center;font-size:13px}.analysis-state strong{display:block;margin-bottom:7px}.analysis-state p{color:var(--muted)}.analysis-state .button{margin-top:12px}.spinner{height:15px;width:15px;border:2px solid #b5ceb9;border-right-color:var(--green);border-radius:50%;display:inline-block;animation:spin .9s linear infinite}.job-progress{background:#edf5ef;border:1px solid #c8dccd;border-radius:8px;padding:17px;margin-top:20px}.job-progress>div{display:flex;align-items:center;gap:10px;font-size:13px}.job-progress strong{font-weight:600}.job-progress #job-percent{margin-left:auto}.job-progress progress{margin:12px 0}.job-progress p{font-size:12px;color:var(--muted)}.result-box{border:1px solid #bfdcc8;background:#f0f7f1;border-radius:8px;margin-top:20px;padding:17px;font-size:13px;line-height:1.7}.result-box.failed{background:var(--red-bg);border-color:#e8bcb5}.result-heading{display:flex;align-items:flex-start;gap:8px;margin-bottom:8px}.result-heading .icon{color:var(--green);width:19px;height:19px;margin-top:2px}.result-heading strong{font-weight:650}.result-box p{color:var(--muted);font-size:12px;margin-top:7px}.result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.result-actions .button{min-height:38px;font-size:12px;padding:8px 12px}
.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}.page-controls,.zoom-controls{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.page-controls .icon-button{font-size:23px;font-weight:400}.page-input-label{display:flex;align-items:center;gap:7px;font-size:12px}.page-input-label input{width:54px!important;padding:7px 5px!important;text-align:center;min-height:36px}.page-input-label input::-webkit-inner-spin-button{appearance:none}.zoom-fit{background:#fff;border-color:var(--line);color:var(--muted);min-height:38px;padding:7px 10px;min-width:57px;font-size:12px}.preview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.preview-pane{min-width:0}.preview-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;font-size:12px;font-weight:600;color:#3c5d49}.preview-label>span:last-child{font-size:10px;font-weight:500;color:var(--muted)}.source-badge{letter-spacing:.3px}.preview-paper{background:#ecefe9;border:1px solid #d5dfd3;border-radius:7px;min-height:280px;height:clamp(340px,55vh,620px);padding:12px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;position:relative}.preview-paper img{display:block;width:100%;max-width:none;height:auto;background:white;box-shadow:0 3px 12px #18342613}.preview-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:11px;height:100%;min-height:240px;text-align:center;padding:24px;color:var(--muted);font-size:13px;line-height:1.7}.preview-empty .icon{width:29px;height:29px;color:#487357}.preview-empty button{font-size:12px}.preview-skeleton{height:100%;min-height:240px;background:linear-gradient(100deg,#e2e8df,#f8faf7,#e2e8df);background-size:200% 100%;animation:shimmer 1.2s linear infinite;border-radius:3px}.preview-loading .preview-paper img{display:none}.preview-foot{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-top:14px}.sync-label{display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap}.sync-label input{accent-color:var(--green)}.preview-foot p{max-width:65%;font-size:12px;text-align:right}.preview-dialog{width:min(1450px,calc(100vw - 40px));max-width:none;height:calc(100dvh - 40px);max-height:none;padding:24px}.preview-dialog .preview-paper{height:calc(100dvh - 224px)}.preview-dialog>.small{margin-top:12px}.preview-dialog .dialog-heading{margin-bottom:13px}.preview-dialog .preview-label{margin-bottom:8px}
.reading-tools{display:flex;align-items:center;gap:10px;margin-bottom:14px}.reading-tools .search-field{flex:1}.reading-paper{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.85 "Segoe UI",Arial,sans-serif;background:#fafbf7;color:#355642;border:1px solid var(--line);border-radius:8px;padding:22px;max-height:650px;overflow:auto;margin:16px 0 0}.reading-paper mark{background:#fff0b2;color:#2b3d27;padding:0 1px;border-radius:2px}.doi-list{font-size:12px;overflow-wrap:anywhere;line-height:1.7}.doi-list strong{display:block;margin-bottom:7px}.doi-list a{display:block;padding:5px 0}.ai-intro{display:flex;align-items:center;gap:12px;background:#f2f7ec;border-radius:8px;padding:17px;margin-bottom:20px}.ai-intro h3{font-size:14px}.ai-intro p{font-size:13px;color:var(--muted);margin-top:5px}.ai-mark{color:var(--green);font-size:28px}.consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.7;margin:17px 0;color:var(--muted)}.consent input{width:17px;height:17px;margin:3px 0 0;accent-color:var(--green);flex:none}#ai-status{margin-top:13px}
.report-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.report-heading p{margin-top:6px}.report-heading .button{font-size:12px;white-space:nowrap}.change-summary{background:#f4f7f0;padding:14px;border:1px solid #dfe8d8;border-radius:7px;margin:15px 0;font-size:13px}.change-summary strong{display:block;margin-bottom:5px}.change-card{border:1px solid var(--line);border-radius:8px;padding:16px;margin-top:13px}.change-card h4{font-size:13px;font-weight:650;margin:0 0 7px}.change-card>p{font-size:12px;color:var(--muted);margin-bottom:12px;overflow-wrap:anywhere}.change-row{display:grid;grid-template-columns:110px 1fr 1fr;gap:12px;border-top:1px solid #e9eee5;padding-top:9px;margin-top:9px;font-size:12px;align-items:start}.change-row>span{font-weight:600}.change-row small{display:block;font-size:11px;color:var(--muted);margin-bottom:3px}.change-row div{overflow-wrap:anywhere}.change-row>div:last-child{color:var(--green)}#more-changes{margin-top:16px}
.templates-grid,.tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:20px}.template-card,.tool-card,.settings-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:24px;box-shadow:var(--shadow);min-width:0}.template-art{height:142px;background:#f2f5ed;border-radius:7px;display:grid;place-items:center;margin-bottom:21px}.template-sheet{height:106px;width:76px;background:#fff;border:1px solid #c8d6bf;padding:18px 12px;box-shadow:3px 5px 8px #2b40200b}.template-sheet>b{display:block;height:4px;width:31px;background:#698c66;margin-bottom:12px}.template-sheet>i{display:block;height:2px;background:#b8c9b0;margin-bottom:8px}.template-sheet>i:nth-child(3){width:37px}.template-card>h2,.tool-card>h2{font-size:17px}.template-card>p,.tool-card>p{font-size:13px;color:var(--muted);margin:9px 0 17px;min-height:42px}.template-card>small{display:block;font-size:12px;color:var(--muted);margin-bottom:20px}.template-card.active{border-color:#8eba9d}.tool-icon{width:44px;height:44px;display:grid;place-items:center;background:#edf4e8;color:var(--green);border-radius:10px;font-size:27px;margin-bottom:20px}.tool-card .button{font-size:13px}.tool-status{font-size:12px;color:var(--muted);display:block;margin:0 0 14px}.history-row{border:1px solid var(--line);background:#fff;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:18px 20px}.history-row>div:first-child{min-width:0}.history-row h3{font-size:14px;overflow-wrap:anywhere}.history-row p{font-size:12px;color:var(--muted);margin-top:6px}.history-actions{display:flex;gap:7px;flex:none}.status-label{font-size:12px;margin-right:7px;color:var(--green)}.status-label.failed{color:var(--red)}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.settings-card>h2{margin-bottom:22px}.settings-card>p{font-size:13px;color:var(--muted);margin-top:14px}.settings-card .button{margin-top:16px}.capability{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:13px 0;font-size:13px}.capability>span:last-child{color:var(--green);font-size:12px;text-align:right}.capability>span.missing{color:var(--warning)}.config-example{font:12px/1.9 Consolas,monospace;background:#f3f5ef;border:1px solid var(--line);border-radius:7px;padding:16px;overflow:auto;margin:16px 0}code{font:12px Consolas,monospace;background:#edf2e8;border-radius:3px;padding:2px 5px;color:#355039}
input:not([type=checkbox]),select,textarea{width:100%;min-width:0;border:1px solid #bdcbbd;background:#fff;color:var(--ink);border-radius:6px;padding:10px 11px;font-size:14px;line-height:1.4;min-height:42px}input::placeholder,textarea::placeholder{color:#657468;opacity:1}select{cursor:pointer}textarea{resize:vertical;max-height:500px}.field-label{display:block;font-size:12px;font-weight:550;color:var(--muted);margin:16px 0 7px}.form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:17px;margin:22px 0}.form-grid label{font-size:12px;font-weight:550;color:var(--muted)}.form-grid input,.form-grid select{display:block;margin-top:8px}.pdf-form{margin-top:18px}.pdf-hint{font-size:12px;color:var(--muted);margin:12px 0}.merge-checkbox{display:flex;align-items:center;gap:8px;font-size:13px;margin:12px 0;overflow-wrap:anywhere}.merge-checkbox input{accent-color:var(--green);width:17px;height:17px;flex:none}.pdf-form>.button{margin-top:9px}.inline-error{border:1px solid #e0aca5;background:var(--red-bg);color:#832b24;font-size:13px;line-height:1.7;padding:13px 15px;border-radius:8px;margin:14px 0;overflow-wrap:anywhere}.inline-error p{margin-top:5px}.inline-error .button{margin-top:8px;min-height:36px;font-size:12px}.inline-error ul{margin:6px 0;padding-left:20px}.connection-banner{background:#fff3e9;border-bottom:1px solid #e4c6a6;padding:15px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px}.connection-banner p{font-size:12px;color:#795532;margin-top:4px}.connection-banner strong{color:#6f461c}.connection-banner .button{flex:none}
footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px;margin-top:30px;padding:20px 0 7px;border-top:1px solid var(--line)}footer>span:first-child{font-weight:650}footer>span:first-child>.muted{font-weight:400;margin-left:5px}dialog{color:var(--ink);width:530px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);border:1px solid var(--line);border-radius:14px;padding:28px;background:#fff;box-shadow:0 25px 70px #1b402333;overflow:auto}dialog::backdrop{background:#1b302873;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.dialog-heading h2{font-size:20px;letter-spacing:-.4px}.dialog-heading .eyebrow{font-size:10px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.guide-steps{padding-left:22px;margin:0}.guide-steps li{padding-left:7px;margin-bottom:20px;font-size:14px}.guide-steps p{font-size:13px;color:var(--muted);margin-top:6px}#toast{position:fixed;right:25px;bottom:23px;max-width:min(470px,calc(100vw - 32px));z-index:60;display:flex;align-items:center;gap:15px;padding:12px 14px 12px 18px;background:var(--green);color:#fff;box-shadow:0 10px 30px #203e3025;border-radius:9px;font-size:13px;line-height:1.6}#toast.error{background:#92332a}#toast .icon-button{background:none;border-color:#ffffff50;color:#fff;min-height:30px;width:30px;padding:5px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}
@media(min-width:1600px){.workspace-grid{grid-template-columns:minmax(0,1fr) 310px}.options-content,.actions-card{padding:24px}.preview-paper{height:620px}}
@media(max-width:1200px){.sidebar{width:190px;padding-left:13px;padding-right:13px}.shell{margin-left:190px}.brand{font-size:26px}.topbar{padding:0 24px}main{padding:25px 24px 16px}.workspace-grid{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.options-content,.actions-card{padding:18px 15px}.document-title .file-type{display:none}.document-actions .button{font-size:11px;padding:7px}.workbench-top h2{font-size:16px}.tabs{gap:15px}.templates-grid,.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-label>span:last-child{display:none}.upload-card{gap:12px}.upload-copy strong{font-size:13px}.upload-card .text-button{font-size:12px}}
@media(max-width:1000px){.sidebar{width:74px;padding:25px 10px}.brand{font-size:0;padding:0;justify-content:center}.brand-icon{font-size:29px}.brand-dot,.workspace-label,.sidebar-note,.sidebar-bottom,.nav>.count{display:none}.sidebar nav{margin-top:33px}.nav{justify-content:center;padding:13px 5px}.nav>span{display:none}.nav .icon{width:23px;height:23px}.shell{margin-left:74px}.workspace-grid{grid-template-columns:minmax(0,1fr) 245px;gap:17px}.topbar{padding:0 22px}main{padding:24px 22px 16px}.privacy-chip{display:none}.document-actions .button{padding:7px 8px}.document-title{width:100%}.document-actions{align-self:flex-end}.workbench-top{flex-wrap:wrap}.workbench-top .document-actions{margin-left:auto}.reading-tools .button{padding:8px 10px}.history-row{align-items:flex-start;flex-direction:column}.history-actions{width:100%}.upload-card .text-button{display:none}.list-actions .search-field{max-width:145px}.section-caption{gap:8px}.issue-count{font-size:10px}.preview-toolbar{gap:8px}.zoom-controls{margin-left:auto}.preview-foot{flex-direction:column}.preview-foot p{max-width:none;text-align:left}}
@media(max-width:860px){.workspace-grid{grid-template-columns:minmax(0,1fr)}.options-column{position:static;order:-1;display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:14px}.options-card>summary{display:flex;justify-content:space-between;font-size:13px;font-weight:600;cursor:pointer;padding:15px 17px}.options-content{border-top:1px solid var(--line)}.options-card[open] .options-content{padding:17px}.options-card:not([open]){align-self:start}.actions-card{margin:0;padding:16px}.actions-card>.small,.simulation-note{font-size:11px}.quote{margin-bottom:12px}.quote strong{font-size:21px}.shortcut-note{display:none}.options-content>.card-heading{display:none}.options-content>.field-label:first-of-type{margin-top:0}.profile-summary{margin:14px 0}.settings-grid{grid-template-columns:minmax(0,1fr)}.preview-paper{height:510px}.document-actions{margin-left:0!important;align-self:auto}.workbench-top{flex-wrap:nowrap}.document-title .file-type{display:grid}.list-actions .search-field{max-width:190px}}
@media(max-width:620px){.sidebar{top:auto;bottom:0;left:0;right:0;height:68px;width:100%;padding:0;background:#fffffff8;border-top:1px solid var(--line);border-right:0}.sidebar>.brand{display:none}.sidebar nav{flex-direction:row;justify-content:space-around;gap:0;margin:0;height:68px;padding:5px 4px}.nav{flex:1;max-width:95px;flex-direction:column;gap:3px;border-radius:6px;font-size:10px;min-height:56px;padding:6px 2px;margin:0}.nav>span{display:block}.nav .icon{height:19px;width:19px}.nav>.count{display:none}.nav.active{background:#edf5ef}.shell{margin-left:0}.topbar{height:59px;padding:0 16px}.desktop-crumb{display:none}.mobile-brand{display:inline;font-size:19px;letter-spacing:-1px;font-weight:750;color:var(--ink)}.breadcrumbs{font-size:12px;gap:12px}.connection{font-size:0}.connection .live-dot{width:7px;height:7px}.version-tag{font-size:10px}.top-actions{gap:9px}main{padding:23px 16px 86px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:20px}.page-heading .button{font-size:12px;padding:9px 11px}.page-heading h1{font-size:26px}.eyebrow{font-size:10px}.lead{font-size:13px;margin-top:8px}.upload-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:16px;margin-bottom:20px}.upload-icon{width:38px;height:40px}.upload-copy strong{font-size:13px}.upload-copy span{font-size:11px;line-height:1.6}.upload-card>.button{grid-column:2;justify-self:start;min-height:38px;font-size:12px;padding:8px 13px}.upload-card>.text-button{display:block;grid-column:2;grid-row:3;justify-self:start;font-size:12px;min-height:30px;margin:0}.options-column{display:block}.options-card{margin-bottom:6px}.options-content{padding:17px}.options-content .preserve-note{display:none}.actions-card{box-shadow:none;background:transparent;border:0;padding:0;margin:0}.actions-card>.quote,.actions-card>.small,.actions-card>.simulation-note{display:none}.actions-card>.button{display:none}.has-document #view-workspace .actions-card{position:fixed;bottom:68px;left:0;right:0;z-index:18;background:#fffffff8;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 -5px 20px #1c392c0a}.has-document #view-workspace .actions-card>.quote{display:flex;min-width:0;flex:1;margin:0;gap:1px;flex-direction:column;align-items:flex-start}.actions-card .quote>span{font-size:10px}.actions-card .quote strong{font-size:19px}.actions-card .quote small{display:none}.has-document #view-workspace .actions-card>.button{display:flex;min-height:44px;width:auto;font-size:12px;flex:none}.has-document #view-workspace .actions-card>.button .icon{width:17px;height:17px}.has-document main{padding-bottom:157px}.document-list-head h2{font-size:13px;white-space:nowrap}.list-actions .search-field{max-width:115px}.list-actions .icon-button{width:34px;min-height:36px}.document-list-head{gap:10px}.documents-list{max-height:150px}.document-row{gap:8px;padding:11px 10px}.doc-select strong{font-size:12px}.doc-select small{font-size:11px}.doc-state{font-size:10px;max-width:68px;white-space:normal}.file-type{width:31px;height:35px;font-size:9px}.delete-file{width:27px;min-height:33px}.workspace-empty{min-height:325px;padding:32px 16px 28px}.workspace-empty h2{font-size:19px}.workspace-empty p{font-size:13px}.empty-features{font-size:11px;gap:8px 15px;margin-top:24px}#document-workbench{padding:17px 14px}.document-title .file-type{display:none}.workbench-top{flex-wrap:wrap;margin-bottom:13px}.workbench-top h2{font-size:16px}.document-actions{margin-left:0!important;width:100%}.document-actions #close-document{margin-left:auto}.document-actions .button{font-size:12px}.metrics{gap:5px;margin-bottom:14px}.metric{font-size:11px;padding:6px 8px}.metric strong{font-size:13px}.tabs{gap:18px;margin-bottom:17px}.tab{font-size:12px}.issue{padding:15px 0;gap:9px;flex-wrap:wrap}.issue-copy{flex-basis:calc(100% - 28px)!important}.issue-count{margin-left:26px}.issue strong{font-size:13px}.issue small{font-size:12px}.section-caption{margin-top:12px}.section-caption h3{font-size:13px}.preview-grid{grid-template-columns:minmax(0,1fr)}.preview-paper{height:430px;min-height:260px}.preview-label{font-size:12px}.preview-toolbar{gap:10px}.page-input-label input{width:45px!important}.page-controls{gap:4px}.zoom-controls{gap:4px}.preview-toolbar .icon-button{width:32px;min-height:34px}.zoom-fit{min-width:49px;padding:6px;min-height:34px}.preview-foot{gap:10px}.preview-foot p{font-size:11px}.preview-pane+.preview-pane{margin-top:8px}.preview-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-width:none;padding:17px;max-height:none}.preview-dialog .preview-paper{height:58dvh}.preview-dialog .dialog-heading h2{font-size:16px}.preview-dialog .preview-grid{height:calc(100dvh - 184px);overflow:auto;overscroll-behavior:contain}.preview-dialog>.small{font-size:11px}.report-heading{flex-direction:column;gap:10px}.change-row{grid-template-columns:1fr 1fr;gap:6px 12px}.change-row>span{grid-column:1/-1}.reading-tools{gap:8px}.reading-tools>.button{font-size:12px;padding:9px 10px}.reading-paper{font-size:13px;padding:16px}.templates-grid,.tools-grid{grid-template-columns:minmax(0,1fr);gap:16px}.template-art{height:130px}.template-card,.tool-card,.settings-card{padding:21px}.template-card>p,.tool-card>p{min-height:0}.history-actions{flex-wrap:wrap}.history-actions .button{font-size:12px}.connection-banner{padding:14px 16px;flex-direction:column;align-items:flex-start;gap:11px}.connection-banner .button{min-height:38px}dialog{padding:22px}.form-grid{gap:14px}.dialog-heading h2{font-size:18px}.dialog-actions{gap:8px}.dialog-actions .button{font-size:12px}#toast{bottom:148px;right:16px;left:16px;max-width:none;font-size:12px}footer{font-size:11px;line-height:1.7;align-items:flex-start}footer>span:last-child{white-space:nowrap}footer>span:first-child>.muted{display:block;margin:0}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Commerce 0.3: local demo pricing, account and checkout. */
.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}.more-menu{display:contents}.nav-more{display:none}.quota-shortcut{border:1px solid #c4dacb;background:#edf5ef;border-radius:6px;color:var(--green);font-size:12px;padding:6px 9px;min-height:36px}.demo-pill{display:inline-flex;border-radius:5px;padding:5px 9px;background:#fff2d9;border:1px solid #ead5a7;color:#70500c;font-size:11px;font-weight:650;letter-spacing:.4px;white-space:nowrap}.billing-demo-note{display:flex;gap:12px;padding:14px 18px;border:1px solid #eadbb9;border-radius:9px;background:#fff8e9;color:#694c1d;margin-bottom:22px;font-size:13px}.billing-demo-note .icon{margin-top:2px}.trial-banner{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:24px 26px;border:1px solid #c7dccd;background:#edf5ef;border-radius:12px;margin-bottom:34px}.trial-banner p{font-size:13px;color:var(--muted);margin-top:8px;max-width:700px}.trial-banner .button{flex:none}.pricing-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.pricing-section-head p{color:var(--muted);font-size:13px;margin-top:4px}.plans-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.plan-card{display:flex;flex-direction:column;position:relative;border:1px solid var(--line);border-radius:12px;background:#fff;padding:27px 23px 21px;box-shadow:var(--shadow)}.plan-card.featured{border:2px solid var(--green);padding:26px 22px 20px}.plan-featured{position:absolute;right:18px;top:-13px;padding:4px 11px;border-radius:5px;background:var(--green);color:white;font-size:11px;font-weight:600}.plan-head h2{font-size:20px}.plan-head p{color:var(--muted);font-size:13px;margin-top:7px;min-height:44px}.plan-price{margin:25px 0 22px;display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.plan-price strong{font-size:32px;letter-spacing:-1.2px;font-weight:650;line-height:1.2}.plan-price span{font-size:12px;color:var(--muted)}.plan-features{padding:0;margin:0 0 24px;list-style:none;font-size:13px;display:grid;gap:13px;flex:1}.plan-features li{display:flex;gap:9px;align-items:flex-start}.plan-features .icon{width:16px;height:16px;color:var(--green);margin-top:2px}.plan-card>small{font-size:11px;color:var(--muted);text-align:center;margin-top:12px}.pricing-alternatives{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.pay-file-card,.topup-card,.price-calculator,.pricing-faq{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px}.pay-file-card>p,.topup-card>p{font-size:13px;color:var(--muted);margin-top:7px}.single-rates{margin:19px 0}.single-rates>div{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}.single-rates small,.topup-row small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.single-rates b{white-space:nowrap}.single-rates>p{margin-top:12px}.topup-row{display:flex;gap:16px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:19px 0;font-size:13px}.topup-row:first-child{margin-top:21px}.topup-row:last-child{padding-bottom:0}.topup-row .button{flex:none}.price-calculator{margin-top:24px;display:flex;gap:24px;align-items:center}.price-calculator>div:first-child{flex:1}.calculator-fields{display:flex;gap:14px;align-items:center;flex:1.4}.calculator-fields label{font-size:12px;color:var(--muted);flex:1;min-width:0}.calculator-fields input,.calculator-fields select{margin-top:6px}.calculator-result{flex:1.4;padding-left:18px;border-left:1px solid var(--line)}.calculator-result span,.calculator-result small{display:block;font-size:11px;color:var(--muted)}.calculator-result strong{display:block;font-size:24px;white-space:nowrap;margin:5px 0}.pricing-faq{margin-top:24px}.pricing-faq details{border-bottom:1px solid var(--line);padding:17px 0;font-size:13px}.pricing-faq details:last-child{border:0;padding-bottom:0}.pricing-faq summary{cursor:pointer;font-weight:600;min-height:28px}.pricing-faq details p{margin-top:12px;color:var(--muted);max-width:850px}.quota-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.quota-card{border:1px solid var(--line);background:#fff;border-radius:10px;padding:23px}.quota-card>span{font-size:13px;color:var(--muted)}.quota-card>strong{display:block;font-size:32px;line-height:1.3;margin:10px 0}.quota-card>small{font-size:12px;color:var(--muted)}.account-actions{display:flex;gap:12px;margin:22px 0}.billing-panel{border:1px solid var(--line);border-radius:10px;background:#fff;padding:22px;margin-top:20px}.billing-panel>h2{margin-bottom:15px}.grant-row,.order-row,.usage-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.grant-row:last-child,.order-row:last-child,.usage-row:last-child{border:0}.grant-row small,.order-row small,.usage-row small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.grant-row>div:last-child{display:flex;flex-direction:column;gap:5px;font-size:12px;text-align:right}.grant-row.expired{color:var(--muted);background:#fafbf8}.order-row .status-label{display:inline-block;margin-top:7px}.order-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}.order-actions>b{font-size:15px}.status-label.paid,.status-label.fulfilled{color:var(--green);background:#e7f3eb}.status-label.refunded,.status-label.cancelled,.status-label.expired{color:#68551f;background:#fff2d9}.usage-row>div{flex:1;min-width:0}.usage-row>span,.usage-row>time{font-size:12px;color:var(--muted);white-space:nowrap}.actions-card>#billing-choice{margin-bottom:18px;font-size:12px}.quote .text-button{font-size:12px;white-space:normal}.checkout-dialog{width:min(860px,calc(100vw - 32px));max-width:860px;background:#fff;padding:25px;max-height:90dvh}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:25px;margin-top:21px}.checkout-main{min-width:0}.checkout-demo-notice{border:1px solid #eadbb9;background:#fff7e7;border-radius:8px;color:#694c1d;padding:12px 14px;font-size:12px;margin-bottom:20px}.checkout-main h3{margin-bottom:14px}.payment-methods{padding:0;border:0;margin:0;display:grid;gap:10px}.payment-method{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:9px;cursor:pointer;min-height:70px;background:#fff}.payment-method:has(input:checked){border-color:var(--green);background:#f2f8f3;box-shadow:0 0 0 1px var(--green)}.payment-method input{width:17px;height:17px;flex:none;accent-color:var(--green)}.method-art{width:34px;height:34px;display:grid;place-items:center;border-radius:7px;color:var(--green);background:#e6f0eb;flex:none;font-size:24px}.momo-art{background:#af005b;color:white;font-weight:750;font-size:20px}.card-art{background:#edf1fc;color:#28507d}.payment-method strong{font-size:13px;display:block}.payment-method small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.checkout-consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:var(--muted);margin:20px 0}.checkout-consent input{margin-top:4px;width:16px;height:16px;accent-color:var(--green);flex:none}.checkout-summary{background:#f6f8f3;border:1px solid var(--line);border-radius:10px;padding:22px;height:fit-content;min-width:0}.checkout-summary h3{overflow-wrap:anywhere;font-size:17px}.checkout-summary>p{font-size:13px;margin-top:9px;color:var(--muted)}.summary-rule{border-top:1px solid var(--line);margin-top:20px;padding-top:17px;font-size:12px;color:var(--muted);line-height:1.7}.summary-total{border-top:1px solid var(--line);margin-top:20px;padding-top:17px}.summary-total span{display:block;font-size:12px;color:var(--muted)}.summary-total strong{display:block;font-size:28px;margin-top:5px}.payment-stage>.demo-pill{margin-bottom:15px}.payment-stage h3{margin-bottom:18px}.demo-qr{display:flex;flex-direction:column;align-items:center;gap:8px;background:#f8faf7;border:1px solid var(--line);border-radius:9px;padding:15px;margin:0 0 20px}.demo-qr img{width:190px;max-width:100%;height:auto;display:block;background:white}.demo-qr>span{font-size:11px;color:#694c1d}.demo-credit-card{background:#243b4e;border-radius:12px;color:#fff;padding:21px;margin-bottom:13px;min-height:150px}.demo-credit-card>span{display:block;font-size:10px;letter-spacing:1.7px;color:#dbe4ed}.demo-credit-card>strong{display:block;font-size:23px;letter-spacing:1px;margin:23px 0 14px;white-space:nowrap}.demo-credit-card small{font-size:10px;color:#dbe4ed}.demo-credit-card>b{display:block;font-size:12px;text-align:right;margin-top:10px}.payment-order-info{font-size:13px;margin:18px 0}.payment-order-info>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0}.payment-order-info dt{color:var(--muted)}.payment-order-info dd{font-weight:600;margin:0}.payment-stage>#order-countdown{margin-bottom:18px}.demo-actions{display:flex;justify-content:space-between;gap:15px;margin-top:10px}.demo-actions .text-button{font-size:12px}.checkout-success{padding:30px 8px;text-align:center}.checkout-success>.icon{height:45px;width:45px;background:#e6f4eb;border-radius:50%;padding:10px;color:var(--green);margin:0 auto 15px}.checkout-success p{font-size:13px;color:var(--muted);margin-bottom:22px}
@media(max-width:1200px){.plan-card{padding:24px 18px 20px}.plan-card.featured{padding:23px 17px 19px}.plan-price strong{font-size:28px}.pricing-alternatives{gap:16px}.price-calculator{display:block}.calculator-fields{margin-top:18px}.top-actions{gap:10px}}
@media(max-width:1000px){.quota-shortcut{display:none}.plans-grid{gap:13px}.plan-features{font-size:12px}.sidebar .more-menu .nav{justify-content:center}.sidebar .more-menu .nav span{display:none}.quota-card{padding:18px}}
@media(max-width:760px){.plans-grid{grid-template-columns:1fr}.plan-head p{min-height:0}.plan-card{padding:24px}.plan-card.featured{padding:23px}.plan-price strong{font-size:32px}.pricing-alternatives{grid-template-columns:1fr}.trial-banner{align-items:flex-start;flex-direction:column;gap:18px}.trial-banner .button{width:100%}.checkout-layout{grid-template-columns:1fr}.checkout-summary{order:-1;padding:17px}.summary-rule{margin-top:12px;padding-top:12px}.summary-total{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px;padding-top:12px}.summary-total strong{font-size:24px;margin:0}.checkout-summary .eyebrow{margin-bottom:5px}.checkout-summary>p:last-child{font-size:11px}.quota-cards{grid-template-columns:1fr 1fr}.quota-card:last-child{grid-column:1/-1}.order-row{align-items:flex-start;flex-direction:column;gap:12px}.order-actions{justify-content:flex-start}.usage-row{flex-wrap:wrap}.usage-row>div{min-width:100%}}
@media(max-width:620px){.nav-more{display:flex}.sidebar nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.sidebar .more-menu{display:none;position:fixed;right:12px;bottom:78px;width:220px;padding:8px;background:white;box-shadow:0 8px 40px #243b3226;border:1px solid var(--line);border-radius:10px}.sidebar.more-open .more-menu{display:flex;flex-direction:column;gap:3px}.sidebar .more-menu .nav{flex-direction:row;justify-content:flex-start;padding:12px;min-height:46px;text-align:left}.sidebar .more-menu .nav span{display:inline;font-size:13px}.sidebar .more-menu .nav .count{margin-left:auto}.sidebar-note{display:none}.plan-card{padding:22px}.plan-card.featured{padding:21px}.plan-price{margin:20px 0}.pricing-section-head{align-items:flex-start;flex-direction:column;gap:8px}.trial-banner{padding:20px;margin-bottom:27px}.billing-demo-note{padding:13px;font-size:12px}.pricing-alternatives{margin-top:18px}.pay-file-card,.topup-card,.price-calculator,.pricing-faq{padding:20px}.topup-row{gap:10px;align-items:flex-start}.topup-row .button{font-size:12px;padding:10px}.single-rates>div{font-size:12px;gap:8px}.single-rates b{font-size:12px}.calculator-fields{display:grid;grid-template-columns:1fr 80px;gap:13px}.calculator-result{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:15px 0 0}.account-actions{flex-direction:column}.quota-cards{gap:12px}.quota-card{padding:16px}.quota-card>strong{font-size:28px}.quota-card>small{font-size:11px}.billing-panel{padding:17px}.grant-row{flex-direction:column;align-items:flex-start;gap:9px}.grant-row>div:last-child{text-align:left;flex-direction:row;flex-wrap:wrap;gap:10px}.order-actions{gap:11px}.order-actions .button{font-size:12px}.checkout-dialog{padding:18px;width:calc(100vw - 20px);max-height:94dvh}.checkout-dialog .dialog-heading h2{font-size:18px}.checkout-layout{gap:17px;margin-top:17px}.checkout-summary h3{font-size:15px}.payment-method{padding:13px;gap:9px}.method-art{height:30px;width:30px}.demo-credit-card{padding:17px}.demo-credit-card>strong{font-size:20px;letter-spacing:0}.summary-total strong{font-size:23px}.actions-card>#billing-choice,.actions-card>label[for="billing-choice"]{display:none}.actions-card .quote .text-button{display:none}}

/* Account menu (m?c 10 UX) */
.account-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:60;min-width:220px;background:var(--surface,#fff);border:1px solid #d8d4cc;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:6px;display:grid}
.account-menu button{all:unset;cursor:pointer;padding:9px 12px;border-radius:7px;font:inherit;color:inherit}
.account-menu button:hover,.account-menu button:focus-visible{background:#efece4;outline:2px solid #1f6f43;outline-offset:-2px}
.avatar-dot{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#1f6f43;color:#fff;font-size:.72rem;font-weight:600;margin-right:6px}
.account-email{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#account-bar{position:relative;display:inline-flex;align-items:center}
@media (max-width:640px){.account-email{display:none}.account-menu{min-width:180px}}

.connection.auth-warn .live-dot{background:#c77d1f}
.connection.auth-warn{color:#8a6a1f}
.banner-actions{display:flex;gap:10px;flex:none}
