/* Team schedule: floating labels, progress pills and a compact work board. */
.time-page{display:grid;gap:16px;font-size:12px;--schedule-bg:color-mix(in srgb,var(--soft) 40%,var(--panel))}
.time-toolbar,.time-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.time-toolbar{padding-bottom:12px;border-bottom:1px solid var(--edge)}
.time-heading{display:flex;align-items:center;gap:8px;margin-inline-end:14px}.time-heading h1{font-size:19px;margin:0}.time-spacer{flex:1}
.time-page .btn{min-height:34px;padding:6px 12px;font-size:12px;border-radius:10px}.time-page .btn:not(.primary){background:var(--card);color:var(--ink)}
.time-page .icon{width:16px;height:16px}.time-page .icon-btn{width:32px;padding:6px}.time-page .segmented{gap:3px;padding:3px;border-radius:12px}
.time-page .segmented .btn{background:transparent;color:var(--muted)}.time-page .segmented .active{background:var(--card);color:var(--primary);box-shadow:0 2px 5px #10294008}
.time-date-nav{display:flex;align-items:center;gap:4px}.time-date-nav input{width:145px;font-size:12px;height:35px;min-height:35px;padding:6px 10px}
.time-date-nav [data-action="prev"] .icon{transform:rotate(180deg)}
.time-filters .select-wrap{width:160px}.time-filters select{min-height:35px;font-size:12px;padding:6px 28px 6px 12px}
.time-key{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;white-space:nowrap}.time-key i{width:7px;height:7px;border-radius:50%;background:#8571ce;margin-inline-start:8px}.time-key .running{background:#388bee}.time-key .finished{background:#2a946d}.time-key .off{background:var(--muted)}
.time-layout{min-width:0}.time-grid-wrap{border:1px solid color-mix(in srgb,var(--edge) 55%,transparent);border-radius:22px;overflow:auto;max-height:calc(100vh - 270px);overscroll-behavior:contain;background:var(--schedule-bg);scrollbar-width:thin;direction:ltr;position:relative;padding-bottom:16px}
.time-grid{min-width:calc(var(--time-width) + 208px);direction:ltr}.time-grid-head,.time-row{display:grid;grid-template-columns:208px var(--time-width)}
.time-grid-head{position:sticky;top:0;z-index:4;height:72px;background:var(--schedule-bg)}
.time-person{direction:rtl;position:sticky;left:0;z-index:3;background:var(--schedule-bg);padding:14px 20px;display:flex;align-items:center;min-width:0}
.time-person-heading{gap:8px;color:var(--muted);font-size:11px}.time-person-heading small{display:block;font-size:10px;font-weight:400;margin-top:3px}
.time-person-pill{width:100%;min-height:58px;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:18px;background:var(--card);border:1px solid color-mix(in srgb,var(--edge) 35%,transparent);box-shadow:0 5px 14px #172d4910}
[data-person-tone="0"]{--person-tone:#2268ec}[data-person-tone="1"]{--person-tone:#8756e8}[data-person-tone="2"]{--person-tone:#ce48ba}[data-person-tone="3"]{--person-tone:#e4a019}
.time-person-pill>div{min-width:0;flex:1}.time-person strong{font-size:11px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time-person small{display:block;color:var(--muted);font-size:10px;margin-top:4px}
.time-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-content:center;background:var(--person-tone,#2268ec);color:white;box-shadow:0 0 0 4px color-mix(in srgb,var(--person-tone) 10%,transparent);flex:none;font-size:11px;font-weight:600}
.time-axis,.time-track{position:relative;background-image:linear-gradient(to right,color-mix(in srgb,var(--edge) 70%,transparent) 1px,transparent 1px);background-size:var(--tick) 100%}
.time-axis>.time-tick{position:absolute;top:22px;display:grid;gap:4px;min-width:48px;padding:0 8px;text-align:center;white-space:nowrap;color:var(--muted)}.time-tick b{font-size:12px;font-weight:600;color:var(--ink)}.time-tick small{font-size:10px}.time-tick.is-today b,.time-tick.is-today small{color:var(--primary)}
.time-slot{position:absolute;direction:rtl;min-height:64px;height:64px;border:1px solid color-mix(in srgb,var(--slot-tone) 20%,transparent);border-radius:999px;background:color-mix(in srgb,var(--slot-tone) 24%,var(--card));color:var(--ink);padding:0;cursor:grab;text-align:right;overflow:hidden;z-index:1;box-shadow:0 5px 12px color-mix(in srgb,var(--slot-tone) 12%,transparent);touch-action:none;transition:box-shadow .18s,transform .18s;container-type:inline-size}
.time-slot-fill{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:linear-gradient(110deg,var(--slot-tone),color-mix(in srgb,var(--slot-tone) 84%,white));opacity:.6;pointer-events:none}
.time-slot-content{position:relative;display:flex;align-items:center;gap:9px;height:100%;padding:10px 18px;pointer-events:none}
.time-slot-copy{display:grid;gap:3px;min-width:0;flex:1}.time-slot-copy b{font-size:11px;line-height:1.35;font-weight:650;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.time-slot-copy>span{font-size:9px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;opacity:.75}.time-slot-copy time{font-size:9px;opacity:.85;text-align:start;font-variant-numeric:tabular-nums}
.time-slot-percent{display:flex;align-items:baseline;gap:1px;font-size:21px;font-weight:750;letter-spacing:-.7px;flex:none;direction:ltr;font-variant-numeric:tabular-nums}.time-slot-percent small{font-size:13px;font-weight:600}.time-slot-percent>.icon{width:13px;height:13px;align-self:center;margin-left:4px}
.time-slot:hover,.time-slot:focus-visible{box-shadow:0 8px 22px color-mix(in srgb,var(--slot-tone) 25%,transparent);z-index:2;outline:none;transform:translateY(-2px)}.time-slot:focus-visible{outline:3px solid color-mix(in srgb,var(--slot-tone) 35%,transparent);outline-offset:3px}
.time-slot.running{box-shadow:0 0 0 3px color-mix(in srgb,var(--slot-tone) 13%,transparent),0 5px 14px color-mix(in srgb,var(--slot-tone) 18%,transparent)}.time-slot.finished{cursor:pointer}.time-slot.finished .time-slot-percent>.icon{color:var(--ink)}
.time-avatars{display:flex;direction:ltr;flex:none;padding-inline-end:1px}.time-avatars>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:color-mix(in srgb,var(--slot-tone,var(--person-tone,#2268ec)) 68%,#172d49);color:white;border:2px solid #ffffffbc;font-size:8px;font-weight:600;margin-left:-7px}.time-avatars>span:first-child{margin-left:0}
@container(max-width:250px){.time-slot-content>.time-avatars{display:none}.time-slot-content{gap:6px;padding:9px 14px}.time-slot-percent{font-size:18px}.time-slot-copy>span{display:none}}
@container(max-width:135px){.time-slot-percent{display:none}.time-slot-content{padding:8px}.time-slot-copy b{font-size:10px}.time-slot-copy time{font-size:8px}}
@container(max-width:72px){.time-slot-copy time{display:none}}
@container(max-width:48px){.time-slot-content{visibility:hidden}}
.time-slot{user-select:none;box-sizing:border-box}
.time-slot.moving{transition:none;transform:none;z-index:5;box-shadow:0 10px 20px #0002;cursor:grabbing}
.time-slot.resizing{cursor:ew-resize;box-shadow:0 0 0 2px color-mix(in srgb,var(--slot-tone) 35%,transparent),0 8px 22px #0002}
.time-resize{position:absolute;inset-block:0;width:min(16px,50%);cursor:ew-resize;z-index:3;display:grid;place-items:center;touch-action:none}
.time-resize:after{content:'';width:3px;height:20px;border-radius:4px;background:currentColor;opacity:.16;transition:opacity .16s,height .16s}
.time-slot:hover .time-resize:after,.time-slot:focus-visible .time-resize:after{opacity:.45}
.time-resize:hover:after,.resizing .time-resize:after{opacity:.8;height:26px}
.time-resize.start{left:0}.time-resize.end{right:0}
.time-slot.saving-time{cursor:default;box-shadow:0 0 0 3px color-mix(in srgb,var(--slot-tone) 18%,transparent)}
.time-drag-preview{position:fixed;z-index:2000;pointer-events:none;display:flex;align-items:center;gap:10px;direction:rtl;padding:9px 13px;background:var(--card);color:var(--ink);border:1px solid var(--edge);border-radius:12px;box-shadow:0 8px 24px #14263d20;font-size:12px;white-space:nowrap;animation:time-reveal .12s ease-out}
.time-drag-preview b{font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}.time-drag-preview span{font-size:10px;color:var(--muted);border-inline-start:1px solid var(--edge);padding-inline-start:10px}
@media(prefers-reduced-motion:reduce){.time-drag-preview{animation:none}.time-resize:after{transition:none}}
.time-track.drop-target{background-color:var(--soft)}.time-now{position:absolute;top:0;bottom:0;width:2px;background:#388bee;pointer-events:none;z-index:2;opacity:.85}.time-now:before{content:'';position:absolute;top:0;left:-3px;width:8px;height:8px;border-radius:50%;background:inherit}.time-now-label{position:absolute;bottom:0;transform:translateX(-50%);font-size:10px;padding:4px 7px;border-radius:6px 6px 0 0;color:#fff;background:#388bee;z-index:5;font-weight:600}
.time-off-band{position:absolute;top:0;bottom:0;pointer-events:none;background:repeating-linear-gradient(135deg,transparent,transparent 5px,color-mix(in srgb,var(--muted) 7%,transparent) 5px,color-mix(in srgb,var(--muted) 7%,transparent) 6px);background-color:color-mix(in srgb,var(--muted) 3%,transparent)}
.time-work-heading{display:flex;align-items:center;gap:10px;margin-top:4px}.time-work-heading h2{font-size:14px;margin:0}.time-work-heading>span{font-size:10px;color:var(--muted)}
.time-status-board{display:flex;gap:14px;overflow:auto;overscroll-behavior-x:contain;padding-bottom:10px;align-items:flex-start;scrollbar-width:thin}
.time-status-column{flex:1 0 222px;min-width:222px;max-width:310px}.time-status-column>header{display:flex;align-items:center;gap:8px;padding:4px 8px 12px}.time-status-column>header i{width:6px;height:6px;border-radius:50%;background:var(--person-tone)}.time-status-column h3{font-size:12px;font-weight:650;margin:0}.time-status-column>header>span{font-size:10px;color:var(--muted);margin-inline-start:auto}
.time-status-list{background:var(--card);padding:8px;border-radius:16px;border:1px solid color-mix(in srgb,var(--edge) 70%,transparent);box-shadow:0 5px 18px #15284506}
.time-backlog-card{width:100%;padding:11px;border:0;border-radius:10px;background:var(--panel);color:var(--ink);text-align:start;cursor:pointer;margin:0 0 7px;display:grid;gap:5px;transition:background .16s,box-shadow .16s}
.time-backlog-card:last-child{margin-bottom:0}.time-backlog-card:hover{background:var(--soft);box-shadow:0 0 0 1px var(--edge)}.time-task-top{display:flex;align-items:center;gap:8px}.time-task-top strong{font-size:11px;line-height:1.6;font-weight:600;flex:1}.time-task-top>.icon{width:13px;height:13px;flex:none;color:var(--muted)}.is-complete .time-task-top>.icon{color:#29956e}.is-complete{opacity:.72}
.time-backlog-card>small{font-size:10px;color:var(--muted)}.time-task-bottom{display:flex;align-items:center;gap:6px;margin-top:3px;font-size:9px;color:var(--muted)}.time-task-bottom time{margin-inline-start:auto;white-space:nowrap}.time-task-bottom .time-avatars>span{width:20px;height:20px;font-size:7px}
.time-task-assignees{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%;font-size:10px;font-family:inherit;line-height:1.5;color:var(--ink)}
.time-task-assignees[type=button]{justify-self:start;border:1px solid transparent;border-radius:7px;padding:4px 6px;margin-inline-start:-6px;background:transparent;text-align:start;cursor:pointer;transition:background .15s,border-color .15s}
.time-task-assignees[type=button]:hover{background:var(--card);border-color:var(--edge)}
.time-task-assignees[type=button]:focus-visible,.time-backlog-card:focus-visible{outline:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 28%,transparent)}
.time-task-assignees>span:not(.time-avatars){min-width:0;overflow-wrap:anywhere}
.time-task-assignees>.icon{width:14px;height:14px;flex:none;color:var(--muted)}
.time-task-assignees>.icon:last-child:not(:first-child){width:11px;height:11px;margin-inline-start:2px}
.time-task-assignees .time-avatars>span{width:20px;height:20px;font-size:7px}
.time-task-progress{height:4px;border-radius:8px;background:var(--edge);overflow:hidden;margin-top:4px}.time-task-progress i{display:block;height:100%;background:var(--person-tone);border-radius:inherit}
.time-status-empty,.time-empty{font-size:12px;color:var(--muted);padding:24px;text-align:center}.time-empty{direction:rtl;max-width:650px}
.time-inspector{display:flex;align-items:center;gap:18px;flex-wrap:wrap;position:sticky;bottom:10px;z-index:5;padding:14px 18px;background:var(--card);border:1px solid var(--edge);border-radius:15px;box-shadow:0 6px 24px #0001;animation:time-reveal .18s ease-out}.time-inspector[hidden]{display:none}.time-inspect-title{flex:1}.time-inspect-title strong{font-size:13px}.time-inspect-title small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.time-inspector .row{gap:6px}.time-elapsed{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}
.time-book-dialog{max-width:550px!important}.time-book-form{display:grid;gap:15px}.time-book-form input,.time-book-form select{font-size:12px;min-height:38px}.time-book-message{font-size:12px;color:var(--muted)}.time-book-dialog .dialog-foot .btn{min-height:35px;padding:6px 17px;font-size:12px}.time-loading,.timeline-loading{padding:30px;color:var(--muted)}
@keyframes time-reveal{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.time-inspector{animation:none}.time-slot,.time-backlog-card{transition:none}}
.work-hours-page{font-size:13px}.work-hours-page .page-head h1{font-size:19px}.work-hours-page .icon{width:17px;height:17px}.work-hours-page .btn{min-height:34px;padding:6px 14px;font-size:12px}.work-hours-form{display:grid;gap:18px}.hours-panel{background:var(--card);border:1px solid var(--edge);border-radius:20px;padding:24px}.hours-panel h2{font-size:14px;margin:0 0 18px;display:flex;align-items:center;gap:6px}.hours-panel>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.hours-panel>header h2{margin:0}.hours-days{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.hours-days label{cursor:pointer;position:relative}.hours-days input{position:absolute;opacity:0;width:1px;height:1px}.hours-days span{display:block;border:1px solid var(--edge);border-radius:12px;padding:12px 22px;color:var(--muted)}.hours-days input:checked+span{background:var(--soft);color:var(--primary);border-color:color-mix(in srgb,var(--primary) 40%,var(--edge))}.hours-days input:focus-visible+span{box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 20%,transparent)}.hours-times{display:flex;align-items:end;gap:16px}.hours-times .field{width:170px}.hours-times small{color:var(--muted);padding-bottom:12px}.hours-panel input{min-height:37px;font-size:12px}.holiday-head,.holiday-row{display:grid;grid-template-columns:minmax(180px,1fr) 155px 155px 34px;align-items:center;gap:12px}.holiday-head{font-size:11px;color:var(--muted);padding-bottom:8px}.holiday-row{border-top:1px solid var(--edge);padding:10px 0}.holiday-row .icon-btn{padding:6px;width:32px}.work-hours-page .muted{font-size:12px;color:var(--muted)}


.time-family{border:1px solid var(--edge);border-radius:10px;padding:7px;margin-block-end:7px;color:var(--ink)}
.time-family:last-child{margin-block-end:0}
.time-family-head{display:flex;align-items:center;gap:6px;padding:3px 2px 8px;font-size:11px}
.time-family-head .icon,.time-slot-parent .icon{width:13px;height:13px;flex:none}
.time-family-head small{margin-inline-start:auto;color:var(--muted);font-size:9px}
.time-family-tree{padding-inline-start:6px}
.time-family-leaf{position:relative;padding-inline-start:13px;padding-block:2px}
.time-family-leaf::before,.time-family-leaf::after{content:"";position:absolute;inset-inline-start:0;pointer-events:none}
.time-family-leaf::before{inset-block:0;border-inline-start:1px solid var(--edge)}
.time-family-leaf:last-child::before{inset-block-end:50%}
.time-family-leaf::after{inset-block-start:50%;width:10px;border-block-start:1px solid var(--edge)}
.time-family-leaf .time-backlog-card{margin:0}
.time-slot-parent{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}
.time-slot-parent .icon{vertical-align:middle;margin-inline-end:3px}
/* The schedule is a time allocation view; controls stay beside its selected task. */
.time-inspector[popover]{position:fixed;inset:auto;margin:0;width:270px;max-width:calc(100vw - 16px);padding:12px;display:grid;gap:10px;background:var(--card);color:var(--ink);border:1px solid var(--edge);border-radius:14px;box-shadow:0 12px 30px #0b1e3230;z-index:auto}
.time-inspector[popover]:not(:popover-open){display:none}
.time-inspector::backdrop{background:transparent}
.time-inspector[popover] .time-inspect-title strong{font-size:12px;line-height:1.5;display:block}
.time-inspector[popover] .row{display:flex;gap:6px}
.time-inspector[popover] .btn{flex:1;min-height:32px;padding:5px 9px;font-size:11px;border-radius:8px}
.time-inspector[popover] .icon{width:14px;height:14px}
.time-inspector [data-action=remove-slot]{color:var(--red)}
.time-slot-mark{display:grid;place-items:center;flex:none}.time-slot-mark .icon{width:18px;height:18px}
.time-slot-content{gap:8px}.time-slot-copy{flex:1;min-width:0}.time-slot-copy time{font-size:10px;opacity:.8;margin-top:3px}
/* Orbit actions grow from the selected capsule, following its available side. */
.time-inspector[popover]{width:198px;min-height:156px;max-height:calc(100dvh - 16px);padding:12px 0;gap:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;pointer-events:none;animation:none}
.time-orbit-trace{position:absolute;left:0;top:0;width:64px;height:156px;fill:none;stroke:color-mix(in srgb,var(--primary) 24%,var(--edge));stroke-width:1;pointer-events:none;animation:orbit-line .26s ease both}
.time-orbit-trace circle{fill:var(--primary);stroke:none;opacity:.55}
.time-inspector[data-side=left] .time-orbit-trace{left:auto;right:0;transform:scaleX(-1)}
.time-orbit-actions{position:relative;display:flex;min-height:132px;flex-direction:column;justify-content:center;gap:14px;padding-left:32px;direction:ltr}
.time-inspector[data-side=left] .time-orbit-actions{padding-left:0;padding-right:32px;direction:rtl}
.time-orbit-action{--orbit-tone:var(--primary);display:flex;align-items:center;gap:7px;padding:0;border:0;background:transparent;color:var(--ink);pointer-events:auto;text-align:start;white-space:nowrap;animation:orbit-action .32s cubic-bezier(.16,.8,.24,1) both;animation-delay:35ms;border-radius:25px}
.time-orbit-action:nth-child(2){animation-delay:90ms;translate:-8px 0}
.time-inspector[data-side=left] .time-orbit-action:nth-child(2){translate:8px 0}
.time-orbit-action[data-action=remove-slot]{--orbit-tone:var(--red);color:var(--ink)}
.time-orbit-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;border:1px solid color-mix(in srgb,var(--orbit-tone) 22%,var(--edge));background:color-mix(in srgb,var(--orbit-tone) 9%,var(--card));border-radius:50%;color:var(--orbit-tone);box-shadow:0 4px 12px #11263d10;transition:background .18s,scale .18s,box-shadow .18s;backdrop-filter:blur(12px)}
.time-inspector[popover] .time-orbit-icon .icon{width:18px;height:18px}
.time-orbit-label{padding:5px 9px;background:color-mix(in srgb,var(--card) 94%,transparent);border-radius:10px;font-size:11px;font-weight:500;box-shadow:0 2px 8px #11263d08;direction:inherit}
.time-orbit-action:is(:hover,:focus-visible) .time-orbit-icon{background:color-mix(in srgb,var(--orbit-tone) 18%,var(--card));scale:1.08;box-shadow:0 0 0 4px color-mix(in srgb,var(--orbit-tone) 9%,transparent)}
.time-orbit-action:is(:hover,:focus-visible) .time-orbit-label{color:var(--orbit-tone)}
.time-slot[aria-expanded=true]{box-shadow:0 0 0 3px color-mix(in srgb,var(--slot-tone) 25%,transparent),0 7px 18px #122b3d20}
@keyframes orbit-line{from{opacity:0}to{opacity:1}}
@keyframes orbit-action{from{opacity:0;transform:translateX(-18px) scale(.8)}to{opacity:1;transform:translateX(0) scale(1)}}
.time-inspector[data-side=left] .time-orbit-action{animation-name:orbit-action-left}
@keyframes orbit-action-left{from{opacity:0;transform:translateX(18px) scale(.8)}to{opacity:1;transform:translateX(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.time-orbit-action,.time-orbit-trace{animation:none}.time-orbit-icon{transition:none}}
/* Resize grips remain discoverable on hover without two permanent end bars. */
.time-resize:after{width:5px;height:18px;border-radius:0;background:radial-gradient(circle,currentColor 1px,transparent 1.5px) center top/5px 6px repeat-y;opacity:0;transform:scale(.8);transition:opacity .16s ease,transform .16s ease}
.time-slot:hover .time-resize:after,.time-slot:focus-visible .time-resize:after{opacity:.65;transform:scale(1)}
.time-resize:hover:after,.resizing .time-resize:after{height:18px;opacity:1}
.time-inspector[popover]:has([data-action=finish-work]){min-height:204px}
.time-orbit-action:nth-child(3){animation-delay:140ms}
.time-orbit-trace{height:100%}
.time-orbit-action[data-action=finish-work]{--orbit-tone:#39976e}
/* Lift, stretch and settle while keeping the booked interval snapped to 15 minutes. */
.time-slot{transition:left .12s cubic-bezier(.2,.7,.3,1),width .12s cubic-bezier(.2,.7,.3,1),top .24s cubic-bezier(.2,.8,.2,1),transform .2s,box-shadow .2s}
.time-slot.moving{transition:left .075s linear,width .075s linear,top .22s cubic-bezier(.2,.8,.2,1),transform .16s,box-shadow .16s;transform:translateY(-4px) scale(1.025);z-index:6;box-shadow:0 12px 26px color-mix(in srgb,var(--slot-tone) 25%,#0c1a2430)}
.time-slot.moving.resizing{transform:translateY(-2px) scaleY(1.045)}
.time-slot[data-resize-edge=start]{transform-origin:right center}.time-slot[data-resize-edge=end]{transform-origin:left center}
.time-row{transition:min-height .24s cubic-bezier(.2,.8,.2,1)}
.time-slot.saving-time{transform:scale(1.008);box-shadow:0 0 0 3px color-mix(in srgb,var(--slot-tone) 16%,transparent)}
@media(prefers-reduced-motion:reduce){.time-slot,.time-slot.moving,.time-row{transition:none}.time-slot.moving,.time-slot.moving.resizing{transform:none}}
/* Keep child-task metadata readable even in the narrowest board column. */
.time-family-head{display:grid;grid-template-columns:14px minmax(0,1fr);gap:4px 6px;align-items:start}
.time-family-head strong{min-width:0;line-height:1.5;overflow-wrap:anywhere}
.time-family-head small{grid-column:2;margin:0;font-size:9px}
.time-family-tree{padding-inline-start:0}.time-family-leaf{padding-inline-start:8px}.time-family-leaf::after{width:6px}
.time-backlog-card{min-width:0;padding:9px 10px;gap:6px}
.time-task-top{align-items:flex-start}.time-task-top strong{min-width:0;overflow-wrap:anywhere}
.time-task-bottom{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 8px;align-items:center}
.time-task-state{white-space:nowrap;font-size:10px;line-height:1.5}
.time-task-bottom time{grid-column:1/-1;margin:0;min-width:0;max-width:100%;font-size:9px;text-align:start;overflow:hidden;text-overflow:ellipsis}
/* The time is a single centred line below the task, never an orphaned corner label. */
.time-slot-content{width:100%;border:0;border-radius:inherit;background:transparent;color:inherit;cursor:inherit;text-align:center;pointer-events:auto;font-family:inherit;min-height:0;box-shadow:none}
.time-slot-content:hover{background:transparent}.time-slot-content:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--slot-tone)}
.time-slot-copy{width:100%;text-align:center;gap:2px}.time-slot-copy time{display:block;width:100%;margin:1px 0 0;text-align:center;line-height:1.25;white-space:nowrap;direction:ltr;font-size:10px;font-variant-numeric:tabular-nums}
.time-slot-copy b{display:block}.time-slot-parent{font-size:8px;opacity:.8}
.time-slot:focus-within{z-index:3}.time-slot:focus-within .time-resize:after{opacity:.65;transform:scale(1)}
.time-slot.awaiting-finish .time-slot-content{opacity:.12;transition:opacity .18s}
.time-finish-quick{position:absolute;inset:0;width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:inherit;background:color-mix(in srgb,var(--slot-tone) 10%,var(--card));color:var(--ink);font:600 11px inherit;cursor:pointer;transition:opacity .18s,transform .18s;z-index:2}
.time-finish-quick .icon{width:18px;height:18px;color:#39976e}
.time-slot.awaiting-finish:hover .time-slot-content,.time-slot.awaiting-finish:focus-within .time-slot-content{opacity:1}
.time-slot.awaiting-finish:hover .time-finish-quick{opacity:0;pointer-events:none;transform:scale(.94)}
.time-slot.awaiting-finish:has(.time-finish-quick:focus-visible) .time-finish-quick{opacity:1;pointer-events:auto;transform:none}
.time-slot.joint-resizing{z-index:5;transform:scaleY(1.035);box-shadow:0 0 0 2px color-mix(in srgb,var(--slot-tone) 25%,transparent)}
.time-slot.moving.resizing{transform:scaleY(1.035)}
@container(max-width:135px){.time-slot-copy time{font-size:9px}.time-slot-content{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.time-slot-content,.time-finish-quick{transition:none}.time-slot.joint-resizing{transform:none}}
.time-finish-quick{font-family:inherit;font-size:11px;font-weight:600}
.time-finish-mark{position:absolute;inset-block-start:5px;inset-inline-start:10px;display:grid;place-items:center;width:23px;height:23px;min-height:0;padding:3px;border:1px solid color-mix(in srgb,var(--slot-tone) 20%,var(--edge));border-radius:50%;background:var(--card);color:#39976e;opacity:0;pointer-events:none;z-index:4;cursor:pointer;transition:opacity .18s}
.time-finish-mark .icon{width:14px;height:14px}.time-slot.awaiting-finish:hover .time-finish-mark,.time-finish-mark:focus-visible{opacity:1;pointer-events:auto}
/* Reference alignment: calm grid, a readable person pill and one clear time range per capsule. */
.time-grid-wrap{border-radius:20px;background:color-mix(in srgb,var(--soft) 42%,var(--panel))}
.time-grid-head{height:68px}.time-axis>.time-tick{top:20px}.time-tick b{font-size:12px;font-variant-numeric:tabular-nums}.time-person-pill{border-radius:16px;box-shadow:0 4px 14px #14263d09}
.time-slot{border-color:color-mix(in srgb,var(--slot-tone) 30%,var(--edge));background:color-mix(in srgb,var(--slot-tone) 21%,var(--card));box-shadow:0 4px 10px color-mix(in srgb,var(--slot-tone) 10%,transparent)}
.time-slot-content{padding-inline:16px;gap:10px}.time-slot-copy{gap:3px}.time-slot-copy b{font-size:12px;line-height:1.45}.time-slot-copy time{font-size:10px;line-height:1.3;white-space:nowrap;font-variant-numeric:tabular-nums;opacity:.9}.time-slot-copy>span,.time-slot-parent{font-size:9px;opacity:.72}
.time-slot .time-avatars>span{width:25px;height:25px;border-color:var(--card)}
.time-status-board{gap:10px}.time-status-column>header{padding:6px 8px 10px}.time-status-list{padding:7px;border-radius:14px}.time-backlog-card{padding:11px 12px;gap:6px}.time-task-top strong{font-size:12px;line-height:1.5}
@container(max-width:170px){.time-slot-copy b{font-size:11px}.time-slot-copy time{font-size:9px}.time-slot-content{padding-inline:12px}}
