:root{--green:#173f35;--lime:#dcebaf;--ink:#21372f;--muted:#77827b;--line:#e4e8df;--paper:#f6f7f3;--white:#fff;--danger:#b65e43;--radius:14px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);padding:11px 17px;border-radius:8px;font-weight:600;transition:.15s}button:hover{background:#edf2e7;transform:translateY(-1px)}button:disabled{opacity:.5;cursor:wait;transform:none}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#285647}.lime{background:var(--lime);border-color:var(--lime)}.danger{color:var(--danger)}.small{padding:7px 11px;font-size:12px}.ghost{border-color:transparent;background:transparent}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;width:238px;padding:33px 20px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 30px}.brand img{width:40px;height:40px}.brand strong{font-size:18px;letter-spacing:-.6px}.brand small{display:block;font-size:10px;letter-spacing:2.5px;color:var(--muted);margin-top:6px}.navlabel{font-size:10px;letter-spacing:1.5px;color:#89958c;padding:20px 16px 12px}.nav{display:flex;flex-direction:column;gap:6px}.nav button{text-align:left;display:flex;align-items:center;gap:13px;border:0;background:transparent;font-weight:500;color:#6a786f;padding:13px 16px}.nav button.active{background:var(--green);color:white}.nav svg{width:18px;height:18px}.sidebar-foot{margin-top:auto}.workspace-note{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:16px;font-size:12px;line-height:1.7;margin:24px 0}.workspace-note strong{display:block;color:var(--green)}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:20px 5px 0}.avatar{width:35px;height:35px;background:#e9eedd;border-radius:50%;display:grid;place-items:center;font-weight:700}.profile small{display:block;color:var(--muted);margin-top:4px}.main{grid-column:2;min-width:0}.topbar{height:86px;border-bottom:1px solid var(--line);background:#ffffffb8;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:16px}.breadcrumbs{color:var(--muted);font-size:12px;display:flex;gap:12px;align-items:center}.breadcrumbs strong{color:var(--ink);font-weight:500}.topfilters{display:flex;gap:12px;align-items:center}.topfilters select,.topfilters input{width:auto;background:#fff;font-size:12px}.connection{font-size:11px;color:#608261}.connection:before{content:'●';font-size:8px;margin-right:7px}main{padding:32px 38px 50px;max-width:1700px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:20px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--muted);text-transform:uppercase;font-weight:650}.page-head h1{font-size:29px;letter-spacing:-1px;font-weight:600;margin:7px 0 9px}.page-head p{color:var(--muted);margin:0;font-size:13px}.actions{display:flex;gap:9px;flex-wrap:wrap}.welcome{background:var(--green);border-radius:16px;color:white;padding:29px 30px;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden;margin-bottom:24px}.welcome:after{content:'';position:absolute;right:100px;width:190px;height:190px;border:1px solid #ffffff19;transform:rotate(35deg);border-radius:25px;pointer-events:none}.welcome h2{font-size:22px;font-weight:500;letter-spacing:-.4px;margin:10px 0}.welcome p{color:#b9cec1;max-width:490px;font-size:12px;line-height:1.7;margin-bottom:0}.welcome .eyebrow{color:#c3d6a6}.welcome button{z-index:1;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:20px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.stat-top svg{width:17px;height:17px;color:#83957e}.stat-value{font-size:30px;letter-spacing:-1px;font-weight:550;margin:17px 0 10px}.stat-foot{font-size:11px;color:var(--muted)}.stat-foot span{color:#537d46;background:#f0f5e7;border-radius:4px;padding:3px 5px;margin-right:4px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(285px,1fr);gap:22px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:white;overflow:hidden;margin-bottom:22px}.panel-head{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{font-size:15px;font-weight:600;margin:0}.panel-head p{font-size:11px;color:var(--muted);margin:7px 0 0}.panel-body{padding:22px}.section-row{padding:18px 22px;border-bottom:1px solid #eef0eb;display:flex;gap:13px;align-items:center}.section-icon{background:#f2f5ed;border:1px solid #e8eddf;border-radius:10px;display:grid;place-items:center;width:40px;height:40px;flex-shrink:0}.section-icon svg{width:19px;height:19px}.section-title{flex:1}.section-title strong{font-size:12px;font-weight:600}.section-title small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.badge{font-size:10px;display:inline-block;padding:5px 8px;border-radius:5px;background:#f1f3ef;color:#77836d;white-space:nowrap}.badge.green{background:#eaf3de;color:#53783f}.badge.amber{background:#fff4df;color:#ac7a27}.badge.red{background:#fcefe9;color:#ae664b}.progress{height:4px;background:#edf0e8;width:75px;border-radius:3px;margin-top:8px;overflow:hidden}.progress span{display:block;height:100%;background:#96ac6a}.empty{padding:42px 24px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7}.empty svg{width:32px;height:32px;color:#a0b19a;margin-bottom:10px}.notice{padding:17px 20px;background:#f0f4e9;border:1px solid #e2e9d6;border-radius:10px;color:#66774f;font-size:12px;line-height:1.7;margin-bottom:22px}.notice strong{color:#425b39}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:17px 20px;border-bottom:1px solid var(--line)}.toolbar input[type=search]{flex:1;min-width:180px}.toolbar select{width:auto}input,select,textarea{border:1px solid #dfe5d9;border-radius:7px;padding:10px 12px;color:var(--ink);background:white;width:100%;min-height:40px}input:focus,select:focus,textarea:focus{outline:2px solid #a7ba87;border-color:transparent}input[type=checkbox]{width:auto;min-height:0}input[type=file]{font-size:12px}textarea{resize:vertical;min-height:78px}label{display:block;font-size:12px;font-weight:550;margin-bottom:7px}label:has(input[type=checkbox]){display:flex;gap:10px;align-items:center}.field{margin-bottom:17px}.field small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.full{grid-column:1/-1}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{color:#82907e;font-weight:500;background:#fafbf8;padding:13px 18px;font-size:10px;letter-spacing:.5px;text-transform:uppercase}td{padding:14px 18px;border-top:1px solid #eef0eb}tr:hover td{background:#fcfdf9}td.name{white-space:normal;min-width:210px}td small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.item-cell{display:flex;align-items:center;gap:12px}.thumb{width:43px;height:43px;border-radius:9px;background:#f1f3ed;object-fit:cover;border:1px solid var(--line);display:grid;place-items:center;flex-shrink:0;color:#9aa78f}.thumb svg{width:20px;height:20px}.money{font-variant-numeric:tabular-nums}.table-footer{padding:15px 20px;color:var(--muted);font-size:11px;border-top:1px solid var(--line)}.negative{color:var(--danger)}.positive{color:#5d813e}.section-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.section-card{background:white;border:1px solid var(--line);border-radius:12px;padding:22px}.section-card h3{font-size:17px;margin:16px 0 7px}.section-card p{color:var(--muted);font-size:12px}.section-card .progress{width:100%;height:6px;margin:20px 0}.count-input{max-width:95px}.count-note{min-width:160px}.count-photo{width:60px;height:60px}.count-table th,.count-table td{padding:12px}.report-options{display:flex;gap:10px;flex-wrap:wrap;padding:18px 0}.tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.tabs button{border-color:transparent;background:transparent;font-weight:500}.tabs button.active{background:#e6edda;border-color:#dce5cd}.activity{display:flex;gap:12px;padding:15px 22px;border-bottom:1px solid #f0f2ec}.activity strong{font-size:12px}.activity p{font-size:11px;color:var(--muted);margin:6px 0;line-height:1.6}.activity small{font-size:10px;color:#9aa394}.activity .dot{width:8px;height:8px;border-radius:50%;background:#a7bc86;margin-top:5px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--green);color:white;padding:70px;display:flex;flex-direction:column;justify-content:space-between}.auth-story .brand{padding:0}.auth-story .brand small{color:#b6c9a5}.auth-story h1{font-family:Georgia,serif;font-size:58px;font-weight:400;line-height:1.12;letter-spacing:-2px;max-width:500px}.auth-story p{color:#b4cbbf;line-height:1.9;max-width:390px}.auth-box{display:flex;align-items:center;justify-content:center;padding:35px}.auth-form{max-width:365px;width:100%}.auth-form h2{font-size:27px;letter-spacing:-.7px;margin:12px 0}.auth-form>p{color:var(--muted);line-height:1.7;margin-bottom:30px}.auth-form button[type=submit]{width:100%;margin-top:8px}.auth-form .foot{font-size:11px;text-align:center;margin-top:22px}.error{color:#b84f35;font-size:12px;background:#fff1eb;border-radius:6px;padding:10px;margin:12px 0;display:none}.error.visible{display:block}dialog{border:1px solid var(--line);border-radius:17px;padding:0;max-width:620px;width:calc(100% - 30px);max-height:90vh;box-shadow:0 25px 100px #102c3538;color:var(--ink)}dialog::backdrop{background:#183b3259;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:20px;font-weight:600;margin:0;letter-spacing:-.5px}.modal-body{padding:24px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.upload-preview{display:none;max-width:100%;height:150px;object-fit:contain;background:var(--paper);margin-top:12px;border-radius:8px}.upload-preview.visible{display:block}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);background:var(--green);color:white;padding:13px 24px;border-radius:10px;z-index:100;box-shadow:0 5px 30px #183b3230;opacity:0;pointer-events:none;transition:.25s;max-width:90vw;font-size:13px}#toast.show{opacity:1;transform:translate(-50%,0)}.loading{padding:80px;text-align:center;color:var(--muted)}.mobile-brand{display:none}.help{font-size:12px;color:var(--muted);line-height:1.7}.row{display:flex;align-items:center;gap:12px}.spacer{flex:1}.preview-full{width:100%;max-height:65vh;object-fit:contain}.saved{font-size:10px;color:#729157}.offline{color:#bb7846}.footer-note{text-align:center;color:#97a08f;font-size:10px;margin-top:25px;letter-spacing:.2px}a{color:var(--green)}.chart{display:flex;height:145px;gap:10px;align-items:end;padding:15px 0}.bar{flex:1;background:#cfdeb7;min-height:4px;border-radius:4px 4px 0 0;position:relative}.bar span{position:absolute;bottom:-18px;font-size:9px;color:var(--muted);left:0;right:0;text-align:center}.chart-legend{display:flex;gap:18px;margin-top:25px;font-size:10px;color:var(--muted)}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media(min-width:1450px){main{padding:38px 48px}.welcome{padding:34px}.stats{gap:22px}.stat{padding:24px}}
@media(max-width:1100px){.sidebar{width:205px;padding:30px 13px}.shell{grid-template-columns:205px 1fr}main{padding:25px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:1fr}.stats{gap:12px}.stat{padding:16px}.stat-value{font-size:26px}.section-cards{grid-template-columns:repeat(2,1fr)}.connection{display:none}}
@media(max-width:740px){.shell{display:block}.sidebar{position:sticky;top:0;width:100%;padding:9px 12px;height:auto;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand,.navlabel,.sidebar-foot{display:none}.nav{flex-direction:row;overflow:auto;gap:5px}.nav button{font-size:11px;flex-direction:column;gap:5px;min-width:66px;padding:9px 12px}.nav svg{width:17px;height:17px}.main{width:100%}.topbar{height:auto;padding:15px 18px;flex-wrap:wrap}.breadcrumbs{display:none}.topfilters{width:100%;justify-content:space-between;gap:8px}.topfilters select{max-width:185px}.topfilters input{max-width:144px}.topfilters .avatar{display:none}main{padding:24px 17px 35px}.page-head{align-items:flex-start;margin-bottom:20px}.page-head h1{font-size:25px}.page-head p{font-size:12px;line-height:1.6}.page-head .actions{justify-content:flex-end}.page-head .actions button{font-size:11px;padding:10px}.eyebrow{font-size:9px}.welcome{padding:23px;display:block}.welcome h2{font-size:21px}.welcome p{max-width:300px}.welcome button{margin-top:20px}.stats{grid-template-columns:repeat(2,1fr);gap:11px}.stat-value{font-size:26px}.stat-top{font-size:11px}.stat-foot{font-size:10px}.dashboard-grid,.report-grid{display:block}.section-cards{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.full{grid-column:1}.auth{display:block}.auth-story{padding:25px}.auth-story h1{font-size:30px;max-width:none;margin:22px 0 10px}.auth-story p,.auth-story>small{display:none}.auth-box{padding:35px 24px}.auth-form{max-width:400px}.modal-body{padding:20px}.section-row{padding:16px}.count-table td{padding:10px}.count-table th{font-size:9px}.count-table td.name{min-width:155px}.count-table .thumb{display:grid;width:44px;height:44px}.toolbar{padding:15px}.toolbar select{flex:1}.panel-head{padding:17px}.footer-note{line-height:1.8}.report-options button{flex:1}.stat{min-height:135px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.google-login{padding:18px;border:1px solid var(--line);border-radius:12px;background:#f9fbf6;margin:22px 0}.google-login p{font-size:12px;color:var(--muted);word-break:break-all;margin:8px 0 15px}.google-button{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #dbe3d4;background:white;padding:13px;border-radius:8px;text-decoration:none;font-weight:600}.google-button span{font-size:20px;color:#4285f4}.google-pending{display:block;line-height:1.6;color:#9e733c;font-size:11px;margin-top:10px}.auth-divider{text-align:center;letter-spacing:1.6px;font-size:10px;color:var(--muted);margin:24px 0}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.permission-grid label{font-weight:400;align-items:flex-start;line-height:1.5}.permission-grid input{margin-top:3px;flex-shrink:0}.permission-full{padding:15px;background:#edf4e2;border-radius:8px}.scope-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.scope-grid fieldset{border:1px solid var(--line);border-radius:8px;padding:15px}.scope-grid legend{font-size:12px;font-weight:600}.scope-grid label{margin:10px 0;font-weight:400}button[hidden],div[hidden]{display:none!important}@media(max-width:600px){.permission-grid,.scope-grid{grid-template-columns:1fr}}
/* Supplied transparent black logo: retain the original artwork on a white tile. */
.brand img{width:62px;height:62px;object-fit:contain;background:#fff;border-radius:10px;padding:3px;flex-shrink:0}.brand{padding-left:0;padding-right:0;gap:10px}.brand strong{font-size:17px}.brand small{font-size:10px;line-height:1.5;letter-spacing:.2px;text-transform:none}.auth-story .brand img{width:100px;height:100px;padding:6px;border-radius:16px}.auth-story .brand strong{font-size:27px;letter-spacing:-.7px}.auth-story .brand small{font-size:15px;letter-spacing:.3px;margin-top:8px}.auth-story .brand{gap:20px}@media(max-width:1100px) and (min-width:741px){.sidebar .brand{flex-direction:column;align-items:flex-start}.sidebar .brand small{font-size:11px}}@media(max-width:740px){.auth-story .brand img{width:74px;height:74px}.auth-story .brand strong{font-size:23px}.auth-story .brand small{font-size:13px}.auth-story .brand{gap:14px}}
.account-controls{display:flex;align-items:center;gap:10px}.profile-button{display:flex;align-items:center;gap:8px;padding:5px 9px;background:#fff}.profile-label{font-size:12px}.profile-button .avatar{width:30px;height:30px;display:grid!important}.profile{flex-wrap:wrap}.profile #logout{margin-left:auto;white-space:nowrap}.profile-summary{display:flex;align-items:center;gap:15px}.profile-summary .avatar{width:50px;height:50px}.profile-summary p{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.profile-actions{display:flex;gap:10px;margin-top:25px}.profile-actions button{flex:1}.notification-button{position:relative;display:flex;align-items:center;gap:7px;padding:9px;font-size:11px}.notification-button svg{width:18px;height:18px}.notification-count{background:#a64c35;border-radius:20px;padding:2px 6px;color:#fff;font-size:10px}.notification-list{display:grid;gap:12px}.notification-card{border:1px solid var(--line);border-radius:10px;padding:16px}.notification-card.unread{border-left:4px solid var(--green);background:#f7faf2}.notification-card p{font-size:12px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}.notification-card small{color:var(--muted);font-size:11px}.notification-card .actions{margin-top:13px}.notification-highlight td{background:#eef4da!important}.breakage-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.breakage-guide>div{position:relative;background:white;border:1px solid var(--line);border-radius:12px;padding:18px 18px 18px 60px}.breakage-guide span{position:absolute;left:16px;top:19px;width:30px;height:30px;border-radius:50%;background:var(--lime);display:grid;place-items:center}.breakage-guide strong{font-size:12px}.breakage-guide small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:7px}.breakage-stats{grid-template-columns:repeat(3,1fr)}.report-step-label{color:#718361;font-size:10px;letter-spacing:1.4px;margin-bottom:12px}.breakage-photo-summary{display:flex;align-items:center;gap:15px;margin-bottom:22px;padding:12px;background:var(--paper);border-radius:10px}.breakage-photo-summary img{width:66px;height:66px;object-fit:cover;border-radius:8px}.breakage-photo-summary strong{display:block;font-size:12px}.breakage-photo-summary button{margin-top:7px;padding-left:0}.field input[readonly]{background:#f3f5f0;color:#738069;cursor:default}#breakage-photo-step .upload-preview{width:100%;height:220px}#use-breakage-photo{width:100%;margin-top:12px}#breakage-reason{min-height:96px}#breakage-photo-step .field>label{display:none}.topfilters{flex-wrap:wrap;justify-content:flex-end}.topbar{min-height:86px;height:auto;padding-top:15px;padding-bottom:15px}
@media(max-width:1100px){.notification-label{display:none}.profile-label{display:none}}@media(max-width:740px){.account-controls{margin-left:auto}.topfilters{justify-content:space-between}.breakage-guide{grid-template-columns:1fr;gap:8px}.breakage-guide>div{padding:13px 13px 13px 55px}.breakage-guide span{top:14px}.breakage-stats{grid-template-columns:1fr 1fr}.profile-button .avatar{display:grid!important}.topbar{padding:12px 17px}.notification-button{min-height:40px}.profile-button{min-height:40px}.profile-actions{flex-wrap:wrap}}
/* Keep dialog title and submit action visible while long forms scroll. */
dialog[open]{display:flex;flex-direction:column;overflow:hidden}.modal-head{flex-shrink:0}.modal-body{overflow-y:auto;min-height:0}.modal-body:has(#dialog-form){padding:0;overflow:hidden;display:flex;flex-direction:column}#dialog-form{display:flex;flex-direction:column;min-height:0}.modal-content{overflow-y:auto;min-height:0;padding:24px}.modal-actions{flex-shrink:0;margin-top:0;padding:16px 24px;background:white;border-top:1px solid var(--line)}@media(max-width:740px){.modal-content{padding:20px}.modal-actions{padding:14px 20px}}

.review-card{padding:18px 0;border-bottom:1px solid var(--border,#ddd)}.review-card .row{flex-wrap:wrap}.review-card p{margin:8px 0}.review-card small{overflow-wrap:anywhere}.review-card .actions{margin-top:12px}

.member-password-control{display:flex;align-items:center;gap:8px}.member-password-control input{min-width:0;flex:1}.member-password-control button{flex-shrink:0}

.report-builder{padding:24px;display:grid;gap:24px}.report-builder h2{margin-bottom:12px}.report-section-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:12px}.report-section-options label,.report-all{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid #dce4dc;border-radius:8px}.report-builder input[type=checkbox]{width:20px;height:20px}

.staff-shell{max-width:600px;margin:0 auto;min-height:100vh;background:var(--paper,#f7f8f3);padding-bottom:90px}.staff-header{display:flex;align-items:center;justify-content:space-between;padding:16px;background:white;border-bottom:1px solid var(--line)}.staff-header .brand{margin:0;padding:0}.staff-header .brand img{width:46px;height:46px}.staff-header .brand strong{font-size:17px}.staff-filters{display:flex;gap:12px;padding:16px}.staff-filters>*{min-width:0;flex:1}.staff-shell #main{padding:18px}.staff-intro h1{font-size:30px}.staff-intro p{color:var(--muted);line-height:1.5}.staff-actions{display:grid;gap:14px;margin:24px 0}.staff-action{display:flex;text-align:left;align-items:center;gap:16px;padding:24px;border-radius:16px;min-height:92px}.staff-action svg{width:30px;height:30px;flex-shrink:0}.staff-action strong{display:block;font-size:18px}.staff-action small{display:block;font-size:12px;margin-top:8px;font-weight:400}.staff-bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(600px,100%);z-index:20;background:white;border-top:1px solid var(--line);display:flex;padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:8px}.staff-bottom button{flex:1;min-height:48px}.staff-bottom .active{background:var(--green);color:white}.staff-shell .section-cards{grid-template-columns:1fr}.staff-shell .count-table,.staff-shell .count-table tbody,.staff-shell .count-table tr,.staff-shell .count-table td{display:block;width:100%;min-width:0}.staff-shell .count-table thead{display:none}.staff-shell .count-table tr{padding:16px;border-bottom:2px solid var(--line)}.staff-shell .count-table td{padding:10px 0;border:0}.staff-shell .count-table td:nth-child(2):before{content:'Physical quantity';display:block;margin-bottom:8px;font-weight:600}.staff-shell .count-input{width:100%;font-size:20px;min-height:50px}.staff-shell .count-note{width:100%;min-width:0}.staff-shell .table-wrap{overflow:visible}.staff-shell .panel-head,.staff-shell .page-head{flex-wrap:wrap}.staff-shell .panel-head{gap:14px}.submission-list{padding:18px;border:1px solid var(--line);border-radius:14px;margin-bottom:20px}.marked-correction{border-left:4px solid #ab6534;padding-left:12px}.review-mark,.count-mark{display:flex;align-items:center;gap:10px;margin:14px 0}.review-mark input,.count-mark input{width:22px;height:22px}.staff-shell .submission-list{padding:12px}.staff-shell .review-card .row{align-items:flex-start}.staff-shell .actions{flex-wrap:wrap}
.staff-shell .count-table{white-space:normal}.staff-shell .count-table select,.staff-shell .count-note{display:block;width:100%;margin-top:8px}.staff-shell .count-table input:disabled,.staff-shell .count-table select:disabled{background:#f0f2ed;color:#7b8378;opacity:1}.staff-shell .count-table td.name{min-width:0}
#workspace-month,#staff-count-month{font-size:11px;padding:6px 12px;border-radius:8px;font-weight:600;display:inline-flex;align-items:center;letter-spacing:0.3px}
.thumb{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;border-radius:10px}
.thumb:hover{transform:scale(1.08);box-shadow:0 3px 12px rgba(23,63,53,0.18)}
.item-cell{display:flex;align-items:center;gap:12px}
.item-preview-card{display:flex;align-items:center;gap:12px;margin:8px 0 16px;padding:10px 14px;background:#f3f6f0;border-radius:10px;border:1px solid #dfe5d9}
.item-preview-card .thumb{width:48px;height:48px}
.item-preview-card strong{font-size:13px;display:block}
.item-preview-card small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.preview-full{width:100%;max-height:75vh;object-fit:contain;border-radius:12px}
.bulk-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:#edf4e8;border-bottom:1px solid #dbe6d3;gap:12px;flex-wrap:wrap}
.bulk-count{font-size:13px;color:var(--green)}
.bulk-count strong{font-size:15px;color:var(--ink)}
.bulk-preview-list{max-height:160px;overflow-y:auto;border:1px solid var(--line);border-radius:8px;padding:8px 12px;margin:12px 0;background:var(--paper)}
.bulk-preview-item{display:flex;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid #eef1ea;font-size:12px}
.bulk-preview-item:last-child{border-bottom:none}
.bulk-preview-item .thumb{width:32px;height:32px;border-radius:6px}
tr.selected td{background:#f3f7ee}

.dashboard-month-bar{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px 20px;margin-bottom:22px;gap:16px;flex-wrap:wrap}
.month-indicator{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.month-indicator .month-title{font-size:16px;font-weight:600;color:var(--ink)}
.month-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.month-select-label{margin:0;font-size:12px;color:var(--muted);font-weight:500}
.month-nav-group{display:flex;align-items:center;gap:6px}
.month-nav-group input[type=month]{padding:6px 10px;min-height:36px;font-size:12px;width:auto}
.month-nav-group button{padding:6px 10px;min-height:36px}
.stat.clickable{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.stat.clickable:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(23,63,53,0.08)}
@media(max-width:740px){
  .dashboard-month-bar{flex-direction:column;align-items:flex-start;gap:12px;padding:14px 16px}
  .month-controls{width:100%;justify-content:space-between}
  .month-nav-group{width:100%;justify-content:space-between}
}

/* Property Assets Section */
.asset-property-tabs{display:flex;gap:12px;margin-bottom:22px;flex-wrap:wrap}
.asset-tab{display:inline-flex;align-items:center;gap:10px;padding:13px 22px;font-size:14px;font-weight:600;border-radius:12px;border:1px solid var(--line);background:white;color:var(--ink);cursor:pointer;transition:all .18s ease}
.asset-tab:hover{background:#f3f6ee;border-color:#cfdac3;transform:translateY(-1px)}
.asset-tab.active{background:var(--green);color:white;border-color:var(--green);box-shadow:0 3px 12px rgba(23,63,53,0.2)}
.asset-tab .tab-badge{font-size:11px;padding:3px 9px;border-radius:10px;background:#eef2e7;color:var(--ink);font-weight:550}
.asset-tab.active .tab-badge{background:rgba(255,255,255,0.22);color:white}
.asset-tab svg{width:18px;height:18px}
.asset-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 20px;background:#f3f6ee;border:1px solid #dce5d3;border-radius:12px;margin-bottom:22px}
.asset-notice-text{font-size:12px;color:#45593c;line-height:1.6}
.asset-notice-text strong{color:#2a3d22;display:block;font-size:13px;margin-bottom:2px}

/* Monthly Count Focus & Done Workflow */
.count-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.count-search-box input{min-width:220px;padding:8px 12px;border-radius:8px;border:1px solid var(--line);background:#fff;font-size:13px}
.count-filter-tabs{display:flex;gap:8px;flex-wrap:wrap}
.count-tab{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:10px;border:1px solid var(--line);background:white;font-size:13px;font-weight:550;color:var(--ink);cursor:pointer;transition:all .15s ease}
.count-tab:hover{background:#f3f6ee;border-color:#cfdac3}
.count-tab.active{background:var(--green);color:white;border-color:var(--green);box-shadow:0 2px 8px rgba(23,63,53,0.18)}
.count-tab .count-badge{font-size:11px;padding:2px 8px;border-radius:10px;background:#eef1ea;color:var(--ink);font-weight:600}
.count-tab.active .count-badge{background:rgba(255,255,255,0.22);color:white}
.count-tab .count-badge.amber{background:#fff0d9;color:#9b651b}
.count-tab.active .count-badge.amber{background:rgba(255,230,180,0.35);color:#fff}
.count-input-group{display:inline-flex;align-items:center;gap:6px}
.count-input-group .count-input{width:88px;text-align:center;font-weight:600;min-height:36px;padding:6px 8px}
.count-done-btn{padding:8px 12px;border-radius:7px;font-size:12px;white-space:nowrap;display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.count-undone-btn{padding:5px 9px;font-size:11px;margin-left:6px}
.count-row-fade{transition:opacity .25s ease, transform .25s ease;opacity:0;transform:translateX(14px);pointer-events:none}
tr.counted-row td{background:#fbfdf9}

/* Approval & Correction Categories */
.approval-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
.approval-category-tabs{display:flex;gap:10px;margin-bottom:22px;flex-wrap:wrap}
.approval-tab{display:inline-flex;align-items:center;gap:10px;padding:12px 20px;font-size:13px;font-weight:600;border-radius:12px;border:1px solid var(--line);background:white;color:var(--ink);cursor:pointer;transition:all .18s ease}
.approval-tab:hover{background:#f3f6ee;border-color:#cfdac3;transform:translateY(-1px)}
.approval-tab.active{background:var(--green);color:white;border-color:var(--green);box-shadow:0 3px 12px rgba(23,63,53,0.18)}
.approval-tab .tab-badge{font-size:11px;padding:3px 9px;border-radius:10px;background:#eef2e7;color:var(--ink);font-weight:600}
.approval-tab.active .tab-badge{background:rgba(255,255,255,0.22);color:white}
.approval-tab .tab-badge.amber{background:#fcefdc;color:#a0681c}
.approval-tab.active .tab-badge.amber{background:rgba(255,230,190,0.3);color:#fff}
.approval-tab svg{width:18px;height:18px}
@media(max-width:740px){
  .approval-overview{grid-template-columns:repeat(2,1fr);gap:10px}
  .approval-tab{width:100%;justify-content:space-between}
  .count-filter-bar{flex-direction:column;align-items:stretch}
  .count-filter-tabs{width:100%}
  .count-tab{flex:1;justify-content:center;padding:9px 10px;font-size:12px}
  .count-input-group{width:100%}
  .count-input-group .count-input{flex:1}
}

/* Item Name Duplicate Caution Banner */
.item-caution-banner{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;border-radius:10px;font-size:13px;line-height:1.5;margin:4px 0 12px 0;transition:all .2s ease}
.item-caution-banner.caution-warning{background:#fff8e8;border:1.5px solid #f6cf7b;color:#7a4603}
.item-caution-banner.caution-info{background:#eff6ff;border:1.5px solid #bfdbfe;color:#1e40af}
.item-caution-banner .caution-icon{font-size:20px;line-height:1;flex-shrink:0;margin-top:2px}
.item-caution-banner .caution-content{flex:1}
.item-caution-banner .caution-content strong{display:block;font-size:13px;font-weight:700;margin-bottom:3px}
.item-caution-banner .caution-content p{margin:0;font-size:12.5px;line-height:1.5}
.item-caution-banner code{font-family:monospace;font-weight:700;background:rgba(0,0,0,0.07);padding:2px 6px;border-radius:4px}




