.app-shell .content[data-staff-dashboard-active]>.stats-grid.four{display:none!important}
.app-shell .content[data-staff-dashboard-active]>[data-dashboard-warehouse]{display:none!important}
.dashboard-overview{--overview-navy:#0c3556;--overview-blue:#087fbd;--overview-cyan:#37bfe6;--overview-ink:#17354b;--overview-muted:#718697;width:100%;margin:0 0 22px;font-family:'Manrope','Segoe UI',sans-serif;color:var(--overview-ink)}
.dashboard-overview *{box-sizing:border-box}
.dashboard-overview-card{position:relative;overflow:hidden;border:1px solid #cfe4ee;border-radius:20px;background:rgba(255,255,255,.96);box-shadow:0 14px 36px rgba(13,70,101,.09);outline:none;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.dashboard-overview-card:focus-visible{box-shadow:0 0 0 4px rgba(19,174,225,.2),0 14px 36px rgba(13,70,101,.11)}
.dashboard-overview-card:before{content:'';position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--overview-navy),var(--overview-blue),var(--overview-cyan))}
.dashboard-overview-card.is-expanded{border-color:#a9d8e9;box-shadow:0 18px 42px rgba(10,84,123,.13)}
.overview-profile-card{margin-bottom:16px}
.overview-card-head{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:20px 22px}
.overview-card-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:15px;background:linear-gradient(145deg,#0b436c,#109ed4);color:#fff;box-shadow:0 9px 20px rgba(8,127,189,.2)}
.overview-card-icon.active{background:linear-gradient(145deg,#087fbd,#39c4e7)}
.overview-card-icon.warehouse{background:linear-gradient(145deg,#0a5d86,#13a8cf)}
.overview-card-icon svg,.overview-edit-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.overview-card-title{min-width:0}
.overview-card-title>small,.overview-dialog-head small{display:block;margin-bottom:3px;color:#0783b9;font-size:12px;font-weight:800;letter-spacing:.1em}
.overview-card-title h2{margin:0;overflow-wrap:anywhere;color:#123a55;font-size:21px;line-height:1.25}
.overview-card-title p{margin:5px 0 0;overflow:hidden;color:var(--overview-muted);font-size:12px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}
.overview-edit-button{display:inline-flex;height:39px;align-items:center;gap:7px;padding:0 13px;border:1px solid #c9e4ef;border-radius:11px;background:#f1fbff;color:#087eaf;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer}
.overview-edit-button svg{width:16px;height:16px}
.overview-edit-button:hover{background:#e1f6fe;border-color:#9dd7eb}
.overview-head-summary{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:16px;align-items:center;margin:0 22px 18px;padding:15px 17px;border:1px solid #d9e9f0;border-radius:15px;background:linear-gradient(115deg,#f7fcfe,#eefaff)}
.overview-summary-label{color:#4f7187;font-size:12px;font-weight:800;letter-spacing:.06em}
.overview-head-summary>div,.overview-role>div,.overview-active-row>div{display:flex;align-items:center;gap:10px;min-width:0}
.overview-avatar{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:12px;background:linear-gradient(145deg,#d9f4ff,#c8eaf7);color:#09658d;font-size:12px;font-weight:900}
.overview-person-copy{min-width:0}
.overview-person-copy b,.overview-person-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.overview-person-copy b{color:#173b53;font-size:13px}
.overview-person-copy small{margin-top:3px;color:#768b9a;font-size:12px}
.overview-interaction-hint{color:#77909f;font-size:12px}
.dashboard-overview-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:0;margin:0 22px;overflow:hidden;opacity:0;transition:max-height .24s ease,opacity .2s ease,margin .24s ease}
.dashboard-overview-preview>span{min-width:0;padding:10px 12px;border-radius:11px;background:#eff9fd;color:#668091;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-overview-preview b{display:block;margin-bottom:3px;color:#1b526e;font-size:12px}
.dashboard-overview-card.is-expanded .dashboard-overview-preview{display:none}
@media(hover:hover){
 .dashboard-overview-card:not(.is-expanded):hover{transform:translateY(-2px);border-color:#a8d7e8;box-shadow:0 18px 40px rgba(13,70,101,.13)}
 .dashboard-overview-card:not(.is-expanded):hover .dashboard-overview-preview,.dashboard-overview-card:not(.is-expanded):focus-within .dashboard-overview-preview{max-height:120px;margin-bottom:18px;opacity:1}
}
.dashboard-overview-expanded{display:none;margin:0 22px 20px;padding-top:18px;border-top:1px solid #e1edf2}
.dashboard-overview-card.is-expanded .dashboard-overview-expanded{display:block;animation:overview-reveal .25s ease both}
.dashboard-overview-expanded>h3,.overview-section-heading h3{margin:0 0 12px;color:#173b53;font-size:14px}
.overview-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:19px}
.overview-contact-grid>span{min-width:0;padding:12px 14px;border:1px solid #dcebf1;border-radius:12px;background:#f8fcfe}
.overview-contact-grid small,.overview-contact-grid b{display:block;overflow-wrap:anywhere}
.overview-contact-grid small{margin-bottom:4px;color:#78909f;font-size:12px;font-weight:800}
.overview-contact-grid b{color:#244b63;font-size:12px}
.overview-role-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.overview-role{min-width:0;padding:12px;border:1px solid #dbeaf0;border-radius:13px;background:#fbfdfe}
.overview-role>span{display:block;margin-bottom:10px;color:#087eae;font-size:12px;font-weight:800}
.overview-role .overview-avatar{width:34px;height:34px;flex-basis:34px;border-radius:10px}
.overview-role .overview-person-copy small{white-space:normal}
.overview-section-heading{display:flex;align-items:end;justify-content:space-between;margin:21px 0 10px}
.overview-section-heading h3{margin-bottom:2px}
.overview-section-heading p{margin:0;color:#7a8e9c;font-size:12px}
.overview-division-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.overview-division-group{min-width:0;padding:13px;border:1px solid #dcebf1;border-radius:13px;background:#f8fcfe}
.overview-division-group header,.overview-stock-group header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.overview-division-group header b,.overview-stock-group header b{color:#17445f;font-size:13px}
.overview-division-group header span,.overview-stock-group header span{color:#7a909e;font-size:12px}
.overview-division-group>div{display:flex;flex-wrap:wrap;gap:6px}
.overview-division-group>div>span{padding:6px 8px;border-radius:8px;background:#e7f6fc;color:#315c73;font-size:12px}
.dashboard-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.overview-compact-card{min-width:0}
.overview-count{display:grid;min-width:46px;height:46px;padding:0 10px;place-items:center;border-radius:14px;background:#e4f7fe;color:#0878a9;font-size:21px;font-variant-numeric:tabular-nums}
.overview-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 22px;border-top:1px solid #e2edf2;background:#fbfdfe}
.overview-card-footer>span{overflow:hidden;color:#728897;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.overview-card-footer button,.dashboard-overview-error button{height:34px;flex:0 0 auto;padding:0 13px;border:0;border-radius:10px;background:linear-gradient(135deg,#087fbd,#29b9df);box-shadow:0 7px 16px rgba(8,127,189,.16);color:#fff;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer}
.overview-card-footer button:hover,.dashboard-overview-error button:hover{filter:brightness(.96);transform:translateY(-1px)}
.overview-active-head,.overview-active-row{display:grid;grid-template-columns:minmax(190px,1.5fr) minmax(120px,1fr) 72px 64px;gap:12px;align-items:center}
.overview-active-head{padding:0 5px 9px;color:#7b909e;font-size:12px;font-weight:800;text-transform:uppercase}
.overview-active-row{min-height:58px;padding:8px 5px;border-top:1px solid #e4edf2;color:#355a70;font-size:12px}
.overview-active-row>em{display:inline-flex;width:max-content;padding:5px 8px;border-radius:999px;background:#dcf8ec;color:#08785a;font-size:12px;font-style:normal;font-weight:800}
.overview-empty{grid-column:1/-1;margin:0;padding:18px;text-align:center;color:#718898;font-size:12px}
.overview-stock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:420px;overflow:auto}
.overview-stock-group{min-width:0;padding:13px;border:1px solid #dbeaf0;border-radius:13px;background:#f9fcfd}
.overview-stock-group>div{display:grid;gap:5px}
.overview-stock-group>div>span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px;border-radius:9px;background:#fff;color:#31586e;font-size:12px}
.overview-stock-group>div>span b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.overview-stock-group>div>span small{flex:0 0 auto;color:#668393;font-size:12px}
.overview-stock-group p{margin:0;padding:10px;color:#8094a0;font-size:12px;text-align:center}
.dashboard-overview-skeleton{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dashboard-overview-skeleton span{height:170px;border:1px solid #d8e9f0;border-radius:20px;background:linear-gradient(100deg,#f5fafc 20%,#e9f5f9 42%,#f5fafc 64%);background-size:250% 100%;animation:overview-loading 1.4s infinite}
.dashboard-overview-skeleton span:first-child{grid-column:1/-1;height:205px}
.dashboard-overview-error{display:grid;min-height:190px;place-content:center;justify-items:center;padding:25px;border:1px solid #f0cccc;border-radius:18px;background:#fffafa;text-align:center}
.dashboard-overview-error b{color:#8d3434;font-size:14px}
.dashboard-overview-error span{margin:6px 0 14px;color:#9b6262;font-size:12px}
.overview-dialog-open{overflow:hidden}
.overview-dialog-backdrop{position:fixed;z-index:10050;inset:0;display:grid;place-items:center;padding:20px;background:rgba(6,32,51,.58);backdrop-filter:blur(6px)}
.overview-profile-dialog{width:min(600px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:24px;border:1px solid rgba(255,255,255,.55);border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(4,35,55,.3);font-family:'Manrope','Segoe UI',sans-serif}
.overview-dialog-head{display:grid;grid-template-columns:48px minmax(0,1fr) 36px;gap:12px;align-items:center;margin-bottom:20px}
.overview-dialog-head h2{margin:0;color:#173b53;font-size:20px}
.overview-dialog-head>button{width:34px;height:34px;border:0;border-radius:10px;background:#edf6fa;color:#46687c;font-size:24px;cursor:pointer}
.overview-profile-dialog>label,.overview-dialog-grid label{display:grid;gap:6px;margin-bottom:13px;color:#31566e;font-size:12px;font-weight:800}
.overview-profile-dialog input,.overview-profile-dialog textarea{width:100%;border:1px solid #cfdfe7;border-radius:11px;background:#f9fcfd;color:#183b52;font:600 13px 'Manrope','Segoe UI',sans-serif;outline:none}
.overview-profile-dialog input{height:44px;padding:0 12px}
.overview-profile-dialog textarea{min-height:80px;padding:11px 12px;resize:vertical}
.overview-profile-dialog input:focus,.overview-profile-dialog textarea:focus{border-color:#24a9d6;box-shadow:0 0 0 3px rgba(36,169,214,.13)}
.overview-dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.overview-dialog-message{min-height:18px;margin:2px 0 8px;color:#16805f;font-size:12px;font-weight:700}
.overview-dialog-message.is-error{color:#b03939}
.overview-dialog-actions{display:flex;justify-content:flex-end;gap:9px}
.overview-dialog-actions button{height:40px;padding:0 16px;border:1px solid #cee0e8;border-radius:10px;background:#fff;color:#45667a;font:800 12px 'Manrope','Segoe UI',sans-serif;cursor:pointer}
.overview-dialog-actions button[type=submit]{border:0;background:linear-gradient(135deg,#087fbd,#2ebde3);color:#fff;box-shadow:0 8px 19px rgba(8,127,189,.18)}
.overview-dialog-actions button:disabled{opacity:.6;cursor:wait}
@keyframes overview-loading{to{background-position:-150% 0}}
@keyframes overview-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}

@media(max-width:1080px){
 .overview-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .overview-division-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
 .dashboard-overview{margin:0 0 14px}
 .dashboard-overview-card{border-radius:17px;box-shadow:0 9px 24px rgba(13,70,101,.09)}
 .overview-profile-card{margin-bottom:12px}
 .overview-card-head{grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:16px}
 .overview-card-icon{width:42px;height:42px;border-radius:13px}
 .overview-card-icon svg{width:20px;height:20px}
 .overview-card-title h2{font-size:17px}
 .overview-card-title p{font-size:12px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 .overview-edit-button{width:38px;height:38px;padding:0;justify-content:center}
 .overview-edit-button span{display:none}
 .overview-head-summary{grid-template-columns:1fr;margin:0 16px 14px;padding:13px;gap:8px}
 .overview-head-summary>div{order:2}
 .overview-summary-label{order:1}
 .overview-interaction-hint{order:3}
 .dashboard-overview-preview{grid-template-columns:1fr;margin-inline:16px}
 .dashboard-overview-expanded{margin:0 16px 16px;padding-top:14px}
 .overview-contact-grid,.overview-dialog-grid,.overview-role-grid,.overview-division-list,.dashboard-overview-grid,.overview-stock-grid{grid-template-columns:1fr}
 .overview-role{padding:11px}
 .overview-section-heading{margin-top:17px}
 .overview-card-footer{padding:11px 16px}
 .overview-card-footer>span{max-width:58%}
 .overview-active-head{display:none}
 .overview-active-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:11px 2px}
 .overview-active-row>span{grid-column:1;color:#6f8796}
 .overview-active-row>b{grid-column:2;grid-row:1;color:#17455e}
 .overview-active-row>em{grid-column:2;grid-row:2}
 .overview-stock-grid{max-height:480px}
 .dashboard-overview-skeleton{grid-template-columns:1fr;gap:12px}
 .dashboard-overview-skeleton span,.dashboard-overview-skeleton span:first-child{grid-column:auto;height:150px}
 .overview-profile-dialog{padding:18px;border-radius:17px}
 .overview-dialog-head{grid-template-columns:42px minmax(0,1fr) 34px}
 .overview-dialog-head h2{font-size:17px}
 .overview-dialog-actions{display:grid;grid-template-columns:1fr 1fr}
 .overview-dialog-actions button{width:100%}
}

@media(prefers-reduced-motion:reduce){
 .dashboard-overview-card,.dashboard-overview-preview,.dashboard-overview-card.is-expanded .dashboard-overview-expanded,.dashboard-overview-skeleton span{animation:none;transition:none}
}
