:root{--navy:#102743;--dark:#0b1b30;--blue:#265c91;--ink:#1b2b40;--muted:#718093;--line:#dce4ed;--paper:#fff;--frost:rgba(255,255,255,.79);--bg:#f2f5f9;--radius:20px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}.hidden{display:none!important}.ico{display:inline-block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;z-index:20;left:0;top:0;bottom:0;width:247px;background:radial-gradient(circle at -20% -6%,#325c85 0%,transparent 39%),linear-gradient(157deg,#132e4d,#0a192d 80%);color:white;padding:30px 15px 21px;display:flex;flex-direction:column;box-shadow:8px 0 26px rgba(14,36,63,.04)}.side-brand{display:flex;align-items:center;gap:11px;margin:0 7px 47px}.side-logo{background:#fff;display:grid;place-items:center;width:52px;height:52px;border-radius:15px;box-shadow:0 4px 23px #0001}.side-logo img{width:48px;height:42px;object-fit:contain}.side-brand-text b,.side-brand-text small{display:block}.side-brand-text b{font-size:16px;letter-spacing:-.055em;white-space:nowrap}.side-brand-text small{letter-spacing:.32em;font-size:10px;color:#a8c0d9;margin-top:2px;font-weight:700}.side-mini-heading{font-size:9px;font-weight:750;letter-spacing:.2em;color:#7191b0;margin:0 14px 15px}.side-nav{display:grid;gap:6px}.nav-item{display:flex;gap:13px;align-items:center;border:1px solid transparent;color:#abbfd5;background:transparent;border-radius:12px;text-align:left;min-height:46px;padding:11px 13px;font-size:12px;font-weight:650;transition:background .18s,color .18s,border .18s;width:100%}.nav-item .ico{height:18px;width:18px;stroke-width:1.7}.nav-item:hover{background:#ffffff12;color:white}.nav-item.active{background:linear-gradient(110deg,rgba(201,223,247,.2),rgba(127,174,218,.07));border-color:#ffffff23;color:white;box-shadow:inset 0 1px 0 #ffffff20}.side-count{margin-left:auto;border-radius:20px;background:#ffffff20;color:#d7e9fa;padding:3px 8px;font-size:10px}.sidebar-bottom{margin-top:auto}.side-security{display:flex;gap:10px;background:rgba(177,204,229,.08);border:1px solid #ffffff19;border-radius:13px;padding:14px 10px;margin-bottom:21px}.side-security .ico{color:#a6d7f4;width:16px;height:16px}.side-security b{font-size:10px;color:#e1eef9}.side-security p{font-size:10px;line-height:1.55;color:#95aec7;margin:7px 0 0}.side-back{display:flex;align-items:center;gap:8px;color:#d4e4f3;font-size:11px;font-weight:650;margin:0 9px 18px}.side-back:hover{color:white}.side-back .ico{height:16px;width:16px}.side-copy{margin-left:9px;font-size:10px;color:#6e8ca8}.main-shell{width:calc(100% - 247px);margin-left:247px;min-width:0}.topbar{height:76px;padding:0 clamp(20px,3vw,52px);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e0e7ef;background:rgba(255,255,255,.68);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);position:sticky;top:0;z-index:10}.topbar-left,.topbar-actions{display:flex;align-items:center;gap:19px}.topbar-crumb{font-size:12px;color:#98a6b7}.topbar-crumb span{margin:0 11px;color:#c5cfdb}.topbar-crumb strong{color:#253954;font-weight:750}.live-indicator{display:inline-flex;gap:7px;align-items:center;border-radius:50px;background:#f1f7f5;padding:9px 11px;color:#4e7868;border:1px solid #e0eee9;font-size:10px;font-weight:720}.live-indicator span,.preview-pulse{height:6px;width:6px;background:#46ab82;border-radius:50%;display:inline-block}.topbar-date{font-size:11px;color:#7d899b}.button{min-height:40px;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:0 15px;border-radius:11px;font-size:11px;font-weight:760;border:1px solid transparent;transition:transform .18s,background .18s,box-shadow .18s;white-space:nowrap}.button:hover:not(:disabled){transform:translateY(-1px)}.button .ico{height:15px;width:15px}.button-dark{background:#132f4e;color:white;box-shadow:0 6px 16px #102e4918}.button-dark:hover{background:#1c436d}.button-primary{background:linear-gradient(120deg,#246ea9,#164a7b);color:white;box-shadow:0 6px 20px #2b679330}.button-primary:hover{box-shadow:0 8px 22px #2b67934a}.button-outline{border-color:#d7e0e9;color:#314a64;background:white}.button-outline:hover{background:#f5f9fc}.button-quiet{color:#55677c;background:transparent}.button-quiet:hover{background:#e9eff6}.icon-button{display:grid;place-items:center;border:none;background:transparent;color:var(--navy);width:38px;height:38px;border-radius:10px}.mobile-toggle{display:none}.sidebar-overlay{display:none}.app-content{padding:35px clamp(18px,3vw,52px) 56px;min-width:0}.page-section{max-width:1700px;margin:0 auto}.overline{font-size:10px;font-weight:790;letter-spacing:.21em;color:#4382b1;margin:0 0 15px}.mid-dot{padding:0 6px;color:#c2cedb}h1,h2,h3,p{margin-top:0}.page-heading{background:radial-gradient(circle at 82% 36%,rgba(72,134,178,.36),transparent 32%),linear-gradient(124deg,#153656,#0b213a);color:white;min-height:265px;padding:40px 45px;border-radius:24px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;box-shadow:0 20px 50px #1b4b7414}.page-heading .overline{color:#a8cbe8}.page-heading h1{font-size:clamp(32px,3.5vw,52px);font-weight:735;letter-spacing:-.065em;line-height:1.08;margin-bottom:17px}.page-heading h1 em{font-style:normal;color:#b9dcf7}.intro{font-size:13px;color:#bed0df;line-height:1.7;margin:0;max-width:500px}.heading-art{flex:0 0 245px;position:relative;font-size:106px;font-weight:850;font-style:italic;color:#ffffff1a;letter-spacing:-.13em}.heading-art i{position:absolute;inset:-60px -35px -60px -40px;border:1px solid #ffffff13;border-radius:50%;box-shadow:0 0 0 32px #ffffff07,0 0 0 68px #ffffff04;transform:rotate(-30deg)}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.stat-card,.dash-panel,.document-list-shell,.settings-panel{background:var(--frost);border:1px solid #dce4ee;border-radius:19px;box-shadow:0 8px 35px #24466808,inset 0 1px 0 white;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.stat-card{min-height:155px;padding:22px 23px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#738499;font-size:11px;font-weight:680}.stat-icon{background:#eff5fa;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;color:#3e7098}.stat-icon .ico{width:17px;height:17px}.stat-card strong{display:block;font-size:clamp(24px,2.6vw,32px);letter-spacing:-.055em;font-weight:785;margin:15px 0 4px;color:#193555;white-space:nowrap}.stat-card small{color:#8c9aab;font-size:10px}.dashboard-bottom{display:grid;grid-template-columns:1fr 1.05fr;gap:17px}.dash-panel{padding:24px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.panel-header h2{font-size:17px;letter-spacing:-.04em;margin:0 0 6px}.panel-header p{font-size:11px;color:#8493a4;margin:0}.quick-cards{display:grid;gap:11px}.quick-card{display:flex;align-items:center;gap:14px;width:100%;background:#f8fbfd;border:1px solid #e4ebf2;border-radius:13px;text-align:left;padding:17px 16px;transition:all .2s}.quick-card:hover{border-color:#a6bfd3;background:white;transform:translateY(-1px)}.quick-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;color:white}.quick-icon.navy{background:#1e4366}.quick-icon.blue{background:#387fb2}.quick-icon .ico{height:20px;width:20px}.quick-desc{flex:1}.quick-desc b,.quick-desc small{display:block}.quick-desc b{font-size:12px}.quick-desc small{font-size:10px;color:#8391a1;margin-top:5px}.quick-arrow{color:#9aaabd}.text-link{display:inline-flex;gap:6px;align-items:center;border:none;background:transparent;color:#2b78ae;font-size:10px;font-weight:750}.text-link .ico{width:14px;height:14px}.recent-list{display:grid;gap:8px}.recent-item{display:flex;align-items:center;gap:13px;border:1px solid #e5eaf0;border-radius:11px;padding:12px;background:#fcfdff;width:100%;text-align:left}.recent-item:hover{background:#f5f9fd}.recent-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:9px;background:#e9f1f7;color:#2d5c86}.recent-icon .ico{width:17px;height:17px}.recent-text{flex:1;min-width:0}.recent-text b,.recent-text small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.recent-text b{font-size:11px}.recent-text small{font-size:10px;color:#8b99a8;margin-top:4px}.recent-amount{font-size:11px;font-weight:750;color:#2c4462}.empty-mini{min-height:170px;display:grid;place-items:center;text-align:center;color:#95a4b2;font-size:12px;line-height:1.7;padding:15px}.empty-mini .ico{height:25px;width:25px;color:#b2c3d2}.privacy-strip{border:1px solid #dae7f0;background:#eff6fa;border-radius:11px;color:#678296;font-size:10px;line-height:1.7;display:flex;align-items:center;gap:11px;margin-top:20px;padding:13px 16px}.privacy-strip .ico{height:16px;width:16px;flex-shrink:0;color:#3f7da8}.privacy-strip strong{color:#34536b}.editor-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 0 23px}.editor-top h1,.simple-heading h1{font-size:clamp(30px,3vw,42px);letter-spacing:-.06em;font-weight:750;margin:0 0 8px}.editor-subtitle,.simple-heading>p:last-child{color:#8996a7;font-size:12px;line-height:1.7;margin-bottom:0}.editor-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.studio-layout{display:grid;grid-template-columns:minmax(305px,380px) minmax(0,1fr);align-items:start;gap:20px}.editor-panel{background:rgba(255,255,255,.91);border:1px solid #dce5ed;border-radius:18px;min-width:0;box-shadow:0 5px 30px #2446680d;overflow:hidden}.panel-title-row{display:flex;justify-content:space-between;align-items:center;padding:21px 21px 15px}.panel-title-row h2{font-size:15px;letter-spacing:-.02em;margin:0 0 6px}.panel-title-row p{color:#8b98a8;font-size:10px;margin:0}.editing-badge{font-size:8px;letter-spacing:.1em;font-weight:800;color:#3c7ca7;background:#edf5fa;border-radius:20px;padding:7px 9px}.form-section{padding:18px 21px 19px;border-top:1px solid #edf1f5}.form-section-header{display:flex;align-items:center;gap:9px;margin-bottom:17px}.section-index{width:25px;height:25px;display:grid;place-items:center;background:#eaf2f8;color:#447a9f;border-radius:7px;font-size:10px;font-weight:830}.form-section-header h3{font-size:11px;letter-spacing:-.015em;margin:0;font-weight:800}.field-grid,.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field{display:grid;gap:6px;min-width:0}.field.full,.settings-grid .full{grid-column:1/-1}.field span{color:#6c7b8e;font-size:10px;font-weight:700}.field input,.field textarea,.field select{width:100%;border:1px solid #dbe4ed;background:#fafdff;color:#1c334d;border-radius:9px;min-height:38px;outline:none;font-size:11px;padding:9px 10px;transition:border-color .18s,box-shadow .18s}.field textarea{resize:vertical;line-height:1.6;min-height:62px}.field input:focus,.field textarea:focus,.field select:focus,.search-field input:focus{border-color:#6b9cbe;box-shadow:0 0 0 3px #5493ba1a;background:white}.field input::placeholder,.field textarea::placeholder{color:#b2beca}.field-tip{font-size:10px;line-height:1.7;color:#91a0ad;margin:9px 0 0}.line-item-editors{display:grid;gap:12px}.line-editor{border:1px solid #e3ebf2;border-radius:12px;padding:11px;background:#fbfdff}.line-editor-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.line-editor-header b{font-size:10px;color:#45647e}.line-remove{display:inline-grid;place-items:center;background:#fff1f2;border:none;color:#b8535e;border-radius:7px;width:27px;height:27px}.line-remove .ico{width:14px;height:14px}.line-fields{display:grid;grid-template-columns:80px minmax(0,1fr);gap:9px}.line-description{grid-column:1/-1}.line-fields .field:first-child{grid-column:1/-1}.line-amount{font-size:10px;color:#678299;text-align:right;margin-top:8px;font-weight:750}.add-line{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:38px;border:1px dashed #99b3c9;border-radius:9px;color:#2a6894;font-size:10px;font-weight:750;background:#f5fafc;margin-top:11px}.add-line .ico{width:15px;height:15px}.add-line:hover{background:#e9f3fa}.editor-bottom{border-top:1px solid #e8eef3;padding:19px 21px 22px}.full-button{width:100%}.editor-bottom span{display:block;font-size:10px;color:#9aa6b3;margin-top:11px;line-height:1.6;text-align:center}.preview-panel{border-radius:18px;background:#e7edf3;border:1px solid #d8e1ea;overflow:hidden;min-width:0}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px;border-bottom:1px solid #d4dee8;background:rgba(246,249,252,.82)}.preview-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.preview-title b{font-size:11px;color:#476178}.preview-title small{font-size:10px;color:#9aaab7;margin-left:4px}.preview-pulse{height:7px;width:7px}.preview-tools{display:flex;gap:4px;align-items:center;color:#7a8da0;font-size:10px}.zoom-control{width:25px;height:25px;background:white;border:1px solid #d8e3ed;border-radius:7px;color:#405c79;font-size:16px}.preview-tools>span{min-width:36px;text-align:center}.paper-stage{display:flex;justify-content:center;align-items:flex-start;padding:23px 16px 32px;min-width:0;overflow-x:hidden}.paper-scaler{position:relative;flex:none;transform-origin:top center}.document-page{position:relative;width:794px;min-height:1123px;box-sizing:border-box;flex-shrink:0;background:#fff;box-shadow:0 12px 42px rgba(16,39,64,.16);color:#20324a;font-family:Arial,Helvetica,sans-serif;overflow:hidden;transform-origin:top left;display:flex;flex-direction:column}.doc-top-rule{position:absolute;left:0;right:0;top:0;height:10px;background:linear-gradient(90deg,#0e2b4b 0%,#235e91 76%,#67b5d5 100%)}.doc-inner{padding:51px 58px 40px;display:flex;flex-direction:column;flex:1;min-height:1123px}.doc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.doc-brand{display:flex;align-items:center;gap:13px}.doc-brand img{width:70px;height:70px;object-fit:contain}.doc-brand strong,.doc-brand span,.doc-brand small{display:block}.doc-brand strong{letter-spacing:-.058em;font-size:26px;line-height:1.03;color:#13355a}.doc-brand span{font-size:13px;letter-spacing:.36em;font-weight:720;color:#1a3f68;margin-top:4px}.doc-brand small{font-size:7.5px;letter-spacing:.16em;color:#8495a6;margin-top:9px;font-weight:720}.doc-head-right{text-align:right;display:grid;justify-items:end;gap:6px}.doc-document-type{font-size:27px;letter-spacing:-.055em;font-weight:820;color:#143c61}.doc-head-right b{font-size:11px;letter-spacing:.08em;color:#6c8095}.doc-status{font-size:8px;letter-spacing:.12em;color:#376d9b;border-radius:4px;background:#e8f3fa;padding:6px 10px;font-weight:800}.doc-accent-separator{height:1px;background:#dce6ed;margin:36px 0 31px;position:relative}.doc-accent-separator span{position:absolute;left:0;top:0;background:#276b9f;height:3px;width:78px}.doc-meta-row{display:grid;grid-template-columns:1fr 1fr;gap:35px;min-height:150px}.doc-label{font-size:9px;font-weight:850;letter-spacing:.14em;color:#5482a4;display:block;margin-bottom:12px}.doc-meta-block strong{font-size:16px;font-weight:820;color:#1b3854;line-height:1.5;display:block;overflow-wrap:anywhere}.doc-meta-block p{font-size:11px;line-height:1.55;color:#647a8c;margin:5px 0;white-space:pre-line;overflow-wrap:anywhere}.doc-meta-right{padding-left:25px}.meta-line{display:grid;grid-template-columns:85px minmax(0,1fr);gap:8px;margin-bottom:11px;align-items:baseline}.meta-line span{font-size:10px;color:#8394a5}.meta-line b{font-size:10px;color:#354f69;overflow-wrap:anywhere}.doc-line-heading{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-top:22px;margin-bottom:14px}.doc-line-heading h3{font-size:10px;font-weight:900;letter-spacing:.14em;color:#254e73;margin:0}.doc-line-heading>span{font-size:9px;letter-spacing:.09em;color:#8b9aaa;font-weight:700}.doc-line-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:11px}.doc-line-table thead{background:#173f65;color:white}.doc-line-table th{padding:14px 13px;text-align:right;font-weight:700;font-size:9px;letter-spacing:.09em}.doc-line-table th:first-child{text-align:left;width:52%}.doc-line-table th:nth-child(2){width:11%}.doc-line-table th:nth-child(3){width:18%}.doc-line-table th:nth-child(4){width:19%}.doc-line-table td{padding:17px 13px;vertical-align:top;text-align:right;border-bottom:1px solid #e9edf2;color:#374e66;overflow-wrap:anywhere}.doc-line-table tr:nth-child(even) td{background:#f8fafc}.doc-line-table td:first-child{text-align:left;font-weight:700;color:#243e59}.doc-line-table td small{display:block;font-weight:normal;font-size:9px;line-height:1.5;color:#7e90a0;margin-top:6px}.doc-bottom-area{margin-top:auto;padding-top:27px;min-width:0}.doc-totals-layout{display:grid;grid-template-columns:1fr 266px;gap:27px;align-items:start}.doc-message{padding-top:5px;min-width:0}.doc-message-block{margin-bottom:17px}.doc-message-block .doc-label{margin-bottom:6px}.doc-message-block p{color:#718497;font-size:10px;line-height:1.7;white-space:pre-line;margin:0;overflow-wrap:anywhere}.doc-totals{background:#f1f6fa;border:1px solid #e4edf3;border-radius:8px;padding:17px 18px}.total-row{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px;color:#6e8193;font-size:11px}.total-row b{color:#344e65;font-weight:750}.grand-total{border-top:1px solid #cedce7;margin-top:15px;padding-top:16px;display:flex;flex-direction:column;align-items:flex-end;gap:7px}.grand-total span{font-size:9px;font-weight:800;color:#6082a0;letter-spacing:.13em}.grand-total strong{font-size:25px;letter-spacing:-.05em;color:#173b5e}.doc-payments{margin-top:24px;border-left:3px solid #3778aa;background:#f7fafc;padding:14px 16px}.doc-payments .doc-label{margin-bottom:7px}.doc-payments>div{color:#5e7489;font-size:10px;line-height:1.75;white-space:pre-line;overflow-wrap:anywhere}.doc-acceptance{margin-top:26px}.doc-acceptance>span{font-size:9px;letter-spacing:.12em;font-weight:800;color:#46769c}.signature-lines{display:flex;gap:45px;margin-top:23px}.signature-lines>div{flex:1}.signature-lines i{height:1px;background:#849bad;display:block}.signature-lines small{font-size:9px;color:#8092a4;display:block;margin-top:6px}.doc-footer{margin-top:33px;border-top:1px solid #dbe6ee;padding-top:15px;display:flex;align-items:center;gap:5px;flex-direction:column;color:#879aaa;font-size:8.5px;line-height:1.5}.doc-footer-tag{color:#316d9b;font-weight:800;letter-spacing:.17em;margin-top:6px;font-size:8px}.preview-hint{font-size:10px;line-height:1.6;color:#8599ab;display:flex;gap:8px;align-items:center;padding:0 18px 18px}.preview-hint .ico{width:15px;height:15px}.simple-heading{padding:4px 0 27px}.simple-heading .dot{color:#4a8fbd}.document-list-shell{overflow:hidden}.list-toolbar{display:flex;align-items:center;gap:10px;padding:19px 19px;border-bottom:1px solid #e4e9ef}.search-field{display:flex;align-items:center;gap:9px;flex:1;max-width:450px;padding:0 12px;background:#f8fafc;border:1px solid #dae4ed;border-radius:10px}.search-field .ico{height:17px;width:17px;color:#8398aa}.search-field input{border:0;background:transparent;min-height:40px;outline:none;width:100%;font-size:11px}.list-toolbar select{border:1px solid #dae4ed;border-radius:10px;background:white;padding:0 11px;min-height:40px;color:#536b80;font-size:11px}.document-list{padding:9px 18px 17px}.doc-row{display:flex;align-items:center;gap:17px;padding:17px 8px;border-bottom:1px solid #e9eef3;min-width:0}.doc-row:last-child{border-bottom:0}.doc-row-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:#eaf3fa;color:#2d6793;flex-shrink:0}.doc-row-main{min-width:0;flex:1}.doc-row-main strong,.doc-row-main span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-row-main strong{font-size:12px;margin-bottom:6px}.doc-row-main span{font-size:10px;color:#8999a8}.doc-row-info{display:grid;gap:5px;text-align:right}.doc-row-info b{font-size:12px;color:#334e67}.status-chip{font-size:9px!important;letter-spacing:.04em;text-transform:uppercase;color:#57778e!important;font-weight:800}.doc-row-actions{display:flex;gap:6px;margin-left:9px}.row-action{border:1px solid #e1e8ee;background:#fff;color:#52718d;width:31px;height:31px;display:grid;place-items:center;border-radius:8px}.row-action:hover{background:#eef6fb}.row-action.delete{color:#b76363}.row-action .ico{width:15px;height:15px}.list-empty{text-align:center;padding:80px 20px;color:#90a1b0;font-size:12px;line-height:1.7}.list-empty .ico{width:29px;height:29px;color:#b9c9d7}.settings-panel{max-width:900px;overflow:hidden}.settings-identity{display:flex;align-items:center;gap:17px;padding:24px 29px;background:#f5f9fc;border-bottom:1px solid #e4edf2}.settings-logo{border-radius:13px;background:#fff;width:68px;height:68px;display:grid;place-items:center}.settings-logo img{width:60px;height:56px;object-fit:contain}.settings-identity strong{font-size:16px;letter-spacing:-.025em}.settings-identity p{font-size:11px;color:#8a9aaa;margin:6px 0 0}.settings-block{padding:25px 29px;border-bottom:1px solid #e7edf3}.settings-block h2{font-size:15px;letter-spacing:-.03em;margin-bottom:18px}.settings-block h2 small{font-size:10px;color:#92a3b1;font-weight:500;margin-left:6px}.settings-footer{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:23px 29px}.settings-footer span{font-size:10px;color:#98a6b4}.toast{position:fixed;z-index:50;bottom:24px;right:24px;max-width:min(430px,calc(100vw - 48px));background:#122e4c;color:white;padding:14px 18px;border-radius:12px;box-shadow:0 20px 65px #0c233c38;font-size:12px;line-height:1.6;pointer-events:none;opacity:0;transform:translateY(13px);transition:all .22s}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:1500px){.studio-layout{grid-template-columns:minmax(295px,355px) minmax(0,1fr)}.editor-actions .button{padding:0 10px}.doc-page{box-shadow:0 10px 30px #10274321}}
@media(max-width:1180px){.sidebar{width:214px}.main-shell{margin-left:214px;width:calc(100% - 214px)}.side-brand{margin-left:1px}.side-brand-text b{font-size:13px}.studio-layout{grid-template-columns:1fr}.editor-panel{order:1}.preview-panel{order:2}.editor-top{align-items:flex-start;flex-direction:column}.editor-actions{justify-content:flex-start}.document-page{flex:none}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.heading-art{flex-basis:120px;font-size:66px}}
@media(max-width:900px){.sidebar{transform:translateX(-105%);transition:transform .2s;width:260px}.sidebar.open{transform:translateX(0)}.sidebar-overlay.show{display:block;position:fixed;z-index:19;inset:0;background:#07182c91;backdrop-filter:blur(3px)}.main-shell{width:100%;margin-left:0}.mobile-toggle{display:grid}.topbar{height:67px}.topbar-date{display:none}.app-content{padding:22px 18px 45px}.page-heading{padding:30px 26px;min-height:220px}.stat-grid{gap:10px}.stat-card{padding:18px 14px}.dashboard-bottom{grid-template-columns:1fr 1fr}.editor-actions{gap:8px}.preview-panel{max-width:100%}}
@media(max-width:700px){.topbar{padding:0 15px}.topbar-actions{gap:8px}.topbar-crumb{font-size:11px}.topbar-crumb span{margin:0 4px}.live-indicator{display:none}.top-new{min-height:36px}.page-heading{border-radius:17px}.page-heading h1{font-size:35px}.heading-art{display:none}.stat-grid{grid-template-columns:1fr}.stat-card{min-height:100px}.stat-card strong{margin-top:7px;font-size:25px}.dashboard-bottom{grid-template-columns:1fr}.dash-panel{padding:20px}.editor-top h1{font-size:32px}.editor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.editor-actions .button{min-height:41px}.preview-toolbar{padding:13px 12px}.preview-title small{display:none}.preview-tools{gap:0}.paper-stage{padding:12px 7px 22px}.preview-hint{padding:0 12px 15px}.list-toolbar{flex-wrap:wrap}.list-toolbar .search-field{flex:1 0 100%;max-width:none}.doc-row{flex-wrap:wrap;gap:10px}.doc-row-info{margin-left:auto}.doc-row-actions{width:100%;justify-content:flex-end}.settings-grid{grid-template-columns:1fr}.settings-block,.settings-identity,.settings-footer{padding:20px}}
@media(max-width:430px){.topbar-crumb{display:none}.top-new span{display:none}.top-new{width:38px;padding:0}.app-content{padding:17px 11px 40px}.page-heading{padding:25px 22px}.page-heading h1{font-size:31px}.form-section,.panel-title-row,.editor-bottom{padding-left:15px;padding-right:15px}.field-grid{gap:9px}.field input,.field textarea,.field select{font-size:11px;padding:9px 7px}.preview-title b{font-size:10px}.simple-heading h1{font-size:31px}}
@media print{@page{size:A4;margin:0}html,body{margin:0!important;padding:0!important;width:210mm!important;height:auto!important;background:white!important;overflow:visible!important}.sidebar,.sidebar-overlay,.topbar,.editor-top,.editor-panel,.preview-toolbar,.preview-hint,.toast,.privacy-strip{display:none!important}.main-shell,.app-content,.page-section,.studio-layout,.preview-panel,.paper-stage,.paper-scaler{display:block!important;width:210mm!important;min-width:210mm!important;min-height:0!important;max-width:none!important;margin:0!important;padding:0!important;box-shadow:none!important;transform:none!important;position:static!important;background:white!important;border:0!important;overflow:visible!important}#section-dashboard,#section-documents,#section-settings{display:none!important}#section-editor{display:block!important}.document-page{width:210mm!important;min-height:297mm!important;height:auto!important;transform:none!important;box-shadow:none!important;margin:0!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.doc-inner{min-height:297mm!important}.doc-line-table tr,.doc-bottom-area{break-inside:avoid;page-break-inside:avoid}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
