.icon-button:hover{color:var(--ink);background:var(--surface-hover)}.workspace-header-icon-button{width:32px;min-width:32px;height:32px;min-height:32px;padding:0;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--surface)}.workspace-header-icon-button:focus-visible,.workspace-header-icon-button:hover{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-50)}.workspace-header-icon-button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.workspace-header-icon-button>svg{width:10px;height:10px;flex:0 0 10px;stroke-width:2}.workspace{min-height:calc(100vh - 68px);display:grid;grid-template-columns:minmax(470px,43%) minmax(600px,57%)}.workspace-discovery{padding:0 24px 48px;border-top:12px solid var(--shell);background:var(--shell);box-shadow:inset 0 1px var(--line);content-visibility:auto;contain-intrinsic-block-size:auto 650px}.workspace-discovery__header{width:min(1180px,100%);margin:0 auto;padding:28px 0 20px;border-bottom:1px solid var(--line)}.workspace-discovery__header .eyebrow{color:var(--muted)}.workspace-discovery__header h2{margin:7px 0 5px;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:600;letter-spacing:-.025em}.workspace-discovery__header p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.workspace-discovery__header p a{color:var(--violet-700);font-weight:800;text-decoration-thickness:1.5px;text-underline-offset:3px}.workspace-discovery__header p a:hover{color:var(--ink)}.workspace-discovery__inner{width:min(1180px,100%);margin:18px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.workspace-discovery__resource{min-width:0;margin:0;padding:20px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px 15px;border:1px solid var(--line);border-radius:11px;background:var(--surface-translucent)}.workspace-discovery__resource>.brand-icon{width:38px;height:38px}.workspace-discovery__resource .eyebrow{color:var(--sage-700)}.workspace-discovery__resource h3{margin:6px 0;font-family:Georgia,Times New Roman,serif;font-size:19px;font-weight:600;letter-spacing:-.02em;line-height:1.18}.workspace-discovery__resource p{max-width:720px;margin:0;color:var(--muted);font-size:13px;line-height:1.6}.workspace-discovery__resource>a{width:fit-content;min-height:40px;padding:0 15px;grid-column:2;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;color:var(--on-accent);background:var(--sage-700);font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}.workspace-discovery__resource>a:hover{background:var(--sage-800)}.workspace-discovery__intro{min-width:0;padding:20px;border:1px solid var(--line);border-radius:11px;background:var(--surface-translucent)}.workspace-discovery__intro h3{max-width:540px;margin:7px 0 10px;font-family:Georgia,Times New Roman,serif;font-size:22px;font-weight:600;letter-spacing:-.025em;line-height:1.15}.workspace-discovery__intro p,.workspace-discovery__links p{color:var(--muted);line-height:1.65}.workspace-discovery__intro p{max-width:610px;margin:0;font-size:14px}.workspace-discovery__links{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.workspace-discovery__links article{min-width:0;padding:20px;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:11px;background:var(--surface);background:var(--surface-translucent)}.workspace-discovery__links h3{margin:0 0 8px;font-family:Georgia,Times New Roman,serif;font-size:17px;font-weight:600;letter-spacing:-.018em}.workspace-discovery__links p{margin:0 0 18px;font-size:12px}.workspace-discovery__links a{width:fit-content;margin-top:auto;color:var(--sage-800);font-size:12px;font-weight:750;text-underline-offset:3px}.workspace-discovery__links a:hover{color:var(--ink)}.mobile-workflow-nav{display:none}.explorer-pane,.note-pane{min-width:0}.explorer-pane{border-right:1px solid var(--line);background:linear-gradient(180deg,var(--pane-start),var(--pane-end)),var(--shell)}.note-heading,.pane-heading{min-height:82px;padding:17px 22px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.eyebrow,.opening-menu>span,.palette-results>span,.position-preview>span,.section-label,.selected-copy>span{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.14em}.note-heading h2,.pane-heading h2{margin:3px 0 0;font-family:Georgia,Times New Roman,serif;font-size:21px;font-weight:600;letter-spacing:-.025em}.add-opening-wrap{position:relative}.pane-heading-actions{display:flex;align-items:center;gap:7px}.problem-jump-nav{min-width:0;padding:8px 12px;position:sticky;top:68px;z-index:18;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--pane-start) 92%,transparent);backdrop-filter:blur(12px)}.problem-jump-nav__items{min-width:0;flex:1 1 auto;display:flex;gap:5px;overflow-x:auto;scrollbar-width:none}.problem-jump-nav__items::-webkit-scrollbar{display:none}.problem-jump-nav button{min-height:32px;padding:5px 8px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:var(--surface-translucent);font-size:12px;cursor:pointer;white-space:nowrap}.problem-jump-nav__items button{max-width:180px}.problem-jump-nav__items button b{width:20px;height:20px;flex:0 0 auto;display:grid;place-items:center;border-radius:6px;color:var(--sage-800);background:var(--sage-100);font-size:11px}.problem-jump-nav__items button span{overflow:hidden;text-overflow:ellipsis}.problem-jump-nav button:focus-visible,.problem-jump-nav button:hover,.problem-jump-nav__items button.active{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-50)}.problem-jump-nav__collapse-all{flex:0 0 auto}:root[data-workspace-readability=large] .problem-jump-nav{top:78px}.app-shell[data-floating-workspace=true] .problem-jump-nav{display:none}@media (max-width:800px){.problem-jump-nav{top:120px}:root[data-workspace-readability=large] .problem-jump-nav{position:static}}@media (max-width:520px){.problem-jump-nav{top:164px;padding:7px 10px}.problem-jump-nav__collapse-all span{display:none}}.add-opening{height:34px;padding:0 11px;display:flex;align-items:center;gap:6px;color:var(--sage-700);font-size:11px;font-weight:700}.template-pane-button{color:var(--violet-700)}.template-pane-button:hover{border-color:#d6cbe7;background:var(--violet-50)}.add-opening .count-badge{min-width:20px;height:17px}.add-opening:hover{border-color:var(--sage-300);background:var(--sage-50)}.opening-menu{width:258px;padding:8px;position:absolute;top:42px;right:0;z-index:40;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}.opening-menu>span{display:block;padding:5px 8px 7px}.opening-menu button{width:100%;padding:8px;display:flex;align-items:center;gap:9px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.opening-menu button:hover{background:var(--sage-50)}.opening-menu i{width:29px;height:29px;display:grid;place-items:center;border-radius:7px;color:var(--sage-700);background:var(--sage-100);font-size:9px;font-style:normal;font-weight:800}.opening-menu button>div{flex:1;display:flex;flex-direction:column;gap:2px}.opening-menu strong{font-size:11px}.opening-menu small{color:var(--muted);font-size:9px}.problem-list{padding:14px}.canonical-composer{margin-bottom:14px;padding:15px;scroll-margin-top:82px;border:1px solid var(--sage-300);border-radius:13px;background:linear-gradient(145deg,var(--sage-50),var(--canonical-end));box-shadow:0 7px 22px rgba(47,81,57,.08)}.canonical-composer .canonical-composer__collapse-button,.canonical-composer__stacked-summary{display:none}.canonical-composer__top{display:flex;align-items:center;justify-content:space-between}.canonical-composer__status{display:inline-flex;align-items:center;gap:5px;color:var(--sage-700);font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.canonical-composer__status b{color:var(--sage-300);font-weight:400}.canonical-composer h2{margin:3px 0 2px;color:var(--sage-800);font-family:Georgia,Times New Roman,serif;font-size:19px;font-weight:500;letter-spacing:-.02em}.canonical-composer__body>p{margin:0;color:var(--muted);font-size:9px}.canonical-composer__ownership{width:fit-content;max-width:100%;margin-top:9px;padding:4px 5px;position:relative;display:inline-grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;border:1px solid var(--warning-border);border-radius:7px;color:var(--warning-ink);background:var(--warning-bg)}.canonical-composer__ownership>svg{width:14px;height:14px}.canonical-composer__ownership>div{display:flex;flex-direction:column;gap:2px}.canonical-composer__ownership span,.canonical-composer__ownership strong{font-size:10px;line-height:1.35}.canonical-composer__ownership-explanation{width:max-content;max-width:min(340px,calc(100vw - 32px));padding:7px 9px;position:absolute;top:calc(100% + 6px);left:0;z-index:35;border:1px solid var(--warning-border);border-radius:7px;color:var(--muted);background:var(--surface-raised);box-shadow:0 8px 22px rgba(23,34,27,.14);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-2px);transition:opacity .12s ease,transform .12s ease,visibility 0s linear .12s}.canonical-composer__ownership:focus-within .canonical-composer__ownership-explanation,.canonical-composer__ownership:hover .canonical-composer__ownership-explanation{opacity:1;visibility:visible;transform:translateY(0);transition-delay:0s}.canonical-composer__ownership button{min-height:27px;padding:0 7px;border:1px solid var(--warning-border);border-radius:6px;color:var(--warning-ink);background:var(--surface);font-size:10px;font-weight:750;cursor:pointer}.canonical-composer__ownership.is-conflict{width:100%;margin-top:12px;padding:10px;display:grid;gap:8px;border-radius:9px}.canonical-composer__ownership.is-conflict>svg{align-self:start;margin-top:2px}.canonical-composer__ownership.is-conflict .canonical-composer__ownership-explanation{width:auto;max-width:none;padding:0;position:static;border:0;background:transparent;box-shadow:none;opacity:1;visibility:visible;transform:none}.canonical-composer__ownership.is-conflict button,.canonical-composer__ownership.is-conflict span,.canonical-composer__ownership.is-conflict strong{font-size:12px}.canonical-composer__ownership.is-conflict button{min-height:32px;padding:0 9px}.canonical-composer__ownership .canonical-composer__ownership-cancel{grid-column:3;border-color:transparent;background:transparent}.canonical-composer__sections{margin-top:15px;display:grid;gap:14px}.canonical-composer__options{margin-top:7px;display:flex;flex-wrap:wrap;gap:5px}.canonical-composer__options button{min-height:29px;padding:5px 8px;display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--surface-translucent);font-size:9px;line-height:1.25;text-align:left;cursor:pointer}.canonical-composer__options button.active,.canonical-composer__options button:hover{border-color:var(--sage-300);color:var(--sage-800)}.canonical-composer__options button.active{background:var(--sage-100);box-shadow:inset 0 0 0 1px rgba(85,122,94,.06)}.canonical-composer__section--inactive .canonical-composer__options,.canonical-composer__section--inactive .section-label{opacity:.45}.canonical-composer__section--inactive .canonical-composer__options button.active{border-style:dashed;color:var(--muted);background:transparent;box-shadow:none}.canonical-composer__inactive-note{margin:3px 0 0;color:var(--muted);font-size:9px;font-style:italic}.canonical-variable input{width:100%;min-height:32px;margin-top:7px;padding:7px 9px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--surface-translucent);font:inherit;font-size:10px}.canonical-variable input:focus{border-color:var(--sage-400);outline:2px solid color-mix(in srgb,var(--sage-300) 35%,transparent);outline-offset:1px}.canonical-composer__footer{margin-top:15px;padding-top:10px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid rgba(180,201,183,.6)}.template-reminder{margin-top:14px;padding:10px 11px;display:flex;align-items:flex-start;gap:8px;border-top:1px solid var(--line);color:var(--muted)}.template-reminder>svg{margin-top:1px;flex:0 0 auto}.template-reminder strong{display:block;font-size:8px;letter-spacing:.09em;text-transform:uppercase}.template-reminder p{margin:3px 0 0;font-size:9px;line-height:1.45}.template-reminder--high,.template-reminder--medium{border:1px solid;border-radius:8px}.template-reminder--medium{border-color:var(--reminder-medium-border);color:var(--reminder-medium-ink);background:var(--reminder-medium-bg)}.template-reminder--high{border-color:var(--reminder-high-border);color:var(--reminder-high-ink);background:var(--reminder-high-bg)}.canonical-composer__footer>div{display:flex;align-items:center;gap:4px}.canonical-composer__footer>span{color:var(--muted);font-size:8.5px}.canonical-composer__footer button{padding:4px 6px;display:inline-flex;align-items:center;gap:4px;border:0;border-radius:5px;color:var(--sage-700);background:transparent;font-size:8.5px;cursor:pointer}.canonical-composer__footer button:hover{background:var(--sage-100)}.template-empty-state{min-height:210px;margin-bottom:14px;padding:28px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed var(--sage-300);border-radius:13px;color:var(--muted);background:var(--surface-translucent);text-align:center}.template-empty-state>span{width:38px;height:38px;margin-bottom:9px;display:grid;place-items:center;border-radius:10px;color:var(--sage-700);background:var(--sage-100)}.template-empty-state strong{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:15px;font-weight:500}.template-empty-state p{max-width:290px;margin:5px 0 13px;font-size:9.5px;line-height:1.5}.template-empty-state button{height:32px;padding:0 10px;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--sage-300);border-radius:7px;color:var(--sage-700);background:var(--surface);font-size:9px;font-weight:700;cursor:pointer}.template-empty-state__actions{max-width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.section-label{margin-bottom:8px;display:flex;align-items:center;gap:5px}.section-label>span{gap:3px;color:var(--muted);font-size:8px;font-weight:600}.section-label>span,.section-label__building-block{margin-left:auto;display:inline-flex;align-items:center;letter-spacing:0;text-transform:none}.section-label__building-block{padding:3px 6px;gap:4px;border:1px solid var(--sage-200);border-radius:999px;color:var(--sage-800);background:var(--sage-50);font:inherit;font-size:8px;font-weight:700;cursor:pointer}.section-label__building-block:hover{border-color:var(--sage-400);background:var(--sage-100)}.note-pane{background:linear-gradient(90deg,var(--note-grid) 1px,transparent 1px) 0 0 /28px 28px,var(--note-surface)}.note-heading{padding-left:28px;padding-right:28px;background:var(--heading-surface)}.starting-note-menu{position:relative}.starting-note-menu h2{margin:3px 0 0}.starting-note-menu__trigger{max-width:250px;padding:0;display:flex;align-items:center;gap:6px;border:0;color:var(--ink);background:transparent;font:inherit;letter-spacing:inherit;cursor:pointer}.starting-note-menu__trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.starting-note-menu__trigger svg{flex:0 0 auto;color:var(--muted);transition:transform .14s ease}.starting-note-menu__trigger[aria-expanded=true] svg{transform:rotate(180deg)}.starting-note-menu__trigger:focus-visible,.starting-note-menu__trigger:hover{color:var(--sage-800)}.starting-note-menu__popover{width:min(310px,calc(100vw - 32px));padding:8px;position:absolute;top:calc(100% + 10px);left:0;z-index:90;border:1px solid var(--line);border-radius:12px;background:var(--surface-raised);box-shadow:var(--shadow)}.starting-note-menu__heading{padding:4px 6px 9px;display:flex;align-items:baseline;justify-content:space-between;gap:12px}.starting-note-menu__heading strong{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:13px;font-weight:600}.starting-note-menu__heading span{color:var(--muted);font-size:8px;white-space:nowrap}.starting-note-menu__options{max-height:230px;overflow-y:auto;display:grid;gap:4px}.starting-note-menu__manage,.starting-note-menu__options button{width:100%;min-height:44px;padding:8px 10px;display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:8px;color:var(--muted);background:transparent;font-size:10px;text-align:left;cursor:pointer}.starting-note-menu__options button>span{min-width:0;display:flex;flex:1;flex-direction:column;gap:2px}.starting-note-menu__options strong{overflow:hidden;color:var(--ink);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.starting-note-menu__options small{color:var(--muted);font-size:8px}.starting-note-menu__options button.active,.starting-note-menu__options button:hover{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-50)}.starting-note-menu__manage{min-height:38px;margin-top:7px;border-top-color:var(--line-soft);border-radius:0 0 7px 7px;color:var(--sage-800);font-weight:700}.starting-note-menu__manage:hover{background:var(--sage-50)}.document-trust{display:flex;align-items:center;gap:8px}.trust-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;color:var(--sage-700);background:var(--sage-100)}.document-trust>div{display:flex;flex-direction:column;gap:2px}.document-trust strong{font-size:9px}.document-trust span{color:var(--muted);font-size:8.5px}.starting-note-actions{display:flex;align-items:center;gap:6px}.starting-note-actions button{min-height:31px;padding:0 9px;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--surface);font-size:9px;font-weight:700;cursor:pointer}.starting-note-actions button:hover{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-50)}.starting-note-actions .stacked-note-toggle{display:none}.editor-shell{width:min(760px,calc(100% - 48px));margin:22px auto 12px;border:1px solid var(--line);border-radius:11px;background:var(--paper);box-shadow:0 15px 42px rgba(39,49,42,.09);overflow:visible}.repertoire-line-help-chip{margin:0;min-height:28px;padding:5px 9px;display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;color:var(--sage-800);background:var(--surface);font-size:11px;font-weight:800;cursor:pointer}.repertoire-line-help-chip:focus-visible,.repertoire-line-help-chip:hover{border-color:var(--sage-300);background:var(--sage-50)}.editor-toolbar{min-height:46px;padding:0 12px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);border-radius:11px 11px 0 0;background:var(--surface-soft)}.toolbar-group{padding-right:7px;display:flex;gap:2px;border-right:1px solid var(--line)}.toolbar-group--block-style select{height:29px;padding:0 24px 0 8px;border:0;border-radius:5px;color:var(--muted);background:var(--surface);font-size:9px;font-weight:700;cursor:pointer}.toolbar-group--block-style select:focus{outline:2px solid var(--sage-300);outline-offset:1px}.toolbar-group--starting-note{display:none}.editor-toolbar button{width:29px;height:29px;padding:0;display:grid;place-items:center;border:0;border-radius:5px;color:var(--muted);background:transparent;cursor:pointer}.editor-toolbar button.active,.editor-toolbar button:hover{color:var(--sage-800);background:var(--sage-100)}.editor-toolbar button:disabled{opacity:.35}.save-state{margin-left:auto;display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px}.saving-dot{width:6px;height:6px;border-radius:50%;background:var(--amber)}.inference-details{padding:12px 16px 14px;border-bottom:1px solid var(--line);background:var(--surface-soft)}.inference-summary{min-height:34px;padding:7px 16px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line);color:var(--muted);background:var(--surface-subtle);font-size:8.5px}.inference-summary strong{margin-right:3px;color:var(--ink);font-size:9px}.inference-summary span{padding:3px 6px;border:1px solid var(--line);border-radius:999px;background:var(--surface)}.inference-details__heading{display:flex;align-items:center;gap:8px}.inference-details__heading>div{display:flex;flex-direction:column;gap:2px}.inference-details__heading strong{font-size:9.5px}.inference-details__heading span{color:var(--muted);font-size:8px}.inference-details__items{margin-top:9px;display:grid;gap:6px}.inference-detail-group{display:grid;gap:6px}.inference-detail-group+.inference-detail-group{margin-top:5px}.inference-detail-group h3{margin:2px 0 0;color:var(--sage-700);font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.inference-detail{padding:8px 10px;display:flex;align-items:flex-start;gap:7px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.inference-detail>svg{margin-top:1px;flex:0 0 auto}.inference-detail>div{display:flex;flex-direction:column;gap:2px}.inference-detail strong{color:var(--ink);font-size:9px}.inference-detail small,.inference-detail span{color:var(--muted);font-size:8px;line-height:1.35}.inference-detail--matched>svg{color:var(--sage-700)}.inference-detail--warning{border-color:var(--warning-border);background:var(--warning-bg)}.inference-detail--warning>svg{color:var(--warning-ink)}.inference-detail--unmatched{border-style:dashed}.inference-detail__content{min-width:0;flex:1}.inference-detail .inference-detail__actions{margin-top:5px;display:flex;flex-wrap:wrap;gap:5px}.inference-detail__actions button{min-height:25px;padding:4px 7px;display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:5px;color:var(--sage-700);background:var(--surface-subtle);font:inherit;font-size:8px;cursor:pointer}.inference-detail__actions button:hover{border-color:var(--sage-300);background:var(--sage-50)}.inference-detail__actions code{color:var(--ink);font-size:8px;font-weight:800}.editor-canvas{min-height:calc(100vh - 252px);padding:42px 56px 70px;position:relative;background:linear-gradient(90deg,transparent 33px,var(--line) 34px,transparent 35px),var(--paper)}.repertoire-line-completion{position:absolute;z-index:14;pointer-events:none}.repertoire-line-completion__ghost{height:24px;min-height:24px;padding:0 5px 0 0;display:flex;align-items:baseline;gap:7px;border:0;color:var(--muted);background:transparent;font-family:Georgia,Times New Roman,serif;font-size:14px;line-height:1.75;pointer-events:auto;cursor:pointer}.repertoire-line-completion__ghost i{opacity:.62}.repertoire-line-completion__ghost small{padding:2px 5px;border:1px solid var(--line);border-radius:4px;color:var(--muted);background:var(--surface);font-family:ui-sans-serif,system-ui,sans-serif;font-size:7px;font-style:normal;line-height:1}.repertoire-line-completion__choices{position:relative;width:min(320px,calc(100vw - 64px));margin-top:2px;padding:4px;display:grid;gap:2px;border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:0 10px 24px rgba(39,49,42,.14);pointer-events:auto}.repertoire-line-completion__choices button{padding:6px 7px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;border:0;border-radius:5px;color:var(--ink);background:transparent;font-size:9px;text-align:left;cursor:pointer}.repertoire-line-completion__choices kbd{width:18px;height:18px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;color:var(--sage-800);background:var(--surface-soft);font-size:8px}.repertoire-line-completion__choices button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.repertoire-line-completion__choices button:focus-visible,.repertoire-line-completion__choices button:hover{background:var(--sage-50)}.repertoire-line-completion__choices small{color:var(--muted)}.repertoire-line-structure__choices{width:min(420px,calc(100vw - 64px));max-height:min(420px,54vh);margin-top:24px;overflow-y:auto;font-family:ui-sans-serif,system-ui,sans-serif}.repertoire-line-structure{z-index:90}.minimal-line-choice-hint,.repertoire-line-choice-hint{display:inline-flex;align-items:center;cursor:pointer;white-space:nowrap}.repertoire-line-choice-hint{gap:5px;padding:4px 8px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:var(--surface);font-size:11px;pointer-events:auto}.repertoire-line-structure__group{padding:8px 7px 4px;color:var(--muted);font-size:11px;font-weight:600}.repertoire-line-structure__choices footer,.repertoire-line-structure__choices header{padding:6px 7px;display:flex;align-items:baseline;justify-content:space-between;gap:10px;color:var(--muted);font-size:9px}:root[data-workspace-readability=large] .repertoire-line-structure__choices button{min-height:38px;font-size:14px}@media (pointer:coarse){.repertoire-line-choice-hint,.repertoire-line-structure__choices button{min-height:44px}}.repertoire-line-structure__choices header{position:sticky;top:-4px;z-index:1;border-bottom:1px solid var(--line-soft);background:var(--surface)}.repertoire-line-structure__choices header i{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:12px}.repertoire-line-structure__choices button{width:100%;grid-template-columns:minmax(0,1fr) auto;color:var(--muted);font-size:12px;text-align:left}.repertoire-line-structure__choices button>span{white-space:normal;overflow-wrap:anywhere}.repertoire-line-structure__choices button.repertoire-line-structure__close{width:auto;display:block;font-size:11px}.repertoire-line-structure__choices button.active{background:var(--sage-50);box-shadow:inset 2px 0 var(--sage-600)}.repertoire-line-structure__choices em{min-width:48px;color:var(--faint);font-size:10px;font-style:normal;text-align:right}.repertoire-line-structure__choices em[data-status=active]{color:var(--sage-700)}.repertoire-line-structure__choices em[data-status=default]{color:var(--amber)}.repertoire-line-structure__choices footer{position:sticky;bottom:-4px;border-top:1px solid var(--line-soft);background:var(--surface);display:grid;gap:4px;font-size:11px}.clinical-editor{min-height:430px;color:var(--ink);caret-color:var(--sage-700);font-family:Georgia,Times New Roman,serif;font-size:14px;line-height:1.75}.clinical-editor:focus{outline:none}.clinical-editor h2{margin:0 0 20px;padding-bottom:13px;border-bottom:1px solid var(--line);font-size:22px;font-weight:500;letter-spacing:-.02em}.clinical-editor h1{margin:0 0 22px;font-size:28px;font-weight:600;letter-spacing:-.03em}.clinical-editor h3{margin:28px 0 8px;color:#3c4d42;font-family:Arial,Helvetica,sans-serif;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.clinical-editor blockquote{margin:14px 0;padding:3px 0 3px 14px;border-left:3px solid var(--sage-300);color:var(--muted)}.clinical-editor p{margin:7px 0}.clinical-editor p.repertoire-line-example-placeholder{position:relative}.clinical-editor p.repertoire-line-example-placeholder:before{width:100%;position:absolute;top:0;left:0;display:block;color:var(--muted);content:attr(data-placeholder) "  " url(/repertoire-hint.svg);pointer-events:none}.clinical-editor ol,.clinical-editor ul{margin:8px 0;padding-left:26px}.clinical-editor ul{list-style:disc outside}.clinical-editor ol{list-style:decimal outside}.clinical-editor ul ul{list-style-type:circle}.clinical-editor li{display:list-item;margin:3px 0;padding-left:2px}.clinical-editor code{padding:2px 4px;border-radius:3px;color:#5b4a2a;background:#f7edce;font-family:Georgia,Times New Roman,serif}.chart-block{margin:7px 0;padding:2px 20px 2px 9px;position:relative;border-left:2px solid transparent;border-radius:2px;transition:background .12s ease,border-color .12s ease}.editor-canvas .chart-block+.chart-block{margin-top:calc(7px + var(--problem-spacing-space, 1.75em))}.chart-block--linked.is-selected,.chart-block--linked:hover{border-left-color:var(--sage-300);background:var(--sage-50)}.linked-indicator{padding:2px 4px;display:none;align-items:center;gap:3px;position:absolute;top:3px;right:0;border-radius:3px;color:var(--sage-800);background:var(--sage-100);font-family:Arial,Helvetica,sans-serif;font-size:7px;font-weight:800;line-height:1;text-transform:uppercase}.chart-block--linked:hover .linked-indicator{display:inline-flex}.chart-block__content{display:block}.chart-block__content>:first-child{margin-top:0}.chart-block__content>:last-child{margin-bottom:0}.selection-context-menu{width:238px;z-index:140;box-shadow:0 14px 36px rgba(28,36,31,.2)}.selection-context-menu,.selection-toolbar{padding:5px;position:fixed;border:1px solid var(--line);border-radius:10px;background:var(--surface-raised)}.selection-toolbar{width:max-content;max-width:calc(100vw - 16px);z-index:145;display:flex;align-items:center;gap:3px;overflow-x:auto;box-shadow:0 12px 32px rgba(28,36,31,.2);scrollbar-width:none}.selection-toolbar::-webkit-scrollbar{display:none}.selection-toolbar--above{transform:translateY(-100%)}.selection-toolbar button{min-height:34px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;border:0;border-radius:7px;color:var(--ink);background:transparent;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}.selection-toolbar button:focus-visible,.selection-toolbar button:hover{color:var(--sage-800);background:var(--sage-50)}.selection-context-menu button{width:100%;min-height:48px;padding:8px 9px;display:flex;align-items:center;gap:9px;border:0;border-radius:7px;color:var(--sage-700);background:transparent;text-align:left;cursor:pointer}.selection-context-menu button:hover{background:var(--sage-50)}.selection-context-menu button>span{display:flex;flex-direction:column;gap:2px}.selection-context-menu strong{color:var(--ink);font-size:10px}.selection-context-menu small{color:var(--muted);font-size:8px}.dot-menu{width:260px;padding:6px;position:absolute;left:55px;bottom:30px;z-index:20;border:1px solid var(--line);border-radius:9px;background:var(--surface);box-shadow:var(--shadow)}.dot-menu__label{padding:5px 7px;color:var(--faint);font-family:Arial,Helvetica,sans-serif;font-size:8px;font-weight:800;letter-spacing:.13em}.dot-menu button{width:100%;padding:7px;display:grid;grid-template-columns:23px minmax(0,1fr);align-items:center;gap:7px;border:0;border-radius:6px;background:transparent;text-align:left;cursor:pointer}.dot-menu button:hover,.dot-menu__shortcut{background:var(--sage-50)}.dot-menu__shortcut{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--sage-300);border-radius:5px;color:var(--sage-800);font-family:Arial,Helvetica,sans-serif;font-size:10px;font-weight:800}.dot-menu__content{min-width:0;display:flex;flex-direction:column;gap:2px}.dot-menu__content>span{color:var(--sage-700);font-family:monospace;font-size:10px;font-weight:700}.dot-menu__content small{color:var(--muted);font-size:9px}.inline-choice{max-width:calc(100% - 4px);margin:0 2px;padding:1px 2px 1px 6px;position:relative;display:inline-flex;align-items:flex-start;gap:0;border:1px solid var(--sage-300);border-radius:5px;color:var(--sage-800);background:var(--sage-50);font-family:Arial,Helvetica,sans-serif;vertical-align:baseline}.inline-choice__trigger{width:auto;position:absolute;inset:0 27px 0 0;z-index:2;padding:0;border:0;outline:0;color:transparent;background:transparent;font-size:10px;font-weight:700;cursor:pointer}.inline-choice__display{min-width:6ch;max-width:none;overflow:visible;overflow-wrap:anywhere;color:inherit;flex:1 1 auto;font-size:10px;font-weight:700;line-height:1.25;text-overflow:clip;white-space:normal}.inline-choice>svg,.inline-choice__convert{margin-top:1px;flex:0 0 auto}.inline-choice__menu{min-width:max(100%,190px);max-width:min(320px,80vw);padding:5px;position:absolute;top:calc(100% + 5px);left:0;z-index:45;display:grid;gap:3px;border:1px solid var(--sage-300);border-radius:7px;background:var(--surface);box-shadow:0 12px 30px rgba(18,26,21,.18)}.inline-choice__menu button{min-height:30px;padding:6px 8px;border:0;border-radius:5px;color:var(--ink);background:transparent;font:600 11px/1.3 Arial,Helvetica,sans-serif;text-align:left;cursor:pointer}.inline-choice__menu button:hover,.inline-choice__menu button[aria-selected=true]{color:var(--sage-800);background:var(--sage-100)}.inline-choice__convert{width:17px;height:17px;padding:0;display:grid;place-items:center;border:0;border-radius:3px;color:var(--sage-700);background:var(--sage-100);cursor:pointer}.note-footer{width:min(760px,calc(100% - 48px));margin:0 auto 20px;display:flex;justify-content:space-between;color:var(--muted);font-size:9px}.note-footer span{display:flex;align-items:center;gap:5px}.modal-backdrop,.onboarding-backdrop,.palette-backdrop,.template-backdrop,.template-changes-backdrop,.template-studio-backdrop{position:fixed;inset:0;z-index:200;background:rgba(29,37,32,.28);backdrop-filter:blur(3px);display:grid;place-items:center}.onboarding-backdrop{z-index:230;padding:18px;background:rgba(24,34,28,.42)}:root[data-onboarding-complete=true] .onboarding-shell{display:none}.onboarding-wizard{width:min(590px,calc(100vw - 30px));min-height:min(475px,calc(100dvh - 36px));max-height:calc(100dvh - 36px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid rgba(255,255,255,.72);border-radius:18px;background:var(--surface-raised);box-shadow:0 28px 90px rgba(20,31,24,.32);overflow:hidden}.onboarding-header{min-height:66px;padding:15px 18px 8px;display:flex;align-items:center;justify-content:flex-end}.onboarding-body{padding:10px 42px 30px;min-height:0;overflow-y:auto}.onboarding-body h2{max-width:470px;margin:8px 0 10px;font-size:27px;font-weight:500;letter-spacing:-.025em;line-height:1.12}.onboarding-body h2,.onboarding-body>p{font-family:Georgia,Times New Roman,serif}.onboarding-body>p{max-width:480px;margin:0 0 22px;color:var(--muted);font-size:13px;line-height:1.65}.onboarding-card{padding:15px;display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:11px;background:var(--surface-subtle)}.onboarding-card>div{display:flex;align-items:flex-start;flex-direction:column}.onboarding-card strong{font-family:Georgia,Times New Roman,serif;font-size:12px;font-weight:600}.onboarding-card span{color:var(--muted);font-size:10px;line-height:1.5}.onboarding-development a{margin-top:9px;display:inline-flex;align-items:center;gap:5px;color:var(--sage-700);font-size:10px;font-weight:800;text-decoration:none}.onboarding-development a:hover{text-decoration:underline;text-underline-offset:3px}.onboarding-agreement{display:grid;gap:11px}.onboarding-library-options{display:grid;gap:9px}.onboarding-library-option{width:100%;min-height:68px;padding:13px 14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid var(--line);border-radius:11px;color:var(--ink);background:var(--surface-subtle);text-align:left;cursor:pointer}.onboarding-library-option.is-selected,.onboarding-library-option:hover{border-color:var(--sage-300);background:var(--sage-50)}.onboarding-library-option__check{width:21px;height:21px;display:grid;place-items:center;border:1px solid var(--line);border-radius:999px;color:white;background:var(--surface)}.onboarding-library-option.is-selected .onboarding-library-option__check{border-color:var(--sage-700);background:var(--sage-700)}.onboarding-library-option>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.onboarding-library-option strong{font-family:Georgia,Times New Roman,serif;font-size:12px;font-weight:600}.onboarding-library-option small{color:var(--muted);font-size:9px;font-weight:400;line-height:1.45}.onboarding-library-option em{padding:4px 7px;border-radius:999px;color:var(--sage-800);background:var(--sage-100);font-size:8px;font-style:normal;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.onboarding-example{padding:13px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;border:1px solid var(--line);border-radius:11px;background:var(--surface-subtle)}.onboarding-example>small,.onboarding-example>span{grid-column:1/-1}.onboarding-example>span{color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.12em}.onboarding-example code{border:1px solid var(--sage-300);border-radius:6px;color:var(--sage-800);background:var(--surface);font-size:10px;padding:8px;text-align:center}.onboarding-example>small{margin-top:3px;color:var(--muted);font-size:9px;line-height:1.45}.onboarding-points{display:grid;gap:8px}.onboarding-points span{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px}.onboarding-points svg{flex:0 0 auto;color:var(--sage-700)}.onboarding-footer{min-height:72px;padding:14px 18px;display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);background:var(--surface-soft)}.onboarding-footer button{display:inline-flex;align-items:center;gap:5px}.onboarding-progress{margin-right:auto;display:flex;gap:5px}.onboarding-progress span{width:7px;height:7px;border-radius:999px;background:var(--line);transition:width .16s ease,background .16s ease}.onboarding-progress span.active{width:22px;background:var(--sage-600)}.field-help{color:var(--muted);font-size:9px;font-weight:400}.modal{width:min(540px,calc(100vw - 30px));padding:23px;border:1px solid var(--line);border-radius:15px;background:var(--surface-raised);box-shadow:0 24px 80px rgba(23,34,27,.23)}.modal__top{margin-bottom:18px;display:flex;justify-content:space-between;align-items:flex-start}.modal h2{margin:4px 0 0;font-family:Georgia,Times New Roman,serif;font-size:22px;font-weight:500}.modal label{margin:13px 0;display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:10px;font-weight:700}.modal input,.modal select,.modal textarea{width:100%;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--surface);font-size:11px;font-weight:400}.modal input,.modal select{height:38px;padding:0 10px}.modal textarea{padding:9px 10px;line-height:1.45;resize:vertical}.field-row{display:grid;grid-template-columns:1.7fr 1fr;gap:10px}.optional{color:var(--faint);font-weight:400}.prefixed-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.prefixed-input span{padding-left:10px;color:var(--sage-700);font-family:monospace;font-size:13px}.prefixed-input input{border:0}.position-preview,.selected-copy{padding:12px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:var(--surface-subtle);font-family:Georgia,Times New Roman,serif;font-size:12px;line-height:1.5}.position-preview>span,.selected-copy>span{margin-bottom:5px;display:block;font-family:Arial,Helvetica,sans-serif}.position-preview div{display:flex;flex-wrap:wrap;gap:5px}.position-preview em{padding:3px 6px;border:1px solid var(--line);border-radius:5px;color:var(--sage-700);background:var(--surface);font-family:Arial,Helvetica,sans-serif;font-size:9px;font-style:normal}.segmented{margin:13px 0;padding:3px;display:inline-flex;border-radius:7px;background:var(--surface-hover)}.segmented button{height:29px;padding:0 10px;border:0;border-radius:5px;color:var(--muted);background:transparent;font-size:9px;cursor:pointer}.segmented button.active{color:var(--sage-800);background:var(--surface);box-shadow:0 1px 3px rgba(20,30,23,.1)}.check-row{padding:10px;flex-direction:row!important;align-items:flex-start;border:1px solid var(--line);border-radius:8px}.check-row input{width:15px;height:15px}.check-row span{display:flex;flex-direction:column;gap:2px;color:var(--muted);font-size:9px;font-weight:400}.check-row strong{color:var(--ink);font-size:10px}.modal__footer{margin-top:20px;padding-top:14px;display:flex;align-items:center;gap:8px;border-top:1px solid var(--line)}.modal__footer>span{margin-right:auto;display:flex;align-items:center;gap:5px;color:var(--violet-700);font-size:8.5px}.note-settings-modal{width:min(570px,calc(100vw - 30px));max-height:calc(100dvh - 30px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.note-settings-list{min-height:0;padding-right:4px;display:grid;grid-auto-rows:max-content;align-content:start;gap:10px;overflow-y:auto}.modal .note-setting-row{margin:0;padding:15px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;border:1px solid var(--line);border-radius:10px;background:var(--surface-subtle)}.note-setting-row>span{display:flex;flex-direction:column;gap:4px}.note-setting-row strong{color:var(--ink);font-size:11px}.note-setting-row strong.note-setting-row__brand-title{display:flex;align-items:center;gap:6px}.note-setting-row__brand-mark{flex:0 0 auto;color:var(--sage-700)}.note-setting-row small{color:var(--muted);font-size:9px;font-weight:400;line-height:1.45}.note-settings-modal .note-setting-row input[type=number]{width:72px;text-align:center}.note-settings-modal .note-setting-row input[type=checkbox]{width:18px;height:18px;accent-color:var(--sage-700)}.note-settings-install-note{padding:13px 15px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;gap:11px;border:1px solid var(--sage-300);border-radius:10px;background:var(--sage-50)}.note-settings-install-note>svg{margin-top:1px;color:var(--sage-700)}.note-settings-install-note>span{display:flex;flex-direction:column;gap:4px}.note-settings-install-note strong{color:var(--ink);font-size:11px}.note-settings-install-note small{color:var(--muted);font-size:9px;line-height:1.5}.button-primary,.button-secondary{height:34px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:7px;font-size:10px;font-weight:700;cursor:pointer}.button-secondary{border:1px solid var(--line);background:var(--surface)}.button-primary{border:1px solid var(--sage-700);color:var(--on-accent);background:var(--sage-700)}.button-primary:disabled{opacity:.45}.button-danger{border-color:#965e57;background:#965e57}.confirmation-modal>p{margin:0;color:var(--muted);font-family:Georgia,Times New Roman,serif;font-size:12px;line-height:1.6}.template-removal-backdrop{z-index:125}.import-review-backdrop{z-index:126}.import-diagnostics-backdrop{z-index:128}.import-review-modal{width:min(610px,calc(100vw - 30px))}.import-diagnostics-modal{width:min(720px,calc(100vw - 30px))}.import-diagnostics-list{max-height:min(52vh,480px);margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:8px;overflow:auto;list-style:none}.import-diagnostics-list li{padding:11px 12px;display:grid;gap:4px;border:1px solid var(--danger-border);border-radius:9px;background:var(--danger-bg)}.import-diagnostics-list code{color:var(--danger-ink);font-size:9px;overflow-wrap:anywhere}.import-diagnostics-list strong{color:var(--ink);font-size:10px;line-height:1.45}.import-diagnostics-list span{color:var(--muted);font-size:9px;line-height:1.5}.import-review-modal>p strong{color:var(--ink)}.import-review-grid{margin-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.import-review-grid>div,.import-review-safety,.import-review-warning{padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--surface-subtle)}.import-review-grid>div{display:flex;flex-direction:column;gap:4px}.import-review-grid strong,.import-review-warning strong{color:var(--ink);font-size:10px}.import-review-grid span,.import-review-safety,.import-review-warning{color:var(--muted);font-size:9px;line-height:1.5}.import-review-warning{margin-top:10px;display:flex;gap:8px;color:var(--danger-ink);border-color:var(--danger-border);background:var(--danger-bg)}.import-review-warning svg{flex:0 0 auto;margin-top:1px}.import-review-safety{margin-top:10px;color:var(--sage-800);border-color:var(--sage-300);background:var(--sage-50)}.template-delete-button{border-color:var(--danger-border);color:var(--danger-ink)}.icon-button.template-delete-button:hover{color:var(--danger-ink);background:var(--danger-bg)}.template-change-card__actions{display:flex;align-items:center;gap:6px}.user-agreement__confirmation{padding:14px;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:10px;background:var(--surface-subtle);color:var(--ink);font-size:11px;font-weight:650;line-height:1.5}.user-agreement__confirmation input{width:16px;height:16px;margin-top:1px}.user-agreement__links a{color:var(--sage-700);font-family:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px}.user-agreement__links{margin:0;color:var(--muted);font-family:Georgia,Times New Roman,serif;font-size:11px;line-height:1.5}.template-backdrop{z-index:108;padding:24px}.template-library{width:min(1060px,calc(100vw - 32px));height:min(780px,calc(100vh - 48px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid rgba(255,255,255,.7);border-radius:16px;background:var(--surface-raised);box-shadow:0 24px 80px rgba(23,34,27,.25);overflow:hidden}.template-library__header{min-height:86px;padding:18px 22px;position:relative;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line)}.template-library__header h2{margin:3px 0 2px;font-family:Georgia,Times New Roman,serif;font-size:23px;font-weight:500}.template-library__header p{margin:0;color:var(--muted);font-size:9px}.template-library__header-actions{display:flex;align-items:center;gap:7px}.template-library__menu-wrap,.workspace-tool-menu{position:relative}.workspace-tool-menu>.template-library__menu{top:calc(100% + 8px);right:0}.workspace-header-menu__trigger[aria-expanded=true]{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-50)}.workspace-header-menu__panel{width:260px;max-height:calc(100dvh - var(--workspace-menu-top-offset, 82px));overflow-y:auto}.workspace-view-menu__trigger[aria-expanded=true]{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-50)}.copy-note-button{position:relative}.copy-note-button.has-changes{border-color:var(--amber)}.copy-note-button.is-current{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-50)}.template-library__menu.workspace-view-menu__panel{width:min(350px,calc(100vw - 16px));position:fixed;overflow-y:auto}.workspace-view-menu__description{margin:0 7px 7px;color:var(--muted);font-size:12px;line-height:1.45}.workspace-view-menu__panel button{grid-template-columns:18px minmax(0,1fr) auto auto}.workspace-view-menu__panel button[aria-current=true]{color:var(--sage-800);background:var(--sage-100)}.workspace-view-menu__panel :is(small,kbd){color:var(--muted);font-size:8px;white-space:nowrap}.workspace-view-menu__panel kbd{min-width:max-content;padding:2px 5px;border:0;border-radius:999px;color:var(--sage-800);background:var(--sage-100);font-family:ui-sans-serif,system-ui,sans-serif;font-weight:800}.workspace-view-menu__hint{margin:5px 5px 2px;padding-top:8px;border-top:1px solid var(--line-soft);color:var(--muted);font-size:8.5px;line-height:1.4}.workspace-header-menu__section{padding:7px 9px 4px;color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.1em}.workspace-header-menu__section:not(:first-child){margin-top:5px;padding-top:10px;border-top:1px solid var(--line-soft)}.template-library__menu button.active{color:var(--sage-800);background:var(--sage-100)}.template-library__menu{width:220px;padding:7px;position:absolute;top:calc(100% + 8px);right:0;z-index:20;display:grid;gap:2px;border:1px solid var(--line);border-radius:11px;background:var(--surface-raised);box-shadow:0 14px 38px rgba(23,34,27,.2)}.template-library__menu button{border:0;cursor:pointer}.template-library__menu button,.workspace-header-menu__panel a{width:100%;min-height:36px;padding:7px 9px;display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:7px;border-radius:7px;color:var(--ink);background:transparent;font-size:11px;font-weight:650;text-align:left}.workspace-header-menu__panel a{text-decoration:none}.workspace-header-menu__panel :is(button,a) :is(small,kbd){min-width:28px;padding:2px 5px;border-radius:999px;color:var(--sage-800);background:var(--sage-100);font-size:8px;font-weight:800;text-align:center}.workspace-header-menu__panel kbd{min-width:max-content;border:0;font-family:ui-sans-serif,system-ui,sans-serif}.template-library__menu button:focus-visible,.template-library__menu button:hover,.workspace-header-menu__panel a:focus-visible,.workspace-header-menu__panel a:hover{color:var(--sage-800);background:var(--sage-50)}.template-library__menu button>svg+:not(.count-badge):last-child{grid-column:2/-1}.template-library__body{min-height:0;display:grid;grid-template-columns:330px minmax(0,1fr)}.template-browser{min-height:0;padding:13px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:9px;border-right:1px solid var(--line);background:var(--surface-subtle)}.template-search{height:38px;padding:0 10px;display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:8px;color:var(--sage-600);background:var(--surface)}.template-search input{min-width:0;flex:1;border:0;outline:0;color:var(--ink);background:transparent;font-size:10px}.category-filter{width:100%;height:34px;padding:0 9px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--surface);font-size:9.5px}.template-results{min-height:0;padding-right:3px;overflow-y:auto}.template-result-row{display:flex;align-items:center;gap:3px}.template-result-row>button:first-child{width:100%;min-height:48px;padding:7px;display:flex;align-items:center;gap:8px;border:0;border-radius:8px;color:var(--ink);background:transparent;text-align:left;cursor:pointer}.template-result-row>button:first-child.active,.template-result-row>button:first-child:hover{color:var(--sage-800);background:var(--sage-100)}.template-result-row>button:first-child>span:nth-child(2){min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.template-favorite-button{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border:0;border-radius:7px;color:var(--faint);background:transparent;cursor:pointer}.template-favorite-button.active,.template-favorite-button:hover{color:var(--violet-700);background:var(--violet-50)}.template-favorite-button.active svg{fill:currentColor}.template-results small,.template-results strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-results strong{font-size:10px}.template-results small{color:var(--muted);font-size:8px}.template-result__icon{width:27px;height:27px;flex:0 0 auto;display:grid;place-items:center;border-radius:6px;color:var(--sage-700);background:var(--surface)}.template-empty{padding:32px 12px;color:var(--muted);font-size:10px;text-align:center}.template-detail{min-height:0;padding:25px 29px;overflow-y:auto}.template-detail--empty{display:grid;place-content:center;gap:6px;color:var(--muted);text-align:center}.template-detail__heading{padding-bottom:19px;border-bottom:1px solid var(--line-soft)}.template-detail__heading>span{color:var(--sage-600);font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.template-detail__heading h3{margin:4px 0 10px;font-family:Georgia,Times New Roman,serif;font-size:25px;font-weight:500;letter-spacing:-.02em}.template-detail__safety{margin:0 0 11px;padding:8px 9px;display:flex;align-items:flex-start;gap:7px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--surface-soft);font-size:10px;line-height:1.45}.template-detail__safety svg{flex:0 0 auto;margin-top:1px;color:var(--amber)}.template-detail__safety strong{color:var(--ink)}.template-trigger{display:flex;align-items:center;gap:5px;color:var(--violet-700);font-size:9.5px}.template-detail__composition{width:fit-content;margin-top:10px;padding:6px 8px;display:flex;align-items:center;gap:5px;border:1px solid var(--sage-200);border-radius:7px;color:var(--sage-800);background:var(--sage-50);font-size:8.5px;line-height:1.35}.template-trigger code{padding:3px 6px;border-radius:5px;background:var(--violet-50);font-size:9px;font-weight:700}.template-detail__heading p{margin:8px 0 0;color:var(--muted);font-size:8.5px}.template-sections>section{margin-top:20px}.canonical-options{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}.canonical-options button{min-height:30px;padding:6px 9px;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--surface);font-size:9.5px;line-height:1.3;text-align:left;cursor:pointer}.canonical-inline-preview{margin:7px 0 0;color:var(--muted);font-family:Georgia,Times New Roman,serif;font-size:10px}.canonical-inline-preview strong{margin:0 3px;padding:2px 5px;border:1px solid var(--sage-300);border-radius:4px;color:var(--sage-800);background:var(--sage-50);font-family:Arial,Helvetica,sans-serif;font-size:9px}.canonical-options button:hover{border-color:var(--sage-300)}.canonical-options button.active{border-color:#a9c0ae;color:var(--sage-800);background:var(--sage-50)}.canonical-narrative{margin:7px 0 0;color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:12px;line-height:1.65;white-space:pre-line}.template-library__footer{min-height:61px;padding:12px 18px;display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);background:var(--surface-soft)}.template-library__footer>span{margin-right:auto;color:var(--muted);font-size:9px}.review-backdrop{z-index:109}.library-review{width:min(1420px,calc(100vw - 32px));height:min(880px,calc(100dvh - 40px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid rgba(255,255,255,.72);border-radius:16px;background:var(--surface-raised);box-shadow:0 24px 80px rgba(23,34,27,.28);overflow:hidden}.library-review__header{min-height:82px;padding:15px 20px;display:grid;grid-template-columns:minmax(260px,1fr) minmax(240px,560px) minmax(260px,1fr);align-items:center;gap:24px;border-bottom:1px solid var(--line)}.library-readiness__header-actions,.library-review__header-actions,.template-changes__header-actions{display:flex;align-items:center;gap:7px}.library-review__header-actions{justify-self:end}.library-review__progress{width:100%;justify-self:center}.library-review__health-link{white-space:nowrap}.library-review__header h2{margin:3px 0 2px;font-family:Georgia,Times New Roman,serif;font-size:22px;font-weight:500}.library-review__header p{margin:0;color:var(--muted);font-size:9px}.library-review__progress{height:8px;border-radius:999px;background:var(--line-soft);overflow:hidden}.library-review__progress>span{height:100%;display:block;border-radius:inherit;background:var(--sage-600);transition:width .18s ease}.library-review__body{min-height:0;display:grid;grid-template-columns:290px minmax(420px,1fr) 280px}.review-queue{min-height:0;padding:12px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:9px;border-right:1px solid var(--line);background:var(--surface-subtle)}.review-type-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px}.library-review__footer button,.review-detail__signals button,.review-notepad button,.review-section__heading button,.review-type-tabs button,.review-usage-list button{min-height:32px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--surface);font-size:9px;font-weight:700;cursor:pointer}.review-type-tabs button.active{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-100)}.review-search{height:36px;padding:0 9px;display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:7px;color:var(--sage-600);background:var(--surface)}.review-search input{min-width:0;flex:1;border:0;outline:0;color:var(--ink);background:transparent;font-size:9.5px}.review-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.review-filters select{width:100%;min-width:0;height:32px;padding:0 6px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:var(--surface);font-size:8.5px}.review-filters select:only-child{grid-column:1/-1}.review-queue__items{min-height:0;padding-right:2px;overflow-y:auto}.review-queue__items>button{width:100%;min-height:52px;padding:7px 8px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 8px;border:0;border-radius:8px;color:var(--ink);background:transparent;text-align:left;cursor:pointer}.review-queue__items>button.active,.review-queue__items>button:hover{background:var(--sage-100)}.review-queue__items>button>svg{grid-row:1/3}.review-queue__items>button>span{min-width:0;display:flex;flex-direction:column;gap:1px}.review-queue__items small,.review-queue__items strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.review-queue__items strong{font-size:9.5px}.review-queue__items small{color:var(--muted);font-size:7.5px}.review-queue__items em{grid-column:2;font-size:7px;font-style:normal}[data-status=approved]{color:var(--sage-700)}[data-status=needsWork]{color:#91601d}[data-status=changed]{color:var(--violet-700)}[data-status=notReviewed]{color:var(--faint)}.review-detail__empty,.review-queue__empty{padding:30px 12px;color:var(--muted);font-size:9px;text-align:center}.review-detail{min-height:0;padding:22px 26px 30px;overflow-y:auto;background:var(--surface)}.review-detail__heading{padding-bottom:15px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line-soft)}.review-detail__heading>div>span{color:var(--sage-600);font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.review-detail__heading h3{margin:3px 0 0;font-family:Georgia,Times New Roman,serif;font-size:25px;font-weight:500}.review-status{padding:5px 8px;border:1px solid;border-radius:999px;font-size:7.5px;font-weight:800;white-space:nowrap}.review-reminder{margin-top:14px;padding:10px 12px;display:flex;align-items:flex-start;gap:8px;border:1px solid var(--warning-border);border-radius:8px;color:var(--warning-ink);background:var(--warning-bg)}.review-reminder strong{font-size:8px}.review-reminder p{margin:3px 0 0;color:var(--muted);font-size:8.5px;line-height:1.45}.review-section{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface-subtle)}.review-section__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.review-section__heading h4{margin:2px 0 0;font-family:Georgia,Times New Roman,serif;font-size:15px;font-weight:500}.review-detail__signals button:hover,.review-section__heading button:hover,.review-usage-list button:hover{border-color:var(--sage-300);color:var(--sage-800)}.review-template-section{margin-top:14px;padding-top:12px;border-top:1px solid var(--line-soft)}.review-template-section__label{display:flex;align-items:center;gap:7px}.review-template-section__label strong{color:var(--sage-700);font-size:8px;letter-spacing:.07em;text-transform:uppercase}.review-template-section__label span{padding:2px 5px;display:inline-flex;align-items:center;gap:3px;border-radius:4px;color:var(--violet-700);background:var(--violet-50);font-size:7px;font-weight:700}.review-template-section>p{margin:7px 0 0;font-family:Georgia,Times New Roman,serif;font-size:11px;line-height:1.6;white-space:pre-line}.review-output-section{background:var(--paper)}.review-note-output{margin-top:12px;padding:19px 21px;border-left:3px solid var(--sage-300);color:var(--ink);background:var(--surface);font-family:Georgia,Times New Roman,serif;font-size:12px;line-height:1.72}.review-note-output__choice{padding:1px 3px;border-radius:3px;background:var(--sage-100)}.review-detail__signals{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.review-detail__signals>div{padding:12px;display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:8px}.review-detail__signals>div>strong{display:flex;align-items:center;gap:5px;font-size:8.5px}.review-detail__signals button{justify-content:flex-start}.review-detail__signals button small{margin-left:auto;color:var(--faint);font-size:7px}.review-detail__signals ul{margin:0;padding-left:17px;color:var(--muted);font-size:8px;line-height:1.45}.review-reusable-preview{margin-top:14px;padding:16px;border-left:3px solid var(--violet-300);color:var(--ink);background:var(--surface);font-family:Georgia,Times New Roman,serif;font-size:12px;line-height:1.6;white-space:pre-line}.review-reusable-options{margin:12px 0 0;padding-left:20px;color:var(--muted);font-size:9px;line-height:1.55}.review-usage-list{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px}.review-notepad{min-height:0;padding:16px 14px;display:flex;flex-direction:column;border-left:1px solid var(--line);background:var(--surface-subtle)}.review-notepad__heading{display:flex;align-items:flex-start;gap:7px;color:var(--sage-700)}.review-notepad__heading>div{min-width:0;display:flex;flex-direction:column;gap:2px}.review-notepad__heading strong{overflow:hidden;color:var(--ink);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.review-notepad>p{margin:10px 0;color:var(--muted);font-size:8px;line-height:1.4}.review-notepad textarea{width:100%;padding:9px;resize:vertical;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--surface);font:inherit;font-size:9px;line-height:1.45}.review-notepad .review-notepad__add{width:100%;margin-top:6px;color:var(--on-accent);background:var(--sage-700)}.library-review__footer button:disabled,.review-notepad button:disabled{opacity:.4;cursor:not-allowed}.review-notepad__entries{min-height:0;margin-top:12px;padding-top:12px;display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);overflow-y:auto}.review-notepad__entries>span{padding:18px 5px;color:var(--faint);font-size:8px;text-align:center}.review-notepad__entries article{padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.review-notepad__entries article.resolved{opacity:.62}.review-notepad__entries article.resolved textarea{text-decoration:line-through}.review-notepad__entries article>div{margin-top:5px;display:flex;justify-content:space-between;gap:5px}.review-notepad__entries article button{min-height:26px;padding:0 7px}.library-review__footer{min-height:61px;padding:10px 16px;display:flex;align-items:center;gap:7px;border-top:1px solid var(--line);background:var(--surface-soft)}.library-review__footer>span{margin-right:auto;color:var(--muted);font-size:8.5px}.library-review__footer .review-needs-work{border-color:var(--warning-border);color:var(--warning-ink);background:var(--warning-bg)}.library-review__footer .button-primary{color:var(--on-accent);background:var(--sage-700)}.readiness-backdrop{position:fixed;inset:0;z-index:112;padding:20px;display:grid;place-items:center;background:rgba(29,37,32,.3);backdrop-filter:blur(3px)}.library-readiness{width:min(1120px,calc(100vw - 32px));height:min(820px,calc(100dvh - 40px));display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid rgba(255,255,255,.72);border-radius:16px;background:var(--surface-raised);box-shadow:0 24px 80px rgba(23,34,27,.28);overflow:hidden}.library-readiness__header{min-height:86px;padding:16px 20px;display:grid;grid-template-columns:minmax(240px,1fr) auto auto;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.library-readiness__header h2{margin:3px 0 2px;font-family:Georgia,Times New Roman,serif;font-size:23px;font-weight:500}.library-readiness__header p{margin:0;color:var(--muted);font-size:9px}.library-health{min-height:0;padding:22px;overflow-y:auto;background:var(--surface-subtle)}.library-health__hero{padding:20px 22px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;border:1px solid var(--sage-300);border-radius:13px;background:var(--surface)}.library-health__score{width:92px;height:92px;display:grid;place-content:center;border:7px solid var(--sage-200);border-radius:50%;color:var(--sage-800);text-align:center}.library-health__score span{font-family:Georgia,Times New Roman,serif;font-size:26px}.library-health__score small{width:64px;color:var(--muted);font-size:7px;line-height:1.15}.approval-report h3,.library-health__hero h3,.library-health__section-heading h3{margin:4px 0 5px;font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:500}.library-health__assessment{margin-top:14px;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.library-health__assessment h3{margin:3px 0 4px;font-family:Georgia,Times New Roman,serif;font-size:16px;font-weight:500}.library-health__assessment p{max-width:720px;margin:0;color:var(--muted);font-size:9px;line-height:1.5}.library-health__assessment .button-secondary{flex:0 0 auto;color:var(--sage-800);text-decoration:none}.library-health__hero p{margin:0;color:var(--muted);font-size:9px}.approval-report__fingerprint,.library-health__hero code{color:var(--violet-700);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px}.library-health__metrics{margin-top:14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.library-health__metrics+.library-usage{margin-top:14px}.library-health__metrics article{padding:14px;display:grid;grid-template-columns:auto 1fr;gap:2px 8px;border:1px solid var(--line);border-radius:10px;color:var(--sage-700);background:var(--surface)}.library-health__metrics article>svg{grid-row:1/4;margin-top:2px}.library-health__metrics strong{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:20px;font-weight:500;line-height:1}.library-health__metrics span{color:var(--ink);font-size:8.5px;font-weight:750}.library-health__metrics small{color:var(--muted);font-size:7.5px}.library-health__metrics article[data-tone=attention]{border-color:var(--warning-border);color:var(--warning-ink);background:var(--warning-bg)}.library-health__review-strip{margin-top:10px;padding:10px 13px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.library-health__review-strip button{min-width:0;padding:4px 6px;display:flex;align-items:center;gap:6px;border:1px solid transparent;border-radius:6px;color:var(--muted);background:transparent;font-size:8px;text-align:left;cursor:pointer}.library-health__review-strip button:focus-visible,.library-health__review-strip button:hover:not(:disabled){border-color:var(--line-strong);color:var(--ink);background:var(--surface-subtle)}.library-health__review-strip button:disabled{opacity:.55;cursor:default}.library-health__review-strip span{width:8px;height:8px;border-radius:50%;background:currentColor}.library-health__review-strip strong{color:var(--ink)}.library-health__findings{margin-top:14px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.library-health__section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.library-health__issue-list{margin-top:13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.library-health__issue-list article{min-width:0;padding:11px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:8px;border:1px solid var(--line);border-radius:9px;background:var(--surface-subtle)}.library-health__issue-list article[data-severity=attention]>span{color:var(--warning-ink)}.library-health__issue-list article>div{min-width:0}.library-health__issue-list strong{display:block;font-size:9px}.library-health__issue-list li,.library-health__issue-list p{color:var(--muted);font-size:8px;line-height:1.4}.library-health__issue-list p{margin:3px 0 0}.library-health__issue-list ul{margin:8px 0 0;padding-left:16px}.library-health__issue-list b{min-width:25px;height:25px;padding:0 6px;display:grid;place-items:center;border-radius:999px;color:var(--sage-800);background:var(--sage-100);font-size:8px}.library-health__issue-actions{grid-column:2/4;display:flex;flex-wrap:wrap;gap:12px}.library-health__issue-list .library-health__issue-actions button{display:inline-flex;align-items:center;gap:4px;width:fit-content;padding:0;border:0;color:var(--sage-700);background:transparent;font-size:8px;font-weight:750;cursor:pointer}.library-health__clear{margin-top:15px;padding:26px;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--sage-700);background:var(--sage-50);text-align:center}.library-health__clear span{color:var(--muted);font-size:8px}.approval-report{min-height:0;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);overflow:hidden}.approval-report__evidence,.approval-report__form{min-height:0;padding:26px;overflow-y:auto}.approval-report__form{background:var(--surface)}.approval-report__evidence{border-left:1px solid var(--line);background:var(--surface-subtle)}.approval-report__fingerprint{padding:6px 8px;border-radius:6px;background:var(--violet-50)}.approval-report__fields{margin-top:21px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.approval-report__fields label{display:grid;gap:6px;color:var(--muted);font-size:9px;font-weight:700}.approval-report__fields input,.approval-report__fields select{width:100%;height:39px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--surface);font:inherit;font-weight:400}.approval-report__fields input:focus,.approval-report__fields select:focus{border-color:var(--sage-600);outline:3px solid var(--focus-ring)}.approval-report__attestation,.approval-report__warning{margin-top:18px;padding:13px;display:flex;align-items:flex-start;gap:10px;border:1px solid var(--warning-border);border-radius:9px;color:var(--warning-ink);background:var(--warning-bg)}.approval-report__attestation span,.approval-report__warning span{display:flex;flex-direction:column;gap:3px;color:var(--muted);font-size:8px;line-height:1.4}.approval-report__attestation{border-color:var(--sage-300);color:var(--ink);background:var(--sage-50);cursor:pointer}.approval-report__attestation input{margin-top:2px}.approval-report__evidence dl{margin:18px 0;display:grid;gap:6px}.approval-report__evidence dl>div{padding:9px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line)}.approval-report__evidence dt{color:var(--muted);font-size:8.5px}.approval-report__evidence dd{margin:0;color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:18px}.approval-report__evidence>p,.approval-report__evidence>small{color:var(--muted);font-size:8px;line-height:1.5}.approval-report__actions{margin:18px 0 9px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.approval-report__actions button{justify-content:center}.approval-report__actions button:disabled{opacity:.45;cursor:not-allowed}.approval-report__workspace-backup{margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}.approval-report__workspace-backup h4{margin:4px 0 5px;color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:14px;font-weight:500}.approval-report__workspace-backup p,.approval-report__workspace-backup small{margin:0;color:var(--muted);font-size:8px;line-height:1.5}.approval-report__workspace-backup .approval-report__storage-health{display:grid;gap:4px;margin-top:10px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface-subtle);color:var(--ink);font-size:10px}.approval-report__workspace-backup>div{margin:11px 0 6px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.approval-report__workspace-backup button{min-width:0;justify-content:center}.demo-walkthrough,.demo-walkthrough__resume{position:fixed;z-index:98;right:18px;top:82px}.demo-walkthrough{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 100px);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;border:1px solid var(--sage-300);border-radius:14px;background:var(--surface-raised);box-shadow:0 18px 55px rgba(19,31,23,.25);font-size:14px;overflow:hidden}.demo-walkthrough--intro{padding:24px;display:block;overflow-y:auto}.demo-walkthrough.demo-walkthrough :where(p,span,small,strong,b,i,label,button,input,select,textarea,a,code,time,kbd){font-size:inherit}.demo-walkthrough.demo-walkthrough :where(button,input:not([type=checkbox]):not([type=radio]),select){min-width:44px;min-height:44px}.demo-walkthrough.demo-walkthrough button:not(.theme-trigger)>svg{width:18px;height:18px}.demo-walkthrough.demo-walkthrough .eyebrow{letter-spacing:.08em;line-height:1.35}.demo-walkthrough__intro-icon,.demo-walkthrough__step-icon{display:grid;place-items:center;color:var(--violet-700);background:var(--violet-50)}.demo-walkthrough__intro-icon{width:43px;height:43px;margin-bottom:15px;border-radius:12px}.demo-walkthrough__close{position:absolute;top:13px;right:13px;border:0;color:var(--muted);background:transparent;cursor:pointer}.demo-walkthrough--intro h2,.demo-walkthrough__body h2{margin:5px 0 8px;font-family:Georgia,Times New Roman,serif;font-size:26px;font-weight:500;line-height:1.15}.demo-walkthrough--intro>p,.demo-walkthrough__body>p{margin:0;color:var(--muted);font-size:9px;line-height:1.55}.demo-walkthrough__safety{margin-top:16px;padding:11px;display:flex;align-items:flex-start;gap:8px;border:1px solid var(--sage-300);border-radius:9px;color:var(--sage-700);background:var(--sage-50)}.demo-walkthrough__safety span{display:flex;flex-direction:column;gap:2px;color:var(--muted);font-size:8px}.demo-walkthrough__safety strong{color:var(--ink);font-size:8.5px}.demo-walkthrough__warning{margin-top:10px;padding:9px 11px;border-radius:8px;color:var(--warning-ink);background:var(--warning-bg);font-size:14px;line-height:1.4}.demo-walkthrough__footer,.demo-walkthrough__intro-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}.demo-walkthrough__intro-actions{margin-top:17px}.demo-walkthrough__header{min-height:48px;padding:9px 11px 9px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}.demo-walkthrough__header>div{display:flex;align-items:center;gap:7px}.demo-walkthrough__header>div:first-child{color:var(--violet-700)}.demo-walkthrough__header strong{color:var(--ink);font-size:9px}.demo-walkthrough__header span{color:var(--muted);font-size:8px}.demo-walkthrough__header button{width:29px;height:29px;display:grid;place-items:center;border:0;border-radius:6px;color:var(--muted);background:transparent;cursor:pointer}.demo-walkthrough__header button:hover{color:var(--sage-800);background:var(--sage-100)}.demo-walkthrough__progress{height:3px;background:var(--line-soft)}.demo-walkthrough__progress span{height:100%;display:block;background:var(--violet-600);transition:width .16s ease}.demo-walkthrough__body{min-height:0;padding:18px;overflow-y:auto}.demo-walkthrough__step-icon{width:34px;height:34px;margin-bottom:12px;border-radius:9px}.demo-walkthrough__test{margin-top:15px;border:1px solid var(--line);border-radius:9px;background:var(--surface-subtle);overflow:hidden}.demo-walkthrough__test>div{padding:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px}.demo-walkthrough__test>div+div{border-top:1px solid var(--line)}.demo-walkthrough__test span{grid-column:1/-1;color:var(--sage-600);font-size:7px;font-weight:850;letter-spacing:.09em}.demo-walkthrough__test code{color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.demo-walkthrough__test p{grid-column:1/-1;margin:0;color:var(--muted);font-size:8px;line-height:1.45}.demo-walkthrough__test button{width:28px;height:25px;display:grid;place-items:center;border:1px solid var(--line);border-radius:5px;color:var(--sage-700);background:var(--surface);cursor:pointer}.demo-walkthrough__action{width:100%;min-height:37px;margin-top:10px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--violet-300);border-radius:8px;color:var(--violet-700);background:var(--violet-50);font-size:8.5px;font-weight:750;cursor:pointer}.demo-walkthrough__footer{min-height:54px;padding:9px 12px;justify-content:space-between;border-top:1px solid var(--line);background:var(--surface-soft)}.demo-walkthrough__footer button{min-height:34px;padding:0 10px;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--surface);font-size:8.5px;font-weight:750;cursor:pointer}.demo-walkthrough__footer button:disabled{opacity:.35;cursor:not-allowed}.demo-walkthrough__footer .button-primary{color:var(--on-accent);background:var(--sage-700)}.demo-walkthrough__resume{min-height:38px;padding:0 13px;display:flex;align-items:center;gap:7px;border:1px solid var(--violet-300);border-radius:999px;color:var(--violet-700);background:var(--surface-raised);box-shadow:0 8px 24px rgba(19,31,23,.18);font-size:14px;font-weight:800;cursor:pointer}@media (max-width:760px){.readiness-backdrop{padding:8px}.library-readiness{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.library-readiness__header{padding:12px 14px;grid-template-columns:minmax(0,1fr) auto;gap:10px}.library-readiness__header>div:first-child p{display:none}.library-health{padding:12px}.library-health__hero{padding:15px;grid-template-columns:auto 1fr}.library-health__hero>button{grid-column:1/-1}.library-health__score{width:72px;height:72px}.library-health__issue-list,.library-health__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.approval-report{display:block;overflow-y:auto}.approval-report__evidence,.approval-report__form{overflow:visible}.approval-report__evidence{border-top:1px solid var(--line);border-left:0}.demo-walkthrough,.demo-walkthrough__resume{right:8px;top:auto;bottom:calc(8px + env(safe-area-inset-bottom))}.demo-walkthrough{width:calc(100vw - 24px);max-height:calc(100dvh - 74px)}}@media (max-width:480px){.approval-report__actions,.approval-report__fields,.library-health__issue-list,.library-health__metrics{grid-template-columns:1fr}.library-health__review-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.library-health__section-heading{flex-direction:column}.library-health__section-heading>button{width:100%}.approval-report__evidence,.approval-report__form{padding:18px}}@media (max-width:1100px){.library-review__body{grid-template-columns:255px minmax(400px,1fr) 245px}.review-detail{padding-inline:18px}}@media (max-width:860px){.library-review{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.library-review__header{grid-template-columns:minmax(0,1fr) auto;gap:10px}.library-review__progress{grid-column:1/-1;grid-row:2}.library-review__body{display:block;overflow-y:auto}.review-queue{height:300px;border-right:0;border-bottom:1px solid var(--line)}.review-detail,.review-notepad{overflow:visible}.review-notepad{min-height:320px;border-top:1px solid var(--line);border-left:0}.review-notepad__entries{max-height:280px}.library-review__footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.library-review__footer>span{display:none}}@media (max-width:520px){.library-review__header{padding:12px 14px}.library-review__header h2{font-size:18px}.review-detail{padding:16px 13px 24px}.review-detail__signals{grid-template-columns:1fr}.review-section{padding:12px}.review-section__heading{flex-direction:column}.review-section__heading button{width:100%}.library-review__footer{padding:8px 9px calc(8px + env(safe-area-inset-bottom))}.library-review__footer button{min-height:42px}}.starting-note-manager{min-height:0;padding:22px;overflow-y:auto;background:var(--surface-subtle)}.starting-note-manager__create{padding:18px;display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid var(--sage-300);border-radius:12px;background:var(--sage-50)}.starting-note-manager__create h3{margin:4px 0 3px;font-family:Georgia,Times New Roman,serif;font-size:18px}.starting-note-manager__create p{margin:0;color:var(--muted);font-size:9px}.starting-note-manager__controls{width:min(430px,52%);display:grid;gap:9px}.starting-note-manager__preloads{margin:0;padding:9px 10px;display:grid;gap:6px;border:1px solid var(--sage-200);border-radius:8px;background:color-mix(in srgb,var(--surface) 80%,transparent)}.starting-note-manager__preloads legend{padding:0 4px;color:var(--sage-800);font-size:8px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.starting-note-manager__preloads p{margin:0 0 2px}.starting-note-manager__preloads label{display:flex;align-items:center;gap:7px;color:var(--ink);font-size:9px;cursor:pointer}.starting-note-manager__preloads input{width:15px;height:15px;margin:0;accent-color:var(--sage-700)}.starting-note-manager__fields{display:flex;gap:7px}.starting-note-manager__fields input{min-width:0;height:36px;padding:0 10px;flex:1;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--surface);font-size:10px}.starting-note-manager__fields button{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.starting-note-manager__attestation{display:flex;align-items:flex-start;gap:8px;color:var(--ink);font-size:9px;line-height:1.4;cursor:pointer}.starting-note-manager__attestation input{width:16px;height:16px;margin:0;flex:0 0 auto;accent-color:var(--sage-700)}.starting-note-manager__list{margin-top:16px;display:grid;gap:8px}.starting-note-manager__list article{min-height:68px;padding:12px 13px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.starting-note-manager__list article.active{border-color:var(--sage-300);background:var(--sage-50)}.starting-note-manager__icon{width:32px;height:32px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;color:var(--sage-700);background:var(--sage-100)}.starting-note-manager__list article>div:nth-child(2){min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.starting-note-manager__list strong{font-size:10px}.starting-note-manager__list span{color:var(--muted);font-size:8.5px}.starting-note-manager__saved-preloads{margin-top:3px;display:flex;flex-wrap:wrap;gap:4px}.starting-note-manager__saved-preloads>span{padding:3px 5px;display:inline-flex;align-items:center;gap:4px;border-radius:5px;color:var(--sage-800);background:var(--sage-100);font-size:7.5px}.starting-note-manager__saved-preloads button{width:16px;height:16px;padding:0;display:grid;place-items:center;border:0;color:var(--muted);background:transparent}.starting-note-manager__active{display:inline-flex;align-items:center;gap:4px;color:var(--sage-700)!important;font-weight:750}.starting-note-manager__empty{padding:24px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);text-align:center;font-size:9px}.template-studio-backdrop{z-index:114;padding:24px}.template-studio{width:min(920px,calc(100vw - 32px));height:min(820px,calc(100vh - 48px));grid-template-rows:auto minmax(0,1fr) auto}.notepad-dialog,.template-studio{display:grid;border:1px solid rgba(255,255,255,.7);border-radius:16px;background:var(--surface-raised);box-shadow:0 24px 80px rgba(23,34,27,.28);overflow:hidden}.notepad-dialog{width:min(760px,calc(100vw - 32px));max-height:min(780px,calc(100dvh - 48px));grid-template-rows:auto minmax(0,1fr)}.notepad-dialog__header{padding:18px 22px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.notepad-dialog__header h2{margin:3px 0 2px;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:500}.notepad-dialog__header p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}.notepad-dialog__body{min-height:0;padding:18px 22px 22px;overflow-y:auto}.notepad-dialog .studio-notepad{margin:0}.notepad-dialog .studio-notepad__entry time,.notepad-dialog .studio-notepad__entry-meta>span,.notepad-dialog .studio-notepad__heading .eyebrow{font-size:12px}.notepad-dialog .studio-notepad__empty,.notepad-dialog .studio-notepad__entry button,.notepad-dialog .studio-notepad__phi p{font-size:14px}.notepad-dialog .studio-notepad__entry textarea{width:100%;min-height:100px;margin-bottom:10px;padding:10px;resize:vertical;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--surface-soft);font:inherit;font-size:16px;line-height:1.5}.template-studio__header{min-height:88px;padding:18px 22px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line)}.template-studio__header h2{margin:3px 0 2px;font-family:Georgia,Times New Roman,serif;font-size:23px;font-weight:500}.template-studio__header p{margin:0;color:var(--muted);font-size:9px}.template-studio__header-actions{display:flex;align-items:center;gap:8px}.template-studio__notepad-button.active{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-100)}.template-studio__body{min-height:0;padding:20px 22px 28px;overflow-y:auto}.template-studio__basics{display:grid;grid-template-columns:1.3fr .7fr 1.4fr;gap:12px}.studio-notepad{margin-bottom:18px;padding:16px;border:1px solid var(--sage-300);border-radius:12px;background:var(--sage-50)}.studio-notepad__entry>div,.studio-notepad__heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.studio-notepad__heading .eyebrow{font-size:8px}.studio-notepad__heading h3{margin:3px 0 0;font-family:Georgia,Times New Roman,serif;font-size:17px;font-weight:500}.studio-notepad__entry button,.studio-notepad__heading>button{min-height:30px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:7px;color:var(--sage-700);background:var(--surface);font-size:8.5px;font-weight:700;cursor:pointer}.studio-notepad__phi{margin-top:12px;padding:9px 10px;display:flex;align-items:flex-start;gap:8px;border:1px solid var(--reminder-high-border);border-radius:8px;color:var(--reminder-high-ink);background:var(--reminder-high-bg)}.studio-notepad__phi svg{flex:0 0 auto}.studio-notepad__phi p{margin:0;font-size:9px;line-height:1.45}.studio-notepad__entries{margin-top:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.studio-notepad__entry{min-width:0;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.studio-notepad__entry.resolved{opacity:.64}.studio-notepad__entry.resolved textarea{text-decoration:line-through}.studio-notepad__entry .studio-notepad__entry-meta{margin-bottom:7px;align-items:flex-start}.studio-notepad__entry-meta>span{min-width:0;padding:2px 5px;display:inline-flex;align-items:center;gap:3px;overflow:hidden;border-radius:4px;color:var(--violet-700);background:var(--violet-50);font-size:7px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.studio-notepad__entry time{display:block;margin-bottom:0;color:var(--faint);font-size:8px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.template-studio .studio-notepad__entry textarea{min-height:76px;margin-bottom:8px;background:var(--surface-soft)}.studio-notepad__entry button:first-child{border-color:transparent;color:var(--muted);background:transparent}.studio-notepad__entry .studio-notepad__create{border-color:var(--sage-300);color:var(--sage-800)}.studio-notepad__entry button:disabled{opacity:.45;cursor:not-allowed}.studio-notepad__empty{margin-top:12px;padding:18px;border:1px dashed var(--sage-300);border-radius:8px;color:var(--muted);background:var(--surface-translucent);font-size:9px;text-align:center}.template-studio__reminder{padding:14px;border:1px solid var(--line);border-radius:11px;background:var(--surface-subtle)}.template-studio__reminder .template-studio__section-top span{display:inline-flex;align-items:center;gap:5px}.template-studio__reminder-fields{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:start;gap:12px}.template-studio label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:9px;font-weight:700}.template-studio label small{color:var(--muted);font-size:8px;font-weight:400}.template-studio input,.template-studio select,.template-studio textarea{width:100%;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--surface);font-size:10px;font-weight:400}.template-studio input,.template-studio select{height:37px;padding:0 10px}.template-studio textarea{padding:9px 10px;line-height:1.5;resize:vertical}.template-studio__sections{margin-top:20px;display:grid;gap:12px}.template-studio__recognition-warning{margin-top:12px;padding:11px 12px;display:flex;align-items:flex-start;gap:9px;border:1px solid #d9b46f;border-radius:9px;color:#684b1d;background:#fff8e8;font-size:9px;line-height:1.45}.template-studio__recognition-warning>svg{margin-top:1px;flex:0 0 auto}.template-studio__recognition-warning strong{display:block;margin-bottom:3px}.template-studio__recognition-warning p,.template-studio__recognition-warning ul{margin:3px 0 0}.template-studio__recognition-warning ul{padding-left:16px}.template-studio__section{padding:14px;border:1px solid var(--line);border-radius:11px;background:var(--surface-subtle)}.template-studio__section-top{margin-bottom:7px;display:flex;align-items:center;justify-content:space-between}.template-studio__section-top>span{color:var(--sage-600);font-size:8px;font-weight:800;letter-spacing:.12em}.template-studio__option-actions>button,.template-studio__option>button,.template-studio__section-top>button{width:27px;height:27px;padding:0;flex:0 0 auto;display:grid;place-items:center;border:0;border-radius:6px;color:var(--muted);background:transparent;cursor:pointer}.template-studio__option-actions>button:hover,.template-studio__option>button:hover,.template-studio__section-top>button:hover{color:#8b5550;background:#f8eeee}.template-studio .template-studio__section-name{width:min(340px,100%);margin-bottom:10px;color:var(--sage-800);font-weight:700}.template-studio__output-mode{width:min(340px,100%);margin-bottom:12px}.template-studio__option-list{display:grid;gap:6px}.template-studio__inline-copy{margin-bottom:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.template-studio__inline-copy>div{min-width:0;display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:9px;font-weight:700}.template-studio__option{display:flex;align-items:flex-start;gap:6px}.template-studio__option-actions{display:flex;align-items:flex-start;gap:4px}.choice-reorder{width:27px;height:27px;flex:0 0 27px;display:grid;grid-template-rows:repeat(2,1fr);overflow:hidden;border:1px solid var(--line);border-radius:6px;background:var(--surface)}.reusable-library .choice-reorder>button,.template-studio .choice-reorder>button{width:100%;min-width:0;height:auto;min-height:0;padding:0;display:grid;place-items:center;border:0;border-radius:0;color:var(--muted);background:transparent;cursor:pointer}.choice-reorder>button+button{border-top:1px solid var(--line-soft)}.choice-reorder>button:focus-visible,.choice-reorder>button:hover:not(:disabled){color:var(--sage-800);background:var(--sage-100)}.choice-reorder>button:focus-visible{position:relative;outline:2px solid var(--focus-ring);outline-offset:-2px}.choice-reorder>button:disabled{opacity:.3;cursor:not-allowed}:root[data-workspace-readability=large] :is(.template-studio,.reusable-library) .choice-reorder{width:44px;height:44px;flex-basis:44px;border-radius:8px}:root[data-workspace-readability=large] :is(.template-studio,.reusable-library) .choice-reorder>button{width:100%;min-width:0;height:auto;min-height:0}:root[data-workspace-readability=large] :is(.template-studio,.reusable-library) .choice-reorder>button>svg{width:12px;height:12px}.template-studio__option-content{min-width:0;flex:1;display:grid;gap:5px}.reusable-editor__choice-aliases,.template-studio__option-aliases{display:grid;gap:4px;color:var(--muted);font-family:Arial,Helvetica,sans-serif;font-size:9px;font-weight:700}.reusable-editor__choice-aliases input,.template-studio__option-aliases input{width:100%;min-height:31px;padding:6px 8px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:var(--surface);font-family:Arial,Helvetica,sans-serif;font-size:10px;font-weight:400}.template-rich-text{min-width:0;flex:1;border:1px solid var(--line);border-radius:7px;background:var(--surface);overflow:hidden}.template-rich-text__editor{min-height:42px;padding:8px 10px;color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:11px;line-height:1.45}.template-rich-text__editor:focus{outline:none}.template-rich-text__editor p{margin:0}.template-rich-text__editor p+p{margin-top:5px}.template-rich-text__editor:empty:before{color:var(--faint);content:attr(data-placeholder);pointer-events:none}.rich-text-preview p{display:inline;margin:0}.rich-text-preview br,.rich-text-preview p+p:before{content:"\A";white-space:pre}.template-studio__option>button:first-child{border:1px solid var(--line);color:var(--on-accent);background:var(--surface)}.template-studio__option>button:first-child.active{border-color:var(--sage-600);color:var(--on-accent);background:var(--sage-600)}.template-studio__add-option{width:max-content;height:29px;padding:0 8px;display:inline-flex;align-items:center;gap:4px;border:1px dashed var(--sage-300);border-radius:6px;color:var(--sage-700);background:var(--surface);font-size:8.5px;cursor:pointer}.template-studio__footer{min-height:62px;padding:12px 18px;display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);background:var(--surface-soft)}.template-studio__save-message{margin-left:auto;color:#8a6322;font-size:9px}.template-studio__footer-tools{min-width:0;margin-right:auto}.template-studio__footer-tools,.template-studio__formatting,.template-studio__section-actions{display:flex;align-items:center;gap:6px}.template-studio__formatting button,.template-studio__section-actions button{height:31px;padding:0 9px;display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:7px;color:var(--sage-700);background:var(--surface);font-size:8.5px;cursor:pointer}.template-studio__footer-divider{width:1px;height:23px;margin:0 2px;flex:0 0 auto;background:var(--line)}.template-studio__formatting{gap:3px}.template-studio__formatting button{width:31px;padding:0;justify-content:center;color:var(--muted)}.template-studio__formatting button.active,.template-studio__formatting button:hover:not(:disabled){border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-100)}.template-studio__formatting button:disabled{opacity:.38;cursor:not-allowed}.template-changes-backdrop{z-index:116;padding:24px}.template-changes{width:min(980px,calc(100vw - 32px));height:min(820px,calc(100vh - 48px));display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid rgba(255,255,255,.7);border-radius:16px;background:var(--surface-raised);box-shadow:0 24px 80px rgba(23,34,27,.28);overflow:hidden}.template-changes__header{min-height:92px;padding:19px 22px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line)}.template-changes__header h2{margin:3px 0 2px;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:500}.template-changes__header p{margin:0;color:var(--muted);font-size:9px}.recognition-options{min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--surface-subtle)}.recognition-options>summary{padding:8px 10px;color:var(--sage-800);font-family:Arial,Helvetica,sans-serif;font-size:9px;font-weight:750;cursor:pointer}.recognition-options[open]>summary{border-bottom:1px solid var(--line)}.recognition-options>:not(summary){margin:9px 10px}.recognition-options--choice{width:100%}.recognition-options--choice>.recognition-safety-toggle,.recognition-options--choice>:where(.template-studio__option-aliases,.reusable-editor__choice-aliases){margin:9px 10px}.reusable-editor label.recognition-safety-toggle,.template-studio label.recognition-safety-toggle{display:flex!important;align-items:center;flex-direction:row;gap:8px;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1.35}.reusable-editor .recognition-safety-toggle input[type=checkbox],.template-studio .recognition-safety-toggle input[type=checkbox]{appearance:none;width:16px;min-width:16px;height:16px;min-height:16px;margin:0;padding:0;flex:0 0 16px;display:grid;place-content:center;border:1px solid var(--muted);border-radius:4px;background:var(--surface);cursor:pointer}.reusable-editor .recognition-safety-toggle input[type=checkbox]:after,.template-studio .recognition-safety-toggle input[type=checkbox]:after{width:8px;height:4px;border:solid var(--on-accent);border-width:0 0 2px 2px;content:"";opacity:0;transform:translateY(-1px) rotate(-45deg)}.reusable-editor .recognition-safety-toggle input[type=checkbox]:checked,.template-studio .recognition-safety-toggle input[type=checkbox]:checked{border-color:var(--sage-700);background:var(--sage-700)}.reusable-editor .recognition-safety-toggle input[type=checkbox]:checked:after,.template-studio .recognition-safety-toggle input[type=checkbox]:checked:after{opacity:1}.reusable-editor .recognition-safety-toggle input[type=checkbox]:focus-visible,.template-studio .recognition-safety-toggle input[type=checkbox]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.template-studio__footer>:where(.button-primary,.button-secondary),.template-studio__restore-button{min-width:max-content;white-space:nowrap}.modal .note-setting-row--action{width:100%;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;color:inherit;text-align:left;cursor:pointer;transition:border-color .12s ease,background .12s ease}.modal .note-setting-row--action:focus-visible,.modal .note-setting-row--action:hover{border-color:var(--sage-300);background:var(--sage-50)}.modal .note-setting-row--action:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.note-setting-row__icon{width:32px;height:32px;display:grid;place-items:center;color:var(--sage-800)}.note-setting-row__icon>svg{width:20px;height:20px;stroke-width:1.8}.note-setting-row>.note-setting-row__action-label{min-height:30px;padding:0 9px;margin-left:auto;display:inline-flex;flex-direction:row;align-items:center;gap:4px;border:1px solid var(--sage-300);border-radius:7px;color:var(--sage-800);background:var(--surface);font-size:9px;font-weight:750;white-space:nowrap}@media (max-width:760px){.library-review__health-link{display:none}.library-health__assessment{align-items:stretch;flex-direction:column}}.template-changes__body{min-height:0;padding:18px;display:grid;align-content:start;gap:13px;overflow-y:auto;background:var(--surface-subtle)}.template-changes__empty{min-height:330px;display:grid;place-items:center;align-content:center;gap:7px;color:var(--muted);text-align:center}.template-changes__empty svg{color:var(--sage-600)}.template-changes__empty strong{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:18px;font-weight:500}.template-changes__empty p{max-width:340px;margin:0;font-size:10px;line-height:1.5}.template-change-card{border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}.template-change-card>header{min-height:62px;padding:12px 14px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;border-bottom:1px solid var(--line-soft)}.template-change-card>header h3{margin:0;font-family:Georgia,Times New Roman,serif;font-size:16px;font-weight:500}.template-change-card>header p{margin:2px 0 0;color:var(--muted);font-size:9px}.template-change-card>header .button-secondary{display:inline-flex;align-items:center;gap:5px}.template-change-card__kind{min-height:24px;padding:0 7px;display:inline-flex;align-items:center;gap:4px;border-radius:999px;font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.template-change-card__kind.modified{color:#8a5c1c;background:#f7ead3}.template-change-card__kind.added{color:var(--sage-700);background:var(--sage-100)}.template-change-card__kind.deleted{color:var(--danger-700,#8f3d35);background:var(--danger-100,#f9e6e3)}.template-diff{display:grid;grid-template-columns:1fr 1fr}.template-diff>section{min-width:0;padding:13px 14px 15px;display:flex;flex-direction:column;gap:4px}.template-diff>section+section{border-left:1px solid var(--line-soft)}.template-diff h4{margin:0 0 5px;color:var(--muted);font-size:9px;letter-spacing:.08em;text-transform:uppercase}.template-diff__line{min-height:24px;padding:5px 7px;display:grid;grid-template-columns:12px minmax(0,1fr);gap:4px;border-radius:5px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;line-height:1.45;overflow-wrap:anywhere}.template-diff__line b{font-weight:800}.template-diff__line.removed{color:#84483f;background:#fff0ed}.template-diff__line.added{color:#315d3d;background:#edf7ef}.template-diff__none{padding:7px;color:var(--faint);font-size:9px;font-style:italic}.template-diff--new{grid-template-columns:1fr}.template-diff--new>section+section{border-left:0}.palette-backdrop{place-items:start center;padding-top:14vh;z-index:110}.command-palette{width:min(570px,calc(100vw - 28px));border:1px solid rgba(255,255,255,.65);border-radius:13px;background:var(--surface);box-shadow:0 24px 80px rgba(20,30,23,.28);overflow:hidden}.palette-input{height:55px;padding:0 14px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.palette-input svg{color:var(--sage-600)}.palette-input input{flex:1;border:0;outline:0;color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:14px}.palette-results{max-height:380px;padding:8px;overflow-y:auto}.palette-results>span,.palette-results__section>span{display:block;padding:6px 8px}.palette-results__section+.palette-results__section{margin-top:5px;padding-top:5px;border-top:1px solid var(--line-soft)}.palette-results button{width:100%;padding:8px;display:flex;align-items:center;gap:10px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer}.palette-results button.active,.palette-results button:hover{background:var(--sage-50)}.palette-results button>i{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;color:var(--sage-700);background:var(--sage-100)}.palette-results button>div{flex:1;display:flex;flex-direction:column;gap:2px}.palette-results strong{font-family:Georgia,Times New Roman,serif;font-size:11px}.palette-results button span{color:var(--faint);font-size:8.5px}.no-results{padding:35px;color:var(--muted);font-family:Georgia,Times New Roman,serif;font-size:12px;text-align:center}.teaching-hint,.toast{position:fixed;z-index:120;display:flex;align-items:center;box-shadow:0 15px 40px rgba(23,35,27,.2)}.teaching-hint{width:335px;padding:12px;right:22px;bottom:22px;gap:10px;border:1px solid #d9cfeb;border-radius:11px;color:var(--violet-700);background:var(--violet-50)}.teaching-hint>div{flex:1;display:flex;flex-direction:column;gap:2px}.teaching-hint strong{font-family:Georgia,Times New Roman,serif;font-size:11px}.teaching-hint span{color:var(--violet-700);font-size:9px}.teaching-hint button{width:25px;height:25px;display:grid;place-items:center;border:0;border-radius:5px;color:var(--violet-700);background:transparent;cursor:pointer}.toast{left:50%;bottom:20px;transform:translateX(-50%);padding:10px 14px;gap:7px;border:1px solid var(--sage-300);border-radius:999px;color:var(--sage-800);background:var(--sage-50);font-size:10px;font-weight:700}.import-undo{bottom:64px}.starter-library-update{z-index:90}.import-recovery{right:16px;left:auto;bottom:16px;max-width:min(520px,calc(100vw - 32px));transform:none}.import-recovery>span,.starter-library-error>span{min-width:0;flex:1}.import-recovery .import-recovery__dismiss{width:26px;padding:0;justify-content:center;border-color:transparent;background:transparent}.starter-library-error{top:16px;right:16px;bottom:auto;left:auto;max-width:min(520px,calc(100vw - 32px));color:var(--danger-ink);border-color:var(--danger-border);background:var(--danger-bg);transform:none}.import-undo button{height:26px;padding:0 9px;display:inline-flex;align-items:center;gap:5px;border:1px solid var(--sage-300);border-radius:999px;color:var(--sage-800);background:var(--surface);font:inherit;cursor:pointer}.editor-loading{width:min(760px,calc(100% - 48px));margin:22px auto;padding:70px;border:1px solid var(--line);border-radius:11px;color:var(--muted);background:var(--surface);text-align:center}:root[data-theme=midnight] .clinical-editor code{color:#ead49a;background:#3a321f}:root[data-theme=midnight] .template-studio__option>button:hover,:root[data-theme=midnight] .template-studio__section-top>button:hover{color:#e6a99f;background:#3a2927}:root[data-theme=midnight] .template-change-card__kind.modified{color:#e1bd76;background:#3b321f}:root[data-theme=midnight] .template-diff__line.removed{color:#efb1a8;background:#3a2826}:root[data-theme=midnight] .template-diff__line.added{color:#b8d9c0;background:#25372b}@media (max-width:800px){.topbar{height:auto;min-height:62px}.topbar-actions{min-width:0;overflow-x:auto;scrollbar-width:none}.topbar-actions::-webkit-scrollbar{display:none}.command-button{flex:0 0 auto}.app-shell:not([data-floating-workspace=true]) .workspace-view-menu,.brand small{display:none}.mobile-data-boundary{margin-top:2px;display:block;color:var(--sage-700);font-size:10px;font-weight:750;line-height:1.2}.workspace{display:block;min-height:calc(100dvh - 120px)}.workspace-discovery{padding:0 18px 38px}.workspace-discovery__header{padding:24px 0 17px}.workspace-discovery__header h2{font-size:22px}.workspace-discovery__links{grid-template-columns:1fr}.mobile-workflow-nav{height:58px;padding:7px 12px;display:grid;grid-template-columns:1fr 1fr;gap:6px;position:sticky;top:62px;z-index:45;border-bottom:1px solid var(--line);background:var(--topbar-surface);backdrop-filter:blur(14px)}.mobile-workflow-nav button{min-width:0;height:43px;padding:0 14px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:10px;color:var(--muted);background:transparent;font-size:12px;font-weight:750;cursor:pointer}.mobile-workflow-nav button.active{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-100);box-shadow:0 1px 3px rgba(20,30,24,.06)}.mobile-workflow-nav b{min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:999px;color:var(--on-accent);background:var(--sage-700);font-size:8px}.mobile-workflow-nav i{width:7px;height:7px;border-radius:50%;background:var(--sage-600)}.workspace[data-mobile-view=note] .explorer-pane,.workspace[data-mobile-view=templates] .note-pane{display:none}.explorer-pane{border-right:0;min-height:calc(100dvh - 120px)}.problem-list{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.canonical-composer{scroll-margin-top:128px}.note-pane{min-height:calc(100dvh - 120px);border-top:0}.editor-canvas{min-height:calc(100dvh - 300px);padding:32px 34px 60px}.document-trust{display:none}.template-library__body{grid-template-columns:280px minmax(0,1fr)}.template-diff{grid-template-columns:1fr}.template-diff>section+section{border-top:1px solid var(--line-soft);border-left:0}.studio-notepad__entries,.template-studio__basics,.template-studio__reminder-fields{grid-template-columns:1fr}}.note-settings-section-heading{padding:2px 2px 0}.note-settings-section-heading p{margin:4px 0 0;color:var(--muted);font-size:9px;line-height:1.45}.note-settings-section-heading--output{margin-top:5px}.modal .note-setting-row--readability{border-color:var(--sage-300);background:var(--sage-50)}.onboarding-readability{display:grid;gap:10px}.onboarding-readability label{margin:0;padding:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;border:1px solid var(--sage-300);border-radius:11px;background:var(--sage-50);cursor:pointer}.onboarding-readability label>span{display:flex;flex-direction:column;gap:4px}.onboarding-readability strong{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:12px}.onboarding-readability small{color:var(--muted);font-size:10px;font-weight:400;line-height:1.5}.note-setting-row--readability select,.onboarding-readability select{width:116px;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--surface);font:inherit}.onboarding-readability>p{margin:0;color:var(--muted);font-size:9px;line-height:1.45}:root[data-workspace-readability=large] :where(.app-shell,.onboarding-wizard,.modal,.command-palette,.template-library,.template-studio,.template-changes,.reusable-library,.library-review,.library-readiness,.demo-walkthrough,.demo-walkthrough__resume,.selection-context-menu,.toast,.teaching-hint){--muted:#4f5b55;--faint:#68736d;font-size:14px}:root[data-theme=midnight][data-workspace-readability=large] :where(.app-shell,.onboarding-wizard,.modal,.command-palette,.template-library,.template-studio,.template-changes,.reusable-library,.library-review,.library-readiness,.demo-walkthrough,.demo-walkthrough__resume,.selection-context-menu,.toast,.teaching-hint){--muted:#c3cec8;--faint:#aab7b0}:root[data-workspace-readability=large] :where(.app-shell,.onboarding-wizard,.modal,.command-palette,.template-library,.template-studio,.template-changes,.reusable-library,.library-review,.library-readiness,.demo-walkthrough,.demo-walkthrough__resume,.selection-context-menu,.toast,.teaching-hint) :where(p,span,small,strong,b,i,label,button,input,select,textarea,a,code,time,kbd){font-size:inherit}:root[data-workspace-readability=large] :where(.app-shell,.onboarding-wizard,.modal,.command-palette,.template-library,.template-studio,.template-changes,.reusable-library,.library-review,.library-readiness,.demo-walkthrough,.demo-walkthrough__resume,.selection-context-menu,.toast,.teaching-hint) :where(button,input:not([type=checkbox]):not([type=radio]),select){min-width:44px;min-height:44px}:root[data-workspace-readability=large] .repertoire-line-completion__ghost{height:26px;min-width:0;min-height:26px;font-size:16px;line-height:1.65}:root[data-workspace-readability=large] .repertoire-line-completion__ghost small{font-size:8px;line-height:1}:root[data-workspace-readability=large] .repertoire-line-completion__choices button{min-width:0;min-height:44px;font-size:11px;line-height:1.3}:root[data-workspace-readability=large] .repertoire-line-completion__choices kbd{width:20px;height:20px;padding:0;font-size:10px;line-height:1}:root[data-workspace-readability=large] .repertoire-line-completion__choices small{font-size:10px;line-height:1.2}:root[data-workspace-readability=large] :where(.app-shell,.onboarding-wizard,.modal,.command-palette,.template-library,.template-studio,.template-changes,.reusable-library,.library-review,.library-readiness,.demo-walkthrough,.demo-walkthrough__resume,.selection-context-menu,.toast,.teaching-hint) :where(input[type=checkbox],input[type=radio]){width:26px;height:26px;flex:0 0 26px}:root[data-workspace-readability=large] :where(.app-shell,.onboarding-wizard,.modal,.command-palette,.template-library,.template-studio,.template-changes,.reusable-library,.library-review,.library-readiness,.demo-walkthrough,.demo-walkthrough__resume,.selection-context-menu,.toast,.teaching-hint) button:not(.theme-trigger)>svg{width:18px;height:18px}:root[data-workspace-readability=large] .eyebrow,:root[data-workspace-readability=large] .opening-menu>span,:root[data-workspace-readability=large] .palette-results>span,:root[data-workspace-readability=large] .position-preview>span,:root[data-workspace-readability=large] .section-label,:root[data-workspace-readability=large] .selected-copy>span{letter-spacing:.08em;line-height:1.35}:root[data-workspace-readability=large] .library-health__score span{font-size:30px}:root[data-workspace-readability=large] .library-health__metrics strong{font-size:24px}:root[data-workspace-readability=large] .approval-report__evidence dd{font-size:22px}:root[data-workspace-readability=large] .demo-walkthrough{width:min(440px,calc(100vw - 24px))}:root[data-workspace-readability=large] .demo-walkthrough--intro{overflow-y:auto}:root[data-workspace-readability=large] .demo-walkthrough__warning,:root[data-workspace-readability=large] .library-health__issue-list .library-health__issue-actions button{font-size:14px}:root[data-workspace-readability=large] :where(.demo-walkthrough--intro h2,.demo-walkthrough__body h2){font-size:26px}:root[data-workspace-readability=large] .topbar{height:78px;padding:0 24px;grid-template-columns:auto minmax(0,1fr);gap:24px}:root[data-workspace-readability=large] .topbar-actions{min-width:0;gap:10px;justify-content:flex-end;overflow:visible;scrollbar-width:none}:root[data-workspace-readability=large] .workspace-header-menu{--workspace-menu-top-offset:94px}:root[data-workspace-readability=large] .command-button{height:46px;padding:0 13px;flex:0 0 auto;gap:8px;border-radius:10px;white-space:nowrap}:root[data-workspace-readability=large] .brand{gap:12px}:root[data-workspace-readability=large] .brand strong{font-size:21px}:root[data-workspace-readability=large] .brand small{margin-top:4px}:root[data-workspace-readability=large] .theme-trigger{width:46px;height:46px}:root[data-workspace-readability=large] .theme-menu{width:300px;padding:16px;top:52px}:root[data-workspace-readability=large] .theme-options{grid-template-columns:1fr;gap:8px}:root[data-workspace-readability=large] .theme-options button{height:46px;padding:0 11px;grid-template-columns:20px minmax(0,1fr) 18px}:root[data-workspace-readability=large] .theme-swatch{width:18px;height:18px}:root[data-workspace-readability=large] .workspace{min-height:calc(100vh - 78px);grid-template-columns:minmax(440px,42%) minmax(0,58%)}:root[data-workspace-readability=large] :where(.pane-heading,.note-heading){min-height:104px;padding:20px 26px;gap:16px}:root[data-workspace-readability=large] :where(.pane-heading h2,.note-heading h2){margin-top:5px;font-size:25px}:root[data-workspace-readability=large] .note-heading>div:first-child{flex:0 0 auto}:root[data-workspace-readability=large] .note-heading h2{white-space:nowrap}:root[data-workspace-readability=large] .pane-heading-actions,:root[data-workspace-readability=large] .starting-note-actions{gap:9px}:root[data-workspace-readability=large] .add-opening,:root[data-workspace-readability=large] .starting-note-actions button{height:46px;padding:0 13px;gap:7px;border-radius:9px;white-space:nowrap}:root[data-workspace-readability=large] .problem-list{padding:20px}:root[data-workspace-readability=large] .canonical-composer{margin-bottom:20px;padding:20px;scroll-margin-top:92px}:root[data-workspace-readability=large] .canonical-composer__top-actions button{width:32px;height:32px}:root[data-workspace-readability=large] .canonical-composer__top-actions .canonical-composer__move-menu button{width:100%;height:auto;min-height:40px}:root[data-workspace-readability=large] .canonical-composer__top-actions .canonical-composer__next{width:auto;padding:0 9px;font-size:11px}:root[data-workspace-readability=large] .canonical-composer h2{margin-bottom:5px;font-size:23px}:root[data-workspace-readability=large] .canonical-composer__sections{margin-top:20px;gap:20px}:root[data-workspace-readability=large] .canonical-composer__options{margin-top:10px;gap:9px}:root[data-workspace-readability=large] .canonical-composer__options button,:root[data-workspace-readability=large] .template-empty-state button,:root[data-workspace-readability=large] .workspace-shortcuts button{min-height:46px;padding:9px 13px;line-height:1.4}:root[data-workspace-readability=large] .workspace-shortcuts .workspace-shortcuts__manage{width:46px;min-width:46px;height:46px;min-height:46px;padding:0}:root[data-workspace-readability=large] .template-empty-state{min-height:290px;padding:36px 28px}:root[data-workspace-readability=large] .template-empty-state strong{font-size:20px}:root[data-workspace-readability=large] .template-empty-state p{max-width:420px;margin:9px 0 18px}:root[data-workspace-readability=large] .document-trust{gap:11px}:root[data-workspace-readability=large] .trust-icon{width:36px;height:36px}:root[data-workspace-readability=large] .document-trust>div{gap:4px}:root[data-workspace-readability=large] .editor-loading,:root[data-workspace-readability=large] .editor-shell,:root[data-workspace-readability=large] .note-footer{width:min(860px,calc(100% - 48px))}:root[data-workspace-readability=large] .editor-shell{margin-top:28px}:root[data-workspace-readability=large] .editor-toolbar{min-height:62px;padding:7px 14px;gap:9px;overflow-x:auto}:root[data-workspace-readability=large] .editor-toolbar .save-state{display:none}:root[data-workspace-readability=large] .toolbar-group{flex:0 0 auto;gap:5px}:root[data-workspace-readability=large] .editor-toolbar button,:root[data-workspace-readability=large] .toolbar-group--block-style select{width:auto;min-width:44px;height:44px;border-radius:8px}:root[data-workspace-readability=large] .toolbar-group--block-style select{padding:0 34px 0 12px}:root[data-workspace-readability=large] .inference-details{padding:16px 18px 18px}:root[data-workspace-readability=large] .inference-detail{padding:12px 14px;gap:10px}:root[data-workspace-readability=large] .editor-canvas{min-height:calc(100vh - 294px);padding:48px 62px 76px}:root[data-workspace-readability=large] .clinical-editor{min-height:500px;font-size:18px;line-height:1.72}:root[data-workspace-readability=large] .clinical-editor h1{font-size:34px}:root[data-workspace-readability=large] .clinical-editor h2{font-size:28px}:root[data-workspace-readability=large] .clinical-editor h3{margin-top:34px;font-size:15px;letter-spacing:.09em}:root[data-workspace-readability=large] .clinical-editor p{margin:10px 0}:root[data-workspace-readability=large] .chart-block{margin:10px 0;padding:4px 28px 4px 12px}:root[data-workspace-readability=large] .editor-canvas .chart-block+.chart-block{margin-top:calc(10px + var(--problem-spacing-space, 1.72em))}:root[data-workspace-readability=large] .linked-indicator{padding:5px 7px}:root[data-workspace-readability=large] .note-footer{margin-top:18px;margin-bottom:28px}:root[data-workspace-readability=large] .modal{width:min(680px,calc(100vw - 30px));max-height:calc(100dvh - 30px);padding:28px;overflow-y:auto}:root[data-workspace-readability=large] .note-settings-modal{width:min(720px,calc(100vw - 30px))}:root[data-workspace-readability=large] .modal h2{font-size:27px}:root[data-workspace-readability=large] .modal label{gap:8px}:root[data-workspace-readability=large] .modal input,:root[data-workspace-readability=large] .modal select{height:48px;padding:0 13px}:root[data-workspace-readability=large] .modal textarea{padding:12px 13px;line-height:1.55}:root[data-workspace-readability=large] .modal .note-setting-row{padding:19px;gap:24px}:root[data-workspace-readability=large] .modal .note-setting-row--action{gap:15px}:root[data-workspace-readability=large] .note-setting-row__icon{width:40px;height:40px}:root[data-workspace-readability=large] .note-setting-row__action-label{min-height:40px;padding:0 12px;font-size:12px}:root[data-workspace-readability=large] .note-setting-row__icon>svg{width:24px;height:24px}:root[data-workspace-readability=large] .note-setting-row__brand-mark{width:20px;height:20px}:root[data-workspace-readability=large] .note-setting-row>span,:root[data-workspace-readability=large] .note-settings-install-note>span{gap:7px}:root[data-workspace-readability=large] .note-setting-row small,:root[data-workspace-readability=large] .note-settings-install-note small,:root[data-workspace-readability=large] .note-settings-section-heading p{line-height:1.55}:root[data-workspace-readability=large] .note-settings-modal .note-setting-row input[type=number]{width:92px}:root[data-workspace-readability=large] .note-settings-modal .note-setting-row input[type=checkbox]{width:28px;height:28px}:root[data-workspace-readability=large] .note-settings-install-note{padding:17px 19px;gap:14px}:root[data-workspace-readability=large] .button-primary,:root[data-workspace-readability=large] .button-secondary{height:46px;padding:0 17px;border-radius:9px}:root[data-workspace-readability=large] .onboarding-wizard{width:min(700px,calc(100vw - 30px));min-height:570px;max-height:calc(100dvh - 30px)}:root[data-workspace-readability=large] .onboarding-header{min-height:76px;padding:16px 24px 8px}:root[data-workspace-readability=large] .onboarding-body{padding:12px 48px 34px;overflow-y:auto}:root[data-workspace-readability=large] .onboarding-body h2{max-width:560px;margin:10px 0 14px;font-size:34px;line-height:1.15}:root[data-workspace-readability=large] .onboarding-body>p{max-width:570px;margin-bottom:26px;font-size:17px;line-height:1.65}:root[data-workspace-readability=large] :where(.onboarding-card,.onboarding-readability label){padding:20px;gap:16px}:root[data-workspace-readability=large] .onboarding-card strong,:root[data-workspace-readability=large] .onboarding-readability strong{font-size:17px}:root[data-workspace-readability=large] .onboarding-readability>p{line-height:1.5}:root[data-workspace-readability=large] .onboarding-example{padding:17px;gap:10px}:root[data-workspace-readability=large] .onboarding-example code{padding:11px}:root[data-workspace-readability=large] .onboarding-points{gap:12px}:root[data-workspace-readability=large] .onboarding-footer{min-height:88px;padding:16px 22px;gap:10px}:root[data-workspace-readability=large] .onboarding-progress{gap:7px}:root[data-workspace-readability=large] .onboarding-progress span{width:10px;height:10px}:root[data-workspace-readability=large] .onboarding-progress span.active{width:30px}:root[data-workspace-readability=large] .command-palette{width:min(700px,calc(100vw - 28px))}:root[data-workspace-readability=large] .palette-input{height:68px;padding:0 18px}:root[data-workspace-readability=large] .palette-input input{font-size:18px}:root[data-workspace-readability=large] .palette-results button{min-height:58px;padding:11px}:root[data-workspace-readability=large] :where(.template-library,.template-studio,.template-changes){width:min(1180px,calc(100vw - 32px));height:min(860px,calc(100dvh - 40px))}:root[data-workspace-readability=large] :where(.reusable-library,.library-review){width:min(1380px,calc(100vw - 32px));height:min(880px,calc(100dvh - 40px))}:root[data-workspace-readability=large] :where(.reusable-library__header,.library-review__header){min-height:108px;padding:22px 26px}:root[data-workspace-readability=large] :where(.reusable-library__header h2,.library-review__header h2){font-size:29px}:root[data-workspace-readability=large] .reusable-library__filters{grid-template-columns:minmax(300px,1fr) 190px 180px auto;padding:14px 26px}:root[data-workspace-readability=large] :where(.reusable-library__filter-select,.reusable-library__search,.reusable-library__filters .reusable-library__favorites-filter){height:48px;min-height:48px}:root[data-workspace-readability=large] .reusable-library__body:has(.reusable-editor){grid-template-columns:minmax(0,1fr)}:root[data-workspace-readability=large] .reusable-library__list{padding:22px 26px 30px;gap:16px}:root[data-workspace-readability=large] .reusable-editor{padding:24px}:root[data-workspace-readability=large] .reusable-editor__heading h3{font-size:21px}:root[data-workspace-readability=large] :where(.reusable-editor__surface>label,.reusable-editor__row>label,.reusable-editor__options>span,.reusable-editor__preview>span,.reusable-editor__rich-text-heading>span){font-size:14px}:root[data-workspace-readability=large] .reusable-editor small{font-size:12px;line-height:1.5}:root[data-workspace-readability=large] .reusable-editor__recognition-warning{padding:14px 15px;font-size:13px}:root[data-workspace-readability=large] :where(.reusable-editor input:not([type=checkbox]),.reusable-editor textarea,.reusable-editor select){min-height:48px;padding:10px 13px;font-size:16px}:root[data-workspace-readability=large] .reusable-editor :where(.reusable-editor__name,.reusable-editor__aliases) input{font-size:16px}:root[data-workspace-readability=large] :where(.reusable-editor .reusable-editor__clinical-text input,.reusable-editor .reusable-editor__clinical-text textarea,.reusable-editor__rich-text .template-rich-text__editor,.reusable-editor__options input,.reusable-editor__preview p){font-size:17px}:root[data-workspace-readability=large] .reusable-editor__rich-text .template-rich-text__editor{min-height:118px;padding:12px 13px}:root[data-workspace-readability=large] .reusable-editor__rich-text--narrative .template-rich-text__editor{min-height:210px}:root[data-workspace-readability=large] .reusable-library .reusable-editor__formatting button{width:46px;min-height:46px}:root[data-workspace-readability=large] .reusable-editor__row{gap:14px}:root[data-workspace-readability=large] .reusable-editor__options>div{gap:9px;margin-bottom:9px}:root[data-workspace-readability=large] .reusable-editor__automatic-insert :where(strong,p),:root[data-workspace-readability=large] .reusable-editor__option-heading .reusable-editor__default-choice{font-size:13px}:root[data-workspace-readability=large] .reusable-editor__default-choice input{width:20px;height:20px}:root[data-workspace-readability=large] .reusable-editor label.reusable-editor__favorite{gap:13px;padding:14px 15px}:root[data-workspace-readability=large] .reusable-editor__favorite-icon{width:42px;height:42px}:root[data-workspace-readability=large] .reusable-editor__favorite strong{font-size:14px}:root[data-workspace-readability=large] .reusable-editor__favorite small{font-size:12px}:root[data-workspace-readability=large] .reusable-editor__favorite input{width:22px;height:22px}:root[data-workspace-readability=large] :where(.reusable-editor__preview,.reusable-editor__warning){padding:15px}:root[data-workspace-readability=large] .reusable-library :where(.reusable-editor__options>button,.reusable-editor__actions button){font-size:14px}:root[data-workspace-readability=large] .library-review__body{grid-template-columns:330px minmax(460px,1fr) 320px}:root[data-workspace-readability=large] .review-queue{padding:16px;gap:11px}:root[data-workspace-readability=large] .review-detail{padding:26px 30px 36px}:root[data-workspace-readability=large] .review-notepad{padding:20px 18px}:root[data-workspace-readability=large] :where(.library-review__footer,.review-type-tabs button,.review-section__heading button,.review-notepad button){min-height:46px}:root[data-workspace-readability=large] :where(.template-library__header,.template-studio__header,.template-changes__header){min-height:108px;padding:22px 26px}:root[data-workspace-readability=large] :where(.template-library__header h2,.template-studio__header h2,.template-changes__header h2){font-size:29px}:root[data-workspace-readability=large] .template-library__body{grid-template-columns:390px minmax(0,1fr)}:root[data-workspace-readability=large] .template-browser{padding:18px;gap:12px}:root[data-workspace-readability=large] :where(.template-search,.category-filter){height:48px}:root[data-workspace-readability=large] .template-result-row>button:first-child{min-height:64px}:root[data-workspace-readability=large] .template-studio__body{padding:24px 26px 34px}:root[data-workspace-readability=large] .template-studio__basics{grid-template-columns:1fr 1fr;gap:16px}:root[data-workspace-readability=large] .template-studio__basics>:last-child{grid-column:1/-1}:root[data-workspace-readability=large] .template-change-card>header{min-height:78px;padding:15px 18px}:root[data-workspace-readability=large] .studio-notepad__heading h3,:root[data-workspace-readability=large] .template-change-card>header h3{font-size:20px}:root[data-workspace-readability=large] :where(.toast,.teaching-hint){padding:14px 18px;border-radius:12px}@media (max-width:700px){:root[data-workspace-readability=large] .topbar{min-height:132px;height:auto;padding:10px 16px 0;grid-template-columns:1fr;align-content:center;gap:8px}:root[data-workspace-readability=large] .topbar-actions{width:calc(100% + 32px);margin-left:-16px;padding:0 16px 10px;justify-content:flex-start}:root[data-workspace-readability=large] .workspace-header-menu{--workspace-menu-top-offset:148px}:root[data-workspace-readability=large] .canonical-composer{scroll-margin-top:146px}:root[data-workspace-readability=large] .brand small{display:block}:root[data-workspace-readability=large] .mobile-data-boundary{display:none}}@media (max-width:1100px){:root[data-workspace-readability=large] .reusable-library__body:has(.reusable-editor){grid-template-columns:minmax(0,1fr)}:root[data-workspace-readability=large] .reusable-library__body:has(.reusable-editor) .reusable-library__list{grid-template-columns:1fr}:root[data-workspace-readability=large] .library-review__body{display:block;overflow-y:auto}:root[data-workspace-readability=large] .review-queue{height:360px;border-right:0;border-bottom:1px solid var(--line)}:root[data-workspace-readability=large] :where(.review-detail,.review-notepad){overflow:visible}:root[data-workspace-readability=large] .review-notepad{min-height:360px;border-top:1px solid var(--line);border-left:0}:root[data-workspace-readability=large] .review-notepad__entries{max-height:320px}:root[data-workspace-readability=large] .library-review__footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}:root[data-workspace-readability=large] .library-review__footer>span{display:none}}@media (max-width:860px){:root[data-workspace-readability=large] :where(.reusable-library,.library-review){width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}:root[data-workspace-readability=large] .reusable-library__header{min-height:0;padding:16px}:root[data-workspace-readability=large] .reusable-library__header h2{margin-top:24px}:root[data-workspace-readability=large] .reusable-library__filters{grid-template-columns:repeat(2,minmax(0,1fr)) auto;padding:12px 16px}:root[data-workspace-readability=large] .reusable-library__search{grid-column:1/-1}:root[data-workspace-readability=large] .reusable-library__body:has(.reusable-editor){grid-template-columns:1fr}:root[data-workspace-readability=large] .reusable-editor{padding:0}:root[data-workspace-readability=large] .reusable-editor__surface{padding:20px;border:0;border-radius:0}}@media (max-width:520px){.workspace-shortcuts .workspace-shortcuts__manage{width:42px;min-width:42px;height:42px;min-height:42px}.workspace-shortcuts__content-header{align-items:flex-start}.workspace-shortcuts__content-tools{margin-left:0}:root[data-workspace-readability=large] .reusable-library__filters{grid-template-columns:repeat(2,minmax(0,1fr))}:root[data-workspace-readability=large] .reusable-library__filters .reusable-library__favorites-filter{width:100%;grid-column:1/-1}}@media (min-width:1200px) and (max-width:1300px){:root[data-workspace-readability=large] :where(.pane-heading,.note-heading){min-height:148px;flex-wrap:wrap;align-content:center}:root[data-workspace-readability=large] .note-heading .document-trust{flex:1 0 100%;order:3}}@media (min-width:801px) and (max-width:1199px){:root[data-workspace-readability=large] .workspace{min-height:calc(100dvh - 78px);display:flex;flex-direction:column}:root[data-workspace-readability=large] .mobile-workflow-nav{display:none}:root[data-workspace-readability=large] .note-pane{height:clamp(480px,58dvh,620px);min-height:480px;order:1;overflow-y:auto;border-bottom:1px solid var(--line)}:root[data-workspace-readability=large] .workspace[data-stacked-note=expanded] .note-pane{height:auto;overflow:visible}:root[data-workspace-readability=large] .explorer-pane{min-height:540px;order:2;border-right:0}:root[data-workspace-readability=large] .note-heading{position:sticky;top:0;z-index:24}:root[data-workspace-readability=large] .workspace[data-stacked-note=expanded] .note-heading{top:78px}:root[data-workspace-readability=large] .starting-note-actions .stacked-note-toggle{display:inline-flex}:root[data-workspace-readability=large] .workspace[data-stacked-note=compact] .editor-toolbar{position:sticky;top:104px;z-index:20}:root[data-workspace-readability=large] .workspace[data-stacked-note=expanded] .editor-toolbar{position:sticky;top:182px;z-index:20}}@media (max-width:800px){:root[data-workspace-readability=large] .mobile-workflow-nav{min-height:66px;height:auto;padding:9px 14px;display:grid;grid-template-columns:1fr 1fr;gap:8px;position:sticky;top:78px;z-index:45;border-bottom:1px solid var(--line);background:var(--topbar-surface);backdrop-filter:blur(14px)}:root[data-workspace-readability=large] .canonical-composer{scroll-margin-top:152px}:root[data-workspace-readability=large] .mobile-workflow-nav button{min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:10px;color:var(--muted);background:transparent;font-weight:750;cursor:pointer}:root[data-workspace-readability=large] .mobile-workflow-nav button.active{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-100)}:root[data-workspace-readability=large] .workspace{display:block;min-height:calc(100dvh - 144px)}:root[data-workspace-readability=large] .workspace[data-mobile-view=note] .explorer-pane,:root[data-workspace-readability=large] .workspace[data-mobile-view=templates] .note-pane{display:none}:root[data-workspace-readability=large] .explorer-pane,:root[data-workspace-readability=large] .note-pane{min-height:calc(100dvh - 144px);border-right:0}:root[data-workspace-readability=large] .note-heading{display:flex}:root[data-workspace-readability=large] .editor-toolbar{position:sticky;top:144px;z-index:20}}@media (max-width:700px){:root[data-workspace-readability=large] .topbar{min-height:132px}:root[data-workspace-readability=large] .topbar-actions{scrollbar-width:none}:root[data-workspace-readability=large] .mobile-workflow-nav{top:132px}:root[data-workspace-readability=large] .canonical-composer{scroll-margin-top:206px}:root[data-workspace-readability=large] .explorer-pane,:root[data-workspace-readability=large] .note-pane,:root[data-workspace-readability=large] .workspace{min-height:calc(100dvh - 198px)}:root[data-workspace-readability=large] .editor-toolbar{top:198px}:root[data-workspace-readability=large] .command-button{width:auto;height:46px;padding:0 13px;flex:0 0 auto}:root[data-workspace-readability=large] .command-button svg{width:18px;height:18px}:root[data-workspace-readability=large] .pane-heading{min-height:112px;padding:16px;align-items:flex-start;flex-direction:column}:root[data-workspace-readability=large] .pane-heading-actions{width:100%;flex-wrap:wrap}:root[data-workspace-readability=large] .workspace-discovery__resource{grid-template-columns:minmax(0,1fr)}:root[data-workspace-readability=large] .workspace-discovery__resource>a{width:100%;max-width:100%;grid-column:auto;white-space:normal;text-align:center}:root[data-workspace-readability=large] .add-opening{width:auto;flex:1 1 auto;justify-content:center}:root[data-workspace-readability=large] .note-heading{display:none}:root[data-workspace-readability=large] .editor-loading,:root[data-workspace-readability=large] .editor-shell,:root[data-workspace-readability=large] .note-footer{width:100%}:root[data-workspace-readability=large] .editor-shell{margin:0;border-width:0;border-radius:0;box-shadow:none}:root[data-workspace-readability=large] .editor-canvas{min-height:calc(100dvh - 260px);padding:30px 22px calc(76px + env(safe-area-inset-bottom));background:var(--paper)}:root[data-workspace-readability=large] .modal .note-setting-row{grid-template-columns:1fr;align-items:flex-start}:root[data-workspace-readability=large] .note-settings-modal .note-setting-row input[type=number]{width:100%}:root[data-workspace-readability=large] .onboarding-backdrop{padding:8px}:root[data-workspace-readability=large] .onboarding-wizard{width:calc(100vw - 16px);min-height:min(600px,calc(100dvh - 16px));max-height:calc(100dvh - 16px)}:root[data-workspace-readability=large] .onboarding-body{padding:8px 24px 28px}:root[data-workspace-readability=large] .onboarding-body h2{font-size:29px}:root[data-workspace-readability=large] .onboarding-body>p{font-size:16px}:root[data-workspace-readability=large] .onboarding-footer{flex-wrap:wrap}:root[data-workspace-readability=large] .onboarding-progress{width:100%}:root[data-workspace-readability=large] :where(.template-library,.template-studio,.template-changes){width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}:root[data-workspace-readability=large] .template-library__header{min-height:0;padding:16px;position:relative;align-items:flex-start;flex-direction:row;gap:14px;overflow:visible}:root[data-workspace-readability=large] .template-library__header>div:first-child{min-width:0;padding-right:108px}:root[data-workspace-readability=large] .template-library__header-actions{position:absolute;top:14px;right:14px}:root[data-workspace-readability=large] .template-studio__header{min-height:0;padding:16px;position:relative}:root[data-workspace-readability=large] .template-studio__header>div:first-child{min-width:0;padding-right:104px}:root[data-workspace-readability=large] .template-studio__header-actions{position:absolute;top:14px;right:14px}:root[data-workspace-readability=large] .template-studio__footer{min-width:0;min-height:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));align-items:stretch;overflow:hidden}:root[data-workspace-readability=large] .template-studio__footer-tools{min-width:0;flex-basis:100%}:root[data-workspace-readability=large] .template-studio__save-message{width:100%;margin:0;flex:0 0 100%;white-space:normal}:root[data-workspace-readability=large] .template-studio__footer>:where(.button-primary,.button-secondary){min-width:0;flex:1 1 120px}:root[data-workspace-readability=large] .template-library__body{grid-template-columns:1fr}:root[data-workspace-readability=large] .template-browser{height:360px;border-right:0;border-bottom:1px solid var(--line)}:root[data-workspace-readability=large] .template-studio__basics{grid-template-columns:1fr}:root[data-workspace-readability=large] .template-studio__basics>:last-child{grid-column:auto}}.recognition-safety-toggle{align-items:flex-start;background:var(--surface-subtle);border:1px solid var(--line);border-radius:.55rem;display:flex!important;gap:.55rem;padding:.65rem}.recognition-safety-toggle input{margin-top:.15rem}.recognition-safety-toggle span{display:grid;gap:.15rem}.recognition-safety-toggle small{font-weight:400;opacity:.72}.recognition-safety-toggle--compact{background:transparent;border:0;padding:.25rem 0}:root[data-workspace-readability=large] :where(.template-studio,.reusable-editor) .recognition-safety-toggle input[type=checkbox]{width:20px;min-width:20px;height:20px;min-height:20px;flex-basis:20px}:root[data-workspace-readability=large] :where(.template-studio,.reusable-editor) label.recognition-safety-toggle{gap:10px;font-size:14px}:root[data-workspace-readability=large] .template-studio__footer>:where(.button-primary,.button-secondary),:root[data-workspace-readability=large] .template-studio__restore-button{min-width:max-content;white-space:nowrap}:root[data-workspace-readability=large] button.workspace-header-icon-button>svg{width:10px;height:10px;flex:0 0 10px}.inference-detail__choices{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.4rem}.inference-summary__actions{align-items:center;display:flex;gap:.35rem;margin-left:auto}.inference-summary button{align-items:center;display:inline-flex;gap:.25rem}.inference-summary .one-liner-details-toggle{width:26px;height:26px;padding:0;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;color:var(--sage-700);background:var(--surface)}.template-studio__section-shared-actions button:disabled{cursor:not-allowed;opacity:.35}.library-index-backdrop,.library-package-backdrop{z-index:95}.library-package-dialog{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.library-package-dialog,:root[data-workspace-readability=large] .modal.library-package-dialog{width:min(1180px,calc(100vw - 40px));height:min(820px,calc(100vh - 40px));padding:0;overflow:hidden}:root[data-workspace-readability=large] .modal.library-package-dialog{max-height:calc(100vh - 40px)}.library-package-dialog__footer,.library-package-dialog__header{padding:18px 20px}.library-package-dialog__header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.library-package-dialog__header h2{margin:4px 0}.library-package-dialog__header p{margin:0;color:var(--muted);font-size:12px}.library-package-export,.library-package-import{min-height:0}.library-package-export{padding:18px 20px;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:14px;overflow:hidden}.library-package-search{max-width:none}.library-package-export__columns{min-height:0;display:grid;grid-template-columns:1.15fr 1fr .85fr;gap:12px}.library-package-export__columns>section{min-width:0;padding:12px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:9px;border:1px solid var(--line);border-radius:9px;background:var(--surface-subtle);overflow:hidden}.library-package-export__columns>section>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.library-package-export__columns h3{margin:0;font-size:14px}.library-package-export__columns section>div>button{border:0;color:var(--sage-700);background:transparent;font-size:11px;font-weight:750}.library-package-checklist{min-height:0;display:flex;flex-direction:column;gap:5px;overflow:auto}.library-package-checklist label{margin:0;min-height:42px;padding:7px 8px;display:flex;flex-direction:row;align-items:flex-start;gap:8px;border:1px solid var(--line);border-radius:7px;background:var(--surface);font-size:12px}.library-package-dialog .approval-report__attestation{margin:0;flex-direction:row}.library-package-dialog :where(.library-package-checklist,.approval-report__attestation) input[type=checkbox],.note-settings-modal .note-setting-row input[type=checkbox]{appearance:none;width:20px;min-width:20px;height:20px;min-height:20px;margin:0;padding:0;display:grid;place-items:center;flex:0 0 20px;border:1px solid var(--sage-300);border-radius:5px;color:var(--on-accent);background:var(--surface);cursor:pointer}.library-package-dialog :where(.library-package-checklist,.approval-report__attestation) input[type=checkbox]:after,.note-settings-modal .note-setting-row input[type=checkbox]:after{content:"✓";opacity:0;font-size:13px;font-weight:900;line-height:1}.library-package-dialog :where(.library-package-checklist,.approval-report__attestation) input[type=checkbox]:checked,.note-settings-modal .note-setting-row input[type=checkbox]:checked{border-color:var(--sage-700);background:var(--sage-700)}.library-package-dialog :where(.library-package-checklist,.approval-report__attestation) input[type=checkbox]:checked:after,.note-settings-modal .note-setting-row input[type=checkbox]:checked:after{opacity:1}.library-package-dialog :where(.library-package-checklist,.approval-report__attestation) input[type=checkbox]:focus-visible,.note-settings-modal .note-setting-row input[type=checkbox]:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.library-package-dialog :where(.library-package-checklist,.approval-report__attestation) input[type=checkbox]:disabled{opacity:.58;cursor:not-allowed}:root[data-workspace-readability=large] .modal.library-package-dialog :where(.library-package-checklist,.approval-report__attestation) input[type=checkbox]{width:26px;min-width:26px;height:26px;min-height:26px;padding:0;flex-basis:26px}.library-package-checklist label>span{min-width:0;display:grid;gap:2px}.library-package-checklist small,.library-package-checklist strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-package-checklist small{color:var(--muted);font-size:10px}.library-package-copy-note,.library-package-dependencies{margin:0;display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.library-package-import{display:grid;grid-template-columns:260px minmax(0,1fr);overflow:hidden}.library-package-import>.import-review-warning{grid-column:1/-1;margin:12px 16px 0}.library-package-import__items{min-height:0;padding:12px;display:flex;flex-direction:column;gap:5px;border-right:1px solid var(--line);background:var(--surface-subtle);overflow:auto}.library-package-import__items>button{min-height:52px;padding:8px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;text-align:left;border:1px solid transparent;border-radius:7px;background:transparent}.library-package-import__items>button.active{border-color:var(--sage-300);background:var(--surface)}.library-package-import__items span{min-width:0;display:grid;gap:2px}.library-package-import__items small,.library-package-import__items strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-package-import__items small{color:var(--muted);font-size:10px;text-transform:capitalize}.library-package-import__review{min-width:0;padding:16px;overflow:auto}.library-package-import__decision{display:flex;align-items:end;justify-content:space-between;gap:16px}.library-package-import__decision h3{margin:4px 0 0;font-size:18px}.library-package-import__decision label{min-width:180px}.library-package-import__columns{margin-top:14px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:9px}.library-package-import__columns>svg{margin-top:52px;color:var(--muted)}.library-package-import__columns>section{min-width:0;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--surface-subtle)}.library-package-import__columns>section.result{border-color:var(--sage-300);background:var(--sage-50)}.library-package-import__columns h4{margin:0 0 9px;color:var(--muted);font-size:10px;letter-spacing:.12em;text-transform:uppercase}.library-package-summary{display:grid;gap:5px;font-size:11px;overflow-wrap:anywhere}.library-package-summary>small,.library-package-summary>span{color:var(--muted)}.library-package-summary ol,.library-package-summary p{margin:5px 0 0}.library-package-summary ol{padding-left:18px}.library-package-summary li{margin-bottom:7px}.library-package-summary li>small,.library-package-summary li>span{margin-left:4px;color:var(--muted)}.library-package-empty{color:var(--muted);font-style:italic}.library-package-granular{margin-top:16px;padding:14px;display:grid;gap:14px;border:1px solid var(--sage-300);border-radius:9px;background:var(--sage-50)}.library-package-granular h4,.library-package-granular p{margin:4px 0 0}.library-package-granular p{color:var(--muted);font-size:11px}.library-package-granular__fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.library-package-granular label{margin:0;display:grid;gap:4px;font-size:10px;font-weight:750}.library-package-granular__sections{display:grid;gap:8px}.library-package-granular__sections>article{padding:10px;display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:end;gap:10px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}.library-package-granular__sections>article>div:first-child{display:grid;gap:3px}.library-package-granular__sections small{color:var(--muted);font-size:9px}.library-package-granular__options{grid-column:1/-1;padding-top:8px;display:grid;gap:6px;border-top:1px solid var(--line)}.library-package-granular__options label{grid-template-columns:minmax(0,1fr) 170px;align-items:center}.repertoire-coach-backdrop{z-index:95}.repertoire-coach,:root[data-workspace-readability=large] .modal.repertoire-coach{width:min(980px,calc(100vw - 32px));max-height:min(880px,calc(100vh - 32px));padding:0;overflow:hidden}.repertoire-coach__header{padding:18px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.repertoire-coach__header h2{margin:3px 0;display:flex;align-items:center;gap:7px}.repertoire-coach__header p,.repertoire-coach__section-heading p{margin:0;color:var(--muted);font-size:10px}.repertoire-coach__body{max-height:calc(100vh - 145px);padding:18px 20px 24px;display:grid;grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr);gap:18px;overflow:auto}.repertoire-coach__body>section{min-width:0;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.repertoire-coach__body h3{margin:3px 0 8px;font-size:15px}.repertoire-coach__syntax dl{margin:12px 0;display:grid;gap:8px}.repertoire-coach__syntax dl>div{padding-bottom:8px;display:grid;grid-template-columns:100px 1fr;gap:10px;border-bottom:1px solid var(--line)}.repertoire-coach__syntax dt{font-size:9px;font-weight:800}.repertoire-coach__syntax dd{margin:0;color:var(--muted);font-size:9px;line-height:1.45}.repertoire-coach__syntax code,.repertoire-coach__syntax kbd{font-size:8px}.repertoire-coach__examples{display:grid;gap:6px}.repertoire-coach__examples>code{padding:6px 8px;border-radius:5px;background:var(--surface-soft);white-space:normal}.repertoire-coach__examples button{justify-self:start}.repertoire-coach__section-heading{margin-bottom:12px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.repertoire-coach__destination{margin:12px 0;display:grid;gap:5px;color:var(--muted);font-size:9px;font-weight:700}.repertoire-coach__destination small{color:var(--muted);font-size:8px;font-weight:500}.repertoire-coach__wording-filter{margin-bottom:8px}.repertoire-coach__records{display:grid;gap:7px}.repertoire-coach__records article{padding:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:7px;background:var(--surface-soft)}.repertoire-coach__records article>div{min-width:0;display:flex;align-items:center;gap:7px}.repertoire-coach__records article>div:first-child{align-items:flex-start;flex-direction:column}.repertoire-coach__records strong{overflow-wrap:anywhere;font-size:10px}.repertoire-coach__records span{color:var(--muted);font-size:8px}.repertoire-coach__empty{min-height:150px;display:grid;place-content:center;justify-items:center;gap:6px;color:var(--muted);text-align:center;font-size:9px}.library-usage{padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.library-usage .library-health__section-heading p{max-width:650px;margin:4px 0 0;color:var(--muted);font-size:9px}.library-usage__totals{margin:12px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.library-usage__totals>div{padding:10px;display:grid;gap:2px;border-radius:7px;background:var(--surface-soft)}.library-usage__totals strong{font-size:18px}.library-usage__totals span{color:var(--muted);font-size:8px}.library-usage__findings{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.library-usage__findings article{padding:10px;display:grid;grid-template-columns:1fr auto;align-content:start;gap:5px 10px;border:1px solid var(--line);border-radius:7px}.library-usage__findings article>div{display:grid;gap:2px}.library-usage__findings strong{font-size:9px}.library-usage__findings li,.library-usage__findings span,.library-usage__findings summary{color:var(--muted);font-size:8px}.library-usage__findings b{font-size:16px}.library-usage__findings details{grid-column:1/-1}.library-usage__findings summary{cursor:pointer}.library-usage__findings ul{margin:6px 0 0;padding-left:16px;column-count:2}@media (max-width:720px){.repertoire-coach{border-radius:0}.repertoire-coach,:root[data-workspace-readability=large] .modal.repertoire-coach{width:100vw;max-height:100dvh}.repertoire-coach__body{max-height:calc(100dvh - 104px);padding:12px;grid-template-columns:1fr}.repertoire-coach__header{padding:14px}.repertoire-coach__records article,.repertoire-coach__section-heading{align-items:stretch;flex-direction:column}.repertoire-coach__records article>div:last-child{justify-content:flex-end}.repertoire-line-completion__choices{max-width:calc(100vw - 48px)}.library-usage__findings,.library-usage__totals{grid-template-columns:1fr}.library-usage__findings ul{column-count:1}}.library-index-backdrop{position:fixed;inset:0;padding:24px;display:grid;place-items:center;background:rgba(29,37,32,.3)}.library-index{width:min(1050px,100%);height:min(900px,100%);display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.library-index__toolbar{padding:15px 18px;display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line)}.library-index__toolbar>div{margin-right:auto}.library-index__toolbar h2,.library-index__toolbar p{margin:3px 0 0}.library-index__toolbar p{color:var(--muted);font-size:11px}.library-index__toolbar label{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700}.library-index__document{padding:34px 40px 60px;color:#20221f;background:#fff;overflow:auto}.library-index__document>header{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid #20221f}.library-index__document h1{margin:5px 0 16px;font:600 30px/1.1 Georgia,serif}.library-index__document>header>div:last-child{display:grid;align-content:end;justify-items:end;gap:4px;padding-bottom:16px;font-size:11px}.library-index__summary{margin:18px 0 28px;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.library-index__summary>div{padding:10px;display:grid;border:1px solid #d9ddd7}.library-index__summary>div strong{font-size:18px}.library-index__summary p,.library-index__summary>div span{color:#5e655c;font-size:10px}.library-index__summary p{grid-column:1/-1;margin:2px 0 0}.library-index__document>h2{margin:28px 0 10px;font:600 21px/1.2 Georgia,serif}.library-index__items{columns:360px 2;column-gap:18px}.library-index__item{margin:0 0 10px;padding:10px 11px;display:inline-block;width:100%;border:1px solid #d9ddd7;border-radius:6px;break-inside:avoid;font-size:9px}.library-index__item>header{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.library-index__item h3{margin:0;font-size:12px}.library-index__item header div>span,.library-index__item header>span{color:#5e655c;font-size:8px}.library-index__item header>span{white-space:nowrap}.library-index__item header>span[data-status=approved]{color:#2f6941}.library-index__item p{margin:6px 0 0}.library-index__item ol,.library-index__item ul{margin:6px 0 0;padding-left:16px}.library-index__item li{margin:2px 0}.library-index__item li>small,.library-index__item li>span{color:#5e655c}.library-index__document>footer{margin-top:28px;padding-top:10px;border-top:1px solid #d9ddd7;color:#5e655c;font-size:9px}@media (max-width:800px){.library-package-dialog{border-radius:0}.library-package-dialog,:root[data-workspace-readability=large] .modal.library-package-dialog{width:100%;height:100%;max-height:none}.library-package-export__columns,.library-package-import{grid-template-columns:1fr}.library-package-export__columns{overflow:auto}.library-package-export__columns>section{min-height:230px}.library-package-import__items{max-height:180px;border-right:0;border-bottom:1px solid var(--line)}.library-package-import__review{min-height:0}.library-package-granular__fields,.library-package-granular__sections>article,.library-package-import__columns{grid-template-columns:1fr}.library-package-granular__options{grid-column:1}.library-package-granular__options label{grid-template-columns:1fr}.library-package-import__columns>svg{display:none}.library-package-dialog__footer{flex-wrap:wrap}.library-index-backdrop{padding:0}.library-index{width:100%;height:100%;border-radius:0}.library-index__toolbar{flex-wrap:wrap}.library-index__toolbar>div{width:calc(100% - 44px)}.library-index__document{padding:24px 18px 50px}.library-index__items{column-count:1}}@media print{body *{visibility:hidden!important}.library-index,.library-index *{visibility:visible!important}.library-index-backdrop{position:static;display:block;padding:0;background:#fff}.library-index{width:auto;height:auto;display:block;border:0;box-shadow:none;overflow:visible}.library-index__toolbar{display:none}.library-index__document{padding:0;overflow:visible}}@media (max-width:800px){.topbar-actions{justify-content:flex-end;overflow:visible}}@media (max-width:520px){:root[data-workspace-readability=large] .topbar-actions .command-button{width:46px;padding:0;flex:0 0 46px;justify-content:center;font-size:0}:root[data-workspace-readability=large] .topbar-actions .command-button kbd{display:none}.inference-summary{padding-inline:12px;flex-wrap:nowrap;gap:5px}.inference-summary>strong{display:none}.inference-summary>span{padding-inline:5px;white-space:nowrap}.inference-summary__actions{flex:0 0 auto;gap:4px}}:where(.template-library,.reusable-library,.library-review,.library-readiness,.template-studio,.template-changes,.template-migration,.library-index){width:min(1420px,calc(100vw - 32px));height:min(880px,calc(100dvh - 40px));max-height:calc(100dvh - 40px)}.template-studio__body{padding:24px 28px 34px}.template-studio__basics{grid-template-columns:minmax(260px,1.2fr) minmax(180px,.65fr) minmax(320px,1.5fr);gap:16px}.reusable-editor__choice-aliases,.template-studio label,.template-studio__option-aliases{font-size:12px}.template-studio label small,.template-studio__header p,.template-studio__recognition-warning,.template-studio__required-variables>p{font-size:11px}.reusable-editor__choice-aliases input,.template-rich-text__editor,.template-studio input,.template-studio select,.template-studio textarea,.template-studio__option-aliases input{font-size:13px}.template-studio__section{padding:18px}.template-studio__required-variables legend,.template-studio__section-top>span{font-size:10px}.template-studio__section-shared-actions .template-studio__required-toggle{width:auto;min-height:28px;margin:0;padding:0 8px;flex-direction:row;gap:6px;border:1px solid var(--line);border-radius:7px;background:var(--surface);font-size:11px;font-weight:700}.template-studio__section-shared-actions .template-studio__required-toggle input[type=checkbox]{width:15px;min-width:15px;height:15px;min-height:15px;flex-basis:15px}.template-studio__footer{position:sticky;bottom:0;z-index:3}.quick-start-coach{width:min(370px,calc(100vw - 24px));position:fixed;right:16px;bottom:16px;z-index:112;overflow:hidden;border:1px solid var(--sage-300);border-radius:14px;color:var(--ink);background:var(--surface-raised);box-shadow:0 20px 64px rgba(23,34,27,.26)}.quick-start-coach>header{min-height:45px;padding:9px 11px 9px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--sage-50)}.quick-start-coach>header>div,.quick-start-coach__body>div{display:flex;align-items:center;gap:8px}.quick-start-coach>header button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:7px;color:var(--muted);background:transparent;cursor:pointer}.quick-start-coach__body{padding:20px}.quick-start-coach__body>svg{color:var(--sage-700)}.quick-start-coach__body h2{margin:8px 0 6px;font-family:Georgia,Times New Roman,serif;font-size:21px;font-weight:500}.quick-start-coach__body p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.quick-start-coach__body>button{margin-top:14px}.quick-start-coach__success{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:var(--on-accent);background:var(--sage-700)}.quick-start-coach__body--complete>div{margin-top:16px;flex-wrap:wrap}.quick-start-coach__body--complete a{color:var(--sage-700);font-size:12px;font-weight:800}.quick-start-coach>footer{padding:10px 14px;display:flex;justify-content:flex-end;border-top:1px solid var(--line-soft)}.quick-start-coach>footer button{border:0;color:var(--muted);background:transparent;font-size:11px;font-weight:750;cursor:pointer}@media (max-width:520px){.quick-start-coach{width:calc(100vw - 16px);right:8px;bottom:8px}}:is(.template-library,.reusable-library,.library-review,.library-readiness,.template-studio,.template-changes,.template-migration,.library-index){width:min(1420px,calc(100vw - 24px));max-width:none;height:min(880px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)}:is(.reusable-library-backdrop,.review-backdrop,.readiness-backdrop,.template-backdrop,.template-studio-backdrop,.template-changes-backdrop){padding:12px}.editor-toolbar-shell>div{min-width:0}.editor-toolbar-actions,.editor-toolbar-toggle{display:none}.inference-detail span:has(>.brand-icon),.inference-details__heading strong,.repertoire-coach dd:has(>.brand-icon),.section-heading p:has(>.brand-icon){align-items:center;gap:4px}.inference-detail span:has(>.brand-icon),.inference-details__heading strong,.repertoire-coach dd:has(>.brand-icon){display:inline-flex}.section-heading p>.brand-icon{display:inline-block;margin:0 2px -3px}.template-studio__linked-content{margin-top:18px;padding:16px;display:grid;grid-template-columns:minmax(220px,.7fr) minmax(280px,1.3fr);gap:20px;border:1px solid var(--sage-300);border-radius:12px;background:var(--sage-50)}.template-studio__linked-content h3{margin:4px 0 5px;font-family:Georgia,Times New Roman,serif;font-size:18px;font-weight:500}.template-studio__linked-content p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}.template-studio__linked-content>div:last-child{display:grid;align-content:start;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.template-studio__linked-content button{min-width:0;min-height:40px;padding:8px 10px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid var(--sage-300);border-radius:8px;color:var(--sage-800);background:var(--surface);font:inherit;font-size:11px;font-weight:750;text-align:left;cursor:pointer}.template-studio__linked-content button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-studio__linked-content button:focus-visible,.template-studio__linked-content button:hover{background:var(--sage-100)}.template-studio__section-name-row{max-width:510px;margin-bottom:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px}.template-studio .template-studio__section-name-row .template-studio__section-name{width:100%;margin:0}.template-studio .template-studio__section-name-row .template-studio__required-toggle{width:auto;min-height:37px;margin:0;padding:0 10px;flex-direction:row;align-items:center;gap:7px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font-size:11px;white-space:nowrap}.template-studio .template-studio__section-name-row .template-studio__required-toggle input{width:16px;min-width:16px;height:16px;min-height:16px;flex-basis:16px}.workspace-shortcuts__templates button{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-50)}.workspace-shortcuts__templates button:hover{border-color:var(--sage-600);background:var(--sage-100)}.template-favorite-button.active,.template-favorite-button:hover{color:var(--sage-800);background:var(--sage-100)}.workspace-header-menu__formatting-action,.workspace-header-menu__note-action,.workspace-header-menu__note-actions-label{display:none!important}:root[data-workspace-readability=large] :is(.template-library__footer,.library-review__footer,.template-studio__footer,.template-migration__footer,.library-package-dialog__footer,.reusable-editor__actions){min-width:0;height:auto;flex-wrap:wrap}:root[data-workspace-readability=large] .template-studio__footer>:where(.button-primary,.button-secondary),:root[data-workspace-readability=large] .template-studio__restore-button{min-width:132px;flex:1 1 132px;white-space:normal}@media (max-width:700px){.editor-toolbar-shell{position:sticky;top:116px;z-index:20;border-bottom:1px solid var(--line);background:var(--surface-soft)}.editor-toolbar-actions{display:flex;align-items:stretch}.editor-repertoire-line-trigger,.editor-toolbar-toggle{min-width:0;min-height:42px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;color:var(--sage-800);background:var(--surface-soft);font-size:11px;font-weight:750;cursor:pointer}.editor-repertoire-line-trigger{flex:1.2 1 0;border-right:1px solid var(--line-soft);background:var(--sage-50)}.editor-toolbar-toggle{flex:1 1 0}.editor-repertoire-line-trigger:focus-visible,.editor-repertoire-line-trigger:hover,.editor-toolbar-toggle:focus-visible,.editor-toolbar-toggle:hover{background:var(--sage-100)}.editor-toolbar-shell>#clinical-editor-formatting-tools{display:none}.editor-toolbar-shell[data-open=true]>#clinical-editor-formatting-tools{display:block}.editor-toolbar-shell .editor-toolbar{position:static;top:auto;min-height:48px;border-top:1px solid var(--line-soft)}.template-studio__linked-content{grid-template-columns:1fr}}@media (max-width:600px){.topbar{min-height:58px;height:58px;padding:0 9px;grid-template-columns:minmax(0,1fr) auto;gap:8px}.brand{min-width:0}.brand small,.topbar-actions kbd{display:none}.mobile-data-boundary{display:block}:root[data-workspace-readability=large] .brand small{display:none}:root[data-workspace-readability=large] .mobile-data-boundary{display:block}.brand-copy{min-width:0}.brand-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{width:auto;margin:0;padding:0;gap:4px;justify-content:flex-end;overflow:visible}.topbar-actions .command-button{width:38px;min-width:38px;height:38px;padding:0;flex:0 0 38px;justify-content:center;font-size:0}.mobile-workflow-nav{top:58px}.explorer-pane,.note-pane,.workspace{min-height:calc(100dvh - 116px)}.editor-canvas{min-height:calc(100dvh - 158px)}:root[data-workspace-readability=large] .topbar{min-height:66px;height:66px;padding:0 9px;grid-template-columns:minmax(0,1fr) auto;align-content:normal;gap:8px}:root[data-workspace-readability=large] .topbar-actions{width:auto;margin:0;padding:0;justify-content:flex-end;overflow:visible}:root[data-workspace-readability=large] .mobile-workflow-nav{top:66px}:root[data-workspace-readability=large] .editor-toolbar-shell{top:132px}}@media (max-width:430px){.topbar-actions>.command-button{display:none}.topbar-actions>.copy-note-button,.topbar-actions>.reset-draft-button{display:flex}.workspace-header-menu__note-actions-label{display:block!important}.workspace-header-menu__note-action{display:grid!important}.workspace-header-menu__reset-action{display:none!important}.workspace-header-menu__panel{width:min(270px,calc(100vw - 18px));position:fixed;top:66px;right:9px;left:auto}:root[data-workspace-readability=large] .topbar{padding:0 9px;grid-template-columns:minmax(0,1fr) auto;gap:8px}:root[data-workspace-readability=large] .topbar-actions{width:auto;margin:0;padding:0;justify-content:flex-end;overflow:visible}.editor-canvas{padding:18px 12px calc(52px + env(safe-area-inset-bottom))}.clinical-editor{min-height:calc(100dvh - 212px)}.template-studio__section-name-row{grid-template-columns:1fr}.template-studio .template-studio__section-name-row .template-studio__required-toggle{width:max-content}}@media (max-width:520px){.app-shell[data-floating-workspace=true] .editor-repertoire-line-trigger,.app-shell[data-floating-workspace=true] .editor-toolbar-shell[data-open=false]{display:none}.app-shell[data-floating-workspace=true] .editor-toolbar-toggle{width:100%;flex-basis:100%}.workspace-header-menu__formatting-action{display:grid!important}.onboarding-wizard,:root[data-workspace-readability=large] .onboarding-wizard{width:calc(100vw - 16px);height:calc(100dvh - 16px);min-height:0;max-height:calc(100dvh - 16px)}.onboarding-header,:root[data-workspace-readability=large] .onboarding-header{min-height:48px;padding:9px 12px 5px}.onboarding-body,:root[data-workspace-readability=large] .onboarding-body{min-height:0;padding:8px 18px 20px;overflow-y:auto}.onboarding-footer,:root[data-workspace-readability=large] .onboarding-footer{min-height:64px;padding:10px 12px;flex-wrap:wrap}}@media (max-width:340px){.brand-copy{display:none}.mobile-workflow-nav,.topbar{padding-inline:6px}.mobile-workflow-nav button{padding-inline:7px}.editor-canvas{padding-inline:9px}}.app-shell[data-floating-workspace=true] .topbar-actions>.command-button,.app-shell[data-minimal-workspace=true] .topbar-actions>.command-button{display:none}.app-shell[data-minimal-workspace=true]{width:auto;height:auto;min-height:0;position:fixed;inset:0;overflow:hidden;overscroll-behavior:none;background:var(--topbar-surface)}.app-shell[data-minimal-workspace=true]>:not(.topbar){display:none!important}.app-shell[data-minimal-workspace=true] .topbar{width:100%;height:68px;padding:0 8px;position:static;display:grid;grid-template-columns:auto minmax(120px,1fr) auto;align-items:center;gap:8px}.app-shell[data-minimal-workspace=true] .brand{min-width:48px;gap:0}.app-shell[data-minimal-workspace=true] .brand-copy,.app-shell[data-minimal-workspace=true] .theme-picker{display:none}.app-shell[data-minimal-workspace=true] .compact-repertoire-line-trigger{width:48px;height:48px;padding:2px;display:grid;place-items:center;border:0;border-radius:12px;background:transparent;cursor:pointer}.app-shell[data-minimal-workspace=true] .compact-repertoire-line-trigger .brand-mark{width:44px;height:44px}.app-shell[data-minimal-workspace=true] .compact-repertoire-line-trigger:focus-visible,.app-shell[data-minimal-workspace=true] .compact-repertoire-line-trigger:hover{background:var(--sage-100)}.app-shell[data-minimal-workspace=true] .floating-workspace-minimal-line{min-width:0;display:block;position:relative}.app-shell[data-minimal-workspace=true] .floating-workspace-minimal-line input{width:100%;height:42px;padding:0 13px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--surface);font-family:Georgia,Times New Roman,serif;font-size:15px}.app-shell[data-minimal-workspace=true] .floating-workspace-minimal-line input::placeholder{color:var(--muted);opacity:.8}.minimal-line-structure-ghost{position:absolute;inset:1px;left:0;z-index:90;min-width:0;padding:0 12px;display:flex;align-items:center;gap:6px;overflow:hidden;pointer-events:none;color:var(--muted);background:var(--surface);border-radius:9px;font-family:Georgia,Times New Roman,serif;font-size:13px;font-style:italic;white-space:nowrap}.minimal-line-input--structure{color:transparent!important;caret-color:transparent!important}.minimal-line-structure-ghost__option{min-width:0;flex:1;display:flex;align-items:baseline;gap:6px;overflow:hidden;padding:0;border:0;background:transparent;font:inherit;text-align:left;pointer-events:auto}.minimal-line-choice-hint{gap:4px;position:absolute;right:6px;top:6px;padding:6px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--muted);font-size:10px}.floating-workspace-minimal-line input[data-choice-hint=true]{padding-right:104px}.minimal-line-structure-ghost__option i{overflow:hidden;color:var(--muted);text-overflow:ellipsis}.minimal-line-structure-ghost__option em{flex:0 0 auto;color:var(--faint);font-family:ui-sans-serif,system-ui,sans-serif;font-size:8px;font-style:normal;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.minimal-line-structure-ghost__option em[data-status=active]{color:var(--sage-700)}.minimal-line-structure-ghost__option em[data-status=default]{color:var(--amber)}.minimal-line-structure-ghost>small{flex:0 0 auto;color:var(--faint);font-family:ui-sans-serif,system-ui,sans-serif;font-size:8px;font-style:normal}.app-shell[data-minimal-workspace=true] .topbar-actions{gap:6px}.app-shell[data-minimal-workspace=true] .workspace-view-menu{order:1}.app-shell[data-minimal-workspace=true] .reset-draft-button{order:2}.app-shell[data-minimal-workspace=true] .compact-problem-arrow,.app-shell[data-minimal-workspace=true]:not([data-floating-workspace=true]) .workspace-view-menu,.app-shell[data-quick-line-workspace=true] .workspace-view-menu{display:none}.app-shell[data-minimal-workspace=true] .topbar-actions .workspace-view-menu__trigger{width:44px;min-width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;gap:0;font-size:0}.app-shell[data-minimal-workspace=true] .workspace-view-menu__trigger svg{display:block;flex:0 0 auto;transform:translate(-1px,-1px)}.app-shell[data-minimal-workspace=true] .copy-note-button,.app-shell[data-minimal-workspace=true] .reset-draft-button{width:44px;min-width:44px;height:44px;padding:0;justify-content:center;font-size:0}.app-shell[data-minimal-workspace=true] .reset-draft-button{position:relative}.compact-session-content-indicator{width:7px;height:7px;position:absolute;top:4px;right:4px;border:2px solid var(--topbar-surface);border-radius:50%;background:var(--amber);box-sizing:content-box}.app-shell[data-minimal-workspace=true] .reset-draft-button kbd{display:none}.app-shell[data-floating-workspace=true] .topbar-actions>.reset-draft-button,.app-shell[data-minimal-workspace=true] .topbar-actions>.reset-draft-button,.app-shell[data-minimal-workspace=true]:not([data-quick-line-workspace=true]) .topbar-actions>.copy-note-button{display:flex}.app-shell[data-minimal-workspace=true] .workspace-header-menu{display:none}.app-shell[data-floating-workspace=true] .workspace-header-menu__note-actions-label{display:block!important}.app-shell[data-floating-workspace=true] .workspace-header-menu__note-action{display:grid!important}.app-shell[data-floating-workspace=true] .workspace-header-menu__reset-action{display:none!important}.app-shell[data-floating-workspace=true] .editor-toolbar-shell{position:sticky;top:120px;z-index:20;border-bottom:1px solid var(--line);background:var(--surface-soft)}.app-shell[data-floating-workspace=true] .editor-toolbar-toggle{width:100%;min-height:42px;padding:0 12px;display:flex;align-items:center;gap:7px;border:0;color:var(--sage-800);background:var(--surface-soft);font-size:11px;font-weight:750;cursor:pointer}.app-shell[data-floating-workspace=true] .editor-toolbar-shell>div{display:none}.app-shell[data-floating-workspace=true] .editor-toolbar-shell[data-open=true]>div{display:block}.app-shell[data-floating-workspace=true] .editor-toolbar-shell .editor-toolbar{position:static;top:auto}.demo-walkthrough[data-side=left],.demo-walkthrough__resume[data-side=left]{right:auto;left:18px}.demo-walkthrough__header>div:first-child{min-width:0}.demo-walkthrough__header>div:last-child{flex:0 0 auto}.canonical-composer:focus{border-color:var(--sage-600);outline:3px solid var(--focus-ring);outline-offset:2px;box-shadow:0 10px 28px rgba(47,81,57,.14)}.compact-problem-arrow{display:none}.library-readiness__header{grid-template-columns:minmax(240px,1fr) auto}.library-health__metrics{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.library-health__issue-list{grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr))}.library-health__assessment{flex-wrap:wrap}.template-studio__linked-content{margin:0 0 20px;grid-template-columns:minmax(200px,260px) minmax(0,1fr);align-items:start;gap:16px}.template-studio__linked-content>div:last-child{grid-template-columns:repeat(auto-fit,minmax(200px,260px));justify-content:start}@media (max-width:760px){.demo-walkthrough[data-side=left],.demo-walkthrough__resume[data-side=left]{right:auto;left:8px}.library-readiness__header{grid-template-columns:minmax(0,1fr) auto}}@media (max-width:700px){.template-studio__linked-content{grid-template-columns:1fr}.template-studio__linked-content>div:last-child{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}}@media (max-width:430px){.canonical-composer__top{align-items:flex-start;flex-wrap:wrap;gap:7px}.canonical-composer__top-actions{width:100%;justify-content:flex-end}.canonical-composer__next{margin-right:auto}}@media (max-width:520px){.app-shell[data-floating-workspace=true] .theme-picker{display:none}.app-shell[data-floating-workspace=true] .compact-repertoire-line-trigger{width:38px;height:38px;padding:2px;display:grid;place-items:center;border:0;border-radius:11px;background:transparent;cursor:pointer}.app-shell[data-floating-workspace=true] .compact-repertoire-line-trigger:focus-visible,.app-shell[data-floating-workspace=true] .compact-repertoire-line-trigger:hover{background:var(--sage-100)}.app-shell[data-floating-workspace=true] .compact-problem-arrow{width:34px;min-width:34px;height:38px;padding:0;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;color:var(--sage-800);background:var(--surface);cursor:pointer}.app-shell[data-floating-workspace=true] .compact-problem-arrow:focus-visible,.app-shell[data-floating-workspace=true] .compact-problem-arrow:hover{border-color:var(--sage-600);background:var(--sage-100)}.app-shell[data-floating-workspace=true] .explorer-pane .pane-heading{display:none}.app-shell[data-floating-workspace=true] .problem-list{padding:8px}.app-shell[data-floating-workspace=true] .problem-list>.canonical-composer:not([data-compact-active=true]){display:none}.app-shell[data-floating-workspace=true] .problem-list>.canonical-composer[data-compact-active=true]{margin-bottom:8px;scroll-margin-top:124px}.app-shell[data-floating-workspace=true] .canonical-composer__top-actions{width:auto}.app-shell[data-floating-workspace=true] .canonical-composer__next,.app-shell[data-floating-workspace=true] .canonical-composer__top-actions>button:not(.icon-button),:root[data-workspace-readability=large] .app-shell[data-floating-workspace=true] .brand-copy{display:none}:root[data-workspace-readability=large] .app-shell[data-floating-workspace=true] .brand{min-width:42px;gap:0}:root[data-workspace-readability=large] .app-shell[data-floating-workspace=true] .compact-repertoire-line-trigger{width:42px;min-width:42px;height:42px;min-height:42px}:root[data-workspace-readability=large] .app-shell[data-floating-workspace=true] .compact-repertoire-line-trigger .brand-mark{width:34px;height:34px}:root[data-workspace-readability=large] .app-shell[data-floating-workspace=true] .problem-list{padding:10px}:root[data-workspace-readability=large] .app-shell[data-floating-workspace=true] .canonical-composer{padding:16px}:root[data-workspace-readability=large] .app-shell[data-floating-workspace=true] .canonical-composer__status{min-width:0;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}:root[data-workspace-readability=large] .app-shell[data-floating-workspace=true] .canonical-composer__more>button,:root[data-workspace-readability=large] .app-shell[data-floating-workspace=true] .canonical-composer__top-actions>button{width:34px;min-width:34px;height:34px;min-height:34px}:root[data-workspace-readability=large] .app-shell[data-floating-workspace=true] .canonical-composer__body>p{font-size:12px;line-height:1.45}}@media (min-width:1200px) and (hover:hover) and (pointer:fine){.app-shell:not([data-floating-workspace=true]) .canonical-composer__top-actions .canonical-composer__collapse-button{display:grid}.app-shell:not([data-floating-workspace=true]) .canonical-composer[data-stacked-expanded=false]{padding:0;overflow:hidden}.app-shell:not([data-floating-workspace=true]) .canonical-composer[data-stacked-expanded=false] .canonical-composer__stacked-summary{width:100%;min-height:54px;padding:9px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:10px;border:0;color:var(--ink);background:transparent;text-align:left;cursor:pointer}.app-shell:not([data-floating-workspace=true]) .canonical-composer[data-stacked-expanded=false] .canonical-composer__stacked-summary:focus-visible,.app-shell:not([data-floating-workspace=true]) .canonical-composer[data-stacked-expanded=false] .canonical-composer__stacked-summary:hover{background:var(--sage-100)}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary>span{min-width:0;display:flex;align-items:baseline;gap:9px}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary b{flex:0 0 auto;color:var(--sage-700);font-size:8px;letter-spacing:.09em;text-transform:uppercase}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary strong{overflow:hidden;font-family:Georgia,Times New Roman,serif;font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary small{color:var(--muted);font-size:9px;white-space:nowrap}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary>svg{color:var(--sage-700)}.app-shell:not([data-floating-workspace=true]) .canonical-composer[data-stacked-expanded=false] .canonical-composer__body{display:none}}@media (min-width:701px) and (max-width:1199px) and (hover:hover) and (pointer:fine){.app-shell:not([data-floating-workspace=true]){--stacked-shell-header:68px;--stacked-note-header:50px}.app-shell:not([data-floating-workspace=true]) .mobile-workflow-nav{display:none}.app-shell:not([data-floating-workspace=true]) .problem-jump-nav{position:static}.app-shell:not([data-floating-workspace=true]) .brand-copy{display:none}.app-shell:not([data-floating-workspace=true]) .workspace{min-height:calc(100dvh - var(--stacked-shell-header));display:flex;flex-direction:column}.app-shell:not([data-floating-workspace=true]) :is(.note-pane,.explorer-pane){width:100%;display:block!important}.app-shell:not([data-floating-workspace=true]) .note-pane{height:clamp(300px,42dvh,400px);min-height:300px;order:1;overflow-y:auto;border-bottom:1px solid var(--line)}.app-shell:not([data-floating-workspace=true]) .workspace[data-stacked-note=expanded] .note-pane{height:auto;min-height:calc(100dvh - var(--stacked-shell-header));overflow:visible}.app-shell:not([data-floating-workspace=true]) .explorer-pane{min-height:360px;order:2;border-top:10px solid var(--shell);border-right:0;box-shadow:inset 0 1px var(--line)}.app-shell:not([data-floating-workspace=true]) .note-heading{min-height:var(--stacked-note-header);padding:7px 28px;position:sticky;top:0;z-index:24;display:flex;justify-content:flex-start;gap:7px;background:var(--surface-soft)}.app-shell:not([data-floating-workspace=true]) .workspace[data-stacked-note=expanded] .note-heading{position:sticky;top:var(--stacked-shell-header);z-index:24}.app-shell:not([data-floating-workspace=true]) .document-trust,.app-shell:not([data-floating-workspace=true]) .explorer-pane .pane-heading,.app-shell:not([data-floating-workspace=true]) .note-heading .eyebrow{display:none}.app-shell:not([data-floating-workspace=true]) .starting-note-menu h2{margin:0;font-size:16px}.app-shell:not([data-floating-workspace=true]) .note-heading>div:first-child{min-width:0;margin-right:auto}.app-shell:not([data-floating-workspace=true]) .note-heading-formatting-host{position:relative;flex:0 0 auto}.app-shell:not([data-floating-workspace=true]) .note-heading-formatting-host .editor-toolbar-actions{display:flex}.app-shell:not([data-floating-workspace=true]) .note-heading-formatting-host .editor-repertoire-line-trigger{display:none}.app-shell:not([data-floating-workspace=true]) .note-heading-formatting-host .editor-toolbar-toggle{width:32px;min-width:32px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;gap:0;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--surface);font-size:0;cursor:pointer}.app-shell:not([data-floating-workspace=true]) .note-heading-formatting-host .editor-toolbar-toggle:focus-visible,.app-shell:not([data-floating-workspace=true]) .note-heading-formatting-host .editor-toolbar-toggle:hover{border-color:var(--sage-300);color:var(--sage-800);background:var(--sage-50)}.app-shell:not([data-floating-workspace=true]) .note-heading-formatting-host .editor-toolbar-shell>#clinical-editor-formatting-tools{display:none}.app-shell:not([data-floating-workspace=true]) .note-heading-formatting-host .editor-toolbar-shell[data-open=true]>#clinical-editor-formatting-tools{width:max-content;max-width:calc(100vw - 56px);position:absolute;top:calc(100% + 7px);right:0;z-index:40;display:block;overflow-x:auto;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.app-shell:not([data-floating-workspace=true]) .note-heading-formatting-host .editor-toolbar{position:static;border:0;border-radius:9px}.app-shell:not([data-floating-workspace=true]) .starting-note-actions button{width:32px;min-width:32px;min-height:32px;padding:0;justify-content:center;gap:0;font-size:0}.app-shell:not([data-floating-workspace=true]) :is(.note-heading-formatting-host .editor-toolbar-toggle,.starting-note-actions button)>svg{display:block;flex:0 0 auto;margin:0}.app-shell:not([data-floating-workspace=true]) .editor-shell{margin-top:12px}.app-shell:not([data-floating-workspace=true]) .problem-list{padding:9px 12px 18px}.app-shell:not([data-floating-workspace=true]) .canonical-composer{margin-bottom:8px;padding:0;scroll-margin-top:calc(var(--stacked-shell-header) + 8px);overflow:hidden}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary{width:100%;min-height:54px;padding:9px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:10px;border:0;color:var(--ink);background:transparent;text-align:left;cursor:pointer}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary:focus-visible,.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary:hover{background:var(--sage-100)}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary>span{min-width:0;display:flex;align-items:baseline;gap:9px}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary b{flex:0 0 auto;color:var(--sage-700);font-size:8px;letter-spacing:.09em;text-transform:uppercase}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary strong{overflow:hidden;font-family:Georgia,Times New Roman,serif;font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary small{color:var(--muted);font-size:9px;white-space:nowrap}.app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary>svg{color:var(--sage-700)}.app-shell:not([data-floating-workspace=true]) .canonical-composer[data-stacked-expanded=false] .canonical-composer__body{display:none}.app-shell:not([data-floating-workspace=true]) .canonical-composer__body{padding:2px 12px 13px;border-top:1px solid var(--sage-300)}.app-shell:not([data-floating-workspace=true]) .starting-note-actions .stacked-note-toggle{display:inline-flex}.app-shell:not([data-floating-workspace=true]) .workspace[data-stacked-note=compact] .editor-toolbar{position:sticky;top:var(--stacked-note-header);z-index:20}.app-shell:not([data-floating-workspace=true]) .workspace[data-stacked-note=expanded] .editor-toolbar{position:sticky;top:calc(var(--stacked-shell-header) + var(--stacked-note-header));z-index:20}.app-shell:not([data-floating-workspace=true]) :is(.editor-shell,.note-footer,.editor-loading){width:min(900px,calc(100% - 32px))}.app-shell:not([data-floating-workspace=true]) .editor-canvas{padding-left:56px;padding-right:56px}:root[data-workspace-readability=large] .app-shell:not([data-floating-workspace=true]){--stacked-shell-header:78px;--stacked-note-header:60px}:root[data-workspace-readability=large] .app-shell:not([data-floating-workspace=true]) .workspace[data-stacked-note=compact] .note-pane{height:clamp(480px,58dvh,620px);min-height:480px}:root[data-workspace-readability=large] .app-shell:not([data-floating-workspace=true]) .explorer-pane{min-height:540px}:root[data-workspace-readability=large] .app-shell:not([data-floating-workspace=true]) .starting-note-menu h2{font-size:20px}:root[data-workspace-readability=large] .app-shell:not([data-floating-workspace=true]) .note-heading-formatting-host .editor-toolbar-toggle,:root[data-workspace-readability=large] .app-shell:not([data-floating-workspace=true]) .starting-note-actions button{width:44px;min-width:44px;height:44px;min-height:44px}:root[data-workspace-readability=large] .app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary{min-height:68px;padding:12px 15px;grid-template-columns:minmax(0,1fr) auto 22px;gap:12px}:root[data-workspace-readability=large] .app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary b{font-size:11px}:root[data-workspace-readability=large] .app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary strong{font-size:18px}:root[data-workspace-readability=large] .app-shell:not([data-floating-workspace=true]) .canonical-composer__stacked-summary small{font-size:12px}}@media (min-width:701px) and (max-width:800px) and (hover:hover) and (pointer:fine){.app-shell:not([data-floating-workspace=true]){--stacked-shell-header:62px}:root[data-workspace-readability=large] .app-shell:not([data-floating-workspace=true]){--stacked-shell-header:78px}}.app-shell[data-quick-line-workspace=true]{min-height:52px}.app-shell[data-quick-line-workspace=true] .topbar{height:52px;padding:0 6px;grid-template-columns:36px minmax(0,1fr) 32px;gap:8px}.app-shell[data-quick-line-workspace=true] .brand{min-width:36px}.app-shell[data-quick-line-workspace=true] .compact-repertoire-line-trigger{width:36px;min-width:36px;height:36px;min-height:36px;border-radius:9px}.app-shell[data-quick-line-workspace=true] .compact-repertoire-line-trigger .brand-mark{width:34px;height:34px}.app-shell[data-quick-line-workspace=true] .floating-workspace-minimal-line input{height:36px;min-width:0;min-height:36px;padding:0 8px;border-radius:8px;font-size:13px}.app-shell[data-quick-line-workspace=true] .topbar-actions{gap:0}.app-shell[data-quick-line-workspace=true] .topbar-actions>:not(.reset-draft-button),.app-shell[data-quick-line-workspace=true] .workspace-header-menu{display:none}.app-shell[data-quick-line-workspace=true] .topbar-actions>.reset-draft-button{width:32px;min-width:32px;height:36px;min-height:36px;padding:0;flex:0 0 32px;display:flex;align-items:center;justify-content:center;gap:0;border:0;border-radius:8px;background:transparent;box-shadow:none;font-size:0}.app-shell[data-quick-line-workspace=true] .topbar-actions>.reset-draft-button:focus-visible,.app-shell[data-quick-line-workspace=true] .topbar-actions>.reset-draft-button:hover{color:var(--danger-ink);background:var(--danger-bg)}.app-shell[data-quick-line-workspace=true] .topbar-actions>.reset-draft-button svg{width:18px;height:18px}:root[data-workspace-readability=large] .app-shell[data-quick-line-workspace=true] .topbar{min-height:52px}:root[data-workspace-readability=large] .app-shell[data-quick-line-workspace=true] .compact-repertoire-line-trigger{width:36px;min-width:36px;height:36px;min-height:36px}@media (max-width:320px) and (max-height:180px){.app-shell[data-minimal-workspace=true]:not([data-quick-line-workspace=true]){min-height:52px}.app-shell[data-minimal-workspace=true]:not([data-quick-line-workspace=true]) .topbar{height:52px;padding:0 4px;grid-template-columns:40px minmax(72px,1fr) auto;gap:4px}.app-shell[data-minimal-workspace=true]:not([data-quick-line-workspace=true]) .brand{min-width:40px}.app-shell[data-minimal-workspace=true]:not([data-quick-line-workspace=true]) .compact-repertoire-line-trigger{width:40px;height:40px}.app-shell[data-minimal-workspace=true]:not([data-quick-line-workspace=true]) .compact-repertoire-line-trigger .brand-mark{width:36px;height:36px}.app-shell[data-minimal-workspace=true]:not([data-quick-line-workspace=true]) .floating-workspace-minimal-line input{height:36px;padding:0 9px;font-size:13px}.app-shell[data-minimal-workspace=true]:not([data-quick-line-workspace=true]) .workspace-view-menu__trigger{width:36px;min-width:36px;height:40px}}.app-shell[data-minimal-workspace=true] .compact-problem-arrow,.app-shell[data-minimal-workspace=true]~.toast{display:none}.app-shell[data-minimal-workspace=true]:not([data-quick-line-workspace=true]) .compact-repertoire-line-trigger{transform:translateY(-5px)}body:has(.app-shell[data-minimal-workspace=true]),html:has(.app-shell[data-minimal-workspace=true]){width:100%;height:100%;overflow:hidden;overscroll-behavior:none;scrollbar-width:none}body:has(.app-shell[data-minimal-workspace=true])::-webkit-scrollbar,html:has(.app-shell[data-minimal-workspace=true])::-webkit-scrollbar{display:none}:root[data-workspace-readability=large] .today-main-nav,:root[data-workspace-readability=large] .today-mini,:root[data-workspace-readability=large] .today-page{font-size:16px}:root[data-workspace-readability=large] .today-page h1{font-size:34px}:root[data-workspace-readability=large] .today-page h2{font-size:25px}:root[data-workspace-readability=large] .today-page h3{font-size:21px}:root[data-workspace-readability=large] .today-mini :is(label,p),:root[data-workspace-readability=large] .today-mini__clocks span,:root[data-workspace-readability=large] .today-page :is(label,.today-muted,.today-list-row,table),:root[data-workspace-readability=large] :is(.today-backup-reminder,.today-bar,.today-metrics span){font-size:16px}:root[data-workspace-readability=large] .today-page .eyebrow{font-size:12px}:root[data-workspace-readability=large] .today-mini__clocks b{font-size:24px}:root[data-workspace-readability=large] .today-metrics b{font-size:28px}:root[data-workspace-readability=large] .today-focus-clock{font-size:38px}:root[data-workspace-readability=large] .today-main-nav button,:root[data-workspace-readability=large] .today-mini button,:root[data-workspace-readability=large] .today-page button,:root[data-workspace-readability=large] .today-tabs button{min-height:40px}.today-list-row>div,.today-mini__head>div{min-width:0}.today-mini__head>div{display:flex;flex-wrap:wrap;gap:.35rem}.today-page .today-form-grid>*,.today-page label{min-width:0}.today-page :is(input,select,textarea){max-width:100%}.today-mini__row label{min-width:0}.today-mini__row select{max-width:100%}.today-list-row>:first-child{min-width:0;overflow-wrap:anywhere}@media (max-width:600px){.today-page .today-list-row,.today-top{flex-wrap:wrap}.today-main-nav button{min-height:40px}}@media (max-width:360px){.today-inline-panel:not([hidden]){max-height:min(45dvh,285px);overflow-y:auto}.today-inline-panel .today-mini{padding:.4rem}.today-inline-panel .today-mini__clocks button,.today-inline-panel .today-mini__head,.today-inline-panel .today-mini__row{display:flex}.today-inline-panel .today-mini__head>strong,.today-inline-panel .today-mini__row>button{display:none}.today-inline-panel .today-mini__clocks>div{align-content:start}.today-inline-panel .today-mini__clocks button{justify-content:center}.today-inline-panel .today-mini__row label,.today-inline-panel .today-mini__row select{width:100%}:root[data-workspace-readability=large] .today-inline-panel .today-mini__clocks span{font-size:13px}:root[data-workspace-readability=large] .today-inline-panel .today-mini__clocks b{font-size:17px}.today-page .today-top{align-items:flex-start}}.companion-timer-picker{position:relative;z-index:35}.companion-timer-trigger{display:flex;align-items:center;gap:.35rem;max-width:12rem}.companion-timer-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.companion-timer-menu{position:absolute;right:0;top:calc(100% + .4rem);width:min(22rem,calc(100vw - 1rem));max-height:min(70dvh,36rem);overflow:auto;padding:.85rem;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 48px rgba(23,34,27,.18);background:var(--surface-raised);color:var(--ink);font-size:.8rem}.companion-timer-menu button{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;border:1px solid var(--line);border-radius:.5rem;background:var(--surface);color:var(--ink);padding:.35rem .5rem;cursor:pointer;font:inherit}.companion-timer-row{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.6rem 0;border-bottom:1px solid var(--line-soft)}.companion-timer-row span{display:flex;flex:1;min-width:8rem;justify-content:space-between;gap:.4rem}.companion-timer-row b{font-variant-numeric:tabular-nums}.companion-timer-categories{display:flex;flex-wrap:wrap;gap:.35rem;padding-top:.65rem}.companion-timer-categories>span{flex-basis:100%;color:var(--muted)}.companion-timer-categories button[aria-pressed=true]{background:var(--sage-100);border-color:var(--sage-600)}.companion-inline-coding{flex-basis:100%;max-height:min(65dvh,44rem);overflow:auto;padding:.3rem;background:var(--surface-subtle);border:1px solid var(--line);border-radius:10px}.companion-inline-coding .today-card{margin:0}.today-page{background:var(--surface-subtle)}.today-commandbar{gap:.35rem .7rem;min-height:82px;padding:17px 22px 14px;margin-bottom:.85rem;border:1px solid var(--line);border-radius:12px;background:var(--heading-surface)}.today-commandbar,.today-commandbar__summary{display:flex;flex-wrap:wrap;align-items:center}.today-commandbar__summary{gap:.4rem .8rem;min-width:0}.today-commandbar__description{margin:2px 0 0!important;color:var(--muted);font-size:11px;line-height:1.35}.today-page .today-commandbar .eyebrow{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.14em}.today-commandbar__summary small,.today-commandbar__summary>span{color:var(--muted);font-size:.77rem;font-weight:500}.today-commandbar__summary strong{font-weight:650;font-variant-numeric:tabular-nums}.today-commandbar__clocks{gap:.35rem;align-items:center;flex-wrap:wrap;font-variant-numeric:tabular-nums}.today-commandbar__clocks span{color:var(--muted)}.today-commandbar__clocks button{padding:.25rem .45rem}.today-tabs{order:3;flex:1 1 100%;border:0;border-top:1px solid var(--line-soft);border-radius:0;margin:0;padding:.4rem 0 0;background:transparent}.today-code-entry{display:grid;gap:.65rem}.today-code-group{border-top:1px solid var(--line-soft);padding-top:.45rem}.today-code-group strong{display:block;margin-bottom:.35rem;color:var(--muted);font-size:.76rem}.today-code-group>div,.today-code-speeds{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}.today-code-group button,.today-code-speeds button{min-width:4.3rem;font-variant-numeric:tabular-nums}.today-code-group button[aria-pressed=true],.today-code-speeds button[aria-pressed=true]{background:var(--sage-100);border-color:var(--sage-600);color:var(--sage-800)}.today-code-speeds{margin:.8rem 0}.today-code-speeds>span{flex-basis:100%;color:var(--muted);font-weight:650}.today-coding-details{border:1px solid var(--line);border-radius:.6rem;padding:.6rem;background:var(--surface-subtle)}.today-coding-details summary{cursor:pointer;font-weight:650}.today-coding-details summary span{color:var(--muted);font-weight:400;margin-left:.35rem}.today-coding-panel .today-form-grid fieldset{max-height:22rem;overflow:auto}.today-coding-panel .today-review-check{margin:.7rem 0}.today-backup-toast{position:fixed;z-index:100;right:1rem;bottom:1rem;display:flex;align-items:center;gap:.5rem;max-width:min(26rem,calc(100vw - 2rem));padding:.55rem .65rem;border:1px solid var(--line);border-radius:.6rem;background:var(--surface-raised);box-shadow:0 12px 40px rgba(23,34,27,.16)}@media(max-width:800px){.today-commandbar__clocks{margin-left:0}.today-tabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}.today-tabs button{flex:none}.today-tabs .today-back-to-note{margin-left:.6rem}.companion-inline-coding{max-height:none}}@media(max-width:600px){.today-page{padding:.6rem}.today-commandbar{align-items:flex-start}.today-commandbar__clocks,.today-commandbar__summary{width:100%}.today-grid{grid-template-columns:minmax(0,1fr)}.today-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.companion-timer-trigger{max-width:6rem}.companion-timer-menu{right:-3rem}}:root[data-workspace-readability=large] .companion-inline-coding,:root[data-workspace-readability=large] .companion-timer-menu,:root[data-workspace-readability=large] .today-code-group strong,:root[data-workspace-readability=large] .today-commandbar__summary small,:root[data-workspace-readability=large] .today-commandbar__summary>span{font-size:16px}:root[data-workspace-readability=large] .companion-timer-menu button{min-height:40px}.companion-inline-coding.today-page{min-height:0;padding:.35rem}.today-commandbar{scroll-margin-top:7rem}.app-shell[data-floating-workspace-presentation=command-bar] .companion-timer-picker,.app-shell[data-floating-workspace-presentation=quick-line] .companion-timer-picker{display:none!important}.canonical-composer__stacked-summary>span:first-child{flex-wrap:wrap}.canonical-composer__selection-preview{display:flex;flex-basis:100%;flex-wrap:wrap;gap:4px 8px;min-width:0;color:var(--muted);font-size:10px;line-height:1.3}.canonical-composer__selection-preview>span{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}@media (min-width:701px) and (max-width:1199px){.topbar{grid-template-columns:auto minmax(0,1fr)}:root[data-workspace-readability=large] .topbar-actions{gap:6px}:root[data-workspace-readability=large] .topbar-actions .command-button{width:46px;min-width:46px;padding:0;justify-content:center;font-size:0}:root[data-workspace-readability=large] .topbar-actions .command-button kbd,:root[data-workspace-readability=large] .topbar-actions .command-button span{display:none}:root[data-workspace-readability=large] .topbar-actions .companion-timer-trigger{width:auto;max-width:9rem;padding:0 8px;font-size:13px}:root[data-workspace-readability=large] .topbar-actions .companion-timer-trigger span{display:inline}}.clinic-clock-status{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem .65rem;font-variant-numeric:tabular-nums}.clinic-clock-status>span{white-space:nowrap}.clinic-clock-status b{color:var(--ink);font-weight:700}.clinic-clock-status__activity{color:var(--sage-800)}.companion-timer-trigger .clinic-clock-status{flex-direction:column;align-items:flex-start;gap:0;line-height:1.15;font-size:10px}.companion-timer-trigger .clinic-clock-status>span{max-width:100%;overflow:hidden;text-overflow:ellipsis}.companion-timer-trigger .clinic-clock-status__activity{display:none}.today-commandbar__clocks{display:flex;flex-direction:column;align-items:flex-start;gap:.3rem;margin-left:auto}.today-commandbar__clocks small{color:var(--muted);font-size:10px}.today-commandbar__clock-actions{display:flex;gap:.35rem}.today-tabs{gap:.35rem}.today-tabs__group{display:flex;align-items:center;gap:.15rem;padding-right:.4rem;border-right:1px solid var(--line-soft)}.today-tabs__group>span{margin-right:.15rem;color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.today-tabs__group--settings{margin-left:auto;border-right:0;padding-right:0}.today-next-actions{border-color:var(--sage-600)}.today-next-actions h2{margin:.3rem 0}.today-backup-hub__cards,.today-starter-projects__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:.65rem 0}.today-backup-hub__cards>div,.today-starter-projects__cards button{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;padding:.7rem;border:1px solid var(--line);border-radius:10px;background:var(--surface);text-align:left}.today-backup-hub__cards p,.today-backup-hub__cards small,.today-starter-projects__cards button span{color:var(--muted);font-size:12px}.today-backup-hub{margin-top:1rem;padding:1rem;border:1px solid var(--line);border-radius:12px;background:var(--heading-surface)}.today-backup-hub__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.today-backup-hub__cards h3,.today-backup-hub__cards p{margin:0}.today-backup-hub__cards button{margin-top:auto}.today-journal__reflection{grid-column:1/-1}.today-journal__reflection textarea{min-height:9rem}.today-journal__reflection textarea::placeholder{color:var(--muted);font-style:italic;opacity:1}.today-linked-goals,.today-source-link{padding:.5rem .65rem;border-left:3px solid var(--sage-600);background:var(--heading-surface)}.today-goal--selected{outline:2px solid var(--sage-600);outline-offset:2px}.today-linked-goals button,.today-source-link button{margin-left:.4rem}.today-empty-tip{padding:.6rem .75rem;border-radius:8px;background:var(--heading-surface)}.template-reminder button{display:block;margin-top:.45rem}@media (max-width:800px){.today-commandbar__clocks{margin-left:0}.today-tabs__group{flex:none}.today-starter-projects__cards{grid-template-columns:1fr}}@media (max-width:600px){.today-backup-hub__cards{grid-template-columns:1fr}.today-tabs__group>span{display:none}.companion-timer-trigger{max-width:8rem}}.today-overview-controls{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.45rem .8rem;margin:0 0 .65rem}.today-overview-controls p{margin:0;color:var(--muted)}.today-focus-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:1rem 0}.today-focus-modes button{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:.1rem;text-align:left;white-space:normal}.today-focus-modes button[aria-pressed=true]{border-color:var(--sage-600);background:var(--sage-50)}.today-focus-modes small{color:var(--muted)}.today-focus-settings{margin:1rem 0;padding:1rem;border:1px solid var(--line);border-radius:10px;background:var(--heading-surface)}.today-focus-settings h3{margin-top:0}.clinic-tour-spotlight{outline:3px solid var(--sage-600);outline-offset:-3px;border-radius:10px;scroll-margin-top:1rem}.clinic-tour-guide.today-page{position:fixed;z-index:1200;width:min(320px,calc(100vw - 24px));min-height:0;max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--sage-600);border-radius:12px;background:var(--surface);box-shadow:0 12px 36px rgba(0,0,0,.24);padding:.8rem}.clinic-tour-guide .today-card-heading{display:flex;justify-content:space-between;align-items:start;gap:.5rem}.clinic-tour-guide .today-actions{flex-wrap:wrap}@media (max-width:600px){.today-focus-modes{grid-template-columns:1fr}.clinic-tour-guide{inset:auto .6rem .6rem!important;width:calc(100vw - 1.2rem);max-height:44dvh}}.public-footer--compact{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:1rem;min-height:3.5rem;padding:.85rem max(1rem,calc((100vw - 1400px)/2));border-top:1px solid var(--line);background:var(--surface-soft);color:var(--muted)}.public-footer--compact p{margin:0;font-size:.75rem;line-height:1.4}.public-footer--compact a{color:var(--sage-800);font-size:.75rem;font-weight:700;text-underline-offset:3px}.public-footer--compact__guides{text-align:center}.public-footer--compact__updates{justify-self:end;white-space:nowrap}@media(max-width:700px){.public-footer--compact{grid-template-columns:1fr auto;gap:.35rem .8rem;padding:.9rem 1rem}.public-footer--compact__safety{grid-column:1/-1}.public-footer--compact__guides{text-align:left}}@media(max-width:420px){.public-footer--compact{grid-template-columns:1fr}.public-footer--compact__safety{grid-column:auto}.public-footer--compact__updates{justify-self:start}}@media(max-width:520px){.app-shell:not([data-floating-workspace=true]) .editor-loading,.app-shell:not([data-floating-workspace=true]) .editor-shell,.app-shell:not([data-floating-workspace=true]) .note-footer{width:100%}.app-shell:not([data-floating-workspace=true]) .editor-shell{margin:0;border-width:0;border-radius:0;box-shadow:none}.clinical-editor{font-size:16px;line-height:1.65}.onboarding-backdrop{padding:8px}.onboarding-wizard{width:calc(100vw - 20px);max-width:calc(100vw - 20px);min-height:min(520px,calc(100dvh - 20px));max-height:calc(100dvh - 20px)}.template-backdrop{padding:8px}.template-library{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.template-library__body{display:block;min-width:0;overflow-y:auto}.template-library__header{flex-direction:row;padding:14px}.template-library__header>div:first-child{min-width:0;padding-right:88px}.template-library__header-actions{position:absolute;top:12px;right:12px}.template-library__header p{display:none}.template-browser{height:310px;border-right:0;border-bottom:1px solid var(--line)}.template-result-row,.template-results{min-width:0;max-width:100%}.template-results{overflow-x:hidden}.template-result-row>button:first-child{width:auto;min-width:0;flex:1 1 0}.template-detail{overflow:visible}.template-library__footer{min-height:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.template-library__footer>span{display:none}.template-library__footer .button-primary,.template-library__footer .button-secondary{width:100%;min-height:44px}}@media (max-width:800px){:root:not([data-workspace-readability=large]) .editor-canvas{padding-left:50px;padding-right:18px}}.template-studio__conditions{margin:6px 0}.template-studio__links{margin:8px 0 0;padding:0;border:0;display:grid;gap:4px;font-size:11px}.template-studio__links legend{font-weight:600}.template-studio__links small{color:var(--muted)}.template-studio__links-group{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}.template-studio__links-group>span{flex-basis:100%;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.04em}.template-studio__links-group label{display:inline-flex;gap:4px;align-items:center}