.tbd-notebook{max-width:1040px;margin:40px auto;padding:24px;color:#183449;box-sizing:border-box}.tbd-notebook h1{font:600 clamp(32px,5vw,48px)/1.15 Georgia,serif;margin:12px 0}.tbd-notebook header p{font-size:18px}.tbd-notebook-tabs{display:flex;gap:16px;border-bottom:1px solid #c5d0d9;margin:28px 0}.tbd-notebook-tabs a{padding:12px 6px;color:#183449;font-weight:700;text-decoration:none}.tbd-notebook-tabs [aria-current]{border-bottom:3px solid #a77b29}.tbd-notebook-privacy,.tbd-notebook-hint{font-size:14px;color:#465c69}.tbd-notebook [data-editor]{background:#eef4f8;border:1px solid #bacbd6;border-radius:14px;padding:18px;margin:20px 0}.tbd-notebook summary{cursor:pointer;font-size:19px;font-weight:700}.tbd-notebook label{display:block;font-size:14px;font-weight:600}.tbd-notebook input,.tbd-notebook textarea,.tbd-notebook select{display:block;width:100%;max-width:100%;box-sizing:border-box;font:16px/1.5 system-ui;padding:10px 12px;margin:6px 0 14px;border:1px solid #aabcc9;border-radius:7px;background:white;color:#183449}.tbd-notebook textarea{min-height:240px;resize:vertical}.tbd-notebook button,.tbd-notebook-add{font:600 15px/1.3 system-ui;padding:10px 16px;border:1px solid #244b67;border-radius:8px;color:#fff;background:#244b67;cursor:pointer;text-decoration:none}.tbd-notebook-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:25px}.tbd-notebook-filters label:has([data-search]){grid-column:1/-1}.tbd-notebook-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.tbd-notebook-entry{padding:24px 0;border-top:1px solid #d3dce2;break-inside:avoid}.tbd-notebook-entry h2{font:600 23px/1.3 Georgia,serif;margin:8px 0 14px}.tbd-notebook-entry-meta,.tbd-notebook-tags{font:600 13px/1.4 system-ui;color:#65727a}.tbd-notebook-text{white-space:pre-wrap;font:17px/1.75 system-ui;overflow-wrap:anywhere}.tbd-notebook-focus{font-size:15px;color:#526775}.tbd-notebook-entry-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.tbd-notebook a{color:#234f6c;overflow-wrap:anywhere}.tbd-notebook-import{padding:18px;background:#fbf5e6;border:1px solid #ddc797;border-radius:12px}.tbd-notebook :focus-visible{outline:3px solid #b88a30;outline-offset:3px}.tbd-notebook-projects .tbd-research{margin:0;padding:0}.tbd-rt-note-panel .tbd-notebook-add{display:inline-block;color:white}.tbd-notebook-empty{padding:24px 0;color:#526775}@media(max-width:600px){.tbd-notebook{padding:16px;margin:20px auto}.tbd-notebook-filters{grid-template-columns:1fr 1fr}.tbd-notebook-filters label:nth-child(3){grid-column:1/-1}.tbd-notebook-entry{padding:20px 0}.tbd-notebook header p{font-size:16px}.tbd-notebook [data-editor]{padding:14px}}@media print{.tbd-global-header,.tbd-global-footer,.tbd-notebook-tabs,.tbd-notebook-filters,.tbd-notebook-toolbar,[data-editor],[data-import],.tbd-notebook-entry-actions{display:none!important}.tbd-notebook{max-width:none;margin:0;padding:0}.tbd-notebook-entry{break-inside:avoid}.tbd-notebook-text{font-size:12pt;color:black}}

.tbd-notebook [data-export-menu]{margin-left:auto;position:relative}.tbd-notebook [data-export-menu]>summary{font-size:15px;padding:10px 16px;background:#244b67;color:#fff;border-radius:8px}.tbd-notebook [data-export-menu]>div{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}.tbd-notebook [data-export-menu] button{white-space:normal}

.tbd-notebook [data-editor-title]{font:600 24px/1.3 Georgia,serif;margin:0 0 16px}.tbd-notebook-member-tools{padding:12px 16px;border-left:4px solid #a77b29;background:#f8f1df;border-radius:0 8px 8px 0;font-size:15px!important;line-height:1.5}

/* Compact chapter entry; explicitly reset the older note-panel flex layout. */
#tbd-private-notes.tbd-notebook-entry-card{display:block;box-sizing:border-box;padding:26px!important;border:1px solid #c7d6e3!important;border-top:1px solid #c7d6e3!important;border-left:4px solid #466986!important;border-radius:16px;background:#f5f8fb!important;color:#10294d;box-shadow:0 6px 18px rgba(7,19,41,.04)}
#tbd-private-notes.tbd-notebook-entry-card[data-notebook-card="member"]{background:#fffdf8!important;border-color:#e2d4b6!important;border-top:1px solid #e2d4b6!important;border-left:4px solid #a87423!important}
#tbd-private-notes.tbd-notebook-entry-card>.tbd-notebook-card-copy{display:block!important;flex-direction:initial;gap:0;margin:0;min-width:0;color:#10294d;font-size:16px}
#tbd-private-notes .tbd-notebook-membership-label{display:inline-block;margin:0 0 12px;padding:5px 10px;border:1px solid #dfcda5;border-radius:6px;background:#f6edda;color:#75501a;font:700 12px/1.4 system-ui;letter-spacing:.035em}
#tbd-private-notes #tbd-notebook-card-heading{display:block;font:600 28px/1.2 Georgia,serif;margin:0 0 10px;color:#10294d}
#tbd-private-notes .tbd-notebook-card-description{display:block;font:16px/1.6 system-ui;margin:0 0 18px;color:#4f5b6b;max-width:720px}
#tbd-private-notes .tbd-notebook-add{display:inline-flex;align-items:center;gap:12px;text-decoration:none;padding:11px 17px;border-radius:8px;font:700 15px/1.4 system-ui;color:#fff!important;background:#10294d;border:1px solid #10294d;white-space:normal;max-width:100%;box-sizing:border-box}
#tbd-private-notes .tbd-notebook-add:focus-visible{outline:3px solid #a87423;outline-offset:4px}
@media(max-width:600px){#tbd-private-notes.tbd-notebook-entry-card{padding:22px!important}#tbd-private-notes #tbd-notebook-card-heading{font-size:25px}}

/* Shared chapter/comments width, preserving a comfortable viewport gutter. */
body.tbd-design-active.single-tbd_chapter{--tbd-chapter-gutter:clamp(14px,2vw,32px)}
body.tbd-design-active.single-tbd_chapter .wp-block-post-content{max-width:none!important;padding-inline:0!important}
body.tbd-design-active.single-tbd_chapter .tbd-chapter{width:calc(100% - 2 * var(--tbd-chapter-gutter))!important;max-width:none!important;box-sizing:border-box}
body.tbd-design-active.single-tbd_chapter .wp-block-group:has(> .wp-block-comments),body.tbd-design-active.single-tbd_chapter .wp-block-group:has(> .wp-block-group > .wp-block-comments){width:100%!important;max-width:none!important;padding-inline:0!important;box-sizing:border-box}
body.tbd-design-active.single-tbd_chapter #comments,body.tbd-design-active.single-tbd_chapter .wp-block-comments,body.tbd-design-active.single-tbd_chapter .comments-area{width:calc(100% - 2 * var(--tbd-chapter-gutter))!important;max-width:none!important;box-sizing:border-box}
body.tbd-design-active.single-tbd_chapter .wp-block-comments .comment-respond,body.tbd-design-active.single-tbd_chapter .wp-block-comments .comment-form,body.tbd-design-active.single-tbd_chapter .wp-block-comments .comment-form-comment{width:100%;max-width:none;box-sizing:border-box}
body.tbd-design-active.single-tbd_chapter #tbd-private-notes.tbd-notebook-entry-card{width:100%!important;max-width:none!important;margin-inline:0!important;background:#e6eff9!important;border-color:#9eb7d2!important;border-left:4px solid #244b67!important}
body.tbd-design-active.single-tbd_chapter #tbd-private-notes.tbd-notebook-entry-card[data-notebook-card="member"]{background:#e6eff9!important;border-color:#9eb7d2!important;border-left:4px solid #a87423!important}
body.single-tbd_chapter .tbd-wbtc-discussion-prompt{display:none!important}

body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{box-sizing:border-box;overflow:hidden}
