:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Microsoft YaHei",sans-serif;--ink:#1D1D1F;--muted:#6E6E73;--line:#E6E6E2;--paper:#F7F7F5;--card:#FFF;--focus:#596875;--button:#46545F;--money:#A38652;--learning:#596875;--network:#9A6B68;--fun:#98798B;--rest:#6F7392}
*{box-sizing:border-box}html{background:var(--paper)}body{min-width:320px;margin:0;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.7}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--focus);outline-offset:2px}h1,h2,h3,h4,p{margin:0}h2{font-size:27px;font-weight:650;letter-spacing:-.025em;line-height:1.3}h3{font-size:20px;line-height:1.4}.brand-logo{display:flex;align-items:center;width:34px;height:34px;margin:0}.brand-logo img{display:block;width:100%;height:100%;object-fit:contain}
.app-shell{width:min(100%,760px);min-height:100vh;margin:0 auto;padding:24px 22px 52px}.topbar{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:14px 0 18px;background:rgba(247,247,245,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.sync-bar{justify-self:end;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;line-height:1;white-space:nowrap}.sync-bar>div{display:flex;align-items:center;gap:5px}.sync-icon{display:inline-grid;place-items:center;width:16px;height:16px;color:var(--focus);font-size:13px;font-weight:800}.sync-icon:not(.is-online){color:var(--muted)}.logout-button,.icon-button{min-height:32px;border:1px solid var(--line);border-radius:5px;padding:6px 9px;background:var(--card);color:var(--focus);font-size:12px;font-weight:650}.logout-button:hover,.icon-button:hover{border-color:var(--focus)}.icon-button{display:grid;place-items:center;width:32px;padding:0;font-size:19px}
.date-navigator{display:flex;align-items:center;justify-content:center;gap:6px;min-width:320px;color:var(--focus)}.date-icon-button,.text-button{min-width:32px;min-height:32px;border:0;padding:4px 6px;background:transparent;color:var(--focus);font-weight:650}.date-icon-button{font-size:22px;line-height:1}.date-icon-button:disabled{opacity:.35;cursor:default}.selected-date-button,.date-today-button{min-height:34px;border:1px solid var(--line);border-radius:5px;background:var(--card);color:var(--ink);font-size:14px;font-weight:600}.selected-date-button{display:inline-flex;align-items:center;gap:7px;padding:5px 10px}.date-today-button{border-color:transparent;background:transparent;color:var(--focus);padding:4px}
.tabs{display:flex;align-items:flex-end;gap:26px;margin:24px 0 32px;border-bottom:1px solid var(--line)}.tab{min-height:44px;border:0;border-bottom:2px solid transparent;padding:0 0 12px;background:transparent;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.08em;white-space:nowrap}.tab.is-active{border-bottom-color:var(--focus);color:var(--ink)}.app-shell.is-thoughts-open .tabs{display:none}.view{display:none}.view.is-visible{display:block}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.date-label{margin-bottom:6px;color:var(--muted);font-size:13px;line-height:1.4}.progress,.time-total{color:var(--ink);font-size:14px;font-weight:650;white-space:nowrap}
.entry-form{display:flex;gap:8px;margin-bottom:24px}input,textarea{min-width:0;border:1px solid var(--line);border-radius:5px;background:var(--card);color:var(--ink);padding:11px 12px;line-height:1.5}input:focus,textarea:focus{border-color:var(--focus);box-shadow:0 0 0 3px rgba(89,104,117,.12);outline:0}input::placeholder,textarea::placeholder{color:#929296}.entry-form>input:first-of-type{flex:1}.entry-form input[type=time]{width:116px}.primary-button{min-height:44px;border:1px solid var(--button);border-radius:5px;padding:0 16px;background:var(--button);color:#fff;font-size:14px;font-weight:650}.primary-button:hover{background:#37444e}.list,.timeline,.thought-list{display:grid;gap:8px}.task-item,.record-item{display:flex;align-items:center;gap:12px;padding:14px 2px;border-bottom:1px solid var(--line);background:transparent}.task-item:first-child,.record-item:first-child{border-top:1px solid var(--line)}.check{width:20px;height:20px;flex:0 0 20px;accent-color:var(--focus)}.item-main{min-width:0;flex:1}.item-title{overflow-wrap:anywhere;font-size:16px}.item-title.done{color:var(--muted);text-decoration:line-through}.item-meta,.char-count{color:var(--muted);font-size:12px}.delete-button,.edit-button{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:4px;padding:0;background:transparent;color:var(--muted);font-size:19px}.delete-button:hover,.edit-button:hover{background:#f0f0ed;color:var(--focus)}.empty-state{padding:42px 10px;color:var(--muted);text-align:center;font-size:14px}
.timeline-form{align-items:stretch}.time-fields{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px}.time-fields input{width:103px}.record-title-field{position:relative;min-width:180px;flex:1}.record-title-field textarea{width:100%;min-height:44px;max-height:110px;padding-right:62px;resize:vertical}.record-title-field .char-count{position:absolute;right:9px;bottom:8px}.category-picker{display:flex;align-items:center;gap:8px;min-width:100px;border:1px solid var(--line);border-radius:5px;background:var(--card);padding:0 9px}.category-picker:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px rgba(89,104,117,.12)}.category-picker select{width:100%;min-width:0;border:0;background:transparent;color:var(--ink);padding:11px 0;outline:none}.category-picker--wide{width:100%}.category-swatch,.legend-dot{width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:var(--category-color,var(--focus))}.record-item{align-items:flex-start;border-left:3px solid var(--category,var(--focus));padding-left:11px}.record-item[data-record-card]{cursor:pointer}.record-time{width:112px;flex:0 0 112px;color:var(--ink);font-size:13px;font-weight:650}.record-actions{display:flex;align-items:center;gap:1px}
.daily-summary{margin-top:42px;padding-top:28px;border-top:1px solid var(--line)}.daily-summary-heading{margin-bottom:15px}.daily-summary h3,.record-edit-form h3{font-size:20px;font-weight:650}.summary-list{display:grid;gap:8px}.summary-card{display:grid;gap:10px;padding:16px;border:1px solid var(--line);border-radius:5px;background:var(--card)}.summary-card label{font-size:15px;font-weight:650}.summary-card textarea,.record-edit-form textarea{width:100%;min-height:82px;resize:vertical}.summary-footer,.form-footer,.summary-card-header,.summary-card-footer,.summary-actions{display:flex;align-items:center}.summary-footer,.form-footer,.summary-card-header,.summary-card-footer{justify-content:space-between;gap:10px}.summary-card-footer,.summary-status{color:var(--muted);font-size:12px}.summary-actions{gap:3px}.summary-copy{white-space:pre-wrap;line-height:1.75}.summary-status.is-synced{color:var(--focus)}.summary-status.is-failed{color:#9A6B68}.summary-status.is-local{color:#A38652}.summary-card--failed{border-color:#cda7a4}
.calendar-dialog,.record-dialog{width:min(92vw,420px);border:1px solid var(--line);border-radius:7px;padding:20px;background:var(--card);color:var(--ink);box-shadow:0 18px 50px rgba(29,29,31,.16)}.calendar-dialog::backdrop,.record-dialog::backdrop{background:rgba(29,29,31,.18)}.calendar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);text-align:center}.calendar-weekdays{margin-bottom:6px;color:var(--muted);font-size:11px}.calendar-grid{gap:3px}.calendar-day{position:relative;height:38px;border:0;border-radius:50%;background:transparent;color:var(--ink);font-size:13px}.calendar-day:hover{background:rgba(89,104,117,.1)}.calendar-day.is-selected{background:var(--focus);color:#fff}.calendar-day.is-today{outline:1px solid var(--focus)}.calendar-dot{position:absolute;bottom:3px;left:50%;width:4px;height:4px;border-radius:50%;background:var(--focus);transform:translateX(-50%)}.calendar-day.is-selected .calendar-dot{background:#fff}.calendar-dialog .text-button{display:block;margin:14px auto 0}.record-edit-form{display:grid;gap:13px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.stats-grid{display:grid;grid-template-columns:1fr;gap:28px}.chart-panel{padding:0 0 28px;border-bottom:1px solid var(--line);background:transparent}.chart-panel:last-child{border-bottom:0}.chart-title{display:flex;align-items:baseline;justify-content:space-between;font-size:17px;font-weight:650}.chart-title small{color:var(--muted);font-size:13px;font-weight:400}.donut-wrap{display:grid;place-items:center;padding:22px 0 18px}.donut{position:relative;display:grid;place-items:center;width:174px;height:174px;border-radius:50%;background:conic-gradient(var(--line) 0 100%)}.donut::after{position:absolute;inset:29px;border-radius:50%;background:var(--paper);content:""}.donut-center{z-index:1;font-size:21px;font-weight:700}.legend{display:grid;gap:9px;max-width:400px;margin:auto}.legend-row{display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:8px;color:var(--muted);font-size:14px}.legend-row strong{color:var(--ink);font-size:14px;font-weight:600}
.book-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:26px;align-items:start}.book-layout.is-empty{display:block}.book-list{display:grid;gap:8px}.book-layout.is-empty .book-list{min-height:330px;place-items:center}.book-card{display:flex;width:100%;overflow:hidden;border:1px solid var(--line);border-radius:5px;padding:0;background:var(--card);color:var(--ink);text-align:left}.book-card.is-selected{border-color:var(--focus);box-shadow:0 0 0 2px rgba(89,104,117,.1)}.book-spine{width:5px;background:var(--learning)}.book-card:nth-child(2n) .book-spine{background:var(--money)}.book-card:nth-child(3n) .book-spine{background:var(--fun)}.book-card-copy{display:grid;gap:3px;min-width:0;padding:11px}.book-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-card small,.book-stars,.note-empty,.book-empty{color:var(--muted);font-size:12px}.book-stars{letter-spacing:1px}.book-detail{min-height:330px;padding:20px;border:1px solid var(--line);border-radius:5px;background:var(--card)}.book-create-form{display:grid;max-width:420px;gap:10px}.book-create-form h3,.book-head h3{font-size:23px;font-weight:650}.compact-button{min-width:auto}.book-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding-bottom:18px;border-bottom:1px solid var(--line)}.rating{display:flex;gap:2px}.star-button{border:0;padding:2px;background:transparent;color:#d1d1ce;font-size:22px;line-height:1}.star-button.is-on{color:var(--focus)}.note-section{padding-top:20px}.note-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}.note-section-title h4{font-size:16px}.note-section-title span{color:var(--muted);font-size:12px}.note-form{display:grid;grid-template-columns:1fr auto;gap:8px}.note-form textarea{grid-column:1/-1;width:100%;min-height:86px;resize:vertical}.upload-button{display:inline-flex;align-items:center;width:max-content;min-height:38px;border:1px solid var(--line);border-radius:5px;padding:8px 10px;color:var(--muted);font-size:13px}.upload-button input{display:none}.note-list{display:grid;gap:8px;margin-top:12px}.note-item{display:flex;align-items:flex-start;gap:10px;padding:12px;background:#f7f7f5}.note-copy{min-width:0;flex:1}.note-copy p{white-space:pre-wrap;font-size:14px;line-height:1.7}.note-copy img{display:block;width:min(100%,360px);max-height:300px;margin-top:8px;object-fit:cover}
.thought-entry{display:block;width:max-content;margin:46px 0 0 auto;border:0;padding:10px 0;background:transparent;color:var(--ink);font-size:13px;font-weight:700;letter-spacing:.1em}.thought-entry:hover,.thought-entry.is-active{color:var(--focus)}.app-shell.is-thoughts-open>.thought-entry{display:none}.thoughts-heading{margin-bottom:22px}.thoughts-heading .date-label{margin:16px 0 7px}.thought-back-button{padding-left:0}.thought-compose{display:grid;gap:10px;padding:18px;border:1px solid var(--line);border-radius:5px;background:var(--card)}.thought-compose textarea,.thought-dialog textarea{width:100%;min-height:180px;resize:vertical;line-height:1.75}.thought-compose .thought-title-input,.thought-dialog .thought-title-input{min-height:48px;font-weight:650;line-height:1.5}.thought-save-status{color:var(--muted);font-size:12px}.thought-archive{margin-top:34px;padding-top:24px;border-top:1px solid var(--line)}.thought-archive h3{margin-bottom:13px;font-size:19px}.thought-card{width:100%;padding:15px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}.thought-card:first-child{border-top:1px solid var(--line)}.thought-card-header,.thought-card-footer,.thought-card-actions,.thought-card-ident,.thought-card-status{display:flex;align-items:center}.thought-card-header,.thought-card-footer{justify-content:space-between;gap:12px}.thought-card-ident{min-width:0;flex-wrap:wrap;align-items:baseline;gap:8px}.thought-card-status{flex:none;gap:6px;white-space:nowrap}.thought-card-date,.thought-card-footer{color:var(--muted);font-size:12px}.thought-card-title{color:var(--ink);font-size:16px;font-weight:650;overflow-wrap:anywhere}.thought-card-copy{display:-webkit-box;margin:10px 0;overflow:hidden;color:var(--ink);line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:5}.thought-card-copy.is-expanded{display:block;overflow:visible}.thought-card-actions{gap:3px}.thought-card .text-button{min-height:28px;padding:3px 6px;font-size:12px}.thought-action-wrap{position:relative;display:grid;place-items:center}.thought-action-button{display:grid;place-items:center;width:30px;height:30px;border:0;padding:0;background:transparent}.thought-action-button::before{width:9px;height:9px;border-radius:50%;background:var(--focus);content:""}.thought-action-menu{position:absolute;top:calc(100% + 3px);right:0;z-index:5;display:grid;min-width:80px;padding:4px;border:1px solid var(--line);border-radius:5px;background:var(--card);box-shadow:0 8px 18px rgba(29,29,31,.12)}.thought-action-menu button{border:0;border-radius:3px;padding:7px 9px;background:transparent;color:var(--ink);font-size:13px;text-align:left}.thought-action-menu button:hover{background:#f3f3f1}.thought-action-menu .is-danger{color:#9A6B68}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.thought-dialog-copy{margin:18px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.thought-dialog-meta{color:var(--muted);font-size:12px}.thought-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.footer-note{margin-top:46px;color:var(--muted);font-size:12px;text-align:center}
@media(max-width:700px){.app-shell{width:100%;padding:14px 16px 88px}.topbar{position:relative;display:grid;grid-template-columns:1fr auto;gap:14px 8px;padding:8px 0 14px}.date-navigator{grid-column:1/-1;grid-row:2;justify-content:flex-start;min-width:0}.sync-bar{font-size:12px}.sync-bar .logout-button{display:none}.tabs{position:fixed;right:0;bottom:0;left:0;z-index:10;display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid var(--line);backdrop-filter:blur(12px)}.tab{min-height:48px;border-bottom:0;padding:10px 3px;font-size:10px;letter-spacing:.035em}.tab.is-active{border-bottom:0;color:var(--focus)}.section-heading{margin-top:10px}.entry-form{flex-wrap:wrap}.entry-form>input:first-of-type,.timeline-form .record-title-field{flex-basis:calc(100% - 66px)}.entry-form input[type=time]{flex:1;width:auto}.timeline-form .time-fields{order:2;flex:1 1 100%}.timeline-form .record-title-field{order:1}.timeline-form .category-picker{order:3;flex:1}.timeline-form .primary-button{order:4;width:100%}.record-time{width:90px;flex-basis:90px}.stats-grid,.book-layout{grid-template-columns:1fr}.book-list{grid-template-columns:repeat(2,minmax(0,1fr))}.book-detail{padding:16px}.book-head{flex-direction:column}.thought-entry{margin-top:32px;margin-right:0}.thought-compose{padding:14px}.thought-compose textarea{min-height:150px}.footer-note{margin-top:28px}}
@media(prefers-reduced-motion:no-preference){button,input,textarea,.task-item,.record-item{transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease}.primary-button:active{transform:translateY(1px)}}
.book-card-copy{border:0;background:transparent;color:inherit;text-align:left}
@media(max-width:700px){#exportDataButton{display:inline-block}}
.book-card-copy{flex:1}.book-card-actions{display:flex;align-items:flex-start;gap:2px;padding:8px 6px 0 0;opacity:0;transition:opacity .15s}.book-card:hover .book-card-actions,.book-card:focus-within .book-card-actions{opacity:1}.book-card-action{border:0;padding:4px;background:transparent;color:var(--muted);font-size:14px}.book-card-action:hover{color:var(--ink)}.book-card-action.is-danger{color:#9a6b68}.toast{position:fixed;right:20px;bottom:20px;z-index:30;max-width:min(90vw,360px);padding:10px 14px;border:1px solid var(--line);border-radius:5px;background:var(--ink);color:#fff;font-size:13px;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .2s,transform .2s}.toast.is-visible{opacity:1;transform:translateY(0)}
.app-shell.is-thoughts-open .tabs{display:flex}.thoughts-heading .date-label{margin:0 0 7px}.thought-back-button{display:none}
@media(max-width:700px){.tabs{grid-template-columns:repeat(5,1fr)}.app-shell.is-thoughts-open .tabs{display:grid}}

/* Reading notes: flat centered carousel with the selected book driving the panel below. */
.book-layout{display:block}
.book-carousel{--book-card-width:clamp(220px,38vw,300px);margin:0 -22px 30px}
.book-carousel-viewport{overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:12px 0 16px}
.book-carousel-viewport::-webkit-scrollbar{display:none}
.book-list{display:flex;align-items:stretch;gap:18px;width:max-content;min-height:238px;padding:0 calc((100% - var(--book-card-width))/2)}
.book-card{display:flex;flex:0 0 var(--book-card-width);flex-direction:column;min-height:220px;border:1px solid #d7dfe4;border-radius:14px;background:#fff;box-shadow:none;scroll-snap-align:center;transform:scale(.86);opacity:.4;transition:transform .22s ease,opacity .22s ease,border-color .22s ease,box-shadow .22s ease}
.book-card.is-selected{border-color:var(--focus);box-shadow:0 14px 26px rgba(55,68,78,.18);transform:scale(1);opacity:1}
.book-card-top{display:flex;align-items:flex-start;justify-content:space-between;min-height:48px;padding:17px 16px 0}
.book-card-marker{width:11px;height:11px;border:2px solid #8e9ca6;border-radius:50%;box-shadow:0 18px 0 -2px #fff,0 18px 0 0 #8e9ca6}
.book-card.is-selected .book-card-marker{background:var(--focus);border-color:var(--focus)}
.book-card-copy{display:grid;align-content:end;gap:6px;width:100%;height:100%;padding:34px 20px 20px;border:0;background:transparent;color:inherit;text-align:left}
.book-card-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:19px}
.book-card-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px}
.book-stars{font-size:20px;letter-spacing:2px;color:#aab5bc}
.book-card.is-selected .book-stars{color:var(--focus)}
.book-card-actions{display:flex;align-items:center;gap:4px;padding:0}
.book-card:hover .book-card-actions,.book-card:focus-within .book-card-actions{opacity:1}
.book-card-action{width:28px;height:28px;border:0;padding:0;background:transparent;color:#9ba8b0;font-size:19px;line-height:1}
.book-card-action:hover{color:var(--focus)}
.book-card-action.is-danger:hover{color:#9a6b68}
.book-carousel-dots{display:flex;justify-content:center;gap:9px;margin-top:2px}
.book-carousel-dot{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:#d4d6d5}
.book-carousel-dot.is-active{background:var(--focus);transform:scale(1.15)}
.book-layout.is-empty .book-carousel{margin-bottom:0}
.book-layout.is-empty .book-carousel-viewport{min-height:330px;padding:0}
.book-layout.is-empty .book-list{display:grid;width:auto;min-height:330px;place-items:center;padding:0}
.book-layout.is-empty .book-carousel-dots{display:none}
.book-detail{min-height:460px;padding:34px 38px;border:0;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(55,68,78,.08)}
.book-detail[hidden]{display:none}
.book-head{padding-bottom:25px}
.book-head h3{font-size:26px}
.note-section{padding-top:27px}
.note-section-title{margin-bottom:12px}
.note-section-title h4{font-size:21px}
.note-section-title span{font-size:13px;color:#9aa8b2}
.note-form{grid-template-columns:auto 1fr auto;align-items:center;gap:10px}
.note-form textarea{grid-column:1/-1;min-height:140px;padding:16px;border-color:#dfe5e8;border-radius:9px}
.note-form .text-button{grid-column:1/-1;justify-self:center;min-height:32px;color:var(--focus);font-size:14px}
.note-form .text-button:disabled{visibility:hidden}
.upload-button{border-color:#dfe5e8;border-radius:9px;padding:9px 16px;background:#fff;color:var(--focus)}
.note-form .primary-button{justify-self:end;border-radius:9px}
.note-list{margin-top:12px}
.note-empty{font-size:14px}

@media(max-width:700px){
  .book-carousel{--book-card-width:min(76vw,300px);margin-right:-16px;margin-left:-16px}
  .book-list{gap:12px;min-height:210px}
  .book-card{min-height:196px}
  .book-detail{min-height:0;padding:24px 18px;border-radius:12px}
  .book-head h3{font-size:22px}
  .note-form{grid-template-columns:1fr auto}
  .note-form .upload-button{justify-self:start}
  .note-form .primary-button{justify-self:end}
}

@media(prefers-reduced-motion:reduce){.book-card{transition:none}}

/* Match each card to the P2 panel width while keeping neighboring cards visible. */
.book-carousel{--book-card-width:326px;width:100vw;margin-left:calc((100% - 100vw)/2);margin-right:calc((100% - 100vw)/2)}
.book-list{min-height:0}
.book-card{width:var(--book-card-width);height:auto;min-height:0;aspect-ratio:2 / 1}
.book-card-copy strong{display:block;width:10em;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){.book-carousel{--book-card-width:min(326px,calc(100vw - 32px))}}

/* Keep the card content centered; the detail panel below starts directly with notes. */
.book-card{position:relative}
.book-card-top{position:absolute;top:12px;right:14px;left:14px;z-index:1;min-height:0;padding:0}
.book-card-copy{display:grid;align-content:center;justify-items:center;height:100%;padding:28px 20px 16px;text-align:center;cursor:pointer}
.book-card-copy strong{width:10em;max-width:100%;text-align:center}
.book-card-copy small{max-width:100%;text-align:center}
.book-card-copy .book-stars{display:flex;justify-content:center;gap:0}
.book-card-copy .star-button{font-size:20px}
.book-detail>.note-section:first-child{padding-top:0}
