.staff-admin-layout{display:flex;min-height:100vh;min-height:100dvh;background-color:#f8fafc;color:#0f172a;font-family:var(--usp-font-sans,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif);-webkit-font-smoothing:antialiased;position:relative;overflow-x:hidden;width:100%}@media (min-width:1024px){.staff-admin-page-root{flex:1 1;display:flex;flex-direction:column;width:100%}.staff-admin-layout,.staff-admin-page-root{height:100%;max-height:100%;min-height:0;overflow:hidden}.staff-admin-layout{flex:1 1;overflow-x:hidden}}.staff-preview-banner{position:-webkit-sticky;position:sticky;top:0;left:0;right:0;width:100%;background:linear-gradient(90deg,#0a1128,#152238 60%,#1e293b);border-bottom:2px solid #e5a93c;justify-content:space-between;padding:8px 24px;z-index:120;color:#fff;font-size:12.5px;box-shadow:0 2px 10px rgba(0,0,0,.25);box-sizing:border-box}.staff-preview-banner,.staff-preview-left{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.staff-preview-left{min-width:0}.staff-preview-badge{font-size:10px;padding:2px 8px;border-radius:4px;letter-spacing:.06em;text-transform:uppercase}.staff-preview-badge,.staff-preview-btn{background:#e5a93c;color:#0a1128;font-weight:800;flex-shrink:0}.staff-preview-btn{border:none;border-radius:6px;padding:6px 14px;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all .15s ease;white-space:nowrap}.staff-preview-btn:hover{background:#fcd34d;transform:translateY(-1px)}@media (max-width:768px){.staff-preview-banner{padding:6px 12px}.staff-preview-text-desktop{display:none}.staff-preview-btn{padding:5px 10px;font-size:11px}}.staff-sidebar{width:260px;flex-shrink:0;background-color:#0c192c;color:#fff;display:flex;flex-direction:column;justify-content:flex-start;position:relative;height:100%;max-height:100%;overflow:hidden;z-index:60;border-right:1px solid hsla(0,0%,100%,.08);box-sizing:border-box}.staff-sidebar-scroll-wrapper,.staff-sidebar>div:first-child{display:flex;flex-direction:column;flex:1 1;min-height:0;overflow:hidden}.staff-sidebar-header{padding:20px 20px 16px;border-bottom:1px solid hsla(0,0%,100%,.08);flex-shrink:0}.staff-sidebar-brand{display:flex;align-items:center;gap:12px;text-decoration:none}.staff-sidebar-logo{width:40px;height:40px;border-radius:50%;border:1.5px solid #d49b28;object-fit:cover;flex-shrink:0}.staff-sidebar-brand-title{font-size:13.5px;font-weight:800;color:#fff;letter-spacing:.04em;line-height:1.2}.staff-sidebar-brand-sub{font-size:10px;font-weight:700;color:#d49b28;letter-spacing:.12em}.staff-sidebar-nav{display:flex;flex-direction:column;gap:4px;padding:14px 12px 24px;flex:1 1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(212,175,55,.35) transparent}.staff-sidebar-nav::-webkit-scrollbar{width:4px}.staff-sidebar-nav::-webkit-scrollbar-track{background:transparent}.staff-sidebar-nav::-webkit-scrollbar-thumb{background:rgba(212,175,55,.35);border-radius:4px}.staff-sidebar-nav::-webkit-scrollbar-thumb:hover{background:rgba(212,175,55,.65)}.staff-nav-item{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-radius:10px;font-size:13px;font-weight:600;color:#cbd5e1;text-decoration:none;background:transparent;border:none;cursor:pointer;width:100%;text-align:left;transition:all .15s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.staff-nav-item:hover{background:hsla(0,0%,100%,.08);color:#fff}.staff-nav-item.active{background:#d49b28;color:#0c192c;font-weight:700}.staff-nav-item-left{display:flex;align-items:center;gap:12px;min-width:0}.staff-nav-icon{font-size:16px;flex-shrink:0}.staff-nav-item.active .staff-nav-icon{color:#0c192c}.staff-nav-badge{background:#ef4444;color:#fff;font-size:11px;font-weight:700;padding:2px 7px;border-radius:10px;flex-shrink:0}.staff-nav-item.active .staff-nav-badge{background:#0c192c;color:#fff}.staff-sidebar-banner{margin:auto 12px 16px;background:linear-gradient(180deg,rgba(12,25,44,.85),rgba(5,12,22,.96)),url(https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=400&q=80);background-size:cover;background-position:50%;border-radius:12px;padding:16px 14px;border:1px solid rgba(212,155,40,.3);box-shadow:0 4px 14px rgba(0,0,0,.3);flex-shrink:0}.staff-sidebar-banner-title{font-size:12.5px;font-weight:800;color:#fff;line-height:1.35}.staff-sidebar-banner-sub{font-size:11px;color:#d49b28;margin-top:4px;font-weight:600}.staff-main{flex:1 1;min-width:0;height:100%;max-height:100%;display:flex;flex-direction:column;background-color:#f8fafc;overflow-y:auto;overflow-x:hidden}.staff-top-toolbar{height:64px;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;padding:0 24px;position:-webkit-sticky;position:sticky;top:0;flex-shrink:0;z-index:80;box-shadow:0 1px 3px rgba(0,0,0,.02);gap:16px}.staff-search-box,.staff-top-toolbar{display:flex;align-items:center;box-sizing:border-box}.staff-search-box{gap:10px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:20px;padding:7px 16px;width:100%;max-width:360px;transition:all .15s ease}.staff-search-box:focus-within{background:#fff;border-color:#d4af37;box-shadow:0 0 0 3px rgba(212,175,55,.12)}.staff-search-input{border:none;background:transparent;outline:none;font-size:13px;width:100%;color:#0f172a}.staff-toolbar-right{display:flex;align-items:center;gap:12px;flex-shrink:0}.staff-branch-selector{display:flex;align-items:center;gap:6px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:20px;padding:6px 14px;font-size:12px;font-weight:600;color:#334155;cursor:pointer;max-width:220px;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .15s ease}.staff-branch-selector:hover{background:#f1f5f9;border-color:#94a3b8}.staff-branch-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}.staff-icon-btn{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;background:#f8fafc;border:1px solid #e2e8f0;cursor:pointer;color:#475569;font-size:16px;transition:all .15s ease;flex-shrink:0}.staff-icon-btn:hover{background:#f1f5f9;border-color:#cbd5e1;color:#0f172a}.staff-icon-badge{position:absolute;top:-3px;right:-3px;background:#ef4444;color:#fff;font-size:10px;font-weight:800;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 4px;box-sizing:border-box}.staff-profile-chip{display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px 10px 4px 4px;border-radius:24px;border:1px solid #e2e8f0;background:#f8fafc;transition:all .15s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.staff-profile-chip:hover{background:#f1f5f9;border-color:#cbd5e1}.staff-avatar-img{width:32px;height:32px;border-radius:50%;object-fit:cover;border:1.5px solid #d49b28;flex-shrink:0}.staff-profile-info{display:flex;flex-direction:column;max-width:140px}.staff-profile-name{font-size:12.5px;font-weight:700;color:#0f172a;line-height:1.1}.staff-profile-name,.staff-profile-role{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-profile-role{font-size:10.5px;color:#64748b}.staff-dropdown-menu{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 28px rgba(12,25,44,.12);width:260px;z-index:100;overflow:hidden;box-sizing:border-box;animation:staffFadeIn .15s ease-out}@keyframes staffFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.staff-dropdown-header{padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.staff-dropdown-item{display:flex;align-items:center;gap:10px;padding:10px 16px;font-size:13px;font-weight:600;color:#334155;cursor:pointer;border:none;background:none;width:100%;text-align:left;transition:background .15s ease;box-sizing:border-box}.staff-dropdown-item:hover{background:#f1f5f9;color:#0f172a}.staff-dropdown-item.danger{color:#dc2626;border-top:1px solid #f1f5f9}.staff-dropdown-item.danger:hover{background:#fef2f2}.staff-mobile-top-bar{display:none}@media (max-width:1024px){.staff-sidebar,.staff-top-toolbar{display:none}.staff-mobile-top-bar{display:flex;flex-direction:column;background:#fff;border-bottom:1px solid #e2e8f0;position:-webkit-sticky;position:sticky;top:0;z-index:90;box-shadow:0 1px 3px rgba(0,0,0,.04)}.staff-mobile-header-row{height:56px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.staff-mobile-brand{display:flex;align-items:center;gap:8px;text-decoration:none;flex-shrink:0}.staff-mobile-logo{width:32px;height:32px;border-radius:50%;border:1.5px solid #d49b28;object-fit:cover}.staff-mobile-badge{background:#0c192c;color:#d49b28;font-size:9.5px;font-weight:800;letter-spacing:.08em;padding:2px 6px;border-radius:4px;border:1px solid rgba(212,155,40,.3)}.staff-mobile-branch-btn{display:flex;align-items:center;gap:4px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:16px;padding:5px 10px;font-size:11.5px;font-weight:700;color:#334155;cursor:pointer;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.staff-mobile-right-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.staff-mobile-search-row{padding:0 14px 10px}.staff-mobile-search-box{display:flex;align-items:center;gap:8px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;padding:6px 12px;width:100%;box-sizing:border-box}.staff-mobile-search-input{border:none;background:transparent;outline:none;font-size:12.5px;width:100%;color:#0f172a}}.staff-content-area{padding:24px 28px;display:flex;flex-direction:column;gap:22px;max-width:1400px;width:100%;margin:0 auto;box-sizing:border-box}@media (max-width:1024px){.staff-content-area{padding:16px 14px calc(84px + env(safe-area-inset-bottom, 0px));gap:16px}}.staff-welcome-section{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:12px}.staff-welcome-title{font-size:clamp(1.25rem,3.5vw,1.65rem);font-weight:800;color:#0f172a;margin:4px 0 0;line-height:1.25}.staff-welcome-sub{font-size:13px;color:#64748b;margin-top:4px;line-height:1.45}.staff-permission-notice{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box}.staff-permission-notice-left{display:flex;align-items:center;gap:12px;min-width:0}.staff-permission-notice-icon{width:32px;height:32px;border-radius:8px;background:#d97706;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;flex-shrink:0}.staff-permission-notice-text{font-size:12.5px;color:#92400e;line-height:1.45}.staff-permission-notice-text strong{color:#78350f}.staff-permission-btn{padding:7px 16px;background:#fff;border:1px solid #fde68a;border-radius:8px;font-size:12.5px;font-weight:700;color:#92400e;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:all .15s ease}.staff-permission-btn:hover{background:#fef3c7}@media (max-width:640px){.staff-permission-notice{flex-direction:column;align-items:stretch;gap:10px;padding:12px 14px}.staff-permission-btn{align-self:flex-start;padding:6px 12px;font-size:11.5px}}.staff-kpi-grid{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:14px;gap:14px}@media (max-width:1280px){.staff-kpi-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:768px){.staff-kpi-grid{grid-template-columns:repeat(2,1fr);gap:10px}}@media (max-width:360px){.staff-kpi-grid{grid-template-columns:1fr}}.staff-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px;display:flex;flex-direction:column;justify-content:space-between;min-height:110px;box-shadow:0 1px 3px rgba(0,0,0,.03);box-sizing:border-box;transition:transform .15s ease,box-shadow .15s ease}.staff-kpi-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(12,25,44,.06)}.staff-kpi-top{display:flex;justify-content:space-between;align-items:center}.staff-kpi-icon-wrap{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.staff-kpi-value{font-size:clamp(1.4rem,4vw,1.75rem);font-weight:800;color:#0f172a;line-height:1.1;margin-top:6px}.staff-kpi-label{font-size:11.5px;font-weight:600;color:#64748b;margin-top:3px;line-height:1.25}.staff-kpi-delta{font-size:11px;font-weight:700;color:#10b981;display:flex;align-items:center;gap:3px;margin-top:6px}.staff-kpi-delta.red{color:#ef4444}.staff-dashboard-grid-2{display:grid;grid-template-columns:1fr 1fr;grid-gap:18px;gap:18px}@media (max-width:1024px){.staff-dashboard-grid-2{grid-template-columns:1fr;gap:16px}}.staff-panel-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px;box-shadow:0 1px 3px rgba(0,0,0,.04);display:flex;flex-direction:column;box-sizing:border-box}.staff-panel-header{justify-content:space-between;margin-bottom:14px;flex-wrap:wrap}.staff-panel-header,.staff-panel-title-wrap{display:flex;align-items:center;gap:8px}.staff-panel-title{font-size:14px;font-weight:800;color:#0f172a}.staff-panel-link{font-size:12px;font-weight:700;color:#2563eb;text-decoration:none;background:none;border:none;cursor:pointer;display:flex;align-items:center;gap:3px;padding:0}.staff-panel-link:hover{text-decoration:underline}.staff-task-item{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f1f5f9;gap:8px}.staff-task-item:last-child{border-bottom:none}.staff-task-checkbox-label{display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:600;color:#1e293b;cursor:pointer;min-width:0;flex:1 1}.staff-priority-pill{font-size:10px;font-weight:700;padding:2px 8px;border-radius:10px;flex-shrink:0}.staff-priority-pill.high{background:#fee2e2;color:#dc2626}.staff-priority-pill.medium{background:#fef3c7;color:#d97706}.staff-priority-pill.today{background:#eff6ff;color:#2563eb}.staff-table-wrapper{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;background:#fff;border-radius:10px;border:1px solid #e2e8f0;margin-top:8px;box-sizing:border-box}.staff-table{width:100%;border-collapse:collapse;text-align:left;font-size:12.5px;min-width:580px}.staff-table th{background:#f8fafc;color:#64748b;font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.05em;padding:10px 14px;border-bottom:1px solid #e2e8f0;white-space:nowrap}.staff-table td{padding:12px 14px;border-bottom:1px solid #f1f5f9;color:#334155;vertical-align:middle}.staff-table tr:hover td{background:#f8fafc}.staff-status-badge{font-size:10px;font-weight:700;padding:3px 8px;border-radius:12px;display:inline-block;white-space:nowrap}.staff-status-badge.approved,.staff-status-badge.published{background:#ecfdf5;color:#059669}.staff-status-badge.draft,.staff-status-badge.pending{background:#fef3c7;color:#d97706}.staff-status-badge.processing,.staff-status-badge.sent{background:#eff6ff;color:#2563eb}.staff-mobile-nav-bar{display:none}@media (max-width:1024px){.staff-mobile-nav-bar{display:flex;position:fixed;bottom:0;left:0;right:0;background:#0c192c;border-top:1px solid hsla(0,0%,100%,.12);box-shadow:0 -4px 16px rgba(0,0,0,.25);height:calc(62px + env(safe-area-inset-bottom, 0px));padding-bottom:env(safe-area-inset-bottom,0);z-index:100;justify-content:space-around;align-items:center;box-sizing:border-box}.staff-mobile-nav-tab{flex:1 1;height:100%;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#94a3b8;font-size:10.5px;font-weight:600;text-decoration:none;background:none;border:none;cursor:pointer;transition:color .15s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;padding:0}.staff-mobile-nav-tab:hover{color:#cbd5e1}.staff-mobile-nav-tab.active{color:#d4af37}.staff-mobile-nav-tab.active:before{content:"";position:absolute;top:0;width:28px;height:3px;background:#d4af37;border-radius:0 0 3px 3px}.staff-mobile-nav-icon{font-size:18px;line-height:1}}