
:root{--bg:#f6f7f3;--card:#fff;--ink:#263a30;--muted:#839087;--line:#e6e9e2;--green:#324d3c;--lime:#d4e29d;--gold:#c9a76b;--shadow:0 3px 14px #263a3004}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);font-size:13px}button,input,select{font:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #a3b872;outline-offset:3px}a{color:inherit;text-decoration:none}.sidebar{width:235px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 20px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:13px;padding:0 9px}.brand-symbol{font-family:Georgia,serif;font-size:49px;line-height:1;font-style:italic}.brand>span:last-child{letter-spacing:4px;font-size:19px;font-weight:750}.brand small{display:block;font-size:7px;letter-spacing:2.2px;margin-top:5px}.workspace{border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:10px;padding:12px 9px;margin:37px 0 31px;font-size:11px;font-weight:600}.workspace-icon{width:30px;height:32px;background:#f1f3ec;display:grid;place-items:center;border-radius:6px;font-family:Georgia;font-size:19px}.workspace small,.profile small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:5px}.chevron{margin-left:auto;color:var(--muted)}.nav-label{font-size:9px;letter-spacing:1.7px;color:#949d95;margin:0 14px 14px}nav a{display:flex;align-items:center;gap:12px;padding:13px 14px;margin:4px 0;border-radius:7px;color:#737e76;font-size:12px}nav a.active{background:#edf2e4;color:#354e37;font-weight:600}nav a:hover{background:#f3f5ef}nav a svg{width:18px;height:18px}nav a .nav-dot{margin-left:auto;width:6px;height:6px;background:#a5b86e;border-radius:50%}nav .nav-separator{border-top:1px solid var(--line);margin:25px 10px 18px}.sidebar-bottom{margin-top:auto}.local-status{font-size:10px;color:#81917f;display:flex;gap:7px;align-items:center;padding:16px 10px}i{width:6px;height:6px;display:inline-block;background:#98ab78;border-radius:50%}.profile{border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:20px 8px 0;font-size:11px;font-weight:600}.profile>span,.avatar{background:#eee9dd;border:3px solid #fff;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:10px}.app-shell{margin-left:235px}.topbar{height:77px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:11px;color:#919991}.breadcrumb span{padding:0 13px;color:#c3c8c0}.breadcrumb b{font-weight:500;color:#536157}.header-right{display:flex;align-items:center;gap:21px}.timezone{font-size:10px;color:#8d978e}.avatar{background:#e9efdf}main{max-width:1640px;margin:auto;padding:35px 38px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:16px}.eyebrow{font-size:9px;letter-spacing:2px;color:#8a9588;margin-bottom:10px}h1{font-weight:500;letter-spacing:-1.1px;font-size:30px;margin:0 0 9px}p{color:#899286;line-height:1.6;margin:0}.page-heading p{font-size:12px}.button,.quiet,.icon-button{border:1px solid var(--line);border-radius:7px;background:#fff;color:#4a5b4e;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;font-size:11px}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button:hover{filter:brightness(.97)}.quiet{background:transparent;border-color:transparent;padding:8px;font-size:11px}.quiet:hover{background:#edf1e6}.icon-button{padding:6px 9px;font-size:16px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px;gap:14px}.filter-group{display:flex;align-items:center;background:#fff;border:1px solid var(--line);padding:8px 10px;gap:10px;border-radius:7px}.date-label span{display:block;font-size:8px;color:#8c9588;margin-bottom:3px}.date-label input{width:119px;border:0;background:transparent;color:#55604f;font-size:11px;outline:none}.date-dash{color:#c6cdc0}.filter-right{display:flex;gap:10px;align-items:center}select{border:1px solid var(--line);padding:11px 30px 11px 13px;border-radius:7px;background:#fff;color:#5d6b5d;font-size:11px}.mode-banner{padding:12px 15px;border:1px solid #e5d7b8;background:#fcf6e9;color:#937946;border-radius:7px;font-size:11px;margin-bottom:18px}.hero{border-radius:11px;background:#2f4435;color:#fff;padding:28px 30px;position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:20px;margin-bottom:22px;min-height:157px}.hero:after{content:'';position:absolute;right:-40px;top:-80px;width:320px;height:320px;border:1px solid #73866633;border-radius:50%;box-shadow:0 0 0 35px #73866614,0 0 0 70px #73866614,0 0 0 105px #7386660b;pointer-events:none}.hero>div{z-index:1}.hero .eyebrow{color:#b5c6a5;font-size:9px}.hero h2{font-family:Georgia,serif;font-size:26px;font-weight:400;margin:9px 0 12px;letter-spacing:-.5px}.hero p{color:#bfccb9;font-size:11px;max-width:530px}.hero-side{min-width:190px;border-left:1px solid #ffffff1a;padding-left:30px;align-self:center}.hero-side strong{font-size:28px;display:block;font-weight:450;letter-spacing:-.5px;margin-bottom:6px}.hero-side span{font-size:10px;color:#b9c7b1}.badge{font-size:9px;border-radius:4px;padding:5px 7px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;background:#f1f3ec;color:#7e8a71}.badge.amber{background:#f8f0de;color:#9b7c3f}.badge.green{background:#edf4e6;color:#6c8057}.badge.blue{background:#eaf0f7;color:#72869c}.badge.outline{border:1px solid #7c8b713d;background:transparent;color:#c9d4bf}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.metric{border:1px solid var(--line);background:#fff;border-radius:9px;padding:21px 19px;box-shadow:var(--shadow)}.metric-top{display:flex;justify-content:space-between;align-items:center;color:#7c887c;font-size:11px}.metric-icon{color:#a9b39b;background:#f6f7f2;border-radius:6px;width:29px;height:29px;display:grid;place-items:center}.metric-value{font-size:27px;letter-spacing:-1px;margin:17px 0 11px;font-weight:500}.metric-note{font-size:9px;color:#98a18f}.metric-note span{color:#7d9563}.grid-main{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:20px;margin-bottom:22px}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:23px;box-shadow:var(--shadow);min-width:0}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.panel h3{font-size:13px;font-weight:600;margin:0 0 7px}.panel-heading p{font-size:10px}.legend{display:flex;align-items:center;gap:13px;font-size:9px;color:#8d9788}.legend span{display:flex;align-items:center;gap:5px}.legend i.gold{background:var(--gold)}.chart-wrap{position:relative;min-height:210px}.chart{width:100%;height:216px;display:block;overflow:visible}.chart text{font-size:10px;fill:#9aa391;font-family:inherit}.chart line{stroke:#edf0e8;stroke-dasharray:3 5}.chart-empty{position:absolute;inset:45px 0 20px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#829176;gap:12px;font-size:12px;background:linear-gradient(transparent,#fff9)}.chart-empty small{font-size:10px;color:#a0a899}.chart-caption{display:flex;justify-content:space-between;color:#9ca491;font-size:9px;border-top:1px solid #f0f2ec;padding-top:13px}.donut-row{display:flex;align-items:center;justify-content:center;min-height:153px}.donut{width:144px;height:144px;border-radius:50%;position:relative;background:conic-gradient(#c7d68d 0 37%,#688268 37% 69%,#c7af7f 69% 88%,#e7eadb 88% 100%);display:grid;place-items:center}.donut:before{content:'';position:absolute;inset:17px;background:#fff;border-radius:50%}.donut-center{position:relative;text-align:center}.donut-center b{font-size:18px;font-weight:500;display:block;margin-bottom:5px}.donut-center small{font-size:9px;color:#9aa18f}.expense-legend{margin-top:16px;display:grid;gap:12px}.expense-legend>div{display:flex;align-items:center;gap:8px;font-size:10px;color:#8a9586}.expense-legend b{margin-left:auto;font-weight:500;color:#64735f}.bottom-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:20px;margin-bottom:22px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px}th{text-align:left;font-size:9px;letter-spacing:.4px;color:#9aa291;font-weight:400;padding:13px 12px;border-bottom:1px solid var(--line);background:#fcfcf9}td{padding:16px 12px;border-bottom:1px solid #eef0e9;color:#6f7d6a}td strong{display:block;font-weight:500;color:#43563f}td small{display:block;font-size:9px;color:#9aa18f;margin-top:5px}.amount{text-align:right;font-variant-numeric:tabular-nums}.table-panel{padding:22px 0 5px}.table-panel .panel-heading{padding:0 22px;margin-bottom:10px}.table-note{font-size:9px;color:#9aa291;padding:14px 22px}.connection-row{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #f0f2eb}.connection-row:last-child{border:0}.source-logo{width:33px;height:33px;display:grid;place-items:center;border-radius:8px;background:#f9e9e1;color:#be896f;font-weight:650;font-size:17px}.source-logo.simpra{background:#e8f0f5;color:#7593a8}.source-logo.ristivo{background:#e9efdf;color:#809969}.source-logo.bizimhesap{background:#eeecf8;color:#9683b6}.connection-row .detail{flex:1}.connection-row strong{font-weight:500;font-size:11px;display:block}.connection-row small{font-size:9px;color:#9aa38f;display:block;margin-top:5px}.connection-row .state{font-size:9px;color:#a9a18b}.link{color:#6c8255;background:none;border:0;font-size:10px;padding:0;cursor:pointer}.notice{display:flex;align-items:flex-start;gap:10px;padding:15px 18px;background:#f0f3e7;border:1px solid #e5e9d8;border-radius:8px;color:#869170;font-size:10px;line-height:1.65;margin-bottom:22px}.notice strong{color:#65784d;font-weight:550}.empty{padding:40px 20px;text-align:center;font-size:12px;color:#8c9780}.empty p{font-size:11px;margin:10px 0 18px}.report-grid,.connection-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:22px}.report-card{padding:24px;background:white;border:1px solid var(--line);border-radius:9px;display:flex;gap:17px;align-items:flex-start}.report-card h3{margin:0 0 8px;font-size:13px;font-weight:550}.report-card p{font-size:11px;margin-bottom:17px}.report-card .report-icon{font-size:23px;background:#f2f4ea;border-radius:8px;padding:13px;color:#93a37a}.connection-card{padding:24px;background:white;border:1px solid var(--line);border-radius:10px}.connection-card .head{display:flex;align-items:center;gap:12px;margin-bottom:17px}.connection-card h3{margin:0 0 5px;font-size:15px;font-weight:500}.connection-card p{font-size:11px;min-height:38px;margin-bottom:16px}.connection-card .badge{margin-left:auto}.connection-card .foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:17px;font-size:10px;color:#8c977d}.form-line{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0}.form-line label{font-size:12px}.form-line small{display:block;font-size:10px;color:#95a087;margin-top:6px}.audit{font-size:11px;padding:12px 0;border-bottom:1px solid var(--line);display:flex;gap:15px}.audit time{color:#9aa38f;font-size:10px;white-space:nowrap}.search{border:1px solid var(--line);padding:9px 12px;border-radius:6px;color:#637257;max-width:220px}.table-tools{display:flex;gap:10px}.section-heading{font-size:14px;font-weight:550;margin:26px 0 17px}.stat-pair{display:flex;gap:40px;padding:16px 0}.stat-pair strong{font-size:24px;display:block;font-weight:500;margin-bottom:7px}.stat-pair span{font-size:10px;color:#9ca48f}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:22px 0 25px;color:#a6ad9a;font-size:9px}footer b{margin:0 9px}dialog{border:1px solid var(--line);border-radius:13px;width:min(850px,calc(100vw - 36px));max-height:85vh;padding:30px;color:var(--ink);box-shadow:0 30px 100px #14201833}dialog::backdrop{background:#14201860;backdrop-filter:blur(3px)}dialog h2{font-size:22px;font-weight:500;margin:0 30px 12px 0}dialog p{font-size:12px;margin-bottom:18px}.dialog-close{position:absolute;right:15px;top:13px;border:0;background:none;color:#819174;font-size:25px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}code{background:#f1f3ed;padding:3px 6px;border-radius:4px;font-size:11px}pre{padding:15px;background:#f4f5ef;overflow:auto;font-size:11px;line-height:1.7;border-radius:7px}.preview-summary{display:flex;gap:25px;padding:15px;background:#f4f6ed;border-radius:8px;margin-bottom:16px}.preview-summary strong{font-size:19px;display:block}.preview-summary small{font-size:10px;color:#8d9a7e}.alert{background:#faeee4;color:#a57b51;padding:12px;border-radius:7px;font-size:11px;margin-bottom:13px}#toast{position:fixed;bottom:25px;left:calc(50% + 80px);transform:translateX(-50%) translateY(100px);background:#2c4336;color:white;padding:14px 22px;border-radius:8px;font-size:12px;box-shadow:0 8px 30px #14201830;opacity:0;transition:.2s;z-index:10;max-width:80vw}#toast.visible{transform:translateX(-50%);opacity:1}.loading{padding:90px;text-align:center;color:#9aa989}.skeleton{height:2px;background:#b9c78d;animation:pulse 1s infinite} @keyframes pulse{50%{opacity:.3}}@media(min-width:1600px){main{padding:42px 55px 0}.hero{padding:32px}.metric-value{font-size:32px}}@media(max-width:1150px){.sidebar{width:205px;padding:25px 14px}.app-shell{margin-left:205px}.topbar{padding:0 24px}main{padding:26px 24px 0}.timezone{display:none}.metrics{gap:10px}.metric{padding:16px 13px}.metric-value{font-size:22px}.grid-main,.bottom-grid{grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr)}.legend{gap:7px}.hero-side{min-width:160px;padding-left:20px}}@media(max-width:850px){.sidebar{width:76px;padding:22px 10px}.brand{padding:0;justify-content:center}.brand>span:last-child,.workspace,.nav-label,nav a span,.sidebar-bottom{display:none}nav{margin-top:40px}nav a{justify-content:center;padding:14px 6px}.app-shell{margin-left:76px}.metrics{grid-template-columns:repeat(2,1fr)}.grid-main,.bottom-grid{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column}.filter-group{align-self:flex-start}.filter-right{flex-wrap:wrap}.hero-side{display:none}.report-grid,.connection-grid{grid-template-columns:1fr}.header-right{gap:6px}.page-heading{align-items:flex-start}h1{font-size:25px}.breadcrumb{font-size:10px}.topbar{height:65px}.donut-row{min-height:165px}}@media(max-width:520px){main{padding:24px 14px 0}.topbar{padding:0 14px}.breadcrumb{display:none}.header-right{width:100%;justify-content:space-between}.page-heading{flex-direction:column}.page-heading .button{padding:9px 12px}.hero{padding:24px 20px}.hero h2{font-size:23px}.metric-value{font-size:20px}.metric-top{font-size:10px}.metric-icon{display:none}.metric-note{font-size:8px}.panel{padding:18px}.table-panel{padding:18px 0 0}.legend{flex-direction:column;align-items:flex-start;gap:5px}.filter-right select{padding-right:20px;max-width:160px}footer{flex-direction:column}.date-label input{width:110px}.filter-group{gap:5px;padding:7px}.table-tools{flex-direction:column}.panel-heading{flex-wrap:wrap}#toast{left:50%}.stat-pair{gap:20px}.stat-pair strong{font-size:20px}}@media print{.sidebar,.topbar,.toolbar,.page-heading>button,.link,footer{display:none}.app-shell{margin:0}main{padding:0}.panel,.metric{break-inside:avoid}.hero{print-color-adjust:exact}}
.source-strip{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;border:1px solid #e0e8d5;background:#f0f4e9;border-radius:8px;padding:13px 16px;margin-bottom:20px;font-size:10px;color:#77866a}.source-strip i{margin-right:5px}.accent-metric{background:#eaf0df;border-color:#dce5cd}.profit-steps{display:grid;gap:15px}.profit-steps>div{display:flex;justify-content:space-between;gap:15px;font-size:12px}.profit-steps b{font-size:15px;font-weight:500}.profit-result{border-top:1px solid var(--line);padding-top:18px;margin-top:3px}.profit-result b{font-size:23px;letter-spacing:-.7px}.profit-ratio{display:flex;justify-content:space-between;background:#f4f6ef;padding:13px;border-radius:7px;margin-top:20px;font-size:11px}.profit-ratio strong{font-weight:550}.fine-print{font-size:10px;color:#8b9584;line-height:1.8;margin-top:18px}.cash-metrics{grid-template-columns:repeat(3,1fr)}.section-heading-row{display:flex;align-items:center;justify-content:space-between}.cash-controls{display:flex;gap:15px;align-items:flex-end;margin-bottom:20px}.cash-controls label,.cash-form label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#7b896f}.cash-controls input,.cash-form input{padding:10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink)}.cash-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.cash-form label:last-child{grid-column:1/-1}.cash-ledger{margin-bottom:24px}.source-text{display:block;width:100%;margin-top:12px;border:1px solid var(--line);border-radius:8px;padding:14px;font-family:monospace}.flow-track{display:flex;gap:20px;align-items:center;justify-content:space-around;padding:20px 0}.flow-track>div{display:flex;flex-direction:column;gap:12px}.flow-track span{color:#94a086;font-size:11px}.flow-track b{font-size:24px;font-weight:500}.metric-value{font-size:clamp(18px,1.7vw,29px)}@media(max-width:850px){.source-strip{align-items:flex-start;flex-direction:column}.cash-controls{flex-wrap:wrap}.cash-metrics{grid-template-columns:1fr}.flow-track{align-items:flex-start;flex-direction:column}.cash-form{grid-template-columns:1fr}.metric-value{font-size:20px}.profit-result b{font-size:20px}}@media(max-width:520px){.cash-ledger .metrics{grid-template-columns:1fr}.profit-steps>div{flex-wrap:wrap}.source-strip{font-size:9px}}
nav{overflow-y:auto;min-height:0}.confirm-costs{display:flex;align-items:flex-start;gap:10px;margin-top:20px;font-size:12px;line-height:1.6}.confirm-costs input{margin-top:4px}.sidebar-bottom{flex-shrink:0}.sidebar .workspace{flex-shrink:0}

@media(max-width:1200px){.finance-grid{grid-template-columns:1fr}}
@media(max-width:1200px){.toolbar{flex-wrap:wrap}.filter-right{flex-wrap:wrap}}

.records-table table{table-layout:fixed;width:100%;min-width:650px}.records-table th:nth-child(1){width:19%}.records-table th:nth-child(2){width:39%}.records-table th:nth-child(3){width:18%}.records-table th:nth-child(4){width:24%}.records-table td,.records-table td strong,.records-table td small{white-space:normal;overflow-wrap:anywhere}.records-table td.amount{white-space:nowrap}
.royalty-form{display:flex;gap:8px;align-items:center}.royalty-form input{width:90px;padding:10px;border:1px solid #dce1d7;border-radius:8px;background:#fff}.cash-form input{padding:12px;border:1px solid #dce1d7;border-radius:8px}.cash-form label{display:flex;flex-direction:column;gap:8px}#auth-name{font-size:12px;color:#667361}
[hidden]{display:none!important}.royalty-table table{table-layout:fixed;min-width:570px;width:100%}.royalty-table th,.royalty-table td{padding:14px 7px;white-space:normal;overflow-wrap:anywhere}.royalty-table th:nth-child(1){width:26%}.royalty-table th:nth-child(2){width:12%}.royalty-table th:nth-child(3){width:23%}.royalty-table th:nth-child(4){width:19%}.royalty-table th:nth-child(5){width:20%}.royalty-table .royalty-form{flex-direction:column;align-items:stretch}.royalty-table input{width:100%;min-width:0}.royalty-table small{line-height:1.5}.royalty-table td{font-size:11px}
@media(min-width:701px){.sidebar nav a{padding:9px 12px;margin:2px 0}.sidebar nav .nav-separator{margin:10px}}

.expense-filter{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.expense-filter label{font-weight:600}.expense-filter select{max-width:100%;min-width:240px;padding:10px;border:1px solid #dfe3d9;border-radius:8px;background:white;color:inherit}.expense-filter small{flex-basis:100%;color:#7d8979}.expense-records table{min-width:760px}.expense-records th:nth-child(1){width:16%}.expense-records th:nth-child(2){width:29%}.expense-records th:nth-child(3){width:20%}.expense-records th:nth-child(4){width:15%}.expense-records th:nth-child(5){width:20%}

.expense-filter{margin-bottom:22px}

.hr-hero{background:#2d4435;color:#fff;border-radius:16px;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:25px}.hr-hero span{font-size:10px;letter-spacing:3px;color:#d4e29d}.hr-hero h2{font-family:Georgia,serif;font-size:30px;font-weight:500;margin:16px 0}.hr-hero p{color:#d3dccd}.hr-hero>b{font-size:44px;text-align:center;min-width:110px}.hr-hero small{display:block;font-size:11px;font-weight:400}.hr-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0}.hr button{border:1px solid #dce2d6;border-radius:7px;background:white;color:#324d3c;padding:10px 13px}.hr button.primary,.hr-tabs button.selected{background:#324d3c;color:white;border-color:#324d3c}.hr-note{padding:16px 20px;line-height:1.7;background:#edf1e4;border:1px solid #dfe6d1;border-radius:10px;color:#66785b;margin:18px 0}.hr-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hr .panel{padding:24px;margin-bottom:20px}.hr .metrics{margin:22px 0}.hr-line{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #edf0e8}.hr-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.hr label{display:flex;flex-direction:column;gap:8px;font-size:12px}.hr input,.hr select,.hr textarea{border:1px solid #dce2d6;border-radius:7px;padding:11px;background:#fff;color:#263a30;width:100%;font:inherit;min-width:0}.hr .wide{grid-column:1/-1}.hr-editor summary{cursor:pointer;font-size:16px;font-weight:650}.hr-table{overflow-x:auto}.hr-table table{width:100%;min-width:650px}.hr-table td{white-space:normal;overflow-wrap:anywhere}.hr-table td small{display:block;margin-top:6px;color:#839087}.hr-table td button{margin:3px}.hr-badge{display:inline-block;font-size:10px;padding:5px 8px;border-radius:20px;background:#edf1e5;color:#506442}.hr-badge.pending,.hr-badge.draft{background:#fbefd7;color:#916c29}.hr-badge.rejected{background:#fae8e4;color:#954b3b}.hr-board{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.hr-board>section>h3{display:flex;justify-content:space-between}.hr-board article h3{line-height:1.5}.hr-board p{line-height:1.6}.hr-board button{font-size:11px;margin:3px}.hr video{width:100%;max-height:260px;margin-top:15px}.hr #hr-qr-card img{width:210px;max-width:100%;display:block;margin-top:15px}.hr .muted{color:#839087;line-height:1.6}.sidebar nav{overflow-y:auto;min-height:0}.hr .metric strong{font-size:30px}
@media(max-width:900px){.hr-grid,.hr-board{grid-template-columns:1fr}.hr-form{grid-template-columns:1fr}.hr-hero{padding:24px}.hr-hero h2{font-size:25px}.hr-hero>b{display:none}}
.hr .metric{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.hr .metric>span{color:#738173;font-size:12px}.hr .metric strong{display:block;margin:0;line-height:1.2}.hr .metric small{display:block;color:#839087;line-height:1.5}
.shift-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap}.shift-heading h3{margin-top:0}.shift-controls{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.shift-controls input{max-width:155px}.shift-controls select{max-width:230px}.shift-scroll{overflow-x:auto;margin:22px 0}.shift-calendar{width:100%;min-width:950px;table-layout:fixed}.shift-calendar th:first-child{width:150px}.shift-calendar th,.shift-calendar td{padding:12px 8px!important;vertical-align:top;white-space:normal}.shift-calendar small{display:block;font-weight:400;margin-top:7px}.shift-calendar td{height:80px}.hr .shift-slot{background:#eef3e6;border-color:#d8e4c9;padding:9px 6px;width:100%;margin-bottom:5px;text-align:left;font-size:11px}.shift-editor{width:100%;min-width:570px}.shift-editor td{padding:12px 9px!important}.shift-editor input[type=time]{min-width:110px;max-width:170px}.hr .shift-check{display:flex;flex-direction:row;align-items:center;gap:9px}.hr .shift-check input[type=checkbox]{width:17px;height:17px;accent-color:#324d3c}.hr .shift-check small{color:#839087}.shift-editor input:disabled{background:#f3f4ef;color:#a4aca1}.shift-editor tr:has([data-shift-select]:checked){background:#f3f6ed}
.payment-calendar{margin-bottom:24px;padding:26px}.pay-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.pay-controls{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.payment-calendar label{display:flex;flex-direction:column;gap:8px;color:#647561;font-size:12px}.payment-calendar input,.payment-calendar select,.payment-calendar textarea{font:inherit;color:#263a30;border:1px solid #dce2d6;border-radius:7px;background:white;padding:10px;max-width:100%;min-width:0}.payment-calendar button,.payment-calendar a.button{border:1px solid #dce2d6;border-radius:7px;padding:10px 12px;background:#fff;color:#324d3c;cursor:pointer}.payment-calendar button.primary{background:#324d3c;color:white}.pay-stats{display:flex;gap:30px;flex-wrap:wrap;background:#f1f5e9;border-radius:10px;margin:22px 0;padding:18px}.pay-stats span{font-size:12px;color:#72816b}.pay-stats b{display:block;color:#2c4435;font-size:23px;margin-top:8px}.pay-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:20px 0 25px}.pay-weekday{text-align:center;color:#84907e;font-size:11px;padding:10px}.payment-calendar .pay-day{text-align:left;min-height:94px;padding:9px;display:flex;flex-direction:column;gap:5px;overflow:hidden}.pay-day.today{box-shadow:inset 0 0 0 2px #a3b872}.payment-calendar .pay-day.selected{background:#edf3e2;border-color:#70854d}.pay-chip{font-size:10px;display:block;background:#edf1e6;padding:5px;border-radius:4px;overflow-wrap:anywhere;max-width:100%}.pay-chip small{display:block;margin-top:3px}.pay-chip.paid{opacity:.55}.pay-chip.cancelled{text-decoration:line-through;opacity:.4}.pay-item{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #e6e9e2;padding:18px 0}.pay-item small{display:block;margin-top:6px;color:#839087;max-width:350px;overflow-wrap:anywhere}.pay-actions{display:flex;gap:6px;flex-wrap:wrap;max-width:340px;align-items:center;font-size:11px}.pay-help{background:#f4f6ef;padding:17px;line-height:1.7;border-radius:10px;margin:22px 0}.pay-help summary,.pay-editor summary{font-weight:600;cursor:pointer}.pay-help a{text-decoration:underline}.pay-editor{border-top:1px solid #e6e9e2;padding-top:22px}.pay-editor form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.pay-editor .wide{grid-column:1/-1}.pay-editor textarea{min-height:70px}.pay-controls select{max-width:200px}.pay-list .empty{padding:24px}@media(max-width:750px){.pay-item{align-items:flex-start;flex-direction:column}.pay-editor form{grid-template-columns:1fr}.payment-calendar{padding:15px}.payment-calendar .pay-day{min-height:65px;padding:4px}.pay-chip{font-size:9px}.pay-stats{gap:18px}}
.mail-shell{display:grid;grid-template-columns:210px minmax(0,1fr);border:1px solid #e0e5da;border-radius:14px;overflow:hidden;background:white;min-height:540px}.mail-folders{background:#f0f3ea;padding:23px 17px;border-right:1px solid #e0e5da}.mail-account{display:flex;flex-direction:column;gap:9px;overflow-wrap:anywhere;margin-bottom:24px}.mail-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#dfe8ce;color:#324d3c;font-size:24px}.mail-account small{color:#7c8877;font-size:11px}.mail-status{font-size:10px;background:#f7eccc;color:#8e743e;padding:5px 8px;border-radius:15px;align-self:flex-start}.mail-shell button{padding:11px 13px;border:1px solid #dce2d6;border-radius:7px;background:white;color:#324d3c}.mail-shell button.primary{background:#324d3c;color:white;border-color:#324d3c}.mail-folders>button{width:100%}.mail-folders nav{display:flex;flex-direction:column;gap:6px;margin:23px 0}.mail-folders nav button{text-align:left;background:transparent;border-color:transparent;display:flex;justify-content:space-between}.mail-folders nav button.selected{background:white;border-color:#dce2d6;font-weight:600}.mail-main{padding:30px;min-width:0}.mail-empty{text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:420px}.mail-empty h2{font-family:Georgia,serif;font-weight:400;font-size:27px}.mail-empty p{color:#7c8877;line-height:1.8}.mail-envelope{font-size:40px;color:#607858;background:#eef3e6;padding:15px 22px;border-radius:20px}.mail-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:25px}.mail-form label{display:flex;flex-direction:column;gap:8px;color:#728269;font-size:12px}.mail-form input,.mail-form textarea,.mail-form select{padding:12px;border:1px solid #dce2d6;border-radius:7px;background:white;color:#263a30;font:inherit;min-width:0;width:100%}.mail-form .wide{grid-column:1/-1}.mail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.mail-info{padding:18px;background:#f1f5e9;margin-top:24px;border-radius:9px;line-height:1.7}.mail-main .muted{color:#839087;line-height:1.7}.mail-drafts{display:flex;flex-direction:column;gap:8px;margin-top:16px}.mail-drafts button{text-align:left}.mail-drafts small{display:block;color:#839087;margin-top:6px}.mail-drafts .selected{background:#f0f5e8}@media(max-width:850px){.mail-shell{grid-template-columns:1fr}.mail-folders{border-right:0;border-bottom:1px solid #e0e5da}.mail-folders nav{flex-direction:row;flex-wrap:wrap;margin:14px 0}.mail-account{margin-bottom:15px}.mail-main{padding:20px}.mail-form{grid-template-columns:1fr}}

/* Coffee production and inventory */
.coffee-section .metric>span{display:block;color:var(--muted,#73816f);margin-bottom:14px}
.coffee-section .metric>strong{display:block;font-size:26px;color:#263e32}
.coffee-section #coffee-refresh{border:1px solid #d8dfd2;border-radius:8px;padding:10px 15px;background:white;color:#263e32;cursor:pointer}
.coffee-section h3{margin-top:24px}.coffee-section+details summary,.coffee-section~details.panel summary{cursor:pointer;font-weight:600;padding:8px 0}.coffee-section~details.panel form{margin-top:20px}

.expense-category-summary{margin-bottom:24px}.category-link{border:0;background:transparent;color:#324d3c;font:inherit;font-weight:600;text-align:left;padding:8px 0;cursor:pointer}.category-link:hover{text-decoration:underline}.category-link:focus-visible{outline:2px solid #728b50;outline-offset:4px}.expense-category-summary tr.selected{background:#eef3e5}.expense-category-summary tfoot{background:#f4f6ef}.expense-category-summary th,.expense-category-summary td{white-space:normal}.expense-category-summary .amount{white-space:nowrap}

.expense-category-summary .table-wrap{max-height:480px;overflow:auto}.expense-category-summary thead{position:sticky;top:0;z-index:1;background:#f5f7f0}.expense-category-summary tfoot{position:sticky;bottom:0}

.royalty-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.royalty-summary .metric-value{font-size:clamp(19px,2vw,30px);overflow-wrap:anywhere}@media(max-width:750px){.royalty-summary{grid-template-columns:1fr}}

.commerce-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.commerce-editor{margin-bottom:24px}.commerce-editor summary{cursor:pointer;font-weight:600}.commerce-editor form{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.commerce-editor label{display:flex;flex-direction:column;gap:9px;font-size:13px}.commerce-editor input,.commerce-editor select,.commerce-editor textarea{min-width:0;width:100%;padding:12px;border:1px solid #dce2d6;border-radius:8px;background:white;color:#263a30;font:inherit}.commerce-editor .wide{grid-column:1/-1}.commerce-editor .muted{color:#73816f;line-height:1.7}.commerce-editor [role=status]{margin-left:12px;color:#9b482d}@media(max-width:750px){.commerce-editor form{grid-template-columns:1fr}}
