.staff-compact{--paper:#f2f5f7;--line:#e1e8ec;font-family:Arial,sans-serif;grid-template-columns:200px minmax(0,1fr);line-height:1.5}
.staff-compact .sidebar{padding:25px 16px}.staff-compact .sidebar nav{margin-top:30px}.staff-compact .sidebar nav button{font-size:13px;border-radius:8px;padding:10px 13px}.staff-compact .sidebar .brand{font-size:22px}
.staff-compact .portal-main{padding:22px 28px;max-width:1400px}.staff-compact .portal-top{padding-bottom:14px;margin-bottom:20px}.staff-compact h1,.staff-compact .section-top h1{font-size:25px;letter-spacing:-.6px;margin:6px 0 10px}.staff-compact h2{font-size:18px;letter-spacing:-.4px;margin:0 0 12px}.staff-compact h3{font-size:15px;letter-spacing:-.2px}.staff-compact .section-top{margin-bottom:16px;align-items:center}.staff-compact .section-top p{margin-top:0}.staff-compact .panel{padding:20px;border-radius:12px;margin-bottom:16px;box-shadow:0 2px 5px #0a203003}
.staff-compact .primary,.staff-compact .secondary{min-height:44px;padding:10px 15px;border-radius:8px;font-size:13px}.staff-compact label{margin:13px 0 5px;font-size:12px}.staff-compact input,.staff-compact select,.staff-compact textarea{padding:10px 12px;border-radius:8px;font-size:16px;min-height:44px}.staff-compact textarea{min-height:76px}.staff-compact input[type=checkbox]{min-height:20px;width:20px;height:20px}.staff-compact .profile-form{max-width:660px}.staff-compact form .primary{margin-top:16px}.staff-compact .notice{padding:12px 14px;margin:12px 0;font-size:12px;border-radius:8px}.staff-compact .empty{padding:24px 12px}.staff-compact .table-button{min-height:44px;padding:8px;font-size:12px}.staff-compact th{padding:10px 12px;background:#f7f9fa}.staff-compact td{padding:11px 12px;font-size:13px}.staff-compact .table-wrap{border:1px solid var(--line);border-radius:8px;margin-top:12px}
.staff-compact .attention-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.staff-compact .attention-heading h2{font-size:17px;margin:0}.staff-compact .attention-status{margin:8px 0 12px}.staff-compact .attention-group summary{min-height:48px;padding:10px}.staff-compact .attention-list{max-height:230px}
.task-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:5px;background:#eef3f4;border-radius:10px;margin:14px 0 18px}.task-tabs button{border:0;border-radius:7px;background:transparent;color:#526771;min-height:44px;padding:10px 15px;font-weight:600;font-size:13px}.task-tabs button[aria-pressed=true]{background:#fff;color:#006e68;box-shadow:0 1px 4px #08182715}.staff-compact .billing-task{max-width:700px}.staff-compact .package-bill{padding:16px;margin:14px 0}.staff-compact .package-bill h3{margin:0 0 5px}.staff-compact .package-bill dl>div{gap:12px;padding:8px 0}.staff-compact .package-bill dt{overflow-wrap:anywhere}.staff-compact .bill-review{font-size:12px;margin:14px 0;gap:10px}.staff-compact #bill-preview p{margin:0 0 8px}.staff-compact .billing-refresh{float:right;margin-top:-3px}.staff-compact .billing-intro{font-size:12px;clear:both}.staff-compact .billing-task .panel{padding:0;border:0;box-shadow:none}
.staff-compact .customer-section{background:white;border:1px solid var(--line);border-radius:10px;margin:0 0 12px}.staff-compact .customer-section>summary{padding:14px 18px;cursor:pointer;font-size:14px;font-weight:600;min-height:48px;color:#183841}.staff-compact .customer-section[open]>summary{border-bottom:1px solid var(--line)}.staff-compact .customer-section>.panel{border:0;margin:0;box-shadow:none}.staff-compact .customer-section>.panel>h2,.staff-compact .customer-section>.panel>h3{display:none}.staff-compact .package-help{font-size:12px;color:var(--muted);margin-bottom:14px}.staff-compact .package-help summary{cursor:pointer;min-height:36px;display:flex;align-items:center}.staff-compact .package-help summary:before{content:'+';margin-right:7px}.staff-compact .package-help[open] summary:before{content:'−'}.staff-compact dialog{padding:22px;border-radius:14px}.staff-compact #staff-customers,.staff-compact #staff-warehouse-connection{overflow-wrap:anywhere}
@media(max-width:850px){.staff-compact{grid-template-columns:170px minmax(0,1fr)}.staff-compact .portal-main{padding:20px}.staff-compact .sidebar{padding:24px 12px}.staff-compact .sidebar .brand{font-size:20px}.staff-compact .attention-grid{grid-template-columns:1fr}}
@media(max-width:650px){.staff-compact{display:block}.staff-compact .sidebar{position:sticky;top:0;height:auto;padding:12px 14px 0;z-index:10;display:grid;grid-template-columns:1fr auto;gap:0 12px}.staff-compact .sidebar .brand{font-size:20px;align-self:center}.staff-compact .sidebar-bottom{grid-column:2;grid-row:1;margin:0;padding:0;border:0;display:block}.staff-compact .sidebar-bottom a{display:none}.staff-compact .sidebar-bottom button{min-height:44px;font-size:12px;padding:8px}.staff-compact .sidebar nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:6px 0 0;padding:0 0 8px;overflow:visible}.staff-compact .sidebar nav button{padding:8px 3px;text-align:center;font-size:12px;white-space:normal;min-height:44px}.staff-compact .portal-main{padding:16px 14px}.staff-compact .portal-top{margin-bottom:16px;padding-bottom:10px;gap:8px}.staff-compact .portal-top>span{font-size:9px;letter-spacing:.05em}.staff-compact .user-chip{padding:5px 9px}.staff-compact .panel{padding:16px}.staff-compact h1,.staff-compact .section-top h1{font-size:23px}.staff-compact .section-top{flex-wrap:nowrap;gap:10px}.staff-compact .section-top .primary{white-space:nowrap;font-size:12px}.staff-compact .section-top .eyebrow{font-size:9px}.staff-compact .attention-grid{grid-template-columns:1fr;gap:7px}.staff-compact .attention-heading .secondary{min-height:44px}.staff-compact .task-tabs{gap:3px;padding:4px}.staff-compact .task-tabs button{flex:1;padding:9px 5px;font-size:12px}.staff-compact .billing-refresh{float:none;margin:0 0 8px}.staff-compact .customer-section>summary{padding:14px}.staff-compact #staff-packages table,.staff-compact #staff-packages tbody{display:block;white-space:normal}.staff-compact #staff-packages thead{display:none}.staff-compact #staff-packages tr{display:grid;grid-template-columns:1fr auto;gap:5px 10px;padding:14px;border-bottom:1px solid var(--line)}.staff-compact #staff-packages td{display:block;padding:0;border:0;overflow-wrap:anywhere}.staff-compact #staff-packages td:nth-child(1){grid-column:1/-1;font-weight:700;font-size:14px}.staff-compact #staff-packages td:nth-child(2){font-size:12px;color:var(--muted)}.staff-compact #staff-packages td:nth-child(3){font-size:11px;color:#006e68;background:#eaf5f1;border-radius:5px;padding:4px 7px;align-self:start}.staff-compact #staff-packages td:last-child{grid-column:1/-1}.staff-compact #staff-packages td:last-child>div{display:flex;gap:10px}.staff-compact #staff-packages .table-button{padding:8px 0;font-size:12px}.staff-compact #staff-packages tr:last-child{border:0}.staff-compact .form-grid{display:block}}

.staff-compact #bill-preview{scroll-margin-top:130px}.staff-compact .billing-task{scroll-margin-top:130px}

.work-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 10px}.work-stat{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px;min-height:86px;color:#183841;text-align:left}.work-stat strong{font-size:24px}.work-stat span{font-size:12px}.work-stat[aria-pressed=true]{border-color:#007f78;background:#eaf5f1}.work-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px}.work-list-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.work-list-heading h2{margin:0}.package-actions{display:flex;flex-wrap:wrap;gap:4px}.staff-compact .action-next{font-weight:bold;color:#006e68}.staff-compact #address-form{scroll-margin-top:135px}
@media(max-width:650px){.work-summary{grid-template-columns:1fr 1fr;gap:8px}.work-stat{padding:12px;min-height:76px}.work-stat strong{font-size:22px}.staff-compact #staff-packages td:nth-child(4){grid-column:1/-1;font-size:12px;font-weight:600;color:#314c56}.staff-compact #staff-packages td:last-child>div{flex-wrap:wrap;gap:4px 14px}.work-filters{gap:8px}.staff-compact .work-list-heading h2{font-size:16px}}

.staff-compact .identity-toolbar{display:flex;align-items:flex-end;gap:12px;margin:12px 0}.identity-toolbar>div{flex:1}.staff-compact .identity-toolbar label{margin-top:0}.identity-filters{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0}.identity-filters button{border:1px solid var(--line);background:#f7f9fa;border-radius:8px;padding:9px 12px;min-height:44px;font-size:12px;color:#304b55}.identity-filters button[aria-pressed=true]{background:#e5f4ef;border-color:#007f78;color:#00645e;font-weight:bold}.identity-card-list{display:grid;gap:10px}.staff-compact .identity-customer-card{border:1px solid var(--line);border-radius:10px;background:white;min-width:0}.identity-customer-card>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;cursor:pointer;list-style:none;min-height:76px}.identity-customer-card>summary::-webkit-details-marker{display:none}.identity-customer-card>summary:after{content:'+';font-size:20px;color:#007f78}.identity-customer-card[open]>summary:after{content:'−'}.identity-customer-name{flex:1;min-width:0}.identity-customer-name strong{display:block;font-size:14px;overflow-wrap:anywhere}.identity-customer-name small{display:block;font-size:12px;margin-top:4px}.identity-state{font-size:11px;padding:5px 8px;border-radius:6px;background:#f0f3f5;color:#526771}.identity-state.state-pending{background:#fff3dd;color:#855512}.identity-state.state-approved{background:#e5f4ec;color:#246846}.identity-state.state-needs_correction{background:#fff0eb;color:#94412e}.identity-customer-body{padding:16px;border-top:1px solid var(--line);max-width:760px}.identity-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 12px}.identity-facts dt{font-size:11px;color:var(--muted)}.identity-facts dd{font-size:13px;font-weight:600;margin:4px 0;overflow-wrap:anywhere}.identity-trn-line{display:flex;align-items:center;gap:12px;margin-bottom:12px;font-size:14px}.identity-decision{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.staff-compact .identity-check{display:flex;gap:10px;align-items:flex-start;margin:0 0 14px;line-height:1.5}.identity-check input{flex-shrink:0;margin:0}.identity-correction{margin-top:14px}.identity-correction>summary{cursor:pointer;min-height:44px;line-height:44px;font-size:13px;color:#00766c}.staff-compact .identity-correction textarea{margin-bottom:12px;min-height:90px}.identity-feedback{margin:16px 0;background:#fff7ed;padding:12px;border-radius:8px;font-size:12px;overflow-wrap:anywhere}.identity-feedback p{margin-bottom:0}.identity-action-status{font-size:12px;color:#8b3b2b}.identity-action-status:empty{display:none}.identity-approved-note{color:#246846;font-weight:600}.identity-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px;font-size:12px}.identity-empty{padding:18px;background:#f7f9fa;border-radius:8px}.identity-customer-card{scroll-margin-top:140px}
@media(max-width:650px){.identity-customer-card>summary{padding:13px;gap:8px;flex-wrap:wrap}.identity-customer-name{flex-basis:55%}.identity-state{font-size:10px}.identity-customer-body{padding:14px}.identity-toolbar{gap:8px}.staff-compact .identity-toolbar .secondary{padding:10px}.identity-filters button{padding:8px 10px}.identity-customer-body>.secondary,.identity-decision>.primary{width:100%}}
