@font-face{font-family:Office;src:local("Inter"),local("Arial");font-display:swap}
:root{--navy:#142639;--navy-light:#223c54;--orange:#e67e35;--orange-dark:#c9621c;--ink:#1b2d3f;--muted:#758291;--bg:#f4f6f8;--line:#e3e8ed;--green:#25795b;--radius:13px;--shadow:0 14px 44px #152a3e0b;font-family:Office,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #e67e3580;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px #e67e3514}svg{width:20px;height:20px;flex-shrink:0;stroke-width:1.7}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px;font-weight:650}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:15px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--muted)}.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);padding:30px 20px;display:flex;flex-direction:column;color:#b6c3ce;position:fixed;inset:0 auto 0 0;width:244px;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:#fff}.brand-mark{width:42px;height:42px;border-radius:11px;background:var(--orange);display:grid;place-items:center;box-shadow:0 4px 14px #0001}.brand-mark svg{width:27px;height:27px;stroke:white}.brand-name{font-size:18px;letter-spacing:-.6px;font-weight:700}.brand-name em{font-style:normal;color:#f39a5b}.brand-sub{font-size:10px;letter-spacing:2.6px;text-transform:uppercase;color:#8298a9;margin-top:1px}.workspace-tag{border:1px solid #ffffff13;border-radius:10px;margin:31px 0 26px;padding:11px;display:flex;align-items:center;gap:10px;font-size:12px}.workspace-tag .square{height:29px;width:29px;display:grid;place-items:center;border-radius:7px;background:#ffffff0c;color:#e5edf4;font-size:11px;font-weight:700}.workspace-tag strong{font-size:12px;font-weight:500;color:#edf1f4}.workspace-tag small{display:block;font-size:10px;color:#8b9fb0}.nav-label{font-size:9px;color:#758a9c;letter-spacing:1.6px;padding:0 13px;margin-bottom:12px}.nav{display:flex;flex-direction:column;gap:5px}.nav a{display:flex;align-items:center;gap:12px;border-radius:9px;padding:12px 13px;font-size:12px;transition:background .15s,color .15s}.nav a:hover{background:#ffffff08;color:#fff}.nav a.active{background:var(--orange);color:#fff;box-shadow:0 3px 10px #00000009}.nav a .count{margin-left:auto;font-size:10px;min-width:20px;border-radius:5px;text-align:center;padding:1px 4px;background:#ffffff10;color:#c8d3dd}.nav a.active .count{color:#fff;background:#ffffff25}.sidebar-bottom{margin-top:auto;padding-top:40px}.sidebar-note{font-size:10px;color:#8ba0b1;line-height:1.7;border-top:1px solid #ffffff10;padding:18px 11px}.owner-chip{display:flex;align-items:center;gap:10px;padding:10px 11px}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#ffffff0b;color:#e3eaf0;font-size:10px;font-weight:700}.owner-chip strong{font-size:11px;font-weight:500;display:block;color:#e0e8ee}.owner-chip small{font-size:9px;color:#8298aa}.owner-chip button{margin-left:auto}.main{grid-column:2;min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:16px}.breadcrumb{font-size:11px;color:#8190a0;display:flex;align-items:center;gap:10px}.breadcrumb strong{font-weight:500;color:#33495e}.topbar-right{display:flex;align-items:center;gap:14px}.lang-select{font-size:11px;border:0;background:transparent;max-width:75px;color:#53687b;cursor:pointer;padding:6px}.date-label{font-size:10px;color:#7a8998;white-space:nowrap}.topbar-divider{height:19px;width:1px;background:var(--line)}.content{max-width:1480px;margin:auto;padding:33px 38px 45px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px}.page-heading p{color:var(--muted);font-size:12px;margin-top:5px}.button{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:10px 15px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;white-space:nowrap;transition:background .15s}.button:hover{background:#f8fafb}.button svg{width:16px;height:16px}.button.primary{background:var(--orange);border-color:var(--orange);color:#fff;box-shadow:0 3px 6px #e67e3512}.button.primary:hover{background:var(--orange-dark);border-color:var(--orange-dark)}.button.dark{background:var(--navy);border-color:var(--navy);color:#fff}.button.soft{background:#fff6ee;border-color:#f8e6d7;color:#b5632c}.button.wide{width:100%}.icon-button{border:0;background:transparent;color:inherit;padding:7px;display:inline-flex;border-radius:6px;align-items:center;justify-content:center;min-width:32px;min-height:32px}.icon-button:hover{background:#74899c13}.icon-button svg{width:17px;height:17px}.hero{background:var(--navy);color:#fff;border-radius:var(--radius);padding:26px 30px;display:flex;justify-content:space-between;gap:22px;position:relative;overflow:hidden;margin-bottom:23px}.hero:after{content:"";position:absolute;right:35px;top:-80px;width:280px;height:280px;border:1px solid #ffffff09;border-radius:50%;pointer-events:none}.hero .eyebrow{color:#f2aa78;font-size:9px;letter-spacing:1.5px}.hero h2{font-size:23px;margin:9px 0 6px;font-weight:550;letter-spacing:-.6px}.hero p{max-width:470px;font-size:11px;color:#aabccc;line-height:1.8}.hero-right{display:flex;align-items:center;z-index:1}.hero-icon{width:65px;height:65px;border:1px solid #ffffff15;border-radius:17px;background:#ffffff05;display:grid;place-items:center;margin:0 8px}.hero-icon svg{width:33px;height:33px;stroke:#f0a06b;stroke-width:1.2}.hero .button{margin-top:16px;background:#ffffff0d;border-color:#ffffff20;color:#eef3f7;min-height:34px;padding:7px 12px;font-size:10px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:27px}.stat{padding:20px 20px 17px;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 3px 12px #20394d02}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#738291;font-size:11px;margin-bottom:13px}.stat-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#f4f7fa;color:#6f8599}.stat-icon.orange{color:#cb7135;background:#fff3e9}.stat-icon.green{color:#3d8e71;background:#edf7f2}.stat-icon svg{width:16px;height:16px}.stat-number{font-size:26px;letter-spacing:-.8px;font-weight:600;line-height:1.2;white-space:nowrap}.stat-foot{font-size:10px;color:#8b97a3;margin-top:10px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:23px}.panel{border:1px solid var(--line);border-radius:11px;background:#fff;box-shadow:0 4px 12px #233a5003;min-width:0;overflow:visible}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 21px;border-bottom:1px solid #edf0f3}.panel-head h2{font-size:14px;font-weight:600}.panel-head p{font-size:10px;color:var(--muted);margin-top:4px}.text-link{color:#c86b2c;font-size:10px;font-weight:600;display:inline-flex;align-items:center;gap:5px}.text-link svg{width:13px;height:13px}.panel-body{padding:21px}.table-wrap{overflow-x:auto;min-width:0}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;white-space:nowrap}.data-table th{font-size:9px;font-weight:500;letter-spacing:.45px;color:#8b97a3;padding:12px 20px;background:#fcfdfe;border-bottom:1px solid #edf0f3}.data-table td{padding:16px 20px;border-bottom:1px solid #f0f3f5;vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfcfd}.data-table .main-cell{font-size:11px;font-weight:600;display:block;max-width:240px;overflow:hidden;text-overflow:ellipsis}.data-table .sub-cell{font-size:9px;color:#8a98a4;display:block;margin-top:3px;max-width:230px;overflow:hidden;text-overflow:ellipsis}.data-table .right{text-align:right}.data-table td.actions{padding-left:3px;width:40px}.status{font-size:9px;padding:4px 8px;display:inline-flex;border-radius:5px;background:#f0f3f7;color:#718395;white-space:nowrap}.status.completed{background:#edf7f1;color:#3c896a}.status.confirmed{background:#edf3fa;color:#477aa4}.status.new{background:#fff4e9;color:#c78543}.empty{padding:42px 25px;text-align:center;color:var(--muted)}.empty-icon{width:45px;height:45px;border-radius:12px;background:#f4f7fa;display:grid;place-items:center;color:#9badbd;margin:0 auto 14px}.empty-icon svg{width:22px;height:22px}.empty h3{color:#435a6d;font-size:13px;margin-bottom:6px;font-weight:600}.empty p{font-size:11px;max-width:340px;margin:0 auto 16px;line-height:1.8}.empty.compact{padding:27px 20px}.empty.compact .empty-icon{width:34px;height:34px;margin-bottom:10px}.workflow{padding:21px}.workflow-step{display:flex;gap:12px;position:relative;padding-bottom:22px}.workflow-step:last-child{padding-bottom:0}.workflow-step:not(:last-child):before{content:"";position:absolute;width:1px;background:#e7ecf0;top:28px;bottom:3px;left:13px}.step-number{width:28px;height:28px;border:1px solid #e4eaf0;background:#f8fafc;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:600;color:#7b90a3;flex-shrink:0;z-index:1}.workflow-step:first-child .step-number{background:#fff3e9;border-color:#fae4d3;color:#c87944}.workflow-step h3{font-size:11px;font-weight:600;margin:3px 0}.workflow-step p{font-size:9px;color:#8b99a6;line-height:1.6}.note-card{border:1px solid #efe5da;background:#fffaf4;border-radius:10px;padding:17px 19px;margin-top:17px}.note-card>svg{color:#c98955;width:19px;height:19px;margin-bottom:7px}.note-card h3{font-size:11px;margin-bottom:5px;color:#8f603c}.note-card p{font-size:10px;line-height:1.8;color:#a38971}.section-bottom{font-size:9px;color:#95a1ac;margin-top:22px;display:flex;align-items:center;gap:6px}.section-bottom svg{width:12px;height:12px}.toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.search{position:relative;min-width:220px;max-width:380px;width:100%}.search svg{position:absolute;left:12px;top:11px;color:#91a0ad;width:16px;height:16px}.search input{padding-left:36px}.search input,.filter-select{background:#fff;border:1px solid var(--line);border-radius:8px;padding-top:10px;padding-bottom:10px;font-size:11px}.filter-select{padding-left:12px;padding-right:25px;color:#637788;max-width:190px}.client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.client-card{padding:20px;border:1px solid var(--line);background:#fff;border-radius:11px;position:relative}.client-card-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:16px}.client-avatar{width:38px;height:38px;border-radius:10px;background:#edf2f7;color:#688298;display:grid;place-items:center;font-size:11px;font-weight:600}.client-card h3{font-size:14px;letter-spacing:-.15px;margin-bottom:2px;overflow-wrap:anywhere}.client-card .company{font-size:10px;color:#8a98a4;min-height:15px}.contact-line{display:flex;gap:9px;align-items:flex-start;color:#738695;font-size:10px;margin-top:10px;overflow-wrap:anywhere}.contact-line svg{width:13px;height:13px;margin-top:1px;color:#9ba9b6}.client-footer{border-top:1px solid #eef1f4;margin-top:17px;padding-top:13px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8092a0}.client-footer strong{font-size:11px;color:#435d71;font-weight:600}.menu{position:absolute;min-width:245px;max-width:calc(100vw - 32px);z-index:35;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 34px #172b4226;padding:6px}.menu button{border:0;background:#fff;display:flex;align-items:center;gap:10px;width:100%;padding:10px;text-align:left;color:#41586c;border-radius:6px;font-size:11px}.menu button:hover{background:#f5f7fa}.menu button svg{width:15px;height:15px;color:#7d91a3}.menu-label{padding:8px 10px 4px;font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#a0abb4;border-top:1px solid #edf0f2;margin-top:5px}.templates-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.template-card{padding:26px;background:#fff;border:1px solid var(--line);border-radius:12px}.template-preview{height:150px;background:#f4f6f9;border:1px solid #edf0f3;border-radius:9px;display:grid;place-items:center;margin-bottom:22px}.paper{width:96px;height:125px;background:white;border:1px solid #e4e9ef;box-shadow:0 7px 14px #102b3f0a;padding:15px 11px}.paper-brand{height:5px;width:37px;background:#213b53;margin-bottom:13px;border-left:7px solid var(--orange)}.paper-line{height:3px;background:#e8edf2;margin:6px 0}.paper-line.short{width:60%}.paper-box{height:23px;border:1px solid #edf0f4;margin-top:9px}.template-card h2{font-size:17px;margin-bottom:9px}.template-card p{font-size:11px;color:var(--muted);line-height:1.9}.template-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.settings-layout{max-width:850px}.form-panel{padding:25px;margin-bottom:20px}.form-panel h2{font-size:15px;margin-bottom:5px}.form-panel>p{font-size:11px;color:var(--muted);margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field>label,.field-label{font-size:10px;color:#607486;font-weight:500}.field small{font-size:10px;color:#8c99a5;line-height:1.6}input,select,textarea{width:100%;border:1px solid #dfe6ec;border-radius:7px;background:#fff;color:#344d62;padding:10px 11px;font-size:12px;min-width:0}input::placeholder,textarea::placeholder{color:#b0bbc4}textarea{resize:vertical;min-height:80px;line-height:1.6}input[type=date]{min-height:39px}input[readonly]{background:#f7f9fb}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding-top:22px}.form-error{color:#b34237;background:#fff3f0;font-size:11px;padding:10px 12px;border-radius:7px;margin-top:14px;line-height:1.7}.form-error:empty{display:none}.help-box{display:flex;gap:10px;padding:12px 14px;border:1px solid #e7edf3;background:#f6f9fc;border-radius:8px;margin:15px 0;font-size:11px;color:#748697;line-height:1.8}.help-box svg{width:16px;height:16px;margin-top:3px}.help-box p{flex:1}.inline-total{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);padding-top:15px;margin-top:15px;font-size:12px;color:#718497}.inline-total strong{font-size:21px;font-weight:600;color:#263e53}.item-head,.item-row{display:grid;grid-template-columns:minmax(120px,1fr) 70px 75px 100px 30px;gap:8px;align-items:center}.item-head{font-size:9px;color:#8796a4;margin-bottom:7px}.item-row{margin-bottom:8px}.item-row input{padding:9px 8px;font-size:11px}.item-row .icon-button{min-width:25px;width:25px}.items-section{margin-top:22px}.items-section h3{font-size:12px;margin-bottom:14px}.divider{height:1px;background:var(--line);margin:20px 0}.doc-detail-heading{font-size:12px;margin:22px 0 14px}.document-dialog{width:min(1140px,calc(100vw - 36px))}.document-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px}.document-preview{display:flex;flex-direction:column;background:#f3f6f9;border:1px solid #e1e7ed;border-radius:9px;overflow:hidden;min-height:590px}.document-preview .preview-heading{padding:14px 16px;border-bottom:1px solid #e0e7ed;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7a8e9f}.document-preview iframe{width:100%;height:100%;flex:1;border:0;background:#fff;min-height:540px}.preview-empty{display:grid;place-content:center;text-align:center;flex:1;color:#93a2b0;padding:30px;font-size:11px;gap:14px}.preview-empty svg{width:35px;height:35px;stroke-width:1.1;margin:auto}.preview-empty p{max-width:220px;line-height:1.8}.doc-notes{font-size:10px;color:#8696a4;margin-top:12px;line-height:1.8}.payment-overview{background:#f5f8fb;padding:15px 17px;border-radius:9px;display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:20px}.payment-overview span{display:block;font-size:10px;color:#8295a5;margin-bottom:5px}.payment-overview strong{font-size:19px;font-weight:600}.badge{padding:3px 7px;border-radius:4px;background:#fff4e8;color:#b87839;font-size:9px}.notice{position:fixed;bottom:24px;left:calc(50% + 122px);transform:translateX(-50%);z-index:100;max-width:min(600px,calc(100vw - 30px));border-radius:10px;background:#1c3f36;color:#f0f8f4;padding:14px 18px;box-shadow:0 9px 30px #12332930;font-size:12px;display:none}.notice.visible{display:flex;align-items:center;gap:15px}.notice a{color:#e9b184;border-bottom:1px solid #e9b18460;white-space:nowrap}.notice.error{background:#843f35}dialog{border:1px solid #e2e8ee;box-shadow:0 30px 100px #0718263d;border-radius:14px;padding:0;width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 48px);color:var(--ink);overflow:auto}dialog::backdrop{background:#0d223b70;backdrop-filter:blur(3px)}.modal-header{padding:21px 25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:#fff;z-index:3}.modal-header h2{font-size:18px}.modal-body{padding:24px 25px}.modal-footer{position:sticky;bottom:0;background:#fff;padding:16px 25px;border-top:1px solid var(--line);display:flex;gap:9px;justify-content:flex-end;z-index:3}.modal-sub{font-size:11px;color:var(--muted);margin:0 0 20px;line-height:1.8}.auth-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{background:var(--navy);color:#fff;padding:55px max(40px,8vw);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:500px;height:500px;border:1px solid #ffffff0a;border-radius:50%;bottom:-220px;right:-180px}.auth-story h1{font-size:46px;font-weight:500;line-height:1.2;letter-spacing:-1.7px;max-width:390px;margin:90px 0 21px}.auth-story h1 em{font-style:normal;color:#eda26d}.auth-story p{font-size:13px;color:#9db2c5;max-width:360px;line-height:1.9}.auth-features{display:flex;gap:25px;margin-top:45px;padding-bottom:30px}.auth-features span{font-size:10px;color:#9eb3c5;display:flex;align-items:center;gap:8px}.auth-features svg{width:15px;height:15px;color:#efaa79}.auth-story-foot{font-size:10px;color:#6e8aa1;padding-top:65px}.auth-form-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px 30px;position:relative}.auth-form-side>.lang-select{position:absolute;top:28px;right:30px}.auth-form{width:100%;max-width:345px}.auth-form .eyebrow{color:#c87b46;font-size:9px}.auth-form h2{font-size:27px;letter-spacing:-.8px;margin:9px 0}.auth-form>p{font-size:12px;color:#8291a0;line-height:1.8;margin-bottom:30px}.auth-form .field{margin-bottom:17px}.auth-form .button{margin-top:7px}.auth-footer{font-size:10px;color:#9ca8b3;margin-top:27px;display:flex;gap:7px;align-items:center}.auth-footer svg{width:13px;height:13px}.loading{height:100dvh;display:flex;align-items:center;justify-content:center;gap:13px;color:#567086}.spinner{width:22px;height:22px;border-radius:50%;border:2px solid #e2e8ed;border-top-color:var(--orange);animation:spin .8s linear infinite}.mobile-menu{display:none}.mobile-brand{display:none}.mobile-overlay{display:none}.detail-list{display:flex;flex-direction:column;gap:13px}.detail-row{display:flex;justify-content:space-between;gap:18px;font-size:11px}.detail-row span{color:#8594a2}.detail-row strong{font-weight:500;text-align:right}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:23px}.detail-docs{margin-top:22px}.detail-docs h3{font-size:12px;margin-bottom:10px}.mini-doc{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:7px;padding:10px 12px;margin-top:7px}.mini-doc svg{color:#8b9daf;width:16px;height:16px}.mini-doc strong{font-size:11px;font-weight:500;display:block}.mini-doc small{font-size:9px;color:#8e9ca8;display:block}.mini-doc>a{margin-left:auto}.empty-value{color:#acb7c0}.history-line{font-size:11px;padding:10px 0;border-bottom:1px solid #eef1f4;display:flex;justify-content:space-between;gap:15px}.history-line small{font-size:9px;color:#8c9ba8;display:block}.settings-layout .button{min-width:150px}.totals-sub{font-size:10px;color:#8798a5;text-align:right;margin-top:5px}.search-result-note{font-size:11px;color:#8a9aa7;margin-bottom:15px}.form-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 12px}.form-topline h3{font-size:12px}.language-tag{font-size:9px;color:#91a2b1;background:#f3f6f8;border-radius:4px;padding:2px 6px}.help-empty{padding:21px;border:1px dashed #d6e0e9;border-radius:8px;text-align:center;color:#7d91a3;font-size:11px;margin-top:20px}.menu svg{pointer-events:none}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.content{padding-top:45px}.hero{padding:32px 35px}.stats{gap:20px}.stat{padding:25px}.hero h2{font-size:26px}}
@media(max-width:1200px){.sidebar{width:210px;padding:26px 15px}.app-shell{grid-template-columns:210px minmax(0,1fr)}.topbar{padding:0 26px}.content{padding:29px 26px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 250px;gap:17px}.stats{gap:12px}.stat{padding:16px}.stat-number{font-size:23px}.stat-top{font-size:10px}.client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notice{left:calc(50% + 105px)}.brand-name{font-size:16px}.brand-mark{width:36px;height:36px}.brand-sub{font-size:9px}.data-table th,.data-table td{padding-left:16px;padding-right:16px}}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dashboard-side .note-card{margin-top:0;height:100%}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-icon{display:none}.date-label{display:none}.topbar-divider{display:none}.auth-story{padding:45px 35px}.auth-story h1{font-size:39px}.auth-features{flex-wrap:wrap;gap:15px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:244px}.sidebar.open{transform:translateX(0)}.mobile-overlay.open{display:block;position:fixed;inset:0;background:#0b243c66;z-index:19}.main{width:100%}.topbar{height:65px;padding:0 19px;gap:10px}.breadcrumb{display:none}.mobile-menu{display:inline-flex;margin-left:-6px}.mobile-brand{display:block;font-size:15px;font-weight:700;letter-spacing:-.4px}.mobile-brand span{color:var(--orange)}.topbar-left{display:flex;align-items:center;gap:7px}.topbar-right{gap:8px}.topbar-right>.button{font-size:10px;padding:8px 10px;min-height:34px}.content{padding:25px 18px 35px}.page-heading{gap:12px;margin-bottom:22px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.page-heading>.button{padding:9px 10px;font-size:10px}.hero{padding:23px;margin-bottom:18px}.hero h2{font-size:22px}.hero p{font-size:11px}.hero .eyebrow{font-size:8px}.stats{gap:11px;margin-bottom:20px}.stat{padding:16px 15px}.stat-number{font-size:24px}.stat-top{font-size:10px;margin-bottom:12px}.stat-icon{width:26px;height:26px}.stat-foot{font-size:9px}.dashboard-side{grid-template-columns:1fr}.dashboard-side .note-card{margin:0}.workflow{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px}.workflow-step{padding:0;gap:9px}.workflow-step:before{display:none}.workflow-step h3{font-size:10px}.workflow-step p{font-size:9px}.step-number{width:24px;height:24px}.notice{left:50%;bottom:15px;font-size:11px;gap:10px;align-items:start}.client-grid{grid-template-columns:1fr}.toolbar{gap:10px}.search{min-width:0}.filter-select{max-width:140px;font-size:10px;padding-left:9px}.data-table{font-size:10px}.data-table th,.data-table td{padding:13px 15px}.data-table .main-cell{font-size:11px;max-width:190px}.data-table .sub-cell{max-width:185px}.templates-grid{grid-template-columns:1fr}.template-card{padding:22px}.form-panel{padding:22px 18px}.form-grid{gap:15px}.field.full-mobile{grid-column:1/-1}.form-grid.mobile-stack{grid-template-columns:1fr}.form-grid.mobile-stack .field{grid-column:1}.document-layout{grid-template-columns:1fr}.document-preview{min-height:450px}.document-preview iframe{min-height:450px}.document-dialog{width:calc(100vw - 20px)}dialog{max-height:calc(100dvh - 24px);border-radius:12px}.modal-header{padding:18px}.modal-body{padding:20px 18px}.modal-footer{padding:14px 18px;flex-wrap:wrap}.modal-header h2{font-size:16px}.item-head,.item-row{grid-template-columns:minmax(90px,1fr) 48px 51px 75px 25px;gap:5px}.item-row input{font-size:10px;padding:9px 6px}.item-head{font-size:8px}.auth-shell{grid-template-columns:1fr}.auth-story{padding:28px}.auth-story .brand{margin-bottom:26px}.auth-story h1{font-size:31px;margin:0 0 12px;max-width:340px}.auth-story p{font-size:11px;max-width:320px}.auth-story-foot,.auth-features{display:none}.auth-form-side{padding:45px 28px}.auth-form-side>.lang-select{top:12px;right:22px}.auth-form h2{font-size:25px}.auth-form>p{margin-bottom:23px}.auth-footer{margin-top:22px}.client-card{padding:21px}.hero:after{right:-80px;top:-100px}.panel-head{padding:18px}.panel-head h2{font-size:13px}.topbar-right .lang-select{max-width:52px}.section-bottom{font-size:8px}.detail-row{gap:14px}.modal-body .form-grid{grid-template-columns:1fr}.modal-body .field{grid-column:1}.payment-overview{gap:10px}.payment-overview strong{font-size:18px}}
.item-cell{min-width:0}.item-field-label{display:none}
/* Text and controls stay readable on desktop and on the owner's phone. */
:root{--muted:#637687}
.nav a{font-size:14px}.workspace-tag strong,.owner-chip strong{font-size:13px}.workspace-tag small,.owner-chip small{font-size:11px}.sidebar-note{font-size:12px;color:#a7b9c8}.breadcrumb,.date-label,.lang-select{font-size:12px}.page-heading p,.hero p{font-size:13px}.hero .button{font-size:12px}.button,.topbar-right>.button,.page-heading>.button{font-size:13px;min-height:42px}.stat-top{font-size:13px;color:#607586}.stat-foot{font-size:12px;color:#728596}.panel-head h2{font-size:16px}.panel-head p,.text-link{font-size:12px}.workflow-step h3{font-size:13px}.workflow-step p{font-size:12px;color:#6e8293}.note-card h3{font-size:13px}.note-card p{font-size:12px;color:#896e55}.data-table{font-size:13px}.data-table th{font-size:12px;color:#6f8394}.data-table .main-cell{font-size:13px}.data-table .sub-cell{font-size:12px;color:#718697}.status{font-size:12px}.empty h3{font-size:16px}.empty p{font-size:13px;color:#6a8091}.contact-line,.client-card .company,.client-footer{font-size:13px}.client-footer strong{font-size:13px}.contact-line{color:#657e91}.client-card h3{font-size:16px}.field>label,.field-label{font-size:13px;color:#516b80}.field small,.doc-notes,.modal-sub{font-size:12px;color:#677f91}.field input,.field select,.field textarea{font-size:14px}.search input,.filter-select{font-size:13px}.menu button{font-size:13px;min-height:39px}.menu-label{font-size:11px}.item-head{font-size:12px;color:#6a8091}.item-row input{font-size:13px}.help-box,.form-error{font-size:13px}.detail-row,.history-line{font-size:13px}.detail-row span{color:#6c8294}.history-line small,.mini-doc small{font-size:12px}.mini-doc strong{font-size:13px}.template-card p{font-size:13px;color:#6a8092}.form-panel>p{font-size:13px}.payment-overview span{font-size:12px;color:#6b8295}.section-bottom{font-size:11px;color:#6e8496}.auth-form>p,.auth-story p{font-size:14px}.auth-features span,.auth-footer{font-size:12px}.preview-empty{font-size:13px}.document-preview .preview-heading{font-size:12px}.notice{font-size:13px}.detail-docs h3,.doc-detail-heading,.items-section h3,.form-topline h3{font-size:14px}.language-tag{font-size:11px}
@media(max-width:760px){.field input,.field select,.field textarea,.item-row input,.search input,.filter-select{font-size:16px;min-height:44px}.icon-button{min-width:44px;min-height:44px}.topbar-right>.button{font-size:12px;min-height:40px}.topbar-right>.button svg{display:none}.topbar-right .lang-select{max-width:55px;font-size:12px}.client-grid{gap:16px}.item-head{display:none}.item-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:9px;padding:12px;border:1px solid #e4eaf0;border-radius:8px;margin-bottom:12px}.item-row>input:first-child{grid-column:1/-1}.item-row>input:nth-child(2),.item-row>input:nth-child(3){width:100%}.item-row>input:nth-child(4){grid-column:1/3}.item-row>.icon-button{grid-column:3;grid-row:2/4;align-self:stretch;min-width:44px;width:44px}.stat-top{font-size:12px}.stat-foot{font-size:12px;line-height:1.6}.stat-number{font-size:23px}.stat{padding:15px 12px}.stat-icon{display:none}.page-heading p{font-size:13px}.hero p{font-size:13px}.hero h2{font-size:23px}.panel-head h2{font-size:15px}.workflow{grid-template-columns:1fr;gap:19px}.workflow-step h3{font-size:14px}.workflow-step p{font-size:12px}.step-number{width:28px;height:28px}.notice{font-size:13px;flex-wrap:wrap}.menu button{min-height:44px;font-size:14px}.menu{max-height:calc(100dvh - 20px);overflow:auto}.auth-story p{font-size:13px}.document-preview{min-height:460px}.document-preview iframe{min-height:460px}.modal-footer .button{flex:1;font-size:12px;padding-left:9px;padding-right:9px}.template-actions .button{width:100%}.form-grid{grid-template-columns:1fr}.section-bottom{font-size:11px;align-items:flex-start}.data-table .main-cell{font-size:13px}.data-table .sub-cell{font-size:12px}.sidebar-note{font-size:12px}.filter-select{max-width:160px}.toolbar{align-items:stretch}.toolbar>.small{font-size:12px;align-self:center}}
@media(max-width:760px){.item-row>.item-cell:first-child{grid-column:1/-1}.item-row>.item-cell:nth-child(4){grid-column:1/3}.item-field-label{display:block;font-size:12px;color:#5d768a;margin-bottom:5px}.item-row>.icon-button{grid-column:3;grid-row:2/4}.item-cell input{min-height:44px;font-size:16px}}
@media(max-width:480px){.topbar{padding:0 12px;gap:6px}.topbar-left{gap:3px}.mobile-brand{font-size:14px}.topbar-right{gap:5px}.topbar-right>.button{font-size:0;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;gap:0}.topbar-right>.button svg{display:block;width:20px;height:20px}.topbar-right .lang-select{max-width:52px;padding-left:3px;padding-right:3px}}
.sidebar{overflow-y:auto}
.agb-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.85fr);gap:24px;align-items:start}.agb-form,.agb-side{min-width:0;display:flex;flex-direction:column;gap:20px}.agb-panel-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.agb-panel-heading h2{margin:0}.agb-subheading{margin:23px 0 11px;font-size:14px}.agb-help{font-size:12px;color:#677f91;line-height:1.7;margin:0 0 12px}.agb-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}.agb-check{display:flex;align-items:flex-start;gap:10px;padding:9px 0;cursor:pointer;font-size:13px;line-height:1.6;color:#345167;min-width:0}.agb-check input{width:20px;height:20px;min-width:20px;flex:0 0 20px;margin:1px 0 0;padding:0;accent-color:var(--orange);cursor:pointer;box-shadow:none}.agb-check span{min-width:0;overflow-wrap:anywhere}.agb-insurance-card{border:1px solid var(--line);border-radius:9px;padding:12px 15px;margin-top:13px}.agb-insurance-card>.agb-check{font-weight:600}.agb-fields{border:0;margin:6px 0 0;padding:0;min-width:0;transition:opacity .15s}.agb-fields:disabled{opacity:.65}.agb-fields .field:last-child{margin-bottom:0}.agb-terms-list>.agb-fields{margin:0 0 13px 30px}.agb-terms-list>.field{margin-top:18px}.agb-actions{flex-wrap:wrap;gap:9px}.agb-actions .button{white-space:normal}.agb-preview-panel{overflow:hidden}.agb-preview-content{min-width:0}.agb-preview-content iframe{display:block;width:100%;height:620px;border:0;background:#fff}.agb-version-list{display:flex;flex-direction:column}.agb-version{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid var(--line)}.agb-version>div{min-width:0;overflow-wrap:anywhere}.agb-version strong{font-size:13px;margin-right:7px}.agb-version small{display:block;font-size:11px;color:#718697;line-height:1.8;margin-top:6px}.agb-version .badge{font-size:10px;margin-left:5px}.agb-version>a{flex-shrink:0}.agb-document-choice{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:8px;background:#f8fafb}.agb-document-choice .doc-notes{margin-top:8px}.agb-document-choice .field{margin-bottom:0}
@media(max-width:1100px){.agb-layout{grid-template-columns:minmax(0,1fr)}.agb-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.agb-preview-content iframe{height:520px}}
@media(max-width:760px){.agb-layout{gap:18px}.agb-side{display:flex}.agb-check-grid{grid-template-columns:minmax(0,1fr)}.agb-check{min-height:44px;font-size:14px;padding:11px 0}.agb-check input{margin-top:2px;min-height:20px}.agb-insurance-card{padding:10px 12px}.agb-terms-list>.agb-fields{margin-left:0}.agb-actions .button{flex:1 1 100%;min-height:44px}.agb-version{align-items:flex-start}.agb-version>a{padding:8px 0}.agb-preview-content iframe{height:510px}.agb-document-choice{padding:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.insurance-summary{margin-bottom:22px}.insurance-summary-title{display:flex;align-items:flex-start;gap:14px}.insurance-summary-title>svg{width:30px;height:30px;color:var(--orange);margin-top:2px}.insurance-summary-title p{margin-bottom:0}.insurance-summary-meta{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:18px;font-size:12px;color:var(--muted)}.insurance-summary-meta strong{color:var(--ink);font-weight:600}.insurance-small{font-size:11px!important;line-height:1.7!important;color:var(--muted);margin:10px 0 0!important;white-space:pre-line}.insurance-contracts{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.insurance-contract{padding:24px;min-width:0}.insurance-contract-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.insurance-contract-head h2{font-size:18px;overflow-wrap:anywhere}.insurance-contract-head p{font-size:12px;color:var(--muted);margin-top:5px;white-space:pre-line}.insurance-state{font-size:10px;font-weight:600;line-height:1.6;border-radius:6px;padding:5px 9px;background:#fff3e3;color:#946020;display:inline-flex;max-width:100%;white-space:normal}.insurance-state.confirmed{background:#eaf6ef;color:#287653}.insurance-state.inactive{background:#f1f3f5;color:#7f8992}.insurance-record{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:21px 0 14px}.insurance-record>div{min-width:0}.insurance-record span{font-size:10px;color:var(--muted);display:block;margin-bottom:5px}.insurance-record strong{font-size:12px;overflow-wrap:anywhere;display:block}.insurance-notes{font-size:12px;line-height:1.8;color:#61798b;white-space:pre-line}.insurance-buttons,.insurance-preset-buttons{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;margin:16px 0}.insurance-preset{max-width:100%;min-width:0}.insurance-preset>.button{max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere;justify-content:flex-start}.insurance-preset>.insurance-small{max-width:450px}.insurance-details{margin-top:20px;border-top:1px solid var(--line);padding-top:15px}.insurance-details summary{font-size:12px;font-weight:600;cursor:pointer;line-height:1.8}.insurance-details summary span{font-size:10px;background:#f3f6f8;border-radius:5px;padding:2px 6px;margin-left:7px}.insurance-details article{border-top:1px solid #edf0f3;margin-top:15px;padding-top:15px}.insurance-details h3{font-size:13px;margin-bottom:7px}.insurance-details p{font-size:12px;color:#667f91;line-height:1.8;margin-top:4px;white-space:pre-line;overflow-wrap:anywhere}.insurance-checks{margin-top:22px}.insurance-checks>article{padding:17px 0;border-top:1px solid var(--line)}.insurance-checks article>div{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.insurance-checks h3{font-size:13px}.insurance-checks article p{font-size:12px;line-height:1.9;margin:7px 0 0;white-space:pre-line}.insurance-source-note{padding:11px 13px;background:#fff8ec;border-radius:7px;margin-bottom:10px}.insurance-source-note p{font-size:11px;line-height:1.8;color:#8a6b3b;margin:0 0 9px}.insurance-source-note .button{font-size:10px;min-height:30px;padding:6px 9px}
@media(max-width:760px){.insurance-contract{padding:18px 16px}.insurance-contract-head{flex-direction:column;gap:10px}.insurance-record{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.insurance-record strong{font-size:13px}.insurance-record span,.insurance-small{font-size:12px!important}.insurance-state{font-size:11px}.insurance-buttons,.insurance-preset-buttons{flex-direction:column;align-items:stretch}.insurance-buttons>.button,.insurance-preset>.button{width:100%;min-height:44px;font-size:12px}.insurance-details summary{font-size:14px;min-height:44px}.insurance-details p,.insurance-checks article p{font-size:13px}.insurance-checks article>div{flex-direction:column;gap:8px}.insurance-summary-meta{flex-direction:column;gap:8px}.insurance-source-note p{font-size:12px}.insurance-source-note .button{min-height:44px}}
.insurance-assessment-facts{font-size:12px;line-height:1.8;color:#61798b;padding-left:20px;margin:13px 0 0}.insurance-assessment-facts li+li{margin-top:6px}
.source-reference{font-weight:600;color:#557b96!important}.source-badge{display:block;width:fit-content;max-width:230px;margin-top:6px;border-radius:5px;padding:4px 7px;font-size:11px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}.source-badge.needs-review,.source-state.needs-review{background:#fff4df;color:#855e17}.source-badge.reviewed,.source-state.reviewed{background:#edf7f0;color:#2c7556}.source-order-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;margin-bottom:20px;border:1px solid #dce8ee;border-radius:9px;background:#f7fbfd}.source-order-banner>div{min-width:0}.source-order-banner strong{font-size:14px;overflow-wrap:anywhere}.source-order-banner p{font-size:12px;line-height:1.7;color:#587085;margin-top:8px}.source-order-banner>.button{white-space:normal;text-align:left;max-width:230px;flex-shrink:0}.source-dialog{min-width:0}.source-state{border-radius:8px;padding:12px 14px;font-size:13px;line-height:1.8;margin-bottom:21px}.source-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr);gap:28px}.source-layout>div,.source-layout>aside{min-width:0}.source-gross{background:#f0f6fa;border:1px solid #dce7ef;border-radius:9px;padding:17px;margin-bottom:19px}.source-gross span,.source-gross small{display:block;font-size:12px;line-height:1.7;color:#526f84}.source-gross strong{display:block;font-size:30px;letter-spacing:-.7px;line-height:1.5;color:var(--navy);overflow-wrap:anywhere}.source-section{border-top:1px solid var(--line);padding-top:19px;margin-top:20px}.source-section h3{font-size:15px;margin:0 0 13px;line-height:1.6}.source-help{font-size:13px;color:#617b8d;line-height:1.8;white-space:pre-line;margin:0 0 16px}.source-data{margin:0}.source-data>div{display:grid;grid-template-columns:minmax(120px,.85fr) minmax(0,1.15fr);gap:12px;padding:9px 0;border-bottom:1px solid #edf1f4;font-size:13px;line-height:1.7}.source-data dt{color:#60798b;overflow-wrap:anywhere}.source-data dd{margin:0;color:#29465a;white-space:pre-line;overflow-wrap:anywhere}.source-items{padding:0;list-style:none;margin:0}.source-items li{border:1px solid #e4ebf0;border-radius:8px;padding:12px 14px;font-size:13px;margin-bottom:10px;overflow-wrap:anywhere}.source-items p{white-space:pre-line;line-height:1.8;color:#617b8d;margin-top:5px}.source-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.8;margin:16px 0}.source-check input{width:20px;height:20px;margin-top:3px;flex-shrink:0;accent-color:var(--orange)}.source-section .button{white-space:normal;text-align:center;max-width:100%}.source-section .form-error:empty{display:none}.source-section form .form-grid{margin-bottom:13px}
@media(max-width:900px){.source-layout{grid-template-columns:minmax(0,1fr);gap:10px}.source-layout>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:760px){.source-order-banner{flex-direction:column;align-items:stretch}.source-order-banner>.button{max-width:none;min-height:44px}.source-layout>aside{display:block}.source-data>div{grid-template-columns:minmax(0,1fr);gap:3px;padding:12px 0;font-size:14px}.source-gross strong{font-size:29px}.source-state,.source-help,.source-check{font-size:14px}.source-check input{min-height:20px}.source-section .button{width:100%;min-height:44px}.source-dialog .source-section form{min-width:0}.source-dialog .field input,.source-dialog .field select,.source-dialog .field textarea{font-size:16px}.source-badge{font-size:12px}}
