:root{--ink:#1b3134;--muted:#6d7979;--green:#20594e;--lime:#d2e79d;--line:#e3e7e1;--canvas:#f5f5ef;--white:#fff;--red:#a54137;--gold:#b98939;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid var(--green)}[hidden]{display:none!important}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}.app-shell{display:grid;grid-template-columns:222px minmax(0,1fr);min-height:100vh}.sidebar{background:#172e30;color:#ebf0e9;position:fixed;inset:0 auto 0 0;width:222px;padding:35px 22px 24px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}.brand>span:last-child{font-weight:800;line-height:1.4;font-size:11px;letter-spacing:1.3px}.brand-mark{font-weight:850;font-size:27px;letter-spacing:-1.5px;border:1px solid #697b70;border-radius:8px;width:56px;height:53px;display:grid;place-content:center;position:relative}.brand-mark span{color:var(--lime);font-size:22px;position:absolute;right:3px;top:-7px}.workspace-label{font-size:9px;letter-spacing:1.8px;color:#91a59f;margin:52px 13px 15px}.nav-item{border:0;width:100%;background:transparent;color:#b5c3bd;text-align:left;padding:14px 12px;border-radius:7px;font-size:12px;font-weight:550;display:flex;align-items:center;gap:12px;margin-bottom:5px}.nav-item:hover{background:#223e3e}.nav-item.active{background:#cfe09d;color:#16352e}.nav-icon{font-size:19px;width:20px;text-align:center;line-height:1}.nav-count{margin-left:auto;font-size:10px;padding:2px 5px;background:#ffffff12;border-radius:3px}.sidebar-note{margin:63px 13px 20px}.small-caps{font-size:9px;letter-spacing:1.2px;color:#8aa09a}.sidebar-note p{font-size:22px;font-weight:500;letter-spacing:-.6px;line-height:1.4;color:#d2dfd4;margin:12px 0 20px}.note-line{width:32px;height:2px;background:#abc97e}.sidebar-bottom{margin-top:auto;padding:20px 12px 0;border-top:1px solid #3a4e4a;font-size:11px;color:#d3dfd6;line-height:1.8}.private-dot,.live-dot{height:6px;width:6px;display:inline-block;border-radius:50%;background:#bcd492;margin-right:7px}.sidebar-bottom small{display:block;font-size:10px;color:#91a59f;margin:5px 0 13px}.text-button{border:0;background:none;color:inherit;padding:3px 0;text-align:left;font-size:11px;display:flex;justify-content:space-between;gap:8px}.sidebar-bottom .text-button{width:100%;color:#aabfb4;margin-top:5px}main{grid-column:2;min-width:0}.topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid var(--line);font-size:11px;color:#78847f;background:#f9f9f5}.breadcrumb-divider{margin:0 12px;color:#b2bbb3}.privacy-badge{display:flex;align-items:center;gap:5px;color:#49645a;background:#eef1e9;border:1px solid #dfe5d8;font-size:10px;border-radius:20px;padding:5px 10px}.privacy-badge svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.5}.view{padding:34px 42px 25px;max-width:1420px;margin:0 auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:30px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#6b8172}.page-heading h1{font-size:40px;line-height:1.1;letter-spacing:-1.7px;font-weight:650;margin:13px 0 13px}.page-heading h1 span{color:#7a8e77}.page-heading p{color:var(--muted);font-size:12px;margin:0;line-height:1.7}.heading-actions{display:flex;gap:8px;padding-bottom:3px}.btn{border:1px solid #dce3d9;background:#fff;color:var(--ink);padding:10px 14px;border-radius:6px;font-size:11px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:13px;white-space:nowrap}.btn:hover{background:#edf1e8}.btn-ghost{background:transparent}.btn-dark{background:#21594d;border-color:#21594d;color:#fff}.btn-dark:hover{background:#184c42}.btn-small{padding:8px 12px;font-size:10px}.report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px;font-size:10px;color:#6e8173}.report-toolbar>span:before{content:'';display:inline-block;background:#83a86e;width:5px;height:5px;border-radius:50%;margin-right:7px}.report-toolbar>div{display:flex;gap:7px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:23px;align-items:start}.editor{min-width:0}.card{background:#fff;border:1px solid #e0e5dc;border-radius:9px;padding:22px 23px;margin-bottom:17px}.section-title{display:flex;align-items:center;gap:9px;margin-bottom:20px}.step{font-size:9px;background:#f1f4ed;border:1px solid #e4e9df;border-radius:4px;width:24px;height:24px;display:grid;place-items:center;color:#6e886d}.section-title h2{font-size:14px;letter-spacing:-.2px;font-weight:650;margin:0}.section-aside{color:#8b968b;font-size:9px;margin-left:auto}.currency-tag{margin-left:auto;background:#f5f6f1;border:1px solid #e4e9df;color:#748371;font-size:8px;padding:3px 5px;border-radius:3px;font-weight:650;letter-spacing:.5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 15px}.wide{grid-column:1/-1}label{font-size:10px;font-weight:600;color:#5d7068;display:flex;flex-direction:column;gap:7px}input,select,textarea{width:100%;background:#fcfdf9;border:1px solid #dfe5da;border-radius:5px;color:var(--ink);font-size:11px;padding:10px 11px;min-width:0;line-height:1.35}input:focus,select:focus,textarea:focus{outline:2px solid #70a59144;border-color:#649984}input::placeholder,textarea::placeholder{color:#a0a99a;font-weight:400}input[type=number]{-moz-appearance:textfield;text-align:right;font-variant-numeric:tabular-nums}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input:invalid:not(:placeholder-shown){border-color:#cb8e80}.attendance{display:grid;grid-template-columns:1fr 1fr;gap:12px}.section-help{font-size:10px;color:#7d8980;line-height:1.75;margin:-7px 0 17px}.section-help strong{color:#5d7368;font-weight:600}.table-head{display:grid;grid-template-columns:minmax(105px,1.4fr) 1fr 1fr 24px;gap:8px;font-size:8px;text-transform:uppercase;letter-spacing:.9px;color:#91a087;margin-bottom:8px}.table-head span:nth-child(2),.table-head span:nth-child(3){text-align:right}.revenue-row{display:grid;grid-template-columns:minmax(105px,1.4fr) 1fr 1fr 24px;gap:8px;align-items:center;margin-bottom:8px}.revenue-row label{display:contents}.revenue-row label>span{display:none}.revenue-row input{font-size:10px}.remove-button{border:0;background:none;font-size:18px;color:#a1ab9d;border-radius:4px;padding:4px}.remove-button:hover{background:#faf1ed;color:var(--red)}.card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0e8;padding-top:14px;margin-top:14px;font-size:10px;color:#5b7160;gap:10px}.card-footer>span{font-weight:650}.add-button{border:0;background:none;padding:0;color:#477b65;font-size:10px;font-weight:600}.add-button:hover{color:#194f43;text-decoration:underline}.cost-row{border:1px solid #e6eadd;padding:12px;border-radius:6px;background:#fdfefb;margin-bottom:10px}.cost-row-top{display:grid;grid-template-columns:1fr 120px 22px;gap:8px;margin-bottom:11px;align-items:center}.cost-row-top input,.cost-row-top select{font-size:10px;padding:8px 9px}.cost-row-bottom{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:10px}.cost-row-bottom label{font-size:8px;letter-spacing:.3px;font-weight:500}.cost-row-bottom input,.cost-row-bottom select{font-size:10px;padding:8px 9px;background:#fff}.cost-row-bottom input:disabled{color:#879b82;background:#eff3eb}.source-note{font-size:8px;color:#8e8f75;margin:8px 0 0}.basis-details{margin-top:14px;font-size:10px;color:#667a6d;line-height:1.7}.basis-details summary,.formula-card summary{cursor:pointer;font-weight:600}.basis-details p{margin-bottom:0}.talent-row{border-bottom:1px solid #edf0e7;padding-bottom:13px;margin-bottom:13px}.talent-row:last-child{border-bottom:0;padding-bottom:0}.talent-top{display:grid;grid-template-columns:1fr 112px 22px;gap:8px;margin-bottom:9px;align-items:center}.talent-top input,.talent-top select{font-size:10px;padding:8px 9px}.talent-bottom{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;align-items:end}.talent-bottom label{font-size:8px;font-weight:500}.talent-bottom input{font-size:10px;padding:8px 9px}.due-chip{font-size:9px;color:#60785e;text-align:right;padding:10px 0;line-height:1.5}.due-chip span{display:block;font-size:8px;color:#8c9983}.split-switch{display:flex;justify-content:space-between;align-items:center;gap:15px}.split-switch h3{font-size:11px;margin:0 0 7px;font-weight:600}.split-switch p{font-size:10px;color:#819078;line-height:1.7;margin:0}.switch{flex-shrink:0;position:relative;width:35px;height:20px}.switch input{opacity:0;width:100%;height:100%;position:absolute;cursor:pointer}.switch span{height:20px;width:35px;border-radius:20px;background:#d6ddd0;pointer-events:none}.switch span:before{content:'';width:14px;height:14px;background:#fff;border-radius:50%;position:absolute;left:3px;top:3px;transition:transform .2s;box-shadow:0 1px 2px #0002}.switch input:checked+span{background:var(--green)}.switch input:checked+span:before{transform:translateX(15px)}.switch input:focus-visible+span{outline:2px solid var(--green);outline-offset:3px}.split-fields{margin-top:17px}.split-fields .section-help{margin:0}.notes-label{margin-top:22px}.settlement-panel{position:sticky;top:20px}.payout-card{border-radius:9px 9px 0 0;background:#20574d;color:#fff;padding:23px 23px 20px;position:relative;overflow:hidden}.payout-card:after{content:'';position:absolute;border:1px solid #ffffff0c;border-radius:50%;width:280px;height:280px;right:-190px;top:30px;pointer-events:none}.payout-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.payout-top .eyebrow{color:#a8c8ae;font-size:8px;letter-spacing:1.5px}.payout-top .live-dot{background:#d1e8a4;margin-right:0;box-shadow:0 0 0 4px #c5d79812}.payout-label{display:block;font-size:12px;color:#d7e6d8;line-height:1.6}.payout-amount{font-size:31px;font-weight:650;letter-spacing:-1.1px;margin:9px 0 10px;line-height:1.35;overflow-wrap:anywhere}.payout-card p{font-size:9px;line-height:1.75;color:#9ec0ad;margin:0 0 18px;max-width:230px}.payout-status{font-size:8px;background:#ffffff0b;border:1px solid #ffffff17;border-radius:4px;padding:9px 10px;color:#d6e9c7;line-height:1.5}.payout-status.shortfall{background:#f2c5ab20;color:#ffe0cb;border-color:#e3b3a53b}.summary-card{border:1px solid #dee4d8;border-top:0;background:#fff;border-radius:0 0 9px 9px;padding:21px 21px 18px}.summary-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.summary-heading h2{font-size:12px;margin:0;font-weight:650}.summary-heading>span{color:#8fa084}dl{margin:0}dl>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:13px;align-items:center}dt{font-size:9px;color:#7b8978;line-height:1.5}dd{margin:0;font-size:10px;font-weight:550;white-space:nowrap;font-variant-numeric:tabular-nums}.subtotal{border-top:1px solid #e7ecdf;padding-top:13px;margin-top:16px}.subtotal dt{color:#465f4d;font-weight:600}.subtotal dd{font-weight:650}.cash-heading{font-size:8px;letter-spacing:1.05px;color:#9ba790;margin:25px 0 17px}.pending-box{background:#f5f5ed;border:1px solid #e9eadb;border-radius:5px;padding:12px 11px;display:flex;gap:10px;align-items:center;margin-top:20px}.pending-icon{color:#9b9e72;font-size:18px}.pending-box strong{display:block;font-size:10px;color:#666f4c;margin-bottom:4px;font-weight:650}.pending-box div>span{display:block;font-size:8px;line-height:1.6;color:#8a927b}.summary-actions{display:flex;gap:7px;margin-top:20px}.summary-actions .btn{flex:1;padding:10px 9px;font-size:9px;gap:8px}.secondary-actions{display:flex;justify-content:center;gap:17px;margin-top:13px;color:#78886c}.secondary-actions button{font-size:8px}.rounding-note{font-size:8px;text-align:center;color:#9ba68d;line-height:1.6;margin:14px 0 0}.formula-card{margin-top:17px;border:1px solid #e1e5d9;border-radius:6px;padding:14px 15px;font-size:9px;color:#7a8774;line-height:1.8}.formula-card summary{font-size:9px;color:#60765d}.split-summary{margin-top:16px;border-top:1px solid #e4e9dc;padding-top:14px;font-size:10px}.split-summary>strong{font-size:9px;color:#607457}.split-summary>div{display:flex;justify-content:space-between;gap:15px;margin-top:10px;font-size:9px;color:#7a8971}.split-summary b{color:#355b42}.validation{border:1px solid #e7b5a5;background:#fff4ef;color:#9b4734;border-radius:7px;margin-bottom:17px;font-size:11px;padding:14px 18px;line-height:1.8}.validation ul{padding-left:18px;margin:4px 0 0}.page-footer{border-top:1px solid #e4e7db;padding:20px 42px 24px;display:flex;justify-content:space-between;font-size:9px;color:#99a38e}.toast{position:fixed;bottom:25px;left:calc(50% + 111px);transform:translateX(-50%);background:#193f35;color:#fff;box-shadow:0 5px 20px #0002;border:1px solid #547764;border-radius:7px;padding:13px 22px;font-size:12px;z-index:100;max-width:min(600px,90vw)}.list-heading{display:flex;justify-content:space-between;align-items:center;margin:15px 0 24px;gap:20px}.list-heading input{max-width:260px;background:white}.list-heading p{font-size:11px;color:#7c8c73}.report-list{display:flex;flex-direction:column;gap:12px}.history-item{background:#fff;border:1px solid #e0e5d7;border-radius:8px;padding:20px;display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center}.history-item h3{font-size:14px;margin:0 0 6px}.history-item p{font-size:10px;margin:0;color:#7f8f73;line-height:1.8}.history-item .saved-value{font-size:13px;font-weight:650;color:#21594d;display:block;margin-bottom:10px;text-align:right}.item-actions{display:flex;gap:6px;flex-wrap:wrap}.item-actions .btn{font-size:9px;padding:7px 10px}.empty-state{border:1px dashed #cdd7c0;border-radius:9px;padding:65px 30px;text-align:center;background:#fafbf5}.empty-state span{font-size:30px;color:#8da575}.empty-state h2{font-size:19px;font-weight:550;margin:17px 0 10px}.empty-state p{font-size:12px;color:#819174;line-height:1.8;margin:0 0 20px}.template-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.template-card{padding:26px;background:#fff;border:1px solid #dfe5d5;border-radius:9px}.template-card .eyebrow{font-size:8px}.template-card h2{font-size:20px;font-weight:550;margin:18px 0 7px;letter-spacing:-.5px}.template-card p{font-size:11px;line-height:1.8;color:#7d8e6e;min-height:40px}.template-card .btn{margin-top:10px}.template-card>div{display:flex;justify-content:space-between;align-items:center}.data-notice{font-size:11px;line-height:1.9;color:#7c8a71;border-top:1px solid #e0e5d6;margin-top:27px;padding-top:19px}dialog{border:1px solid #d3e0cb;border-radius:12px;width:min(650px,90vw);padding:24px;color:var(--ink);box-shadow:0 20px 100px #0003;background:#fafcf7}dialog::backdrop{background:#162c2b80}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{font-size:20px;font-weight:600}.dialog-heading+p{font-size:12px;color:#74846c}dialog textarea{background:white;font-family:ui-monospace,monospace;font-size:11px;line-height:1.7;resize:vertical}dialog .btn{margin-top:15px}.print-report{display:none}.negative{color:var(--red)!important}
@media(min-width:1600px){.view{padding-top:45px}.page-heading h1{font-size:46px}.editor-layout{grid-template-columns:minmax(0,1fr) 350px}.payout-amount{font-size:37px}.card{padding:26px}.settlement-panel{top:25px}.sidebar{width:240px}.app-shell{grid-template-columns:240px 1fr}.topbar{padding:0 55px}}
@media(max-width:1150px){.app-shell{grid-template-columns:185px 1fr}.sidebar{width:185px;padding:28px 15px}.brand>span:last-child{font-size:9px}.brand-mark{width:48px;height:48px;font-size:24px}.view{padding:28px}.topbar{padding:0 28px}.page-heading h1{font-size:34px}.editor-layout{grid-template-columns:minmax(0,1fr) 276px;gap:17px}.card{padding:18px}.section-aside{display:none}.payout-card{padding:21px}.summary-card{padding:19px 16px}.toast{left:calc(50% + 92px)}.cost-row-top{grid-template-columns:1fr 104px 22px}.section-title h2{font-size:12px}.heading-actions{flex-direction:column}.page-footer{padding:20px 28px}}
@media(max-width:950px){.app-shell{grid-template-columns:170px 1fr}.sidebar{width:170px;padding:26px 12px}.nav-item{font-size:10px;gap:9px}.brand>span:last-child{font-size:8px;letter-spacing:1px}.brand-mark{width:43px;height:44px}.editor-layout{grid-template-columns:1fr}.settlement-panel{position:static;display:grid;grid-template-columns:1fr 1fr;gap:0 16px;align-items:start}.payout-card{border-radius:9px;height:100%}.summary-card{grid-column:2;grid-row:1 / span 2;border:1px solid #dee4d8;border-radius:9px}.formula-card{grid-column:1}.page-heading{align-items:center}.template-grid{grid-template-columns:1fr}.toast{left:calc(50% + 85px)}}
@media(max-width:650px){.app-shell{display:block}.sidebar{position:static;width:100%;padding:16px 18px;display:block}.brand{display:none}.workspace-label,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:6px}.nav-item{width:auto;flex:1;margin:0;padding:10px 8px;justify-content:center;gap:7px;font-size:10px}.nav-icon{font-size:16px;width:16px}.nav-count{display:none}.topbar{height:49px;padding:0 19px;font-size:9px}.view{padding:25px 18px}.page-heading{align-items:flex-end;gap:10px;margin-bottom:24px}.page-heading h1{font-size:32px;margin-top:10px}.page-heading p{font-size:10px;max-width:205px}.eyebrow{font-size:8px;letter-spacing:1.3px}.heading-actions .btn{font-size:9px;padding:8px 9px}.report-toolbar{flex-wrap:wrap;font-size:9px}.report-toolbar>div{margin-left:auto}.card{padding:17px 15px}.section-title{margin-bottom:18px}.form-grid{gap:14px 11px}.section-title h2{font-size:13px}.section-help{font-size:9px}.revenue-row,.table-head{grid-template-columns:minmax(80px,1.2fr) 1fr 1fr 20px;gap:5px}.revenue-row input{font-size:9px;padding:9px 7px}.table-head{font-size:7px;letter-spacing:.4px}.cost-row{padding:10px}.cost-row-top{grid-template-columns:1fr 102px 20px;gap:5px}.cost-row-top input,.cost-row-top select{font-size:9px;padding:8px 7px}.cost-row-bottom{grid-template-columns:1fr 1fr;gap:9px}.cost-row-bottom label:last-child{grid-column:1/-1}.cost-row-bottom select{padding:8px}.talent-top{grid-template-columns:1fr 98px 20px;gap:5px}.talent-top input,.talent-top select{font-size:9px;padding:8px 7px}.talent-bottom{gap:8px}.talent-bottom input{padding:8px;font-size:9px}.due-chip{font-size:8px}.card-footer{font-size:9px}.add-button{font-size:9px}.settlement-panel{display:block}.payout-card{border-radius:9px 9px 0 0;padding:25px}.payout-amount{font-size:40px}.payout-label{font-size:14px}.payout-card p{font-size:11px;max-width:290px}.payout-status{font-size:10px}.summary-card{border-top:0;border-radius:0 0 9px 9px;padding:24px}.summary-heading h2{font-size:14px}dt{font-size:11px}dd{font-size:12px}.cash-heading{font-size:9px}.pending-box strong{font-size:12px}.pending-box div>span{font-size:10px}.summary-actions .btn{font-size:11px;padding:12px}.secondary-actions button,.rounding-note{font-size:10px}.formula-card{font-size:11px}.formula-card summary{font-size:11px}.page-footer{padding:18px;font-size:8px}.toast{left:50%;font-size:11px;padding:12px 17px;width:max-content}.history-item{grid-template-columns:1fr;padding:17px}.history-item .saved-value{text-align:left}.list-heading{align-items:flex-start;flex-direction:column;gap:10px}.list-heading input{max-width:none}.template-card{padding:22px}}
@media print{body{background:white;color:#111}.app-shell,.toast,dialog{display:none!important}.print-report{display:block;padding:20px;font-family:Arial,sans-serif;white-space:pre-wrap;font-size:10px;line-height:1.6}.print-report h1{font-size:24px;white-space:normal;margin:0 0 5px}.print-report .print-meta{color:#555;white-space:normal;padding-bottom:15px;border-bottom:2px solid #20594e;margin-bottom:15px}.print-report .print-highlight{font-size:18px;font-weight:bold;background:#eef5eb;padding:15px;margin:15px 0;white-space:normal}.print-report pre{font-family:Arial,sans-serif;white-space:pre-wrap;font-size:10px;line-height:1.65;margin:0} @page{size:A4;margin:12mm}}

/* Session controls stay available on desktop and phone layouts. */
.topbar{height:auto;min-height:64px;gap:12px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.header-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.topbar .logout-button{font-size:14px;min-height:40px;padding:10px 14px;border-color:#7b9584;white-space:nowrap}.account-email{font-size:12px;color:#55735e;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-screen{display:none}.session-away .app-shell,.session-away dialog,.session-away .toast{visibility:hidden!important}.session-leaving .session-screen{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#f7faf4;color:#20574d;font-size:20px;z-index:200}@media(max-width:650px){.topbar{align-items:flex-start}.header-right{gap:8px}.account-email{max-width:180px}}
