:root{--rm-klein-blue: #002ea3;--rm-klein-blue-deep: #001e6d;--rm-raisin-black: #161620;--rm-smart-white: #f7f4ef;--rm-pumpkin: #f37021;--rm-pumpkin-accessible: #bf581a;--rm-pumpkin-soft: #fdf3ec;--rm-lion: #9c885c;--rm-lion-accessible: #7a6a47;--rm-violet: #7f00ff;--rm-mystified: #c3d7c1;--rm-bg: var(--rm-smart-white);--rm-surface: #ffffff;--rm-text: var(--rm-raisin-black);--rm-text-muted: #5c4f35;--rm-primary: var(--rm-klein-blue);--rm-primary-fg: #ffffff;--rm-primary-hover: var(--rm-klein-blue-deep);--rm-accent: var(--rm-pumpkin-accessible);--rm-border: #e5e0d8;--rm-border-strong: #c8c2b6;--rm-ring: var(--rm-klein-blue);--rm-font-sans: "Jost", "Futura", "Futura PT", "Century Gothic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--rm-font-serif: "Abhaya Libre", Georgia, serif;--rm-radius-sm: .375rem;--rm-radius-md: .5rem;--rm-radius-lg: .75rem;font-family:var(--rm-font-sans);line-height:1.5;color:var(--rm-text);background:var(--rm-bg)}*{box-sizing:border-box}body{margin:0;min-height:100vh}main{max-width:1100px;margin:1.5rem auto;padding:0 1.5rem 2rem}header{background:var(--rm-surface);border:1px solid var(--rm-border);border-top:3px solid var(--rm-primary);border-radius:var(--rm-radius-lg);padding:1.25rem 1.5rem;margin-bottom:1rem}.app-workspace-bar{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;margin-bottom:.5rem}header h1{margin:0 0 .25rem;font-family:var(--rm-font-serif);font-weight:700;font-size:1.6rem;color:var(--rm-primary);letter-spacing:-.01em}.subtitle{margin:0 0 1rem;color:var(--rm-text-muted);font-size:.9rem}.controls{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.title-field{display:inline-flex;align-items:center;gap:.4rem}.title-field input{padding:.45rem .7rem;border:1px solid var(--rm-border-strong);border-radius:var(--rm-radius-sm);background:var(--rm-surface);font-size:.9rem;font-family:inherit;color:var(--rm-text);min-width:14rem;transition:border-color .1s,box-shadow .1s}.title-field input:focus{outline:none;border-color:var(--rm-ring);box-shadow:0 0 0 3px #002ea32e}.document-picker,.template-picker{display:inline-flex;align-items:center;gap:.4rem}.document-picker .picker-label,.template-picker .picker-label,.title-field .picker-label{font-size:.85rem;color:var(--rm-text-muted)}.document-picker select,.template-picker select{padding:.45rem .7rem;border:1px solid var(--rm-border-strong);border-radius:var(--rm-radius-sm);background:var(--rm-surface);font-size:.9rem;font-family:inherit;color:var(--rm-text);cursor:pointer;max-width:24rem;transition:border-color .1s,box-shadow .1s}.document-picker select:focus,.template-picker select:focus{outline:none;border-color:var(--rm-ring);box-shadow:0 0 0 3px #002ea32e}.document-picker select:disabled,.template-picker select:disabled{opacity:.5;cursor:not-allowed}.document-picker-filter{padding:.4rem .65rem;border:1px solid var(--rm-border-strong, #c8c2b6);border-radius:var(--rm-radius-sm, .375rem);background:var(--rm-surface, #fff);font-size:.85rem;font-family:inherit;color:var(--rm-text, #161620);max-width:24rem;margin-bottom:.25rem;transition:border-color .1s,box-shadow .1s}.document-picker-filter:focus{outline:none;border-color:var(--rm-ring, #002ea3);box-shadow:0 0 0 3px #002ea32e}.document-picker-filter:disabled{opacity:.5;cursor:not-allowed}.document-picker select.document-picker-sort{padding:.35rem .55rem;border:1px solid var(--rm-border-strong, #c8c2b6);border-radius:var(--rm-radius-sm, .375rem);background:var(--rm-surface, #fff);font-size:.8rem;font-family:inherit;color:var(--rm-text-muted, #5a5a64);margin-bottom:.25rem;max-width:none;cursor:pointer}.document-picker select.document-picker-sort:disabled{opacity:.5;cursor:not-allowed}.file-picker{display:inline-block;cursor:pointer}.file-picker input{display:none}.file-picker span,.controls button{display:inline-block;padding:.45rem .95rem;border:1px solid var(--rm-border-strong);background:var(--rm-surface);color:var(--rm-text);border-radius:var(--rm-radius-sm);font-size:.9rem;font-family:inherit;cursor:pointer;transition:background .1s,border-color .1s}.file-picker span:hover,.controls button:not(:disabled):hover{background:var(--rm-bg);border-color:var(--rm-klein-blue)}.controls button:disabled{opacity:.5;cursor:not-allowed}.controls button.primary,.controls button[data-variant=primary]{background:var(--rm-primary);border-color:var(--rm-primary);color:var(--rm-primary-fg)}.controls button.primary:not(:disabled):hover,.controls button[data-variant=primary]:not(:disabled):hover{background:var(--rm-primary-hover);border-color:var(--rm-primary-hover)}.controls button[data-variant=accent]{background:transparent;border-color:var(--rm-accent);color:var(--rm-accent)}.controls button[data-variant=accent]:not(:disabled):hover{background:#bf581a14;border-color:var(--rm-accent)}.status{font-size:.85rem;color:var(--rm-text-muted);margin-left:auto}.editor-shell{background:var(--rm-surface);border:1px solid var(--rm-border);border-radius:var(--rm-radius-lg);min-height:600px;overflow:hidden}.editor-formatbar{display:flex;align-items:center;gap:.5rem;padding:.4rem .6rem;border-bottom:1px solid var(--rm-border, #e5e0d8);background:var(--rm-bg, #f7f4ef)}.fmt-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}.fmt-group{display:inline-flex;align-items:center;gap:.15rem;padding-right:.35rem;border-right:1px solid var(--rm-border, #e5e0d8)}.fmt-group:last-child{border-right:none;padding-right:0}.fmt-button{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:1.9rem;padding:0;border:1px solid var(--rm-border-strong, #c8c2b6);border-radius:var(--rm-radius-sm, .375rem);background:var(--rm-surface, #fff);color:var(--rm-text-muted, #5c4f35);cursor:pointer;transition:background .1s,border-color .1s,color .1s}.fmt-button:not(:disabled):hover{background:var(--rm-bg, #f7f4ef);border-color:var(--rm-primary, #002ea3);color:var(--rm-text, #161620)}.fmt-button:focus-visible{outline:none;border-color:var(--rm-ring, #002ea3);box-shadow:0 0 0 3px #002ea32e}.fmt-button:disabled{opacity:.5;cursor:not-allowed}.fmt-button-active,.fmt-button-active:not(:disabled):hover{background:var(--rm-primary, #002ea3);border-color:var(--rm-primary, #002ea3);color:var(--rm-primary-fg, #fff)}.fmt-button-icon{display:block}.fmt-button-glyph{font-family:var(--rm-font-serif, Georgia, serif);font-size:.95rem;line-height:1}.fmt-heading{position:relative;display:inline-flex}.fmt-heading-trigger{display:inline-flex;align-items:center;gap:.3rem;height:1.9rem;padding:0 .5rem;border:1px solid var(--rm-border-strong, #c8c2b6);border-radius:var(--rm-radius-sm, .375rem);background:var(--rm-surface, #fff);color:var(--rm-text, #161620);font-size:.85rem;font-family:inherit;cursor:pointer;min-width:7.5rem;justify-content:space-between;transition:background .1s,border-color .1s}.fmt-heading-trigger:not(:disabled):hover{border-color:var(--rm-primary, #002ea3)}.fmt-heading-trigger:focus-visible{outline:none;border-color:var(--rm-ring, #002ea3);box-shadow:0 0 0 3px #002ea32e}.fmt-heading-trigger:disabled{opacity:.5;cursor:not-allowed}.fmt-heading-trigger-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fmt-heading-caret{flex:none;opacity:.7}.fmt-heading-menu{position:absolute;top:calc(100% + .25rem);left:0;z-index:20;min-width:8.5rem;display:flex;flex-direction:column;padding:.25rem;border:1px solid var(--rm-border-strong, #c8c2b6);border-radius:var(--rm-radius-md, .5rem);background:var(--rm-surface, #fff);box-shadow:0 6px 20px #16162029}.fmt-heading-item{text-align:left;padding:.35rem .6rem;border:none;border-radius:var(--rm-radius-sm, .375rem);background:transparent;color:var(--rm-text, #161620);font-family:inherit;cursor:pointer}.fmt-heading-item:hover{background:var(--rm-bg, #f7f4ef)}.fmt-heading-item-active{color:var(--rm-primary, #002ea3);font-weight:600}.fmt-heading-item-h1{font-size:1.1rem;font-weight:700}.fmt-heading-item-h2{font-size:1rem;font-weight:700}.fmt-heading-item-h3{font-size:.95rem;font-weight:600}.fmt-heading-item-h4{font-size:.9rem;font-weight:600}.empty-state{display:flex;align-items:center;justify-content:center;min-height:600px;color:var(--rm-text-muted);font-style:italic}.versions-panel{margin-top:.75rem;border:1px solid var(--rm-border);border-radius:var(--rm-radius-md);background:var(--rm-surface)}.versions-panel summary{list-style:none;cursor:pointer;padding:.5rem .75rem;font-size:.9rem;color:var(--rm-text);-webkit-user-select:none;user-select:none}.versions-panel summary::-webkit-details-marker{display:none}.versions-panel summary:before{content:"▸";display:inline-block;width:1rem;font-size:.7rem;color:var(--rm-text-muted);transition:transform .12s ease}.versions-panel[open] summary:before{transform:rotate(90deg)}.versions-count{margin-left:.5rem;color:var(--rm-text-muted);font-size:.8rem}.versions-empty,.versions-error{margin:0;padding:.5rem .75rem .75rem 1.75rem;font-size:.85rem;color:var(--rm-text-muted)}.versions-error{color:#b91c1c}.versions-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--rm-border)}.versions-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:.75rem;padding:.5rem .75rem .5rem 1.75rem;font-size:.85rem;border-bottom:1px solid var(--rm-border)}.versions-row:last-child{border-bottom:none}.versions-stamp{color:var(--rm-text)}.versions-size{color:var(--rm-text-muted);font-variant-numeric:tabular-nums}.versions-actions{display:flex;gap:.4rem}.versions-actions button{padding:.25rem .6rem;font-size:.8rem;border:1px solid var(--rm-border-strong);border-radius:var(--rm-radius-sm);background:transparent;color:var(--rm-text);cursor:pointer}.versions-actions button:not(:disabled):hover{background:#002ea30f}.versions-actions button[data-variant=accent]{border-color:var(--rm-accent);color:var(--rm-accent)}.versions-actions button[data-variant=accent]:not(:disabled):hover{background:#bf581a14}.synthesis-panel{margin-top:.75rem;border:1px solid var(--rm-border);border-radius:var(--rm-radius-md);background:var(--rm-surface)}.synthesis-panel summary{list-style:none;cursor:pointer;padding:.5rem .75rem;font-size:.9rem;color:var(--rm-text);-webkit-user-select:none;user-select:none}.synthesis-panel summary::-webkit-details-marker{display:none}.synthesis-panel summary:before{content:"▸";display:inline-block;width:1rem;font-size:.7rem;color:var(--rm-text-muted);transition:transform .12s ease}.synthesis-panel[open] summary:before{transform:rotate(90deg)}.synthesis-count{margin-left:.5rem;color:var(--rm-text-muted);font-size:.8rem}.synthesis-empty,.synthesis-error{margin:0;padding:.5rem .75rem .75rem 1.75rem;font-size:.85rem;color:var(--rm-text-muted)}.synthesis-error{color:#b91c1c}.synthesis-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--rm-border)}.synthesis-row{display:flex;flex-direction:column;gap:.4rem;padding:.6rem .75rem .6rem 1.75rem;font-size:.85rem;border-bottom:1px solid var(--rm-border)}.synthesis-row:last-child{border-bottom:none}.synthesis-row[data-tone=inactive]{opacity:.62}.synthesis-row[data-tone=inactive] .synthesis-instruction{text-decoration:line-through}.synthesis-row-head{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.synthesis-seq{color:var(--rm-text-muted);font-variant-numeric:tabular-nums;font-size:.8rem}.synthesis-status{font-size:.72rem;padding:.1rem .45rem;border-radius:var(--rm-radius-sm);border:1px solid var(--rm-border-strong);color:var(--rm-text-muted)}.synthesis-status-active{border-color:var(--rm-accent);color:var(--rm-accent)}.synthesis-section{margin-left:auto;color:var(--rm-text-muted);font-size:.78rem;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.synthesis-instruction{margin:0;color:var(--rm-text)}.synthesis-sources{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem}.synthesis-source-chip{font-size:.72rem;padding:.1rem .45rem;border-radius:var(--rm-radius-sm);background:#002ea30f;color:var(--rm-text)}.synthesis-reasoning{font-size:.8rem}.synthesis-reasoning summary{cursor:pointer;color:var(--rm-text-muted);-webkit-user-select:none;user-select:none}.synthesis-reasoning p{margin:.3rem 0 0;color:var(--rm-text);white-space:pre-wrap}.synthesis-actions{display:flex;gap:.4rem}.synthesis-actions button{padding:.25rem .6rem;font-size:.8rem;border:1px solid var(--rm-border-strong);border-radius:var(--rm-radius-sm);background:transparent;color:var(--rm-text);cursor:pointer}.synthesis-actions button[data-variant=accent]{border-color:var(--rm-accent);color:var(--rm-accent)}.synthesis-actions button[data-variant=accent]:not(:disabled):hover{background:#bf581a14}.synthesis-actions button:disabled{opacity:.6;cursor:default}.rmdg-signin-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1rem .75rem;background:var(--rm-bg)}.rmdg-signin-card{width:100%;max-width:28rem;background:var(--rm-surface, #ffffff);border:1px solid var(--rm-border, #e5e0d8);border-radius:var(--rm-radius-lg, .75rem);box-shadow:0 8px 24px #00000014;padding:1.25rem 1rem;display:flex;flex-direction:column;gap:.875rem;align-items:center}.rmdg-signin-header{text-align:center;display:flex;flex-direction:column;gap:.25rem}.rmdg-signin-title{margin:0;font-family:var(--rm-font-serif, Georgia, serif);font-size:1.25rem;color:var(--rm-text, #161620)}.rmdg-signin-subtitle{margin:0;font-size:.9rem;color:var(--rm-text-muted, #5c4f35)}.rmdg-save-pill{display:inline-block;padding:.25rem .65rem;border-radius:.625rem;border:1px solid transparent;font-size:.8rem;font-weight:500;line-height:1.2}.rmdg-save-pill-saved{background:#ecfdf5;color:#064e3b;border-color:#6ee7b7}.rmdg-save-pill-dirty{background:#fef3c7;color:#78350f;border-color:#fbbf24}.rmdg-save-pill-error{background:#fee2e2;color:#7f1d1d;border-color:#fca5a5}.rmdg-word-count-pill{display:inline-block;padding:.2rem .55rem;border-radius:.625rem;border:1px solid #6ee7b7;background:#ecfdf5;color:#064e3b;font-size:.75rem;font-weight:500;line-height:1.2;opacity:.85}.shortcuts-button,.structure-toggle-button{font-weight:500}.structure-toggle-button[aria-pressed=true]{background:var(--rm-primary);border-color:var(--rm-primary);color:var(--rm-primary-fg)}.structure-toggle-button[aria-pressed=true]:not(:disabled):hover{background:var(--rm-primary-hover);border-color:var(--rm-primary-hover)}.shortcuts-help-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#1616208c;padding:1.5rem;animation:shortcuts-fade-in .12s ease-out}.shortcuts-help-panel{background:var(--rm-surface, #fff);color:var(--rm-text, #161620);border-radius:var(--rm-radius-lg, .75rem);border:1px solid var(--rm-border, #e5e0d8);box-shadow:0 16px 48px #00000040;width:min(560px,100%);max-height:80vh;display:flex;flex-direction:column;overflow:hidden}.shortcuts-help-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--rm-border, #e5e0d8)}.shortcuts-help-header h2{margin:0;font-size:1.125rem;font-family:var(--rm-font-serif, Georgia, serif)}.shortcuts-help-close{background:transparent;border:none;color:var(--rm-text-muted, #5c4f35);font-size:1.5rem;line-height:1;cursor:pointer;padding:.25rem .5rem;border-radius:var(--rm-radius-sm, .375rem)}.shortcuts-help-close:hover{background:#0000000d;color:var(--rm-text, #161620)}.shortcuts-help-body{padding:1rem 1.25rem;overflow-y:auto;display:flex;flex-direction:column;gap:1.25rem}.shortcuts-help-group h3{margin:0 0 .5rem;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--rm-text-muted, #5c4f35)}.shortcuts-help-group dl{margin:0;display:grid;gap:.375rem}.shortcuts-help-row{display:grid;grid-template-columns:minmax(7rem,auto) 1fr;gap:.875rem;align-items:baseline}.shortcuts-help-row dt{margin:0}.shortcuts-help-row dd{margin:0;font-size:.9rem}.shortcuts-help-panel kbd{display:inline-block;padding:.1rem .4rem;background:var(--rm-bg, #f7f4ef);border:1px solid var(--rm-border-strong, #c8c2b6);border-radius:var(--rm-radius-sm, .375rem);font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;color:var(--rm-text, #161620)}.shortcuts-help-footer{padding:.75rem 1.25rem;border-top:1px solid var(--rm-border, #e5e0d8);font-size:.85rem;color:var(--rm-text-muted, #5c4f35)}.shortcuts-help-footer p{margin:0}@keyframes shortcuts-fade-in{0%{opacity:0}to{opacity:1}}.editor-with-outline{display:grid;grid-template-columns:minmax(180px,240px) 1fr;gap:1rem;align-items:start}.editor-with-outline.editor-with-outline-collapsed{grid-template-columns:2.5rem 1fr;gap:.5rem}.editor-no-outline{display:block}.outline-sidebar{background:var(--rm-surface, #fff);border:1px solid var(--rm-border, #e5e0d8);border-radius:var(--rm-radius-lg, .75rem);padding:.75rem .5rem .75rem 1rem;position:sticky;top:1rem;max-height:calc(100vh - 2rem);overflow-y:auto}.outline-sidebar-title{margin:0;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--rm-text-muted, #5c4f35)}.outline-sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.5rem}.outline-sidebar-toggle{background:transparent;border:1px solid transparent;color:var(--rm-text-muted, #5c4f35);cursor:pointer;font-size:1rem;line-height:1;padding:.15rem .4rem;border-radius:var(--rm-radius-sm, .375rem)}.outline-sidebar-toggle:hover{background:#002ea30f;color:var(--rm-primary, #002ea3);border-color:var(--rm-border, #e5e0d8)}.outline-sidebar-toggle:focus-visible{outline:2px solid var(--rm-ring, #002ea3);outline-offset:1px}.outline-sidebar.outline-sidebar-collapsed{padding:.5rem .25rem;display:flex;flex-direction:column;align-items:center}.outline-sidebar-empty{margin:0;font-size:.85rem;color:var(--rm-text-muted, #5c4f35);font-style:italic}.outline-sidebar-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.05rem}.outline-sidebar-row{padding:0}.outline-sidebar-link{display:block;width:100%;text-align:left;background:transparent;border:none;color:var(--rm-text, #161620);font-size:.9rem;padding:.2rem .4rem;border-radius:var(--rm-radius-sm, .375rem);cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outline-sidebar-link:hover{background:#002ea30f;color:var(--rm-primary, #002ea3)}.outline-sidebar-row.outline-sidebar-row-active .outline-sidebar-link{background:#002ea31f;color:var(--rm-primary, #002ea3);font-weight:600}.outline-sidebar-link:focus-visible{outline:2px solid var(--rm-ring, #002ea3);outline-offset:1px}.outline-sidebar-level-1 .outline-sidebar-link{font-weight:600}.outline-sidebar-level-2 .outline-sidebar-link{font-weight:500}.outline-sidebar-level-5 .outline-sidebar-link,.outline-sidebar-level-6 .outline-sidebar-link{font-size:.8rem;opacity:.8}@media (max-width: 900px){.editor-with-outline,.editor-with-outline.editor-with-outline-collapsed{grid-template-columns:1fr}.editor-with-outline .editor-shell{order:1}.outline-sidebar{position:static;max-height:none;order:2}}@media print{html,body{background:#fff!important;color:#000}main>header,.controls,.shortcuts-button,.shortcuts-help-backdrop,.file-picker,.template-picker,.document-picker,.versions-panel,.status,.rmdg-save-pill,.rmdg-word-count-pill,.outline-sidebar,.outline-sidebar-collapsed{display:none!important}.editor-with-outline,.editor-with-outline.editor-with-outline-collapsed,.editor-no-outline{display:block!important;grid-template-columns:none!important;gap:0!important}.editor-shell{padding:0!important;margin:0!important;border:0!important;border-radius:0!important}*,*:before,*:after{background:transparent!important;box-shadow:none!important}}.editor-with-outline.editor-with-structure{grid-template-columns:minmax(240px,320px) 1fr}.structure-panel{background:var(--rm-surface, #fff);border:1px solid var(--rm-border, #e5e0d8);border-radius:var(--rm-radius-lg, .75rem);padding:.75rem .75rem 1rem;position:sticky;top:1rem;max-height:calc(100vh - 2rem);overflow-y:auto}.structure-panel-header{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:.5rem}.structure-panel-title{font-size:.95rem;font-weight:700;margin:0;color:var(--rm-text, #1c1b1a)}.structure-panel-source{font-size:.65rem;font-family:var(--rm-font-sans, sans-serif);color:var(--rm-text-muted, #8a8377);background:color-mix(in srgb,var(--rm-klein-blue, #2d3aa3) 10%,transparent);border-radius:var(--rm-radius-sm, .25rem);padding:.05rem .35rem;white-space:nowrap}.structure-panel-empty{font-size:.8rem;color:var(--rm-text-muted, #8a8377)}.structure-card{border:1px solid var(--rm-border, #e5e0d8);border-radius:var(--rm-radius-md, .5rem);padding:.5rem .6rem;margin-bottom:.6rem}.structure-card-title{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--rm-text-muted, #8a8377);margin:0 0 .4rem;display:flex;align-items:center;gap:.4rem}.structure-group-count{font-size:.65rem;font-weight:600;color:var(--rm-text-muted, #8a8377);background:var(--rm-bg, #f7f4ef);border-radius:999px;padding:.02rem .4rem}.structure-chrome{border-left:3px solid var(--rm-klein-blue, #2d3aa3)}.structure-chrome-grid{margin:0;display:grid;grid-template-columns:auto 1fr;gap:.15rem .6rem;font-size:.78rem}.structure-chrome-grid>div{display:contents}.structure-chrome-grid dt{color:var(--rm-text-muted, #8a8377)}.structure-chrome-grid dd{margin:0;color:var(--rm-text, #1c1b1a);font-weight:500}.structure-chrome-editing{border-left-color:var(--rm-pumpkin-accessible, #b4530a);background:var(--rm-bg, #f7f4ef)}.structure-chrome-banner{display:flex;align-items:center;justify-content:space-between;gap:.4rem;margin-bottom:.45rem;padding:.3rem .45rem;border-radius:var(--rm-radius-sm, .25rem);background:var(--rm-pumpkin-soft, #fbe8d8);border:1px solid var(--rm-pumpkin-accessible, #b4530a)}.structure-chrome-banner-text{font-size:.74rem;color:var(--rm-pumpkin-accessible, #b4530a)}.structure-chrome-banner-text strong{color:var(--rm-text, #1c1b1a)}.structure-chrome-exit{flex:none;font-size:.7rem;font-weight:600;padding:.18rem .45rem;border:1px solid var(--rm-pumpkin-accessible, #b4530a);border-radius:var(--rm-radius-sm, .25rem);background:var(--rm-surface, #fff);color:var(--rm-pumpkin-accessible, #b4530a);cursor:pointer}.structure-chrome-exit:hover{background:var(--rm-pumpkin-accessible, #b4530a);color:#fff}.structure-chrome-slots{list-style:none;margin:0 0 .45rem;padding:0;display:flex;flex-direction:column;gap:.25rem}.structure-chrome-slot{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.78rem}.structure-chrome-slot-label{color:var(--rm-text, #1c1b1a);font-weight:500}.structure-chrome-slot-edit{flex:none;font-size:.72rem;padding:.18rem .55rem;border:1px solid var(--rm-border-strong, #cfc7ba);border-radius:var(--rm-radius-sm, .25rem);background:var(--rm-bg, #f7f4ef);cursor:pointer}.structure-chrome-slot-edit:hover{background:var(--rm-surface, #fff)}.structure-chrome-slot-edit-active{background:var(--rm-pumpkin-accessible, #b4530a);border-color:var(--rm-pumpkin-accessible, #b4530a);color:#fff}.structure-chrome-none{margin:0 0 .45rem;font-size:.74rem;color:var(--rm-text-muted, #8a8377);font-style:italic}.structure-group{margin-bottom:.5rem}.structure-group-intro .structure-card-title{color:var(--rm-klein-blue, #2d3aa3)}.structure-group-outro .structure-card-title{color:var(--rm-pumpkin-accessible, #b4530a)}.structure-group-appendix .structure-card-title{color:var(--rm-lion-accessible, #6f6450)}.structure-section-list{list-style:none;margin:0;padding:0}.structure-section-row{margin:0;display:flex;flex-direction:column;gap:.1rem}.structure-section-rowline{display:flex;align-items:center;gap:.15rem}.structure-section-link{display:block;flex:1 1 auto;min-width:0;text-align:left;border:none;background:none;cursor:pointer;font-size:.8rem;line-height:1.25;padding:.2rem .35rem;border-radius:var(--rm-radius-sm, .25rem);color:var(--rm-text, #1c1b1a)}.structure-level-1 .structure-section-link{font-weight:600}.structure-section-link:hover{background:color-mix(in srgb,var(--rm-primary, #2d3aa3) 8%,transparent)}.structure-section-row-active .structure-section-link{background:color-mix(in srgb,var(--rm-primary, #2d3aa3) 16%,transparent);font-weight:600}.structure-section-link:disabled{cursor:default;color:var(--rm-text-muted, #8a8377)}.structure-section-missing-tag{font-size:.65rem;color:var(--rm-pumpkin-accessible, #b4530a);font-weight:600}.structure-section-actions{display:inline-flex;flex:0 0 auto;gap:.1rem;opacity:.28;transition:opacity .12s ease}.structure-section-row:hover .structure-section-actions,.structure-section-row:focus-within .structure-section-actions{opacity:1}.structure-section-action{display:inline-flex;align-items:center;justify-content:center;width:1.3rem;height:1.3rem;border:none;background:none;cursor:pointer;font-size:.8rem;line-height:1;border-radius:var(--rm-radius-sm, .25rem);color:var(--rm-text-muted, #8a8377)}.structure-section-action:hover:not(:disabled){background:color-mix(in srgb,var(--rm-primary, #2d3aa3) 12%,transparent);color:var(--rm-text, #1c1b1a)}.structure-section-rename{font-size:.72rem}.structure-section-remove:hover:not(:disabled){background:color-mix(in srgb,var(--rm-pumpkin-accessible, #b4530a) 16%,transparent);color:var(--rm-pumpkin-accessible, #b4530a)}.structure-section-action:disabled{cursor:default;opacity:.3}.structure-add-section{display:inline-flex;align-items:center;margin-top:.35rem;padding:.2rem .5rem;border:1px dashed color-mix(in srgb,var(--rm-primary, #2d3aa3) 35%,transparent);background:none;cursor:pointer;font-size:.78rem;line-height:1.2;border-radius:var(--rm-radius-sm, .25rem);color:var(--rm-primary, #2d3aa3)}.structure-add-section:hover{background:color-mix(in srgb,var(--rm-primary, #2d3aa3) 10%,transparent)}.structure-section-criteria{margin:.05rem 0 .2rem .85rem;padding-left:.5rem;border-left:2px solid color-mix(in srgb,var(--rm-primary, #2d3aa3) 18%,transparent);opacity:.55;transition:opacity .12s ease}.structure-section-row:hover .structure-section-criteria,.structure-section-row:focus-within .structure-section-criteria{opacity:1}.structure-criteria-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.1rem}.structure-criterion{display:flex;align-items:baseline;gap:.3rem;font-size:.72rem;line-height:1.25}.structure-criterion-label{flex:1 1 auto;min-width:0;color:var(--rm-text-muted, #8a8377)}.structure-criterion-kind{flex:0 0 auto;font-size:.6rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em;padding:.02rem .3rem;border-radius:999px;color:var(--rm-text-muted, #8a8377);background:color-mix(in srgb,var(--rm-text-muted, #8a8377) 14%,transparent)}.structure-criterion-kind-numerical{color:var(--rm-klein-blue, #2d3aa3);background:color-mix(in srgb,var(--rm-klein-blue, #2d3aa3) 14%,transparent)}.structure-criterion-kind-web-scan{color:var(--rm-pumpkin-accessible, #b4530a);background:color-mix(in srgb,var(--rm-pumpkin-accessible, #b4530a) 14%,transparent)}.structure-criterion-kind-source-citation{color:var(--rm-lion-accessible, #6f6450);background:color-mix(in srgb,var(--rm-lion-accessible, #6f6450) 16%,transparent)}.structure-criteria-state{display:inline-block;margin-top:.15rem;font-size:.62rem;font-style:italic;color:var(--rm-text-muted, #8a8377)}.structure-criteria-state-addressable{color:var(--rm-klein-blue, #2d3aa3)}.structure-criteria-state-uncheckable{color:var(--rm-pumpkin-accessible, #b4530a)}.structure-section-criteria-uncheckable{border-left-color:color-mix(in srgb,var(--rm-pumpkin-accessible, #b4530a) 30%,transparent)}.structure-coverage-line{margin:0;font-size:.78rem;color:var(--rm-text, #2b2722)}.structure-coverage-line strong{font-weight:700}.structure-coverage-uncheckable{color:var(--rm-pumpkin-accessible, #b4530a);font-weight:600}.structure-coverage-note{margin:.2rem 0 0;font-size:.62rem;font-style:italic;color:var(--rm-text-muted, #8a8377)}.structure-criterion-verdict{flex:0 0 auto;display:inline-flex;align-items:center;gap:.2rem;font-size:.6rem;font-weight:600;padding:.02rem .3rem;border-radius:999px}.structure-criterion-verdict-icon{font-size:.72rem;line-height:1}.structure-criterion-verdict-label{letter-spacing:.01em}.structure-criterion-verdict-supports{color:#1f7a4d;background:color-mix(in srgb,#1f7a4d 14%,transparent)}.structure-criterion-verdict-refutes{color:var(--rm-pumpkin-accessible, #b4530a);background:color-mix(in srgb,var(--rm-pumpkin-accessible, #b4530a) 16%,transparent)}.structure-criterion-verdict-needs-evidence{color:var(--rm-lion-accessible, #6f6450);background:color-mix(in srgb,var(--rm-lion-accessible, #6f6450) 16%,transparent)}.structure-criterion-disagree{flex:0 0 auto;margin-left:.1rem;padding:0;border:none;background:transparent;cursor:pointer;font-size:.7rem;line-height:1;opacity:.5;transition:opacity .12s ease}.structure-criterion-disagree:hover,.structure-criterion-disagree:focus-visible{opacity:1}.structure-criterion-disagree:focus-visible{outline:2px solid var(--rm-ring, var(--rm-klein-blue, #2d3aa3));outline-offset:1px;border-radius:var(--rm-radius-sm, .375rem)}.structure-coverage-tested{color:#1f7a4d;font-weight:600}.structure-coverage-consensus{font-weight:600}.structure-coverage-consensus-solid{color:#1f7a4d}.structure-coverage-consensus-thin,.structure-coverage-consensus-gap{color:var(--rm-lion-accessible, #6f6450)}.structure-coverage-consensus-contested{color:var(--rm-pumpkin-accessible, #b4530a)}.structure-evaluate{margin:.55rem 0 0;display:flex;flex-direction:column;gap:.3rem}.structure-evaluate-button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;align-self:flex-start;padding:.34rem .7rem;font-size:.74rem;font-weight:600;color:#fff;background:var(--rm-klein-blue, #2d3aa3);border:1px solid var(--rm-klein-blue, #2d3aa3);border-radius:var(--rm-radius-sm, .375rem);cursor:pointer;transition:background .12s ease,opacity .12s ease}.structure-evaluate-button:hover:not(:disabled){background:color-mix(in srgb,var(--rm-klein-blue, #2d3aa3) 88%,#000)}.structure-evaluate-button:focus-visible{outline:2px solid var(--rm-ring, var(--rm-klein-blue, #2d3aa3));outline-offset:2px}.structure-evaluate-button:disabled{cursor:progress;opacity:.85}.structure-evaluate-spinner{width:.72rem;height:.72rem;border:2px solid color-mix(in srgb,#fff 45%,transparent);border-top-color:#fff;border-radius:50%;animation:structure-evaluate-spin .7s linear infinite}@keyframes structure-evaluate-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.structure-evaluate-spinner{animation-duration:1.6s}}.structure-evaluate-hint{margin:0;font-size:.62rem;font-style:italic;color:var(--rm-text-muted, #8a8377)}.structure-evaluate-message{margin:0;font-size:.66rem;color:var(--rm-text, #2b2722)}
