header { position: sticky; top: 0; z-index: 1; background: var(--bg-card); border-bottom: 1px solid var(--border-subtle); padding-top: env(safe-area-inset-top); }
.bar, main { max-width: 480px; margin: 0 auto; padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left)); }
.bar { display: flex; align-items: center; gap: 8px; }
.brand { flex: 1; min-width: 0; line-height: 1.25; }
h1 { font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
main { padding-top: 16px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
section { display: grid; gap: 14px; }
h2 { font-size: 1rem; font-weight: 800; }
form { display: grid; gap: 6px; }
label { font-size: .85rem; font-weight: 600; }
.field { min-height: 48px; margin-bottom: 8px; }
section > .btn, form > .btn, .row > .btn { width: 100%; min-height: 48px; }
.btn.big { min-height: 84px; font-size: 1.35rem; border-radius: 16px; }
.row { display: flex; gap: 12px; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.month { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border-field); border-radius: 12px; background: var(--bg-field); }
.month .btn { border: 0; background: none; }
.month .num { font-weight: 700; font-size: .85rem; }
.paper { margin: 14px -16px 0; border-top: 1px solid var(--border-subtle); }
table { width: 100%; border-collapse: collapse; }
th { padding: 6px; background: var(--bg-field); color: var(--text-muted); font-size: .75rem; font-weight: 700; text-align: left; }
td { padding: 8px 6px; border-top: 1px solid var(--border-subtle); vertical-align: middle; }
td:first-child, th:first-child { padding-left: 16px; white-space: nowrap; }
td:first-child { font-weight: 700; }
td small { color: var(--text-muted); font-weight: 500; }
tr.weekend { background: var(--weekend); }
tr.weekend small { color: var(--accent); }
.slot { display: inline-flex; white-space: nowrap; align-items: center; gap: 5px; margin: 2px 4px 2px 0; padding: 2px 8px; border: 1px solid var(--border-field); border-radius: 8px; background: var(--bg-card); font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace; font-size: .8rem; }
.empty { padding: 16px; text-align: center; color: var(--text-muted); }
video { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; border-radius: 12px; margin-top: 12px; }
#view-done .card { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 28px 16px; }
#done-title { font-size: 1.45rem; font-weight: 800; }
#done-time { font-size: 3rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
#employee { text-transform: uppercase; }
.paper + .muted { margin-top: 12px; }
select.tool { appearance: none; text-align: center; text-align-last: center; width: auto; flex: none; }
.bar .tool { padding: 4px 6px; }
.brand { overflow: hidden; }
.month .num { white-space: nowrap; }
