:root{font-family:Segoe UI,Arial,sans-serif;color:#183b35;background:#f5f5f0;font-synthesis:none;--green:#185b4a;--line:#e2e7df;--muted:#71817a}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,summary,select{cursor:pointer}header{height:88px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 5vw;background:#fff}.brand{display:flex;align-items:center;gap:24px;text-decoration:none;color:inherit}.brand>span:last-child{border-left:1px solid var(--line);padding-left:24px;font-size:14px}.logo{font-size:35px;font-weight:800;letter-spacing:-2px}.logo span{color:#d2ae6a}.version{background:#eef3ec;padding:8px 13px;border-radius:20px;font-size:12px}.notice{background:#eaf0e7;color:#4e665a;font-size:12px;padding:12px 5vw;display:flex;align-items:center;gap:10px}.dot{width:6px;height:6px;background:#70946c;border-radius:50%;flex:none}main{max-width:1380px;margin:auto;padding:38px 5vw 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#718174}h1{font-size:32px;letter-spacing:-1px;margin:10px 0}p{line-height:1.5}.page-heading p{color:var(--muted);font-size:14px;margin:0}.date{font-size:13px;color:#67766d;text-transform:capitalize}nav{display:flex;gap:26px;border-bottom:1px solid #dce3d9;margin:30px 0 25px}.tab{border:0;background:none;padding:12px 0 16px;color:#7a847e;font-weight:600;font-size:14px;border-bottom:3px solid transparent}.tab.active{border-bottom-color:var(--green);color:var(--green)}#count{font-size:11px;background:#e1e9de;padding:3px 7px;border-radius:10px;margin-left:5px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px}.left{display:grid;gap:18px;align-content:start}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px}.section-head{display:flex;align-items:center;gap:11px;margin-bottom:22px}.section-head>.muted{margin-left:auto;font-size:11px}.step{display:inline-grid;place-items:center;width:27px;height:27px;background:#edf3e9;color:#637756;border-radius:8px;font-size:11px;font-weight:600}h2{font-size:17px;letter-spacing:-.3px;margin:0}.vehicle-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:20px}label{display:block;font-size:12px;font-weight:600;color:#51665c}input,select{width:100%;margin-top:8px;padding:12px;border:1px solid #dce3db;background:#fff;border-radius:7px;color:#183b35;min-height:44px}input:focus,select:focus{outline:2px solid #6e9d86;outline-offset:1px}#plate{font-size:23px;letter-spacing:5px;padding:7px 14px;font-weight:600}.hint{font-size:11px;color:var(--muted);margin:12px 0 0}.muted{color:var(--muted);font-weight:400}.callout{background:#f6f7f2;padding:11px 13px;border-radius:7px;margin:-5px 0 17px;line-height:1.6}details{border-top:1px solid var(--line)}summary{padding:17px 0;font-size:13px;font-weight:650;list-style-position:inside}summary::marker{color:#8b9a86}.service{padding:12px 0;border-top:1px solid #eff1ec}.service-top{display:grid;grid-template-columns:23px minmax(0,1fr) 108px;gap:9px;align-items:center}.service-top>input[type=checkbox]{width:17px;height:17px;min-height:17px;margin:0;accent-color:var(--green)}.service-name{font-size:13px;line-height:1.4;font-weight:400;cursor:pointer}.price-input{margin:0;padding:7px 9px;min-height:35px;text-align:right;font-size:13px}.service-options{display:flex;gap:10px;padding-left:32px;margin-top:9px}.service-options select{margin:0;min-height:35px;padding:7px;font-size:12px}.service-options input{width:80px;margin:0;min-height:35px;padding:7px}.price-note{padding-left:32px;font-size:10px;color:#8c7751;margin-top:5px}.staff-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}aside{min-width:0}.summary{position:sticky;top:18px}.summary h2{font-size:22px;margin-top:8px}.selected-list{border-bottom:1px solid var(--line);padding:16px 0;margin-bottom:18px;min-height:80px}.empty{font-size:13px;line-height:1.6;color:#8b978d}.selected-row{display:flex;justify-content:space-between;gap:14px;font-size:12px;line-height:1.5;margin-bottom:13px}.selected-row span{color:#627367}.selected-row b{white-space:nowrap;font-weight:600}.summary label{margin-top:14px}.summary input,.summary select{font-size:13px}.total{border-top:1px solid var(--line);margin-top:22px;padding:22px 0 10px;display:flex;align-items:center;justify-content:space-between}.total>span{font-size:13px}.total strong{font-size:29px;letter-spacing:-1px}.salary-preview{font-size:11px;line-height:1.6;color:#6b7c70;margin-top:16px}.primary{background:var(--green);color:white;border:0;border-radius:7px;padding:15px;width:100%;text-align:left;display:flex;justify-content:space-between;font-size:13px;font-weight:600}.primary:hover{background:#104837}.secondary{background:#fff;border:1px solid #cfd9cd;padding:12px 16px;border-radius:7px;color:var(--green);font-size:12px}#error{font-size:12px;color:#b44430}footer{margin-top:36px;padding:24px 0;border-top:1px solid var(--line);font-size:10px;color:#899589;display:flex;justify-content:space-between;gap:20px}.journal-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.journal-head input{margin:4px 0 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.stat{border:1px solid var(--line);background:white;padding:19px;border-radius:10px;font-size:12px;color:#758275}.stat strong{display:block;color:#1d443a;font-size:23px;margin-top:10px}.journal-entry{padding:17px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px}.journal-entry:last-child{border-bottom:none}.journal-entry h3{margin:0;font-size:14px}.journal-entry p{font-size:12px;color:var(--muted);margin:6px 0 0}.entry-amount{text-align:right;white-space:nowrap}#salary-list{margin-top:18px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:16px 23px;background:#183b35;color:white;font-size:13px;box-shadow:0 10px 25px #0002;border-radius:9px;max-width:90%;z-index:5}[hidden]{display:none!important}@media(min-width:1400px){main{padding-left:40px;padding-right:40px}}@media(max-width:950px){.layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.card{padding:19px}.page-heading h1{font-size:27px}}@media(max-width:740px){header{height:72px;padding:0 20px}.brand{gap:13px}.brand>span:last-child{padding-left:13px;font-size:12px}.logo{font-size:29px}.version{font-size:10px;padding:6px 9px}.notice{padding:12px 20px;line-height:1.6}main{padding:26px 16px 0}.page-heading{align-items:start}.page-heading h1{font-size:25px;max-width:240px}.page-heading p{font-size:12px}.date{display:none}.layout{grid-template-columns:1fr}.summary{position:static}.card{padding:20px}.vehicle-grid{grid-template-columns:1fr 1.3fr;gap:12px}.staff-grid{grid-template-columns:1fr}.section-head>.muted{font-size:9px}.journal-head{flex-wrap:wrap}.stats{grid-template-columns:1fr 1fr}.stat strong{font-size:20px}footer{flex-direction:column;gap:9px}.journal-entry{gap:12px}.entry-amount{font-size:13px}}
nav{overflow-x:auto;gap:22px}.tab{white-space:nowrap}.edit-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;background:#e6f0e6;border:1px solid #c7d9c4;border-radius:10px;margin-bottom:20px;font-size:14px}.edit-banner p{font-size:12px;margin:6px 0 0;color:#627367}.edit-button{border:1px solid #d4ded1;color:#185b4a;background:#f6f8f3;border-radius:6px;padding:7px 11px;font-size:11px;margin-top:10px}.company-card{margin-bottom:18px}.company-head{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e2e7df;padding-bottom:18px}.contracts-total{font-size:13px;color:#59705e;margin-bottom:18px}.report-card{max-width:800px}.report-card h2{font-size:24px;margin-top:12px}.report-description{font-size:14px;color:#71817a;line-height:1.7}.report-filters{display:grid;grid-template-columns:1fr 2fr;gap:20px;margin:24px 0}.report-preview{padding:20px;background:#f2f6ef;border-radius:8px;font-size:20px;font-weight:600;margin-bottom:20px}.report-card .primary{max-width:300px}.backup-card{max-width:800px;margin-top:20px}.backup-card .secondary{margin-top:18px}.primary:disabled{opacity:.5;cursor:default}#report-error{font-size:12px;color:#b44430}.edit-note{font-size:10px!important}.entry-amount{max-width:40%;white-space:normal;overflow-wrap:anywhere}.entry-amount>b{white-space:nowrap}@media(max-width:740px){nav{gap:20px}.tab{font-size:12px}.edit-banner{align-items:flex-start;flex-direction:column}.report-filters{grid-template-columns:1fr}.company-head{align-items:flex-start;flex-direction:column}.report-preview{font-size:17px}}
.company-head h2{overflow-wrap:anywhere;word-break:break-word}.company-head>div{min-width:0}.journal-entry>div:first-child{min-width:0;overflow-wrap:anywhere}
.auth-screen{min-height:100vh;display:grid;place-items:center;padding:28px}.auth-card{width:min(100%,440px)}.auth-card h1{font-size:26px}.auth-card form label{margin-top:18px}.auth-card .primary{margin-top:24px}.auth-card .logo{margin-bottom:18px}.auth-card .hint{line-height:1.7}#auth-error,#carpet-error,#shift-error{font-size:12px;color:#b44430;line-height:1.5}.account-bar{display:flex;align-items:center;gap:12px}.account-bar .secondary{padding:7px 12px}.shift-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.shift-card h2{margin-top:10px}.shift-card form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;max-width:650px}.shift-card input{margin-top:6px;max-width:190px}#shift-error{grid-column:1/-1;margin:0}.carpet-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0}.carpet-size{display:flex;align-items:end;gap:12px;max-width:550px;margin:20px 0}.carpet-size>span{padding-bottom:14px}.carpet-size>button{margin-bottom:1px}.carpet-filters{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin:25px 0}.carpet-actions{display:flex;align-items:center;gap:14px}.carpet-actions .primary{max-width:300px}.stat-group-label{grid-column:1/-1;font-size:13px;margin:10px 0 -3px;color:#526759}.import-card{max-width:800px;margin-bottom:20px}.import-card label{margin:18px 0}.import-card>button{margin-top:16px}.staff-mode .owner-only{display:none!important}.staff-mode .date{display:none}.staff-mode #contracts-month{display:none}@media(max-width:1050px){.shift-card{align-items:start;flex-direction:column}.shift-card form{width:100%;max-width:none}.shift-card input{max-width:none}}@media(max-width:740px){.shift-card form{grid-template-columns:1fr}.carpet-fields{grid-template-columns:1fr 1fr}.carpet-fields>label:first-child{grid-column:1/-1}.carpet-filters{grid-template-columns:1fr}.account-bar{gap:6px}.account-bar .version{font-size:9px}.account-bar .secondary{font-size:10px}.carpet-actions{align-items:stretch;flex-direction:column}.carpet-size{gap:8px}}

.table-scroll{overflow-x:auto;margin:24px 0}.table-scroll table{border-collapse:collapse;width:100%;min-width:720px}.table-scroll th,.table-scroll td{padding:10px;text-align:left;border-bottom:1px solid #dce5df}.table-scroll input{min-width:90px;width:100%}#cash-view form{margin:25px 0}#cash-error,#tariff-message{color:#974c22}nav{flex-wrap:wrap}

.shift-total{background:#185b4a;color:white;padding:24px;border-radius:12px;margin-bottom:20px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.shift-total strong{font-size:30px}.shift-total small{flex-basis:100%;line-height:1.6}.close-shift{margin-top:14px;background:#185b4a;color:#fff}.closing-step{padding-bottom:20px;border-bottom:1px solid #e2e7df;margin-bottom:24px}.closing-step h2{margin-bottom:18px}.carpet-payment-form{margin-top:14px;padding-top:14px;border-top:1px solid #e2e7df}.carpet-payment-form label{margin:8px 0}.carpet-payment-form input[type=checkbox]{width:18px;min-height:18px;vertical-align:middle;margin:0 6px 0 0}.carpet-payment-form select{min-width:150px}.payment-error{color:#b44430;font-size:12px}.stat-group-label{grid-column:1/-1}

.developer-toggle{display:flex;gap:12px;align-items:center;margin-top:20px}.developer-toggle input{width:18px;min-height:18px;margin:0}.backup-card h3{font-size:14px;margin-top:24px}

.delete-record{display:block;margin:0 0 8px auto;width:36px;height:36px;padding:0;border:1px solid #e8b5b5;border-radius:9px;color:#a52b2b;background:#fff5f5;font-size:25px;line-height:1;cursor:pointer}.danger{border:1px solid #d89a9a;background:#fff1f1;color:#982a2a;border-radius:10px;padding:11px 16px;font-weight:600;cursor:pointer}.danger:hover,.delete-record:hover{background:#ffe1e1}dialog{border:1px solid #dfe5e3;border-radius:18px;padding:26px;max-width:540px;width:calc(100% - 32px);box-sizing:border-box;box-shadow:0 20px 90px #0003}dialog::backdrop{background:#14231f88}dialog p{line-height:1.65}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}.closing-step>h2{margin-top:22px}
