/* Personal cards keep their DOM order, including on narrow/touch screens. */
.home-intro-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.home-intro-actions .btn{min-height:44px}.home-layout-grid>[data-home-card]{margin-bottom:0;min-width:0}.home-layout-grid>[data-home-card=watchlist],.home-layout-grid>[data-home-card=shortcuts],.home-layout-grid>[data-home-card=capture]{grid-column:1/-1}.home-layout-grid>[hidden],.home-layout-grid[hidden],[data-home-empty][hidden],.capture-url[hidden]{display:none!important}.home-layout-status{color:var(--muted);font-size:.8rem;line-height:1.6}.home-layout-status:empty{display:none}.home-layout-empty{border:1px dashed var(--line);border-radius:16px;padding:30px;color:var(--muted)}
.home-capture{background:linear-gradient(120deg,#24222e,#181b23);border-color:#a59ad338}.home-capture .panel-head{padding-bottom:14px}.home-capture .subtle-link{border:0;background:none;color:var(--purple);cursor:pointer;min-height:44px}.capture-composer{display:grid;gap:12px}.capture-types{display:flex;gap:6px;flex-wrap:wrap}.capture-types button{border:1px solid #9d91c322;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:.72rem;padding:9px 13px;min-height:40px;cursor:pointer}.capture-types button[aria-pressed=true]{background:#b6a3f51c;border-color:#c0aafa55;color:#e1d6ff}.capture-composer textarea,.capture-composer input,.home-personal-dialog input:not([type=checkbox]),.home-personal-dialog textarea,.home-personal-dialog select{display:block;width:100%;min-width:0;background:#101217;border:1px solid #49424f;border-radius:10px;color:var(--text);font:inherit;font-size:.85rem;line-height:1.6;padding:11px 13px}.capture-composer textarea{resize:vertical;min-height:76px;max-height:260px}.capture-url,.home-personal-dialog label{font-size:.77rem;color:var(--muted);display:grid;gap:8px}.capture-composer-foot{display:flex;justify-content:space-between;align-items:center;gap:12px}.capture-composer-foot>span{font-size:.68rem;color:var(--muted)}.capture-composer-foot .btn{min-height:44px;white-space:nowrap}.home-inline-status{font-size:.76rem;color:var(--muted);line-height:1.65;overflow-wrap:anywhere;margin:10px 0 0}.home-inline-status:empty{display:none}.capture-preview{margin-top:13px}.capture-preview:empty{display:none}.capture-row{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;min-height:48px;text-align:left;border:0;border-top:1px solid var(--line);background:none;color:var(--text);cursor:pointer;padding:12px 0}.capture-row strong{font-size:.79rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.capture-kind,.capture-row-end{font-size:.64rem;color:var(--muted)}.capture-row-end{color:var(--purple)}.capture-row:hover strong{color:var(--purple)}
.home-personal-dialog{width:min(680px,calc(100% - 28px));max-height:calc(100dvh - 36px);overflow:auto;overscroll-behavior:contain;padding:26px;border:1px solid #504958;border-radius:20px;background:#191a22;color:var(--text);box-shadow:0 30px 100px #000a}.home-personal-dialog::backdrop{background:#07090fc4;backdrop-filter:blur(8px)}.home-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}.home-dialog-head .eyebrow{font-size:.6rem}.home-dialog-head h2{font-size:1.4rem;line-height:1.4;margin-top:9px;letter-spacing:-.025em}.home-dialog-head .icon-btn{font-size:1.5rem;min-width:44px;min-height:44px}.home-help,.home-leave-dialog p{font-size:.8rem;line-height:1.7;color:var(--muted);margin:12px 0 20px}.home-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:22px}.home-personal-dialog .btn,.home-personal-dialog .icon-btn{min-height:44px}.home-card-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.home-card-choice>label{display:flex;align-items:center;gap:12px;cursor:pointer;flex:1;min-width:0;min-height:44px}.home-card-choice input{accent-color:#b8a4f5;width:19px;height:19px;flex-shrink:0}.home-card-choice label>span{display:grid;gap:5px}.home-card-choice strong{font-size:.83rem;font-weight:500;color:var(--text)}.home-card-choice small{font-size:.68rem;color:var(--muted)}.home-card-move{display:flex;gap:4px}.home-card-move .icon-btn{font-size:1.1rem;min-width:44px}.home-card-move .icon-btn:disabled{opacity:.22;cursor:default}.capture-inbox-tabs{display:flex;gap:8px;margin:12px 0}.capture-list{max-height:260px;overflow:auto;scrollbar-width:thin;padding-right:4px}.capture-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:10px}.capture-pagination .home-help{margin-right:auto}.capture-detail:empty{display:none}.capture-detail{border-top:1px solid var(--line);padding-top:22px;margin-top:12px}.capture-detail h3{font-size:1.02rem;line-height:1.5;margin-bottom:20px;overflow-wrap:anywhere}.capture-edit{display:grid;gap:16px}.capture-edit .home-dialog-actions{margin-top:2px}.capture-edit textarea{resize:vertical;max-height:400px}.capture-promote{margin:24px 0;padding:20px;background:#b9a3f008;border:1px solid #b9a3f021;border-radius:12px}.capture-promote .home-help{margin-bottom:12px;font-size:.72rem}.capture-original{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.8rem;line-height:1.7;max-height:240px;overflow:auto;color:var(--muted)}.home-leave-dialog{max-width:460px}.home-leave-dialog h2{font-size:1.15rem;line-height:1.5}.home-personal-dialog button:focus-visible,.home-personal-dialog input:focus-visible,.home-personal-dialog textarea:focus-visible,.home-personal-dialog select:focus-visible,.home-capture button:focus-visible,.home-capture textarea:focus-visible,.home-capture input:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
@media(max-width:700px){.home-intro .page-heading{flex-wrap:wrap}.home-intro-actions{width:100%;justify-content:flex-start}.home-intro-actions .btn{font-size:.72rem;padding:9px 12px}.home-intro-actions .btn.primary{margin-left:auto}.home-personal-dialog{padding:21px 17px;max-height:calc(100dvh - 20px)}.home-dialog-head h2{font-size:1.2rem}.home-card-choice small{font-size:.63rem}.home-card-move{gap:0}.home-card-move .icon-btn{min-width:40px}.capture-types{gap:5px}.capture-types button{font-size:.65rem;padding:9px 10px;min-height:44px}.capture-composer-foot>span{font-size:.62rem;max-width:140px;line-height:1.7}.capture-row{grid-template-columns:75px minmax(0,1fr);gap:8px}.capture-row-end{display:none}.capture-kind{font-size:.58rem}.capture-row strong{font-size:.75rem}.home-card-choice label>span{gap:6px}.capture-promote{padding:16px}.home-personal-dialog .home-dialog-actions .btn{flex:1;justify-content:center}.home-capture .panel-head{gap:8px}.home-capture .panel-head h2{font-size:1rem}}
.home-capture .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home-shortcuts-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.home-shortcuts-heading h2{font-size:.94rem}.home-shortcuts-heading .btn{min-height:44px;font-size:.75rem}.home-shortcuts-section .home-launcher{margin-bottom:0}.home-custom-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.home-custom-tabs .btn[aria-pressed=true]{background:#b9a3f021;border-color:var(--purple);color:var(--purple)}[data-custom-panel][hidden]{display:none!important}.home-personal-dialog .home-density-choice{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:12px;min-height:52px;cursor:pointer}.home-personal-dialog .home-density-choice input{width:19px;height:19px;padding:0;accent-color:var(--purple)}.home-compact .home-content{gap:14px}.home-compact .home-content .panel-head{padding:18px 18px 12px}.home-compact .home-content .panel-body{padding:0 18px 18px}.home-compact .home-shortcut{min-height:70px;padding:12px}.home-compact .home-shortcut small{display:none}.home-compact .home-galaxy-card .galaxy-preview{height:220px}.home-compact .home-intro{padding-bottom:14px;margin-bottom:14px}.home-compact .capture-composer textarea{min-height:60px}.home-compact .home-shortcuts-heading{margin-bottom:8px}
@media(max-width:700px){.home-custom-tabs{gap:5px}.home-custom-tabs .btn{padding:9px 11px;font-size:.71rem}.home-personal-dialog .home-density-choice{font-size:.73rem}.home-compact .home-launcher{gap:8px}.home-compact .home-shortcut strong{font-size:.75rem}.home-compact .home-shortcut-icon{width:23px}}

.home-shortcut-editor{max-height:min(45dvh,420px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:5px}

/* Readable controls and restrained surfaces, including narrow touch screens. */
.home-capture{background:var(--surface);border-color:var(--line)}
.capture-composer-foot>span,.capture-kind,.capture-row-end{font-size:.72rem;line-height:1.5}
.home-card-choice small{font-size:.73rem;line-height:1.5}
.home-card-choice label>span{min-width:0;overflow-wrap:anywhere}
.home-personal-dialog .home-density-choice input{flex:0 0 19px;min-width:19px}
.home-card-move{flex-shrink:0}
.home-inline-status{font-size:.8rem}
.capture-inbox-tabs .btn{min-height:44px}
@media(max-width:700px){
  .capture-composer textarea,.capture-composer input,.home-personal-dialog input:not([type=checkbox]):not([type=radio]),.home-personal-dialog textarea,.home-personal-dialog select{font-size:16px}
  .capture-types button{font-size:.75rem}
  .capture-composer-foot{flex-wrap:wrap}
  .capture-composer-foot>span{max-width:none;flex:1 1 150px;font-size:.75rem}
  .capture-row{grid-template-columns:minmax(0,1fr);gap:5px;padding:14px 0}
  .capture-row strong{font-size:.85rem}
  .capture-kind{font-size:.72rem}
  .home-card-choice small{font-size:.72rem}
  .home-card-move .icon-btn{min-width:44px}
  .home-personal-dialog .home-density-choice{font-size:.85rem}
  .home-custom-tabs .btn{font-size:.8rem;flex:1}
}

.capture-save-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.capture-composer-foot{flex-wrap:wrap;gap:12px}.capture-composer-foot>span{max-width:30rem}.capture-save-actions .btn{min-height:44px} @media(max-width:560px){.capture-save-actions{width:100%}.capture-save-actions .btn{flex:1}.capture-composer-foot>span{font-size:.76rem}}

[data-home-agenda]{margin:20px 0}.home-agenda-list{list-style:none;padding:0;margin:12px 0}.home-agenda-list li+li{border-top:1px solid var(--border)}.home-agenda-list a{display:grid;gap:4px;padding:12px 0;text-decoration:none;overflow-wrap:anywhere}.home-agenda-list time,.home-agenda-list span{color:var(--muted);font-size:.8rem}
