/* A small working file, kept in this browser. */
[data-shortlist-open][hidden],.shortlist-save[hidden]{display:none!important}
.shortlist-save{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;flex:none;min-height:36px;padding:.25rem .45rem;border:1px solid transparent;background:transparent;color:var(--muted);font:500 .76rem/1.2 var(--sans);cursor:pointer;white-space:nowrap}
.shortlist-save svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}
.shortlist-save:hover{color:var(--ink);border-color:var(--line-2)}
.shortlist-save[aria-pressed="true"]{color:var(--accent)}
.shortlist-save[aria-pressed="true"] svg{fill:currentColor}
.item-row .head>.shortlist-save{margin-left:auto}
[data-shortlist-open]{display:inline-flex;align-items:center;gap:.5rem;flex:none;border:0;border-bottom:2px solid transparent;background:none;color:var(--ink-2);padding:.85rem 1rem .7rem;font:500 .8rem var(--sans);white-space:nowrap;cursor:pointer}
[data-shortlist-open]:hover{color:var(--ink);background:var(--surface-2)}
[data-shortlist-count]{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 4px;background:var(--surface-3);color:var(--ink);font:500 .65rem var(--mono);font-variant-numeric:tabular-nums}
[data-shortlist-count]:not([data-empty]){background:var(--ink);color:var(--surface)}
.shortlist-is-open{overflow:hidden}
.shortlist-dialog{position:fixed;inset:0 0 0 auto;width:min(100%,540px);height:100%;height:100dvh;max-width:100%;max-height:100%;margin:0;padding:0;border:0;border-left:1px solid var(--line-2);color:var(--ink);background:var(--bg);box-shadow:-15px 0 60px #172b3020}
.shortlist-dialog[open]{display:flex;flex-direction:column;animation:shortlist-enter .2s ease-out}
.shortlist-dialog:not([open]){display:none}
.shortlist-dialog::backdrop{background:rgba(17,32,36,.45)}
.shortlist-head{position:relative;flex:none;padding:2rem 2rem 1.45rem;border-top:4px solid var(--accent);border-bottom:1px solid var(--line-2)}
.shortlist-head h2{max-width:calc(100% - 3rem);margin:0 0 .7rem;font-size:2.1rem;line-height:1.08;letter-spacing:-.045em;font-weight:500}
.shortlist-head p{max-width:34ch;margin:0;font-size:.82rem;color:var(--muted)}
.shortlist-close{position:absolute;right:1.25rem;top:1.5rem;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line-2);color:var(--ink);background:transparent;font:400 1.65rem/1 var(--sans);cursor:pointer}
.shortlist-close:hover{background:var(--ink);color:var(--surface)}
.shortlist-content{overflow-y:auto;overscroll-behavior:contain;padding:0 2rem;flex:1;min-height:0}
.shortlist-counter{display:flex;justify-content:space-between;gap:1rem;padding:1.1rem 0 .9rem;border-bottom:1px solid var(--line);font:400 .68rem var(--mono);text-transform:uppercase;letter-spacing:.045em;color:var(--muted)}
.shortlist-counter b{color:var(--accent);font-weight:500}
.shortlist-list{list-style:none;margin:0;padding:0}
.shortlist-entry{position:relative;padding:1.5rem 2.75rem 1.5rem 0;border-bottom:1px solid var(--line)}
.shortlist-entry h3{font-size:1.06rem;font-weight:500;line-height:1.35;overflow-wrap:anywhere;margin:0 0 .7rem}
.shortlist-entry h3 a{color:var(--ink);text-decoration:none}
.shortlist-entry h3 a:hover{color:var(--accent);text-decoration:underline}
.shortlist-entry-meta{display:flex;flex-wrap:wrap;gap:.35rem 1rem;font-size:.73rem;color:var(--muted)}
.shortlist-entry-meta time{font-family:var(--mono);font-size:.9em}
.shortlist-remove{position:absolute;right:-.45rem;top:1.1rem;width:40px;height:40px;border:0;background:transparent;color:var(--muted);font-size:1.4rem;cursor:pointer}
.shortlist-remove:hover{color:var(--accent);background:var(--surface-2)}
.shortlist-empty{padding:3.5rem 0 2rem;max-width:340px}
.shortlist-empty svg{display:block;width:48px;height:48px;margin-bottom:1.5rem;fill:none;stroke:var(--accent);stroke-width:.8}
.shortlist-empty h3{font-weight:400;font-size:1.9rem;line-height:1.13;letter-spacing:-.035em;margin:0 0 1rem}
.shortlist-empty p{font-size:.9rem;color:var(--muted);margin-bottom:1.5rem}
.shortlist-foot{flex:none;margin:0;padding:1rem 2rem 1.5rem;border-top:1px solid var(--line-2)}
.shortlist-foot a{font-size:.85rem;font-weight:500;text-decoration:none}
.shortlist-notice{margin:0 0 1rem;font-size:.8rem;color:var(--accent)}
.shortlist-notice:empty{display:none}
.shortlist-toast{position:fixed;bottom:1.5rem;left:50%;z-index:10;max-width:min(92vw,480px);transform:translateX(-50%);padding:.85rem 1.15rem;border-left:3px solid var(--accent);background:var(--ink);color:var(--surface);font-size:.85rem;box-shadow:0 4px 20px #172b3020}
.shortlist-toast:empty{display:none}
@keyframes shortlist-enter{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:600px){.shortlist-head{padding:1.5rem 1.25rem 1.3rem}.shortlist-head h2{font-size:1.85rem}.shortlist-close{right:1rem;top:1rem}.shortlist-content{padding:0 1.25rem}.shortlist-foot{padding:1rem 1.25rem 1.5rem}.shortlist-save{min-height:40px}.shortlist-empty{padding-top:2.5rem}}
@media(prefers-reduced-motion:reduce){.shortlist-dialog[open]{animation:none}}
/* Personal workflow: decisions, notes, and a side-by-side reading table. */
.shortlist-dialog{width:min(100%,660px)}.shortlist-dialog[open]{animation:none}.shortlist-dialog.is-comparing{width:min(100%,1100px)}.shortlist-head{padding:1.5rem 2rem 1.25rem;border-top-color:var(--ink)}.shortlist-head h2{font-size:1.9rem}.shortlist-head p{max-width:48ch}.shortlist-counter{font:500 .75rem var(--sans);letter-spacing:0;text-transform:none}.shortlist-counter b{font-family:var(--mono)}.shortlist-compare-bar{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line)}.shortlist-compare-bar p{font-size:.77rem;line-height:1.4;color:var(--muted);max-width:25ch;margin:0}.shortlist-compare-button,.shortlist-back{border:1px solid var(--ink);background:var(--ink);color:var(--bg);font:500 .76rem var(--sans);padding:11px 13px;cursor:pointer;min-height:40px}.shortlist-compare-button:disabled{background:transparent;color:var(--muted);border-color:var(--line);cursor:default}.shortlist-entry{padding:1.3rem 2.6rem 1.3rem 0}.shortlist-entry-meta{font-size:.77rem}.shortlist-entry-meta strong{color:var(--ink);font-weight:600}.shortlist-entry-meta time{font:inherit}.shortlist-entry-tools{display:flex;align-items:center;gap:10px;margin:14px 0 8px;flex-wrap:wrap}.shortlist-stage-label{font-size:.73rem;color:var(--muted)}.shortlist-stage{width:auto;min-width:130px;min-height:38px;padding:8px 30px 8px 10px;font:500 .78rem var(--sans);border:1px solid var(--line-2);background-color:var(--surface);color:var(--ink)}.shortlist-entry[data-stage=pursuing] .shortlist-stage{border-color:var(--ink);background-color:var(--signal)}.shortlist-entry[data-stage=passed] .shortlist-stage{color:var(--muted)}.shortlist-select-compare{display:flex;align-items:center;gap:7px;font-size:.76rem;margin-left:auto;cursor:pointer;min-height:38px}.shortlist-select-compare input{width:16px;height:16px;margin:0;accent-color:var(--ink)}.shortlist-notes summary{font-size:.76rem;color:var(--ink-2);padding:8px 0;cursor:pointer;width:max-content}.shortlist-notes textarea{display:block;resize:vertical;min-height:90px;max-height:300px;width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:0;background:var(--surface);color:var(--ink);font:400 .83rem/1.5 var(--sans);padding:10px 12px}.shortlist-notes textarea:focus{outline:2px solid var(--ink);outline-offset:1px}.shortlist-back{margin:18px 0;background:transparent;color:var(--ink)}.shortlist-compare-wrap{overflow:auto;max-width:100%;padding-bottom:15px}.shortlist-comparison{width:100%;table-layout:fixed;border-collapse:collapse;min-width:570px}.shortlist-comparison th,.shortlist-comparison td{vertical-align:top;text-align:left;font-size:.82rem;line-height:1.5;padding:16px 13px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.shortlist-comparison th:first-child{width:110px;padding-left:0;color:var(--muted);font-weight:400;font-size:.74rem}.shortlist-comparison thead th{border-bottom:2px solid var(--ink);font-size:.96rem;font-weight:500;line-height:1.35}.shortlist-comparison thead th a{color:var(--ink);text-decoration:none}.shortlist-comparison thead th a:hover{text-decoration:underline}.shortlist-comparison td{border-left:1px solid var(--line)}.comparison-notes{white-space:pre-wrap}.shortlist-entry h3 a:focus-visible,.shortlist-select-compare:focus-within{outline:2px solid var(--ink);outline-offset:3px}
@media(max-width:600px){.shortlist-head{padding:1.4rem 1.25rem 1.2rem}.shortlist-head h2{font-size:1.8rem}.shortlist-compare-bar{gap:12px}.shortlist-compare-button{font-size:.72rem;padding:10px}.shortlist-entry{padding-right:1.8rem}.shortlist-entry h3{font-size:1rem}.shortlist-stage-label{display:none}.shortlist-stage{min-width:115px;font-size:.76rem}.shortlist-entry-tools{gap:7px}.shortlist-select-compare{font-size:.74rem}.shortlist-comparison th:first-child{width:90px}.shortlist-comparison th,.shortlist-comparison td{padding:13px 10px}}
.shortlist-comparison .comparison-value-note{font-size:.75rem;color:var(--muted);line-height:1.5;margin:8px 0 0}

.shortlist-foot .shortlist-sync-action{display:inline-flex;align-items:center;min-height:44px;margin-right:18px}.shortlist-foot>a{line-height:1.5}
