/* KaiLog home. Segmented controls and press feedback reuse the MIT patterns
 * credited in THIRD_PARTY_NOTICES.txt (Yaya12085 and JkHuger on Uiverse). */
.home-workspace{--home-accent:#b4a0ff;--home-line:#ffffff0d;--home-card:#12131a;--home-muted:#9291a5;color:#e8e6f0;max-width:1240px;margin:0 auto}
.home-workspace *{min-width:0;box-sizing:border-box}
.home-workspace button,.home-workspace input,.home-workspace select{font:inherit}
.home-workspace button{cursor:pointer}
.home-workspace button:focus-visible,.home-workspace a:focus-visible,.home-workspace input:focus-visible,.home-workspace select:focus-visible{outline:2px solid #c9bcff;outline-offset:3px}
.home-workspace button:disabled{cursor:wait;opacity:.5;transform:none}
.home-workspace [hidden]{display:none!important}
.home-workspace .meeting-icon{width:16px;height:16px;flex:0 0 16px}
.home-workspace .home-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:2px 0 26px}
.home-eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#8c879f;letter-spacing:.13em;font-size:9px;font-weight:600;line-height:1.8}
.home-eyebrow>span{color:#4d485f}
.home-eyebrow time{font-size:11px;letter-spacing:.02em;color:#aaa5b9;font-weight:400}
.home-welcome h1{font-size:clamp(20px,1.9vw,27px);font-weight:600;letter-spacing:-.025em;line-height:1.6;margin:11px 0 7px;overflow-wrap:anywhere;color:#f0edf8}
.home-welcome p{color:#9591a6;font-size:12px;line-height:1.8;margin:0}
.home-quick-actions{display:flex;align-items:stretch;gap:8px;flex-shrink:0}
.home-action-primary,.home-action-secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border-radius:9px;padding:10px 15px;white-space:nowrap;font-size:12px!important;font-weight:500!important;transition:background .15s,transform .15s,box-shadow .15s}
.home-action-primary{background:#a38af5;color:#fff;border:1px solid #b39af8;box-shadow:0 4px 13px #8b68e51a}
.home-action-primary:hover{background:#b49dff;transform:translateY(-1px);box-shadow:0 6px 18px #8b68e52a}
.home-action-primary:active{transform:translateY(1px);box-shadow:0 1px 3px #0005}
.home-action-secondary{color:#c2b8da;border:1px solid #ffffff13;background:#ffffff04}
.home-action-secondary:hover{background:#ffffff0b;border-color:#b39af833}
.home-action-secondary img{height:15px;width:15px;object-fit:contain}
.home-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #b29cff17;border-radius:14px;background:linear-gradient(115deg,#a78bfa09,transparent 70%),#12131a;margin-bottom:24px;overflow:hidden}
.home-summary-item{border:0;background:none;color:#ded9ec;text-align:left;padding:19px 23px;display:flex;flex-direction:column;align-items:flex-start;transition:background .18s}
.home-summary-item+.home-summary-item{border-left:1px solid #ffffff0a}
.home-summary-item:hover{background:#a38af509}
.home-summary-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#aaa3bf;line-height:1.6}
.home-summary-label .meeting-icon{color:#8f7bbd;width:14px;height:14px;flex-basis:14px}
.home-summary-value{font-size:29px;line-height:1.3;font-weight:500;letter-spacing:-.04em;margin:12px 0 7px;font-variant-numeric:tabular-nums}
.home-summary-value small{font-size:10px;font-weight:400;letter-spacing:0;margin-left:7px;color:#8b849e}
.home-summary-caption{display:flex;align-items:center;gap:8px;color:#9b91ac;font-size:10px;line-height:1.7;align-self:stretch;justify-content:space-between}
.home-summary-caption .meeting-icon{width:13px;height:13px;flex-basis:13px;color:#86759f}
.home-summary-item.is-alert .home-summary-value{color:var(--red,#ed9f9f)}
.home-main-grid{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;margin:0}
.home-main-grid>.home-panel{margin:0}
.home-panel{background:var(--home-card);border:1px solid var(--home-line);border-radius:13px;padding:22px}
.home-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}
.home-panel-head h2{font-size:16px;font-weight:600;line-height:1.5;margin:0;display:flex;align-items:center;gap:10px;letter-spacing:-.015em}
.home-section-kicker{color:#92859f;letter-spacing:.14em;font-size:8px;font-weight:600;margin:0 0 7px}
.home-heading-with-icon{display:flex;align-items:center;gap:9px}
.home-section-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#a796ff0c;color:#ae9adf;flex-shrink:0}
.home-task-total{font-size:10px;white-space:nowrap;color:#817b93;align-self:flex-end;line-height:1.7}
.home-task-total b{font-size:14px;color:#c5bbdd;font-weight:500;margin:0 3px}
.home-subtle-count{font-size:10px;font-weight:400;color:#8c859c;white-space:nowrap}
.home-panel-description{font-size:11px;color:#8a859b;line-height:1.85;margin:9px 0 17px}
/* Segmented selection adapted from Yaya12085's radio-inputs. */
.home-task-filters{display:flex;gap:3px;border:1px solid #ffffff05;background:#0b0c11;padding:4px;border-radius:9px;margin-bottom:21px;width:100%}
.home-task-filters button{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:6px;background:none;color:#827d94;font-size:11px;line-height:1.5;min-height:34px;padding:6px 7px;white-space:nowrap;transition:background .15s,color .15s,box-shadow .15s}
.home-task-filters button:hover{color:#c8bddc;background:#ffffff04}
.home-task-filters button[aria-pressed=true]{color:#e1d6fb;background:#292335;border-color:#ae92ea1a;font-weight:500;box-shadow:0 1px 3px #0004}
.home-task-filters button span{font-size:9px;opacity:.7;font-variant-numeric:tabular-nums}
.home-task-bucket+.home-task-bucket{margin-top:23px}
.home-task-bucket-label{display:flex;align-items:center;gap:8px;margin-bottom:9px}
.home-task-bucket-label h3{font-size:11px;font-weight:500;margin:0;color:#b2a9c6;line-height:1.6}
.home-task-bucket-label>span{font-size:9px;color:#93899f}
.home-task-bucket.bucket-overdue .home-task-bucket-label h3{color:#e79c9f}
.home-task-item{display:flex;align-items:flex-start;gap:11px;padding:15px 13px;border:1px solid #ffffff06;border-radius:9px;background:#ffffff02;transition:background .18s,border-color .18s}
.home-task-item+.home-task-item{margin-top:7px}
.home-task-item:hover{background:#ffffff04;border-color:#ffffff0c}
.home-task-item.is-overdue{border-color:#e58b971b;background:#e58b9704}
.home-task-check{display:grid;place-items:center;border:1.5px solid #655c77;border-radius:6px;background:none;color:transparent;width:24px;height:24px;flex:0 0 24px;padding:2px;margin-top:1px;transition:background .16s,border-color .16s,color .16s,transform .16s}
.home-task-check .meeting-icon{width:14px;height:14px;flex-basis:14px}
.home-task-check:hover{color:#bba8ed;background:#a78bfa14;border-color:#a490d0}
.home-task-check:active{transform:scale(.9)}
.home-task-check.is-complete{color:#abdbbf;background:#8bd7b21a;border-color:#8bd7b246}
.home-task-body{flex:1}
.home-task-body h4{margin:0;font-size:12px;line-height:1.8;font-weight:500;overflow-wrap:anywhere;color:#dcd7e7}
.home-task-item.is-closed h4{color:#9a93a9}
.home-task-source{margin:5px 0 12px}
.home-task-source button,.home-task-source>span{display:flex;align-items:center;gap:5px;max-width:100%;background:none;border:0;color:#868094;font-size:10px;padding:0;text-align:left;line-height:1.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-task-source button{display:block;max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.home-task-source button .meeting-icon{display:inline;width:12px;height:12px;margin-right:5px;vertical-align:-2px}
.home-task-source button:hover{color:#b8a4e8;text-decoration:underline;text-underline-offset:3px}
.home-task-source>span .meeting-icon{width:12px;height:12px;flex-basis:12px}
.home-task-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.home-task-date{display:inline-flex;align-items:center;gap:4px;color:#9690a7;font-size:10px;white-space:nowrap;line-height:1.6}
.home-task-date .meeting-icon{width:12px;height:12px;flex-basis:12px;color:#756a8b}
.home-task-date input{border:1px solid transparent;background:transparent;color:#b2a9c7;font-size:10px;width:105px;padding:4px 0;border-radius:4px;line-height:1.5}
.home-task-date input:hover,.home-task-date input:focus{border-color:#ffffff12;background:#ffffff04}
.home-task-date input::-webkit-calendar-picker-indicator{opacity:.55;margin:0;padding:0;cursor:pointer;width:11px}
.home-task-item.is-overdue .home-task-date{color:#da969c}
.home-task-item.is-overdue .home-task-date input{color:#dba2a6}
.home-task-status{border-radius:6px;background:#ffffff04;border:1px solid #ffffff09;flex-shrink:0}
.home-task-status select{background:transparent;border:0;color:#a79bbd;padding:5px 7px;font-size:10px;min-height:29px;max-width:100%;cursor:pointer}
.home-task-status option{background:#1c1925;color:#e8e0f6}
.home-task-status.state-in_progress{background:#a796ff0b;border-color:#a796ff1a}
.home-task-status.state-in_progress select{color:#bdabf2}
.home-task-status.state-completed select{color:#99c2aa}
.home-todo-note{display:flex;align-items:flex-start;gap:6px;color:#8e849c;font-size:10px;line-height:1.8;margin:21px 0 0;padding-top:15px;border-top:1px solid var(--home-line)}
.home-todo-note .meeting-icon{width:13px;height:13px;flex-basis:13px;margin-top:2px}
.home-load-more{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;border:1px solid #ffffff0b;border-radius:8px;background:none;color:#a69bbb;padding:10px;font-size:11px;margin-top:16px;min-height:38px}
.home-load-more:hover{background:#a796ff09}
.home-support{display:grid;gap:20px}
.home-support .home-panel{padding:21px}
.home-support .home-panel-head h2{font-size:13px}
.home-review-list{border-top:1px solid var(--home-line)}
.home-review-item{display:flex;flex-direction:column;align-items:flex-start;width:100%;text-align:left;border:0;border-bottom:1px solid var(--home-line);background:none;color:#c2b8d2;padding:15px 1px;transition:background .15s}
.home-review-item:hover{background:#a796ff05}
.home-review-date{font-size:10px;color:#998ea6;line-height:1.7}
.home-review-item b{font-size:12px;font-weight:500;line-height:1.85;margin:6px 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#cfc6df}
.home-review-category{font-size:10px;color:#9a8ba8;line-height:1.7}
.home-review-action{display:flex;align-items:center;gap:5px;font-size:10px;color:#b39adf;align-self:flex-end;margin-top:9px}
.home-review-action .meeting-icon{width:12px;height:12px;flex-basis:12px}
.home-text-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:none;padding:7px 0;color:#b5a0e3;font-size:11px!important;line-height:1.7;min-height:32px;text-align:left}
.home-text-link:hover{color:#d6c2ff}
.home-text-link .meeting-icon{width:13px;height:13px;flex-basis:13px;transition:transform .15s}
.home-text-link:hover .meeting-icon{transform:translateX(2px)}
.home-review>.home-text-link,.home-insights>.home-text-link{margin-top:11px}
.home-insight-excerpt{border-left:2px solid #a796ff35;padding:0 0 0 12px;margin-top:7px}
.home-insight-excerpt>span{font-size:9px;color:#837393}
.home-insight-excerpt p{font-size:11px;line-height:1.95;color:#b5a8c6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:7px 0}
.home-source-link{color:#9a8da9;background:none;border:0;padding:0;display:block;font-size:9px!important;line-height:1.8;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.home-source-link:hover{color:#b29bdc}
.home-inline-empty{font-size:11px;line-height:1.9;color:#9588a3;padding:12px 0}
.home-review-clear{display:flex;gap:10px;align-items:flex-start;margin:23px 0 7px;color:#92baa6}
.home-review-clear>.meeting-icon{width:22px;height:22px;flex-basis:22px;padding:3px;background:#8bd7b20b;border-radius:50%}
.home-review-clear b{font-size:12px;font-weight:500}
.home-review-clear p{font-size:10px;line-height:1.8;color:#958ba0;margin:5px 0}
.home-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:38px 14px;text-align:center;min-height:180px;color:#8c819e}
.home-empty>.meeting-icon{width:34px;height:34px;flex-basis:34px;padding:7px;border:1px solid #b09aff19;border-radius:11px;background:#a796ff0b;margin-bottom:4px}
.home-empty b{color:#b9aecb;font-size:12px;font-weight:500;line-height:1.8}
.home-empty p{color:#998aa7;max-width:340px;font-size:11px;line-height:1.9;margin:0}
.home-task-empty{min-height:190px;padding:29px 10px}
.home-task-empty>.meeting-icon{color:#a1cbb4;border-color:#8bd7b219;background:#8bd7b208}
.home-task-empty>.home-text-link{margin-top:3px}
.home-recent>.home-panel-head{padding-bottom:19px}
.home-recent-item{display:grid;grid-template-columns:105px minmax(0,1fr) 24px;align-items:center;gap:18px;padding:19px 1px;border-top:1px solid var(--home-line);transition:background .18s;cursor:pointer}
.home-recent-item:hover{background:#ffffff04}.home-recent-item:focus-within{background:#a796ff06}
.home-recent-date{display:flex;align-items:flex-start;gap:7px;font-size:11px;color:#aaa0bb;line-height:1.8}
.home-recent-date>.meeting-icon{width:13px;height:13px;flex-basis:13px;margin-top:3px;color:#6e627e}
.home-recent-date small{display:block;color:#9686a3;font-size:10px;margin-top:2px;font-variant-numeric:tabular-nums}
.home-log-title{display:block;font-size:13px!important;font-weight:500!important;color:#d7cde7;background:none;border:0;text-align:left;padding:0;line-height:1.8;overflow-wrap:anywhere}
.home-log-title:hover{color:#c8b0ff}
.home-log-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:9px}
.home-category-chip{--home-category-color:#a796ff;display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:5px;border:1px solid color-mix(in srgb,var(--home-category-color) 15%,transparent);background:color-mix(in srgb,var(--home-category-color) 6%,transparent);color:color-mix(in srgb,var(--home-category-color) 45%,#b0a9bd);font-size:9px;font-weight:400;line-height:1.6;max-width:100%;overflow-wrap:anywhere}
.home-category-chip::before{content:'';height:4px;width:4px;flex-shrink:0;border-radius:50%;background:var(--home-category-color);opacity:.65}
.home-log-meta .meeting-tag-chip{font-size:9px;min-height:23px;padding:2px 7px;background:color-mix(in srgb,var(--meeting-tag-color,#c4c6ce) 5%,transparent);border-color:color-mix(in srgb,var(--meeting-tag-color,#c4c6ce) 12%,transparent);color:color-mix(in srgb,var(--meeting-tag-color,#c4c6ce) 65%,#999)}
.home-log-state{display:flex;align-items:center;gap:4px;font-size:9px;white-space:nowrap;color:#9989a5}
.home-log-state .meeting-icon{width:11px;height:11px;flex-basis:11px}
.home-log-state.needs-review{color:#c7ae7c}
.home-log-state.is-saved .meeting-icon{color:#7b9d87}
.home-open-arrow{border:0;background:none;color:#63556f;padding:5px;width:25px;height:30px;border-radius:5px;display:grid;place-items:center}
.home-open-arrow:hover{background:#a796ff0a;color:#b7a0db}
.home-insight-page .home-task-filters{max-width:450px;margin:0 0 23px}
.home-insight-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.home-insight-record-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;color:#8d819e;font-size:10px;line-height:1.8;margin-bottom:12px}
.home-insight-record p{font-size:12px;line-height:2;color:#ada0bf;white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0}
@media(min-width:1500px){.home-task-controls{justify-content:flex-start;gap:22px}.home-welcome{margin-bottom:30px}.home-panel{padding:25px}}
@media(max-width:1310px){.home-welcome{align-items:flex-start}.home-quick-actions{flex-direction:column}.home-quick-actions button{min-height:35px;padding:8px 12px;font-size:11px!important}.home-main-grid{gap:20px}.home-panel{padding:19px}.home-support .home-panel{padding:18px}.home-task-filters button{font-size:10px;padding:6px 5px;gap:4px}.home-task-controls{gap:8px}}
@media(max-width:1000px){.home-main-grid{grid-template-columns:minmax(0,1fr)}.home-support{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}.home-summary-item{padding:18px}.home-task-controls{justify-content:flex-start;gap:20px}.home-recent-item{gap:12px;grid-template-columns:100px minmax(0,1fr) 22px}}
@media(max-width:760px){.home-workspace .home-welcome h1{font-size:21px}.home-welcome{flex-direction:column;gap:18px;margin-bottom:22px}.home-quick-actions{flex-direction:row;width:100%;gap:8px}.home-quick-actions button{flex:1;min-height:40px}.home-summary{margin-bottom:18px;border-radius:10px}.home-summary-item{padding:14px 11px}.home-summary-label{font-size:10px;gap:5px}.home-summary-label .meeting-icon{display:none}.home-summary-value{font-size:25px;margin:10px 0 5px}.home-summary-caption{font-size:9px;line-height:1.8;min-height:32px;align-items:flex-start}.home-summary-caption .meeting-icon{display:none}.home-support{grid-template-columns:1fr 1fr}.home-panel{padding:18px}.home-recent-item{grid-template-columns:88px minmax(0,1fr) 20px;gap:10px}.home-recent-date{font-size:10px;gap:0}.home-recent-date>.meeting-icon{display:none}.home-log-state{display:none}.home-log-title{font-size:12px!important}.home-insight-records{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.home-workspace .home-welcome h1{font-size:20px;margin-top:9px}.home-welcome p{font-size:11px}.home-eyebrow{font-size:8px}.home-eyebrow time{font-size:10px}.home-main-grid,.home-support{gap:14px}.home-support{grid-template-columns:minmax(0,1fr)}.home-panel{padding:17px 14px;border-radius:11px}.home-quick-actions button{font-size:10px!important;padding:10px 7px}.home-quick-actions .meeting-icon{width:14px;height:14px;flex-basis:14px}.home-summary-item{padding:13px 10px}.home-summary-label{font-size:9px;line-height:1.8}.home-summary-value{font-size:24px}.home-summary-value small{font-size:9px;margin-left:4px}.home-task-item{padding:13px 10px;gap:9px}.home-task-body h4{font-size:12px}.home-task-date{font-size:9px}.home-task-date input{width:101px;font-size:10px}.home-task-date>.meeting-icon{display:none}.home-task-controls{gap:7px;justify-content:space-between}.home-task-status select{font-size:10px;padding:5px;min-height:30px}.home-task-filters{gap:2px;padding:3px}.home-task-filters button{min-height:36px;font-size:10px;padding:5px 3px;gap:3px}.home-task-total{font-size:9px}.home-panel-head h2{font-size:15px}.home-panel-head>.home-text-link{font-size:10px!important}.home-recent-item{grid-template-columns:minmax(0,1fr) 22px;gap:7px;padding:16px 1px}.home-recent-date{grid-column:1/-1;display:block;margin-bottom:2px;color:#887b99}.home-recent-date small{display:inline;margin-left:8px;font-size:9px}.home-recent-date small::before{content:'·';margin-right:7px}.home-recent-copy{grid-row:2}.home-open-arrow{grid-row:2}.home-log-meta{gap:5px;margin-top:8px}.home-category-chip{font-size:9px}.home-section-kicker{font-size:8px}.home-todo-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){.home-workspace *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
