/* Home reference refinements: database cards, ticker tape and footer. */
/* Match the compact 90% viewport density chosen for the workspace. */
body { zoom: .9; }
.language-picker { display: inline-flex; height: 31px; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid #3f3f3b; border-radius: 5px; background: #202020; color: #d6d6d0; font: 600 12px/1 inherit; cursor: pointer; }.language-picker:hover, .language-picker:focus-within { border-color: #6a7e96; color: #fff; }.language-picker > span { color: #a7b8c8; font-size: 14px; }.language-picker select { height: 100%; min-width: 82px; padding: 0 2px; border: 0; outline: 0; appearance: auto; background: transparent; color: inherit; font: inherit; cursor: pointer; }.language-picker option { background: #242424; color: #ecece7; }
.database-title .collection-heading { display: block; min-width: 0; }
.database-title .collection-heading h2 { display: block; margin: 0; }
.collection-description-read { display: none; }
.collection-title { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #efefea; font: 650 28px/1.2 inherit; letter-spacing: -.035em; }
.collection-description { display: block; width: min(680px, 100%); min-height: 32px; margin-top: 6px; padding: 4px 0; border: 0; outline: 0; resize: vertical; background: transparent; color: #b2b2ad; font: 12px/1.45 inherit; }
.manifesto-editor { display: block; width: 100%; min-height: 96px; padding: 18px 25px; resize: vertical; outline: 0; font: inherit; line-height: 1.75; }
.page-body-editor-shell { margin: 0 0 18px; border: 1px solid #454541; border-radius: 8px; overflow: hidden; background: #1a1a1a; }.page-body-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 14px; border-bottom: 1px solid #383835; background: #252525; }.page-body-editor-head div { display: grid; gap: 3px; }.page-body-editor-head b { color: #e8e8e2; font-size: 13px; }.page-body-editor-head small, .page-body-editor-head span, .page-body-editor-help { color: #969690; font-size: 11px; }.page-body-editor { display: block; width: 100%; min-height: 340px; max-height: 70vh; overflow: auto; padding: 18px; outline: 0; background: #1a1a1a; color: #ecece7; font: 15px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2; white-space: pre-wrap; }.page-body-editor:focus { box-shadow: inset 0 0 0 1px #6f89a8; }.page-body-editor-line { min-height: 1.75em; padding: 1px 3px; border-radius: 3px; }.page-body-editor-line:focus { background: #252522; }.page-body-editor-image { position: relative; display: block; width: min(100%, 520px); margin: 15px 0; padding: 8px; border: 1px solid #4b4b46; border-radius: 7px; background: #232321; }.page-body-editor-image img { display: block; width: 100%; max-height: 300px; object-fit: contain; border-radius: 4px; background: #111; }.page-body-editor-image figcaption { padding: 6px 2px 0; color: #aaa9a4; font: 11px/1.4 inherit; }.page-body-editor-image button { position: absolute; top: 13px; right: 13px; width: 28px; height: 28px; border: 1px solid #66514e; border-radius: 5px; background: #332523; color: #f0d0ca; font-size: 18px; line-height: 1; }.page-body-editor-image button:hover { background: #6b3631; color: #fff; }.page-body-editor-help { display: block; padding: 0 14px 13px; }.editing-assets { display: grid; gap: 10px; margin: 0 0 18px; padding: 14px; border: 1px dashed #454541; border-radius: 8px; }.editing-assets > b { color: #c5c5bf; font-size: 12px; }
.new-section-row { width: 100%; margin-top: 32px; padding: 15px 0; border: 1px dashed #41413d; border-radius: 7px; background: transparent; color: #a7a7a1; text-align: left; font-size: 13px; }
.new-section-row:hover { border-color: #696960; color: #eeeeea; background: #202020; }
.home-title-input { display: block; width: 100%; margin: 0 0 24px; padding: 0; border: 0; outline: 0; background: transparent; color: #efefea; font: 700 40px/1.15 inherit; letter-spacing: -.045em; }
.new-menu-actions { display: grid; gap: 2px; padding: 4px 11px 16px; }
.new-menu-actions button { display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px 10px; border: 0; border-radius: 6px; background: transparent; color: #e5e5e0; text-align: left; }
.new-menu-actions button:hover { background: #2a2a2a; }
.new-menu-actions b { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 6px; background: #30302f; font-size: 16px; }
.new-menu-actions span { display: grid; gap: 3px; }.new-menu-actions small { color: #93938f; font-size: 11px; }
.collection-select { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 20px 12px; }.collection-select button { padding: 7px 9px; border: 1px solid #41413d; border-radius: 5px; background: #272727; color: #ddd; font-size: 12px; }.collection-select button:hover { background: #333; }
.field-help { display: block; margin-top: 6px; color: #8e8e8a; font-size: 11px; }.cover-preview { display: block; width: 100%; max-height: 110px; margin-top: 11px; border: 1px solid #3a3a37; border-radius: 5px; object-fit: cover; }
.peek-shade { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 5vh 5vw; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); }
.child-page-modal { z-index: 110; }
.bar-back { padding: 7px 9px; border: 0; border-radius: 5px; background: transparent; color: #c9c9c4; font-size: 12px; text-decoration: none; }
.bar-back:hover { background: #30302d; color: #fff; }
.page-peek { display: flex; flex-direction: column; width: min(1200px, 100%); max-height: 90vh; overflow: hidden; border: 1px solid #454541; border-radius: 12px; background: #202020; box-shadow: 0 25px 80px rgba(0,0,0,.55); }
.peek-bar { display: flex; height: 56px; flex: 0 0 56px; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid #343431; background: #202020; }
.peek-bar button { padding: 7px 9px; border: 0; border-radius: 5px; background: transparent; color: #c7c7c1; font-size: 12px; }.peek-bar button:hover:not(:disabled) { background: #30302d; color: #fff; }.peek-bar button:disabled { opacity: .3; cursor: default; }.peek-close { font-size: 20px!important; line-height: 1; }
.peek-scroll { overflow: auto; }.peek-cover { display: block; width: 100%; height: min(21vw, 270px); min-height: 170px; object-fit: cover; }.peek-document { width: min(880px, calc(100% - 80px)); margin: 0 auto; padding: 0 0 70px; }.peek-icon { margin-top: -32px; position: relative; font-size: 48px; }.peek-document h1 { margin: 22px 0 18px; color: #f1f1ed; font-size: 38px; letter-spacing: -.04em; }
.peek-properties { display: grid; gap: 7px; margin: 0 0 24px; padding: 12px 0; border-bottom: 1px solid #353532; color: #a4a49f; font-size: 13px; }.peek-properties div { display: grid; grid-template-columns: 180px 1fr; }.peek-properties dt { color: #aaa9a4; }.peek-properties dd { margin: 0; color: #dddcd7; }
.peek-comments { margin: 0 0 28px; padding: 0 0 18px; border-bottom: 1px solid #353532; }.peek-comments h3 { margin: 0 0 10px; font-size: 14px; }.peek-comments form { display: flex; gap: 8px; }.peek-comments input { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #41413d; border-radius: 5px; outline: 0; background: #1a1a1a; color: #e8e8e2; }.peek-comments button { padding: 8px 12px; border: 0; border-radius: 5px; background: #e6e6df; color: #222; font-size: 12px; font-weight: 650; }.peek-comment { display: grid; gap: 3px; margin-top: 12px; padding: 9px 11px; border-radius: 5px; background: #272727; font-size: 12px; }.peek-comment b { color: #e7e7e1; }.peek-comment span { color: #b6b6b1; }
.peek-blocks { margin: 0 0 35px; }.peek-blocks .notion-block { padding-right: 6px; }.peek-children { margin-top: 25px; }.peek-section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }.peek-section-title h2 { margin: 0; font-size: 25px; }.peek-section-title button { padding: 8px 11px; border: 0; border-radius: 5px; background: #2784db; color: white; font-size: 12px; }.peek-child-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }.peek-child-card { min-height: 150px; overflow: hidden; padding: 0; border: 1px solid #393936; border-radius: 7px; background: #292929; color: #e9e9e4; text-align: left; }.peek-child-card:hover { border-color: #66665e; background: #30302e; }.peek-child-card img { display: block; width: 100%; height: 109px; object-fit: cover; }.peek-child-card span { display: block; padding: 12px; font-size: 13px; font-weight: 600; }.peek-child-icon { display: grid; height: 108px; place-items: center; background: #252525; font-size: 34px; }
.page-child-sections { margin-top: 30px; }.page-child-section { margin-top: 30px; }.page-section-input { width: min(420px, 72vw); padding: 2px 0; border: 0; border-bottom: 1px solid #4a4a45; outline: 0; background: transparent; color: #f1f1ed; font: 700 25px/1.2 inherit; letter-spacing: -.03em; }.new-page-section { margin-top: 16px; padding: 9px 0; border: 0; background: transparent; color: #a9a9a3; font-size: 13px; }.new-page-section:hover { color: #fff; }.page-child-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }.page-child-card { min-height: 150px; overflow: hidden; padding: 0; border: 1px solid #393936; border-radius: 7px; background: #292929; color: #e9e9e4; text-align: left; }.page-child-card:hover { border-color: #66665e; background: #30302e; }.page-child-card img { display: block; width: 100%; height: 109px; object-fit: cover; }.page-child-card span { display: block; padding: 12px; font-size: 13px; font-weight: 600; }.peek-page-title { display: block; width: 100%; margin: 22px 0 18px; padding: 0; border: 0; outline: 0; background: transparent; color: #f1f1ed; font: 700 38px/1.15 inherit; letter-spacing: -.04em; }.peek-tags { width: 100%; max-width: 380px; padding: 5px 7px; border: 1px solid #464641; border-radius: 4px; outline: 0; background: #252525; color: #dddcd7; font: inherit; }
.block-image-upload { display: grid; gap: 9px; max-width: 580px; padding: 12px; border: 1px dashed #4a4a45; border-radius: 7px; color: #b9b9b2; cursor: pointer; }.block-image-upload img { display: block; width: 100%; max-height: 310px; object-fit: cover; border-radius: 4px; }.block-image-upload input { max-width: 100%; color: #bdbdb7; font-size: 12px; }.block-image-upload small { color: #969690; font-size: 11px; }
.notion-block.file { padding: 8px 28px 10px 0; }.file-card { display: flex; align-items: center; gap: 11px; min-height: 58px; max-width: 720px; padding: 10px 13px; border: 1px solid #3b3b37; border-radius: 7px; background: #242422; }.file-icon { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 5px; background: #bd5146; color: #fff; font-size: 9px; font-weight: 800; }.file-meta { display: grid; min-width: 0; gap: 3px; }.file-meta b { overflow: hidden; color: #ebebe6; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.file-meta small { color: #969690; font-size: 11px; }.file-download { margin-left: auto; padding: 7px 9px; border-radius: 5px; color: #d4d4cf; font-size: 12px; text-decoration: none; }.file-download:hover { background: #353532; color: #fff; }.pdf-inline-tools { display: flex; justify-content: flex-end; width: min(100%, 900px); margin: 0 0 7px; }.pdf-inline-tools button, .comment-pdf button { padding: 7px 10px; border: 1px solid #4a4a45; border-radius: 5px; background: #282826; color: #d9d9d3; font-size: 11px; }.pdf-inline-tools button:hover, .comment-pdf button:hover { background: #383835; color: #fff; }.pdf-preview { display: block; width: min(100%, 900px); height: min(72vh, 780px); min-height: 600px; margin: 0 0 10px; border: 1px solid #3b3b37; border-radius: 7px; background: #fff; }.file-picker { display: grid; width: fit-content; gap: 5px; margin-top: 9px; color: #d6d6d0; cursor: pointer; }.file-picker input { max-width: 260px; color: #aeaea8; font-size: 11px; }.file-picker span { font-size: 12px; }.file-picker small { color: #8f8f89; font-size: 10px; }.pdf-fullscreen { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; background: #181818; }.pdf-fullscreen header { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; border-bottom: 1px solid #383835; background: #202020; }.pdf-fullscreen header div { display: flex; align-items: center; gap: 12px; }.pdf-fullscreen header b { max-width: 65vw; overflow: hidden; color: #eee; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.pdf-fullscreen header span { color: #989892; font-size: 11px; }.pdf-fullscreen header a { color: #d8d8d2; font-size: 12px; text-decoration: none; }.pdf-fullscreen header button { width: 34px; height: 34px; border: 0; border-radius: 5px; background: transparent; color: #e8e8e3; font-size: 24px; line-height: 1; }.pdf-fullscreen header button:hover { background: #343431; }.pdf-fullscreen iframe { width: 100%; height: calc(100% - 58px); border: 0; background: #fff; }
.page-comments, .peek-comments { margin: 0 0 28px; padding: 0 0 18px; border-bottom: 1px solid #353532; }.page-comments h3, .peek-comments h3 { margin: 0 0 10px; color: #dfdfda; font-size: 14px; }.page-comments form, .peek-comments form { display: flex; flex-wrap: wrap; gap: 8px; }.page-comments form > input, .peek-comments form > input { min-width: 180px; flex: 1; padding: 9px 10px; border: 1px solid #41413d; border-radius: 5px; outline: 0; background: #1a1a1a; color: #e8e8e2; }.comment-file-control { display: inline-flex; align-items: center; padding: 0 9px; border: 1px solid #41413d; border-radius: 5px; color: #c9c9c3; font-size: 12px; cursor: pointer; }.comment-file-control input { position: absolute; width: 1px!important; height: 1px!important; overflow: hidden; opacity: 0; }.page-comments form button, .peek-comments form button { padding: 8px 12px; border: 0; border-radius: 5px; background: #e6e6df; color: #222; font-size: 12px; font-weight: 650; }.comment-file-help { display: block; margin-top: 8px; color: #85857f; font-size: 10px; }.comment-attachment { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 7px; padding: 8px 9px; border: 1px solid #41413d; border-radius: 5px; background: #20201f; }.comment-attachment > a:first-child { display: grid; min-width: 150px; color: #deded9; text-decoration: none; }.comment-attachment b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.comment-attachment small { color: #92928c; font-size: 10px; }.comment-download { margin-left: auto; color: #bfc9dc; font-size: 11px; text-decoration: none; }.comment-pdf { width: 100%; margin-top: 4px; color: #c9c9c3; font-size: 11px; }.comment-pdf summary { cursor: pointer; }.comment-pdf iframe { display: block; width: 100%; height: 340px; margin-top: 8px; border: 1px solid #454541; border-radius: 4px; background: #fff; }
.compact-menu { width: min(360px, calc(100vw - 32px)); }.menu-options { display: grid; gap: 3px; padding: 0 18px 18px; }.menu-options button { padding: 10px 11px; border: 0; border-radius: 5px; background: transparent; color: #d9d9d4; text-align: left; font-size: 13px; }.menu-options button:hover, .menu-options button.selected { background: #30302e; color: #fff; }
.admin-canvas { width: min(1180px, calc(100% - 72px)); margin: 0 auto; padding: 60px 0 100px; }.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }.admin-heading h1 { margin: 4px 0 10px; color: #f0f0eb; font-size: 38px; letter-spacing: -.045em; }.admin-heading p { margin: 0; color: #a5a5a0; font-size: 14px; }.admin-kicker { color: #8f9e7a!important; font-size: 10px!important; font-weight: 700; letter-spacing: .12em; }.admin-create, .admin-users { border: 1px solid #373734; border-radius: 8px; background: #202020; }.admin-create { padding: 22px; }.admin-create h2, .admin-section-head h2 { margin: 0; color: #ecece7; font-size: 18px; }.admin-create form { display: grid; grid-template-columns: 1fr 1.25fr 1.2fr 180px auto; align-items: end; gap: 12px; margin-top: 18px; }.admin-create .field { display: grid; gap: 6px; }.admin-create label, .admin-user-row label { color: #a9a9a4; font-size: 11px; }.admin-create input, .admin-create select, .admin-user-row input, .admin-user-row select { width: 100%; height: 35px; padding: 0 9px; border: 1px solid #444440; border-radius: 5px; outline: 0; background: #191919; color: #e5e5df; font: inherit; font-size: 12px; }.admin-users { margin-top: 18px; overflow: hidden; }.admin-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid #373734; }.admin-section-head span { color: #94948f; font-size: 11px; }.admin-user-row { display: grid; grid-template-columns: minmax(180px, 1.4fr) 170px 92px minmax(190px, 1fr) auto; align-items: end; gap: 12px; padding: 15px 22px; border-bottom: 1px solid #30302e; }.admin-user-row:last-child { border-bottom: 0; }.admin-user-info { display: grid; gap: 4px; min-width: 0; }.admin-user-info b { color: #ededE7; font-size: 13px; }.admin-user-info span { overflow: hidden; color: #b1b1ac; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.admin-user-info small { color: #7f7f7a; font-size: 10px; }.admin-active { display: flex; align-items: center; gap: 7px; height: 35px; white-space: nowrap; }.admin-active input { width: auto; height: auto; }
@media (max-width: 860px) { .admin-canvas { width: min(100% - 32px, 680px); padding-top: 34px; }.admin-heading { align-items: start; flex-direction: column; }.admin-create form, .admin-user-row { grid-template-columns: 1fr 1fr; }.admin-user-info { grid-column: 1 / -1; }.admin-user-row button { justify-self: start; }.admin-section-head { align-items: start; flex-direction: column; } }

/* Give an immediate, readable confirmation after a comment attachment is selected. */
.comment-file-control { max-width: min(320px, 100%); overflow: hidden; }
.comment-file-control span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.has-comment-file .comment-file-control { border-color: #718b62; background: #282d24; }
.admin-user-actions { display: flex; align-items: center; gap: 7px; }.admin-user-actions button { white-space: nowrap; }.admin-user-actions .danger { padding: 8px 10px; border: 1px solid #8f4c48; border-radius: 5px; background: transparent; color: #e7a6a0; font-size: 12px; }.admin-user-actions .danger:hover { background: #482727; color: #fff; }
.document-icon.image-icon, .peek-icon.image-icon { display: flex; width: 76px; height: 76px; align-items: center; justify-content: center; overflow: hidden; border-radius: 9px; background: #242424; }.document-icon.image-icon img, .peek-icon.image-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }.page-icon-picker { cursor: pointer; }.page-icon-picker:hover { outline: 1px solid #7790ac; outline-offset: 4px; }.comment-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.comment-actions { display: inline-flex; gap: 3px; }.comment-actions button { padding: 3px 6px!important; border: 0!important; border-radius: 4px!important; background: transparent!important; color: #aaa!important; font-size: 10px!important; font-weight: 500!important; }.comment-actions button:hover { background: #3a3a37!important; color: #fff!important; }.comment-actions [data-comment-delete]:hover { background: #5a3030!important; color: #ffd0ca!important; }.field textarea { width: 100%; min-height: 92px; padding: 9px 10px; border: 1px solid #3b3b37; border-radius: 5px; outline: 0; resize: vertical; background: #181818; color: #ecece7; font: inherit; }
@media (max-width: 700px) { .peek-shade { padding: 0; }.page-peek { width: 100%; max-height: 100vh; border-radius: 0; }.peek-document { width: calc(100% - 34px); }.peek-cover { height: 170px; }.peek-child-grid { grid-template-columns: 1fr; }.peek-properties div { grid-template-columns: 110px 1fr; } }
.empty-command { margin: 27px 0 37px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 6px; color: #737370; font-size: 13px; cursor: pointer; }
.empty-command b { color: #a5a5a1; font-weight: 500; }
.database-section { margin-top: 54px; }
.database-tools { display: flex; align-items: center; gap: 12px; color: #8b8b87; font-size: 11px; }
.database-tools button { border: 0; background: transparent; color: #aaa; }
.database-tools button:hover { color: #fff; }
.database-tools .new-button { padding: 7px 10px; border-radius: 5px; background: #2583df; color: #fff; font-size: 12px; }
.doc-title { display: flex; gap: 7px; align-items: center; }
.blank-card, .person-card { min-height: 193px; }
.blank-card-art, .person-art { height: 126px; background: #2a2a2a; }
.person-art.featured { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #f8d0be 0 28%, #eda88e 29% 33%, #f2f1ed 34% 53%, #2b2b2b 54%); }
.person-art.featured span { color: #222; font-size: 42px; }
.ticker-wrap { max-width: 1640px; margin: 55px auto 0; padding: 17px 0 13px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tv-ticker { height: 46px; }
.ticker-wrap p { margin: 7px 0 0; color: #7e9eff; font-size: 10px; text-align: center; }
.ticker-wrap a { color: #7e9eff; text-decoration: none; }
.brand-footer { max-width: 1640px; margin: 0 auto; padding: 25px 0 30px; text-align: center; }
.brand-rule { height: 1px; background: var(--line); }
.brand-rule.bottom { margin-top: 28px; }
.tyler { margin-top: 22px; font: clamp(34px, 5vw, 71px)/1 Georgia, serif; letter-spacing: .03em; }
.house { margin-top: 5px; font: clamp(10px, 1.1vw, 15px)/1 Georgia, serif; letter-spacing: .06em; }
.crest { margin-top: 8px; font: 31px Georgia, serif; }
.footer-mark { display: block; width: min(800px, 80vw); height: 515px; margin: 0 auto; object-fit: contain; }
.command-preview.manifesto { display: block; width: 100%; height: auto; min-height: 0; margin: 22px 0 42px; padding: 21px 25px; color: #deded9; font-size: 15px; line-height: 1.7; text-align: left; white-space: normal; }
.command-preview.manifesto span { display: block; white-space: normal; }
.command-preview.manifesto strong { color: #f0f0ec; font-weight: 600; }

@media (max-width: 720px) {
  .database-tools span, .database-tools > button:not(.new-button) { display: none; }
  .ticker-wrap { margin-top: 35px; }
}

/* Private workspace: templates, properties, comments and library. */
.workspace-page { display: grid; grid-template-columns: minmax(0, 1fr) 260px; width: min(calc(100% - 52px), 1140px); margin: 0 auto; gap: 28px; }
.workspace-page.is-full-width { width: calc(100% - 52px); max-width: 1520px; }
.workspace-page .editor { width: 100%; min-width: 0; margin: 0; }
.property-panel { display: grid; gap: 2px; margin: 0 0 22px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.property-row { display: grid; grid-template-columns: 18px 112px minmax(0, 1fr); gap: 8px; align-items: center; min-height: 32px; color: #bcbcb8; font-size: 12px; }
.property-row select, .property-row input { width: 100%; height: 27px; padding: 0 7px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #e5e5e1; outline: none; }
.property-row select:enabled:hover, .property-row input:enabled:hover, .property-row select:focus, .property-row input:focus { border-color: #454545; background: #252525; }
.property-row select:disabled, .property-row input:disabled { color: #d2d2ce; opacity: 1; }
.property-icon { color: #8f9882; text-align: center; }.muted-row { color: #888; }.muted-row time { color: #aaa; }
.comments-panel { align-self: start; position: sticky; top: 20px; margin-top: 42px; padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: #202020; }
.comments-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: #e4e4e0; font-size: 13px; }.comments-heading span { color: #858580; font-size: 11px; }
.comment { margin: 11px 0; padding-bottom: 11px; border-bottom: 1px solid #303030; }.comment b { font-size: 11px; }.comment p, .empty-copy { margin: 5px 0 0; color: #aaa; font-size: 12px; line-height: 1.5; }
.comment-form { display: grid; gap: 8px; margin-top: 14px; }.comment-form textarea { min-height: 62px; padding: 8px; resize: vertical; border: 1px solid #3b3b3b; border-radius: 5px; outline: none; background: #191919; color: #eee; font: inherit; font-size: 12px; }.comment-form textarea:focus { border-color: #718dcb; }.comment-form button { justify-self: end; }
.template-modal { width: min(650px, 100%); }.template-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 4px 22px 22px; }.template-card { display: grid; grid-template-columns: 28px 1fr; column-gap: 9px; min-height: 86px; padding: 13px; border: 1px solid #383838; border-radius: 6px; background: #222; color: #e8e8e3; text-align: left; }.template-card:hover { border-color: #71815d; background: #292c25; }.template-card > span { grid-row: span 2; color: #d7e4b5; font-size: 19px; }.template-card b { font-size: 13px; }.template-card small { margin-top: 4px; color: #999994; font-size: 11px; line-height: 1.4; }
.layout-form { padding: 2px 22px 22px; }.toggle-row { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 12px 0; border-bottom: 1px solid #303030; cursor: pointer; }.toggle-row b { display: block; color: #e5e5e0; font-size: 13px; }.toggle-row small { display: block; margin-top: 3px; color: #959590; font-size: 11px; }.toggle-row input { width: 16px; height: 16px; accent-color: #a9be7e; }
.library { width: min(calc(100% - 52px), 1120px); margin: 0 auto; padding: 42px 0 80px; }.library-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }.library h1 { margin: 0; font-size: 31px; letter-spacing: -.04em; }.library-heading p { margin: 8px 0 0; color: var(--muted); }.library-controls { display: flex; gap: 8px; }.library-controls input, .library-controls select { height: 34px; padding: 0 9px; border: 1px solid #3b3b3b; border-radius: 5px; outline: 0; background: #202020; color: #ddd; font-size: 12px; }.library-controls input { min-width: 165px; }.library-table tbody tr { cursor: pointer; }.library-table tbody tr:hover { background: #252525; }.tag-chip { display: inline-block; margin: 2px 3px 2px 0; padding: 3px 6px; border-radius: 4px; background: #293023; color: #cbd7ad; font-size: 10px; }

@media (max-width: 980px) { .workspace-page, .workspace-page.is-full-width { grid-template-columns: 1fr; width: calc(100% - 44px); }.comments-panel { position: static; margin: -50px 0 35px; }.library-heading { align-items: start; flex-direction: column; }.library-controls { width: 100%; flex-wrap: wrap; }.library-controls input { flex: 1; } }
@media (max-width: 620px) { .workspace-page, .workspace-page.is-full-width, .library { width: calc(100% - 32px); }.template-list { grid-template-columns: 1fr; }.property-row { grid-template-columns: 18px 92px minmax(0, 1fr); }.library-controls input, .library-controls select { width: 100%; }.library-controls { display: grid; grid-template-columns: 1fr; } }

/* Focused Notion-like canvas: no application sidebars or ancillary panels. */
.notion-bar { position: sticky; top: 0; z-index: 20; display: flex; height: 64px; align-items: center; justify-content: space-between; padding: 0 27px; border-bottom: 1px solid #30302f; background: rgba(25,25,25,.96); backdrop-filter: blur(12px); }
.bar-left, .bar-right { display: flex; align-items: center; gap: 10px; min-width: 0; }.bar-left { color: #d7d7d2; font-size: 13px; }.site-name { color: #f0f0ec; font-size: 21px; font-weight: 700; letter-spacing: -.035em; }.site-logo { display: block; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center; }.bar-left i { color: #656560; font-style: normal; }.bar-page, .bar-right button { border: 0; border-radius: 4px; background: transparent; color: #bebeba; font: inherit; font-size: 12px; }.bar-page { display: flex; align-items: center; gap: 10px; padding: 4px 7px; color: #e5e5e1; }.bar-page:hover, .bar-right button:hover { background: #2b2b2b; color: #fff; }.bar-right { gap: 4px; }.bar-right button { padding: 7px 9px; }.bar-right .sign-in-button { margin-left: 7px; padding: 10px 16px; border: 1px solid #555550; color: #f7f7f2; font-size: 14px; font-weight: 650; }
.notion-preview { min-height: calc(100vh - 64px); }.preview-cover { position: relative; height: clamp(145px, 14vw, 220px); min-height: 145px; overflow: visible; background: #252525; }.preview-cover > img:first-child { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.9) brightness(.84); }.cover-page-icon { position: absolute; z-index: 1; bottom: -62px; left: max(20px, 5vw); display: block; width: 250px; height: auto; max-height: calc(100% - 20px); background: transparent; object-fit: contain; object-position: left bottom; }.notion-preview > article { width: min(calc(100% - 180px), 1500px); margin: 0 auto; padding: 62px 0 70px; }.notion-preview h1 { margin: 0 0 24px; font-size: 40px; letter-spacing: -.045em; }.command-preview { display: flex; width: 100%; height: 78px; align-items: center; padding: 0 20px; border: 1px solid #30302f; border-radius: 6px; background: transparent; color: #898986; text-align: left; font: inherit; font-size: 14px; }.command-preview b { margin: 0 4px; color: #bbb; font-weight: 550; }.command-preview:hover { border-color: #484844; background: #202020; }.notion-database { margin-top: 50px; }.database-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }.database-title h2 { margin: 0; color: #efefea; font-size: 28px; letter-spacing: -.035em; }.database-title div { display: flex; align-items: center; gap: 4px; }.database-title button { padding: 7px 8px; border: 0; border-radius: 4px; background: transparent; color: #aaa; font-size: 12px; }.database-title button:hover { background: #292929; color: #eee; }.database-title .database-new { padding: 8px 11px; background: #2784db; color: white; font-weight: 550; }.database-title .database-new small { margin-left: 6px; }.notion-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }.notion-card { min-height: 235px; overflow: hidden; padding: 0; border: 1px solid #30302f; border-radius: 9px; background: #252525; color: #e7e7e2; text-align: left; transition: .16s ease; }.notion-card:hover { border-color: #565652; background: #2a2a2a; transform: translateY(-1px); }.notion-card img, .notion-card.blank > div { display: block; width: 100%; height: 184px; object-fit: cover; background: #2c2c2c; }.notion-card span { display: block; padding: 13px 15px; font-size: 14px; font-weight: 650; }.notion-card.blank { color: #8d8d88; }.home-catalog { margin-top: 62px; padding-top: 10px; border-top: 1px solid #30302f; }
.private-canvas { width: min(calc(100% - 52px), 860px); margin: 0 auto; padding: 42px 0 100px; }.private-canvas.wide { width: min(calc(100% - 70px), 1420px); }.private-canvas .page-cover { width: min(100vw, 1420px); height: 280px; margin: -42px auto 0; overflow: hidden; border-radius: 0 0 7px 7px; background: #222; }.private-canvas:not(.wide) .page-cover { width: calc(100% + 150px); margin-left: -75px; }.page-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.86); }.notion-document { position: relative; }.document-icon { margin-top: -30px; position: relative; font-size: 48px; }.page-title { display: block; width: 100%; margin: 10px 0 21px; padding: 0; border: 0; outline: 0; background: transparent; color: #efefeb; font-size: 40px; font-weight: 750; letter-spacing: -.047em; }.page-title:disabled { opacity: 1; }.page-properties { display: grid; gap: 2px; margin-bottom: 25px; padding: 10px 0; border-top: 1px solid #30302f; border-bottom: 1px solid #30302f; }.page-properties label { display: grid; grid-template-columns: 18px 100px minmax(0,1fr); align-items: center; gap: 8px; min-height: 32px; color: #aaa; font-size: 12px; }.page-properties i { color: #899275; font-style: normal; }.page-properties select, .page-properties input { height: 27px; padding: 0 7px; border: 1px solid transparent; border-radius: 4px; outline: none; background: transparent; color: #deded9; font: inherit; font-size: 12px; }.page-properties select:enabled:hover, .page-properties input:enabled:hover, .page-properties select:focus, .page-properties input:focus { border-color: #494945; background: #262626; }.page-properties :disabled { color: #d0d0cb; opacity: 1; }
.blocks { min-height: 36px; }.notion-block { position: relative; min-height: 28px; margin: 1px 0; padding: 3px 31px 3px 27px; border-radius: 4px; }.notion-block:hover { background: rgba(255,255,255,.026); }.block-content { min-height: 25px; outline: 0; color: #d9d9d4; font-size: 15px; line-height: 1.66; white-space: pre-wrap; }.block-content:empty:before { content: attr(data-placeholder); color: #656560; }.notion-block.heading1 .block-content { font-size: 28px; font-weight: 750; line-height: 1.32; letter-spacing: -.035em; }.notion-block.heading2 .block-content { font-size: 21px; font-weight: 700; line-height: 1.4; }.notion-block.heading3 .block-content { font-size: 16px; font-weight: 700; }.notion-block.bullet:before { position: absolute; top: 6px; left: 11px; content: '•'; color: #c6c6c2; }.notion-block.numbered { counter-increment: list; }.notion-block.numbered:before { position: absolute; top: 6px; left: 5px; content: counter(list) '.'; color: #c6c6c2; font-size: 13px; }.blocks { counter-reset: list; }.notion-block.quote { margin: 11px 0; padding-left: 18px; border-left: 3px solid #666660; }.notion-block.callout { margin: 11px 0; padding: 13px 34px 13px 42px; background: #262823; }.notion-block.callout:before { position: absolute; top: 13px; left: 16px; content: '✦'; color: #c8d2ac; }.notion-block.toggle summary { cursor: pointer; }.notion-block.divider { padding: 14px 28px 14px 0; }.notion-block.divider hr { border: 0; border-top: 1px solid #363633; }.notion-block.image { padding: 12px 30px 12px 0; }.notion-block.image img { display: block; width: min(100%, 960px); max-height: none; border-radius: 6px; background: #111; }.image-empty { display: grid; height: 120px; place-items: center; border: 1px dashed #444; border-radius: 5px; color: #777; font-size: 12px; }.block-image-url { width: 100%; height: 36px; padding: 0 9px; border: 1px solid #42423f; border-radius: 5px; outline: 0; background: #1f1f1f; color: #e4e4de; }.block-handle { position: absolute; top: 7px; left: 5px; color: #74746f; cursor: grab; opacity: .7; }.block-delete { position: absolute; top: 5px; right: 4px; display: none; width: 22px; height: 22px; border: 0; border-radius: 4px; background: #333; color: #bbb; font-size: 15px; line-height: 1; }.notion-block:hover .block-delete { display: block; }.block-delete:hover { background: #613b38; color: #fff; }.add-block-row { display: flex; gap: 8px; margin: 25px 0; }.add-block-row button { padding: 7px 10px; border: 1px solid #3d3d3a; border-radius: 4px; background: transparent; color: #ccc; font: inherit; font-size: 12px; }.add-block-row button:last-child { border: 0; background: #e6e8df; color: #252620; font-weight: 650; }.slash-picker { width: min(570px, 100%); }.block-choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; padding: 5px 22px 22px; }.block-choices button { display: flex; align-items: center; gap: 10px; padding: 10px; border: 0; border-radius: 5px; background: transparent; color: #dfdfda; text-align: left; font: inherit; font-size: 12px; }.block-choices button:hover { background: #30302e; }.block-choices b { display: grid; width: 22px; place-items: center; color: #cbd6ad; font-size: 13px; }.template-modal { width: min(680px, 100%); }.template-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 4px 22px 16px; }.template-card { position: relative; min-height: 84px; border: 1px solid #393937; border-radius: 6px; background: #222; }.template-card > button:first-child, .template-card[data-template] { display: flex; width: 100%; height: 100%; align-items: start; gap: 9px; padding: 13px; border: 0; background: transparent; color: #e4e4df; text-align: left; }.template-card:hover { border-color: #728061; background: #292c25; }.template-card b { min-width: 23px; color: #d8e4b8; font-size: 18px; }.template-card strong, .template-card small { display: block; }.template-card strong { font-size: 13px; }.template-card small { margin-top: 4px; color: #979792; font-size: 11px; line-height: 1.4; }.template-delete { position: absolute; top: 5px; right: 5px; width: 21px; height: 21px; border: 0; border-radius: 4px; background: transparent; color: #777; }.template-delete:hover { background: #573634; color: white; }.template-foot { padding: 0 22px 22px; }.template-foot button { border: 0; background: transparent; color: #bcca9f; font-size: 12px; }.customize-form, #save-template-form { padding: 2px 22px 22px; }.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #30302f; }.toggle-row b { display: block; font-size: 13px; }.toggle-row small { display: block; margin-top: 4px; color: #94948f; font-size: 11px; }.toggle-row input { width: 16px; height: 16px; accent-color: #a4b77b; }
@media (max-width: 900px) { .notion-preview > article { width: calc(100% - 48px); padding-top: 72px; }.notion-grid { grid-template-columns: repeat(2, 1fr); }.private-canvas { width: calc(100% - 34px); }.private-canvas:not(.wide) .page-cover { width: calc(100% + 34px); margin-left: -17px; }.private-canvas .page-cover { height: 200px; }.notion-bar { padding: 0 15px; }.bar-right button:not(.sign-in-button) { padding-left: 6px; padding-right: 6px; } }
@media (max-width: 540px) { .notion-grid, .template-list, .block-choices { grid-template-columns: 1fr; }.notion-preview > article { width: calc(100% - 28px); }.preview-cover { min-height: 150px; }.notion-preview h1, .page-title { font-size: 33px; }.database-title h2 { font-size: 23px; }.database-title > div > button:not(.database-new) { display: none; }.bar-left i, .bar-left span:not(.site-mark), .bar-right button[data-customize] { display: none; } }

/* Notion-style block editing surface. */
.side-user { width: 100%; border: 0; color: inherit; background: transparent; text-align: left; }
.account-chevron { margin-left: auto; color: var(--muted); font-size: 12px; }
.account-popover { position: absolute; top: 90px; right: 9px; left: 9px; z-index: 4; overflow: hidden; border: 1px solid #393939; border-radius: 6px; background: #272727; box-shadow: 0 13px 30px rgba(0,0,0,.35); }
.account-popover button { display: block; width: 100%; padding: 9px 10px; border: 0; background: transparent; color: #dededb; text-align: left; font-size: 12px; }
.account-popover button:hover { background: #333; }
.notion-block { position: relative; margin: 1px 0; padding: 4px 6px 4px 28px; border-radius: 4px; }
.notion-block:hover { background: rgba(255,255,255,.025); }
.notion-block[draggable="true"] { cursor: text; }
.block-handle { position: absolute; top: 7px; left: 5px; color: #6d6d6b; opacity: 0; cursor: grab; letter-spacing: -2px; }
.notion-block:hover .block-handle { opacity: 1; }
.block-content { min-height: 26px; outline: 0; color: #d9d9d6; font-size: 15px; line-height: 1.65; white-space: pre-wrap; }
.block-content:empty:before { content: attr(data-placeholder); color: #686865; pointer-events: none; }
.notion-block.heading1 .block-content { font-size: 28px; font-weight: 700; line-height: 1.35; letter-spacing: -.035em; }
.notion-block.heading2 .block-content { font-size: 20px; font-weight: 650; line-height: 1.45; }
.notion-block.bullet:before { content: '•'; position: absolute; top: 7px; left: 11px; color: #bbb; }
.notion-block.callout { margin: 11px 0; padding: 13px 15px 13px 42px; background: #262823; }
.notion-block.callout:before { content: '✦'; position: absolute; top: 14px; left: 16px; color: #c8d2ac; }
.notion-block.callout .block-handle { left: -19px; }
.slash-menu { position: fixed; z-index: 30; width: 208px; padding: 6px; border: 1px solid #404040; border-radius: 7px; background: #252525; box-shadow: 0 15px 35px rgba(0,0,0,.45); }
.slash-menu p { margin: 7px 8px 5px; color: #8d8d89; font-size: 10px; }
.slash-menu button { display: block; width: 100%; padding: 8px; border: 0; border-radius: 4px; background: transparent; color: #e1e1de; text-align: left; font-size: 12px; }
.slash-menu button:hover { background: #343434; }
.editor-database { margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--line); }
.editor-database h2 { margin: 0 0 14px; font-size: 21px; }

/* Public page: the same quiet, full-width reading rhythm as the shared
   Notion page.  These overrides intentionally leave the private editor
   compact while the public homepage has the wide database canvas. */
.notion-topbar { height: 59px; padding: 0 20px; border-color: #303030; }
.notion-left, .notion-right { display: flex; align-items: center; }
.notion-left { gap: 10px; }
.notion-right { gap: 13px; color: #9a9a96; font-size: 12px; }
.notion-right button, .hamburger { padding: 4px; border: 0; background: transparent; color: #d7d7d3; font-size: 13px; }
.notion-right button:hover, .hamburger:hover { color: #fff; }
.notion-right .sign-in-button { padding: 7px 10px; border: 1px solid #424242; border-radius: 5px; color: #f2f2ee; font-weight: 600; }
.notion-right .sign-in-button:hover { border-color: #79846c; background: #2c3028; }
.hamburger { padding: 6px 5px 6px 0; color: #c8c8c4; font-size: 19px; line-height: 1; }
.mini-page { color: #aaa; font-size: 13px; }
.notion-title { color: #f0f0ec; font-size: 14px; font-weight: 600; }
.avatars { display: flex; margin-left: 4px; }
.avatars i { display: block; width: 22px; height: 22px; margin-left: -5px; border: 1px solid #1b1b1b; border-radius: 50%; background: radial-gradient(circle at 45% 33%, #d8aa9f 0 18%, #593f58 19% 40%, #283f38 41%); }
.avatars i:nth-child(2) { background: radial-gradient(circle at 45% 33%, #c7a484 0 18%, #44524e 19% 43%, #745439 44%); }
.avatars i:nth-child(3) { background: radial-gradient(circle at 45% 33%, #d0b5a2 0 18%, #595458 19% 41%, #2d3036 42%); }
.landing-cover { height: min(21.5vw, 310px); min-height: 190px; background: #252525; }
.landing-cover img { filter: saturate(.88) brightness(.85); object-position: center 50%; }
.landing-page.notion-page { width: min(calc(100% - 240px), 1640px); margin: 0 auto; padding: 127px 0 70px; }
.notion-page h1 { margin: 0 0 29px; font-size: 40px; font-weight: 700; letter-spacing: -.04em; }
.notion-page .empty-command { height: 78px; display: flex; align-items: center; margin: 0; padding: 0 20px; border-color: #303030; color: #8c8c88; font-size: 14px; }
.notion-page .empty-command span { margin-left: auto; color: #7f9670; font-size: 12px; }
.notion-page .database-section { margin-top: 64px; }
.notion-page .section-heading { margin-bottom: 16px; padding-bottom: 0; border: 0; }
.notion-page .section-heading h2 { font-size: 29px; font-weight: 700; letter-spacing: -.035em; }
.notion-page .doc-grid { gap: 16px; }
.notion-page .doc-card { min-height: 235px; border-color: #303030; border-radius: 10px; background: #252525; }
.notion-page .doc-card img { height: 184px; filter: saturate(.85); }
.notion-page .doc-info { min-height: 50px; padding: 13px 15px; }
.notion-page .doc-title { font-size: 15px; font-weight: 650; }
.notion-page .access-chip { display: none; }
.notion-page .blank-card, .notion-page .person-card { min-height: 235px; }
.notion-page .blank-card-art, .notion-page .person-art { height: 184px; background: #2b2b2b; }
.notion-page .blank-card .doc-info { color: #848480; }
.notion-page .database-tools { gap: 13px; }
.notion-page .database-tools button { color: #b1b1ad; font-size: 15px; }
.notion-page .database-tools .new-button { padding: 9px 11px; color: #fff; font-size: 13px; }
.notion-page .database-tools .new-button span { margin-left: 8px; }
.notion-page + .ticker-wrap { width: min(calc(100% - 240px), 1640px); }

@media (max-width: 900px) {
  .landing-page.notion-page, .notion-page + .ticker-wrap { width: calc(100% - 48px); }
  .landing-page.notion-page { padding-top: 74px; }
  .notion-right > span, .notion-right .avatars { display: none; }
  .notion-page .empty-command span { display: none; }
}

@media (max-width: 720px) {
  .account-chevron, .account-popover { display: none; }
  .notion-block { padding-left: 8px; }
  .block-handle { display: none; }
  .notion-block.bullet { padding-left: 24px; }
}

/* Rich editor controls and collapsible lesson sections. */
.page-body-editor-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; padding: 8px 14px; border-bottom: 1px solid #383835; background: #20201f; }
.page-body-editor-toolbar button { min-width: 31px; height: 29px; padding: 0 8px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #deded8; font-size: 13px; }
.page-body-editor-toolbar button:hover { border-color: #51514d; background: #323230; color: #fff; }
.page-body-editor-toolbar > span { width: 1px; height: 18px; margin: 0 3px; background: #464641; }
.page-body-editor-toolbar .editor-add-toggle { width: auto; margin-left: 3px; color: #cbd9af; font-size: 12px; }
.page-body-editor-toggle { display: block; margin: 13px 0; border: 1px solid #4a4e48; border-radius: 7px; background: #222623; color: #e8e8e2; }
.page-body-editor-toggle summary { display: flex; align-items: center; gap: 8px; min-height: 39px; padding: 0 10px; cursor: pointer; list-style: none; }
.page-body-editor-toggle summary::-webkit-details-marker { display: none; }
.page-body-editor-toggle[open] .editor-toggle-arrow { transform: rotate(0deg); }
.page-body-editor-toggle:not([open]) .editor-toggle-arrow { transform: rotate(-90deg); }
.editor-toggle-arrow { display: inline-block; width: 15px; color: #becaa8; transition: transform .14s ease; }
.editor-toggle-title { flex: 1; min-width: 0; outline: 0; color: #f0f0eb; font-weight: 700; }
.editor-toggle-title:focus, .editor-toggle-body:focus { box-shadow: inset 0 0 0 1px #7790ac; }
.editor-toggle-body { min-height: 92px; padding: 12px 14px; border-top: 1px solid #3b403b; outline: 0; color: #d9d9d4; line-height: 1.7; white-space: pre-wrap; }
.page-body-editor-toggle button { width: 24px; height: 24px; border: 0; border-radius: 4px; background: transparent; color: #a9a9a4; font-size: 16px; line-height: 1; }
.page-body-editor-toggle button:hover { background: #5b302d; color: #fff; }
.notion-block.toggle details { border: 1px solid #393f39; border-radius: 6px; background: #212421; }
.notion-block.toggle summary { padding: 10px 12px; cursor: pointer; font-weight: 700; }
.notion-block.toggle summary::marker { color: #c4d2ac; }
.notion-block.toggle .toggle-body { padding: 0 13px 13px 31px; color: #d2d2cc; line-height: 1.7; white-space: pre-wrap; }
.heading-outline { margin: 4px 0; border: 1px solid transparent; border-radius: 7px; }
.heading-outline > summary { list-style: none; cursor: pointer; }
.heading-outline > summary::-webkit-details-marker { display: none; }
.heading-outline > summary::before { display: inline-block; width: 18px; color: #aebd96; content: '▸'; transition: transform .14s ease; }
.heading-outline[open] > summary::before { transform: rotate(90deg); }
.heading-outline > summary .notion-block { display: inline-block; min-height: 0; margin: 0; padding: 8px 4px 8px 0; background: transparent; }
.heading-outline > summary .notion-block:hover { background: transparent; }
.heading-outline > summary .block-content { display: inline; color: #ededE7; }
.heading-outline-1 > summary .block-content { font-size: 25px; font-weight: 750; letter-spacing: -.035em; }
.heading-outline-2 > summary { margin-left: 16px; }
.heading-outline-2 > summary .block-content { font-size: 19px; font-weight: 700; }
.heading-outline-3 > summary { margin-left: 32px; }
.heading-outline-3 > summary .block-content { font-size: 16px; font-weight: 700; }
.heading-outline-body { margin: 0 0 7px 18px; padding: 3px 0 4px 16px; border-left: 1px solid #3c413b; }
.heading-outline-body > .notion-block { padding-right: 8px; }
.notion-block.numbered { counter-increment: none; }
.notion-block.numbered:before { content: attr(data-manual-number) '.'; }
.heading-outline > summary { display: flex; align-items: center; min-width: 0; padding: 2px 0; }
.heading-outline > summary::before { width: 24px; flex: 0 0 24px; font-size: 19px; line-height: 1; text-align: center; }
.heading-outline > summary .notion-block { min-width: 0; overflow: hidden; }
.heading-outline > summary .block-content { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.heading-outline-1 > summary .block-content { font-size: 18px; line-height: 1.35; letter-spacing: -.015em; }
.heading-outline-2 > summary .block-content { font-size: 16px; line-height: 1.4; }
.heading-outline-3 > summary .block-content { font-size: 15px; line-height: 1.45; }
.private-canvas { width: min(calc(100% - 64px), 1180px); }
.private-canvas.wide { width: min(calc(100% - 64px), 1600px); }
.heading-outline > summary .notion-block { flex: 1 1 auto; width: 0; }
.heading-outline > summary::before { width: 26px; flex-basis: 26px; font-size: 20px; }
.heading-outline-1 > summary .block-content { font-size: 17px; }
.heading-outline-2 > summary .block-content { font-size: 15px; }
.heading-outline-3 > summary .block-content { font-size: 14px; }
.page-peek { width: min(1480px, 100%); }
.peek-document { width: min(1160px, calc(100% - 64px)); }
.heading-outline > summary .notion-block { width: auto; overflow: visible; }
.heading-outline > summary .block-content { overflow: visible; text-overflow: clip; white-space: normal; }
.heading-outline-1 > summary .block-content { font-size: 16px; line-height: 1.45; }
.heading-outline-2 > summary .block-content { font-size: 15px; line-height: 1.45; }
.heading-outline-3 > summary .block-content { font-size: 14px; line-height: 1.5; }

/* Page ticker and footer must stay after the document, never overlap it. */
.private-canvas { display: flow-root; }
.page-site-end { clear: both; display: block; width: 100%; }
.private-canvas .ticker-wrap { width: 100%; max-width: none; margin-top: 55px; }
.private-canvas .brand-footer { width: 100%; max-width: none; }
@media (max-width: 560px) { .page-body-editor-toolbar .editor-add-toggle { width: 100%; margin: 3px 0 0; text-align: left; } }
