:root{font-family:"Segoe UI",Arial,sans-serif;color:#243b3a;background:#f5f6f2;font-synthesis:none;--green:#125b50;--dark:#123e39;--muted:#70817a;--line:#e1e7df;--paper:#fff;--gold:#d8ae62;--soft:#edf4ee;--danger:#ae3e31}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--green)}button:focus-visible,a:focus-visible{outline:3px solid #dab463;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #408d79;outline-offset:1px}button{border:0}svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.6;fill:none;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:31px;letter-spacing:-1px;line-height:1.2;margin-bottom:8px}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px}p{line-height:1.65}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:10px;font-weight:700}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{background:var(--dark);color:#c2d6cc;padding:33px 22px;position:fixed;inset:0 auto 0 0;width:238px;display:flex;flex-direction:column;z-index:20}.wordmark{font-size:34px;font-weight:750;letter-spacing:-1.8px;color:white;line-height:1}.brand-sub{font-size:10px;letter-spacing:3.4px;color:#d1b574;margin:10px 0 0}.brand{padding:4px 13px 36px}.brand img{width:150px;max-height:70px;object-fit:contain;background:white;border-radius:8px}.sidebar nav{display:grid;gap:7px}.nav-link{display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:9px;color:#b9cdc4;text-decoration:none;font-size:13px;font-weight:550}.nav-link:hover{background:#ffffff09;color:white}.nav-link.active{background:#ffffff13;color:white;box-shadow:inset 3px 0 #cfb574}.sidebar-note{margin-top:auto;font-size:12px;line-height:1.7;padding:24px 14px 0;color:#a1bcb1}.sidebar-note strong{display:block;color:#eff4ed;font-weight:500}.sidebar-note .eyebrow{font-size:9px;color:#d9be88;letter-spacing:1px}.workspace{grid-column:2;min-width:0}.topbar{height:76px;padding:0 42px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#f9faf7}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb b{font-weight:500;color:#354e44}.top-right{display:flex;gap:16px;align-items:center;font-size:12px}.avatar{border:1px solid #dce4dc;border-radius:50%;height:34px;width:34px;display:grid;place-items:center;font-size:11px;font-weight:700}.dot{width:6px;height:6px;border-radius:50%;background:#2e8b65;display:inline-block;margin-right:7px}.dot.off{background:#d2aa58}.main{max-width:1460px;margin:auto;padding:34px 42px 64px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}.page-title p{font-size:13px;margin:0;color:var(--muted)}.btn{border-radius:8px;padding:12px 17px;font-size:12px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;background:#eaf0e9;color:var(--green);min-height:42px}.btn svg{width:17px;height:17px}.btn.primary{background:var(--green);color:white}.btn.primary:hover{background:#0e4c41}.btn.secondary{background:white;border:1px solid var(--line);color:#39574b}.btn.ghost{background:transparent;color:var(--muted)}.btn.danger{color:var(--danger);background:#fceee9}.btn.small{padding:8px 12px;min-height:34px;font-size:11px}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hero{background:var(--green);color:white;border-radius:14px;padding:34px 36px;position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:30px;margin-bottom:25px;min-height:222px}.hero:after{content:'';position:absolute;width:270px;height:270px;border-radius:50%;border:1px solid #ffffff12;right:35px;top:-95px;box-shadow:0 0 0 45px #ffffff04,0 0 0 90px #ffffff03;pointer-events:none}.hero .eyebrow{color:#e4cd95;margin-bottom:16px;display:block}.hero h2{font-size:28px;font-weight:500;line-height:1.25;letter-spacing:-.8px;max-width:430px;margin-bottom:13px}.hero p{color:#c7dacf;font-size:12px;max-width:390px;margin-bottom:22px}.hero .btn{background:#f5f1e5;color:#284b3f}.hero-right{width:190px;align-self:flex-end;text-align:right;position:relative;z-index:1}.hero-number{font-size:43px;font-weight:300;letter-spacing:-2px}.hero-right small{color:#d6e7dc;display:block;margin-top:5px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stat{background:white;border:1px solid var(--line);padding:20px;border-radius:11px}.stat-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;gap:5px}.stat-label svg{width:17px;height:17px;color:#849b8e}.stat-value{font-size:27px;letter-spacing:-1px;font-weight:600;margin:14px 0 8px}.stat-foot{font-size:10px;color:var(--muted)}.grid-two{display:grid;grid-template-columns:1.6fr 1fr;gap:24px}.card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:22px}.card-head{padding:22px 24px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.card-head h2,.card-head h3{margin:0}.card-body{padding:0 24px 23px}.card-body.padded{padding-top:23px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px}.section-heading h2{margin:0}.section-heading small{color:var(--muted)}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.service-card{background:white;border:1px solid var(--line);border-radius:10px;padding:20px 16px;text-align:left;display:flex;align-items:flex-start;flex-direction:column;gap:12px;color:#29473e;transition:transform .15s,border-color .15s;min-height:140px}.service-card:hover{transform:translateY(-2px);border-color:#a2bcaa}.service-card h3{margin:0 0 5px;font-size:13px}.service-card small{font-size:10px;line-height:1.5;color:var(--muted)}.icon-box{width:37px;height:37px;border-radius:9px;display:grid;place-items:center;background:#eaf2ec;color:#47755b}.icon-box.blue{background:#eaf1f7;color:#5780a1}.icon-box.amber{background:#f7f0df;color:#ae8b42}.icon-box.purple{background:#f0edf5;color:#8a72a0}.empty{text-align:center;padding:37px 22px;color:var(--muted)}.empty svg{width:32px;height:32px;margin-bottom:10px;color:#9cad9b}.empty h3{font-weight:600;font-size:14px;color:#365447;margin-bottom:8px}.empty p{font-size:12px;max-width:350px;margin:0 auto 18px}.list-row{display:flex;justify-content:space-between;gap:15px;padding:16px 24px;border-top:1px solid #edf0e9;align-items:center}.list-row h3{font-size:13px;margin:0 0 5px}.list-row small{color:var(--muted);font-size:11px}.list-row .amount{font-size:14px;font-weight:650}.list-right{text-align:right;flex-shrink:0}.badge{font-size:10px;font-weight:600;padding:5px 8px;border-radius:5px;background:#edf4ed;color:#457252;display:inline-block}.badge.amber{background:#faf2df;color:#97772e}.badge.gray{background:#f0f1ed;color:#758078}.badge.red{background:#fbece5;color:#aa563b}.notice{border:1px solid #e6dfc9;background:#fbf8ed;padding:14px 17px;border-radius:8px;font-size:12px;line-height:1.65;color:#88703b;margin-bottom:18px}.notice.green{background:#eff5ee;border-color:#dce8d9;color:#4a7051}.notice p{margin:0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px;flex-wrap:wrap}.search{position:relative;flex:1;max-width:420px}.search svg{position:absolute;left:13px;top:12px;color:#8b9a8e;width:17px;height:17px}.search input{padding-left:40px}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tab{background:transparent;color:#738176;font-size:12px;padding:9px 12px;border-radius:7px}.tab.active{background:#e6eee4;color:#255c42;font-weight:650}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span:first-child{font-size:11px;font-weight:650;color:#52675c}.field small{font-size:10px;font-weight:400;color:#8a958b;line-height:1.5}.field.wide{grid-column:1/-1}input,select,textarea{width:100%;border:1px solid #dce3d9;border-radius:7px;padding:10px 11px;background:#fff;color:#30473b;font-size:13px;min-height:41px}input::placeholder,textarea::placeholder{color:#a0aa9e;font-size:12px}textarea{resize:vertical;line-height:1.6;min-height:85px}input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:var(--green)}.check{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.editor-summary{position:sticky;top:22px}.summary-main{background:var(--green);color:white;border-radius:12px 12px 0 0;padding:24px}.summary-main small{color:#c3d8ca}.summary-total{font-size:34px;font-weight:500;letter-spacing:-1.5px;margin:9px 0}.summary-content{padding:20px;background:white;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px}.summary-row{display:flex;justify-content:space-between;gap:14px;font-size:11px;margin-bottom:13px;line-height:1.5}.summary-row strong{font-weight:600;white-space:nowrap}.summary-row.total{padding-top:16px;border-top:1px solid var(--line);font-size:14px}.pending-list{padding-left:15px;color:#947545;font-size:10px;line-height:1.7}.result-label{font-size:11px;margin-bottom:7px}.result-value{font-size:27px;font-weight:600;letter-spacing:-1px;color:var(--green)}.result-value.negative{color:var(--danger)}.hr{height:1px;background:var(--line);margin:20px 0}.subsection{font-size:12px;font-weight:650;margin:23px 0 13px}.inline-row{display:flex;gap:10px;align-items:end;margin-bottom:12px}.inline-row>*{flex:1;min-width:0}.inline-row>.btn{flex:0 0 auto}.inline-row .narrow{flex:.5}.details-row{display:flex;justify-content:space-between;gap:10px;align-items:center}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.product-card{background:white;border:1px solid var(--line);padding:21px;border-radius:11px;display:flex;flex-direction:column;gap:14px}.product-card h3{font-size:15px;margin:0 0 6px}.product-card p{font-size:11px;line-height:1.6;margin:0;color:var(--muted)}.product-footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:13px;border-top:1px solid var(--line);gap:8px}.product-price{font-size:15px;font-weight:600}.product-price small{font-size:10px;font-weight:400;color:var(--muted)}.settings-menu{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:22px}.expense-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 35px;gap:10px;margin-bottom:12px;align-items:center}.table{width:100%;border-collapse:collapse;font-size:12px}.table td,.table th{text-align:left;padding:11px 8px;border-bottom:1px solid var(--line)}.table th{color:var(--muted);font-size:10px}.info-note{font-size:11px;color:var(--muted);line-height:1.7;margin:12px 0}.mobile-brand{display:none}.save-bar{display:flex;gap:10px;justify-content:flex-end;margin:24px 0}.attachment{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:7px;font-size:11px;margin-top:8px}.attachment a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.attachment svg{width:15px;height:15px}dialog{border:0;border-radius:14px;padding:0;width:min(800px,94vw);max-height:90vh;color:#29453a;box-shadow:0 20px 100px #143b3450}dialog::backdrop{background:#18352c66;backdrop-filter:blur(3px)}.modal-head{padding:24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:white;z-index:1}.modal-head h2{margin:0;font-size:20px}.modal-body{padding:24px}.modal-body pre{white-space:pre-wrap;font:12px/1.7 "Segoe UI",sans-serif;color:#52665a;overflow-wrap:anywhere}.rule-card{padding:18px;background:#f7f8f3;border:1px solid var(--line);border-radius:10px;margin-bottom:15px}.rule-card .form-grid{gap:14px}.rule-card .notice{font-size:11px}.file-label{position:relative;overflow:hidden}.file-label input{position:absolute;inset:0;opacity:0;cursor:pointer}.skeleton{height:8px;background:#eaf0e6;border-radius:5px;margin:10px 0;max-width:200px}.legal-foot{font-size:10px;color:#8e9b8e;line-height:1.7;margin-top:30px}.loading{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--green);font-size:30px;font-weight:700;gap:20px}.loading span{font-size:13px;font-weight:400}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);padding:13px 20px;background:#183f34;color:white;border-radius:9px;font-size:12px;max-width:90vw;z-index:100;opacity:0;transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:translate(-50%,0)}.preview-logo{max-width:180px;max-height:85px;object-fit:contain;margin:15px 0}.suggestion{padding:17px;border:1px solid #d8e6d7;background:#f6faf3;border-radius:9px;margin:12px 0}.suggestion h3{margin:0 0 8px}.suggestion p{font-size:11px;margin:0 0 10px}.metric-line{display:flex;gap:8px;flex-wrap:wrap}.help-number{height:24px;width:24px;background:var(--soft);color:var(--green);border-radius:50%;display:inline-grid;place-items:center;font-size:11px;margin-right:8px}.service-settings{padding:17px 0;border-bottom:1px solid var(--line)}.service-settings summary{cursor:pointer;font-size:14px;font-weight:600}.service-settings summary+div{margin-top:20px}.mobile-nav{display:none}.empty-page{max-width:650px;margin:40px auto}.full{width:100%}.danger-text{color:var(--danger)}.align-right{text-align:right}.white-space{white-space:pre-wrap}.tagline{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted)}
@media(min-width:1450px){.main{padding-top:42px}.hero{min-height:245px}.hero h2{font-size:32px}.service-card{min-height:155px}}
@media(max-width:1150px){.sidebar{width:200px;padding:26px 14px}.shell{grid-template-columns:200px 1fr}.main{padding:28px 25px 55px}.topbar{padding:0 25px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-two{grid-template-columns:1fr}.hero{min-height:210px}.stats{gap:10px}.stat{padding:15px}.stat-value{font-size:24px}.editor-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}}
@media(max-width:800px){.shell{display:block}.sidebar{display:none}.workspace{display:block}.topbar{height:66px;padding:0 20px;background:#f9faf7}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:9px;color:var(--green);font-size:23px;font-weight:750;letter-spacing:-1px}.mobile-brand small{font-size:9px;letter-spacing:1px;color:#84987b;padding-left:5px}.top-right{gap:9px}.top-right .avatar{display:none}.main{padding:25px 20px 105px}.page-title{margin-bottom:22px}.page-title h1{font-size:27px}.page-title>.btn{padding:10px 13px}.hero{padding:26px;min-height:230px}.hero h2{font-size:26px;max-width:330px}.hero p{font-size:12px}.hero-right{display:none}.stats{grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:27px}.stat{padding:18px}.stat-value{font-size:25px;margin:12px 0 7px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card{padding:18px;min-height:140px}.grid-two{gap:16px}.card-head{padding:20px}.card-body{padding-left:20px;padding-right:20px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;padding:8px 6px max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#ffffffed;backdrop-filter:blur(15px);display:flex;justify-content:space-around;z-index:25}.mobile-nav a{display:flex;flex-direction:column;gap:5px;align-items:center;color:#89998a;text-decoration:none;font-size:9px;padding:4px 6px;min-width:45px}.mobile-nav a.active{color:var(--green);font-weight:700}.mobile-nav svg{width:21px;height:21px}.editor-layout{grid-template-columns:1fr}.editor-summary{position:static}.summary-total{font-size:32px}.product-grid{gap:12px}.product-card{padding:17px}.product-card h3{font-size:13px}.form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-row{grid-template-columns:1.2fr 1fr 1fr 30px;gap:6px}.expense-row input,.expense-row select{font-size:11px;padding:9px 7px}.editor-title{align-items:flex-start}.editor-title .button-row{justify-content:flex-end}#toast{bottom:85px}.hero:after{right:-150px}.settings-menu{gap:3px}.settings-menu .tab{padding:9px 10px}}
@media(max-width:450px){.main{padding-left:15px;padding-right:15px}.page-title p{font-size:11px}.page-title>.btn{font-size:11px}.form-grid{gap:16px 12px}.form-grid .field.wide{grid-column:1/-1}.field>span:first-child{font-size:10px}.product-grid{grid-template-columns:1fr}.product-card{gap:12px}.inline-row{flex-wrap:wrap}.inline-row>.field{flex-basis:40%}.toolbar{gap:12px}.toolbar .search{max-width:none;min-width:100%}.hero{padding:23px}.hero h2{font-size:25px}.hero .eyebrow{font-size:9px}.stat-label{font-size:10px}.stat-foot{font-size:9px}.modal-body{padding:18px}.modal-head{padding:19px}.card-head{padding:18px}.card-body{padding-left:18px;padding-right:18px}.list-row{padding:15px 18px}.top-right{font-size:10px}.mobile-brand{font-size:21px}.mobile-brand small{font-size:8px}.list-row .amount{font-size:12px}}
.mobile-quote-bar{display:none}
@media(max-width:800px){.mobile-quote-bar{position:fixed;bottom:66px;left:12px;right:12px;z-index:26;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #c8d7c4;box-shadow:0 2px 20px #24463016;border-radius:10px;padding:10px 14px;background:#fff}.mobile-quote-bar small{display:block;font-size:9px;color:var(--muted)}.mobile-quote-bar strong{font-size:19px;color:var(--green);display:block;margin-top:3px}.editor-layout{padding-bottom:65px}}
@media print{.sidebar,.topbar,.mobile-nav,.mobile-quote-bar,.button-row,.save-bar{display:none}.workspace{grid-column:1}.shell{display:block}.main{padding:0}.card{break-inside:avoid}}
