/* Preserve the full logo canvas and center it without enlargement or clipping. */
.company-brand{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;background:transparent;border-radius:6px}
.company-brand img{display:block;position:static;width:100%;max-width:100%;height:auto;object-fit:contain;object-position:center;transform:none;margin-inline:auto}
.sidebar .company-brand{flex-shrink:0}
.login-card .company-brand{margin-bottom:30px}
.profile-identity{display:flex;align-items:center;gap:10px;min-width:0;margin-bottom:12px;white-space:nowrap}
.profile-identity strong{overflow:hidden;text-overflow:ellipsis;min-width:0}
.profile-role{flex-shrink:0;font-size:.8rem;color:#b8cfd7}
.filter-actions{display:flex;gap:12px;flex-shrink:0}
.filter-button{width:76px;height:42px;padding:9px 15px}
.login-shell{position:relative;isolation:isolate;overflow:hidden;background:#eef3f2}
.login-home{grid-template-columns:minmax(0,1fr) minmax(360px,460px);gap:7vw;padding:70px max(6vw,24px);background:radial-gradient(ellipse at 12% 20%,#dfece8 0,transparent 60%),linear-gradient(125deg,#edf3f1,#f5f7f7)}
.login-card{position:relative;width:min(460px,calc(100% - 40px));border:1px solid #ffffffb3;box-shadow:0 24px 80px #123b4b0e;background:#ffffffed}
.login-home .login-card{width:100%;justify-self:end}
.login-intro{justify-self:center;max-width:520px;color:#365d60}
.login-kicker{font-size:.7rem;letter-spacing:.28em;color:#718e89;margin-bottom:28px}
.login-intro h2{font-size:clamp(1.8rem,3.2vw,3rem);line-height:1.65;letter-spacing:.06em;font-weight:500;margin-bottom:22px}
.login-intro>p:last-of-type{font-size:.9rem;letter-spacing:.14em;color:#7b918e}
.time-watermark{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;color:#366b62}
.time-rings{position:absolute;left:-290px;top:50%;width:1000px;height:1000px;transform:translateY(-50%);border-radius:50%;opacity:.25;background:repeating-radial-gradient(circle,transparent 0 78px,#72968a38 79px 80px,transparent 81px 106px)}
.time-rings:after{content:"";position:absolute;inset:84px;border-radius:50%;background:repeating-conic-gradient(from 0deg,#6a93895c 0deg .12deg,transparent .12deg 6deg);mask:radial-gradient(circle,transparent 67%,#000 67.3% 68%,transparent 68.3%)}
.time-strata{position:absolute;inset:70% -10% -40%;transform:rotate(-12deg);opacity:.3;background:repeating-linear-gradient(0deg,transparent 0 26px,#7c9b8c36 27px 28px)}
.time-scale{position:absolute;left:7%;right:7%;bottom:42px;display:flex;justify-content:space-between;border-top:1px solid #638b791c;padding-top:12px;color:#6a887d66;font-size:.7rem;font-variant-numeric:tabular-nums;letter-spacing:.12em}
.accumulation{display:flex;align-items:end;gap:8px;height:72px;margin-top:36px;opacity:.28}
.accumulation i{width:17px;height:15px;border:1px solid #5f9081;background:#81a99a18;border-radius:2px}
.accumulation i:nth-child(n+3){height:25px}.accumulation i:nth-child(n+5){height:36px}.accumulation i:nth-child(n+7){height:47px}.accumulation i:nth-child(n+9){height:58px}.accumulation i:nth-child(n+11){height:70px}
@media(prefers-reduced-motion:no-preference){.time-rings:after{animation:time-pass 180s linear infinite}@keyframes time-pass{to{transform:rotate(360deg)}}}
@media(min-width:1500px){.login-home{padding-inline:max(10vw,calc((100vw - 1280px)/2))}}
@media(max-width:900px){.login-home{gap:32px;padding-inline:30px;grid-template-columns:minmax(0,1fr) minmax(320px,400px)}.login-intro h2{font-size:1.8rem}.login-kicker{font-size:.6rem}}
@media(max-width:760px){.sidebar .company-brand{width:190px}.profile{flex-wrap:wrap;gap:8px}.profile-identity{margin:0;margin-right:6px;max-width:100%}.login-home{grid-template-columns:1fr;gap:26px;padding:40px 20px 80px}.login-intro{justify-self:start;margin-inline:auto;width:min(100%,460px)}.login-intro h2{font-size:1.45rem;line-height:1.5;margin-bottom:10px}.login-intro h2 br{display:none}.login-kicker{margin-bottom:10px}.accumulation{display:none}.login-home .login-card{justify-self:center;max-width:460px}.time-scale{bottom:24px}.time-rings{left:-600px}.filter-actions{gap:12px}}
.time-picker{min-width:0;margin:0;padding:0;border:0;font-size:.875rem;color:#425f70}
.time-picker legend{padding:0;margin-bottom:6px}
.time-selects{display:flex;align-items:center;gap:5px}
.time-selects select{flex:1;min-width:0;padding:9px 5px;font-variant-numeric:tabular-nums}
.time-picker .help{display:block}
.week-switch{display:flex;align-items:end;gap:8px}.week-table{min-width:1000px}.week-table td,.week-table th{padding:12px 8px}.week-table td:first-child{min-width:240px}.week-table input{min-width:75px}.week-table small{display:block;color:var(--muted)}.week-table tfoot{background:#edf4f4;font-variant-numeric:tabular-nums}.week-actions{margin-bottom:16px;gap:10px}.week-actions select{width:auto}.week-templates{padding:22px;margin-top:24px}.week-template-item{display:flex;align-items:center;gap:18px;padding:12px 0;border-top:1px solid var(--border)}.week-template-item strong{flex:1;overflow-wrap:anywhere}
.week-save-actions{display:flex;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid var(--border)}.week-actions{display:flex;flex-wrap:nowrap;align-items:center}.week-actions>button,.week-copy-wrap>button{height:42px}.week-copy-wrap{position:relative;flex-shrink:0}#week-copy-menu{position:absolute;top:calc(100% + 5px);left:0;z-index:3;min-width:210px;background:white;border:1px solid var(--border);border-radius:7px;box-shadow:0 6px 20px #123b4b20;padding:5px}#week-copy-menu button{display:block;width:100%;text-align:left;border:0}.week-actions>button{flex-shrink:0}@media(max-width:480px){.week-actions{gap:5px}.week-actions>button,.week-copy-wrap>button{padding-inline:8px;font-size:.8rem}}

.week-table td{vertical-align:top}.week-table input,.week-table select{height:42px}.week-cell-status{display:block;min-height:20px;line-height:20px;margin-top:5px;font-size:.75rem}.week-table [data-row-total]{padding-top:20px}.week-table .under-eight{color:#b63535;font-weight:700}

.week-record-action{padding:0 4px;font-size:.7rem;line-height:20px}.week-cell-status{white-space:nowrap}
