.notebook-page{max-width:1180px;margin:0 auto;padding:12px 0 60px;color:var(--ink)}
.notebook-heading{padding:20px 0 25px;border-bottom:1px solid var(--line)}
.notebook-heading h1{font-size:clamp(28px,3.4vw,40px);font-weight:450;line-height:1.5;letter-spacing:.13em;margin:7px 0 12px}
.notebook-heading>p:last-child{margin:0;color:var(--muted);line-height:1.9;font-size:15px}
.notebook-eyebrow{font-size:12px;letter-spacing:.15em;color:var(--ornament-gold-text,var(--accent-text));margin:0 0 8px}
.notebook-privacy{display:flex;gap:13px;align-items:flex-start;padding:17px 0;color:var(--muted);font-size:13px;line-height:1.9}
.notebook-privacy>span{color:var(--ornament-gold-text,var(--accent-text));font-size:21px}.notebook-privacy p{margin:0}
.notebook-status:empty{display:none}.notebook-status{font-size:13px;line-height:1.8;color:var(--accent-text);margin:5px 0 16px}
.notebook-warning{padding:12px 15px;font-size:13px;line-height:1.9;border:1px solid var(--error-line);background:var(--error-bg);color:var(--ink)}
.notebook-filters{padding:15px 0 22px;border-bottom:1px solid var(--line)}
.notebook-scope{display:flex;gap:26px;margin:0 0 23px;border-bottom:1px solid var(--line)}
.notebook-scope button{padding:0 1px 12px;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font-size:14px;font-weight:400;border-radius:0;letter-spacing:.05em}
.notebook-scope button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--ornament-gold,var(--accent-line))}
.notebook-filter-row{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;gap:18px;align-items:end}
.notebook-filters label{display:grid;gap:8px;color:var(--muted);font-size:12px;letter-spacing:.02em}
.notebook-page input,.notebook-page select,.notebook-page textarea{font:400 14px/1.7 var(--sans);min-width:0;color:var(--ink);border:1px solid var(--field-border,var(--line));border-radius:2px;background:var(--panel);padding:10px 12px;box-sizing:border-box}
.notebook-page input::placeholder,.notebook-page textarea::placeholder{color:var(--placeholder)}
.notebook-filters .notebook-favorite-filter{display:flex;align-items:center;gap:7px;padding:11px 0;font-size:13px;white-space:nowrap}
.notebook-favorite-filter input{width:15px;height:15px;accent-color:var(--action-bg);padding:0}
.notebook-date-filters{margin-top:18px;font-size:12px;color:var(--muted)}.notebook-date-filters summary{cursor:pointer;display:list-item;line-height:1.8}.notebook-date-filters>div{display:flex;gap:14px;align-items:end;padding-top:14px}.notebook-date-filters p{max-width:330px;font-size:12px;line-height:1.8;margin:0 0 7px}
.notebook-workspace{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(0,1.6fr);gap:30px;align-items:start;margin-top:28px}
.notebook-list-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:var(--muted);font-size:12px}.notebook-list-heading h2{font-size:17px;letter-spacing:.07em;font-weight:450;color:var(--ink);margin:0}
.notebook-list{list-style:none;margin:0;padding:0}.notebook-record{border-bottom:1px solid var(--line)}
.notebook-page .notebook-record-open{display:block;width:100%;padding:18px 13px;text-align:left;border:0;border-left:2px solid transparent;border-radius:0;background:transparent;color:var(--ink);font-weight:400;box-sizing:border-box}
.notebook-record-open:hover{background:var(--soft)}.notebook-record-open[aria-pressed=true]{border-left-color:var(--ornament-gold,var(--accent-line));background:var(--soft)}
.notebook-record-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px;line-height:1.6;margin-bottom:9px;color:var(--muted)}.notebook-star{color:var(--ornament-gold-text,var(--accent-text))}.notebook-joined{color:var(--accent-text)}
.notebook-record-title{display:block;font-weight:400;font-size:15px;line-height:1.9;overflow-wrap:anywhere}.notebook-record-date{display:block;margin-top:9px;font-size:11px;color:var(--muted);line-height:1.7;font-variant-numeric:tabular-nums}
.notebook-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.notebook-tag{display:inline-block;font-size:11px;line-height:1.7;color:var(--accent-text);border-bottom:1px solid var(--accent-line);padding:1px 3px;overflow-wrap:anywhere;max-width:100%}
.notebook-detail{padding:24px 28px 28px;border:1px solid var(--line);background:var(--panel);min-width:0;position:relative}.notebook-detail::before{content:"";position:absolute;top:0;left:28px;width:32px;border-top:1px solid var(--ornament-gold,var(--accent-line))}
.notebook-detail-heading h2{font-size:22px;font-weight:450;line-height:1.8;letter-spacing:.035em;margin:4px 0 18px;overflow-wrap:anywhere}
.notebook-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.notebook-page .notebook-button{font:400 13px/1.7 var(--sans);padding:8px 13px;min-height:37px;color:var(--ink);border:1px solid var(--line);background:transparent;border-radius:2px;cursor:pointer;letter-spacing:.03em;box-shadow:none}
.notebook-page .notebook-button:hover{border-color:var(--accent-line);background:var(--soft)}.notebook-page .notebook-button[aria-pressed=true]{color:var(--ornament-gold-text,var(--accent-text));border-color:var(--accent-line)}.notebook-page .notebook-button:disabled{cursor:default;color:var(--muted);opacity:.7}
.notebook-page .notebook-button-primary{background:var(--action-bg);border-color:var(--action-bg);color:var(--action-text);padding:10px 20px}.notebook-page .notebook-button-primary:hover{background:var(--action-hover);color:var(--action-text)}
.notebook-detail h3{font-size:17px;line-height:1.7;letter-spacing:.07em;font-weight:450;margin:0 0 15px}.notebook-original{padding:4px 0 20px;border-bottom:1px solid var(--line)}
.notebook-context{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px 16px;margin:0;font-size:13px;line-height:1.8}.notebook-context dt{color:var(--muted)}.notebook-context dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.notebook-hint,.notebook-origin-note{font-size:12px;color:var(--muted);line-height:1.95;margin:15px 0 0}.notebook-origin-note{padding-bottom:18px}.notebook-raw{font-size:12px;color:var(--muted);margin-top:15px}.notebook-raw summary{cursor:pointer}.notebook-raw pre{font:400 12px/1.8 var(--sans);white-space:pre-wrap;overflow-wrap:anywhere;background:var(--soft);padding:13px;color:var(--ink);max-height:330px;overflow:auto}
.notebook-tags-form{display:grid;grid-template-columns:1fr auto;gap:9px 12px;margin:21px 0 28px}.notebook-tags-form>label{grid-column:1/-1;font-size:13px;color:var(--muted)}
.notebook-notes{padding-top:4px}.notebook-note-form{display:grid;gap:10px;margin-top:20px}.notebook-note-form label{font-size:13px;color:var(--muted)}.notebook-note-form textarea{display:block;width:100%;resize:vertical;min-height:125px}.notebook-note-form .notebook-hint{margin:0}.notebook-note-form button{justify-self:start}
.notebook-timeline{padding:0;list-style:none;margin:18px 0 0}.notebook-timeline li{position:relative;border-left:1px solid var(--line);padding:0 0 20px 17px}.notebook-timeline li::before{content:"";position:absolute;width:5px;height:5px;background:var(--accent-line);top:8px;left:-3px;border-radius:50%}.notebook-timeline time{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.notebook-timeline p{font-size:14px;line-height:2;margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.notebook-remove{margin-top:28px;padding-top:18px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:10px}.notebook-remove p{flex-basis:100%;margin:0 0 4px}.notebook-page .notebook-button-subtle{color:var(--muted);border-color:transparent;padding-left:0;background:none}
.notebook-idle{padding:55px 15px 75px;text-align:center;color:var(--muted);font-size:14px;line-height:2}.notebook-idle>span{display:block;font:400 40px/1.7 var(--serif);letter-spacing:.1em;color:var(--ornament-gold-text,var(--accent-text));opacity:.7}.notebook-empty{font-size:13px;line-height:2;color:var(--muted);padding:15px 0}
.notebook-page button:focus-visible,.notebook-page summary:focus-visible,.notebook-page input:focus-visible,.notebook-page select:focus-visible,.notebook-page textarea:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
@media(max-width:1000px){.notebook-workspace{gap:20px;grid-template-columns:minmax(210px,.8fr) minmax(0,1.5fr)}.notebook-detail{padding:22px}.notebook-filter-row{grid-template-columns:minmax(0,1fr) 165px}.notebook-favorite-filter{grid-column:1/-1}}
@media(max-width:650px){.notebook-page{padding-top:0}.notebook-heading{padding-top:10px}.notebook-filter-row{grid-template-columns:minmax(0,1fr)}.notebook-scope{gap:22px}.notebook-filter-row{gap:14px}.notebook-date-filters>div{flex-wrap:wrap}.notebook-date-filters label{flex:1 1 120px}.notebook-date-filters p{max-width:none;flex-basis:100%;margin-top:4px}.notebook-workspace{grid-template-columns:minmax(0,1fr);gap:24px}.notebook-list{max-height:400px;overflow:auto;scrollbar-width:thin}.notebook-detail{padding:22px 18px}.notebook-detail-heading h2{font-size:20px}.notebook-context{grid-template-columns:76px minmax(0,1fr);gap:10px 12px}.notebook-tags-form{grid-template-columns:minmax(0,1fr)}.notebook-tags-form button{justify-self:start}.notebook-actions{gap:8px}.notebook-actions .notebook-button{padding:8px 11px}.notebook-idle{padding:22px 5px}.notebook-page input,.notebook-page select,.notebook-page textarea{font-size:16px}}
