/* Text hierarchy follows the card's neutral visual language. */
.scope-document{font-size:14px;line-height:1.8;color:#41434b;overflow-wrap:anywhere}.scope-document p,.scope-document h3,.scope-document h4{white-space:pre-wrap}.scope-document p{margin:0 0 16px}.scope-document h3{font-size:19px;font-weight:680;line-height:1.5;color:#272a33;margin:28px 0 12px;letter-spacing:-.25px}.scope-document h4{font-size:16px;font-weight:650;line-height:1.6;color:#383b44;margin:22px 0 10px}.scope-document>:first-child{margin-top:0}.scope-document strong{font-weight:700;color:#2e313b}.scope-document ul,.scope-document ol{padding-left:24px;margin:14px 0 20px}.scope-document li{padding-left:4px;margin:5px 0;white-space:pre-wrap}.scope-toggle{margin:16px 0;border:1px solid #e3e4e9;border-radius:9px;background:#fafafb;overflow:hidden}.scope-toggle>summary{list-style:none;cursor:pointer;padding:13px 16px;display:flex;align-items:baseline;gap:11px;font-size:14px;line-height:1.6;font-weight:640;color:#353944;overflow-wrap:anywhere}.scope-toggle>summary::-webkit-details-marker{display:none}.scope-toggle>summary:before{content:'›';font-size:20px;line-height:1;width:12px;flex:none;color:#777c89;transform-origin:45% 60%;transition:transform .12s}.scope-toggle[open]>summary:before{transform:rotate(90deg)}.scope-toggle[open]>summary{border-bottom:1px solid #e8e9ed}.scope-toggle-content{padding:15px 18px 18px 39px;white-space:pre-wrap;background:#fff}.scope-toggle>summary:hover{background:#f2f3f5}.scope-toggle>summary:focus-visible{outline:2px solid #626a84;outline-offset:-3px}
.scope-field>h3{font-size:14px;margin:4px 0 5px;font-weight:650}.scope-hint{font-size:12px;color:#777c88;margin:0 0 12px;line-height:1.65}.scope-editor{border:1px solid #d9dce4;border-radius:11px;background:#fff;min-width:0;overflow:hidden}.scope-toolbar{padding:9px 12px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;background:#f7f8fa;border-bottom:1px solid #e4e6ec;position:sticky;top:0;z-index:1}.scope-marks,.scope-add{display:flex;align-items:center;gap:4px}.scope-editor button{font:inherit;cursor:pointer;color:#515767;background:#fff;border:1px solid transparent;border-radius:5px;line-height:1.3;padding:7px 9px;min-height:33px}.scope-editor button:hover:not(:disabled){background:#e9ecf2;border-color:#d5dae5}.scope-editor button:disabled{opacity:.3;cursor:default}.scope-editor button:focus-visible,.scope-editor select:focus-visible{outline:2px solid #68718b;outline-offset:2px}.scope-marks>button{min-width:32px}.scope-divider{display:block;width:1px;height:20px;background:#dce0e7;margin:0 5px}.scope-editor .scope-add select,.scope-editor .scope-block-controls select{border:1px solid #dde1e8;background:#fff;border-radius:5px;width:auto;font-size:12px;padding:7px;color:#5b6271;max-width:190px;min-height:33px}.scope-editor .scope-add button{border-color:#d8dde7;font-size:12px;font-weight:600;padding:8px 10px}.scope-blocks{padding:16px;max-height:550px;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain}.scope-edit-block{border:1px solid #e8eaf0;border-radius:8px;margin-bottom:12px;background:#fff}.scope-edit-block:last-child{margin-bottom:0}.scope-block-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 9px;background:#fcfcfd;border-bottom:1px solid #f0f1f5;border-radius:8px 8px 0 0}.scope-editor .scope-block-controls select{border:0;background:transparent;min-height:28px;font-size:11px;padding:4px 3px}.scope-block-controls>div{display:flex;gap:3px}.scope-editor .scope-block-controls button{min-height:27px;padding:3px 8px;font-size:14px;background:transparent}.scope-edit-content{padding:14px 16px;min-height:56px;line-height:1.8;font-size:14px;color:#414653;white-space:pre-wrap;overflow-wrap:anywhere;outline:none}.scope-edit-content:focus{box-shadow:inset 3px 0 #7d859b;background:#fdfdff}.scope-edit-content:empty:before{content:attr(data-placeholder);color:#9b9fab;pointer-events:none;font-size:13px;font-weight:400}.scope-edit-heading .scope-edit-content{font-size:20px;font-weight:670;line-height:1.5}.scope-edit-subheading .scope-edit-content{font-size:16px;font-weight:640}.scope-edit-bullets .scope-edit-content,.scope-edit-numbered .scope-edit-content{border-left:2px solid #d7dbe4;margin:12px 16px;padding:2px 14px;min-height:38px}.scope-edit-toggle{border-color:#dbe0e9}.scope-toggle-title{padding:10px 14px;display:flex;align-items:center;gap:9px;background:#fafbfc}.scope-toggle-title>span{color:#868d9e}.scope-editor .scope-toggle-title input{border:0;background:transparent;font-size:14px;font-weight:650;padding:4px 0;border-radius:0;width:100%;height:auto;min-height:28px;box-shadow:none}.scope-toggle-title input:focus{outline:none;border-bottom:1px solid #a9b2c6}.scope-edit-toggle .scope-edit-content{padding-left:35px}.scope-editor-footer{border-top:1px solid #e8eaf0;background:#fafbfc;padding:10px 14px;display:flex;justify-content:space-between;gap:16px;font-size:11px;line-height:1.6;color:#838997}.scope-editor-footer>[data-scope-count]{white-space:nowrap}.scope-editor .scope-error{margin:0;padding:10px 14px;background:#fcf3f3;font-size:12px}.scope-error[hidden]{display:none}
@media(max-width:600px){.scope-toolbar{align-items:stretch;padding:8px}.scope-add{width:100%;justify-content:space-between}.scope-editor .scope-add select{max-width:none;flex:1}.scope-blocks{padding:9px;max-height:450px}.scope-editor-footer{flex-direction:column;gap:4px}.scope-edit-content{padding:12px}.scope-toggle-content{padding-left:18px}.scope-toggle-title{padding-left:12px}.scope-edit-toggle .scope-edit-content{padding-left:24px}}
@media print{.scope-toggle{break-inside:avoid}.scope-toggle-content{display:block!important}.scope-toggle:not([open])>.scope-toggle-content{display:block!important}}
.scope-card-context{font-size:15px;line-height:1.6;font-weight:600;color:#525968;margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid #e7e9ee}
/* 3A · the document is continuous; controls belong to the focused paragraph. */
.scope-continuous{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:visible}.scope-continuous .scope-toolbar{position:relative;top:auto;z-index:2;background:#fcfaf7;border:0;border-bottom:1px solid var(--line);padding:7px 12px;border-radius:10px 10px 0 0}.scope-toolbar-hint{font-size:10px;color:var(--muted)}.scope-continuous button{font-family:inherit;color:var(--muted);background:none;border:1px solid transparent;border-radius:5px;font-size:12px;min-height:30px}.scope-continuous button:hover:not(:disabled){background:#f6eee7;border-color:transparent;color:var(--action)}.scope-continuous .scope-marks>button{font-size:14px}.scope-divider{background:var(--line)}
.scope-continuous .scope-blocks{padding:30px 36px 35px 59px;min-height:270px;max-height:58dvh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding:20px}.scope-continuous .scope-edit-block{position:relative;border:0;border-radius:0;margin:0 0 6px;background:none;padding:0;transition:background .12s}.scope-continuous .scope-edit-block:focus-within{background:none}.scope-continuous .scope-line{display:flex;align-items:flex-start;gap:10px;min-width:0}.scope-continuous .scope-edit-content{border:0;border-radius:4px;padding:5px 8px;min-height:36px;outline:none;white-space:pre-wrap;overflow-wrap:anywhere;flex:1;min-width:0;font-size:14px;line-height:1.8;color:var(--ink);background:none;font-weight:400}.scope-continuous .scope-edit-content:empty:before{content:attr(data-placeholder);color:#a89b90;pointer-events:none;font-weight:400;font-size:14px}.scope-continuous .scope-edit-content:focus{outline:none;box-shadow:none;background:#fdf8f4}.scope-continuous .has-menu>.scope-line>.scope-edit-content{background:var(--blush)}.scope-continuous .scope-edit-heading .scope-edit-content{font-size:26px;font-weight:600;line-height:1.35;padding-top:14px;padding-bottom:8px}.scope-continuous .scope-edit-subheading .scope-edit-content{font-size:21px;font-weight:600;line-height:1.4;padding-top:12px;padding-bottom:7px}.scope-continuous .scope-edit-heading3 .scope-edit-content{font-size:17px;font-weight:600;padding-top:10px;padding-bottom:6px}.scope-continuous .scope-edit-bullets,.scope-continuous .scope-edit-numbered,.scope-continuous .scope-edit-checklist{margin-bottom:0}.scope-list-marker{padding-top:7px;font-size:14px;min-width:18px;line-height:1.8;color:var(--muted)}.scope-continuous .scope-line>input[type=checkbox]{margin:11px 0 0;flex:none;accent-color:var(--action);width:16px;height:16px}.scope-continuous .is-checked>.scope-line>.scope-edit-content{color:var(--muted);text-decoration:line-through}
.scope-paragraph-tools{display:flex;align-items:center;position:absolute;left:-51px;top:4px;opacity:0;transition:opacity .12s}.scope-continuous .scope-paragraph-tools>button{padding:0;min-height:28px;width:24px;color:#988b80;font-size:19px;line-height:1}.scope-edit-block:hover>.scope-paragraph-tools,.scope-edit-block:focus-within>.scope-paragraph-tools,.scope-edit-block.has-menu>.scope-paragraph-tools{opacity:1}.scope-paragraph-tools:focus-within{opacity:1}.scope-edit-block.has-menu{z-index:5}
.scope-continuous .scope-toggle-title{display:flex;align-items:center;padding:4px 5px;gap:5px;border:0;background:none}.scope-continuous .scope-toggle-title>button{font-size:21px;width:28px;min-height:30px;line-height:1;transform:rotate(90deg);transition:transform .16s}.scope-continuous .is-folded>.scope-toggle-title>button{transform:rotate(0)}.scope-continuous .scope-toggle-title>input{border:0;outline:none;box-shadow:none;font-size:15px;padding:3px 6px;background:none;min-width:0;flex:1;width:auto;font-weight:500;color:var(--ink)}.scope-continuous .scope-toggle-title>input:focus{background:#fdf8f4;outline:1px solid var(--line)}.scope-continuous .scope-edit-toggle>.scope-line{margin-left:38px;border-left:1px solid var(--line);padding-left:10px}.scope-continuous .is-folded>.scope-line{display:none}.scope-edit-toggle{margin-top:10px!important;margin-bottom:10px!important}
.scope-menu{position:absolute;z-index:10;left:10px;top:39px;width:285px;max-width:calc(100% - 10px);padding:10px;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 12px 40px #33251c1a;animation:scope-menu-in .12s ease-out}.scope-menu-label{font-size:9px;letter-spacing:1.1px;color:var(--muted);padding:5px 9px 9px}.scope-continuous .scope-menu>button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:8px;font-size:12px;min-height:38px;color:var(--ink);font-weight:400}.scope-menu>button[aria-pressed=true]{color:var(--action);background:var(--blush)}.scope-type-icon{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:5px;background:#f5f0e9;font-size:12px;flex:none}.scope-type-check{margin-left:auto;color:var(--action)}.scope-menu-separator{height:1px;background:var(--line);margin:8px 3px}.scope-menu-row{display:flex;justify-content:space-between;gap:3px}.scope-menu-row button{padding:5px 8px;font-size:10px}.scope-menu-row button:last-child{color:#9f352e}.scope-continuous .scope-append{display:block;margin:2px 25px 13px 59px;color:#988b80;font-size:12px;padding:4px 8px;text-align:left}.scope-continuous .scope-editor-footer{border-top:1px solid var(--line);background:none;font-size:10px;line-height:1.5;color:var(--muted);padding:12px 16px;gap:12px;border-radius:0 0 10px 10px}.scope-continuous .scope-error{margin:12px}.scope-hint{color:var(--muted);font-size:12px}.scope-document{color:var(--ink);font-size:14px}.scope-document h3{color:var(--ink);font-size:24px;font-weight:600}.scope-document h4{color:var(--ink);font-size:20px;font-weight:600}.scope-document h5{color:var(--ink);font-size:16px;font-weight:600;margin:20px 0 10px;white-space:pre-wrap}.scope-document strong{color:var(--ink)}.scope-read-check{display:flex;gap:10px}.scope-read-check>span:first-child{color:var(--muted)}.scope-read-check.is-checked>span:last-child{color:var(--muted);text-decoration:line-through}.scope-toggle{background:#fcfaf7;border-color:var(--line);border-radius:8px}.scope-toggle>summary{color:var(--ink);font-weight:500}.scope-toggle>summary:hover{background:#f6f0e9}.scope-toggle[open]>summary{border-color:var(--line)}.scope-toggle-content{color:var(--ink)}.scope-toggle>summary:before{transition:transform .16s}
@keyframes scope-menu-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@media(hover:none){.scope-paragraph-tools{opacity:1}}
@media(max-width:720px){.scope-continuous .scope-blocks{padding:22px 14px 28px 48px;min-height:260px;max-height:56dvh}.scope-paragraph-tools{left:-43px}.scope-continuous .scope-paragraph-tools>button{width:21px}.scope-continuous .scope-append{margin-left:48px}.scope-continuous .scope-editor-footer{flex-direction:column;align-items:flex-start;gap:5px}.scope-continuous .scope-edit-heading .scope-edit-content{font-size:23px}.scope-continuous .scope-edit-subheading .scope-edit-content{font-size:19px}.scope-menu{left:0;max-width:100%;width:260px}.scope-toolbar-hint{font-size:9px}.scope-continuous .scope-toggle-title>input{font-size:14px}.scope-continuous .scope-edit-toggle>.scope-line{margin-left:25px;padding-left:6px}}
@media(prefers-reduced-motion:reduce){.scope-continuous *,.scope-toggle>summary:before{transition:none!important;animation:none!important}}
.scope-menu[hidden],.scope-continuous .scope-line[hidden]{display:none!important}.scope-continuous .scope-edit-content{margin:0}.scope-continuous .scope-edit-bullets .scope-edit-content,.scope-continuous .scope-edit-numbered .scope-edit-content{border-left:0;margin:0;padding:5px 8px;min-height:36px}.scope-continuous .scope-edit-heading .scope-edit-content,.scope-continuous .scope-edit-subheading .scope-edit-content,.scope-continuous .scope-edit-heading3 .scope-edit-content{font-size:inherit}.scope-continuous .scope-edit-heading{font-size:26px}.scope-continuous .scope-edit-subheading{font-size:21px}.scope-continuous .scope-edit-heading3{font-size:17px}
