/* Private notebook: the existing neutral workspace, with a writing surface. */
.notebook-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid var(--line);border-radius:4px;min-height:590px;background:#fff}
.notebook-queue{min-width:0;border-right:1px solid var(--line);background:#fafafa}
.notebook-queue-head{padding:16px 15px 10px;border-bottom:1px solid var(--line)}
.notebook-queue-head>label{margin:0 0 8px;font-size:12px;color:var(--ink);font-weight:550}
.notebook-queue-head input{font-size:12px;background:#fff}
.notebook-tabs{display:flex;gap:15px;margin-top:12px;border-bottom:1px solid var(--line)}
.notebook-tabs button{gap:5px;border:0;border-radius:0;background:transparent;padding:8px 0 10px;min-height:34px;color:var(--muted);font-size:11px;position:relative}
.notebook-tabs button[aria-selected=true]{color:var(--ink);font-weight:600}
.notebook-tabs button[aria-selected=true]::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#8197b6}
.notebook-tabs span{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}
.notebook-list-caption{display:flex;justify-content:space-between;align-items:center;min-height:30px;gap:8px;font-size:10px;color:var(--muted);padding-top:7px}
.notebook-list-caption .link{font-size:10px;min-height:23px;padding:0}
.notebook-list{max-height:calc(100dvh - 360px);min-height:360px;overflow:auto;scrollbar-width:thin}
.notebook-list:focus-visible{outline-offset:-3px}
.notebook-entry{display:block;border-bottom:1px solid var(--line);padding:15px;text-decoration:none;color:var(--ink);border-left:2px solid transparent}
.notebook-entry:hover{background:#f3f4f6}
.notebook-entry.is-selected{background:var(--selected);border-left-color:#98afd0}
.notebook-entry-meta{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted)}
.notebook-entry-meta>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notebook-entry-meta>span+span{flex-shrink:0}
.notebook-entry h2{font-size:13px;font-weight:550;margin:7px 0;line-height:1.7}
.notebook-entry p{font-size:11px;line-height:1.9;color:var(--muted);margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}
.notebook-entry small{font-size:10px}
.notebook-detail{min-width:0;background:#fff}
.notebook-detail-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;min-height:49px;border-bottom:1px solid var(--line);padding:9px 20px;font-size:11px;color:var(--muted)}
.notebook-detail-toolbar button{min-height:27px;font-size:11px;padding:4px 9px}
.notebook-mobile-back{display:none}
.notebook-editor{padding:26px;min-width:0;max-height:calc(100dvh - 235px);overflow:auto}
.notebook-record-header{padding-bottom:20px;margin-bottom:19px;border-bottom:1px solid var(--line)}
.notebook-record-header>small{font-size:11px}
.notebook-record-header h2{font-size:22px;margin:7px 0 10px;line-height:1.5}
.notebook-record-header>a{font-size:12px}
.notebook-properties{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;margin-bottom:8px}
.notebook-properties label{margin:0;font-size:12px;font-weight:400}
.notebook-properties .label{margin-left:auto;font-size:10px}
#notebook-form>p{font-size:11px;margin:0 0 15px}
.notebook-note-label{margin:0}
#notebook-note{min-height:320px;line-height:2;font-size:14px;padding:17px;resize:vertical;color:var(--ink);background:#fff}
.notebook-editor-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:9px 0 17px;font-size:11px;color:var(--muted)}
#notebook-length{white-space:nowrap;font-variant-numeric:tabular-nums}
.notebook-placeholder{padding:100px 30px;text-align:center;max-width:480px;margin:auto;color:var(--muted)}
.notebook-placeholder>svg{width:30px;height:30px;color:#99a5b6;margin-bottom:17px}
.notebook-placeholder h2{font-size:16px;font-weight:550}
.notebook-placeholder p{font-size:12px;line-height:1.9}
.notebook-filter-notice{font-size:11px;padding:10px 12px;background:#fafbfd;border:1px solid var(--line);margin-bottom:18px;color:var(--muted)}
.notebook-list-error{padding:12px 15px;border-bottom:1px solid var(--line);font-size:11px;color:var(--danger)}
.notebook-list-error p{margin-bottom:7px}
.notebook-conflict{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.notebook-conflict h3{font-size:14px}
.notebook-conflict>p{font-size:12px;color:var(--muted)}
#notebook-server-version{margin-top:15px}
#notebook-server-version pre{font-family:inherit;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);padding:15px;max-height:300px;overflow:auto;background:#fafafa}
@media(max-width:1100px){.notebook-workspace{grid-template-columns:265px minmax(0,1fr)}.notebook-editor{padding:21px}.notebook-properties .label{margin-left:0}}
@media(max-width:900px){.notebook-workspace{display:block;min-height:450px}.notebook-queue{border-right:0}.notebook-detail{display:none}.notebook-workspace.has-selection .notebook-queue{display:none}.notebook-workspace.has-selection .notebook-detail{display:block}.notebook-mobile-back{display:inline-flex}.notebook-list{max-height:none}.notebook-editor{max-height:none}.notebook-detail-toolbar>#notebook-close{display:none}}
@media(max-width:760px){.notebook-editor{padding:18px 15px}.notebook-record-header h2{font-size:20px}.notebook-detail-toolbar{padding:10px 15px}.notebook-queue-head{padding:14px}.notebook-entry{padding:14px}.notebook-tabs{gap:22px}.notebook-properties{gap:10px 14px}#notebook-note{font-size:14px;min-height:350px;padding:13px}.notebook-editor-meta{font-size:10px}.notebook-placeholder{padding:60px 17px}}
@media print{.notebook-workspace{display:block;border:0}.notebook-queue,.notebook-detail-toolbar,#notebook-form>.button-row,.notebook-conflict{display:none}.notebook-detail{display:block}.notebook-editor{max-height:none;overflow:visible;padding:0}#notebook-note{height:auto;min-height:400px;border:0}}
