.personal-hours-summary{padding:12px 16px;border:1px solid var(--line);border-left:3px solid #6bb2c5;border-radius:10px;background:var(--surface-soft);margin-bottom:10px}.personal-hours-summary small{margin-top:5px;color:var(--muted)}
#dialog.psh-dialog{width:min(1260px,96vw);max-width:96vw;padding:24px;max-height:94vh;overflow:auto}
.psh-dialog h2{margin-bottom:10px}.psh-intro{font-size:13px;color:var(--muted);margin:0 0 16px}.psh-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.psh-total{display:flex;flex-direction:column;gap:6px}.psh-total small{font-size:10px;letter-spacing:.07em;color:var(--muted)}.psh-total strong{font-size:26px;color:var(--ink)}.psh-view{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.psh-dialog .psh-view .field{width:100px;margin:0}.psh-view button{min-height:44px}
.psh-scroll{max-height:52vh;min-height:240px;overflow:auto;border:1px solid var(--line);border-radius:12px;overscroll-behavior:contain;user-select:none}
.psh-grid{display:grid;grid-template-columns:64px repeat(7,minmax(104px,1fr));min-width:800px;position:relative}
.psh-heading{position:sticky;top:0;z-index:3;background:var(--surface-raised);border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 5px;text-align:center;font-size:12px;font-weight:700}
.psh-corner{left:0;z-index:5}.psh-hours{position:sticky;left:0;z-index:2;background:var(--surface);border-right:1px solid var(--line)}
.psh-hours>span{display:block;height:22px;font-size:11px;text-align:center;padding-top:2px}
.psh-day{border-right:1px solid var(--line)}.psh-cell{display:block;min-height:22px;height:22px;width:100%;border:0;border-bottom:1px solid color-mix(in srgb,var(--line) 45%,transparent);border-radius:0;padding:0;background:var(--surface);touch-action:pan-x pan-y}
.psh-hour-line{border-top:1px solid var(--line)}.psh-cell:hover{background:var(--surface-raised);box-shadow:inset 0 0 0 1px #6bb2c5}
.psh-cell.psh-marked{background:#d0e9f0;box-shadow:inset 3px 0 #43879a}.psh-cell.psh-marked:hover{background:#b7dce6}
html[data-theme=dark] .psh-cell.psh-marked{background:#254550;box-shadow:inset 3px 0 #6bb2c5}html[data-theme=dark] .psh-cell.psh-marked:hover{background:#315662}
.psh-cell:focus-visible{outline:2px solid var(--focus);outline-offset:-2px;position:relative;z-index:1}
.psh-day-total{position:sticky;bottom:0;z-index:3;background:var(--surface-raised);border-top:2px solid #6bb2c5;border-right:1px solid var(--line);padding:10px 4px;text-align:center}
.psh-day-total small{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}.psh-day-total strong{font-size:14px;white-space:nowrap}.psh-total-label{left:0;z-index:5;font-size:10px;color:var(--muted)}
.psh-total-values,.psh-day-values{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap}.psh-day-values{justify-content:center;gap:4px 7px}.psh-equivalent{display:inline-block;border:1px solid color-mix(in srgb,#43879a 40%,var(--line));background:#e3f1f5;color:#285564;border-radius:6px;padding:4px 7px;font-size:12px;line-height:1.4;font-weight:600}.psh-day-values .psh-equivalent{font-size:10px;padding:2px 5px}.psh-total-values .psh-equivalent{max-width:100%}html[data-theme=dark] .psh-equivalent{background:#254550;color:#c4eaf3;border-color:#426471}
.psh-status{font-size:12px;color:var(--muted);min-height:19px;margin:10px 0 0}.psh-dialog .practice-actions{position:sticky;bottom:0;z-index:6;background:var(--surface);justify-content:flex-end;margin-bottom:0;padding:12px 0 0;border-top:1px solid var(--line)}.psh-dialog .subtle{margin:8px 0}
@media(max-width:600px){#dialog.psh-dialog{padding:16px}.psh-view{gap:8px}.psh-dialog .psh-view .field{flex:1;min-width:100px}.psh-scroll{max-height:44vh;min-height:220px}.psh-dialog h2{font-size:18px}.psh-intro{font-size:12px}}
