/* 1. Cambia aquí los colores, el radio y el ancho general del diseño. */
:root { --blue: #286541; --ink: #293c56; --muted: #606a80; --background: #f3f5fa; --line: #e1e5ef; --radius: 22px; --width: 1080px; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #ee9b12; outline-offset: 4px; }
[hidden] { display: none !important; }
.header { max-width: var(--width); padding: 24px 20px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 20px; text-decoration: none; color: var(--ink); }
.brand-icon { background: var(--blue); color: white; border-radius: 12px; padding: 2px 10px; font-size: 26px; }
.demo-tag { font-size: 12px; letter-spacing: .08em; background: #e3efe7; color: var(--blue); padding: 4px 7px; border-radius: 5px; }
.avatar { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; background: #e3efe7; color: var(--blue); font-size: 14px; font-weight: 700; }
/* 2. Espaciados móviles: cambia padding y gap para dar más o menos aire. */
main { max-width: var(--width); margin: auto; padding: 0 20px 110px; }
.demo-note { padding: 14px 18px; background: #e9eff2; border: 1px solid #dbe2f2; border-radius: 12px; font-size: 14px; color: #465371; }
.page-heading { display: flex; justify-content: space-between; align-items: center; margin: 30px 0 24px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; }
h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; letter-spacing: -.045em; margin: 10px 0; }
h2 { font-size: 18px; margin: 0; }
p { margin: 8px 0; }
.page-heading p:not(.eyebrow), .profile-card > p { color: var(--muted); }
.blue { color: var(--blue); }
.section-number { display: none; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.work-grid { display: grid; gap: 20px; }
.card, .clock-card { padding: 24px; border-radius: var(--radius); }
.card { background: white; border: 1px solid var(--line); }
.clock-card { background: var(--blue); color: white; box-shadow: 0 12px 32px #293c561a; }
.card-top { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.status { border: 1px solid #ffffff60; border-radius: 100px; padding: 5px 10px; font-size: 12px; }
.status[data-state="working"] { background: #d5ffe9; color: #115433; border-color: transparent; }
.status[data-state="paused"] { background: #fff0cc; color: #674409; border-color: transparent; }
.timer-label { margin-top: 32px; color: #e2f1e8; font-size: 14px; }
/* Números de igual ancho para que el reloj no se mueva al actualizarse. */
.timer { font-size: clamp(36px, 10vw, 66px); line-height: 1.2; letter-spacing: -.04em; font-weight: 650; font-variant-numeric: tabular-nums; }
.pause-total { font-size: 14px; color: #e2f1e8; }.pause-total strong { color: white; margin-left: 10px; font-variant-numeric: tabular-nums; }
.state-help { min-height: 48px; font-size: 14px; margin-top: 26px; }
.actions { display: grid; gap: 10px; }
.button { margin-top: 20px; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 0; font-weight: 650; }
.primary { background: white; color: var(--blue); display: flex; justify-content: space-between; align-items: center; }.primary:hover { background: #edf1ff; }
.secondary { background: transparent; color: white; border: 1px solid #ffffff70; }.secondary:hover:enabled { background: #ffffff15; }
.fineprint { color: var(--muted); font-size: 13px; margin-top: 18px; }.clock-card .fineprint { color: #e2f1e8; }
.count { border-radius: 8px; padding: 3px 10px; background: var(--background); font-size: 14px; }
.empty { padding: 40px 0; color: var(--muted); text-align: center; }.empty span { display: block; margin-top: 8px; font-size: 14px; }
.timeline { list-style: none; padding: 0; margin: 20px 0 0; }.timeline li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: 14px; }.timeline li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }.timeline time { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.session-message { font-size: 14px; color: var(--muted); min-height: 24px; }
.report-heading { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }input { min-height: 44px; max-width: 100%; min-width: 0; border-radius: 9px; border: 1px solid #b8c1d6; padding: 8px 10px; background: white; color: var(--ink); }
.report-source { color: var(--muted); font-size: 14px; margin-top: 20px; }.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 8px; }.metrics span { color: var(--muted); font-size: 14px; }.metrics strong { display: block; font-size: clamp(20px, 5vw, 32px); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }.month-card { margin-top: 20px; }
.table-wrap { overflow-x: auto; margin-top: 24px; }table { width: 100%; border-collapse: collapse; font-size: 14px; }th, td { padding: 14px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }th { color: var(--muted); font-weight: 500; }th:first-child, td:first-child { text-align: left; }td small { display: block; color: var(--muted); }
.profile-card { max-width: 650px; }.large { width: 64px; height: 64px; font-size: 20px; margin-bottom: 16px; }dl { margin: 28px 0; }dl div { padding: 16px 0; border-top: 1px solid var(--line); }dt { font-size: 14px; color: var(--muted); }dd { margin: 5px 0 0; overflow-wrap: anywhere; }
footer { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; margin-top: 36px; }
/* 3. Navegación fija al alcance del pulgar; safe-area respeta el borde del móvil. */
.navigation { position: fixed; bottom: 0; left: 0; right: 0; background: #fffffff5; border-top: 1px solid var(--line); display: flex; justify-content: center; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }.navigation button { min-height: 54px; flex: 1; max-width: 180px; background: none; border: 0; color: var(--muted); font-size: 14px; border-radius: 12px; }.navigation span { display: block; font-size: 22px; line-height: 1.2; }.navigation [aria-current] { color: var(--blue); background: #e3efe7; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* 4. A partir de 760px aprovechamos el ancho; el HTML sigue siendo el mismo. */
@media (min-width: 760px) { .header { padding-top: 30px; padding-bottom: 30px; }.page-heading { margin: 38px 0 28px; }.section-number { display: block; }.work-grid { grid-template-columns: 1.2fr 1fr; }.card, .clock-card { padding: 30px; }.actions { grid-template-columns: 1fr 1fr; }dl div { display: grid; grid-template-columns: 150px 1fr; }dd { margin: 0; } }

/* Fase conectada: reutilizamos colores y espaciados del diseño aprobado. */
.login-card { max-width: 480px; margin: 32px auto; }
.login-card form { display: grid; gap: 18px; margin-top: 24px; }
.login-button { background: var(--blue); color: white; }
.logout { background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: 14px; }
select { font: inherit; padding: 10px; min-height: 44px; max-width: 100%; border: 1px solid #b8c1d6; border-radius: 9px; color: var(--ink); background: white; }
select:focus-visible { outline: 3px solid #ee9b12; outline-offset: 4px; }
#login-error { color: #9b2424; }
#equipo .report-heading > label { max-width: 100%; }
@media (max-width: 380px) { .header { gap: 8px; } .brand img { width: 132px; height: auto; } .demo-tag { display: none; } }
