/* Vista de trabajadores fiel a la propuesta visual aprobada. */
body:not(.admin-body){background:#f4f8fb}
body:not(.admin-body)::before{content:"";position:fixed;z-index:-1;inset:0;background:radial-gradient(circle at 92% 4%,rgba(8,168,220,.13),transparent 28rem),linear-gradient(180deg,#f9fcfe 0,#eef5f9 100%)}
body:not(.admin-body) .shell{width:min(100%,700px);padding:0 20px calc(32px + env(safe-area-inset-bottom))}
body:not(.admin-body) .brand{min-height:205px;padding:calc(34px + env(safe-area-inset-top)) 14px 24px;overflow:visible}
body:not(.admin-body) .brand::before{content:"";position:absolute;z-index:-1;top:-70px;right:-42px;width:390px;height:260px;opacity:.72;background:repeating-radial-gradient(ellipse at 80% 10%,transparent 0 11px,rgba(8,168,220,.13) 12px 13px,transparent 14px 22px);border-radius:48%}
body:not(.admin-body) .brand::after{display:none}
body:not(.admin-body) .brand-logo{width:315px;height:78px;margin:0;background-color:transparent;background-size:auto 190%;background-position:64% 79%;mix-blend-mode:multiply}
body:not(.admin-body) .brand-copy{margin-top:22px}
body:not(.admin-body) .brand h1{font-size:2.35rem;line-height:1.05;letter-spacing:-.045em}
body:not(.admin-body) .brand p{margin-top:8px;font-size:1.18rem;color:#637587}
body:not(.admin-body) #app-view{position:relative}
body:not(.admin-body) .welcome{position:absolute;z-index:2;top:-176px;right:14px;display:flex;align-items:flex-start;gap:12px;margin:0;text-align:right}
body:not(.admin-body) .worker-identity{display:grid;justify-items:end}
body:not(.admin-body) .worker-identity>span:not(.worker-avatar){display:none}
body:not(.admin-body) .worker-avatar{display:grid;width:56px;height:56px;margin-bottom:7px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#e1f0ff,#cce7fb);color:#176db2;font-size:0;box-shadow:0 5px 16px rgba(23,109,178,.14)}
body:not(.admin-body) .worker-avatar::before{content:"";width:15px;height:15px;border-radius:50%;background:#15558b;box-shadow:0 17px 0 5px #15558b}
body:not(.admin-body) .worker-identity strong{max-width:165px;color:#0c3043;font-size:1rem;line-height:1.15}
body:not(.admin-body) #logout{margin-top:60px;padding:5px 0;color:#176db2;font-size:.82rem}
body:not(.admin-body) .panel,body:not(.admin-body) .status-card{border-radius:22px;box-shadow:0 10px 30px rgba(12,48,67,.09)}
body:not(.admin-body) .location-card{min-height:102px;gap:16px;padding:20px 24px;border:0}
body:not(.admin-body) .location-icon{display:grid;flex:0 0 60px;width:60px;height:60px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#2254b7,#08a8dc);color:#fff;font-size:0;box-shadow:0 8px 17px rgba(23,109,178,.22)}
body:not(.admin-body) .location-icon::before{content:"";width:16px;height:22px;border:5px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg)}
body:not(.admin-body) .location-icon::after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:#fff}
body:not(.admin-body) .status-dot{display:none}
body:not(.admin-body) .location-card strong{font-size:1.22rem;color:#071d34}
body:not(.admin-body) .location-card p{font-size:1rem}
body:not(.admin-body) #assignment{padding:24px 27px 18px}
body:not(.admin-body) #assignment label{margin-bottom:17px;font-size:.9rem;color:#627587}
body:not(.admin-body) #assignment input,body:not(.admin-body) #assignment select{min-height:64px;margin-top:7px;padding:13px 18px;border:1.5px solid #bdccd8;border-radius:18px;font-size:1.12rem;color:#0c2438}
body:not(.admin-body) #assignment select:disabled{color:#586b7a;opacity:1;background:#fff}
body:not(.admin-body) .remembered-selection{display:none}
body:not(.admin-body) .status-card{min-height:172px;margin-top:18px;padding:26px 22px;background:linear-gradient(125deg,#2353b5 0%,#087fc3 55%,#08a8dc 100%)}
body:not(.admin-body) .status-card span{font-size:1rem;opacity:.94}
body:not(.admin-body) .status-card strong{margin:9px 0 4px;font-size:2.05rem}
body:not(.admin-body) .status-card p{font-size:1.12rem}
body:not(.admin-body) .clock-grid,body:not(.admin-body) .clock-grid.single-action{grid-template-columns:1fr;gap:10px}
body:not(.admin-body) .clock-button{display:flex;align-items:center;justify-content:center;gap:24px;min-height:96px;border-radius:21px;background:linear-gradient(110deg,#0c467c,#176db2 55%,#0b4b83);font-size:1.75rem;text-transform:uppercase;letter-spacing:.02em;box-shadow:0 10px 24px rgba(12,48,67,.18)}
body:not(.admin-body) .clock-button.entry,body:not(.admin-body) .clock-button.resume{background:linear-gradient(110deg,#0c467c,#176db2 55%,#0b4b83)}
body:not(.admin-body) .action-icon{display:grid;width:48px;height:48px;place-items:center;border-radius:50%;background:#fff;color:#165a93;font-size:2rem;line-height:1}
body:not(.admin-body) #app-message:empty{display:none}
body:not(.admin-body) .manual-mobile-button{display:flex;align-items:center;justify-content:center;gap:24px;min-height:82px;margin-top:14px;border:1.5px solid #8da4b5;border-radius:20px;font-size:1.2rem}
body:not(.admin-body) .manual-icon{width:27px;height:27px;border:3px solid #15558b;border-radius:3px;color:transparent;box-shadow:inset 0 5px 0 #fff;position:relative}
body:not(.admin-body) .manual-icon::before,body:not(.admin-body) .manual-icon::after{content:"";position:absolute;top:-7px;width:3px;height:9px;border-radius:2px;background:#15558b}
body:not(.admin-body) .manual-icon::before{left:5px}body:not(.admin-body) .manual-icon::after{right:5px}
body:not(.admin-body) .personal-history{min-height:98px;margin-top:16px;padding:22px 25px}
body:not(.admin-body) .history-heading{align-items:center;gap:15px}
body:not(.admin-body) .history-icon{display:grid;flex:0 0 50px;width:50px;height:50px;place-items:center;border-radius:50%;background:#dceeff;color:#176db2;font-size:2rem;font-weight:800}
body:not(.admin-body) .history-heading h2{font-size:1.38rem;margin:0}
body:not(.admin-body) .history-heading p{margin:4px 0 0}
body:not(.admin-body) #refresh-history{margin-left:auto}
@media(max-width:600px){
  body:not(.admin-body) .shell{padding-left:14px;padding-right:14px}
  body:not(.admin-body) .brand{min-height:185px;padding-left:8px;padding-right:8px}
  body:not(.admin-body) .brand-logo{width:245px;height:62px}
  body:not(.admin-body) .brand-copy{margin-top:16px}
  body:not(.admin-body) .brand h1{font-size:2rem}
  body:not(.admin-body) .brand p{font-size:1rem}
  body:not(.admin-body) .welcome{top:-158px;right:8px}
  body:not(.admin-body) .worker-avatar{width:50px;height:50px}
  body:not(.admin-body) #logout{display:none}
  body:not(.admin-body) .location-card{min-height:92px;padding:17px}
  body:not(.admin-body) .location-icon{flex-basis:52px;width:52px;height:52px}
  body:not(.admin-body) .location-card strong{font-size:1.08rem}
  body:not(.admin-body) .location-card p{font-size:.88rem}
  body:not(.admin-body) #assignment{padding:20px 18px 10px}
  body:not(.admin-body) #assignment input,body:not(.admin-body) #assignment select{min-height:58px;font-size:1.02rem}
  body:not(.admin-body) .status-card{min-height:145px;padding:22px 15px}
  body:not(.admin-body) .status-card strong{font-size:1.65rem}
  body:not(.admin-body) .clock-button{min-height:82px;font-size:1.42rem}
  body:not(.admin-body) .manual-mobile-button{min-height:72px;font-size:1.05rem}
  body:not(.admin-body) .history-heading p{display:none}
  body:not(.admin-body) #refresh-history{font-size:0}
  body:not(.admin-body) #refresh-history::after{content:"›";font-size:2rem;color:#0c3043}
}
@media(max-width:390px){
  body:not(.admin-body) .brand-logo{width:218px;height:55px}
  body:not(.admin-body) .brand h1{font-size:1.8rem}
  body:not(.admin-body) .worker-identity strong{font-size:.88rem;max-width:125px}
  body:not(.admin-body) .status-card strong{font-size:1.48rem}
}
