@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#17263b;--muted:#7c8999;--line:#e9eef2;--bg:#f7f9fb;--green:#087d68;--green-dark:#076450;--mint:#e4f5ef;--blue:#e9f0fa;--shadow:0 8px 32px rgba(30,54,74,.035)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);font-size:14px}body{background:var(--bg)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{display:flex;min-height:100vh}.sidebar{width:246px;flex:0 0 246px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh;padding:27px 15px 13px}.brand{display:flex;align-items:center;gap:10px;margin:0 9px 37px;font-family:Manrope,Arial,sans-serif;font-weight:800;font-size:22px;letter-spacing:-1.15px;line-height:1}.brand-mark{height:34px;width:34px;display:grid;place-items:center;border-radius:10px;color:#fff;background:var(--green);font-size:21px;position:relative}.brand-mark span{font-size:10px;position:absolute;right:3px;top:3px;color:#bdf1de}.brand-dot{color:#0e9b77}.brand small{display:block;font:600 8px 'DM Sans',Arial,sans-serif;letter-spacing:2px;text-transform:uppercase;color:#90a0aa;margin-top:5px}.workspace-switch{display:flex;align-items:center;border:1px solid var(--line);border-radius:11px;padding:10px;gap:9px;margin:0 0 32px;background:#fff;min-width:0}.workspace-avatar,.profile-avatar,.top-avatar{display:grid;place-items:center;background:#ddf0e7;color:#137b61;border-radius:9px;font-weight:800;flex:none}.workspace-avatar{width:32px;height:32px}.workspace-name{font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-name small,.profile small{display:block;color:#91a0ad;font-size:11px;font-weight:500;margin-top:3px}.switch-chevron{color:#a4b1bc;margin-left:auto}.nav-label{font-size:10px;font-weight:800;color:#a9b4bf;letter-spacing:1.5px;margin:0 13px 11px}.main-nav{display:flex;flex-direction:column;gap:4px}.main-nav a,.nav-disabled{height:42px;display:flex;align-items:center;gap:13px;padding:0 13px;border-radius:8px;font-weight:600;color:#6f7e8d}.main-nav a:hover{background:#f3f8f6;color:var(--green)}.main-nav a.active{background:#e9f5f0;color:var(--green);font-weight:800}.nav-disabled{opacity:.66}.nav-icon{width:18px;text-align:center;font-size:18px;font-weight:500;line-height:1}.nav-caret,.soon{margin-left:auto}.soon{font-size:9px;background:#f1f4f6;padding:3px 5px;border-radius:4px;color:#94a2ad}.sidebar-bottom{margin-top:auto}.help-card{background:#eff8f4;border-radius:12px;padding:17px 16px 15px;margin:0 0 17px}.help-spark{color:var(--green);font-size:22px}.help-card strong{display:block;font:800 13px Manrope;margin:6px 0}.help-card p{color:#688176;font-size:11px;line-height:1.55;margin:0 0 12px}.help-card a{color:var(--green);font-size:11px;font-weight:800}.help-card a span{margin-left:5px}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding:15px 5px 2px}.profile-avatar{height:32px;width:32px;border-radius:50%;background:#e4eafa;color:#60789d}.profile strong{font-size:12px}.profile-more{margin-left:auto;color:#9aa8b4}.main-area{flex:1;min-width:0}.topbar{height:70px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.breadcrumbs{font-size:12px;color:#9ba7b3}.breadcrumbs span{margin:0 10px;color:#ced5dd}.breadcrumbs strong{color:#4a596a}.top-actions{display:flex;align-items:center;gap:21px}.today{color:#8c9aa8;font-size:12px}.top-quick{border:1px solid #d8e6e0;border-radius:7px;padding:8px 12px;color:var(--green);font-size:12px;font-weight:800}.top-avatar{height:31px;width:31px;border-radius:50%;background:#e6ebf5;color:#6981a1}.mobile-menu{display:none;background:none;border:0;font-size:21px}.content{max-width:1500px;margin:auto;padding:36px 39px 80px}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#09866b;font-weight:800;margin-bottom:11px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 28px}.page-heading h1,.detail-header h1{font:800 29px Manrope,Arial,sans-serif;letter-spacing:-1.3px;margin:0 0 6px;color:#13273a}.heading-dot{color:#0e9877}.page-heading p{color:#8796a3;margin:0;font-size:13px}.button{border:0;border-radius:7px;min-height:39px;padding:10px 15px;display:inline-flex;justify-content:center;align-items:center;gap:12px;font-size:12px;font-weight:800;white-space:nowrap}.button.primary{color:white;background:#087d68;box-shadow:0 4px 11px rgba(8,125,104,.13)}.button.primary:hover{background:var(--green-dark)}.button.secondary{color:var(--green);background:#eaf6f1}.button.full{width:100%}.welcome-banner{height:198px;border-radius:14px;background:linear-gradient(110deg,#0c5b55,#0b7669 60%,#0c8b74);color:white;padding:31px 34px;position:relative;overflow:hidden;margin-bottom:31px}.banner-kicker{font-size:9px;letter-spacing:2px;color:#ace0d2;font-weight:800;margin-bottom:12px}.welcome-banner h2{font:800 21px Manrope;margin:0 0 7px;letter-spacing:-.5px}.welcome-banner p{margin:0;color:#c3e7df;font-size:12px}.welcome-banner a{display:inline-flex;margin-top:24px;color:white;font-weight:800;font-size:12px;border-bottom:1px solid #98dbcb;padding-bottom:5px;gap:15px}.banner-art{position:absolute;width:360px;height:220px;right:75px;top:0}.orb{position:absolute;border-radius:50%;background:rgba(255,255,255,.07)}.orb-one{width:240px;height:240px;right:0;top:-35px}.orb-two{width:120px;height:120px;left:0;bottom:-40px}.art-card{position:absolute;background:white;border-radius:10px;box-shadow:0 17px 32px #06493a55;color:#1e4243;transform:rotate(-10deg);padding:16px;width:180px;height:116px;top:44px;left:25px}.art-card span{display:block;color:#8ebeb6;font-size:9px;letter-spacing:3px}.art-card b{display:block;font-size:11px;margin:12px 0}.art-card i{display:block;background:#d9ede7;height:5px;border-radius:5px;margin:7px 0}.art-card i:nth-of-type(2){width:70%}.art-card i:nth-of-type(3){width:80%}.art-front{transform:rotate(8deg);left:154px;top:72px;width:164px;height:116px}.art-front span{font-size:19px;color:#0d9473}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px}.section-heading h2,.panel h2,.table-toolbar h2{font:800 15px Manrope;margin:0}.section-heading span,.panel-head p,.table-toolbar p{color:#94a1ae;font-size:11px;margin:5px 0 0}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:25px}.metric,.panel{background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow)}.metric{padding:18px 20px 17px;min-height:156px;position:relative}.metric:hover,.list-row:hover{border-color:#cce8dd}.metric-icon{height:35px;width:35px;border-radius:9px;display:grid;place-items:center;font-size:19px;margin-bottom:13px}.metric-icon.blue{background:#ecf2fc;color:#527cbb}.metric-icon.mint{background:#e7f7f0;color:#16a17a}.metric-icon.peach{background:#fff3e9;color:#e19654}.metric>span{display:block;color:#8998a6;font-size:11px;font-weight:600}.metric strong{display:block;font:800 25px Manrope;margin:3px 0}.metric small{color:#a3afbb;font-size:10px}.metric small b{color:var(--green);margin-left:3px}.dashboard-grid,.detail-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:18px}.panel{min-width:0}.panel-head{display:flex;align-items:start;justify-content:space-between;padding:21px 22px 17px;border-bottom:1px solid var(--line)}.panel-head>a{color:var(--green);font-size:11px;font-weight:800}.list{padding:4px 0}.list-row{min-height:67px;display:flex;align-items:center;gap:12px;padding:11px 21px;border-bottom:1px solid #f0f3f5}.list-row:last-child{border-bottom:0}.row-icon{width:33px;height:33px;border-radius:8px;display:grid;place-items:center;background:#eaf6f1;color:var(--green);font-size:17px;flex:none}.row-main{min-width:0;flex:1}.row-main strong,.table-title strong,.table-person strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-main small,.table-title small,.table-person small{display:block;font-size:10px;color:#9aa7b2;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-arrow{color:#b9c4cc;font-size:22px}.badge{display:inline-flex;align-items:center;border-radius:5px;font-size:10px;font-weight:800;padding:6px 9px;white-space:nowrap;background:#edf1f6;color:#647686}.badge.active,.badge.completed{background:#e7f6ee;color:#12845e}.badge.onboarding{background:#edf2fb;color:#5e7db0}.badge.draft{background:#eef1f4;color:#677889}.badge.quality_review{background:#fff1df;color:#aa7835}.badge.on_hold{background:#fff1e9;color:#b56842}.task-check,.task-toggle{width:19px;height:19px;border:1.5px solid #c9d9d2;border-radius:5px;background:white;flex:none}.task-date{color:#9ba8b4;font-size:10px;white-space:nowrap}.empty{text-align:center;padding:38px 20px}.empty.spacious{padding:70px 20px}.empty-icon{height:43px;width:43px;display:grid;place-items:center;border-radius:12px;background:#eaf6f1;color:#138467;font-size:22px;margin:auto auto 13px}.empty h3{font:800 13px Manrope;margin:0 0 6px}.empty p{color:#95a2ad;max-width:280px;margin:0 auto 18px;font-size:11px;line-height:1.6}.table-panel{overflow:hidden}.table-toolbar{display:flex;justify-content:space-between;align-items:center;padding:23px 25px;border-bottom:1px solid var(--line)}.count-pill{background:#eef4f1;color:#4c8a72;border-radius:20px;font:800 10px 'DM Sans';padding:4px 7px;vertical-align:middle;margin-left:5px}.search{display:flex;gap:8px;align-items:center;border:1px solid #e4ebef;border-radius:7px;padding:8px 11px;color:#a1aeb9}.search input{border:0;outline:0;background:none;min-width:180px;font-size:11px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:9px;letter-spacing:1px;color:#a2aeba;padding:14px 24px;background:#fbfcfd;white-space:nowrap}td{border-top:1px solid #eef1f4;padding:14px 24px;color:#607181;font-size:11px;white-space:nowrap}tr:hover td{background:#fcfefd}.table-person{display:flex;align-items:center;gap:10px;color:var(--ink)}.client-avatar,.detail-avatar{display:grid;place-items:center;background:#e8f4ed;color:#13815f;font-weight:800;border-radius:9px;flex:none}.client-avatar{height:34px;width:34px;font-size:13px}.table-title{color:var(--ink)}.table-arrow{font-size:21px;color:#a9b6bf}.back-link{margin:0 0 22px;color:#7e928e;font-weight:700;font-size:11px}.back-link a:hover{color:var(--green)}.form-heading{margin-bottom:25px}.form-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,.8fr);align-items:start;gap:20px}.form-panel{padding:26px 29px 31px}.form-section-head{display:flex;align-items:center;gap:12px;padding-bottom:23px;border-bottom:1px solid var(--line);margin-bottom:23px}.step-number{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#eaf6f1;color:var(--green);font-size:11px;font-weight:800}.form-section-head p{margin:5px 0 0;color:#96a3ae;font-size:11px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.form-grid label,.setup-card label{display:block;color:#526274;font-size:11px;font-weight:800}.form-grid label.wide{grid-column:1/-1}.form-grid label span{color:#0e9a74}.form-grid input,.form-grid select,.form-grid textarea,.setup-card input,.setup-card select{display:block;width:100%;margin-top:9px;padding:11px 12px;border:1px solid #dfe7ed;border-radius:7px;background:white;outline:none;color:var(--ink);font-size:12px}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.setup-card input:focus,.setup-card select:focus{border-color:#13a07c;box-shadow:0 0 0 3px #dbf3e8}.form-grid textarea{resize:vertical}.form-grid input::placeholder,.form-grid textarea::placeholder{color:#b1bdc6}.field-hint{display:block;margin-top:6px;color:#9aa7b2;font-size:10px}.field-hint a{color:var(--green);text-decoration:underline}.form-aside{display:flex;flex-direction:column;gap:15px}.aside-card{border:1px solid #dceee6;border-radius:10px;background:#eef8f3;padding:22px}.aside-icon{color:var(--green);font-size:25px}.aside-card h3{font:800 13px Manrope;margin:11px 0 8px}.aside-card p{color:#769084;font-size:11px;line-height:1.6;margin:0}.detail-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:20px}.detail-title{display:flex;align-items:center;gap:15px}.detail-avatar{height:53px;width:53px;border-radius:12px;font-size:23px}.detail-sub{display:flex;align-items:center;gap:13px;color:#96a3ae;font-size:11px;margin-top:11px}.detail-sub a{color:var(--green);font-weight:700}.detail-header .eyebrow{margin-bottom:7px}.detail-header h1{margin:0}.info-panel{padding:23px}.info-panel h2{margin:0 0 20px}.info-line{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:14px 0;font-size:11px}.info-line span,.notes span{color:#96a4b0}.info-line strong{text-align:right;font-weight:700}.notes{border-top:1px solid var(--line);padding-top:16px;font-size:11px}.notes p{line-height:1.6;color:#4f6170}.task-form{display:flex;gap:9px;padding:18px 21px;border-bottom:1px solid var(--line)}.task-form input{border:1px solid #e1e9ed;border-radius:7px;padding:9px 11px;min-width:0;color:var(--ink);font-size:11px}.task-form input[name=title]{flex:1}.task-form input[type=date]{width:132px}.task-toggle{padding:0;display:grid;place-items:center;color:white}.task-toggle.done{background:#17a77b;border-color:#17a77b}.completed{text-decoration:line-through;color:#a4b1ba}.flash{border-radius:7px;padding:12px 16px;margin-bottom:22px;font-size:12px;font-weight:700}.flash.success{background:#e8f7ee;color:#168060}.flash.error{background:#fff0ed;color:#b55745}.setup-page{background:radial-gradient(circle at 80% 10%,#e1f3e9,transparent 35%),#f7faf9;min-height:100vh}.setup-wrap{max-width:570px;margin:auto;padding:65px 20px}.setup-wrap .brand{margin:0 0 35px}.setup-card{background:white;border:1px solid var(--line);box-shadow:0 30px 70px #174c3612;border-radius:15px;padding:42px}.setup-card h1{font:800 29px Manrope;letter-spacing:-1px;margin:0 0 10px}.setup-card .lead{color:#8696a4;line-height:1.6;margin:0 0 32px}.setup-card label{margin-bottom:20px}.setup-card button{margin-top:7px}.setup-note{text-align:center;color:#a5b2bb;font-size:10px;margin-top:20px}
@media(max-width:1100px){.sidebar{width:214px;flex-basis:214px}.content{padding:30px 25px}.topbar{padding:0 25px}.banner-art{right:5px}.form-layout{grid-template-columns:1fr 220px}}
@media(max-width:800px){.sidebar{position:fixed;z-index:10;left:-260px;transition:left .2s;width:246px;box-shadow:12px 0 30px #1c3e3e12}.sidebar.open{left:0}.mobile-menu{display:block}.topbar{justify-content:start;gap:14px}.top-actions{margin-left:auto}.today{display:none}.content{padding:25px 17px}.dashboard-grid,.detail-grid,.form-layout{grid-template-columns:1fr}.banner-art{opacity:.3;right:-100px}.metrics{gap:9px}.metric{padding:15px;min-height:140px}.page-heading h1,.detail-header h1{font-size:25px}}
@media(max-width:550px){.top-quick span{display:none}.top-actions{gap:9px}.topbar{height:61px;padding:0 15px}.content{padding:22px 13px}.page-heading,.detail-header{align-items:start;flex-direction:column}.page-heading .button,.detail-header .button{width:100%}.welcome-banner{padding:24px;height:190px}.welcome-banner h2{font-size:18px}.banner-art{display:none}.metrics{grid-template-columns:1fr 1fr}.metric:last-child{grid-column:1/-1}.metric{min-height:130px}.table-toolbar{gap:14px;align-items:stretch;flex-direction:column}.search input{flex:1}.form-grid{grid-template-columns:1fr}.form-grid label.wide{grid-column:auto}.form-panel{padding:21px}.detail-sub{flex-wrap:wrap}.task-form{flex-wrap:wrap}.task-form input[name=title]{flex-basis:100%}.task-form input[type=date]{flex:1}.task-form button{flex:1}.setup-card{padding:27px}}
.auth-page{display:grid;grid-template-columns:52% 48%;min-height:100vh;background:#fff}.auth-left{display:flex;flex-direction:column;padding:37px 9% 26px}.auth-left .brand{margin:0}.auth-form-wrap{width:min(100%,385px);margin:auto}.auth-form-wrap h1{font:800 32px Manrope;letter-spacing:-1.5px;margin:0 0 10px}.auth-intro{color:#8b9aa7;line-height:1.6;font-size:13px;margin:0 0 32px}.auth-form-wrap form>label:not(.remember){display:block;font-size:11px;color:#536576;font-weight:800;margin-bottom:17px}.auth-form-wrap input:not([type=checkbox]){display:block;width:100%;height:43px;border:1px solid #dfe7eb;background:#fff;border-radius:7px;padding:0 12px;margin-top:8px;outline:0;color:var(--ink);font-size:12px}.auth-form-wrap input:focus{border-color:#17a07c;box-shadow:0 0 0 3px #dff2e9}.auth-form-wrap input::placeholder{color:#b2bec7}.auth-form-wrap .button{height:43px;margin-top:10px}.remember{display:flex;align-items:center;gap:8px;color:#66798a;font-size:11px;margin:2px 0 19px}.remember input{accent-color:var(--green)}.auth-other{text-align:center;margin:23px 0 0;color:#8e9eaa;font-size:11px}.auth-other a{color:var(--green);font-weight:800}.auth-foot{color:#a6b2bc;font-size:10px}.auth-right{position:relative;background:linear-gradient(145deg,#0b4c4a,#087766);overflow:hidden;color:white;display:flex;flex-direction:column;justify-content:center;padding:70px 12%}.auth-right:before,.auth-right:after{content:"";position:absolute;border:1px solid #ffffff16;border-radius:50%;width:650px;height:650px;right:-200px;top:-190px}.auth-right:after{width:450px;height:450px;right:-100px;top:-90px}.auth-visual{height:300px;position:relative;z-index:1}.visual-stars{position:absolute;right:30px;top:10px;font-size:32px;color:#93ddbd}.visual-card{position:absolute;left:10%;top:15px;width:290px;height:235px;background:white;border-radius:15px;transform:rotate(-8deg);box-shadow:15px 28px 40px #003c3550;padding:24px;color:#23404a}.visual-header{display:flex;justify-content:space-between;font-size:10px;color:#83959f;font-weight:800}.visual-metric{font:800 42px Manrope;margin:17px 0 13px}.visual-metric small{font:700 10px 'DM Sans';color:#8ea0ab;margin-left:5px}.visual-bars{display:flex;align-items:end;height:65px;gap:8px}.visual-bars i{display:block;width:24px;height:45%;border-radius:4px 4px 0 0;background:#b8e6d5}.visual-bars i:nth-child(2){height:66%}.visual-bars i:nth-child(3){height:42%}.visual-bars i:nth-child(4){height:85%;background:#51b89b}.visual-bars i:nth-child(5){height:62%}.visual-bars i:nth-child(6){height:100%;background:#139373}.visual-bars i:nth-child(7){height:77%}.visual-line{display:flex;gap:7px;margin-top:11px}.visual-line b{height:5px;width:35px;background:#d7e6e5;border-radius:5px}.visual-line span{height:5px;width:100px;background:#eff3f2;border-radius:5px}.auth-quote{z-index:1}.auth-quote>div{font-size:9px;letter-spacing:2px;font-weight:800;color:#a7e3cf}.auth-quote h2{font:800 29px Manrope;letter-spacing:-1px;line-height:1.25;margin:18px 0 12px}.auth-quote p{color:#b8ddd5;font-size:12px;line-height:1.6}
@media(max-width:850px){.auth-page{grid-template-columns:1fr}.auth-left{min-height:100vh;padding:25px 25px 20px}.auth-right{display:none}.auth-form-wrap{padding:50px 0}.auth-form-wrap h1{font-size:27px}}
.compact-form{padding:23px}.compact-form h2{margin:0 0 6px}.compact-form>p,.compact-form form+p{color:#91a1ac;font-size:11px;line-height:1.6;margin:0 0 20px}.compact-form label{display:block;font-size:11px;font-weight:800;color:#586b79;margin:17px 0}.compact-form input:not([type=checkbox]),.compact-form select,.compact-form textarea{display:block;width:100%;border:1px solid #dfe7ed;border-radius:7px;background:white;padding:10px 11px;margin-top:8px;outline:0;color:var(--ink);font-size:12px}.compact-form input:focus,.compact-form select:focus,.compact-form textarea:focus{border-color:#13a07c;box-shadow:0 0 0 3px #dbf3e8}.compact-form input::placeholder,.compact-form textarea::placeholder{color:#b2bec8}.compact-form .check-label{display:flex;align-items:center;gap:8px;font-weight:600}.compact-form .check-label input{accent-color:var(--green)}.inline-form{display:flex;gap:25px;align-items:start;margin-top:20px}.inline-form>div{min-width:150px}.inline-form form{display:flex;gap:11px;align-items:end;flex:1;flex-wrap:wrap}.inline-form label{margin:0;flex:1;min-width:145px}.inline-form button{height:38px}.scope-text{font-size:12px;line-height:1.8;color:#506779;white-space:normal;margin:13px 0 25px}.finance-receipts{margin-top:20px}.invoice-card{overflow:hidden}.invoice-top{display:flex;justify-content:space-between;padding:28px 25px 30px}.invoice-top h2{margin:0 0 4px}.invoice-top p{margin:0;color:#92a1ac;font-size:11px}.invoice-top>div:last-child{text-align:right}.invoice-top strong{display:block;font-size:12px}.invoice-totals{padding:20px 27px 24px;max-width:320px;margin-left:auto}.invoice-totals>div{display:flex;justify-content:space-between;padding:8px 0;font-size:11px;color:#768999}.invoice-totals strong{color:var(--ink)}.invoice-totals .grand{border-top:1px solid var(--line);margin-top:7px;padding-top:14px;font-size:14px;font-weight:800;color:var(--ink)}.invoice-card>.notes{margin:0 25px 25px}.action-stack{display:flex;flex-direction:column;gap:18px}.balance-number{font:800 25px Manrope;margin:16px 0;color:#173d39}.action-stack .compact-form>p{margin-bottom:17px}.badge.accepted,.badge.converted,.badge.paid{background:#e5f6ef;color:#168363}.badge.issued,.badge.partly_paid{background:#e9f0fc;color:#557cb4}
@media(max-width:800px){.inline-form{display:block}.inline-form form{margin-top:18px}.invoice-top{padding:20px}.invoice-totals{padding:20px}}
.follow-grid{margin-top:20px}.kyc-box{border-top:1px solid var(--line);margin-top:25px;padding-top:23px}
.stage-panel{margin-top:20px}.stage-panel form{display:flex;gap:10px;max-width:420px}.stage-panel select{margin:0;flex:1}
.date-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;background:#eaf5f1;color:var(--green);height:43px;width:43px;flex:none}.date-tile b{font:800 16px Manrope;line-height:1}.date-tile small{font-size:9px;text-transform:uppercase}.calendar-row{min-height:74px}.report-caption{color:#93a1ad;font-size:11px;line-height:1.6;margin:10px 0 25px}.currency-report{padding:18px 0;border-top:1px solid var(--line)}.currency-heading,.report-pair{display:flex;justify-content:space-between;gap:10px;font-size:11px}.currency-heading span,.report-pair{color:#93a3af}.report-pair b{color:#34495c}.report-bar{height:8px;background:#eaf4ef;border-radius:10px;overflow:hidden;margin:14px 0}.report-bar span{display:block;height:100%;background:#168f73;border-radius:10px}.attention-number{font:800 36px Manrope;color:#bb7645;margin:20px 0 0}
.settings-save{margin-top:25px}
.activity-panel{margin-top:20px}
.tenant-picker{display:flex;gap:5px;margin:-20px 0 23px}.tenant-picker select{min-width:0;flex:1;border:1px solid var(--line);border-radius:6px;padding:7px;font-size:10px;color:#526a70}.tenant-picker button{background:#e8f4ef;color:var(--green);border:0;border-radius:6px;padding:0 7px;font-size:10px;font-weight:800}
.heading-actions{display:flex;gap:9px;align-items:center}@media(max-width:550px){.heading-actions{width:100%}.heading-actions .button{flex:1}}
.print-button{margin-top:18px}@media print{body{background:#fff}.sidebar,.topbar,.back-link,.action-stack,.print-button,.flash{display:none!important}.main-area,.content{width:100%;max-width:none;padding:0;margin:0}.detail-grid{display:block}.detail-header{margin:0 0 18px}.invoice-card{border:0;box-shadow:none}.invoice-top{padding:20px 0}.invoice-totals{padding:20px 0}table th,table td{padding-left:10px;padding-right:10px}@page{margin:18mm}}
.draft-edit{margin-top:18px;max-width:760px}@media print{.draft-edit{display:none!important}}

/* Shared controls also cover filters and forms outside the main form grid. */
:where(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]), select, textarea) {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d5dfe7;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    transition: border-color .15s ease, box-shadow .15s ease;
}
:where(input, select, textarea):focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}
:where(input, select, textarea):disabled {
    background: #f2f5f7;
    color: #697b89;
    cursor: not-allowed;
}
:where(input, textarea)::placeholder { color: #7d8e9c; opacity: 1; }
:where(textarea) { min-height: 96px; resize: vertical; }
:where(input[type=checkbox], input[type=radio]) { accent-color: var(--green); }
:where(input[type=file]) { padding: 7px; }
:where(input[type=file])::file-selector-button {
    border: 0;
    border-radius: 5px;
    background: var(--mint);
    color: var(--green);
    padding: 6px 10px;
    margin-right: 10px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
:where(form label):not(:has(input[type=checkbox], input[type=radio])) {
    display: block;
    color: #526274;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}
:where(form label > input, form label > select, form label > textarea):not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]) {
    display: block;
    width: 100%;
    margin-top: 7px;
}
/* Filter labels sit above their fields; rows wrap instead of squeezing controls. */
form.heading-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
}
form.heading-actions > label {
    flex: 1 1 150px;
    min-width: 140px;
    margin: 0;
}
form.heading-actions > label:has(input[name=q]) { flex: 2 1 250px; }
form.heading-actions > .button { min-height: 42px; flex: 0 0 auto; }
form.heading-actions input, form.heading-actions select { width: 100%; }
/* Keep checkbox and radio fields compact inside full-width form grids. */
.form-grid input[type=checkbox], .form-grid input[type=radio] {
    display: inline-block;
    width: auto;
    min-height: auto;
    margin: 0 7px 0 0;
    padding: 0;
    vertical-align: middle;
    accent-color: var(--green);
}
@media (max-width: 600px) {
    form.heading-actions { gap: 14px; padding: 16px; }
    form.heading-actions > label,
    form.heading-actions > label:has(input[name=q]) { flex: 1 1 100%; min-width: 0; }
    form.heading-actions > .button { width: 100%; }
}

.workspace-section-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:11px}
.workspace-section-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:9px 15px;border-radius:7px;color:#526274;font-size:12px;font-weight:700}
.workspace-section-nav a:hover{background:var(--mint);color:var(--green)}
.workspace-section-nav a[aria-current=page]{background:var(--mint);color:var(--green);font-weight:800}
.workspace-section-nav a:focus-visible,.admin-destination:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.admin-destination{padding:24px;transition:border-color .15s ease,box-shadow .15s ease}
.admin-destination:hover{border-color:var(--green);box-shadow:0 5px 18px #13273a0c}
.admin-destination h2{display:flex;align-items:center;justify-content:space-between;gap:12px}
.admin-destination h2 span{color:var(--green)}
.admin-destination p{color:#768795;font-size:13px;line-height:1.6;margin:10px 0 0}
@media(max-width:600px){.workspace-section-nav{gap:4px}.workspace-section-nav a{flex:1 1 auto;padding:9px 12px}}

/* Keep the closed phone menu out of keyboard and assistive-technology navigation. */
.sidebar{overflow-y:auto}.sidebar-close{display:none}.skip-link{position:fixed;left:12px;top:-100px;z-index:30;background:#fff;color:var(--green);padding:12px 16px;border:2px solid var(--green);border-radius:6px}.skip-link:focus{top:12px}
@media(max-width:800px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}.sidebar-close{display:block;align-self:flex-end;min-height:44px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:8px 12px;margin-bottom:12px}.mobile-menu{min-width:44px;min-height:44px}.top-quick{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}}

@media(max-width:550px){.top-quick span{display:inline}.topbar .breadcrumbs{display:none}}
