.notebook-shell{max-inline-size:64rem}.record-tabs{border-block-end:1px solid var(--line);flex-wrap:wrap;gap:4px;margin-block-end:16px;padding-block-end:12px;display:flex}.record-tabs button{align-items:center;gap:8px;display:inline-flex}.record-tabs button span{color:var(--muted);font-size:.8125rem}.notebook-shell :is(.card-grid,.notebook-history){border:1px solid var(--line);border-radius:var(--panel-radius);background:var(--surface)}.notebook-shell .card-grid{grid-template-columns:minmax(0,1fr);gap:0}.notebook-shell .essay-card{background:0 0;border:0;border-radius:0;grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"bookmark meta count""bookmark title action""bookmark excerpt action";align-items:center;column-gap:12px;padding:16px;display:grid}.notebook-shell .essay-card+.essay-card{border-block-start:1px solid var(--line)}.notebook-shell :is(.card-top,.card-bottom){display:contents}.notebook-shell .bookmark{grid-area:bookmark;margin:0}.notebook-shell .card-metadata{flex-wrap:wrap;grid-area:meta;gap:4px 8px}.notebook-shell .essay-title{grid-area:title;margin-block:4px;font-size:clamp(1.125rem,2.4vw,1.375rem)}.notebook-shell .excerpt{-webkit-line-clamp:1;grid-area:excerpt;min-block-size:0;margin:0}.notebook-shell .card-bottom>span{grid-area:count;justify-self:end}.notebook-shell .card-bottom a{white-space:nowrap;grid-area:action;justify-self:start;min-block-size:44px;margin:0}.notebook-history{margin:0;padding:0;list-style:none}.notebook-history li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:12px 16px;display:flex}.notebook-history li+li{border-block-start:1px solid var(--line)}.notebook-history h2{font:600 1.125rem/1.4 var(--serif);overflow-wrap:anywhere}.notebook-history p{color:var(--muted);margin-block-start:4px;font-size:.875rem}.notebook-history a{border-radius:var(--control-radius);min-block-size:44px;color:var(--green);align-items:center;gap:8px;margin-inline:-8px;padding-inline:8px;display:inline-flex}.notebook-history a:is(:hover,:focus-visible,:active){background:var(--filter-hover);color:var(--ink)}@media not (min-width:34rem){.record-tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.record-tabs button{border:1px solid var(--line);justify-content:space-between}}@media not (min-width:28rem){.notebook-shell .essay-card{grid-template-columns:44px minmax(0,1fr);grid-template-areas:"bookmark meta""bookmark title"".excerpt"".count"".action";padding:12px}.notebook-shell .card-bottom>span{justify-self:start;margin-block-start:4px}.notebook-shell .card-bottom a{margin-inline-start:-8px}}
:where(html[data-device-layout=tablet]) .notebook-shell{max-inline-size:59rem}:where(html[data-device-layout=tablet]) .notebook-shell .essay-card{grid-template-areas:"bookmark meta action""bookmark title action";padding-block:12px}:where(html[data-device-layout=tablet]) .notebook-shell :is(.excerpt,.card-bottom>span){display:none}@media not (min-width:28rem){:where(html[data-device-layout=tablet]) .notebook-shell .essay-card{grid-template-areas:"bookmark meta""bookmark title"".action"}}
