/* A compact working surface: colorful tasks, one time card, optional details. */
body{font-family:-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",sans-serif;background:#f3f5ff;color:#172440}
button,input,select,textarea,summary{font-family:inherit}
.app{width:min(580px,100%);padding-top:max(12px,env(safe-area-inset-top))}
.app>header{padding-bottom:10px}.app h1{font-size:27px}.eyebrow{color:#586586}.avatar-button{background:#dddfff;color:#4230a4}
.page-tabs{padding-bottom:12px;gap:5px}.page-tabs a{padding:10px 6px;color:#52617d}.page-tabs .is-active{background:#4434b8;color:#fff}
.section-heading{margin-bottom:8px}.section-heading h2{font-size:16px}.section-heading span{font-size:12px;color:#526a73}
.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.category{--tile:#d9eaff;--ink:#15478c;--edge:#2475d7;background:var(--tile);color:var(--ink);border-color:transparent;min-height:80px;padding:7px 3px;gap:5px;border-radius:16px;box-shadow:none;transition:transform .12s,border-color .12s}
.tone-violet{--tile:#e7d9ff;--ink:#563093;--edge:#8548d5}.tone-amber{--tile:#ffe19d;--ink:#754900;--edge:#bb7905}.tone-cyan{--tile:#b9f0f1;--ink:#075e66;--edge:#13898f}.tone-indigo{--tile:#d8dcff;--ink:#3c428c;--edge:#6261db}.tone-rose{--tile:#ffd6e6;--ink:#952454;--edge:#d0387a}.tone-green{--tile:#bcf0d1;--ink:#12613e;--edge:#218651}
.category.is-selected{background:var(--tile);border-color:var(--edge);box-shadow:inset 0 0 0 1px var(--edge),0 3px 9px #26346d14}
.category .category-icon{width:27px;height:27px;background:transparent;color:var(--ink);border-radius:0}.category-icon svg{width:26px;height:26px}
.category strong{font-size:13px;font-weight:650;line-height:1.15;overflow-wrap:anywhere}.category>i{width:13px;height:13px;top:5px;right:5px;border-color:var(--edge);opacity:.4}.category.is-selected>i{background:var(--edge);border-color:var(--edge);box-shadow:inset 0 0 0 3px #fff;opacity:1}
.category.tone-green{grid-column:span 2;min-height:80px;gap:8px;padding:8px}.category.tone-green strong{font-size:14px;width:auto}.category.tone-green>i{top:5px;right:5px}
.mode-switch{margin:12px 0 0;background:#e2e5f5}.mode-switch button{height:36px;color:#505d7e}.mode-switch button.is-active{color:#4434b8}
.block-panel{margin:10px 0;padding:14px;border:0;border-radius:22px;box-shadow:0 8px 26px #34317c09}
.time-inputs{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:8px}.time-inputs label{min-width:0;display:grid;gap:5px}.time-inputs label>span{font-size:13px;font-weight:600;color:#586581}
.time-inputs input{appearance:none;-webkit-appearance:none;min-width:0;width:100%;height:44px;font-size:16px;font-weight:650;border:1px solid #dfe2f1;background:#f7f8fe;border-radius:10px;color:#233259;padding:5px 7px;text-align:center}
.time-inputs input::-webkit-date-and-time-value{min-height:1em;text-align:center}
.duration-header{margin-top:10px;gap:6px}.duration-header strong{font-size:21px;color:#4434b8}.duration-header button{min-height:36px;padding:6px 8px;color:#586581;background:#f2f3fa;font-size:12px}
.duration-chips{gap:5px;margin-top:6px}.duration-chips button{height:44px;font-size:12px;color:#3f2ea4;border-color:#d8d0ff;background:#eee9ff}.duration-chips button:nth-child(2){background:#e0edff;border-color:#cbdffe;color:#194c95}.duration-chips button:nth-child(3){background:#d4f3eb;border-color:#b4e3d5;color:#16594d}.duration-chips button:nth-child(4){background:#ffedc2;border-color:#f1d69a;color:#785209}.duration-chips button:nth-child(5){background:#ffdeeb;border-color:#f2c0d5;color:#912c54}
.roller-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:7px 0 4px}.roller-title{margin:0;font-size:13px;color:#536182}
.feedback-controls{display:flex;gap:4px}.feedback-controls button{font-size:12px;min-height:36px;border:0;border-radius:9px;background:#f0f2fa;color:#536182;padding:4px 8px}.feedback-controls button[aria-pressed=true]{background:#dfd9ff;color:#4434b8}
.time-roller{height:84px;border:0;background:#eeeaff;border-radius:14px}.roller-values{padding:6px 8px}.roller-values strong{font-size:32px;color:#4434b8}.roller-values span{color:#69638c;font-size:14px}.roller-ticks{height:15px;bottom:10px;background-image:repeating-linear-gradient(90deg,#a69bd7 0 1px,transparent 1px 15px)}.roller-marker{height:21px;bottom:8px;background:#7051da}.time-roller.is-dragging{background:#e3dafe;box-shadow:inset 0 0 0 2px #a18ae3}
.roller-actions{margin-top:4px}.roller-actions>button{min-height:36px;padding:6px 10px;background:#eeeaff;color:#51419a}.roller-actions>span{font-size:12px;color:#5f6882}.wheel-help{margin:1px 0 0;color:#67728a;font-size:12px}
.time-roller.feedback-pulse .roller-marker{background:#e44791;box-shadow:0 0 0 4px #e4479130}
.compact-detail,.extras-section.compact-detail{border:0;border-radius:14px;background:#fff;margin:8px 0;padding:0 13px;box-shadow:none}
.compact-detail>summary{min-height:46px;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;font-weight:650;list-style:none;color:#394567}.compact-detail>summary::-webkit-details-marker{display:none}.compact-detail>summary:before{content:'+';font-size:20px;font-weight:500;color:#7662c4}.compact-detail[open]>summary:before{content:'−'}.compact-detail>summary>small{margin-left:auto;max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;color:#616c86}.extras-section summary span{font:inherit;color:inherit}.compact-detail[open]{padding-bottom:13px}.compact-detail[open]>summary{margin-bottom:4px}
.location-detail .studio-picker{margin-top:10px}.studio-picker button{font-size:13px;color:#536182}.studio-picker .is-selected{background:#e8e1ff;color:#4936a2;border-color:#ae9ae6}
.speech-button{min-height:44px;background:#e6e0ff;color:#4936a2;border-color:#cabeef}.speech-status:empty{display:none}.speech-status{font-size:12px}.note-wrap{box-shadow:none}.note-wrap textarea{min-height:60px}.speech-privacy{font-size:12px}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sticky-book{background:#f3f5fff2;padding:8px 0 max(8px,env(safe-area-inset-bottom));margin-top:6px}.book-button{background:#4935bf;box-shadow:0 5px 18px #4935bf25;font-size:16px}.book-button:disabled{opacity:1;color:#626b83;background:#e0e3f1;box-shadow:none}
.app footer{font-size:12px;padding-top:12px;color:#65718b}.app footer a{color:#5545a1}.stats-grid>div:nth-child(1){background:#e7deff;border-color:#d2c4fa}.stats-grid>div:nth-child(2){background:#cff1e6;border-color:#b3dfcf}.stats-grid>div:last-child{background:#ffe3b4;border-color:#edcd99}.stats-grid span,.stats-grid small{color:#53617b}
@media(max-width:370px){.category-grid{gap:5px}.category strong{font-size:12px}.time-inputs{gap:5px}.time-inputs input{font-size:14px;padding:4px}.feedback-controls button{padding:4px 5px}.roller-title{font-size:12px}}
@media(prefers-reduced-motion:reduce){.category{transition:none}.time-roller.feedback-pulse .roller-marker{box-shadow:none}}
