:root{--bg:#eef1f5;--surface:#fff;--text:#0f1720;--text-muted:#3d4654;--border:#7a8494;--primary:#1746a2;--primary-text:#fff;--danger-bg:#fde8e8;--danger-text:#8b1111;--info-bg:#e3ecfb;--info-text:#0f3270;--warn-bg:#fff4d6;--warn-text:#6b4100;--mark-bg:#ffe066;--mark-text:#000;--st-nuevo:#1d4fb8;--st-nuevo-text:#fff;--st-bueno:#1b7a33;--st-bueno-text:#fff;--st-regular:#f5c400;--st-regular-text:#000;--st-malo:#c62828;--st-malo-text:#fff;--st-no-tiene:#6b0f0f;--st-no-tiene-text:#fff;--st-no-necesita:#e2e5ea;--st-no-necesita-text:#3d4654;--radius:4px;--radius-lg:6px;--gap:16px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.5}@media (prefers-color-scheme:dark){:root{--bg:#000;--surface:#14181e;--text:#f5f7fa;--text-muted:#c3cad5;--border:#6b7586;--primary:#8bb8ff;--primary-text:#000;--danger-bg:#3d1414;--danger-text:#ffc9c9;--info-bg:#10264a;--info-text:#cfe0ff;--warn-bg:#3a2a00;--warn-text:#ffd98a;--mark-bg:#ffd43b;--mark-text:#000;--st-nuevo:#7fb0ff;--st-nuevo-text:#000;--st-bueno:#2e9d4a;--st-bueno-text:#000;--st-regular:#f5c400;--st-regular-text:#000;--st-malo:#e05252;--st-malo-text:#000;--st-no-tiene:#8f1d1d;--st-no-tiene-text:#fff;--st-no-necesita:#2a2f37;--st-no-necesita-text:#c3cad5;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*,:before,:after{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}a{color:var(--primary)}.ui-button{border-radius:var(--radius);min-height:44px;font:inherit;cursor:pointer;border:1px solid #0000;padding:0 18px;font-weight:600}.ui-button:disabled{opacity:.6;cursor:default}.ui-button--primary{background:var(--primary);color:var(--primary-text)}.ui-button--secondary{color:var(--text);border-color:var(--border);background:0 0}.ui-button--danger{background:var(--danger-text);color:var(--surface)}.ui-confirm{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.ui-button:focus-visible,.ui-field select:focus-visible,.ui-field input:focus-visible{outline:3px solid var(--primary);outline-offset:1px}.ui-field{flex-direction:column;gap:6px;display:flex}.ui-field label{font-size:.9rem;font-weight:600}.ui-field input,.ui-field select{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);font:inherit;padding:0 12px}.ui-field__hint{color:var(--text-muted);font-size:.8rem}.ui-alert{border-radius:var(--radius);border:1px solid;padding:12px 14px}.ui-alert--error{background:var(--danger-bg);color:var(--danger-text)}.ui-alert--info{background:var(--info-bg);color:var(--info-text)}.ui-spinner{color:var(--text-muted);padding:var(--gap);align-items:center;gap:10px;display:flex}.ui-spinner__dot{border:2px solid var(--border);border-top-color:var(--primary);border-radius:50%;width:16px;height:16px;animation:.8s linear infinite ui-spin}@keyframes ui-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.ui-spinner__dot{animation:none}}:root{--side:10px;--card-pad:12px}@media (width>=640px){:root{--side:16px;--card-pad:16px}}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.muted{color:var(--text-muted)}.page{flex-direction:column;gap:12px;max-width:960px;display:flex}.page h1{margin:0;font-size:1.5rem}.login{min-height:100dvh;padding:var(--side);place-items:center;display:grid}.login__card{gap:var(--gap);width:100%;max-width:380px;padding:20px var(--card-pad);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);flex-direction:column;display:flex}.login__card h1{margin:0;font-size:1.4rem}.shell{grid-template-rows:auto 1fr;grid-template-columns:1fr;min-height:100dvh;display:grid}.shell__header{padding:6px var(--side);background:var(--surface);border-bottom:1px solid var(--border);z-index:10;align-items:center;gap:12px;display:flex;position:sticky;top:0}.shell__menu-toggle{border:1px solid var(--border);border-radius:var(--radius);min-width:44px;min-height:44px;color:var(--text);cursor:pointer;background:0 0;justify-content:center;align-items:center;font-size:1.2rem;display:inline-flex}.shell__title{flex:1;font-weight:700}.shell__user{color:var(--text-muted);text-underline-offset:3px;text-overflow:ellipsis;white-space:nowrap;max-width:40vw;font-size:.9rem;text-decoration:underline;overflow:hidden}.shell__nav{background:var(--surface);border-bottom:1px solid var(--border);display:none}.shell--menu-open .shell__nav{display:block}.shell__nav ul{padding:6px var(--side);margin:0;list-style:none}.shell__nav a{border-radius:var(--radius);color:var(--text);align-items:center;gap:12px;padding:12px;line-height:1.3;text-decoration:none;display:flex}.shell__nav a.active{background:var(--info-bg);color:var(--info-text);box-shadow:inset 4px 0 0 var(--primary);font-weight:700}.shell__content{padding:12px var(--side);min-width:0}@media (width>=900px){.shell{grid-template-columns:240px 1fr}.shell__header{grid-column:1/-1}.shell__menu-toggle{display:none}.shell__nav{border-bottom:none;border-right:1px solid var(--border);display:block}.shell__content{padding:24px}}.page--wide{max-width:1100px}.page__header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.page header h1+p{margin:4px 0 0}.section-title{color:var(--text-muted);margin:8px 0 0;font-size:1.05rem}.small{font-size:.875rem}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}@media (width>=640px){.tiles{gap:var(--gap);grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}.tile{height:100%;min-height:132px;padding:var(--card-pad);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);color:var(--text);flex-direction:column;gap:6px;text-decoration:none;transition:border-color .15s,transform .15s;display:flex}.tile:hover{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.tile:active{transform:scale(.98)}.tile:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.tile__icon{border-radius:var(--radius);background:var(--info-bg);width:48px;height:48px;color:var(--info-text);justify-content:center;align-items:center;display:inline-flex}.tile__label{font-weight:700;line-height:1.25}.tile__description{color:var(--text-muted);font-size:.85rem;line-height:1.35}@media (width<=639px){.tile__description{display:none}}@media (prefers-reduced-motion:reduce){.tile{transition:none}}.list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.card{padding:var(--card-pad);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);flex-direction:column;gap:12px;display:flex}.card h2,.form h2{margin:0;font-size:1.15rem}.form{flex-direction:column;gap:14px;display:flex}.actions{flex-wrap:wrap;gap:8px;display:flex}.user__head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.user--inactive{opacity:.7}.badge{border-radius:var(--radius);background:var(--info-bg);color:var(--info-text);white-space:nowrap;margin-left:8px;padding:2px 10px;font-size:.8rem;font-weight:600;display:inline-block}.user__head>.badge{margin-left:0}.badge--muted{background:var(--bg);color:var(--text-muted);border:1px solid var(--border)}.chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.chip{border-radius:var(--radius);border:1px solid var(--border);padding:4px 10px;font-size:.85rem}.checkbox{cursor:pointer;align-items:center;gap:10px;min-height:40px;display:flex}.checkbox input{width:20px;height:20px;accent-color:var(--primary)}.perm-groups{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;display:grid}.perm-group{border:1px solid var(--border);border-radius:var(--radius);margin:0;padding:8px 12px 4px}.perm-group legend{padding:0 6px;font-size:.9rem;font-weight:600}.audit__entry{gap:4px}.icon-button{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-width:44px;min-height:44px;color:var(--text);cursor:pointer;justify-content:center;align-items:center;display:inline-flex}.icon-button:focus-visible{outline:3px solid var(--primary);outline-offset:1px}.ui-button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.badge--warn{background:var(--warn-bg);color:var(--warn-text);border:1px solid}.week-nav{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.week-nav__label{text-align:center;min-width:10.5em}.day{flex-direction:row;align-items:flex-start;gap:12px}.day>strong{min-width:7.5em}.day--off{opacity:.85}.my-shift{flex-direction:column;gap:2px;display:flex}.my-shift+.my-shift{border-top:1px solid var(--border);margin-top:8px;padding-top:8px}.my-shift__time{font-variant-numeric:tabular-nums;font-size:1.05rem;font-weight:700}.time-row{flex-wrap:wrap;gap:12px;display:flex}.time-picker{border:1px solid var(--border);border-radius:var(--radius);align-items:flex-end;gap:6px;margin:0;padding:6px 10px 10px;display:flex}.time-picker legend{padding:0 4px;font-size:.9rem;font-weight:600}.time-picker .ui-field label{color:var(--text-muted);font-size:.75rem;font-weight:400}.time-picker__sep{padding-bottom:10px;font-weight:700}.shift-chip{border:1px solid var(--primary);border-radius:var(--radius);background:var(--info-bg);width:100%;color:var(--info-text);font:inherit;font-variant-numeric:tabular-nums;text-align:left;cursor:pointer;margin-bottom:4px;padding:6px 8px;font-size:.875rem;font-weight:700;display:block}.shift-chip--changed{border-color:var(--warn-text);background:var(--warn-bg);color:var(--warn-text)}.shift-chip__note{font-size:.8rem;font-weight:400;display:block}.cell-add{border:1px dashed var(--border);border-radius:var(--radius);width:100%;min-height:32px;color:var(--text-muted);cursor:pointer;background:0 0;justify-content:center;align-items:center;display:inline-flex}.schedule-table-wrap{display:none;overflow-x:auto}.schedule-table{border-collapse:collapse;background:var(--surface);width:100%}.schedule-table th,.schedule-table td{border:1px solid var(--border);vertical-align:top;min-width:96px;padding:6px}.schedule-table thead th{background:var(--bg);text-align:left;font-size:.875rem}.schedule-table tbody th{text-align:left;min-width:140px}.schedule-days{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.schedule-days li{grid-template-columns:5.5em 1fr;align-items:start;gap:8px;display:grid}.schedule-days__day{padding-top:6px;font-weight:600}@media (width>=900px){.schedule-table-wrap{display:block}.schedule-cards{display:none}}.tabs{border-bottom:2px solid var(--border);display:flex}.tab{min-height:44px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:none;border-bottom:3px solid #0000;flex:1;margin-bottom:-2px;padding:0 12px;font-weight:600}.tab[aria-selected=true]{color:var(--text);border-bottom-color:var(--primary)}.tab:focus-visible{outline:3px solid var(--primary);outline-offset:-3px}.team{flex-direction:column;gap:10px;display:flex}.team__tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.team-day{gap:6px}.team-day__title{margin:0;font-size:1rem}.team-rows{margin:0;padding:0;list-style:none}.team-row{border-top:1px solid var(--border);grid-template-columns:7.2em 1fr;gap:10px;padding:8px 6px;display:grid}.team-row:first-child{border-top:none}.team-row__time{font-variant-numeric:tabular-nums;font-weight:700}.team-row__end{color:var(--text-muted);font-size:.8rem;font-weight:400;display:block}.team-row__who{min-width:0}.team-row__job{color:var(--text-muted);font-size:.85rem;display:block}.team-row--mine{background:var(--info-bg);box-shadow:inset 4px 0 0 var(--primary)}.team-row--hit{box-shadow:inset 4px 0 0 var(--warn-text)}mark{background:var(--mark-bg);color:var(--mark-text);border-radius:2px;padding:0 2px;font-weight:700}.back-link{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);min-height:44px;color:var(--text);align-items:center;gap:6px;margin-bottom:4px;padding:0 12px 0 8px;font-weight:600;text-decoration:none;display:inline-flex}.back-link:focus-visible{outline:3px solid var(--primary);outline-offset:1px}.tabs--scroll{scrollbar-width:thin;overflow-x:auto}.tabs--scroll .tab{flex:none}.st-nuevo{background:var(--st-nuevo);color:var(--st-nuevo-text)}.st-bueno{background:var(--st-bueno);color:var(--st-bueno-text)}.st-regular{background:var(--st-regular);color:var(--st-regular-text)}.st-malo{background:var(--st-malo);color:var(--st-malo-text)}.st-no-tiene{background:var(--st-no-tiene);color:var(--st-no-tiene-text)}.st-no-necesita{background:var(--st-no-necesita);color:var(--st-no-necesita-text)}.st-pendiente{background:var(--surface);color:var(--text-muted);border-style:dashed!important}.materials{flex-direction:column;gap:10px;display:flex}.legend{flex-wrap:wrap;gap:6px 14px;margin:0;padding:0;font-size:.875rem;list-style:none;display:flex}.legend li{align-items:center;gap:6px;display:inline-flex}.rate-list{margin:0;padding:0;list-style:none}.rate-item{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding:10px 0;display:flex}.rate-item:first-child{border-top:none}.rate-item--pending .rate-item__name{font-weight:700}.rate-buttons{flex-wrap:wrap;gap:6px;display:flex}.rate-button{border:1px solid var(--border);border-radius:var(--radius);min-height:40px;font:inherit;cursor:pointer;opacity:.55;align-items:center;gap:4px;padding:0 12px;font-size:.9rem;font-weight:600;display:inline-flex}.rate-button--on{opacity:1;outline:3px solid var(--text);outline-offset:1px}.rate-button:hover,.rate-button:focus-visible{opacity:1}.rate-button:disabled{cursor:progress}.segmented{border:1px solid var(--border);border-radius:var(--radius);align-self:flex-start;display:inline-flex;overflow:hidden}.segmented button{background:var(--surface);min-height:44px;color:var(--text);font:inherit;cursor:pointer;border:none;padding:0 16px;font-weight:600}.segmented button+button{border-left:1px solid var(--border)}.segmented button[aria-selected=true]{background:var(--primary);color:var(--primary-text)}.segmented button:focus-visible{outline:3px solid var(--text);outline-offset:-3px}.view-tools{flex-direction:column;gap:6px;display:flex}.status-dot{border:1px solid var(--border);border-radius:var(--radius);justify-content:center;align-items:center;width:22px;height:22px;font-size:.8rem;font-weight:800;display:inline-flex}.item-card{gap:8px}.item-card__head{width:100%;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:0;display:flex}.item-card__name{flex:1;font-weight:700;line-height:1.3}.buy-badge{border:1px solid var(--border);border-radius:var(--radius);color:var(--text-muted);white-space:nowrap;flex-shrink:0;padding:3px 8px;font-size:.8rem;font-weight:700}.buy-badge--yes{border-color:var(--danger-text);background:var(--danger-bg);color:var(--danger-text)}.status-bar{border:1px solid var(--border);border-radius:var(--radius);height:28px;display:flex;overflow:hidden}.status-bar span{justify-content:center;align-items:center;min-width:22px;font-size:.8rem;font-weight:800;display:flex}.status-bar span+span{border-left:1px solid var(--surface)}.status-bar--empty{color:var(--text-muted);align-items:center;padding:0 8px;font-size:.8rem}.count-line{flex-wrap:wrap;gap:4px 12px;display:flex}.count-line__item{align-items:center;gap:4px;display:inline-flex}.chips{flex-wrap:wrap;gap:6px;display:flex}.status-chip{border:1px solid var(--border);border-radius:var(--radius);max-width:100%;min-height:36px;font:inherit;text-align:left;cursor:pointer;align-items:center;gap:6px;padding:4px 10px 4px 4px;font-size:.875rem;font-weight:600;line-height:1.25;display:inline-flex}.status-chip__letter{background:#0000002e;border-radius:3px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-weight:800;display:inline-flex}.status-chip--active{outline:3px solid var(--text);outline-offset:1px}.person-section{flex-direction:column;gap:4px;display:flex}.cell-editor{z-index:5;box-shadow:0 4px 0 var(--border);position:sticky;top:56px}.reports{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.report{border:1px solid var(--border);border-radius:var(--radius);gap:8px;padding:8px;display:flex}.report--open{border-color:var(--danger-text);background:var(--danger-bg);color:var(--danger-text)}.report--open .muted{color:inherit}.report__resolve{color:var(--text);flex-direction:column;gap:6px;margin-top:8px;display:flex}.catalog{margin:0;padding:0;list-style:none}.catalog-item{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;display:flex}.catalog-item:first-child{border-top:none}.catalog-item>.form{width:100%}.shell__nav a svg,.tile__icon svg,.back-link svg,.ui-button svg{flex-shrink:0}.table-wrap{overflow-x:auto}.purchase{border-collapse:collapse;width:100%;font-size:.9rem}.purchase th,.purchase td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:6px 8px}.purchase thead th{border-bottom:2px solid var(--text)}.purchase .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.purchase__section th{background:var(--bg);padding-top:12px;font-size:.85rem}.purchase tfoot th,.purchase tfoot td{border-top:2px solid var(--text);border-bottom:none;font-size:1rem}.print-area header h2{margin:0 0 4px}@media print{.shell__header,.shell__nav,.back-link,.no-print{display:none!important}.shell{display:block}.shell__content{padding:0}body,.card,.purchase__section th{color:#000!important;background:#fff!important}.print-area{border:none;padding:0}.purchase th,.purchase td{border-color:#000}.muted{color:#333!important}}.status-chip__clock{flex-shrink:0}.verify-rows{margin:0;padding:0;list-style:none}.verify-row{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding:10px 0;display:flex}.verify-row__main{align-items:flex-start;gap:8px;display:flex}.verify-correct{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.assign-panel{flex-direction:column;gap:8px;width:100%;display:flex}.assign-list{border:1px solid var(--border);border-radius:var(--radius);max-height:50vh;margin:0;padding:4px 10px;list-style:none;overflow-y:auto}.print-area h3{margin:16px 0 4px;font-size:1rem}.observed-note{border-left:4px solid var(--warn-text);background:var(--warn-bg);color:var(--warn-text);border-radius:var(--radius);padding:6px 8px}.observe-form{flex-direction:column;gap:8px;display:flex}.report--unverified{border-style:dashed}.report__body{flex-direction:column;gap:4px;min-width:0;display:flex}.grand-total{border-top:2px solid var(--text);text-align:right;margin:12px 0 0;padding-top:8px;font-size:1.1rem}.record{gap:4px}.part-fields{flex-direction:column;gap:8px;display:flex}.part-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}
