.app-shell { min-height: 100dvh; padding-bottom: clamp(2rem, 6vw, 4rem); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 88px; padding-block: 0.8rem; }
.access { display: grid; gap: 1.25rem; max-width: 720px; }
.intro { padding: clamp(1.2rem, 3vw, 2rem) 0 0.5rem; text-align: center; }
.intro h1 { margin: 0; color: var(--ink); font-size: clamp(2.1rem, 7vw, 3.8rem); line-height: 0.98; letter-spacing: -0.055em; }
.intro > p:not(.eyebrow) { max-width: 530px; margin: 0.9rem auto 0; color: var(--muted); font-size: clamp(0.98rem, 2vw, 1.08rem); line-height: 1.55; }
.live-time { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0.4rem 0.9rem; margin-top: 1rem; color: var(--muted); }
.live-time strong { color: var(--ink); font-size: clamp(1.4rem, 4vw, 1.9rem); font-variant-numeric: tabular-nums; }
.employee-card, .shift-card { width: min(100%, 680px); margin-inline: auto; }
.card-heading { margin-bottom: 1.35rem; }
.card h2 { margin: 0; font-size: clamp(1.2rem, 3vw, 1.55rem); }
.field label { display: block; margin-bottom: 0.45rem; font-size: 0.88rem; font-weight: 800; }
.field input { width: 100%; min-height: 54px; padding: 0.85rem 1rem; border: 1.5px solid #d5dce2; border-radius: 12px; background: #fafbfc; color: var(--ink); }
.field input:focus { border-color: var(--primary); background: var(--white); }
.field-help { margin: 0.55rem 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.employee-card .button { width: 100%; }
.worker-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.8rem; }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--primary); color: var(--white); font-weight: 900; }
.worker-row h2 { overflow-wrap: anywhere; }
.worker-id, .worker-site { margin: 0.18rem 0 0; color: var(--muted); font-size: 0.82rem; }
.worker-site { color: var(--primary-dark); font-weight: 800; }
.status-banner { display: flex; align-items: center; gap: 0.85rem; margin: 1.4rem 0 1rem; padding: 1rem; border-radius: 15px; background: #f2f4f6; }
.status-dot { width: 11px; height: 11px; border-radius: 50%; background: #9aa2ad; box-shadow: 0 0 0 5px rgba(154, 162, 173, 0.14); }
.status-banner small, .status-banner strong { display: block; }
.status-banner small { margin-bottom: 0.18rem; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.status-banner[data-status="working"] .status-dot { background: var(--success); box-shadow: 0 0 0 5px rgba(22, 134, 91, 0.14); }
.status-banner[data-status="lunch"] .status-dot { background: var(--warning); }
.status-banner[data-status="finished"] .status-dot { background: var(--primary); }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.action-button { display: flex; align-items: center; gap: 0.75rem; min-width: 0; min-height: 80px; padding: 0.9rem; border: 1.5px solid var(--line); border-radius: 15px; background: var(--white); color: var(--ink); text-align: left; cursor: pointer; }
.action-button:not(:disabled):hover { border-color: var(--primary); box-shadow: 0 8px 20px rgba(81, 160, 213, 0.12); }
.action-button:disabled { opacity: 0.4; cursor: not-allowed; }
.action-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 900; }
.action-button strong, .action-button small { display: block; }.action-button strong { font-size: 0.88rem; }.action-button small { margin-top: 0.2rem; color: var(--muted); font-size: 0.73rem; }
.timeline-wrap { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }.section-title-row h3 { margin: 0; font-size: 0.95rem; }.total-time { color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.timeline { display: grid; gap: 0.6rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.timeline-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.7rem; min-height: 46px; padding: 0.65rem 0.75rem; border-radius: 11px; background: #f6f7f8; }.timeline-marker { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }.timeline-label { font-size: 0.84rem; font-weight: 750; }.timeline-time { font-size: 0.85rem; font-weight: 900; font-variant-numeric: tabular-nums; }.timeline-empty { padding: 1rem; border: 1px dashed #cad2d9; border-radius: 11px; color: var(--muted); text-align: center; font-size: 0.84rem; }
.confirmation { width: min(calc(100% - 2rem), 410px); padding: 2rem; border: 0; border-radius: 22px; box-shadow: 0 24px 80px rgba(15, 23, 32, 0.28); text-align: center; }.confirmation::backdrop { background: rgba(10, 16, 22, 0.55); }.confirmation-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 17px; background: var(--primary-soft); color: var(--primary-dark); font-size: 1.5rem; font-weight: 900; }.confirmation h2 { margin: 0; }.confirmation p { margin: 0.65rem 0 1.25rem; color: var(--muted); line-height: 1.5; }.confirmation .button { width: 100%; }
noscript { display: block; padding: 1rem; background: var(--danger); color: var(--white); text-align: center; }
@media (max-width: 560px) { .topbar { min-height: 76px; }.awhak-brand small { display: none; }.owner-link { max-width: 135px; text-align: center; }.intro { padding-top: 0.75rem; }.actions { grid-template-columns: 1fr; }.worker-row { grid-template-columns: auto minmax(0, 1fr); }.worker-row .text-button { grid-column: 2; justify-self: start; padding: 0; } }
@media (min-width: 768px) { .access { gap: 1.5rem; }.employee-card, .shift-card { width: 100%; } }

/* Tema oscuro Awhak */
body,
.app-shell { background: #0f1115; color: #f4f6f8; }
.awhak-brand,
.intro h1,
.card h2,
.field label,
.status-banner strong,
.section-title-row h3,
.timeline-time { color: #f4f6f8; }
.awhak-brand small,
.intro > p:not(.eyebrow),
.live-time,
.field-help,
.worker-id,
.status-banner small,
.action-button small,
.timeline-empty,
.confirmation p { color: #aab4c0; }
.live-time strong { color: #f4f6f8; }
.employee-card,
.shift-card,
.confirmation { border-color: #303740; background: #181c22; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25); }
.action-icon,
.confirmation-icon { background: #263744; color: var(--primary); }
.field input { border-color: #3a424c; background: #232830; color: #f4f6f8; }
.field input::placeholder { color: #8d98a5; }
.field input:focus { border-color: var(--primary); background: #262c34; }
.worker-site,
.total-time,
.text-button { color: var(--primary); }
.status-banner { background: #222831; }
.action-button { border-color: #343b44; background: #20252c; color: #f4f6f8; }
.action-button:not(:disabled):hover { border-color: var(--primary); background: #242b32; }
.timeline-wrap { border-color: #343b44; }
.timeline-item { background: #222831; }
.timeline-empty { border-color: #46505b; background: #20252c; }
.confirmation::backdrop { background: rgba(4, 7, 10, 0.72); }
.confirmation h2 { color: #fff; }
