:root{--ink:#17201d;--muted:#66726d;--line:#dfe6e2;--paper:#fff;--wash:#f4f7f5;--green:#0e6b4f;--green-soft:#e8f5ef;--amber:#9a6410;--amber-soft:#fff4d9;--red:#a13d35;--red-soft:#fceceb}*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:var(--wash);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}.app-shell{max-width:1440px;margin:auto;padding:36px}.panel-heading,.topbar,.upload-actions,.upload-card,.user-area{display:flex;align-items:center}.topbar{justify-content:space-between;margin-bottom:28px}.login-card h1,.topbar h1{font-family:Georgia,serif;font-size:34px;margin:3px 0}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.13em;color:var(--green);margin:0}.muted{color:var(--muted)}.user-area{gap:14px;font-size:14px}.ghost,.primary{border-radius:10px;padding:11px 16px;font-weight:750}.ghost{background:transparent;border:1px solid var(--line)}.primary{border:0;background:var(--green);color:#fff;box-shadow:0 6px 16px #0e6b4f2b}.primary:disabled{opacity:.5;cursor:not-allowed}.panel,.upload-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 35px #24372e0a}.upload-card{padding:24px;justify-content:space-between;gap:24px}.panel h2,.upload-card h2{margin:5px 0;font-size:22px}.upload-actions{gap:12px;flex-wrap:wrap}.error,.notice{color:var(--red);font-weight:650}.summary-grid{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:14px;gap:14px;margin:20px 0}.summary-grid article{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px}.summary-grid span{display:block;color:var(--muted);font-size:13px}.summary-grid strong{font-family:Georgia,serif;font-size:30px}.summary-grid .green{background:var(--green-soft);border-color:#cce8db}.summary-grid .amber{background:var(--amber-soft);border-color:#f0dfaf}.summary-grid .red{background:var(--red-soft);border-color:#efd0cd}.panel{margin-top:20px;overflow:hidden}.panel-heading{justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line)}.table-wrap{overflow:auto;max-height:580px}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em;background:#fafcfb;position:-webkit-sticky;position:sticky;top:0}td,th{padding:13px 16px;border-bottom:1px solid #edf1ef;white-space:nowrap}td:nth-child(4){white-space:normal;min-width:230px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.money{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.badge{display:inline-block;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:750;background:#edf1ef}.badge.new{background:var(--green-soft);color:var(--green)}.badge.changed{background:var(--amber-soft);color:var(--amber)}.history{list-style:none;padding:0;margin:0}.history li{display:flex;justify-content:space-between;gap:20px;padding:15px 24px;border-bottom:1px solid #edf1ef}.history li span:first-child{display:flex;flex-direction:column}.history small{color:var(--muted);margin-top:4px}.empty{text-align:center;padding:70px 20px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 20%,#dceee6,transparent 36%),var(--wash)}.login-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:38px;box-shadow:0 24px 70px #2440331b}.brand-mark{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;background:var(--green);color:#fff;font-family:Georgia,serif;font-weight:700;font-size:22px;margin-bottom:22px}.stack{display:grid;grid-gap:16px;gap:16px;margin-top:25px}.stack label{display:grid;grid-gap:7px;gap:7px;font-size:13px;font-weight:700}.stack input{border:1px solid #cad4cf;border-radius:10px;padding:12px;background:#fff}.stack input:focus{outline:2px solid #7fbaa5;border-color:transparent}@media(max-width:900px){.app-shell{padding:20px}.summary-grid{grid-template-columns:repeat(2,1fr)}.upload-card{flex-direction:column}.topbar,.upload-card{align-items:flex-start}.topbar{gap:16px}.user-area span{display:none}}@media(max-width:540px){.summary-grid{grid-template-columns:1fr 1fr}.summary-grid article:first-child{grid-column:1/-1}.topbar h1{font-size:28px}.history li{flex-direction:column}}.payment-form{padding:24px}.panel-heading select,.payment-form select{font:inherit;max-width:100%;padding:10px;border:1px solid #cad4cf;border-radius:10px;background:#fff}.payment-form .stack{max-width:900px}.payment-form .stack label{min-width:0}.payment-form .stack button{justify-self:start}.assignment-picker{display:grid;grid-gap:8px;gap:8px;min-width:0}.assignment-picker select{width:100%;min-width:0}.assignment-picker .upload-actions input{flex:1 1;min-width:180px}.assignment-picker small{font-weight:400}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:18px;gap:18px;margin:24px 0}.module-card{display:flex;align-items:center;gap:16px;padding:24px;background:var(--paper);border:1px solid var(--line);border-radius:18px;color:var(--ink);text-decoration:none;transition:background .15s,border-color .15s}.module-card:focus-visible,.module-card:hover{background:var(--green-soft);border-color:var(--green)}.module-icon{display:grid;place-items:center;width:54px;height:54px;flex-shrink:0;border-radius:14px;background:var(--green-soft);color:var(--green)}.module-icon svg{width:30px;height:30px}.module-card strong{display:block;font-size:21px}.module-card small{display:block;color:var(--muted);line-height:1.5;margin-top:6px}.module-card>span:last-child{margin-left:auto}.secondary-links{line-height:2}.customer-actions{margin:20px 0}.customer-actions a{text-decoration:none;color:var(--green)}[id]{scroll-margin-top:24px}@media(max-width:900px){.module-grid{grid-template-columns:1fr}.module-card{padding:20px}}.customer-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-module-grid .module-card{min-height:150px;padding:30px}.customer-module-grid .module-icon{width:72px;height:72px}.customer-module-grid .module-icon svg{width:40px;height:40px}.customer-module-grid .module-card strong{font-size:24px}@media(max-width:700px){.customer-module-grid{grid-template-columns:1fr}.customer-module-grid .module-card{padding:22px;min-height:125px}.customer-module-grid .module-card strong{font-size:21px}}.customer-module-grid .customer-action-wide{grid-column:1/-1;min-height:125px}.customer-payment-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:20px;gap:20px;align-items:start}.customer-payment-link-grid>div{height:100%;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--wash)}.customer-payment-link-form>label{margin-top:4px}.customer-payment-link-form>.primary{justify-self:start;min-width:160px}@media(max-width:700px){.customer-payment-link-grid{grid-template-columns:1fr}.customer-payment-link-form>.primary{width:100%}}.save-toast{position:fixed;top:24px;right:24px;z-index:3000;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:14px 16px;border:1px solid;border-radius:14px;box-shadow:0 14px 42px #17201d38;font-weight:700;animation:save-toast-in .2s ease-out}.save-toast-success{background:#f2fbf6;color:var(--green);border-color:#9fceb8}.save-toast-error{background:var(--red-soft);color:var(--red);border-color:#e3b3ae}.save-toast-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:currentColor;color:white;font-size:17px}.save-toast button{margin-left:8px;border:0;background:transparent;color:inherit;font-size:24px;line-height:1;padding:4px}.save-toast button:focus-visible{outline:2px solid currentColor;outline-offset:2px}@keyframes save-toast-in{0%{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:540px){.save-toast{top:16px;right:16px;left:16px}}.save-toast-success .save-toast-icon{background:var(--green);color:#fff}.save-toast-error .save-toast-icon{background:var(--red);color:#fff}.stack textarea,.upload-actions textarea{font:inherit;border:1px solid #cad4cf;border-radius:10px;padding:12px;background:#fff;resize:vertical;max-width:100%}.stack textarea:focus{outline:2px solid #7fbaa5;border-color:transparent}.customer-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.customer-profile-details{display:grid;grid-gap:16px;gap:16px;margin:20px 0}.customer-profile-details dt{font-size:13px;font-weight:700;color:var(--muted);margin-bottom:5px}.customer-profile-details dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.customer-create{padding:28px}.customer-create-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid var(--line)}.customer-create-title{display:flex;align-items:center;gap:14px}.customer-create-icon{display:grid;place-items:center;flex-shrink:0;width:50px;height:50px;border-radius:14px;background:var(--green-soft);color:var(--green)}.customer-create-title h2{margin:0 0 6px}.customer-create-title p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}.customer-code-hint{padding:8px 12px;background:var(--wash);border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--muted);white-space:nowrap}.customer-create-fields{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px;gap:24px;margin:24px 0;padding:0;border:0;min-width:0}.customer-create-fields label{display:block;min-width:0;font-size:14px;font-weight:650}.customer-create-fields input,.customer-create-fields textarea{display:block;width:100%;margin-top:9px;padding:12px 14px;border:1px solid #cad4cf;border-radius:10px;background:var(--paper);color:var(--ink);font:inherit;font-weight:400}.customer-create-fields textarea{resize:vertical;min-height:100px}.customer-create-fields input:focus,.customer-create-fields textarea:focus{outline:2px solid #7fbaa5;outline-offset:1px;border-color:var(--green)}.customer-create-notes{grid-column:1/-1}.customer-create-notes small{display:block;text-align:right;margin-top:7px}.customer-create-notes small,.customer-optional{font-size:12px;color:var(--muted);font-weight:400}.customer-optional{margin-left:8px}.customer-required{color:var(--red)}.customer-create-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;border-top:1px solid var(--line)}.customer-create-footer p{margin:0;font-size:13px;color:var(--muted)}@media(max-width:700px){.customer-create{padding:20px}.customer-create-header{align-items:flex-start;flex-direction:column;gap:14px}.customer-create-fields{grid-template-columns:1fr;gap:20px}.customer-create-footer{align-items:stretch;flex-direction:column}.customer-create-footer button{width:100%}.customer-optional{display:block;margin:5px 0 0}}.back-link{display:inline-flex;align-items:center;gap:10px;flex-shrink:0;max-width:100%;min-height:44px;padding:8px 16px 8px 8px;border:1px solid #cdded5;border-radius:12px;background:var(--paper);color:var(--green);text-decoration:none;font-size:14px;font-weight:650;line-height:1.4;box-shadow:0 2px 5px #17201d05;transition:background .18s,border-color .18s,box-shadow .18s}.back-link-icon{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:8px;background:var(--green-soft);transition:transform .18s}.back-link:hover{background:#f0f8f4;border-color:#8ebca7;box-shadow:0 4px 12px #0e6b4f12}.back-link:hover .back-link-icon{transform:translateX(-2px)}.back-link:focus-visible{outline:3px solid #7fbaa5;outline-offset:3px}.back-link:active{background:#e3f1e9}@media(max-width:540px){.topbar:has(>.back-link){flex-wrap:wrap}.back-link{font-size:13px}}@media(prefers-reduced-motion:reduce){.back-link,.back-link-icon{transition:none}.back-link:hover .back-link-icon{transform:none}}.table-export-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:var(--paper);border-bottom:1px solid var(--line);position:-webkit-sticky;position:sticky;left:0}.table-export-toolbar>span{color:var(--muted);font-size:12px}.table-export-toolbar button:disabled{opacity:.6;cursor:wait}@media(max-width:540px){.table-export-toolbar{align-items:flex-start;flex-direction:column;gap:8px}}.dashboard-filter{display:flex;justify-content:space-between;gap:24px;align-items:center}.dashboard-filter h2{margin-top:6px}.dashboard-filter p{margin-bottom:0}.dashboard-filter-form{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.dashboard-filter-form label{display:grid;grid-gap:8px;gap:8px;font-size:13px;font-weight:650}.dashboard-filter-form input,.dashboard-filter-form select{font:inherit;padding:11px 12px;border:1px solid #cad4cf;border-radius:10px;background:white;min-height:44px}.dashboard-period{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 16px}.dashboard-period h2{margin:0;font-size:21px}.dashboard-period span{color:var(--muted);font-size:14px}.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:16px;gap:16px}.dashboard-stats article{padding:22px;border-radius:16px;background:white;min-width:0;border:1px solid var(--line);border-top:4px solid var(--green)}.dashboard-stats article>span{font-size:14px;font-weight:650}.dashboard-stats strong{display:block;font-size:clamp(21px,2.1vw,30px);margin:18px 0 12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.dashboard-stats small{font-size:14px;font-weight:500}.dashboard-stats p{margin:0;font-size:12px;color:var(--muted);line-height:1.6}.dashboard-stats .stat-in{background:var(--green-soft);color:var(--green)}.dashboard-stats .stat-out{border-top-color:var(--red)}.dashboard-stats .stat-net{background:#eef3fa;border-top-color:#396197}.dashboard-stats .stat-review{background:var(--amber-soft);border-top-color:var(--amber);color:var(--amber)}.dashboard-comparison{padding:20px}.dashboard-comparison summary{cursor:pointer;font-weight:650}.dashboard-comparison .summary-grid{margin-bottom:0}@media(max-width:1100px){.dashboard-filter{align-items:stretch;flex-direction:column}.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.dashboard-filter-form,.dashboard-stats{grid-template-columns:1fr}.dashboard-filter-form{display:grid;width:100%}.dashboard-filter-form input,.dashboard-filter-form select{width:100%;min-width:0}.dashboard-period{align-items:flex-start;flex-direction:column}}.debt-overview{margin:24px 0 28px}.debt-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.debt-overview-heading h2{margin:6px 0 0;font-size:22px}.debt-customer-count{background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:8px 14px;color:var(--muted);font-size:13px;white-space:nowrap}.debt-primary-stats,.debt-secondary-stats{display:grid;grid-gap:16px;gap:16px}.debt-primary-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.debt-secondary-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.debt-stat{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 4px 18px #24372e05}.debt-stat-label{display:flex;align-items:center;gap:10px}.debt-stat h3{font-size:14px;font-weight:650;margin:0}.debt-stat-icon{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:10px;background:var(--wash);font-size:20px;font-weight:700}.debt-stat strong{display:block;font-size:clamp(23px,2.4vw,32px);font-weight:750;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;letter-spacing:-.025em;margin:18px 0 12px;overflow-wrap:anywhere}.debt-primary-stats strong{font-size:clamp(28px,3.2vw,42px)}.debt-stat strong small{font-size:14px;font-weight:500;letter-spacing:0}.debt-stat p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.debt-stat-owed{background:var(--red-soft);border-color:#efd0cd}.debt-stat-owed .debt-stat-label,.debt-stat-owed strong{color:var(--red)}.debt-stat-surplus{background:var(--green-soft);border-color:#cce8db}.debt-stat-surplus .debt-stat-label,.debt-stat-surplus strong{color:var(--green)}.debt-stat-owed .debt-stat-icon,.debt-stat-surplus .debt-stat-icon{background:#ffffffa6}.debt-stat-review .debt-stat-icon{background:var(--amber-soft);color:var(--amber)}.debt-stat-review strong{color:var(--amber)}.debt-overview-note{font-size:13px;line-height:1.7;color:var(--muted);margin:16px 0 0;max-width:900px}@media(max-width:900px){.debt-secondary-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.debt-stat-review{grid-column:1/-1}}@media(max-width:600px){.debt-overview-heading{align-items:flex-start;flex-direction:column}.debt-primary-stats,.debt-secondary-stats{grid-template-columns:1fr}.debt-stat{padding:20px}.debt-stat strong{font-size:28px}.debt-overview-heading h2{font-size:20px}}.review-transactions-link{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:10px 12px;border:1px solid #d9b86a;border-radius:9px;background:#fffaf0;color:var(--amber);font-size:13px;font-weight:700;text-decoration:none;min-height:44px;line-height:1.4}.review-transactions-link:hover{background:#ffedbc;border-color:var(--amber)}.review-transactions-link:focus-visible{outline:3px solid var(--amber);outline-offset:3px}.review-transactions-link:disabled{opacity:.55;cursor:not-allowed}.review-transactions-modal{width:min(1080px,100%)}.review-transactions-body{padding:0}.review-transactions-list{display:grid}.review-transaction-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr);grid-gap:24px;gap:24px;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line)}.review-transaction-row:nth-child(2n){background:#fafcfb}.review-transaction-main{min-width:0}.review-transaction-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.review-transaction-title strong{font-size:15px}.review-transaction-title span{color:var(--muted);font-size:12px}.review-transaction-main p{margin:8px 0 5px;line-height:1.5;overflow-wrap:anywhere}.review-transaction-main small{color:var(--muted);line-height:1.5}.review-transaction-reason{width:max-content;max-width:100%;margin-top:10px;padding:6px 9px;border-radius:8px;background:var(--amber-soft);color:var(--amber);font-size:12px;font-weight:700;overflow-wrap:anywhere}.review-transaction-row label{display:grid;grid-gap:8px;gap:8px;font-size:13px;font-weight:700}.review-transaction-row select{width:100%;min-width:0;padding:11px 12px;border:1px solid #cad4cf;border-radius:10px;background:white;font:inherit}.review-transaction-row select:focus{outline:2px solid #7fbaa5;border-color:transparent}.review-transactions-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-top:1px solid var(--line);background:#f8fbf9}.review-transactions-footer>span{color:var(--muted);font-size:13px}.review-transactions-footer>div{display:flex;gap:10px}.review-transactions-error{margin:16px 24px}.review-transactions-empty{display:grid;justify-items:center;padding:48px 24px;text-align:center}.review-transactions-empty>span{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--green-soft);color:var(--green);font-size:26px;font-weight:800}.review-transactions-empty h3{margin:16px 0 6px}.review-transactions-empty p{margin:0;color:var(--muted)}@media(max-width:700px){.review-transaction-row{grid-template-columns:1fr;gap:16px;padding:18px 16px}.review-transactions-footer{align-items:stretch;flex-direction:column;padding:16px}.review-transactions-footer>div{display:grid;grid-template-columns:1fr 1fr}.review-transactions-footer button{width:100%}}.classification-categories{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.classification-categories a{color:var(--green);text-decoration:none;overflow-wrap:anywhere;max-width:100%}.classification-categories a[aria-current=page]{background:var(--green-soft);border-color:var(--green)}.classification-control{white-space:normal;min-width:110px}.classification-form{display:grid;grid-gap:12px;gap:12px;min-width:260px;max-width:340px;margin-top:12px}.classification-form label{display:grid;grid-gap:6px;gap:6px;font-weight:650;font-size:13px}.classification-form input,.classification-form select{font:inherit;width:100%;padding:10px;border:1px solid #cad4cf;border-radius:8px;background:white}.classification-control .error{max-width:320px}.stack input[type=search],input[type=search]{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-height:46px;min-width:0;max-width:100%;width:320px;padding:12px 14px 12px 43px;border:1px solid #cfddd5;border-radius:12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%2366726d' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E") no-repeat 15px;color:var(--ink);font:inherit;font-size:14px;box-shadow:0 2px 5px #17201d04;transition:border-color .15s,box-shadow .15s}input[type=search]::placeholder{color:#7e8983}input[type=search]:hover{border-color:#9bb8a8}.stack input[type=search]:focus,input[type=search]:focus{outline:0;border-color:var(--green);box-shadow:0 0 0 3px #0e6b4f18}.search-actions{gap:10px}.search-actions input[type=search]{flex:1 1;width:auto;min-width:200px}.search-actions button{min-height:46px}.assignment-picker{gap:10px}.panel-heading:has(input[type=search]){flex-wrap:wrap;gap:16px}.upload-actions:has(input[type=search]) select{font:inherit;padding:11px 12px;border:1px solid #cfddd5;border-radius:10px;background:white;min-height:46px;max-width:100%}.report-upload{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);align-items:center;grid-gap:28px;gap:28px;padding:28px}.report-upload-heading{display:flex;align-items:flex-start;gap:16px}.report-file-icon{display:grid;place-items:center;flex-shrink:0;width:54px;height:54px;border-radius:15px;background:var(--green-soft);color:var(--green)}.report-upload-heading p:last-child{font-size:14px;line-height:1.6;margin-bottom:0}.report-upload-controls{min-width:0}.report-file-picker{position:relative;display:flex;align-items:center;gap:16px;padding:20px;border:1.5px dashed #a9c9b9;border-radius:14px;background:#f8fcfa;cursor:pointer;min-width:0}.report-file-picker:hover{border-color:var(--green);background:var(--green-soft)}.report-file-picker:focus-within{outline:3px solid #7fbaa5;outline-offset:3px}.report-file-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.report-pick-button{padding:10px 14px;border:1px solid #cdded5;border-radius:9px;background:white;color:var(--green);font-weight:700;font-size:13px;flex-shrink:0}.report-file-description{display:grid;grid-gap:6px;gap:6px;min-width:0}.report-file-description strong{font-size:14px;overflow-wrap:anywhere}.report-file-description small{font-size:12px;color:var(--muted)}.report-upload-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.report-upload-footer>span{font-size:12px;line-height:1.5}.report-upload-message{grid-column:1/-1;margin:0;padding:12px 16px;border-radius:10px;background:var(--wash);font-size:14px}.report-file-picker.is-disabled{opacity:.6;pointer-events:none}@media(max-width:900px){.report-upload{grid-template-columns:1fr}}@media(max-width:540px){.stack input[type=search],input[type=search]{width:100%}.search-actions input[type=search]{flex-basis:100%;min-width:0}.report-upload{padding:20px;gap:20px}.report-file-picker{flex-direction:column;align-items:flex-start;padding:16px}.report-upload-footer{flex-direction:column;align-items:stretch}.panel-heading>.upload-actions,.report-upload-footer button{width:100%}}.airline-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:18px;gap:18px;margin:18px 0}.airline-stat{padding:24px;background:white;border-radius:18px;border:1px solid var(--line);border-top:4px solid #096880;min-width:0}.airline-VJ{border-top-color:#dc2626}.airline-9G{border-top-color:#bc8c3c}.airline-logo{height:64px;display:flex;align-items:center;margin-bottom:20px}.airline-logo img{object-fit:contain;object-position:left center}.airline-stat h2{font-size:16px;margin:0}.airline-stat strong{font-size:clamp(24px,2.5vw,34px);display:block;margin:18px 0 12px;overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.airline-stat small{font-size:16px}.airline-stat p{color:var(--muted);font-size:13px;margin:0}@media(max-width:800px){.airline-stats{grid-template-columns:1fr}}.airline-logo{padding:12px 16px;border-radius:12px;background:#f7f9f8;height:84px}.airline-VN .airline-logo{background:#00667c}.airline-9G .airline-logo{background:#861d2c}.airline-logo img{height:56px;max-width:100%}.customer-balance{padding:26px;margin-bottom:24px}.customer-balance-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.customer-balance-heading h2{margin:6px 0 0;font-size:22px;overflow-wrap:anywhere}.customer-balance-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.customer-balance-actions>span{padding:8px 12px;border-radius:999px;background:var(--wash);color:var(--muted);font-size:13px;flex-shrink:0}.customer-balance-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.customer-balance-primary article{padding:22px;border-radius:14px;border:1px solid var(--line);min-width:0}.customer-balance-primary span{font-size:14px;font-weight:650}.customer-balance-primary strong{display:block;margin:12px 0;font-size:clamp(26px,3vw,38px);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.customer-balance-primary small{font-size:13px;line-height:1.5;color:var(--muted)}.customer-balance-debt{background:var(--red-soft);color:var(--red)}.customer-balance-credit{background:var(--green-soft);color:var(--green)}.customer-balance-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:20px;gap:20px;margin:24px 0}.customer-balance-details>div{min-width:0}.customer-balance-details dt{font-size:13px;color:var(--muted);margin-bottom:9px}.customer-balance-details dd{margin:0;font-size:20px;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.customer-balance-note{padding:14px 16px;border-radius:10px;background:var(--wash);font-size:13px;line-height:1.7;color:var(--muted);margin:0}.customer-balance-export{margin-top:16px}.customer-balance-export summary{cursor:pointer;color:var(--green);font-size:13px;font-weight:650;padding:8px 0}.customer-balance-export summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}@media(max-width:800px){.customer-balance-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.customer-balance{padding:18px}.customer-balance-heading{align-items:flex-start;flex-direction:column}.customer-balance-actions{align-items:stretch;flex-direction:column;width:100%}.customer-balance-actions .ghost{width:100%}.customer-balance-heading h2{font-size:20px}.customer-balance-primary{grid-template-columns:1fr}.customer-balance-details{gap:20px 12px}.customer-balance-details dd{font-size:17px}}.table-wrap:has(>.exportable-table){overflow:visible;max-height:none;min-width:0}.exportable-table{min-width:0;width:100%;background:var(--paper)}.exportable-table .table-export-toolbar{position:static;padding:14px 20px;background:#f8fbf9}.paginated-table-scroll{overflow:auto;max-height:660px;scrollbar-width:thin;scrollbar-color:#b6c9be #f5f8f6}.paginated-table-scroll:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.exportable-table table{font-size:13px}.exportable-table th{padding:15px 18px;background:#edf4ef;color:#40584b;font-size:11px;line-height:1.5;z-index:1;border-bottom:1px solid #cdded3}.exportable-table td{padding:15px 18px;line-height:1.6;vertical-align:top;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.exportable-table tbody tr:nth-child(2n){background:#fafcfb}.exportable-table tbody tr:hover{background:#f0f7f3}.exportable-table tr[hidden]{display:none}.exportable-table td .ghost{padding:8px 12px;background:white;font-size:12px}.table-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 20px;border-top:1px solid var(--line);background:#fbfdfc}.table-pagination>span{font-size:13px;color:var(--muted)}.table-page-item,.table-pagination nav{display:flex;align-items:center;gap:6px}.table-pagination button{min-width:38px;min-height:38px;padding:8px 11px;background:white;border:1px solid var(--line);border-radius:9px;color:var(--ink);font-size:13px;font-weight:650}.table-pagination button:hover:not(:disabled){background:var(--green-soft);border-color:#9fc6b2}.table-pagination button[aria-current=page]{background:var(--green);border-color:var(--green);color:white}.table-pagination button:disabled{opacity:.4;cursor:not-allowed}.table-pagination button:focus-visible{outline:3px solid #7fbaa5;outline-offset:2px}.table-page-gap{padding:0 3px;color:var(--muted)}.table-empty{padding:24px;text-align:center;color:var(--muted);font-size:14px}@media(max-width:540px){.table-pagination{padding:14px 12px;gap:12px;flex-direction:column;align-items:flex-start}.table-pagination nav{flex-wrap:wrap}.exportable-table .table-export-toolbar{flex-direction:row;align-items:center;padding:12px}.exportable-table td,.exportable-table th{padding:12px}.table-pagination button{min-width:36px;padding:8px}}.service-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px;border:0;padding:0;margin:0;min-width:0}.service-fields label{display:grid;grid-gap:8px;gap:8px;font-size:13px;font-weight:650;min-width:0}.service-fields input,.service-fields select,.service-fields textarea{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:white;font:inherit}.service-fields .service-full{grid-column:1/-1}.service-profit{padding:12px;border-radius:10px;background:var(--green-soft);font-weight:700}.profit-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px;margin:24px 0}.profit-stats article{background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.profit-stats strong{display:block;font-size:28px;margin-top:16px;overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media(max-width:650px){.profit-stats,.service-fields{grid-template-columns:1fr}}.profit-filter>h2{margin-bottom:20px}.profit-filter-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);grid-gap:24px;gap:24px;align-items:start}.profit-filter-column{display:grid;grid-gap:16px;gap:16px;min-width:0}.profit-filter-column>label{display:grid;grid-gap:8px;gap:8px;font-size:13px;font-weight:650}.profit-filter-column input:not([type=checkbox]),.profit-filter-column select{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:white;font:inherit}.profit-kind-filter{margin:0;padding:0;border:0}.profit-kind-filter legend{margin-bottom:8px;font-size:13px;font-weight:700}.profit-kind-options{display:grid;grid-gap:10px;gap:10px}.profit-kind-options label{display:flex;align-items:center;gap:11px;min-height:46px;padding:10px 13px;border:1px solid var(--line);border-radius:11px;background:#fff;cursor:pointer;font-size:14px;font-weight:650;transition:border-color .15s ease,background .15s ease}.profit-kind-options label:hover{border-color:#8eaaa0}.profit-kind-options label.selected{border-color:var(--green);background:var(--green-soft);color:var(--green)}.profit-kind-options input{width:18px;height:18px;margin:0;accent-color:var(--green);flex:0 0 auto}.profit-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.profit-date-range label{display:grid;grid-gap:8px;gap:8px;font-size:13px;font-weight:650}.profit-filter-notes{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.profit-filter-notes p{margin:0}.profit-filter-notes p+p{margin-top:5px}@media(max-width:720px){.profit-date-range,.profit-filter-layout{grid-template-columns:1fr}}.dashboard-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-greeting{margin:0 0 8px;color:var(--green);font-size:16px;font-weight:650;overflow-wrap:anywhere}.dashboard-header{gap:24px}.dashboard-header>div:first-child{min-width:0}.dashboard-header .user-area{flex-shrink:0;flex-wrap:wrap}.account-link{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:var(--green);background:white;min-height:44px}.account-link:hover{background:var(--green-soft)}.account-link:focus-visible{outline:3px solid #7fbaa5;outline-offset:3px}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:20px;gap:20px}.account-grid .panel{margin-top:0}.account-grid .stack input{width:100%;min-width:0}.account-message{padding:14px 18px;background:var(--green-soft);border-radius:12px;color:var(--green);line-height:1.6}@media(max-width:900px){.dashboard-header{flex-wrap:wrap}.dashboard-header .user-area{gap:10px}}@media(max-width:600px){.account-grid{grid-template-columns:1fr}.dashboard-module-grid{gap:10px}.dashboard-module-grid .module-card{padding:16px;flex-direction:column;align-items:flex-start;gap:12px}.dashboard-module-grid .module-card strong{font-size:17px}.dashboard-module-grid .module-card>span:last-child{display:none}.dashboard-header .user-area{font-size:13px}.dashboard-greeting{font-size:14px}}.services-menu{grid-template-columns:minmax(0,1fr);gap:16px}.services-menu .module-card{padding:26px 28px;gap:22px}.services-menu .module-icon{width:68px;height:68px;border-radius:18px}.services-menu .module-icon svg{width:34px;height:34px}.services-menu .services-icon-categories{background:#eaf0fc;color:#426bb0}.services-menu .services-icon-other{background:#fff1db;color:#a46816}.services-menu .services-icon-profit{background:var(--green-soft);color:var(--green)}.services-menu-text{flex:1 1;min-width:0}.services-menu-text small,.services-menu-text strong{overflow-wrap:anywhere}.services-menu-arrow{color:var(--green);font-size:24px;flex-shrink:0}@media(max-width:540px){.services-menu .module-card{padding:18px 16px;gap:14px}.services-menu .module-icon{width:52px;height:52px;border-radius:14px}.services-menu .module-icon svg{width:28px;height:28px}.services-menu-text strong{font-size:18px}.services-menu-text small{font-size:13px;line-height:1.6}}.service-payment-choice{border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-wrap:wrap;gap:16px}.service-payment-choice legend{font-weight:650;font-size:14px;padding:0 6px}.service-fields .service-payment-choice label{display:flex;align-items:center;gap:8px;cursor:pointer}.service-fields .service-payment-choice input{width:auto;accent-color:var(--green)}.local-folder-card{max-width:760px;margin:48px auto;padding:32px;line-height:1.6}.local-folder-card h1{font-size:28px}.local-folder-card h2{font-size:18px}.local-folder-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:20px;border-bottom:1px solid var(--line)}.local-folder-heading h1{margin:5px 0 0}.local-folder-continue{display:grid;justify-items:end;grid-gap:7px;gap:7px;flex-shrink:0}.local-folder-continue small{max-width:260px;color:var(--muted);overflow-wrap:anywhere}.local-folder-continue button{white-space:nowrap}.local-new-data{margin-top:24px;padding:18px;background:var(--wash);border:1px solid var(--line);border-radius:12px}.local-new-data summary{cursor:pointer;font-weight:600}.local-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px;margin:24px 0}.local-choice-grid article{display:flex;align-items:flex-start;flex-direction:column;min-width:0;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--wash)}.local-choice-grid h2{margin:0 0 8px}.local-choice-grid p{flex:1 1;margin:0 0 18px;color:var(--muted);font-size:13px}.local-choice-grid button{width:100%}.local-data-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 24px;background:var(--green-soft);color:var(--green);font-size:13px;flex-wrap:wrap}.local-data-bar strong{overflow-wrap:anywhere}.local-data-bar a{color:inherit;font-weight:600}.local-resume-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.local-resume-message{display:flex;align-items:center;gap:16px;max-width:460px;padding:20px 24px;border:1px solid var(--line);border-radius:16px;background:var(--paper);box-shadow:0 14px 42px #17201d14}.local-resume-message>div{display:grid;grid-gap:4px;gap:4px}.local-resume-message strong{color:var(--green);font-size:16px}.local-resume-message small{color:var(--muted)}.local-resume-spinner{width:28px;height:28px;flex:0 0 28px;border:3px solid #cce8db;border-top:3px solid var(--green);border-radius:50%;animation:local-resume-spin .75s linear infinite}@keyframes local-resume-spin{to{transform:rotate(1turn)}}.data-loading-shell{min-height:calc(100vh - 64px);display:grid;place-items:center;padding:32px}.data-loading-card{display:flex;align-items:center;gap:18px;min-width:min(380px,100%);padding:22px 26px;border:1px solid #cde1d7;border-radius:18px;background:linear-gradient(145deg,#fff,#f3faf6);box-shadow:0 18px 50px #173c2b17}.data-loading-card>div{display:grid;grid-gap:5px;gap:5px}.data-loading-card strong{color:var(--green);font-size:17px}.data-loading-card small{color:var(--muted)}.data-loading-spinner{width:34px;height:34px;flex:0 0 34px;border-left:4px solid #cce8db;border-bottom:4px solid #cce8db;border-right:4px solid #cce8db;border-right-color:var(--green);border-top:4px solid #cce8db;border-top-color:var(--green);border-radius:50%;animation:local-resume-spin .7s linear infinite}.local-busy-message{display:flex;align-items:center;gap:13px;margin-top:20px;padding:14px 16px;border:1px solid #cde1d7;border-radius:12px;background:var(--green-soft)}.local-busy-message>span:last-child{display:grid;grid-gap:3px;gap:3px}.local-busy-message strong{color:var(--green)}.local-busy-message small{color:var(--muted)}@media(max-width:760px){.local-choice-grid{grid-template-columns:1fr}.local-folder-heading{align-items:stretch;flex-direction:column}.local-folder-continue{justify-items:stretch}.local-folder-continue button{width:100%;white-space:normal}}@media(max-width:540px){.local-folder-card{padding:20px;margin:20px auto}.local-folder-card .upload-actions{align-items:stretch;flex-direction:column}}.debt-assignment>p{margin:8px 0 0;line-height:1.6}.debt-assignment form{margin-top:24px}.debt-assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:24px;gap:24px;align-items:start}.debt-assignment-grid .assignment-picker{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--wash)}.debt-assignment-grid input[type=search]{width:100%}.debt-assignment-owner{margin-top:16px;padding:14px 16px;border:1px solid #e5cb8a;border-radius:12px;background:var(--amber-soft);color:var(--amber);line-height:1.6}.debt-assignment-owner a{color:inherit;font-weight:750}.debt-assignment-owner p{margin:6px 0 0}.debt-assignment-owner-change{border-color:#e3b3ae;background:var(--red-soft);color:var(--red)}.debt-assignment-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.debt-assignment-footer>div{display:flex;align-items:center;gap:14px;min-width:0;flex-wrap:wrap}.debt-assignment-footer strong{font-size:20px;color:var(--green);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.debt-assignment-footer a{color:var(--green);font-size:13px;font-weight:650}.debt-assignment-footer button{min-width:130px}.debt-assignment>.error{margin:18px 0 0}@media(max-width:760px){.debt-assignment-grid{grid-template-columns:1fr}.debt-assignment-footer{align-items:stretch;flex-direction:column}.debt-assignment-footer button{width:100%}}.debt-transfer-heading label{display:grid;grid-gap:7px;gap:7px;font-size:13px;font-weight:700}.debt-transfer-heading p{margin:5px 0 0}.debt-transfer-heading select{min-width:230px}@media(max-width:650px){.debt-transfer-heading{align-items:stretch;flex-direction:column}.debt-transfer-heading select{width:100%;min-width:0}}.ticket-assignment-footer>div{flex:1 1}.ticket-sale-field{display:grid;grid-gap:7px;gap:7px;min-width:min(280px,100%);font-size:13px;font-weight:700}.ticket-sale-field input{width:100%;padding:11px 12px;border:1px solid #cad4cf;border-radius:10px;background:white;font:inherit}.ticket-sale-field input:focus{outline:2px solid #7fbaa5;border-color:transparent}.airline-identification-action{margin-top:14px}.airline-identification-button{width:100%;min-height:52px;border-color:#a9c9b9;background:white;color:var(--green);font-size:15px}.airline-identification-panel{margin-top:12px}.airline-prefix-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px;padding:20px 24px}.airline-prefix-grid article{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--wash)}.airline-prefix-grid article>div:first-child{display:grid;grid-gap:6px;gap:6px;min-width:0}.airline-prefix-code{width:max-content;padding:5px 9px;border-radius:8px;background:var(--green-soft);color:var(--green);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800}.airline-prefix-grid small{color:var(--muted);overflow-wrap:anywhere}.airline-saved-prefixes{margin:0 24px 24px;border-top:1px solid var(--line);padding-top:18px}.airline-saved-prefixes summary{cursor:pointer;font-weight:700;color:var(--green)}.airline-saved-prefixes .airline-prefix-grid{padding:16px 0 0}@media(max-width:760px){.ticket-assignment-footer>div{align-items:stretch;flex-direction:column}.ticket-sale-field{width:100%}.airline-prefix-grid{grid-template-columns:1fr;padding:16px}.airline-prefix-grid article{align-items:stretch;flex-direction:column}.airline-saved-prefixes{margin:0 16px 16px}}.customer-action-card{width:100%;text-align:left;font:inherit;cursor:pointer}.customer-modal-backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px;background:#17201d99;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.customer-modal{width:min(900px,100%);max-height:calc(100vh - 48px);display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:0 28px 90px #17201d4d;overflow:hidden}.customer-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--line);background:#f8fbf9}.customer-modal-header h2{margin:4px 0;font-size:24px}.customer-modal-header p:last-child{margin:0}.customer-modal-close{width:42px;height:42px;padding:0;font-size:26px;line-height:1}.customer-modal-body{padding:24px;overflow:auto;overscroll-behavior:contain}.customer-modal-form{margin:0}.customer-modal-form.payment-form{padding:0}.customer-modal-form>h3{margin-top:0}.customer-modal-embedded>.panel{margin:0;border:0;box-shadow:none}.customer-modal-embedded>.panel.payment-form{padding:0}.customer-profile-panel .customer-profile-details{grid-template-columns:repeat(3,minmax(0,1fr));padding:18px;border-radius:12px;background:var(--wash)}.customer-profile-panel .stack{padding-top:20px;border-top:1px solid var(--line)}@media(max-width:700px){.customer-modal-backdrop{padding:10px}.customer-modal{max-height:calc(100vh - 20px);border-radius:14px}.customer-modal-body,.customer-modal-header{padding:16px}.customer-profile-panel .customer-profile-details{grid-template-columns:1fr}.customer-profile-panel .customer-profile-heading{align-items:flex-start;flex-direction:column}}.customer-ticket-popup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:20px;gap:20px;align-items:start}.customer-ticket-popup-grid>.assignment-picker{height:100%;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--wash)}.customer-ticket-popup-grid input[type=search],.customer-ticket-popup-grid select{width:100%}.customer-fixed-picker{align-content:start}.customer-fixed-label{font-size:13px;font-weight:700}.customer-fixed-selection{display:flex;align-items:center;gap:12px;min-height:48px;padding:11px 13px;border:1px solid #a9c9b9;border-radius:10px;background:white;color:var(--ink)}.customer-fixed-selection>span:last-child{display:grid;grid-gap:4px;gap:4px;min-width:0}.customer-fixed-selection small,.customer-fixed-selection strong{overflow-wrap:anywhere}.customer-fixed-selection small{color:var(--muted);font-weight:400}.customer-fixed-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--green-soft);color:var(--green);font-weight:800}.customer-ticket-cost{margin:18px 0 0;padding:12px 14px;border-radius:10px;background:var(--wash)}.customer-ticket-popup-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.customer-ticket-popup-footer label{display:grid;grid-gap:8px;gap:8px;flex:1 1;font-size:13px;font-weight:700}.customer-ticket-popup-footer input{width:100%;padding:12px;border:1px solid #cad4cf;border-radius:10px;background:white;font:inherit}.customer-ticket-popup-footer button{min-height:46px}@media(max-width:700px){.customer-ticket-popup-grid{grid-template-columns:1fr}.customer-ticket-popup-footer{align-items:stretch;flex-direction:column}.customer-ticket-popup-footer button{width:100%}}.admin-shell{max-width:1500px}.admin-header{align-items:flex-start}.admin-alert{padding:14px 18px;border:1px solid #efd0cd;border-radius:12px;background:var(--red-soft)}.admin-create-form{display:grid;grid-template-columns:1.2fr 1fr 1.2fr auto;grid-gap:14px;gap:14px;align-items:end;padding:22px 24px}.admin-create-form label,.admin-tier-field{display:grid;grid-gap:7px;gap:7px;min-width:0;font-size:13px;font-weight:700}.admin-create-form input,.admin-list-heading input{width:100%;min-width:0;padding:12px;border:1px solid #cad4cf;border-radius:10px;background:white}.admin-create-form input:focus,.admin-list-heading input:focus{outline:2px solid #7fbaa5;border-color:transparent}.admin-list-heading>div p{margin:5px 0 0}.admin-list-heading input{width:min(340px,100%)}.admin-row-actions{display:flex;align-items:center;gap:8px}.admin-row-actions button{padding:8px 11px;white-space:nowrap}.danger-button{color:var(--red);border-color:#e6c3c0}.danger-button:hover{background:var(--red-soft)}.admin-password-modal{width:min(520px,100%)}.admin-password-modal .stack{margin:0}.admin-password-modal .primary{justify-self:start}.admin-tier-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.admin-tier-picker>button{display:flex;align-items:center;gap:9px;min-width:0;min-height:47px;padding:8px 11px;border:1px solid #cad4cf;border-radius:10px;background:#fff;color:var(--muted);font:inherit;text-align:left}.admin-tier-picker>button>span:last-child{display:grid;min-width:0}.admin-tier-picker strong{color:inherit;font-size:13px}.admin-tier-picker small{font-size:10px;font-weight:500;white-space:nowrap}.admin-tier-picker>button:hover:not(:disabled){border-color:#7fbaa5;background:var(--green-soft)}.admin-tier-picker>button.active{border-color:var(--green);background:var(--green-soft);color:var(--green);box-shadow:inset 0 0 0 1px #0e6b4f1c}.admin-tier-picker>button.active.premium{border-color:#d5a83f;background:#fff0b8;color:#7d5400}.admin-tier-icon{width:17px;text-align:center}.admin-tier-picker.compact{min-width:230px}.admin-tier-picker.compact>button{min-height:38px;padding:7px 10px;justify-content:center}.admin-premium-row>td{background:#fff8dc;border-bottom-color:#eadba5}.admin-premium-row>td:first-child{box-shadow:inset 4px 0 #d4a72c}.admin-tier-modal{width:min(560px,100%)}.admin-tier-confirm{display:grid;grid-gap:18px;gap:18px}.admin-tier-confirm p{margin:0;line-height:1.6}.admin-tier-change-preview{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;grid-gap:12px;gap:12px}.admin-tier-change-preview span{padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--wash);font-weight:800;text-align:center}.admin-tier-change-preview span.premium{border-color:#e1c05e;background:#fff4c9;color:#7d5400}.admin-tier-change-preview b{color:var(--muted);font-size:20px}.admin-tier-confirm-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}@media(max-width:980px){.admin-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-create-form button{min-height:45px}.admin-row-actions{align-items:stretch;flex-direction:column}}@media(max-width:620px){.admin-create-form{grid-template-columns:1fr}.admin-list-heading{align-items:stretch;flex-direction:column}.admin-list-heading input,.admin-password-modal .primary{width:100%}.admin-tier-picker.compact{min-width:200px}.admin-tier-confirm-actions{flex-direction:column-reverse}.admin-tier-confirm-actions button{width:100%}}.login-logo{display:block;width:112px;height:auto;margin-bottom:22px}.login-card h1{font-size:32px;line-height:1.14}.login-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.login-actions button{min-height:46px}.login-notice{margin:0;padding:12px 14px;border:1px solid #b9dcc9;border-radius:10px;background:var(--green-soft);color:var(--green);font-size:13px;font-weight:650;line-height:1.55}@media(max-width:440px){.login-actions{grid-template-columns:1fr}}.forgot-password-modal{width:min(500px,100%)}.forgot-password-modal .stack{margin:0}.forgot-password-modal .login-actions{margin-top:2px}.admin-create-form{grid-template-columns:repeat(4,minmax(0,1fr)) auto}@media(max-width:980px){.admin-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.admin-create-form{grid-template-columns:1fr}}.premium-transfer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px;margin-top:20px}.premium-transfer-grid article{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fafcfb}.premium-transfer-grid h3,.premium-transfer-grid p{margin:0}.premium-import-review{display:grid;grid-gap:10px;gap:10px;width:100%;padding-top:12px;border-top:1px solid var(--line)}.premium-import-review small{color:var(--muted);overflow-wrap:anywhere}.premium-import-review label{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.5}.premium-import-review input{margin-top:3px;flex-shrink:0}@media(max-width:700px){.premium-transfer-grid{grid-template-columns:1fr}}.account-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.premium-member-button{display:flex;align-items:center;gap:10px;min-height:44px;padding:7px 14px 7px 8px;border:1px solid #e0bc55;border-radius:12px;background:linear-gradient(135deg,#fff8d9,#ffe9a0);color:#765000;box-shadow:0 8px 22px #b77b1924}.premium-member-button>span:last-child{display:grid;line-height:1.05}.premium-member-button small{font-size:9px;font-weight:800;letter-spacing:.12em}.premium-member-button strong{font-family:Georgia,serif;font-size:18px}.premium-member-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:linear-gradient(145deg,#d9a520,#9f6a05);color:#fff7d3;box-shadow:inset 0 1px #ffffff73}.premium-member-banner{position:relative;isolation:isolate;display:flex;align-items:center;gap:20px;margin:0 0 24px;padding:24px 28px;overflow:hidden;border:1px solid #e3bf58;border-radius:20px;background:linear-gradient(120deg,#fff9df,#ffe89a 58%,#f7ce58);color:#634300;box-shadow:0 15px 42px #9b6a1524}.premium-member-banner .eyebrow{color:#8b6009}.premium-member-banner h2{margin:4px 0 5px;font-family:Georgia,serif;font-size:25px}.premium-member-banner p:last-child{margin:0;color:#785b20}.premium-member-emblem{display:grid;place-items:center;flex:0 0 66px;width:66px;height:66px;border:1px solid #f7db82;border-radius:20px;background:linear-gradient(145deg,#c89516,#805000);color:#fff6c9;font-size:31px;box-shadow:0 10px 24px #83550b42,inset 0 1px #fff6}.premium-member-shine{position:absolute;z-index:-1;right:-35px;top:-65px;width:210px;height:210px;border-radius:50%;background:#fff8c766;box-shadow:0 0 0 38px #fff3ab35}.account-page-header{gap:20px}@media(max-width:650px){.account-page-header{align-items:stretch;flex-direction:column}.account-header-actions{justify-content:space-between}.premium-member-banner{align-items:flex-start;padding:20px}.premium-member-emblem{width:52px;height:52px;flex-basis:52px;border-radius:15px;font-size:24px}.premium-member-banner h2{font-size:21px}}@media(prefers-reduced-motion:reduce){.data-loading-spinner,.local-resume-spinner{animation-duration:1.5s}}.money-input{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:.015em}.services-menu .services-icon-invoices{background:#f3ecfb;color:#6b48a8}.invoice-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:0 24px 4px}.invoice-tab{padding:10px 18px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink);font:inherit;font-weight:600;cursor:pointer}.invoice-tab:focus-visible,.invoice-tab:hover{border-color:var(--green)}.invoice-tab.active{background:var(--green);border-color:var(--green);color:white}.invoice-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px;border:0;padding:0;margin:0;min-width:0}.invoice-full{grid-column:1/-1;margin:0}.invoice-fields>label{display:grid;grid-gap:8px;gap:8px;font-size:13px;font-weight:650;min-width:0}.invoice-fields>label>input,.invoice-fields>label>textarea{width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:white;font:inherit}.invoice-fields>label>input[aria-invalid=true]{border-color:var(--red)}.invoice-fields label small{display:block;font-size:12px;font-weight:400}.invoice-ticket{accent-color:var(--green)}.invoice-tickets .invoice-ticket{font-size:14px}.invoice-tickets{display:grid;grid-gap:8px;gap:8px;max-height:320px;overflow:auto;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--wash)}.invoice-tickets legend{padding:0 6px;font-weight:600}.invoice-ticket{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper);font-weight:400;cursor:pointer}.invoice-ticket input{width:18px;height:18px;flex-shrink:0}.invoice-ticket span{flex:1 1;min-width:0;overflow-wrap:anywhere}.invoice-ticket strong{white-space:nowrap}.invoice-ticket-all{background:transparent;border-style:dashed;font-weight:600}.invoice-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.invoice-footer p{margin:0;display:grid;grid-gap:2px;gap:2px}.invoice-footer p strong{font-size:24px;color:var(--green)}.invoice-remove .notice .upload-actions{margin-top:12px}.customer-modal-embedded>.invoice-manager .invoice-tabs,.customer-modal-embedded>.invoice-manager>.panel-heading,.customer-modal-embedded>.invoice-manager>.payment-form{padding-left:0;padding-right:0}@media(max-width:700px){.invoice-fields{grid-template-columns:1fr}.invoice-tabs{padding:0 16px 4px}.invoice-tab{flex:1 1 auto;text-align:center}.invoice-footer .primary{width:100%}.invoice-ticket{flex-wrap:wrap}}.payment-link-mode{padding:0;margin:4px 0 12px}.unlink-target{display:flex;flex-wrap:wrap;gap:18px;border:0;padding:0;margin:0}.unlink-target legend{font-size:13px;font-weight:650;margin-bottom:8px}.unlink-target label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500}.unlink-target input{accent-color:var(--green)}.invoice-editing{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid #f0d9a8;border-radius:12px;background:var(--amber-soft);color:var(--ink)}.unlink-source{white-space:normal;min-width:220px}.inline-sale-edit{display:flex;align-items:center;gap:6px;min-width:240px}.inline-sale-edit input{width:130px;padding:7px 9px;border:1px solid #cad4cf;border-radius:8px;font:inherit}.inline-sale-edit button{padding:7px 10px;white-space:nowrap}.intake-head h2{margin:0 0 6px}.intake-head p{margin:0;max-width:720px;line-height:1.5}.stat-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;margin:20px 0}.stat-strip article{display:grid;grid-gap:6px;gap:6px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--wash)}.stat-strip span{color:var(--muted);font-size:13px}.stat-strip strong{font-size:22px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.stat-strip .stat-highlight{background:var(--green-soft);border-color:#cce8db}.stat-strip .stat-highlight strong{color:var(--green)}.form-card{display:grid;max-width:none;margin:0;padding:22px;grid-gap:20px;gap:20px;border:1px solid var(--line);border-radius:16px;background:#fff}.form-card>h3{margin:0;font-size:17px}.form-section{display:grid;grid-gap:12px;gap:12px;min-width:0}.form-section+.form-section{padding-top:18px;border-top:1px dashed var(--line)}.form-section-title{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:750}.form-section-title b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--green-soft);color:var(--green);font-size:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;align-items:start}.form-grid.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.form-grid .form-grid-full{grid-column:1/-1}.form-grid label{display:grid;grid-gap:8px;gap:8px;margin:0;font-size:13px;font-weight:650;min-width:0}.form-grid input{width:100%;min-width:0}.field-hint{margin:0;padding:10px 12px;border-radius:10px;background:var(--wash);color:var(--muted);font-size:13px;line-height:1.5}.field-hint strong{color:var(--ink)}.segmented{display:flex;flex-wrap:wrap;gap:4px;width:-moz-fit-content;width:fit-content;max-width:100%;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--wash)}.segmented button{width:auto;min-height:0;padding:8px 14px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:13px;font-weight:700}.segmented button.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #17201d1f}.segmented button:disabled{cursor:not-allowed}.form-card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:18px;border-top:1px solid var(--line)}.form-card-footer>span{font-size:13px}.form-card-footer .primary{width:auto;min-width:180px;margin-left:auto}.form-card-footer .ghost{width:auto}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:28px 0 10px}.section-head h3{margin:0}.service-form{display:grid;grid-gap:20px;gap:20px}.service-form-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.service-form-head h3{margin:0}.service-customer-chip{padding:6px 12px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:13px}.profit-box{display:grid;grid-gap:8px;gap:8px;font-size:13px;font-weight:650}.profit-box output{padding:12px;border-radius:10px;background:var(--green-soft);color:var(--green);font-weight:800;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.profit-box output.loss{background:var(--red-soft);color:var(--red)}.choice-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.choice-card,.service-fields .choice-card{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;font-weight:400}.choice-card input{width:auto!important;margin:2px 0 0;accent-color:var(--green)}.choice-card span{display:grid;grid-gap:4px;gap:4px}.choice-card strong{font-size:14px}.choice-card small{color:var(--muted);font-size:12px;line-height:1.45}.choice-card.active{border-color:var(--green);background:var(--green-soft);box-shadow:inset 0 0 0 1px var(--green)}@media(max-width:700px){.choice-cards,.form-grid,.form-grid.form-grid-3,.stat-strip{grid-template-columns:1fr}.form-card{padding:16px}.form-card-footer .primary,.segmented{width:100%}.segmented button{flex:1 1}}.debt-assignment .form-card .debt-assignment-grid{margin:0}.debt-assignment .form-card .form-section+.form-section{padding-top:0;border-top:0}.service-use-list{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:12px}.service-use-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px}.service-use-list li+li{border-top:1px solid var(--line)}.service-use-list .ghost{width:auto}.customer-create-modal{width:min(640px,100%)}.customer-create-modal .customer-create-form{margin:0}.customer-create-modal .customer-create-fields{margin-top:0}.customer-directory-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.customer-directory-actions input[type=search]{width:260px;max-width:100%;padding:10px 12px;border:1px solid #cad4cf;border-radius:10px;font:inherit}.customer-directory-actions .primary{width:auto;white-space:nowrap}.customer-directory-table td,.customer-directory-table th{padding:10px 16px}.customer-directory-table tbody tr{cursor:pointer;transition:background .12s}.customer-directory-table tbody tr:focus-visible,.customer-directory-table tbody tr:hover{background:var(--green-soft);outline:0}.customer-directory-table td:first-child{width:120px}.customer-directory-table td:nth-child(2){white-space:normal;min-width:0}.customer-directory-table td:nth-child(2) a{color:var(--ink);font-weight:700;text-decoration:none}.customer-directory-table td:nth-child(2) .badge{margin-left:8px}.customer-directory-table td:nth-child(3),.customer-directory-table th:nth-child(3){text-align:right;width:200px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.customer-debt{color:var(--red);font-weight:750}.customer-clear{color:var(--muted)}@media(max-width:700px){.customer-directory .panel-heading{flex-direction:column;align-items:stretch;gap:12px}.customer-directory-actions{justify-content:stretch}.customer-directory-actions input[type=search]{flex:1 1;width:auto}}.search-actions .search-create-customer{width:auto;min-height:46px;padding:0 14px;border-color:#b9d9c9;background:var(--green-soft);color:var(--green);font-size:13px;font-weight:750;white-space:nowrap}.search-actions .search-create-customer:hover{background:#d8eee3}.search-actions:has(.search-create-customer) input[type=search]{min-width:120px}.customer-create-full{grid-column:1/-1}.customer-create-fields label small{display:block;margin-top:7px;font-size:12px;font-weight:400;color:var(--muted)}.customer-create-fields label small.error{color:var(--red);font-weight:650}.customer-code-field{display:flex;gap:8px;align-items:center}.customer-code-field input{flex:1 1}.customer-code-field .ghost{width:auto;margin-top:9px;min-height:44px;padding:0 12px}.customer-code-input{text-transform:uppercase;letter-spacing:.12em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700}input.customer-code-input[aria-invalid=true]{border-color:var(--red)}.customer-title{display:flex;align-items:center;gap:14px;min-width:0}.customer-title h1{overflow-wrap:anywhere}.home-link{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border:1px solid #cdded5;border-radius:12px;background:var(--paper);color:var(--green);box-shadow:0 2px 5px #17201d05;transition:background .18s,border-color .18s}.home-link:hover{background:var(--green-soft);border-color:#8ebca7}.home-link:focus-visible{outline:3px solid #7fbaa5;outline-offset:3px}button.back-link{font:inherit;font-size:14px;font-weight:650;cursor:pointer}.customer-switcher{width:min(620px,100%)}.customer-switcher-search{padding:16px 24px;border-bottom:1px solid var(--line)}.customer-switcher-search input{width:100%;padding:12px 14px;border:1px solid #cad4cf;border-radius:10px;font:inherit}.customer-switcher-search input:focus{outline:2px solid #7fbaa5;border-color:transparent}.customer-switcher-list{list-style:none;margin:0;padding:8px;overflow:auto;flex:1 1}.customer-switcher-list button{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;width:100%;padding:11px 14px;border:0;border-radius:10px;background:transparent;color:var(--ink);font:inherit;text-align:left}.customer-switcher-list button:focus-visible,.customer-switcher-list button:hover{background:var(--wash);outline:0}.customer-switcher-list button.current{background:var(--green-soft)}.customer-switcher-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;color:var(--muted)}.customer-switcher-name{display:flex;align-items:center;gap:8px;font-weight:650;min-width:0;overflow-wrap:anywhere}.customer-switcher-name small{padding:2px 8px;border-radius:999px;background:var(--green);color:#fff;font-size:11px;font-weight:700;white-space:nowrap}.customer-switcher-list .customer-clear,.customer-switcher-list .customer-debt{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.customer-switcher-empty{padding:12px 24px;margin:0}.customer-switcher-footer{padding:14px 24px;border-top:1px solid var(--line);background:#f8fbf9}.customer-switcher-footer a{color:var(--green);font-weight:650;text-decoration:none}@media(max-width:700px){.customer-switcher-search{padding:12px 16px}.customer-switcher-list button{grid-template-columns:60px minmax(0,1fr)}.customer-switcher-list button>span:last-child{grid-column:2}.home-link{width:42px;height:42px}}.invoice-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.invoice-filters input[type=search]{flex:1 1 260px;min-width:0;padding:10px 12px;border:1px solid #cad4cf;border-radius:10px;font:inherit}.invoice-filters .segmented{flex:0 1 auto}.invoice-remaining{display:block;margin-top:4px;font-size:12px}.review-transaction-diff{margin-top:10px;padding:10px 12px;border:1px solid #f0d9a8;border-radius:10px;background:var(--amber-soft)}.review-transaction-diff p{margin:0 0 6px;font-size:12px;font-weight:700;color:var(--amber)}.review-transaction-diff table{width:100%;font-size:13px;background:transparent}.review-transaction-diff td,.review-transaction-diff th{padding:5px 8px;border-bottom:1px solid #f0e2c0;white-space:normal;text-align:left;position:static;background:transparent;text-transform:none;letter-spacing:0}.review-transaction-diff thead th{font-size:11px;color:var(--muted)}.review-transaction-diff tbody th{font-weight:650;color:var(--ink);width:30%}.review-transaction-diff tr:last-child>*{border-bottom:0}.review-transaction-diff .diff-before{color:var(--muted);text-decoration:line-through}.review-transaction-diff .diff-after{font-weight:700;color:var(--ink)}.review-transaction-diff .diff-after small{display:block;margin-top:2px;font-size:11px;font-weight:650;color:var(--amber)}.review-transaction-diff-note{margin:8px 0 0;font-size:12px;color:var(--muted)}