@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
.bulk-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:18px}.bulk-select{display:grid;gap:11px}.select-all{display:flex;align-items:center;gap:8px;color:#344963;font-size:11px;font-weight:700;cursor:pointer}.select-all input,.check-col input,.staff-row input[type=checkbox]{width:16px;height:16px;accent-color:#2764e7}.bulk-controls{display:flex;align-items:flex-end;gap:10px}.bulk-controls label{display:grid;gap:5px;color:#718096;font-size:9px;font-weight:700}.bulk-controls select{height:38px;min-width:155px;padding:0 10px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#273950;font:11px 'DM Sans',sans-serif}.staff-search{height:38px;width:min(100%,340px);display:flex;align-items:center;gap:8px;padding:0 10px;margin:0 0 12px;border:1px solid #dfe6ef;border-radius:7px;color:#8b98a9}.staff-search input{border:0;outline:0;width:100%;font:11px 'DM Sans',sans-serif}.check-col{width:48px}.staff-row input{cursor:pointer}.form-hint{margin-top:13px}@media(max-width:900px){.bulk-toolbar{align-items:stretch;flex-direction:column}.bulk-controls{flex-wrap:wrap}.bulk-controls label{flex:1;min-width:150px}}
.modal-card textarea{width:100%;resize:vertical;min-height:115px;border:1px solid #dfe6ef;border-radius:7px;padding:10px;color:#273950;font:11px/1.5 'DM Sans',sans-serif;outline:none}.modal-card textarea:focus{border-color:#75a0fa;box-shadow:0 0 0 3px #eaf1ff}.movement-actions{display:grid;gap:7px;justify-items:start}.observation-cell{white-space:normal;min-width:140px;max-width:230px}
.snack-observation{display:grid;gap:7px;justify-items:start;min-width:130px}.snack-observation .observation-cell{font-size:10px}
.filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.filter-grid input[type=date],.modal-card select{width:100%;height:39px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;padding:0 10px;color:#273950;font:11px 'DM Sans',sans-serif}.filter-grid label,.modal-card>label{display:grid;gap:6px;color:#52627a;font-size:10px;font-weight:600}@media(max-width:480px){.filter-grid{grid-template-columns:1fr}}
.btn-danger{background:#fff0ee;color:#b83e32;border:1px solid #ffd6d1}.btn-danger:hover{background:#ffe4df}
.import-note{display:grid;gap:5px;padding:12px;border:1px solid #e4ebf4;border-radius:8px;background:#f8fafd;color:#66778f;font-size:10px}.import-note b{font-size:10px;color:#40536d}.import-note code{font:600 10px 'DM Sans',sans-serif;color:#3467c5}.import-note span{font-weight:700;color:#293b53}.import-note small{font-size:9px;line-height:1.5}
.account-name-wrap{position:relative;display:grid;gap:6px}.account-name-wrap>label{color:#52627a;font-size:10px;font-weight:600}.account-name-wrap>input{height:39px;border:1px solid #dfe6ef;border-radius:7px;padding:0 11px;font:11px 'DM Sans',sans-serif;color:#273950;outline:none}.account-name-wrap>input:focus{border-color:#75a0fa;box-shadow:0 0 0 3px #eaf1ff}.account-suggestions{position:absolute;z-index:5;top:64px;left:0;right:0;max-height:220px;overflow:auto;padding:5px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;box-shadow:0 12px 30px #1830511c}.account-suggestion{width:100%;padding:9px 10px;border:0;border-radius:5px;background:white;text-align:left;color:#31445d;font:11px 'DM Sans',sans-serif;cursor:pointer}.account-suggestion:hover{background:#eef4ff;color:#2458c6}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.staff-help{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:280px;padding:30px}.staff-help-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#eaf1ff;color:#3467c5;font-size:23px}.staff-help h2{margin-top:18px}.profile-layout{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(360px,1.35fr);gap:16px;max-width:900px}.profile-card{text-align:center;padding:30px 20px}.profile-avatar-large{width:68px;height:68px;margin:5px auto 14px;border-radius:50%;display:grid;place-items:center;background:#eaf1ff;color:#3467c5;font:700 25px Manrope}.profile-card h2{margin:0 0 5px}.profile-note{margin-top:24px;padding:13px;border-radius:8px;background:#f5f8fc;color:#75849a;font-size:10px;line-height:1.6}.profile-divider{height:1px;background:var(--line);margin:2px 0 -2px}
.movement-form{display:flex;align-items:center;gap:6px}.destination-input{width:145px;height:30px;border:1px solid #dfe6ef;border-radius:6px;padding:0 7px;font:10px 'DM Sans',sans-serif;color:#273950}.destination-input:focus{outline:2px solid #eaf1ff;border-color:#75a0fa}
.profile-layout{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(360px,1.35fr);gap:16px;max-width:900px}.profile-card{text-align:center;padding:30px 20px}.profile-avatar-large{width:68px;height:68px;margin:5px auto 14px;border-radius:50%;display:grid;place-items:center;background:#eaf1ff;color:#3467c5;font:700 25px Manrope}.profile-card h2{margin:0 0 5px}.profile-note{margin-top:24px;padding:13px;border-radius:8px;background:#f5f8fc;color:#75849a;font-size:10px;line-height:1.6}.profile-divider{height:1px;background:var(--line);margin:2px 0 -2px}#worker-assignment{display:grid;gap:13px}#worker-assignment[hidden]{display:none}
:root{--ink:#14243b;--muted:#77849a;--line:#e8edf3;--blue:#2764e7;--navy:#0c1d35;--bg:#f6f8fb}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;padding:27px 16px 16px;background:var(--navy);color:#e8eef7;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:11px;padding:0 10px;color:white;text-decoration:none;font-family:Manrope,sans-serif}.brand b{display:block;font-size:18px;letter-spacing:-.4px}.brand small{display:block;margin-top:3px;font:600 9px 'DM Sans',sans-serif;letter-spacing:1.25px;color:#8fa2bc}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#548aff,#2461eb);box-shadow:0 5px 14px #1743a65c;font:bold 22px Manrope}.nav-label{margin:48px 10px 12px;font-size:9px;letter-spacing:1.35px;font-weight:700;color:#7588a4}.sidebar nav{display:grid;gap:5px}.nav-link{height:43px;padding:0 11px;display:flex;align-items:center;gap:12px;color:#a9b8cc;text-decoration:none;border-radius:9px;font-size:12px;font-weight:500;transition:.2s}.nav-link>span{width:20px;font-size:16px;text-align:center}.nav-link:hover,.nav-link.active{background:#1b3150;color:white}.nav-link.active{box-shadow:inset 2px 0 #5d91ff}.sidebar-bottom{margin-top:auto}.help-box{margin:0 3px 16px;padding:15px 13px;border:1px solid #203650;border-radius:11px;background:#132a46}.help-icon{color:#77a2ff}.help-box b{display:block;margin:7px 0 4px;font-size:11px}.help-box p{margin:0;color:#8ea2bc;font-size:10px;line-height:1.55}.profile{border-top:1px solid #263b55;padding:15px 2px 0;display:flex;align-items:center;gap:9px}.avatar{width:32px;height:32px;border-radius:50%;background:#e0e9fb;color:#315eae;display:grid;place-items:center;font-weight:700}.profile-info{min-width:0;flex:1}.profile-info b,.profile-info small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-info b{font-size:11px}.profile-info small{margin-top:3px;font-size:10px;color:#8fa2bc}.logout{background:none;border:0;color:#a4b4ca;font-size:19px;cursor:pointer}.main-content{margin-left:230px;min-height:100vh}.topbar{height:63px;padding:0 38px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.breadcrumbs{font-size:9px;letter-spacing:1.1px;font-weight:700;color:#9aa6b6}.breadcrumbs span{padding:0 8px;color:#c3ccd7}.breadcrumbs b{color:#56657c}.top-actions{display:flex;align-items:center;gap:7px;color:#718096;font-size:10px}.live-dot,.live-tag i{width:7px;height:7px;border-radius:50%;background:#27bd83;box-shadow:0 0 0 3px #e0f7ed}.top-date{margin-left:15px;padding-left:15px;border-left:1px solid var(--line);color:#45556c}.page-wrap{max-width:1450px;margin:auto;padding:35px 38px 55px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:1.45px;font-weight:700;color:#71839d}.page-heading h1,.login-card h1{font:800 27px Manrope,sans-serif;letter-spacing:-.8px;margin:8px 0 5px;color:#162740}.muted{color:var(--muted);font-size:12px;margin:0;line-height:1.55}.wave{color:#f3ae48;font-size:20px}.btn{height:39px;border:0;padding:0 15px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font:600 11px 'DM Sans',sans-serif;text-decoration:none;cursor:pointer;transition:.2s}.btn-primary{background:var(--blue);color:#fff;box-shadow:0 4px 10px #2764e729}.btn-primary:hover{background:#174fc9;transform:translateY(-1px)}.btn-full{width:100%;margin-top:4px}.btn-small{height:30px;padding:0 10px;font-size:10px}.btn-outline{border:1px solid #dbe4f0;background:#fff;color:#41628d}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.stat-card,.section-card{background:white;border:1px solid var(--line);border-radius:11px;box-shadow:0 2px 8px #18305106}.stat-card{padding:17px 18px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#77849a;font-size:9px;font-weight:700;letter-spacing:.55px}.stat-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-style:normal;font-size:14px}.blue{background:#eaf1ff;color:#3971e5}.violet{background:#f0ebff;color:#8058d6}.amber{background:#fff4df;color:#cf8d19}.green{background:#e3f8ee;color:#16895d}.stat-card strong{display:block;margin:12px 0 3px;font:800 27px Manrope}.stat-card>small{font-size:10px;color:#98a4b4}.welcome-card{padding:26px;display:flex;justify-content:space-between;overflow:hidden;min-height:214px}.welcome-card h2,.section-card h2{font:700 16px Manrope;margin:8px 0}.welcome-card p{max-width:470px}.quick-links{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.quick-links a{border:1px solid var(--line);padding:9px 11px;border-radius:7px;color:#47617f;text-decoration:none;font-size:10px;font-weight:600}.quick-links a:hover{border-color:#a9c4fa;color:#2458c6}.welcome-art{position:relative;width:130px;height:130px;margin:20px 30px;border-radius:35px;background:linear-gradient(145deg,#edf3ff,#dce8ff);display:grid;place-items:center;font-size:70px;color:#73a0ff;transform:rotate(-8deg)}.welcome-art span{position:absolute;right:13px;top:4px;color:#ffa951;font-size:29px}.two-col{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(420px,1.3fr);gap:16px}.section-card{padding:20px;margin-bottom:17px;min-width:0}.form-stack{display:grid;gap:13px;margin-top:17px}.form-stack label,.modal-card label{display:grid;gap:6px;color:#52627a;font-size:10px;font-weight:600}.form-stack input,.form-stack select,.modal-card input,.modal-card select{height:39px;border:1px solid #dfe6ef;border-radius:7px;background:white;padding:0 11px;color:#273950;font:400 11px 'DM Sans',sans-serif;outline:none}.form-stack input:focus,.form-stack select:focus,.modal-card input:focus,.modal-card select:focus{border-color:#75a0fa;box-shadow:0 0 0 3px #eaf1ff}.table-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.table-heading h2{margin:0 0 4px}.table-heading p{font-size:10px}.table-wrap{width:100%;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead th{padding:10px 11px;background:#f7f9fc;color:#8b98a9;font-size:8px;font-weight:700;letter-spacing:.65px;text-transform:uppercase}tbody td{padding:11px;border-bottom:1px solid #edf0f4;color:#65748a;font-size:10px}tbody tr:last-child td{border-bottom:0}tbody td b{color:#293b53;font-size:10px}.badge{display:inline-flex;padding:5px 8px;border-radius:20px;font-size:9px;font-weight:600}.badge.neutral{background:#f0f3f7;color:#65748a}.badge.green{background:#e4f7ed;color:#21835e}.badge.amber{background:#fff3df;color:#b67c14}.reason-chip{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:6px;background:#eaf1ff;color:#3467c5;font-weight:700;font-size:10px}.office-list,.reason-list{display:grid;margin-top:14px}.office-item,.reason-item{min-height:51px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #eff2f5;font-size:11px}.office-item b,.reason-item b{flex:1}.office-icon{width:29px;height:29px;display:grid;place-items:center;background:#eef3ff;border-radius:8px;color:#4b75cb}.reason-number{width:26px;height:26px;display:grid;place-items:center;border-radius:7px;background:#edf3ff;color:#3167d5;font-weight:700}.empty{text-align:center;color:#99a4b3;padding:28px!important}.alert{margin:0 0 17px;padding:11px 14px;border-radius:8px;font-size:11px;transition:.3s}.alert.success{background:#e8f8ef;color:#247a54}.alert.error{background:#fff0ee;color:#ad4035}.alert.fade{opacity:0}.reason-chip+.dummy{display:none}.date-pill{padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:#61728b;font-size:10px}.info-banner{display:flex;gap:12px;align-items:center;padding:14px 17px;margin-bottom:17px;border:1px solid #dfe9ff;border-radius:10px;background:#f0f5ff;color:#3b65ac}.info-banner>span{font-size:18px}.info-banner b{font-size:11px}.info-banner p{margin:4px 0 0;color:#7184a4;font-size:10px}.live-tag{display:flex;align-items:center;gap:8px;color:#687b91;font-size:10px}.live-tag i{display:block}.inline-destination{margin:0}.inline-destination span{color:#65748a}.snack-hero{margin-bottom:17px;padding:24px 27px;min-height:145px;display:flex;align-items:center;justify-content:space-between;border-radius:12px;background:linear-gradient(110deg,#152d4c,#204d75);color:white;overflow:hidden}.snack-hero .eyebrow{color:#a8c9ee}.snack-hero h2{margin:8px 0;font:700 20px Manrope}.snack-hero p{max-width:510px;margin:0;color:#bdd0e3;font-size:11px}.snack-clock{width:78px;height:78px;border:1px solid #ffffff38;border-radius:50%;display:grid;place-items:center;color:#b9d4f5;font-size:37px;background:#ffffff0d}.login-page{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 20% 10%,#e8f0ff,transparent 40%),var(--bg)}.login-card{width:min(100%,420px);padding:35px;background:white;border:1px solid var(--line);border-radius:15px;box-shadow:0 18px 60px #18305113}.login-brand{padding:0;margin-bottom:33px;color:var(--ink)}.login-brand small{color:#8392a7}.login-card h1{font-size:24px}.login-card>.muted{margin-bottom:23px}.login-foot{margin-top:23px;padding-top:16px;border-top:1px solid var(--line);text-align:center;color:#95a1b1;font-size:9px}.login-page>.alert{position:absolute;top:20px;width:min(90%,420px)}dialog{border:0;padding:0;border-radius:13px;box-shadow:0 20px 80px #10244438;width:min(100% - 30px,460px)}dialog::backdrop{background:#07162d80;backdrop-filter:blur(3px)}.modal-card{padding:24px;display:grid;gap:14px}.modal-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:3px}.modal-top h2{font:700 18px Manrope;margin:6px 0}.modal-close{border:0;background:#f0f3f8;border-radius:50%;width:28px;height:28px;font-size:20px;color:#718096;cursor:pointer}.modal-card .btn{margin-top:4px}.login-card .form-stack{gap:15px}.login-card .form-stack label{font-size:11px}.login-card .form-stack input{height:43px;font-size:12px}@media(max-width:1050px){.page-wrap{padding:28px 23px}.topbar{padding:0 23px}.stat-grid{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.welcome-art{margin-right:5px}}@media(max-width:700px){.sidebar{width:66px;padding:20px 8px}.brand{padding:0;justify-content:center}.brand>span:last-child,.nav-label,.nav-link:not(.active){font-size:0}.brand-mark{flex:none}.sidebar nav{margin-top:35px}.nav-link{justify-content:center;padding:0}.nav-link>span{font-size:17px}.nav-link.active{font-size:0}.help-box,.profile-info,.logout{display:none}.profile{justify-content:center}.main-content{margin-left:66px}.page-wrap{padding:23px 14px}.topbar{height:52px;padding:0 14px}.breadcrumbs{font-size:8px}.top-actions{font-size:0}.top-date{font-size:9px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:23px}.stat-grid{gap:9px}.stat-card{padding:13px}.stat-top{font-size:8px}.stat-card strong{font-size:23px}.welcome-card{padding:18px}.welcome-art{display:none}.quick-links{gap:6px}.quick-links a{padding:8px;font-size:9px}.two-col{display:block}.section-card{padding:15px}.snack-hero{padding:20px}.snack-clock{width:54px;height:54px;font-size:26px}.date-pill{font-size:9px}}

/* Responsive layout across desktop, tablet and mobile */
html{scrollbar-gutter:stable}body{overflow-x:hidden}.main-content{min-width:0}.page-wrap{width:100%;min-width:0}.section-card,.stat-card{min-width:0}.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}dialog{max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);overflow-y:auto}dialog[open]{margin:auto}.modal-card{min-width:0}.form-stack input,.form-stack select,.modal-card input,.modal-card select,.modal-card textarea{max-width:100%}.mobile-nav-toggle{display:none}.nav-overlay[hidden]{display:none!important}
@media(max-width:1100px){.page-wrap{padding:28px 24px}.topbar{padding:0 24px}.two-col{grid-template-columns:minmax(0,1fr)}.profile-layout{grid-template-columns:minmax(0,1fr);max-width:760px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-art{margin-right:8px}.bulk-toolbar{align-items:stretch;flex-direction:column}.bulk-controls{flex-wrap:wrap}.bulk-controls label{flex:1;min-width:150px}}
@media(max-width:800px){
  .sidebar{position:fixed;inset:0 auto 0 0;width:min(270px,78vw);height:100dvh;min-height:100dvh;padding:20px 14px 14px;overflow-y:auto;transform:translateX(-105%);transition:transform .22s ease;z-index:30;box-shadow:12px 0 36px #07162d30}
  .sidebar.mobile-open{transform:translateX(0)}.sidebar .brand{padding:0 8px;justify-content:flex-start}.sidebar .brand>span:last-child{display:block;font-size:inherit}.sidebar .nav-label{display:block;margin:28px 10px 12px;font-size:9px}.sidebar nav{margin-top:0;display:grid;gap:5px}.sidebar .nav-link,.sidebar .nav-link:not(.active),.sidebar .nav-link.active{height:auto;min-height:44px;justify-content:flex-start;padding:0 11px;font-size:12px}.sidebar .nav-link>span{font-size:16px}.sidebar .sidebar-bottom{margin-top:auto}.sidebar .profile{justify-content:flex-start}.sidebar .profile-info,.sidebar .logout{display:block}.nav-overlay{display:block;position:fixed;inset:0;width:100%;height:100%;padding:0;border:0;background:#07162d80;backdrop-filter:blur(2px);z-index:25}
  .main-content{width:100%;margin-left:0;min-width:0}.topbar{height:56px;padding:0 12px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:8px}.mobile-nav-toggle{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#31445d;font-size:18px;cursor:pointer}.breadcrumbs{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;letter-spacing:.5px}.breadcrumbs span{padding:0 4px}.top-actions{gap:0;font-size:0}.top-actions>span:nth-child(2){display:none}.live-dot{flex:none}.top-date{margin-left:8px;padding-left:8px;font-size:9px;white-space:nowrap}
  .page-wrap{padding:22px 14px 35px}.page-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:18px}.page-heading h1{font-size:23px;line-height:1.2;overflow-wrap:anywhere}.page-heading .btn,.page-heading>a{align-self:flex-start}.eyebrow{font-size:8px}.muted{font-size:11px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:13px}.stat-top{font-size:8px;gap:5px}.stat-card strong{font-size:23px}.welcome-card{padding:18px;min-height:auto}.welcome-art{display:none}.two-col{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.section-card{padding:14px;margin-bottom:13px;border-radius:10px}.section-card h2{font-size:15px}.table-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.table-wrap{margin-right:-2px}table{min-width:700px}thead th{padding:9px;font-size:8px}tbody td{padding:9px;font-size:10px}.empty{white-space:normal!important}.quick-links{gap:7px}.quick-links a{min-height:38px;padding:9px;font-size:9px}.btn{min-height:40px;height:auto;padding:10px 12px;font-size:11px}.btn-small{min-height:36px;padding:8px 10px}.form-stack{gap:12px}.form-stack label,.modal-card label{font-size:11px}.form-stack input,.form-stack select,.modal-card input,.modal-card select{height:42px;font-size:12px}.bulk-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.bulk-controls label,.bulk-controls select{width:100%;min-width:0}.staff-search{width:100%;max-width:none}.report-search{margin:10px 0}.filter-grid{grid-template-columns:minmax(0,1fr)}.snack-hero{min-height:unset;padding:19px}.snack-hero h2{font-size:18px}.snack-hero p{font-size:10px}.snack-clock{width:48px;height:48px;font-size:24px;flex:none;margin-left:10px}.date-pill{font-size:9px}.movement-form{flex-wrap:wrap}.destination-input{width:min(100%,180px);height:36px}.movement-actions{gap:6px}.observation-cell{min-width:120px}.staff-help{min-height:unset;padding:20px}.profile-layout{grid-template-columns:minmax(0,1fr)}.profile-card{padding:22px 16px}.login-page{padding:14px}.login-card{padding:24px 20px;border-radius:12px}.login-card h1{font-size:22px}.login-brand{margin-bottom:25px}.login-page>.alert{position:fixed;top:10px;left:5%;width:90%}.modal-card{padding:18px;gap:12px}.modal-top h2{font-size:17px}.account-suggestions{max-height:35dvh}
}
@media(max-width:420px){.page-wrap{padding:18px 10px 28px}.topbar{padding:0 8px;grid-template-columns:34px minmax(0,1fr) auto;gap:6px}.breadcrumbs{font-size:7px}.top-date{font-size:8px;margin-left:5px;padding-left:5px}.page-heading h1{font-size:21px}.stat-grid{gap:7px}.stat-card{padding:10px}.stat-top{letter-spacing:.2px}.stat-icon{width:26px;height:26px}.section-card{padding:12px}.snack-hero{padding:16px}.snack-clock{width:40px;height:40px}.login-card{padding:22px 17px}.bulk-select{gap:8px}.select-all{font-size:10px}}
@media(max-width:350px){.top-date{display:none}.topbar{grid-template-columns:34px minmax(0,1fr) 8px}.page-heading h1{font-size:19px}.stat-grid{grid-template-columns:1fr 1fr}.sidebar{width:100vw}}
body.menu-open{overflow:hidden}@media(max-width:800px){html{scrollbar-gutter:auto}}

/* Unified data table system */
.table-wrap{border:1px solid #e6edf4;border-radius:11px;background:#fff;box-shadow:0 3px 12px #19395a08;scrollbar-color:#b8c7d9 #f1f4f8;scrollbar-width:thin}.table-wrap::-webkit-scrollbar{height:9px;width:9px}.table-wrap::-webkit-scrollbar-track{background:#f1f4f8;border-radius:8px}.table-wrap::-webkit-scrollbar-thumb{background:#bdcad9;border:2px solid #f1f4f8;border-radius:8px}table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;text-align:left;white-space:nowrap}thead{position:sticky;top:0;z-index:1}thead th{padding:13px 14px;background:linear-gradient(180deg,#f6f9fc,#f0f4f8);border-bottom:1px solid #e5ebf2;color:#718198;font-size:9px;font-weight:700;letter-spacing:.75px;text-transform:uppercase}thead th:first-child{border-top-left-radius:9px}thead th:last-child{border-top-right-radius:9px}tbody td{padding:13px 14px;border-bottom:1px solid #edf1f5;color:#5e6d82;font-size:11px;line-height:1.45;vertical-align:middle;transition:background-color .14s ease}tbody tr:nth-child(even) td{background:#fbfcfe}tbody tr:hover td{background:#f1f6ff}tbody tr:last-child td{border-bottom:0}tbody td b{color:#263a53;font-size:11px;font-weight:700}tbody td .badge,tbody td .reason-chip{white-space:nowrap}tbody td form{margin:0}tbody td .btn{white-space:nowrap}.check-col,.staff-row td:first-child{text-align:center}.staff-row:hover td{background:#eef5ff}.empty{text-align:center!important;color:#8b98a9!important;padding:30px 18px!important;white-space:normal!important}.table-heading{margin-bottom:14px}.report-search{margin:0 0 12px}.table-heading .badge,.table-heading .live-tag{flex:none}.table-wrap:focus-within{outline:2px solid #dce8ff;outline-offset:2px}
@media(max-width:800px){table{min-width:720px}thead th{padding:11px 12px}tbody td{padding:11px 12px}}
@media(max-width:420px){table{min-width:680px}thead th{font-size:8px;padding:10px}tbody td{font-size:10px;padding:10px}}
/* Refined tables used throughout the system */
.table-wrap{border:1px solid #dfe7f0;border-radius:12px;background:#fff;box-shadow:0 5px 18px #0e27420a}.table-wrap table{min-width:760px;border-collapse:separate;border-spacing:0}.table-wrap thead{position:sticky;top:0;z-index:2}.table-wrap thead th{height:44px;padding:12px 15px;background:linear-gradient(110deg,#10233d,#1b3657);border:0;color:#e6eef9;font-size:9px;font-weight:700;letter-spacing:.8px;text-transform:uppercase;white-space:nowrap}.table-wrap thead th:first-child{border-radius:10px 0 0 0}.table-wrap thead th:last-child{border-radius:0 10px 0 0}.table-wrap tbody td{padding:13px 15px;border-bottom:1px solid #edf1f6;background:#fff;color:#627188;font-size:11px;line-height:1.45;vertical-align:middle;transition:background-color .16s ease,box-shadow .16s ease}.table-wrap tbody tr:nth-child(even) td{background:#f9fbfd}.table-wrap tbody tr:hover td{background:#eff5ff}.table-wrap tbody tr:hover td:first-child{box-shadow:inset 3px 0 0 #3974ea}.table-wrap tbody tr:last-child td{border-bottom:0}.table-wrap tbody td b{color:#203650;font-weight:700}.table-wrap tbody td .badge{padding:6px 10px;border:1px solid transparent;font-size:9px;font-weight:700}.table-wrap tbody td .badge.green{background:#e4f7ee;border-color:#d4f0e2;color:#18784f}.table-wrap tbody td .badge.amber{background:#fff4df;border-color:#f8e7bf;color:#a76b07}.table-wrap tbody td .badge.neutral{background:#eff3f8;border-color:#e5eaf1;color:#596c84}.table-wrap tbody td .reason-chip{min-width:25px;height:25px;border:1px solid #dce8ff;background:#edf3ff;color:#2f63c4;font-weight:800}.table-wrap tbody td .btn{border-radius:7px}.table-wrap tbody td .btn-outline{border-color:#d6e1ef;color:#38577e;background:#fff}.table-wrap tbody td .btn-outline:hover{border-color:#9db9e6;background:#f3f7ff}.table-wrap tbody td .btn-primary{background:linear-gradient(135deg,#3474ef,#245bd2);box-shadow:0 4px 10px #2764e725}.table-wrap .empty{height:88px;background:#fff!important;color:#8391a5!important;font-size:11px}.table-heading h2{color:#1c304a}.table-heading .muted{font-size:10px}.staff-search,.report-search{height:40px;border-color:#dce5ef;border-radius:9px;background:#fff;box-shadow:0 2px 7px #17355307}.staff-search:focus-within,.report-search:focus-within{border-color:#8db0f4;box-shadow:0 0 0 3px #eaf1ff}.staff-search input{font-size:11px}.table-wrap::-webkit-scrollbar-thumb{background:#9eafc4;border:2px solid #f1f4f8}
@media(max-width:800px){.table-wrap{border-radius:10px}.table-wrap thead th{height:40px;padding:10px 12px}.table-wrap tbody td{padding:11px 12px}.table-wrap table{min-width:720px}}
/* Tablas premium: estilo compartido para administración, jefatura y vigilancia */
.section-card:has(.table-wrap){overflow:hidden;border:1px solid #e2eaf3;border-radius:16px;box-shadow:0 12px 32px rgba(20,45,78,.055)}
.table-heading{gap:14px;margin-bottom:18px}
.table-heading h2{font-family:Manrope,sans-serif;font-size:16px;font-weight:800;letter-spacing:-.25px;color:#142b47}
.table-heading .muted{margin-top:4px;color:#7c8ba1;font-size:11px}
.table-heading>.badge,.table-heading>.live-tag{padding:7px 11px;border:1px solid #e4ebf3;border-radius:999px;background:#f6f9fc;color:#566b85;font-size:10px;font-weight:700;white-space:nowrap}
.table-wrap{position:relative;border:1px solid #e5ecf4;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(24,48,78,.035);scrollbar-color:#9aacc2 #f1f5f9;scrollbar-width:thin}
.table-wrap table{min-width:760px;border-collapse:separate;border-spacing:0}
.table-wrap thead{position:sticky;top:0;z-index:2}
.table-wrap thead th{height:46px;padding:13px 15px;background:linear-gradient(105deg,#eff4fb,#f7f9fc);border:0;border-bottom:1px solid #e3eaf3;color:#71839b;font-size:9px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;white-space:nowrap}
.table-wrap thead th:first-child{border-radius:10px 0 0 0}
.table-wrap thead th:last-child{border-radius:0 10px 0 0}
.table-wrap tbody td{padding:14px 15px;border-bottom:1px solid #edf1f6;background:#fff;color:#596c84;font-size:11px;line-height:1.5;vertical-align:middle;transition:background .16s ease,color .16s ease}
.table-wrap tbody tr:nth-child(even) td{background:#fafbfd}
.table-wrap tbody tr:hover td{background:#f0f6ff;color:#405875}
.table-wrap tbody tr:hover td:first-child{box-shadow:inset 3px 0 #3976ed}
.table-wrap tbody tr:last-child td{border-bottom:0}
.table-wrap tbody td b{color:#1d3552;font-weight:750}
.table-wrap tbody td .badge{padding:6px 10px;border:1px solid transparent;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.1px}
.table-wrap tbody td .badge.green{background:#e8f8f0;border-color:#d4f1e2;color:#168154}
.table-wrap tbody td .badge.amber{background:#fff6e6;border-color:#f7e8c8;color:#a96c08}
.table-wrap tbody td .badge.neutral{background:#f0f4f8;border-color:#e3eaf1;color:#5a6e87}
.table-wrap tbody td .reason-chip{min-width:27px;height:27px;border:1px solid #dce8ff;border-radius:8px;background:#edf3ff;color:#2d62c6;font-weight:800}
.table-wrap tbody td .btn{min-height:32px;border-radius:8px;font-weight:700;box-shadow:none}
.table-wrap tbody td .btn-primary{background:linear-gradient(135deg,#3477f2,#245bd2);box-shadow:0 4px 10px rgba(39,100,231,.18)}
.table-wrap tbody td .btn-outline{border-color:#d8e3f0;background:#fff;color:#3f5e84}
.table-wrap tbody td .btn-outline:hover{border-color:#9db9e6;background:#f4f8ff}
.table-wrap tbody td .btn-danger{border-color:#ffded9;background:#fff2f0;color:#b53e34}
.table-wrap .empty{height:100px;background:#fff!important;color:#8593a7!important;font-size:11px}
.table-wrap::-webkit-scrollbar{height:9px;width:9px}
.table-wrap::-webkit-scrollbar-track{border-radius:9px;background:#f1f5f9}
.table-wrap::-webkit-scrollbar-thumb{border:2px solid #f1f5f9;border-radius:9px;background:#9aacc2}
.table-wrap:focus-within{outline:3px solid #e5eeff;outline-offset:2px}
.staff-search,.report-search{height:42px;border:1px solid #e0e8f1;border-radius:10px;background:#fff;box-shadow:0 3px 10px rgba(24,48,78,.035)}
.staff-search:focus-within,.report-search:focus-within{border-color:#8db0f4;box-shadow:0 0 0 4px #eaf1ff}
.staff-search input{font-size:11px}
@media(max-width:800px){.section-card:has(.table-wrap){border-radius:13px}.table-heading{align-items:flex-start}.table-wrap{border-radius:10px}.table-wrap thead th{height:42px;padding:11px 13px}.table-wrap tbody td{padding:12px 13px}.table-wrap table{min-width:720px}}
@media(max-width:480px){.table-heading h2{font-size:15px}.table-heading>.badge,.table-heading>.live-tag{font-size:9px;padding:6px 8px}.table-wrap table{min-width:680px}}

/* Acabado visual de alto contraste para lectura rápida */
.topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:saturate(160%) blur(12px);-webkit-backdrop-filter:saturate(160%) blur(12px);box-shadow:0 5px 18px rgba(16,35,61,.07)}
.action-icon{width:15px;height:15px;flex:0 0 15px;display:inline-block;vertical-align:middle;transition:transform .18s ease,filter .18s ease}.btn{gap:8px}.btn:hover .action-icon{transform:translateY(-1px) scale(1.06)}.btn-primary .action-icon{filter:drop-shadow(0 1px 1px rgba(8,32,80,.24))}.btn-small .action-icon{width:14px;height:14px;flex-basis:14px}.modal-close .action-icon{width:16px;height:16px}.quick-links a{display:inline-flex;align-items:center;gap:7px}.quick-links .action-icon{width:14px;height:14px;flex-basis:14px;color:#3971d8}
.report-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;flex-wrap:wrap}.report-date-filter{display:flex;align-items:flex-end;gap:8px}.report-date-filter label{display:grid;gap:5px;color:#536780;font-size:10px;font-weight:700}.report-date-filter input{height:39px;min-width:150px;padding:0 10px;border:1px solid #dce6f1;border-radius:9px;background:#fff;color:#263b56;font:11px 'DM Sans',sans-serif}.report-date-filter input:focus{outline:0;border-color:#83aaf5;box-shadow:0 0 0 3px #eaf1ff}.daily-filter-card{padding:16px 20px}.daily-filter-card .report-date-filter{align-items:flex-end;gap:12px}.daily-date-caption{padding:0 0 11px;color:#73849a;font-size:11px}.report-date-filter .btn{white-space:nowrap}
.table-wrap{border:1px solid #dce6f1;border-radius:14px;box-shadow:0 10px 28px rgba(18,42,72,.075);background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%)}
.table-wrap:before{content:"";display:block;height:3px;background:linear-gradient(90deg,#3477f2 0%,#70a0ff 48%,#dce8ff 100%)}
.table-wrap table{min-width:760px}
.table-wrap thead th{height:48px;background:linear-gradient(110deg,#10233d 0%,#193554 100%);color:#eaf1fc;border-bottom:1px solid #294866;font-size:9px;letter-spacing:.95px}
.table-wrap thead th:first-child{border-radius:0}
.table-wrap thead th:last-child{border-radius:0}
.table-wrap tbody td{padding:15px 15px;color:#536780;font-size:11px}
.table-wrap tbody tr:nth-child(even) td{background:#f6f9fd}
.table-wrap tbody tr:hover td{background:#eaf2ff;color:#334e70}
.table-wrap tbody tr:hover td:first-child{box-shadow:inset 3px 0 #3477f2}
.table-wrap tbody td b{color:#172f4b;font-size:11px;font-weight:800}
.table-wrap tbody td .badge.green{background:#e6f8ef;border-color:#c6edd9;color:#087749}
.table-wrap tbody td .badge.amber{background:#fff4df;border-color:#f6e1b5;color:#996000}
.table-wrap tbody td .badge.neutral{background:#edf3f9;border-color:#dce7f1;color:#415b79}
.table-wrap tbody td .reason-chip{border-color:#cbdcff;background:linear-gradient(145deg,#eef4ff,#e2ecff);color:#2459bd;box-shadow:inset 0 1px #fff}
.table-wrap tbody td .btn-primary{background:linear-gradient(135deg,#397cf5,#245bd2);box-shadow:0 5px 12px rgba(39,100,231,.24)}
.table-wrap tbody td .btn-primary:hover{background:linear-gradient(135deg,#286be7,#194dbb);transform:translateY(-1px)}
.table-heading h2{font-size:17px;letter-spacing:-.35px}
.table-heading>.badge,.table-heading>.live-tag{border-color:#dce7f2;background:linear-gradient(180deg,#fff,#f3f7fb);box-shadow:0 2px 5px rgba(18,42,72,.04)}
@media(max-width:800px){.table-wrap{border-radius:12px}.table-wrap thead th{height:44px}.table-wrap tbody td{padding:13px}}
@media(max-width:800px){.page-heading .report-actions{width:100%;justify-content:flex-start}.daily-filter-card .report-date-filter{flex-wrap:wrap}.daily-date-caption{width:100%;padding:0}}
@media(max-width:480px){.report-actions{align-items:stretch;flex-direction:column}.report-date-filter{width:100%;align-items:flex-end}.report-date-filter label{flex:1}.report-date-filter input{width:100%;min-width:0}.report-actions>.btn{width:100%}.daily-filter-card .report-date-filter .btn{width:auto}}
.vigilante-sidebar-actions{border-top:1px solid #263b55;padding:14px 2px 0;display:flex;justify-content:flex-end}.vigilante-sidebar-actions form{width:100%}.vigilante-sidebar-actions .logout{width:100%;min-height:38px;padding:0 10px;display:flex;align-items:center;justify-content:flex-start;gap:9px;border:1px solid #263b55;border-radius:9px;background:#132a46;color:#b5c5db;font:600 11px 'DM Sans',sans-serif}.vigilante-sidebar-actions .logout:hover{background:#1b3555;color:#fff}.vigilante-sidebar-actions .logout span{font-size:11px}@media(max-width:800px){.vigilante-sidebar-actions{justify-content:center;padding:12px 0 0}.vigilante-sidebar-actions form{width:auto}.vigilante-sidebar-actions .logout{width:42px;height:38px;min-height:38px;justify-content:center;padding:0;font-size:18px}.vigilante-sidebar-actions .logout span{display:none}}
.mobile-nav-toggle{display:grid;place-items:center;width:36px;height:36px;flex:none;padding:0;border:1px solid #e0e8f1;border-radius:10px;background:linear-gradient(180deg,#fff,#f5f8fc);color:#294466;box-shadow:0 2px 7px rgba(17,44,76,.08);cursor:pointer;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}.mobile-nav-toggle:hover{background:#edf4ff;box-shadow:0 4px 12px rgba(39,100,231,.15);transform:translateY(-1px)}.mobile-nav-toggle .action-icon{width:18px;height:18px;flex-basis:18px}
.brand-logo{width:50px;height:50px;flex:none;object-fit:contain;filter:drop-shadow(0 3px 5px rgba(0,0,0,.24))}.login-brand .brand-logo{width:62px;height:62px}.sidebar-collapsed .brand-logo{width:52px;height:52px}
.sidebar nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#38506d transparent;padding-right:2px}.sidebar nav::-webkit-scrollbar{width:5px}.sidebar nav::-webkit-scrollbar-thumb{border-radius:8px;background:#38506d}.sidebar-bottom{flex:none}.nav-link{flex-shrink:0}.nav-link .action-icon{width:19px;height:19px;flex-basis:19px;stroke-width:1.9;color:currentColor;opacity:.95}.nav-link.active .action-icon{filter:drop-shadow(0 1px 2px rgba(68,125,230,.35))}
@media(min-width:801px){.sidebar,.main-content{transition:width .24s ease,margin-left .24s ease}.sidebar-collapsed .sidebar{width:76px;padding:24px 10px 16px}.sidebar-collapsed .main-content{margin-left:76px}.sidebar-collapsed .brand{justify-content:center;padding:0}.sidebar-collapsed .brand>span:last-child,.sidebar-collapsed .nav-label,.sidebar-collapsed .profile-info,.sidebar-collapsed .profile .avatar{display:none}.sidebar-collapsed .sidebar nav{margin-top:38px}.sidebar-collapsed .nav-link,.sidebar-collapsed .nav-link:not(.active),.sidebar-collapsed .nav-link.active{width:48px;height:46px;justify-content:center;padding:0;margin:0 auto;font-size:0}.sidebar-collapsed .nav-link>span{width:100%;font-size:19px}.sidebar-collapsed .profile{justify-content:center;padding-top:13px}.sidebar-collapsed .profile form{display:flex;justify-content:center}.sidebar-collapsed .profile .logout{width:42px;height:38px;display:grid;place-items:center;padding:0}.sidebar-collapsed .vigilante-sidebar-actions{justify-content:center}.sidebar-collapsed .vigilante-sidebar-actions form{width:auto}.sidebar-collapsed .vigilante-sidebar-actions .logout{width:42px;height:38px;justify-content:center;padding:0}.sidebar-collapsed .vigilante-sidebar-actions .logout span{display:none}}

/* Alertas consistentes para todo el sistema */
.alert{position:relative;display:flex;align-items:flex-start;gap:13px;margin:0 0 20px;padding:16px 48px 16px 16px;border:1px solid transparent;border-radius:14px;box-shadow:0 8px 24px rgba(20,36,59,.07);font-size:12px;line-height:1.5;transition:opacity .3s ease,transform .3s ease;animation:alert-enter .28s ease-out}.alert.success{color:#126345;background:linear-gradient(135deg,#f1fcf6,#e8f8ef);border-color:#c9efda}.alert.error{color:#9c3028;background:linear-gradient(135deg,#fff8f6,#fff0ee);border-color:#f5d5d0}.alert-icon{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:50%;font-size:15px;font-weight:800;background:#d6f5e3;color:#137b53}.alert.error .alert-icon{background:#ffe0dc;color:#b43d32}.alert-content{display:grid;gap:2px;min-width:0}.alert-content b{font-size:12px;font-weight:700}.alert-content span{color:inherit;opacity:.86;overflow-wrap:anywhere}.alert-close{position:absolute;top:11px;right:12px;width:28px;height:28px;border:0;border-radius:8px;background:rgba(255,255,255,.68);color:inherit;font-size:21px;line-height:1;cursor:pointer}.alert-close:hover{background:#fff;box-shadow:0 2px 8px rgba(20,36,59,.1)}.alert.fade{opacity:0;transform:translateY(-5px)}@keyframes alert-enter{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.alert{animation:none;transition:none}}

/* Control de salidas: distribuir columnas para mantener visibles las acciones */
.guard-exits-table table{width:100%;min-width:1080px;table-layout:fixed}.guard-exits-table thead th{white-space:normal;line-height:1.35;padding-left:11px;padding-right:11px}.guard-exits-table .gx-person{width:23%}.guard-exits-table .gx-number{width:9%}.guard-exits-table .gx-reason{width:18%}.guard-exits-table .gx-exit,.guard-exits-table .gx-return{width:9%}.guard-exits-table .gx-observation{width:13%}.guard-exits-table .gx-movement{width:19%}.guard-exits-table thead .th-split{display:block;line-height:1.2}.guard-exits-table thead th:nth-child(2){white-space:normal;line-height:1.2}.guard-exits-table .movement-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.guard-exits-table .movement-actions .btn{max-width:100%;white-space:normal;text-align:center;line-height:1.25;padding:7px 9px}.guard-exits-table .observation-cell{min-width:0;max-width:none;overflow-wrap:anywhere}@media(max-width:800px){.guard-exits-table table{min-width:1080px}.guard-exits-table .movement-actions{display:grid;justify-items:stretch}.guard-exits-table .movement-actions .btn{width:100%}}

/* Tablas adaptables en todas las vistas y dispositivos */
.table-wrap{display:block;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}.table-wrap table{width:100%;max-width:none}.table-wrap:focus-within{scroll-behavior:smooth}.table-wrap thead th,.table-wrap tbody td{overflow-wrap:normal}.table-wrap tbody td .btn{max-width:100%}@media(max-width:800px){.section-card:has(.table-wrap){min-width:0;max-width:100%}.table-wrap{width:100%;max-width:100%;touch-action:pan-x pan-y}.table-wrap table{width:max-content;min-width:720px}.table-wrap table:has(thead th:nth-child(7)){min-width:920px}.table-wrap table:has(thead th:nth-child(8)){min-width:1080px}.table-wrap tbody td{white-space:normal;overflow-wrap:anywhere}.table-wrap tbody td .btn{white-space:normal;min-height:38px}.table-wrap tbody td form{max-width:100%}}@media(max-width:480px){.table-wrap table{min-width:700px}.table-wrap table:has(thead th:nth-child(7)){min-width:940px}.table-wrap table:has(thead th:nth-child(8)){min-width:1100px}.table-wrap thead th{padding:10px 11px;font-size:8px}.table-wrap tbody td{padding:11px 10px}}

@media(max-width:800px){.table-wrap.guard-exits-table table{min-width:1080px}}@media(max-width:480px){.table-wrap.guard-exits-table table{min-width:1080px}}

/* En paneles estrechos todas las columnas pasan a tarjetas con etiqueta */
.section-card:has(.table-wrap){container-type:inline-size;container-name:responsive-table}@container responsive-table (max-width: 1050px){.table-wrap{overflow:visible;border:0;box-shadow:none;background:transparent}.table-wrap:before{display:none}.table-wrap table,.table-wrap.guard-exits-table table{display:block!important;width:100%!important;min-width:0!important;max-width:100%;table-layout:auto;border-collapse:separate}.table-wrap thead{display:none}.table-wrap tbody{display:grid;gap:12px}.table-wrap tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid #dce6f1;border-radius:12px;background:#fff;box-shadow:0 5px 16px rgba(18,42,72,.06)}.table-wrap tbody tr:hover td:first-child{box-shadow:none}.table-wrap tbody td{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;padding:12px!important;border-bottom:1px solid #edf1f6;background:#fff!important;color:#405875;white-space:normal!important;overflow-wrap:anywhere;font-size:11px}.table-wrap tbody td:before{content:attr(data-label);display:block;color:#8292a8;font-size:8px;font-weight:800;letter-spacing:.65px;line-height:1.3;text-transform:uppercase}.table-wrap tbody td:first-child{grid-column:1/-1;background:#f5f8fc!important}.table-wrap tbody td:first-child b{font-size:12px}.table-wrap tbody td:has(form),.table-wrap tbody td:has(.btn){grid-column:1/-1}.table-wrap tbody td form{width:100%}.table-wrap tbody td .btn{width:auto;max-width:100%;min-height:38px;white-space:normal}.table-wrap.guard-exits-table .movement-actions{display:flex;flex-wrap:wrap;justify-content:flex-start}.table-wrap.guard-exits-table .movement-actions form{width:auto}.table-wrap tbody td.empty{grid-column:1/-1;display:block;text-align:center!important;padding:24px!important}.table-wrap tbody td.empty:before{display:none}.table-wrap tbody tr:has(td.empty){display:block}}@media(max-width:800px){.table-wrap{overflow:visible}.table-wrap table,.table-wrap.guard-exits-table table{min-width:0!important;width:100%!important}.table-wrap tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}.table-wrap tbody td{padding:11px!important}.table-wrap tbody td:has(form),.table-wrap tbody td:has(.btn){grid-column:1/-1}}

/* Mantener formato de tabla: compactar columnas en paneles estrechos */
@container responsive-table (max-width: 1050px){.table-wrap{overflow-x:auto;overflow-y:hidden;border:1px solid #dce6f1;box-shadow:0 5px 16px rgba(18,42,72,.05);background:#fff}.table-wrap:before{display:block}.table-wrap table,.table-wrap.guard-exits-table table{display:table!important;width:100%!important;min-width:0!important;max-width:none;table-layout:fixed;border-collapse:separate}.table-wrap thead{display:table-header-group}.table-wrap tbody{display:table-row-group}.table-wrap tbody tr{display:table-row;overflow:visible;border:0;border-radius:0;box-shadow:none}.table-wrap thead th{display:table-cell;padding:9px 7px;height:auto;font-size:8px;letter-spacing:.35px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}.table-wrap tbody td{display:table-cell;min-width:0;padding:10px 7px!important;border-radius:0;background:#fff!important;font-size:9px;line-height:1.35;white-space:normal!important;overflow-wrap:anywhere;vertical-align:middle}.table-wrap tbody td:before{display:none!important;content:none!important}.table-wrap tbody td:first-child{grid-column:auto;background:#fff!important}.table-wrap tbody td:has(form),.table-wrap tbody td:has(.btn){grid-column:auto}.table-wrap tbody td.empty{display:table-cell;padding:20px!important}.table-wrap tbody tr:has(td.empty){display:table-row}.table-wrap tbody td .btn{width:auto;min-height:31px;padding:6px 7px;font-size:9px}.table-wrap.guard-exits-table .movement-actions{display:grid;justify-items:stretch;gap:5px}.table-wrap.guard-exits-table .movement-actions form{width:100%}.table-wrap.guard-exits-table .movement-actions .btn{width:100%;white-space:normal}}@media(max-width:800px){.table-wrap{overflow-x:auto;overflow-y:hidden}.table-wrap table,.table-wrap.guard-exits-table table{display:table!important;width:100%!important;min-width:700px!important;table-layout:fixed}.table-wrap thead{display:table-header-group}.table-wrap tbody{display:table-row-group}.table-wrap tbody tr{display:table-row}.table-wrap thead th{display:table-cell;padding:9px 7px;font-size:8px;white-space:normal}.table-wrap tbody td{display:table-cell;padding:10px 7px!important;font-size:9px}.table-wrap tbody td:before{display:none!important}.table-wrap tbody td:first-child,.table-wrap tbody td:has(form),.table-wrap tbody td:has(.btn){grid-column:auto}.table-wrap tbody td.empty{display:table-cell}.table-wrap.guard-exits-table .movement-actions{display:grid}.table-wrap.guard-exits-table .movement-actions .btn{width:100%}}

/* Acciones de movimiento modernas para vigilancia */
.guard-exits-table .movement-actions,.table-wrap .movement-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.table-wrap .movement-actions form{margin:0}.table-wrap .movement-actions .btn{min-height:38px;padding:8px 12px;border-radius:11px;font-size:10px;font-weight:800;letter-spacing:.1px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.table-wrap .movement-actions .btn-primary{border:1px solid #2862d9;background:linear-gradient(135deg,#4383ff 0%,#235bd7 100%);box-shadow:0 5px 14px rgba(39,100,231,.24);color:#fff}.table-wrap .movement-actions .btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(39,100,231,.3)}.table-wrap .movement-actions .btn-outline{border:1px solid #cbdcf4;background:linear-gradient(180deg,#fff,#f3f7ff);box-shadow:0 3px 9px rgba(26,62,111,.08);color:#315b95}.table-wrap .movement-actions .btn-outline:hover{transform:translateY(-1px);border-color:#8fb2eb;background:#eaf2ff;box-shadow:0 5px 12px rgba(26,62,111,.13)}.table-wrap .movement-actions .btn .action-icon{width:16px;height:16px;flex-basis:16px}.table-wrap .movement-actions .badge.green{padding:8px 12px;border-radius:999px;box-shadow:inset 0 1px #fff;font-size:9px}

/* Filtros de retorno para vigilancia */
.table-filter-bar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 13px}.table-filter-bar .staff-search{width:min(100%,340px);margin:0}.table-status-filter{display:grid;gap:5px;min-width:180px;color:#526780;font-size:10px;font-weight:700}.table-status-filter select{width:100%;height:42px;padding:0 34px 0 12px;border:1px solid #dce5ef;border-radius:10px;background:linear-gradient(180deg,#fff,#f8faff);color:#304863;font:600 11px 'DM Sans',sans-serif;box-shadow:0 3px 10px rgba(24,48,78,.035);outline:0}.table-status-filter select:focus{border-color:#8db0f4;box-shadow:0 0 0 4px #eaf1ff}@media(max-width:480px){.table-filter-bar{align-items:stretch}.table-filter-bar .staff-search{width:100%;max-width:none}.table-status-filter{width:100%;min-width:0}}
