/* Employee and owner portals only. Native management UI keeps its own theme. */
:root{--brand:#17664d;--ink:#20362e;--muted:#6e7c76;--line:#e3e9e5;background:#f5f7f6;color:var(--ink)}
body{font-size:16px}button{border-radius:10px;font-size:15px;background:var(--brand);transition:background .15s}button.secondary,button.full.secondary{background:#edf3ef;color:#285c47;border:1px solid #dce6df}button.danger,button.full.danger{background:#fff3f0;color:#a63f30;border:1px solid #f3dcd7}button:disabled{opacity:.55}input,select,textarea{border-radius:10px;font-size:16px;min-height:46px;padding:11px 13px}input:focus,select:focus,textarea:focus{outline:2px solid #74a58e;outline-offset:1px}header{padding-top:18px;padding-bottom:18px}header strong{font-size:20px}h1{font-size:28px;letter-spacing:-.6px}.card{border-radius:16px;box-shadow:0 3px 16px #254e3510}.wrap{max-width:1080px}.filters{padding:4px;background:#e9eeeb;width:fit-content;border-radius:12px;gap:3px}.filters button{background:transparent;border-radius:9px;min-height:40px;padding:9px 15px}.filters button.active{background:white;color:#155e43;box-shadow:0 2px 6px #173e2510}.entry-list{padding:8px 24px}.entry-list .record{padding:22px 0}.entry-list h3{font-size:17px}.entry-list .section-actions{margin-top:12px}.entry-list button{border-radius:9px;font-weight:600}.badge{font-size:12px;border-radius:6px;padding:5px 9px}.tabs{box-shadow:0 -3px 16px #20382c05}.tabs button{min-height:46px}.receipt-check-dialog{width:min(760px,calc(100% - 40px));height:min(900px,90dvh);max-height:90dvh;padding:0;overflow:hidden;border-radius:20px;box-shadow:0 24px 100px #12291d40;background:#f7f9f8;color:var(--ink)}
.receipt-check-dialog[open]{display:flex;flex-direction:column}.receipt-check-dialog::backdrop{background:#152a225c;backdrop-filter:blur(3px)}.receipt-check-dialog>.row{padding:22px 26px 10px;background:white;flex:none;flex-wrap:nowrap}.receipt-check-dialog>.row h2{font-size:23px;letter-spacing:-.4px}.receipt-check-dialog .cancel{min-height:38px;padding:8px 14px;background:#f1f4f2;color:#52665b;font-size:14px}.check-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:0 26px 18px;font-size:13px;color:var(--muted);background:white;border-bottom:1px solid var(--line)}.check-status{font-size:12px;color:#986522;background:#fff4df;border-radius:5px;padding:4px 7px}.check-context #staff-check-photo{margin-left:auto;min-height:32px;padding:5px 10px;font-size:13px}.receipt-check-dialog form{display:flex;flex-direction:column;min-height:0;flex:1}.check-scroll{min-width:0;min-height:0;flex:1;overflow:auto;margin:0;border:0;padding:18px 26px 24px;overscroll-behavior:contain;scrollbar-width:thin}.check-intro{margin:0 0 18px;font-size:14px;color:var(--muted)}.check-supplier{padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:12px}.check-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.check-section-heading h3{font-size:16px;margin:0}.check-section-heading>span{font-size:12px;color:var(--muted)}.check-supplier-other summary{font-size:13px;padding:12px 0 0}.check-supplier-other input{margin-top:10px}.check-items-heading{margin:22px 0 12px}.check-item{border:1px solid var(--line);border-radius:12px;background:white;padding:16px 20px 0;margin-bottom:12px;overflow:hidden}.check-item-heading{display:flex;align-items:center;justify-content:space-between}.check-item-number{font-size:12px;font-weight:600;color:#4f735f;letter-spacing:.3px}.receipt-check-dialog .check-remove{background:transparent;border:0;color:#a65a4b;padding:4px 0 4px 14px;min-height:32px;font-size:13px;font-weight:400}.check-item label{font-size:13px;color:#65746c;margin:8px 0 7px}.check-item input[name=name]{font-weight:600}.check-fields{display:grid;grid-template-columns:1.1fr .8fr 1.1fr;gap:12px;margin:8px 0 17px}.check-fields>div{min-width:0}.check-fields input{min-width:0;width:100%;font-variant-numeric:tabular-nums}.check-advanced{border-top:1px solid #edf0ee;padding-bottom:0}.check-advanced summary{font-size:13px;padding:13px 0;color:#64776c}.check-advanced summary span{font-size:11px;color:#929d96;margin-left:8px}.check-advanced p{font-size:12px;margin:8px 0 14px}.check-advanced[open]{padding-bottom:5px}.receipt-check-dialog #staff-check-add{width:100%;min-height:42px;border:1px dashed #bfd0c5;background:transparent;color:#326b50;font-weight:500}.check-footer{padding:16px 26px 18px;background:white;border-top:1px solid var(--line);box-shadow:0 -5px 20px #183f2706;flex:none}.check-total-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.check-total-row>span{font-size:14px;color:#5c6e62}.check-total-row h2{margin:0;font-size:26px;color:#163f2c;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.check-footer-actions{display:grid;grid-template-columns:100px 1fr;gap:10px}.check-footer-actions button{min-height:48px;padding:12px 10px}.check-footer-actions button[type=submit]{background:var(--brand);color:white}.check-footer small{display:block;text-align:center;font-size:12px;color:#8a968e;margin-top:9px}.check-footer [role=alert]{margin:0 0 10px;color:#956326;font-size:13px}.check-footer [role=alert]:empty{display:none}.check-footer #staff-check-refresh{margin-top:8px;width:100%}#staff-check-image img{max-height:420px;object-fit:contain;border:1px solid var(--line);border-radius:10px;margin-bottom:16px}
@media(max-width:680px){.wrap{padding:22px 16px 104px}.entry-list{padding:4px 18px}.filters{width:100%;overflow-x:auto;flex-wrap:nowrap}.filters button{white-space:nowrap;flex:none;padding:8px 12px;font-size:14px}.receipt-check-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0;margin:0;max-width:100%;top:0;left:0}.receipt-check-dialog>.row{padding:18px 18px 8px}.receipt-check-dialog>.row h2{font-size:21px}.check-context{padding:0 18px 13px;gap:8px;font-size:12px}.check-scroll{padding:16px 16px 20px}.check-intro{font-size:13px;margin-bottom:14px}.check-supplier{padding:14px}.check-section-heading>span{font-size:11px}.check-item{padding:12px 14px 0}.check-fields{gap:8px}.check-fields input{padding:11px 9px}.check-footer{padding:12px 18px max(12px,env(safe-area-inset-bottom))}.check-total-row{margin-bottom:10px}.check-total-row h2{font-size:25px}.check-footer-actions{grid-template-columns:82px 1fr}.check-footer small{margin-top:7px}.check-items-heading{margin-top:18px}}
@supports not (height:100dvh){.receipt-check-dialog{height:90vh}@media(max-width:680px){.receipt-check-dialog{height:100%;max-height:100%}}}
