.login-screen{background:var(--base);text-align:left;place-items:center;min-height:100dvh;padding:28px 20px;display:grid}.login-panel{background:var(--panel);border:1px solid var(--line);border-top:3px solid var(--jade);border-radius:12px;width:min(100%,420px);padding:32px}.login-panel header{align-items:center;gap:16px;margin-bottom:24px;display:flex}.login-panel header p{color:var(--gold);margin:0 0 5px;font-size:14px}.login-panel h1{letter-spacing:0;margin:0;font-size:26px}.login-panel form{gap:20px;margin-top:26px;display:grid}.login-panel label{gap:8px;display:grid}.login-panel input{width:100%;min-width:0}.login-panel button{min-height:44px}.login-panel .error{margin:0}.login-panel :focus-visible{outline:2px solid var(--jade);outline-offset:3px}@media (width<=480px){.login-panel{padding:26px 22px}.login-screen{align-items:center;padding:20px 16px}}.paragraph-key-input{min-width:0;display:block;position:relative}.paragraph-key-viewport{pointer-events:none;color:#0000;position:absolute;overflow:hidden}.paragraph-key-text{box-sizing:border-box;width:100%;min-height:100%;display:block}.paragraph-key-text mark{color:#0000}.paragraph-key-text mark,.proposal-paragraph-key{background:color-mix(in srgb,var(--jade,#83cfb5) 24%,transparent);border-radius:2px}.paragraph-key-input:has(textarea:disabled) .paragraph-key-viewport{opacity:.5}@media (forced-colors:active){.paragraph-key-viewport{forced-color-adjust:none}.paragraph-key-text mark,.proposal-paragraph-key{forced-color-adjust:none;background:highlight}.paragraph-key-text mark{opacity:.4}.proposal-paragraph-key{color:highlighttext}}.metadata-suggestions{align-items:center;gap:6px;min-width:0;max-width:100%;padding:2px;display:flex;overflow-x:auto}.metadata-suggestions>button{white-space:nowrap;flex:none}.metadata-suggestions>button[aria-pressed=true]{border-color:#71c6a8}.condition-code-editor{min-width:0;position:relative}.condition-code-editor.condition-code-editor textarea,.condition-code-mirror{box-sizing:border-box;width:100%;font:inherit;white-space:pre-wrap;overflow-wrap:break-word;tab-size:2;border:1px solid #0000;border-radius:.3rem;margin:0;padding:.6rem;font-family:monospace;line-height:1.55}.condition-code-editor.condition-code-editor textarea{resize:vertical;color:#d4e6e4;border-color:var(--line,#49627a);background:0 0;display:block;position:relative}.condition-code-mirror{color:#0000;pointer-events:none;background:#102438;position:absolute;inset:0;overflow:hidden}.condition-code-editor.condition-code-invalid textarea{color:#fff1f2;border-color:#bd626f}.condition-code-invalid .condition-code-mirror{background:#612731}.template-condition-warning{color:#f2a9b4;white-space:pre-wrap;overflow-wrap:anywhere;margin:.35rem 0}.condition-mirror-entity{text-underline-offset:.23em;-webkit-text-decoration:underline dashed #83bcae;text-decoration:underline dashed #83bcae}.condition-matching-bracket{background:#39624c;outline:1px solid #83bcae}.condition-unmatched-bracket{background:#743444;outline:1px solid #e8919f}.condition-active-range{background:#254b4c}.condition-bracket-range{pointer-events:auto;-webkit-box-decoration-break:clone;box-decoration-break:clone;position:relative}.condition-bracket-range:hover:not(:has(.condition-bracket-range:hover)){background:#254b4c}.template-expression-reading:has(.template-expression-edit-trigger:enabled) .condition-bracket-range{cursor:text}body:has(.template-overlay)>.entity-popover{z-index:210}.condition-field-options{z-index:15;color:#e4edf4;background:#142c45;border:1px solid #49627a;border-radius:.4rem;min-width:min(14rem,100%);max-width:100%;max-height:15rem;position:absolute;overflow:auto;box-shadow:0 6px 20px #07121d99}.condition-field-options button[role=option]{text-align:left;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:1rem;width:100%;min-height:30px;display:flex}.condition-field-options button[aria-selected=true],.condition-field-options button:hover{background:#24483f}.condition-field-options small,.condition-field-options p{color:#adc4d6}.condition-field-options p{margin:.4rem .6rem}.proposal-field-actions{flex-wrap:wrap;gap:.4rem .8rem;display:flex}.proposal-annotation-tools{margin-block:.4rem}.proposal-annotation-tools:has(form){flex-basis:100%}.proposal-annotation-tools small{margin-inline-start:.45rem}.proposal-annotation-tools form,.proposal-annotation{color:#274965;background:#f0f5fa;border-inline-start:2px solid #6287a5;padding:.65rem .8rem}.proposal-annotations h3{margin-block:.8rem .4rem;font-size:.95rem}.proposal-annotation{overflow-wrap:anywhere;margin-block:.55rem}.proposal-annotation header,.proposal-annotation small{color:#365a75}.proposal-annotation time{margin-inline-start:.35rem;display:inline-block}.proposal-annotation p{white-space:pre-wrap;margin-block:.45rem}.proposal-annotation-response{border-inline-start:1px solid #86a0b4;padding-inline-start:.7rem}.proposal-annotation-tools form textarea,.proposal-annotation textarea{resize:vertical;width:100%;min-height:4rem;margin-block:.35rem;display:block}.proposal-annotation-tools form button+button{margin-inline-start:.45rem}.proposal-annotation-tools :focus-visible,.proposal-annotation :focus-visible{outline-offset:2px;outline:2px solid #335e80}@media (width<=600px){.proposal-annotation-tools button,.proposal-annotation button{min-height:44px}}.sync-conflict-backdrop{box-sizing:border-box;z-index:120;background:#10271e80;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:3vh 3vw;display:flex;position:fixed;inset:0}.sync-conflict-panel{background:var(--paper,#faf9f4);color:var(--ink,#20352a);border-radius:12px;width:100%;max-width:1500px;max-height:94vh;margin:auto;padding:24px;overflow:auto;box-shadow:0 20px 90px #0005}.sync-conflict-panel>header{justify-content:space-between;align-items:start;gap:16px;display:flex}.sync-conflict-panel h2{margin:0 0 12px}.sync-conflict-layout{grid-template-columns:190px minmax(0,1fr);gap:24px;display:grid}.sync-conflict-layout>nav{flex-direction:column;gap:8px;display:flex}.sync-conflict-layout>main{min-width:0}.sync-conflict-fields{border:0;min-width:0;margin:0;padding:0}.sync-conflict-item{border-top:1px solid #9cae9d;padding:16px 0 24px}.sync-three-way{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.sync-three-way>section{background:#e8eee880;border-radius:6px;min-width:0;padding:12px}.sync-three-way h4{margin:0 0 12px}.sync-three-way pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit}.sync-choice{flex-wrap:wrap;gap:12px;margin:16px 0;display:flex}.sync-conflict-item textarea{box-sizing:border-box;width:100%;min-height:150px;display:block}.sync-three-way select{max-width:100%}.sync-conflict-panel button[aria-current=page]{background:#d8e6dc;font-weight:700}@media (width<=760px){.sync-conflict-backdrop{padding:0}.sync-conflict-panel{box-sizing:border-box;border-radius:0;height:100dvh;max-height:100dvh;padding:16px}.sync-conflict-layout{grid-template-columns:minmax(0,1fr)}.sync-conflict-layout>nav{flex-direction:row;overflow:auto}.sync-three-way{grid-template-columns:minmax(0,1fr)}.sync-choice{flex-direction:column}}.sync-conflict-backdrop:not([open]){display:none}.sync-conflict-backdrop::backdrop{background:#10271e80}.sync-conflict-panel label,.sync-conflict-panel h4{color:#314d41}.sync-conflict-panel button{color:#203d30}.sync-conflict-panel>header>button{white-space:nowrap;background:#e0eae2;flex-shrink:0}.sync-conflict-panel textarea,.sync-conflict-panel select{color:#203d30;background:#fffdf7;border:1px solid #91a596}.sync-choice label{align-items:center;gap:6px;display:flex}.sync-choice input{width:auto;margin:0}.sync-conflict-layout>nav button{color:#203d30;background:#edf2ed}.section-sync-popover{z-index:1200;box-sizing:border-box;background:var(--panel,#203249);width:min(440px,100vw - 16px);color:var(--text,#e5eaf0);border:1px solid var(--line,#43536a);text-align:start;white-space:normal;border-radius:10px;padding:12px 16px;font-size:14px;position:fixed;overflow:auto;box-shadow:0 8px 24px #0005}.section-sync-popover p{margin:6px 0}.section-sync-popover ul{margin:0;padding:0;list-style:none}.section-sync-popover li{border-bottom:1px solid var(--line,#43536a);padding:8px 0}.section-sync-row{align-items:baseline;gap:8px;display:flex}.section-sync-row label{overflow-wrap:anywhere;flex:1;align-items:baseline;gap:7px;min-width:0;display:flex}.section-sync-row label small{color:var(--muted,#a8b6c8);display:block}.section-sync-badge{white-space:nowrap;font-size:12px}.section-sync-editor{box-sizing:border-box;width:min(880px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--text,#e5eaf0);background:var(--panel,#203249);border:1px solid var(--line,#43536a);overflow-wrap:anywhere;border-radius:10px;padding:clamp(12px,3vw,24px);overflow:auto}.section-sync-editor::backdrop{background:#0008}.section-sync-editor h2,.section-sync-editor h3{margin:0 0 8px}.section-sync-editor header{margin-bottom:16px}.section-sync-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.section-sync-comparison pre,.section-sync-editor .review-diff{white-space:pre-wrap;max-height:190px;font:inherit;border:1px solid var(--line,#43536a);border-radius:6px;margin:0 0 12px;padding:10px;overflow:auto}.section-sync-draft{gap:6px;margin-bottom:12px;display:grid}.section-sync-draft textarea{box-sizing:border-box;resize:vertical;width:100%}@media (width<=640px){.section-sync-comparison{grid-template-columns:minmax(0,1fr);gap:0}}.section-sync-footer{justify-content:flex-end;gap:8px;padding-top:10px;display:flex}.node-review-actions{vertical-align:baseline;align-items:center;gap:9px;margin-left:10px;font-size:12px;font-weight:400;display:inline-flex}.node-review-actions button{color:var(--muted,#a8b6c8);cursor:pointer;background:0 0;border:0;min-height:30px;padding:3px 0}.node-review-actions button:hover{color:var(--jade,#83cfb5)}.node-review-actions button:focus-visible{outline:2px solid var(--jade,#83cfb5);outline-offset:3px}.annotation-count{color:#b0e9d6;background:#83cfb524;border-radius:8px;margin-left:4px;padding:1px 5px}.inline-review-editor{border-left:3px solid var(--jade,#83cfb5);background:#83cfb509;min-width:0;margin:14px 0 24px;padding:16px 20px}.review-toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.review-toolbar>strong,.review-toolbar>h2,.review-toolbar>span:first-child{margin-right:auto}.review-toolbar h2{margin-top:0;margin-bottom:0}.inline-review-editor fieldset{border:0;min-width:0;padding:0}.review-node-fields{border-top:1px solid var(--line,#43536a);margin-top:14px;padding-top:14px}.review-node-fields label,.review-dialog label{font-size:14px;display:block}.review-node-fields input,.review-node-fields textarea,.review-dialog textarea,.review-dialog select{box-sizing:border-box;width:100%;font:inherit;resize:vertical;margin:7px 0 10px;line-height:1.7;display:block}.review-diff{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;font-size:14px;line-height:1.85}.review-diff del{color:#ffc1c6;background:#b85d6b30;text-decoration:line-through}.review-diff ins{color:#b6f2d9;background:#68c4a32b;text-decoration:none}.diff-mark{padding:0 3px;font-weight:700}.review-dialog{background:var(--panel,#203249);color:var(--text,#e5eaf0);border:1px solid var(--line,#43536a);border-radius:10px;width:min(1100px,100vw - 36px);max-height:90dvh;padding:22px;overflow:auto}.review-dialog::backdrop{background:#08121fd9}.comment-dialog{width:min(700px,100vw - 36px)}.review-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:380px;font-size:14px;overflow:auto}.history-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;display:grid}.history-columns>div{min-width:0}.history-columns>div:first-child{border-right:1px solid var(--line,#43536a);padding-right:20px}.history-field{border-top:1px solid var(--line,#43536a);padding:14px 0}.history-field h3{overflow-wrap:anywhere;font-size:16px}.history-footer{background:var(--panel,#203249);border-top:1px solid var(--line,#43536a);margin-top:14px;padding:14px 0;position:sticky;bottom:-22px}.annotation-row{border-top:1px solid var(--line,#43536a);padding:14px 0}.annotation-row p{white-space:pre-wrap;overflow-wrap:anywhere}.annotation-row time{color:var(--muted,#a8b6c8);margin-left:12px;font-size:12px}.annotation-result{border-left:2px solid var(--jade,#83cfb5);padding-left:10px}.annotation-result small{display:block}.annotation-form{border-top:1px solid var(--line,#43536a);padding-top:14px}.review-notice{z-index:90;color:#ffe1df;background:#443444;border:1px solid #b98b97;width:max-content;max-width:90vw;padding:12px 18px;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.review-notice button{margin-left:12px}.review-dialog .error,.inline-review-editor .error{white-space:pre-wrap;overflow-wrap:anywhere}.review-dialog button:focus-visible{outline:2px solid var(--jade,#83cfb5);outline-offset:3px}@media (width<=700px){.history-columns{grid-template-columns:1fr;gap:16px}.history-columns>div:first-child{border-right:0;border-bottom:1px solid var(--line,#43536a);padding:0 0 14px}.review-dialog{width:calc(100vw - 20px);padding:14px}.history-footer{bottom:-14px}.inline-review-editor{padding:10px}.node-review-actions{gap:12px}.node-review-actions button,.review-toolbar button{min-height:36px}}.account-controls{flex-wrap:nowrap;align-items:center;gap:.5rem;min-width:0;font-size:.85rem;display:flex}.account-controls small{white-space:nowrap;text-overflow:ellipsis;flex:none;max-width:14rem;overflow:hidden}.account-controls>span{white-space:nowrap}.account-controls>select{flex:none;width:auto;padding:5px 8px}.app-header .header-actions{align-items:center;min-width:0}.proposal-drawer{color:#4b2c2f;z-index:1100;background:#fffaf7;border-left:1px solid #d8c4be;flex-direction:column;gap:.8rem;width:min(620px,96vw);padding:1.2rem;display:flex;position:fixed;top:0;bottom:0;right:0;overflow:auto;box-shadow:-8px 0 30px #36282022}.proposal-drawer>header{justify-content:space-between;display:flex}.proposal-card{color:#4b2c2f;white-space:normal;background:#fff0ef;border:1px solid #e5b7b4;border-left:3px solid #c47873;margin:.6rem 0;padding:.8rem;font-size:.9rem;font-weight:400}.proposal-card header{color:#864b45;font-size:.8rem}.proposal-card pre{white-space:pre-wrap}.proposal-actions fieldset{border:0;flex-wrap:wrap;gap:.4rem;padding:0;display:flex}.scope-insert-actions{gap:.4rem;margin:.4rem 0 .9rem;display:flex}.proposal-card .review-diff{background:0 0}.proposal-card del{color:#793a45;background:#f4d8dd;text-decoration:line-through}.proposal-card ins{color:#642630;background:#ffd5d0;text-decoration:none}.proposal-card input,.proposal-card textarea,.proposal-drawer input,.proposal-drawer select{color:#4b2c2f;background:snow;border-color:#d2b7b7}.proposal-card button,.proposal-drawer button{color:#5b3338;background:#fff8f7;border-color:#d4b1b5}@media (width<=1100px){.app-header{flex-wrap:wrap;height:auto;min-height:76px;padding-top:10px;padding-bottom:10px}.app-header nav{flex-basis:100%;order:3}.app-header .header-actions{margin-left:auto}}@media (width<=600px){.account-controls{flex-wrap:wrap}.account-controls>small{max-width:9rem}}.proposal-split-diff{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:.65rem 0;display:grid}.proposal-split-diff section{background:snow;border:1px solid #e5b7b4;min-width:0;padding:.65rem}.proposal-split-diff h4{color:#864b45;margin:0 0 .4rem}.proposal-split-diff section>div{white-space:pre-wrap;overflow-wrap:anywhere}@media (width<=760px){.proposal-split-diff{grid-template-columns:minmax(0,1fr)}}.player-group{border-bottom:1px solid var(--line,#333);padding:8px 0}.player-group>summary{cursor:pointer;padding:8px 12px;font-weight:650}.player-group .directory-note{padding-left:20px}.player-note-label{color:var(--muted,#999);padding:8px 20px 0;display:block}.copy-control{font:inherit;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.copy-control:hover{text-decoration:underline;-webkit-text-decoration-color:var(--accent,#c8ae70);text-decoration-color:var(--accent,#c8ae70)}.copy-control:focus-visible{outline:2px solid var(--accent,#c8ae70);outline-offset:4px}.copy-result{color:var(--muted,#999);margin-left:10px;font-size:12px;display:inline-block}.json-h2{margin:24px 0 14px;font-size:1.35rem;font-weight:700}.json-h3{margin:20px 0 12px;font-size:1.12rem;font-weight:650}.json-entry{overflow-wrap:anywhere;margin:0 0 18px;position:relative}.json-entry .entry-key{margin-right:.3em;font-weight:700;display:inline}.json-entry .entry-value,.entry-value>p:first-child{display:inline}.entry-value>p:not(:first-child){display:block}.anonymous-copy{color:var(--muted,#aaa);opacity:.45;font-size:12px}.json-entry:hover .anonymous-copy,.anonymous-copy:focus-visible{opacity:1}.json-entry .prose p:last-child{margin-bottom:0}.node-fields{border:0;min-width:0;padding:0}.node-editor{border:1px solid var(--line,#444);border-radius:8px;margin:12px 0;padding:14px}.node-editor label{margin-bottom:10px;display:block}.node-editor label.inline{align-items:center;gap:8px;display:flex}.node-editor input:not([type=checkbox]),.node-editor textarea{box-sizing:border-box;width:100%;margin-top:6px;display:block}.node-actions{flex-wrap:wrap;gap:8px;display:flex}.structured-editor{min-width:0;padding-bottom:30px}.json-entry pre{max-width:100%;overflow:auto}.json-entry table{max-width:100%;display:block;overflow:auto}@media (width<=600px){.node-editor{padding:10px}.node-actions button{padding:6px 9px}.copy-result{margin:5px 0;display:block}.note-actions{flex-wrap:wrap}.json-h2{font-size:1.2rem}}.quick-video-search{max-width:72rem;padding-block:1rem}.acquisition-page>.acquisition-tabs{flex-wrap:wrap}.quick-video-form{grid-template-columns:minmax(12rem,1fr) auto auto;align-items:end;gap:.75rem;display:grid}.quick-video-form label,.quick-video-search>label{gap:.35rem;display:grid}.quick-video-toolbar{z-index:1;background:var(--panel,Canvas);justify-content:space-between;align-items:center;gap:.75rem;padding-block:.75rem;display:flex;position:sticky;top:0}.quick-video-header,.quick-video-rows li{border-block-end:1px solid var(--line,#73809655);grid-template-columns:4rem minmax(0,1fr) minmax(6rem,11rem) 7rem 6rem;align-items:center;gap:.65rem;padding-inline:.5rem;display:grid}.quick-video-header{min-height:2.75rem;font-weight:600}.quick-video-search .quick-video-form label,.quick-video-search .quick-video-header label,.quick-video-search .quick-video-check{margin:0}.quick-video-search .quick-video-header label,.quick-video-search .quick-video-check{align-items:center;gap:.3rem;display:flex}.quick-video-rows{margin:0;padding:0;list-style:none}.quick-video-rows li{min-height:3rem;padding-block:.3rem}.quick-video-rows li[data-checked=true]{background:color-mix(in srgb, var(--jade,#4e8edc) 13%, transparent)}.quick-video-rows a,.quick-video-rows span{overflow-wrap:anywhere}.quick-video-header>:last-child,.quick-video-rows li>:last-child{text-align:right;font-variant-numeric:tabular-nums}.quick-video-check input,.quick-video-header input{cursor:pointer;block-size:1.2rem;inline-size:1.2rem;margin:.25rem}.quick-video-pagination{padding-top:.75rem}.quick-video-pagination p:empty{display:none}@media (width<=700px){.quick-video-form{grid-template-columns:minmax(0,1fr) auto}.quick-video-form label:first-child{grid-column:1/-1}.quick-video-form input{width:100%;min-width:0}.quick-video-header{display:flex}.quick-video-header>span{display:none}.quick-video-rows li{grid-template-columns:2rem repeat(3,minmax(0,auto));justify-content:start;gap:.2rem .5rem}.quick-video-rows li>label{grid-row:span 2}.quick-video-rows li>a{grid-column:2/-1}.quick-video-rows li>span,.quick-video-rows time{font-size:.8rem}}.card-completion{z-index:120;box-sizing:border-box;overscroll-behavior:contain;background:var(--panel,#203249);color:var(--text,#e4edf4);border:1px solid var(--line,#496a80);font:inherit;text-align:left;border-radius:7px;margin:0;padding:4px;position:fixed;inset:auto;overflow:auto;box-shadow:0 8px 24px #0006}.card-completion-option{box-sizing:border-box;cursor:pointer;border:1px solid #0000;border-radius:4px;min-height:44px;padding:6px 9px}.card-completion-option[aria-selected=true]{border-color:var(--jade,#83cfb5);background:#20484e}.card-completion-option:hover{background:#24483f}.card-completion-heading{flex-wrap:wrap;align-items:baseline;gap:2px 8px;display:flex}.card-completion-heading strong{font-size:14px}.card-completion-heading small{color:var(--jade,#83cfb5);font-size:11px}.card-completion-effect,.card-completion-status{color:var(--muted,#b4c7d8);font-size:12px}.card-completion-effect{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-completion-status{padding:8px}.usage-match-dialog{background:var(--panel);color:#e4edf4;border:1px solid var(--line);border-radius:12px;width:min(980px,100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 28px);padding:0;overflow:auto;box-shadow:0 24px 80px #0007}.usage-match-dialog::backdrop{background:#081726bd}.usage-match-heading{border-bottom:1px solid var(--line);background:var(--panel);z-index:2;justify-content:space-between;align-items:flex-start;gap:14px;padding:18px 20px 12px;display:flex;position:sticky;top:0}.usage-match-heading h2{margin:0 0 4px;font-size:20px}.usage-match-heading p{color:var(--muted);margin:0;font-size:12px}.usage-match-heading>button{padding:1px 9px;font-size:20px}.usage-match-body{padding:0 20px 18px}.usage-match-body>label{margin:14px 0 18px}.usage-match-columns{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;display:grid}.usage-match-columns>section{min-width:0}.usage-match-columns h3{margin:0 0 8px;font-size:15px}.usage-match-columns p{overflow-wrap:anywhere;margin-bottom:10px;font-size:13px}.usage-match-source dl{margin:18px 0;font-size:13px}.usage-match-source dt{color:var(--muted);margin-top:12px}.usage-match-source dd{overflow-wrap:anywhere;margin:3px 0}.usage-match-options{border:1px solid var(--line);border-radius:6px;max-height:245px;margin:10px 0 14px;overflow:auto}.usage-match-option{color:inherit;border-bottom:1px solid var(--line);cursor:pointer;align-items:center;gap:10px;margin:0;padding:10px 12px;display:flex}.usage-match-option:last-child{border:0}.usage-match-option input{width:auto;accent-color:var(--jade);flex-shrink:0;margin:0}.usage-match-option.chosen{background:#20484e}.usage-match-option span{overflow-wrap:anywhere}.usage-match-option small{color:var(--gold);margin-left:8px}.usage-match-selection{border-top:1px solid var(--line);overflow-wrap:anywhere;padding-top:12px;font-size:13px}.usage-match-selection p{color:var(--muted);margin:6px 0;font-size:12px}.usage-match-warning{color:var(--gold)}.usage-match-footer{background:var(--panel);border-top:1px solid var(--line);align-items:center;gap:8px;padding:12px 20px;display:flex;position:sticky;bottom:0}.usage-match-footer>span{flex:1}.usage-match-feedback{padding:12px 20px 0}.usage-match-feedback .error{overflow-wrap:anywhere;white-space:normal;margin:0 0 8px}.usage-match-message{color:var(--jade);margin:12px 20px 0;font-size:13px}.dashboard-match-button{color:var(--jade);border:1px solid var(--line);background:0 0;margin-top:7px;padding:3px 7px;font-size:11px;display:block}.dashboard-manual-label{color:var(--jade);margin-top:4px;font-size:11px;font-weight:400;display:block}.dashboard-manual-error{color:var(--gold);overflow-wrap:anywhere;font-size:11px;font-weight:400;display:block}.dashboard-scope-actions{flex-wrap:wrap;gap:8px;display:flex}@media (width<=650px){.usage-match-heading{padding:14px 12px 10px}.usage-match-heading h2{font-size:17px}.usage-match-body{padding:0 12px 14px}.usage-match-columns{grid-template-columns:1fr;gap:16px}.usage-match-source dl{grid-template-columns:65px minmax(0,1fr);gap:6px;margin:10px 0;display:grid}.usage-match-source dt,.usage-match-source dd{margin:0}.usage-match-options{max-height:200px}.usage-match-footer{flex-wrap:wrap;gap:6px;padding:10px 12px}.usage-match-footer button{padding:7px 9px;font-size:12px}.usage-match-feedback{padding:10px 12px 0}.usage-match-message{margin:10px 12px 0}}.dashboard{min-height:0;color:var(--text,#e4edf4);background:var(--base);flex:1;padding:26px 30px 32px;overflow:auto}.dashboard-usage{overflow-wrap:anywhere}.dashboard-scope{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px;display:flex}.dashboard-scope [role=group]{flex-wrap:wrap;gap:7px;display:flex}.dashboard-usage{border-left:3px solid var(--jade);background:var(--panel);color:var(--muted);margin:0 0 18px;padding:10px 14px;font-size:12px}.dashboard-usage>div{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.dashboard-usage strong{color:var(--text,#e4edf4)}.dashboard-usage p{margin:6px 0 0}.dashboard-usage-warning{color:var(--gold)}.dashboard-table .dashboard-rank{color:var(--gold);margin-bottom:4px;font-size:11px;font-weight:400;display:block}.dashboard-source-name{overflow-wrap:anywhere;margin-top:4px;font-size:11px;font-weight:400;display:block}.dashboard-match-status{color:var(--gold);font-size:11px;font-weight:400;display:block}.dashboard-note-name{overflow-wrap:anywhere;font-weight:500}.dashboard-cell.pending{color:var(--gold)}.dashboard-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.dashboard-heading h1{margin:0 0 3px}.dashboard-heading p{color:var(--muted);margin:0}.dashboard-refresh{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.dashboard-refresh span{color:var(--muted);font-size:12px}.dashboard-totals{border-block:1px solid var(--line);grid-template-columns:1fr 1fr 1.35fr;gap:24px;margin:0 0 26px;padding:20px 0;display:grid}.dashboard-totals>div{border-left:1px solid var(--line);padding-left:24px}.dashboard-totals>div:first-child{border:0;padding-left:0}.dashboard-totals dt{color:var(--muted);margin:0 0 4px}.dashboard-totals dd{font-variant-numeric:tabular-nums;margin:0;font-size:36px;font-weight:650;line-height:1.25}.dashboard-totals dd span{color:var(--muted);margin-left:8px;font-size:13px;font-weight:400}.dashboard-overall dd{color:var(--jade)}.dashboard-overall small{margin-top:4px;display:block}.dashboard-fields{margin-bottom:28px}.dashboard h2{margin-bottom:15px;font-size:17px}.dashboard-field-bars{grid-template-columns:repeat(7,minmax(0,1fr));gap:22px;display:grid}.dashboard-field>div:first-child{flex-wrap:wrap;justify-content:space-between;gap:6px;display:flex}.dashboard-field strong{font-variant-numeric:tabular-nums;font-weight:600}.dashboard-field small{font-size:12px}.dashboard-bar{background:var(--line);border-radius:2px;height:5px;margin:9px 0 5px;overflow:hidden}.dashboard-bar span{background:var(--jade);height:100%;display:block}.dashboard-matrix-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.dashboard-matrix-heading h2{margin:0}.dashboard-matrix-heading label{align-items:center;gap:10px;margin:0;font-size:12px;display:flex}.dashboard-matrix-heading select{width:auto;padding:6px 9px}.dashboard-rule{color:var(--muted);max-width:78em;margin:10px 0 14px;font-size:12px}.dashboard-table-scroll{border:1px solid var(--line);isolation:isolate;border-radius:6px;max-height:65vh;scroll-padding-top:48px;overflow:auto}.dashboard-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1110px;font-size:13px}.dashboard-table th,.dashboard-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;background:var(--base);padding:11px 10px}.dashboard-table thead th{z-index:3;color:var(--muted);background:var(--panel);white-space:nowrap;font-weight:500;position:sticky;top:0}.dashboard-table .dashboard-name{z-index:2;width:230px;position:sticky;left:0}.dashboard-table .dashboard-rate{z-index:2;width:100px;box-shadow:4px 0 0 var(--line);position:sticky;left:230px}.dashboard-table thead .dashboard-name,.dashboard-table thead .dashboard-rate{z-index:4;background:var(--panel)}.dashboard-table tbody tr:hover td,.dashboard-table tbody tr:hover th{background:var(--panel)}.dashboard-table tbody tr:last-child td,.dashboard-table tbody tr:last-child th{border-bottom:0}.dashboard-rate strong{font-variant-numeric:tabular-nums;font-weight:600}.dashboard-rate small{margin-top:2px;font-size:11px;display:block}.dashboard-note-link{color:var(--text,#e4edf4);text-align:left;overflow-wrap:anywhere;background:0 0;border:0;padding:0;font-weight:500;line-height:1.6}.dashboard-note-link:hover{color:var(--jade);background:0 0;text-decoration:underline}.dashboard-cell{white-space:nowrap;background:0 0;border:0;padding:5px 0;font-size:12px}.dashboard-cell:hover{background:0 0;text-decoration:underline}.dashboard-cell.covered{color:var(--jade)}.dashboard-cell.missing{color:var(--muted)}.dashboard-cell span{margin-right:3px;font-size:11px}.dashboard-error{border-left:3px solid var(--gold);color:#f1d39a;background:#433c2c;margin:0 0 18px;padding:12px 14px}.dashboard-foot{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:16px;font-size:12px;display:flex}.dashboard-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@media (width<=1150px){.dashboard-field-bars{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 24px}}@media (width<=600px){.dashboard{padding:18px 12px 26px}.dashboard-heading{flex-wrap:wrap;align-items:flex-start;margin-bottom:16px}.dashboard-heading h1{font-size:23px}.dashboard-heading p{font-size:12px}.dashboard-refresh{justify-content:space-between;width:100%}.dashboard-totals{grid-template-columns:1fr 1fr 1.15fr;gap:10px;margin-bottom:22px;padding:15px 0}.dashboard-totals>div{padding-left:10px}.dashboard-totals dt{font-size:12px}.dashboard-totals dd{font-size:26px}.dashboard-totals dd span{margin-left:4px;font-size:11px}.dashboard-totals small{font-size:10px}.dashboard-field-bars{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px}.dashboard-matrix-heading{flex-direction:column;align-items:flex-start}.dashboard-matrix-heading label{align-self:flex-end}.dashboard-table{min-width:1020px}.dashboard-table .dashboard-name{width:156px}.dashboard-table .dashboard-rate{width:84px;left:156px}.dashboard-table th,.dashboard-table td{padding:10px 8px}.dashboard-table-scroll{max-height:72vh}.dashboard-rule{line-height:1.7}}.dashboard-table-usage tbody th,.dashboard-table-usage tbody td{padding-top:7px;padding-bottom:7px}.dashboard-table-usage .dashboard-rank{margin:0 0 2px;line-height:1.35}.dashboard-table-usage .dashboard-note-link{line-height:1.4}.dashboard-note-link:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.template-help{overflow-wrap:anywhere;min-width:0;padding:8px 24px 24px;line-height:1.75}.template-help h1{font-size:24px}.template-help h2{margin:28px 0 12px;font-size:20px}.template-help h3{margin:20px 0 10px;font-size:17px}.template-help p,.template-help ul,.template-help ol{margin:12px 0}.template-help a{color:var(--jade,#72d5b5);text-decoration:underline}.template-help code{background:#091621;border-radius:3px;padding:2px 4px;font-family:Consolas,Cascadia Code,monospace;font-size:.9em}.template-help-table{border:1px solid #2b4153;border-radius:6px;max-width:100%;margin:14px 0;overflow-x:auto}.template-help table{border-collapse:collapse;width:100%;min-width:530px;font-size:13px}.template-help th,.template-help td{text-align:left;vertical-align:top;border-bottom:1px solid #2b4153;padding:9px 12px}.template-help th{background:#172b3b}.template-help-example{border-top:1px solid #2b4153;min-width:0;margin-top:24px;padding-top:12px;scroll-margin:16px}.template-help-example label{gap:8px;font-size:14px;display:grid}.template-help-example textarea{box-sizing:border-box;resize:vertical;white-space:pre;tab-size:2;width:100%;min-width:0;min-height:260px;max-height:50dvh;font:13px/1.65 Consolas,Cascadia Code,monospace;display:block;overflow:auto}.template-help-actions,.template-help footer{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.template-help-example [role=status]{color:var(--jade,#72d5b5)}@media (width<=760px){.template-help{padding:6px 16px 20px}.template-help h1{font-size:21px}.template-help h2{font-size:18px}.template-help-example textarea{font-size:12px}.template-help th,.template-help td{padding:8px}}.floating-document-note-button,.floating-document-note{z-index:1300;color:#e4edf4;background:#142c45;border:1px solid #49627a;position:fixed;box-shadow:0 4px 16px #0005}body:has(.floating-document-note-button) .app .app-header{padding-inline-end:60px}.floating-document-note-button{touch-action:none;cursor:grab;border-radius:8px;place-items:center;width:38px;height:38px;padding:0;display:grid;top:8px;right:12px}.floating-document-note-button:active{cursor:grabbing}.floating-document-note{z-index:1301;box-sizing:border-box;border-width:0 0 0 1px;flex-direction:column;width:33.333vw;height:100dvh;display:flex;inset:0 0 0 auto;box-shadow:-12px 0 32px #0005}.floating-document-note header{justify-content:space-between;align-items:flex-start;gap:12px;padding:16px;display:flex}.floating-document-note header button{padding:2px 10px;font-size:20px}.floating-document-note header p,.floating-document-note footer p{overflow-wrap:anywhere;margin:4px 0 0}.floating-document-note form{flex-direction:column;flex:1;min-height:0;display:flex}.floating-note-tools{border-block:1px solid #34536b;flex-wrap:wrap;align-items:center;gap:4px;padding:8px 12px;display:flex}.floating-note-tools button{min-width:32px;padding:4px 8px}.floating-note-preview-toggle{margin-inline-start:auto}.floating-note-preview-toggle[aria-pressed=true]{color:#8bddc5;border-color:#578c82}.floating-document-note textarea,.floating-note-preview{box-sizing:border-box;width:100%;min-height:0;color:inherit;font:inherit;background:#102438;border:0;border-radius:0;flex:1;padding:16px;line-height:1.65;overflow:auto}.floating-document-note textarea{resize:none}.floating-document-note textarea:focus-visible,.floating-note-preview:focus-visible{outline-offset:-2px;outline:2px solid #72d5b5}.floating-note-preview{overflow-wrap:anywhere}.floating-note-preview>:first-child{margin-top:0}.floating-note-preview img{max-width:100%}.floating-note-preview pre{overflow:auto}.floating-document-note footer{border-top:1px solid #34536b;align-items:center;gap:10px;min-height:52px;padding:8px 12px;display:flex}.floating-document-note footer button{flex-shrink:0;margin-inline-start:auto}.floating-document-note [role=alert]{color:#ffb0a7}@media (width<=760px){.floating-document-note{width:min(100%,420px)}}.templates-page{color:#e4edf4;background:#102438;flex:1;min-height:0;padding:24px;overflow:auto}.template-page-heading{justify-content:space-between;align-items:start;gap:24px;margin-bottom:22px;display:flex}.template-page-heading h1{margin:0 0 8px;font-size:26px}.template-page-heading p{color:#a5b9c9;margin:0}.template-toolbar{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.templates-page button,.template-overlay button{min-height:36px}.template-workspace{grid-template-columns:240px minmax(0,1fr);gap:24px;display:grid}.template-events{background:#142c45;border:1px solid #29455e;border-radius:12px;align-self:start;padding:12px;position:sticky;top:0}.template-events button{text-align:left;background:0 0;border-color:#0000;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;display:flex}.template-events button span:last-child{color:#a5b9c9}.template-events button.selected{color:#72d5b5;background:#214638;border-color:#467b6b}.template-events h2{color:#a5b9c9;margin:20px 12px 5px;font-size:13px}.template-results{min-width:0}.template-filters{border-bottom:1px solid #29455e;flex-wrap:wrap;align-items:end;gap:12px;padding-bottom:16px;display:flex}.template-filters label{color:#a5b9c9;flex-direction:column;flex:1;gap:6px;min-width:160px;font-size:13px;display:flex}.template-filters .template-search{flex:2;min-width:240px}.template-result-heading{align-items:center;gap:12px;margin:20px 0 12px;display:flex}.template-result-heading h2{margin:0;font-size:18px}.template-result-heading button{margin-left:auto}.template-group-list{flex:1;min-width:0}.template-group{background:#142c45;border:1px solid #29455e;border-radius:10px;margin-bottom:18px;overflow:hidden}.template-group>header{justify-content:space-between;gap:16px;padding:20px 22px 14px;display:flex}.template-group h2{margin:0 0 8px;font-size:20px;line-height:1.5}.template-scope{color:#a5b9c9;flex-wrap:wrap;gap:6px 18px;font-size:12px;display:flex}.template-card-actions{align-items:start;gap:6px;display:flex}.template-group .template-chips{padding:0 22px 16px}.template-chips{flex-wrap:wrap;gap:10px;display:flex}.template-chips>span{align-items:center;gap:3px;display:flex}.template-chips .entity-portrait{background:#102438;border-color:#35506a;max-width:220px}.template-group-body{border-top:1px solid #29455e;grid-template-columns:minmax(170px,1fr) minmax(0,2fr);display:grid}.template-group-body>section{min-width:0;padding:18px 22px}.template-group-body h3{color:#a5b9c9;margin:0 0 14px;font-size:13px}.template-group-body h3 small{font-weight:400}.template-read-conditions{border-right:1px solid #29455e}.template-read-conditions dl{margin:0}.template-read-conditions dl>div{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px;display:flex}.template-read-conditions dt{color:#a5b9c9;font-size:13px}.template-read-conditions dd{overflow-wrap:anywhere;margin:0}.template-read-utterances ul{margin:0;padding:0;list-style:none}.template-read-utterances li{white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid #29455e;padding:12px 0;line-height:1.8}.template-read-utterances li:first-child{padding-top:0}.template-read-utterances li:last-child{border:0;padding-bottom:0}.template-notice{background:#1b4039;border:1px solid #467b6b;justify-content:space-between;gap:16px;margin-bottom:16px;padding:12px 16px;display:flex}.template-error{margin-bottom:12px;padding:12px}.template-error button{margin-left:12px}.template-warning{color:#f2d397;background:#493d25;border-left:3px solid #e7bf76;flex-wrap:wrap;align-items:center;gap:12px;margin:0 22px 16px;padding:12px;font-size:13px;display:flex}.template-warning button{margin-left:auto}.template-needs-check{border-color:#8c7345}.template-overlay{z-index:200;color:#e4edf4;background:#07121dd9;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.template-dialog{background:#142c45;border:1px solid #49627a;border-radius:12px;width:min(700px,100%);max-height:calc(100dvh - 48px);overflow:auto;box-shadow:0 24px 80px #0008}.template-dialog-wide{width:min(1060px,100%)}.template-dialog>header{z-index:2;background:#142c45;border-bottom:1px solid #35506a;justify-content:space-between;align-items:center;padding:18px 24px;display:flex;position:sticky;top:0}.template-dialog>header h2{margin:0;font-size:21px}.template-dialog>header button{font-size:24px;line-height:1}.template-form,.template-proposals{padding:22px 24px}.template-form fieldset{border:0;min-width:0;margin:0;padding:0}.template-form label{color:#a5b9c9;flex-direction:column;gap:8px;font-size:13px;display:flex}.template-form input,.template-form select,.template-form textarea,.template-filters input,.template-filters select{box-sizing:border-box;color:#e4edf4;width:100%;min-height:40px;font:inherit;background:#102438;border:1px solid #49627a;border-radius:6px;padding:9px 11px}.template-form textarea{resize:vertical;line-height:1.7}.template-form-grid{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px;display:grid}.template-form section{border-top:1px solid #35506a;margin-top:24px;padding-top:16px}.template-form h3{margin:0 0 10px;font-size:16px}.template-form p{line-height:1.65}.template-form footer,.template-proposal footer{border-top:1px solid #35506a;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:16px;display:flex}.template-condition-edit{background:#102438;border-radius:6px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;padding:12px;display:flex}.template-condition-edit>select,.template-condition-edit>input{flex:1;width:auto;min-width:110px;max-width:270px}.template-condition-edit small{flex-basis:100%}.template-utterance-edit{align-items:center;gap:12px;margin:14px 0;display:flex}.template-utterance-edit label{flex:1}.template-parameter-tools,.template-candidates{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.template-parameter-tools button{font-size:12px}.template-parameter-tools code{color:#72d5b5}.template-settings{grid-template-columns:190px minmax(0,1fr);gap:24px;display:grid}.template-settings aside{border-right:1px solid #35506a;padding-right:14px}.template-settings aside button{text-align:left;width:100%;margin-bottom:8px;display:block}.template-settings aside .selected{color:#72d5b5;border-color:#72d5b5}.template-parameter{background:#102438;border:1px solid #35506a;border-radius:8px;margin-bottom:12px;padding:16px}.template-proposal{border-bottom:1px solid #49627a;margin-bottom:28px;padding-bottom:24px}.template-proposal>header{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.template-proposal time{color:#a5b9c9;font-size:12px}.template-proposal h3{font-size:16px}.template-diff{border:1px solid #35506a;border-radius:6px;margin:8px 0 16px}.template-diff summary{cursor:pointer;padding:10px}.template-diff>div,.template-warning-diff{grid-template-columns:1fr 1fr;gap:12px;padding:12px;display:grid}.template-diff section{min-width:0}.template-diff strong{color:#a5b9c9;font-size:12px}.template-diff pre,.template-warning-diff pre,.template-import-summary{white-space:pre-wrap;overflow-wrap:anywhere;background:#102438;max-height:260px;padding:12px;font-size:12px;overflow:auto}.template-approve-choice{color:#72d5b5;align-items:center;gap:8px;display:flex}.template-approve-choice input{width:18px;height:18px}.template-mobile-events,.template-mobile-close,.template-drawer-backdrop{display:none}.templates-page :focus-visible,.template-overlay :focus-visible{outline-offset:3px;outline:2px solid #72d5b5}.template-overlay .danger{color:#f2a6a6}.template-warning-change{grid-template-columns:1fr 1fr;gap:16px;margin:12px 0;line-height:1.6;display:grid}.template-warning-change dt{color:#a5b9c9;grid-column:1/-1}.template-warning-change dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.template-warning-change dd:last-child{color:#72d5b5}@media (width>=1700px){.template-group-body{grid-template-columns:minmax(180px,.8fr) minmax(0,2fr)}}@media (width<=1100px){.template-page-heading{display:block}.template-toolbar{justify-content:flex-start;margin-top:16px}.template-workspace{grid-template-columns:210px minmax(0,1fr);gap:16px}.template-group-body{grid-template-columns:1fr}.template-read-conditions{border-bottom:1px solid #29455e;border-right:0}.template-read-conditions dl{flex-wrap:wrap;gap:12px;display:flex}.template-read-conditions dl>div{margin:0}.template-group>header{padding:16px}.template-group .template-chips{padding:0 16px 12px}.template-group-body>section{padding:16px}}@media (width<=760px){.templates-page{padding:16px 12px}.template-page-heading h1{font-size:23px}.template-toolbar{gap:6px}.template-toolbar button{padding:7px 10px;font-size:12px}.template-workspace{display:block}.template-mobile-events{margin-bottom:12px;display:block}.template-events{z-index:170;border-radius:0;width:min(300px,85vw);display:none;position:fixed;top:0;bottom:0;left:0;overflow:auto}.template-events-open{display:block}.template-mobile-close{color:#72d5b5;display:block!important}.template-drawer-backdrop{z-index:169;background:#07121dc9;border:0;border-radius:0;display:block;position:fixed;inset:0}.template-filters{gap:10px}.template-filters label{min-width:135px}.template-filters .template-search{flex-basis:100%;min-width:0}.template-scope{gap:6px 10px}.template-card-actions{flex-direction:column}.template-group h2{font-size:18px}.template-overlay{align-items:stretch;padding:0}.template-dialog{border:0;border-radius:0;width:100%;max-height:100dvh}.template-dialog>header{padding:14px 16px}.template-form,.template-proposals{padding:16px}.template-form-grid{grid-template-columns:1fr}.template-condition-edit{padding:8px}.template-condition-edit>select,.template-condition-edit>input{flex-basis:calc(50% - 8px);min-width:0;max-width:none}.template-settings{display:block}.template-settings aside{border:0;gap:8px;margin-bottom:16px;padding:0 0 12px;display:flex;overflow:auto}.template-settings aside button{white-space:nowrap;flex-shrink:0;width:auto}.template-diff>div,.template-warning-diff{grid-template-columns:1fr}.template-warning{margin:0 16px 12px}.template-warning-change{grid-template-columns:1fr}.template-warning-change dt{grid-column:auto}}@media (prefers-reduced-motion:reduce){.templates-page *,.template-overlay *{scroll-behavior:auto!important;transition:none!important}}.template-conflict-versions{grid-template-columns:1fr 1fr;gap:16px;display:grid}.template-conflict-choice{border:1px solid #49627a;border-radius:6px;padding:12px}.template-conflict-choice>span{align-items:center;gap:8px;display:flex}.template-conflict-choice input{width:18px;min-height:18px}.template-conflict-choice pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font:inherit;background:#102438;max-height:400px;padding:12px;overflow:auto}@media (width<=760px){.template-conflict-versions{grid-template-columns:1fr}}.template-conflict-reviewed{align-items:center;margin-top:18px;flex-direction:row!important}.template-conflict-reviewed input{flex-shrink:0;width:18px;min-height:18px}.template-toolbar,.template-filters{border:0;min-width:0;margin:0;padding:0}.template-filters{border-bottom:1px solid #29455e;flex-wrap:nowrap;align-items:end;padding-bottom:16px}.template-search{position:relative}.template-filter-trigger,.template-search input{box-sizing:border-box;height:42px}.template-filter-trigger{white-space:nowrap}.template-search>label,.template-search input{margin:0}.template-search-history{z-index:10;background:#142c45;border:1px solid #49627a;border-radius:8px;padding:12px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 24px #07121d99}.template-overlay:has(>.template-filter-dialog){align-items:center;padding:12px}.template-dialog.template-filter-dialog{box-sizing:border-box;border:1px solid #49627a;border-radius:12px;width:min(780px,100%);max-height:calc(100dvh - 24px);font-size:12px}.template-filter-dialog>header{padding:8px 16px}.template-filter-dialog>header h2{font-size:16px}.template-filter-dialog button{min-height:28px;font-size:inherit;padding:4px 8px}.template-filter-dialog>header button{font-size:18px}.template-filter-dialog label{min-width:0;font-size:inherit;gap:4px}.template-filter-dialog :is(input[type=search],select){min-height:32px;padding:5px 8px}.template-filter-options{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px 14px;padding:12px 16px;display:grid}.template-filter-options>fieldset{min-width:0;margin:0}.template-filter-options>button{place-self:end}.template-filter-options .template-filter-events{grid-column:1/-1}.template-filter-options label.template-filter-toggle{box-sizing:border-box;flex-direction:row;gap:5px;min-height:28px;padding:3px 7px}@media (width<=580px){.template-filter-options{grid-template-columns:minmax(0,1fr);padding-inline:12px}}.template-filter-metadata{border:0;gap:6px;min-width:0;margin-inline:0;padding:0;display:grid}.template-filter-metadata input{width:100%;min-width:0}.template-metadata-editor .metadata-suggestions{flex-basis:100%}.template-filter-tags label{flex-direction:row;flex:none;align-items:center;min-width:0;display:inline-flex}.template-filter-tags input{width:auto;min-height:0}.template-search-history{flex-wrap:wrap;gap:6px;display:flex;right:0}.template-scope{align-items:center}.template-inline-metadata,.template-metadata-trigger,.template-metadata-editor{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;max-width:100%;display:inline-flex}.template-group .template-inline-metadata .template-metadata-trigger,.template-group .template-inline-metadata button.template-metadata-chip{min-height:24px;color:inherit;font:inherit;text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;padding:0 3px}.template-inline-metadata .template-metadata-trigger:hover:not(:disabled){color:#e4edf4;background:#1c3a50;border-color:#35536a}.template-metadata-chip{color:#91dfc7;overflow-wrap:anywhere;background:#1c423f;border-radius:4px;align-items:center;gap:4px;min-height:20px;padding:0 6px;line-height:1.35;display:inline-flex}.template-inline-batch .template-metadata-chip{color:#c0d7ef;background:#243c56}.template-group .template-inline-metadata button.template-metadata-chip{color:#91dfc7;background:#1c423f;min-height:24px;padding:0 6px;display:inline-flex}.template-group .template-inline-batch button.template-metadata-chip{color:#c0d7ef;background:#243c56}.template-inline-metadata button.template-metadata-chip:hover{border-color:currentColor}.template-metadata-pencil,.template-metadata-empty{color:#adc4d6}.template-metadata-pencil{font-size:13px}.template-metadata-editor{background:#102438;border-radius:6px;min-height:24px;padding:0 3px;box-shadow:inset 0 0 0 1px #467b6b}.template-metadata-editor input{color:#e4edf4;width:6em;min-width:0;max-width:100%;font:inherit;background:0 0;border:0;border-radius:4px;padding:2px 4px}@supports (field-sizing:content){.template-metadata-editor input{field-sizing:content;width:auto;min-width:5em}}.template-metadata-editor input::placeholder{color:#adc4d6}.template-metadata-error{color:#f3aaaa;overflow-wrap:anywhere}.template-explanation-entry{white-space:pre-wrap;display:block}.template-explanation-entry+.template-explanation-entry{margin-top:12px}.template-explanation-entry strong{margin-bottom:4px;display:block}.template-explanation-popup{max-height:60vh;overflow:auto}.template-events[inert]{opacity:.6}.template-group-body{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.template-group-body>.template-read-conditions{box-sizing:border-box;border-right:0;align-self:start}.template-read-conditions .template-chips{gap:8px;margin-bottom:18px;padding:0}.template-condition-scopes{color:var(--muted);overflow-wrap:anywhere;flex-direction:column;gap:4px;margin-bottom:16px;font-size:12px;display:flex}.template-read-utterances{border-left:1px solid #29455e}.template-utterance-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.template-utterance-heading button,.template-row-actions button,.template-inline-parameters button{padding:5px 9px;font-size:12px}.template-read-utterances li{align-items:center;gap:12px;display:flex}.template-utterance-text{white-space:pre-wrap;flex:1;min-width:0}.template-utterance-length{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-user-select:none;user-select:none;flex:none;font-size:12px}.template-utterance-draft{flex:1;min-width:0}.template-row-actions{flex-shrink:0;gap:6px;display:flex}.template-inline-editor{white-space:normal;width:100%;min-width:0}.template-utterance-original{border-left:2px solid var(--line,#35506a);background:#102438;border-radius:0 6px 6px 0;align-items:baseline;gap:10px;margin:0 0 10px;padding:6px 10px;display:flex}.template-utterance-original>span:first-child{color:var(--muted);flex:none;font-size:12px}.template-utterance-original>span:last-child{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.template-inline-editor label{color:var(--muted);margin:0;font-size:13px;display:block}.template-inline-editor textarea{box-sizing:border-box;width:100%;min-height:100px;margin-top:8px;line-height:1.8}.template-inline-parameters{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.template-inline-actions{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.template-read-utterances>.template-inline-editor{border-top:1px solid #29455e;margin-top:16px;padding-top:16px}.template-inline-error{border-left:3px solid var(--gold);color:#f2d397;background:#493d25;margin:12px 0 0;padding:10px 12px;font-size:13px}@media (width<=760px){.template-group-body{grid-template-columns:1fr}.template-group-body>.template-read-conditions{border-bottom:1px solid #29455e}.template-read-utterances{border-left:0}.template-read-utterances li{flex-wrap:wrap}.template-row-actions{margin-left:auto}}.template-events .template-mobile-close{display:none}@media (width<=760px){.template-events{box-sizing:border-box;overscroll-behavior:contain;align-self:stretch;height:100dvh;max-height:100dvh}}.template-group{margin-bottom:12px}.template-group>header{flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px}.template-group>header>div:first-child{flex-wrap:wrap;flex:16rem;align-items:center;gap:6px 12px;min-width:0;display:flex}.template-group h2{overflow-wrap:anywhere;margin:0;font-size:17px;line-height:1.35}.templates-page .template-group button{min-height:28px}.template-card-actions{flex-flow:wrap;min-width:0}.template-card-actions button{white-space:nowrap;padding:4px 8px;font-size:12px}.template-group-body>section{padding:10px 14px}.template-condition-scopes{flex-flow:wrap;gap:4px 12px;margin-bottom:8px}.template-read-conditions .template-chips{gap:6px;margin-bottom:8px}.template-read-conditions .entity-portrait{gap:2px;width:48px;font-size:11px}.template-read-conditions .official-card-thumb,.template-read-conditions .card-image-placeholder{width:42px;height:42px}.template-group-body h3{margin-bottom:7px}.template-read-conditions dl>div{gap:4px 6px;margin-bottom:5px}.template-read-conditions dt{font-size:12px}.template-utterance-heading{gap:8px;margin-bottom:7px}.template-utterance-heading h3{margin:0}.template-read-utterances li{gap:8px;padding:6px 0;line-height:1.55}.template-row-actions button{padding:3px 7px}.template-inline-editor textarea{min-height:76px;margin-top:5px}.template-inline-actions{margin-top:6px}.template-group .template-warning{margin:0 14px 8px;padding:8px 10px}.template-json-export textarea{white-space:pre;tab-size:2;min-height:280px;max-height:55dvh;font-family:Consolas,Cascadia Code,monospace;font-size:13px;line-height:1.6;overflow:auto}.template-json-export>p{overflow-wrap:anywhere;margin-bottom:14px}.template-json-copy-status{color:var(--jade)}.template-form fieldset.template-new-parameter{background:#102438;border:1px solid #49627a;border-radius:8px;margin:14px 0;padding:14px}.template-new-parameter legend{color:var(--jade);padding:0 6px;font-weight:600}.template-new-parameter .template-form-grid{margin-bottom:0}.template-add-parameter-button{margin-left:8px}.template-parameter-pending{color:var(--jade);margin:10px 0 0;font-size:13px}@media (width<=760px){.templates-page .template-group button{min-height:34px}.template-group>header{align-items:flex-start}.template-group>header>div:first-child{gap:3px 8px}}.rule-branch{border-radius:.5rem;min-width:0;border:1px solid var(--border,#49627a)!important;margin:.6rem 0!important;padding:.65rem!important}.rule-branch .rule-branch{margin-left:.8rem!important}.rule-branch legend{padding:0 .4rem;font-weight:600}.rule-tools,.rule-leaf{flex-wrap:wrap;align-items:end;gap:.5rem;margin:.45rem 0;display:flex}.rule-tools [aria-pressed=true]{text-underline-offset:.25em;font-weight:700;text-decoration:underline}.rule-leaf{border-top:1px solid var(--border,#49627a);padding-top:.65rem}.rule-leaf select,.rule-leaf input{max-width:min(100%,22rem)}.rule-expression,.rule-restore pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:monospace;display:block}.rule-expression{color:#d4e6e4;background:#102438;border-radius:.3rem;padding:.6rem}.template-condition-preview{margin:.65rem 0}.template-condition-invalid .rule-expression{color:#fff1f2;background:#612731;border:1px solid #bd626f;min-height:2rem}.template-expression-reading{border:1px solid #0000;position:relative}:is(.template-expression-reading:has(.template-expression-edit-trigger:enabled):hover,.template-expression-reading:focus-within){border-color:var(--line,#35506a)}.template-condition-preview .template-expression-edit-trigger{cursor:text;background:0 0;border:0;min-height:0;padding:0;position:absolute;inset:0}.template-expression-content{pointer-events:none}.template-expression-content .entity-inline{z-index:1;pointer-events:auto;position:relative}.templates-page .template-name-trigger,.template-name-trigger{min-height:0;color:inherit;font:inherit;text-align:left;background:0 0;border:0;border-radius:2px;padding:0}.template-name-trigger:hover:not(:disabled){text-underline-offset:.2em;text-decoration:underline}.template-name-edit{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.template-name-edit input{font:inherit;min-width:0;max-width:100%}.template-name-edit button,.template-name-edit small{font-size:13px}.template-group-body>.template-read-conditions:has(.template-expression-editor){flex-direction:column;align-self:stretch;display:flex}.template-expression-editor,.template-expression-editor .condition-code-editor{flex-direction:column;flex:auto;display:flex}.template-read-conditions>div:has(>.template-condition-preview .template-expression-editor){flex-direction:column;flex:auto;display:flex}.template-condition-preview:has(.template-expression-editor){flex-direction:column;flex:auto;display:flex}.template-expression-editor{gap:6px}.template-expression-editor .condition-code-editor textarea{field-sizing:content;flex:1 0 auto;min-height:calc(3lh + 1.2rem + 2px)}.template-condition-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:.45rem;display:flex}.templates-page .template-group .template-condition-actions button,.template-overlay .template-condition-actions button{border-radius:6px;min-height:28px;padding:3px 8px;font-size:12px;line-height:1.4}.template-condition-actions small{color:#a5b9c9}.rule-restore>div{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.65rem;display:grid}.template-group{overflow:visible}.template-group>header{position:relative}.template-explanation{align-items:center;display:inline-flex}.template-explanation button{color:#8cdec8}.template-explanation-popup{z-index:4;box-sizing:border-box;color:#e4edf4;white-space:pre-wrap;overflow-wrap:anywhere;background:#102438;border:1px solid #52718a;border-radius:7px;width:min(30rem,100% - 24px);padding:10px 14px;font-size:14px;line-height:1.65;position:absolute;top:100%;left:12px;box-shadow:0 6px 18px #0006}.template-explanation-field+small{text-align:right;margin:4px 0 12px;display:block}.template-action{color:#e4edf4;margin:0 0 .6rem;font-size:1rem}.template-action strong{color:#9eb4c7;margin-right:.45rem}.template-read-conditions .template-action-parameters{margin-bottom:10px;display:block}.template-action-parameters dd{font-size:13px}.template-action-parameters small{color:#a5b9c9}.template-action-parameters strong{color:#93e1d3}.templates-page,.template-results{flex-direction:column;min-height:0;display:flex}.templates-page{overflow:hidden}.template-page-heading,.template-notice,.template-error,.template-filters,.template-result-heading{flex-shrink:0}.template-workspace{flex:1;grid-template-rows:minmax(0,1fr);min-height:0}.template-events{box-sizing:border-box;max-height:100%;position:static;overflow:auto}.template-group-list{overscroll-behavior:contain;min-height:0;overflow:auto}.template-card-stack{flex:1;min-width:0}.template-notice>span{flex:1;align-self:center}.template-card-event,.template-board-section[aria-label]{background:#10263a;border:1px solid #52718a;border-radius:12px;margin:0 0 18px;padding:0 10px 10px}.template-card-event>h3,.template-board-section[aria-label]>h3{color:#edf6fc;background:#1c3b54;border-bottom:1px solid #41617c;border-radius:11px 11px 0 0;margin:0 -10px 10px;padding:10px 14px;font-size:16px}.template-display-event>h4{color:#b9d5e8;margin:0 0 8px;padding:0 4px;font-size:14px;font-weight:600}.template-display-event+.template-display-event{border-top:1px solid #36536b;margin-top:14px;padding-top:12px}.template-card-event .template-display-event>.template-group{margin-bottom:10px}.template-card-event .template-display-event>.template-group:last-child{margin-bottom:0}.template-results .card-dock .official-card-image{max-height:min(300px,30dvh)}@media (width<=760px){.templates-page{overflow-y:auto}.template-workspace{flex-direction:column;flex:none;display:flex}.template-results{flex:none}.template-group-list{overflow:visible}.template-events{position:fixed}.template-mobile-events{align-self:start}}.template-ignored{color:var(--muted);white-space:nowrap;font-size:12px}.template-group-ignored{background:#1d2a35;border-color:#44515d}.template-group-ignored>header>div:first-child,.template-group-ignored .template-read-conditions,.template-group-ignored .template-utterance-text,.template-utterance-ignored .template-utterance-text{filter:grayscale();opacity:.7}.template-read-utterances .template-utterance-ignored{background:#ffffff06}.template-read-utterances li.template-utterance-fixed,.template-board-utterance.template-utterance-fixed{color:#153d2d;background:#d9f3e2;border-radius:6px;padding:6px 8px}.template-utterance-fixed :is(.template-utterance-length,.template-ignored,.template-fixed){color:#315747}.template-utterance-fixed .template-row-actions button{color:#e8f7ed}.template-utterance-fixed .template-row-actions button:disabled{color:#304c3d;opacity:1;background:#b7d4c2;border-color:#759785}.template-utterance-fixed .template-utterance-original>span:last-child,.template-utterance-fixed .template-inline-parameters :is(button,select),.template-utterance-fixed .template-inline-actions button:not(.primary){color:#e8f7ed}.template-utterance-fixed .template-inline-error{color:#823445}.template-fixed{color:var(--text,#e5eaf0);border:1px solid var(--line,#43536a);border-radius:4px;width:fit-content;padding:1px 5px;font-size:11px;display:inline-block}.template-comment-count{background:var(--panel,#253e54);font-variant-numeric:tabular-nums;border:1px solid;border-radius:50%;place-items:center;min-width:1.55em;height:1.55em;font-size:.8em;line-height:1;display:inline-grid}.template-file-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:min(100%,740px);margin:28px auto;display:grid}.template-file-columns>section{border:1px solid var(--line);border-radius:8px;min-width:0;min-height:210px;padding:16px}.template-file-columns h2{margin:0 0 10px;font-size:15px}.template-file-columns p{overflow-wrap:anywhere;margin:0 0 10px}.template-file-columns ul{gap:6px;max-height:min(40vh,24rem);margin:0;padding:3px;list-style:none;display:grid;overflow:auto}.template-file-columns li{grid-template-columns:minmax(0,1fr);gap:4px;display:grid}.template-file-columns .template-recent-files li{grid-template-columns:minmax(0,1fr) auto}.template-file-columns button:first-child{text-align:start;overflow-wrap:anywhere;min-width:0}.template-recent-files button+button{white-space:nowrap}@media (width<=600px){.template-file-columns{grid-template-columns:minmax(0,1fr)}.template-file-columns>section{min-height:0}.template-file-columns ul{max-height:none}}.template-action-parameters dd .entity-portrait{vertical-align:middle;align-items:center;gap:.35em;width:auto;margin-inline-start:.35em;padding:.15em .45em;display:inline-flex}.template-action-parameters dd .entity-portrait img{object-fit:contain;width:2em;height:2em}.template-entity-search{color:#a5b9c9;gap:5px;margin:0 0 10px;font-size:13px;display:grid}.template-entity-search input{width:100%;min-height:36px;color:inherit;background:#102438;border:1px solid #49627a;border-radius:6px;padding:6px 8px}.template-entities button span:first-child{flex-wrap:wrap;align-items:baseline;gap:2px 5px;display:flex}.template-entities button small{color:#a5b9c9}.template-entities button span:last-child{font-variant-numeric:tabular-nums}.template-board{-webkit-user-select:none;user-select:none}.template-title-controls{flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0;display:inline-flex}.template-title-controls:empty{display:none}.template-title-controls .template-explanation button,.template-review-statuses button{min-height:34px;font:inherit;white-space:nowrap;padding:5px 10px;font-size:14px}.template-review-statuses{flex-wrap:wrap;gap:4px;min-width:0;display:inline-flex}.template-review-statuses button[aria-pressed=true]{color:#93e1d3;background:#214638;border-color:#467b6b}.template-review-statuses button[data-review=needs_revision][aria-pressed=true],.template-group button[data-has-comments],.template-board-review[data-review=needs_revision]{color:#ffe0e5;background:#682b36;border-color:#bb5665}.template-review-statuses button:disabled{cursor:default}.template-review-statuses button[data-review-pending]{opacity:1;animation:.24s ease-out template-review-pulse}@keyframes template-review-pulse{0%{transform:scale(.94);box-shadow:0 0 0 2px #93e1d3}to{transform:scale(1);box-shadow:0 0 #0000}}@media (prefers-reduced-motion:reduce){.template-review-statuses button[data-review-pending]{animation:none}}.template-history-control{position:relative}.template-history-tooltip{z-index:5;inset-inline-end:0;color:#e4edf4;white-space:normal;background:#102438;border:1px solid #52718a;border-radius:6px;width:max-content;max-width:min(280px,70vw);padding:8px 10px;font-size:12px;display:none;position:absolute;top:calc(100% + 3px);box-shadow:0 6px 18px #0006}.template-history-control:hover .template-history-tooltip,.template-history-control:focus-within .template-history-tooltip{display:block}.template-group>.template-diff{margin:0 22px 16px}.template-page-heading{flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:12px;display:flex}.template-page-heading h1{margin:0}.template-page-heading .template-toolbar{margin-inline-start:auto}.template-result-heading{flex-wrap:wrap;justify-content:space-between;row-gap:8px}.template-result-summary,.template-result-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.template-result-actions{margin-inline-start:auto}.template-result-heading .template-result-actions button{min-height:32px;margin:0;padding:4px 9px;font-size:13px}.template-batch-form>p:first-child{margin-top:0}.template-batch-form #template-batch-hint{margin:6px 0 0;font-size:12px}.template-browse-toolbar{flex-wrap:wrap;flex:39rem;align-items:center;gap:6px 10px;min-width:0;display:flex}.template-browse-toolbar [role=group]{gap:3px;display:flex}.template-browse-toolbar [aria-pressed=true]{color:#93e1d3;background:#214638;border-color:#467b6b}.template-browse-toolbar .template-filters{border:0;flex:12rem;align-items:center;padding:0}.template-browse-toolbar .template-search{min-width:0}.template-search{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.template-search-general{min-width:0;position:relative}.template-search input{min-width:0}.template-card-title{align-items:center;gap:8px;min-width:0;max-width:100%;display:flex}.template-card-title h2{min-width:0}.template-action-badge{color:#103b34;background:#a7e7d4;border-radius:4px;flex-shrink:0;max-width:45%;padding:3px 7px;font-size:12px;font-weight:700;line-height:1.4}.templates-page button.template-inline-trigger:not(.template-action-badge),.template-browse-popup button.template-inline-trigger:not(.template-action-badge){color:inherit;background:0 0;border:1px solid #0000;padding:2px 4px}.template-inline-trigger:hover:not(:disabled){text-underline-offset:3px;text-decoration:underline}button.template-inline-trigger.template-inline-argument{margin-inline-start:5px;color:#a7e7d4!important;background:#1b4250!important;border-color:#41646e!important}.template-inline-choice{vertical-align:middle;align-items:center;gap:6px;max-width:100%;display:inline-flex;position:relative}.template-inline-choice input{color:#e4edf4;width:clamp(130px,21vw,280px);min-width:0;font:inherit;background:#102438;border:1px solid #628b96;border-radius:5px;padding:5px 8px}.template-inline-options{z-index:10;background:#102438;border:1px solid #527189;border-radius:6px;min-width:100%;max-width:min(420px,80vw);max-height:230px;padding:4px;display:grid;position:absolute;top:calc(100% + 4px);left:0;overflow:auto;box-shadow:0 8px 20px #0008}.template-inline-options button{white-space:nowrap;text-align:left;border-color:#0000;border-radius:4px}.template-inline-options button[aria-selected=true]{color:#d8f9ef;background:#2a4f61}.template-card-merged{background:#142c45;border:1px solid #29455e;border-radius:12px;margin-bottom:12px}.template-card-merged>.template-group{background:0 0;border:0;border-radius:0;margin:0}.template-card-merged>.template-condition-variant{border-top:1px solid #34536b}.template-card-related-family{background:#142c45;border:1px solid #34536b;border-radius:12px;margin-bottom:12px}.template-card-related-family>:is(.template-group,.template-card-merged){background:0 0;border:0;border-radius:0;margin:0}.template-card-related-family>:is(.template-group,.template-card-merged)+:is(.template-group,.template-card-merged){border-top:1px solid #34536b}.template-copy-actions{border-top:1px solid #34536b;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding:12px 18px;display:flex}.template-copy-actions>[role=alert]{margin-inline-end:auto}.template-browse-toolbar .template-search input,.template-browse-toolbar .template-filter-trigger{height:36px;min-height:36px}.template-filter-events{border:0;gap:5px;padding:0;display:grid}.template-filter-events legend{margin-bottom:3px;padding:0}.template-filter-event-input{align-items:center;gap:6px;display:flex}.template-filter-event-input input{flex:1;min-width:0}.template-filter-event-input button{white-space:nowrap;flex:none}.template-filter-event-list{flex-wrap:wrap;gap:4px;max-height:min(176px,30dvh);display:flex;overflow:auto}.template-filter-event-list .template-filter-toggle{max-width:100%;margin:0}.template-filter-event-list .template-filter-toggle span{overflow-wrap:anywhere}.template-filter-event-list .template-filter-toggle input{flex-shrink:0}.template-detail-body .template-group-body>section{border-top:0;margin-top:0}.template-detail-panel{overscroll-behavior:contain;background:#142c45;border:1px solid #49627a;border-radius:10px;flex:0 auto;min-height:0;max-height:59dvh;margin-top:10px;overflow:auto}.template-detail-panel>header{z-index:3;background:#142c45;border-bottom:1px solid #29455e;justify-content:space-between;align-items:center;gap:12px;padding:6px 12px;display:flex;position:sticky;top:0}.template-detail-panel .template-detail-body{padding:8px}.template-row-actions [aria-busy=true]{border-color:#608096}@media (width<=760px){.template-detail-panel{flex:none}}.template-browse-popup-layer{z-index:190;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.template-browse-popup-backdrop{background:#07121db3;position:absolute;inset:0}.template-browse-popup.template-detail-panel{flex-direction:column;width:min(1500px,100%);height:calc(100dvh - 40px);max-height:none;margin:0;display:flex;position:relative;overflow:hidden;box-shadow:0 16px 52px #050e16b3}.template-browse-popup>header{flex:none;position:static}.template-browse-popup>.reading-body{overflow:hidden}.template-browse-popup-cards{overscroll-behavior:contain;padding:10px;overflow:auto}.template-browse-popup .card-dock{box-sizing:border-box;flex-basis:clamp(210px,24vw,320px);width:clamp(210px,24vw,320px)}.template-create-dialog>header h2{font-size:16px}body:has(.template-create-dialog) :is(.floating-document-note-button,.floating-document-note){visibility:hidden}.template-create-main .template-create-form{padding:0}.template-create-form .template-new-group{margin:0;overflow:visible}.template-create-explanation>summary{cursor:pointer;color:#c2d7e5;background:#1c354a;border:1px solid #35506a;border-radius:6px;width:fit-content;padding:7px 10px}.template-create-explanation[open]>summary{margin-bottom:10px}.template-new-group .template-scope{align-items:center}.template-new-group .template-scope>label{white-space:nowrap;font-size:inherit;flex-direction:row;align-items:center;gap:4px}.template-new-group .template-scope>label :is(input,select){min-height:30px;padding:4px 8px}.template-new-group .template-scope>label input{width:8em}.template-new-group .template-scope>label input[type=number]{width:5em}.template-new-group .template-scope>label select{width:auto;max-width:min(240px,50vw)}.template-range-choices{color:#a5b9c9;flex-wrap:wrap;align-items:center;gap:6px;display:flex}.template-range-choices label{cursor:pointer;font-size:inherit;border:1px solid #35506a;border-radius:5px;flex-direction:row;align-items:center;gap:4px;padding:4px 6px;display:inline-flex}.template-range-choices label:has(input:checked){color:#baeedd;background:#214638;border-color:#467b6b}.template-form .template-range-choices input[type=checkbox],.template-inline-range-editor .template-range-choices input[type=checkbox]{accent-color:#72d5b5;width:14px;height:14px;min-height:0;margin:0}.template-inline-range-controls{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:inline-flex}.template-create-form .template-group-body>section{border-top:0;margin:0}.template-create-form .template-read-conditions>section{border:0;margin:12px 0 0;padding:0}.template-create-form textarea{field-sizing:content;resize:none;min-height:calc(1lh + 1.2rem + 2px);max-height:none}.template-create-form .template-read-conditions .condition-code-editor textarea{min-height:calc(3lh + 1.2rem + 2px)}.template-create-form .template-parameter-tools{margin:10px 0 0}.template-create-form footer{z-index:2;background:#142c45;margin:10px 0 -10px;padding:8px 2px 10px;position:sticky;bottom:-10px}.template-create-form>fieldset>p[role=alert]{margin:8px 0}@media (width<=700px){.template-browse-popup-layer{padding:8px}.template-browse-popup.template-detail-panel{height:calc(100dvh - 16px)}.template-browse-popup>.reading-body{flex-direction:column}.template-browse-popup .card-dock{border-left:0;border-top:1px solid var(--line);flex:0 0 min(34dvh,220px);width:auto}.template-create-dialog .card-dock{flex-basis:min(24dvh,145px)}}.template-board-section{margin-bottom:12px}.template-board-section h3{color:#cadce9;align-items:baseline;gap:8px;margin:0 0 6px;padding:7px 0;font-size:14px;display:flex}.template-board-section h3 small{color:#a5b9c9;font-weight:400}.template-board-section ul{background:#142c45;border:1px solid #35506a;border-radius:8px;margin:0;padding:0;list-style:none}.template-board-section li{align-items:center;min-width:0;display:flex}.template-board-section li+li{border-top:1px solid #29455e}.template-board-section li:hover{background:#193851}.template-board-section li.selected{background:#1b403f;box-shadow:inset 3px 0 #72d5b5}.template-board .template-board-pick{min-width:0;min-height:42px;color:inherit;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:10px;padding:6px 10px 6px 12px;display:flex}.template-board-name:has(+.template-board-utterance){flex:0 auto;max-width:30%}.template-board-utterance{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.9em;line-height:1.35;overflow:hidden}.template-board-utterance.template-utterance-fixed{padding:2px 6px}.template-board .template-board-pick:focus-visible{outline-offset:-3px}.template-board .template-board-pick:disabled{opacity:.75}.template-board-check{color:#102438;border:1px solid #648197;border-radius:4px;flex:none;place-items:center;width:16px;height:16px;font-size:12px;font-weight:700;line-height:1;display:grid}.template-board .selected .template-board-check{background:#72d5b5;border-color:#72d5b5}.template-board-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.template-board-role,.template-board-count{color:#a5b9c9;white-space:nowrap}.template-board-prefix{flex-wrap:wrap;align-items:center;gap:4px 6px;max-width:58%;display:flex}.template-board-review,.template-board-event{border-radius:4px;padding:2px 6px;line-height:1.35}.template-board-review{color:#dae7f2;background:#29455e;flex:none}.template-board-review[data-review=initial_reviewed]{color:#d6efff;background:#355469}.template-board-review[data-review=final_reviewed]{color:#103b34;background:#a7e7d4}.template-board-event{color:#d9ebf8;overflow-wrap:anywhere;background:#203f58;flex-wrap:wrap;align-items:baseline;gap:2px 6px;min-width:0;display:inline-flex}.template-board-parameters{color:#bee9db}.template-row-actions .template-utterance-ignore{margin-inline-start:10px}.templates-page .template-filter-toggle{color:#e4edf4;cursor:pointer;background:#152e44;border:1px solid #35546c;border-radius:6px;flex:none;align-items:center;gap:8px;min-height:36px;padding:4px 10px;display:inline-flex}.templates-page .template-filter-toggle:has(input:checked){color:#baeedd;background:#214638;border-color:#467b6b}.templates-page .template-filter-toggle input{accent-color:#72d5b5;width:16px;height:16px;min-height:0;margin:0}.template-filter-tags{flex-wrap:wrap;gap:6px;display:flex}.template-lineup-sidebar .template-lineup-branch{padding-inline-start:22px}.template-lineup-sidebar .template-lineup-unscoped{margin-bottom:10px}.template-lineup-sidebar>button{justify-content:space-between;align-items:center;gap:8px;display:flex}.template-lineup-sidebar>button>span:first-child{overflow-wrap:anywhere;min-width:0}.template-lineup-sidebar .template-lineup-counts{white-space:nowrap;font-size:12px}.template-lineup-results{flex-direction:column;min-width:0;min-height:0;display:flex}.template-lineup-heading{flex-wrap:wrap;flex:none;align-items:center;gap:10px 16px;margin-bottom:14px;display:flex}.template-lineup-heading h2{margin:0;font-size:20px}.template-lineup-heading [role=group]{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.template-lineup-heading [aria-pressed=true]{color:#93e1d3;background:#214638;border-color:#467b6b}.template-lineup-columns{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px;min-height:0;display:grid;overflow-x:auto}.template-lineup-columns>section{background:#132c41;border:1px solid #29455e;border-radius:8px;flex-direction:column;min-width:0;min-height:0;padding:10px;display:flex}.template-lineup-columns h3{color:#b9ded3;margin:0 0 10px;font-size:15px}.template-lineup-columns h3>.template-lineup-column-heading{color:inherit;font:inherit;background:0 0;border:0;padding:2px 4px;font-weight:700}.template-lineup-columns h3>.template-lineup-column-heading:hover:not(:disabled){text-underline-offset:3px;text-decoration:underline}.template-lineup-column-cards{overscroll-behavior-y:contain;min-height:0;overflow-y:auto}.template-lineup-card{background:#19364e;border:1px solid #35546c;border-radius:6px;margin-bottom:8px;overflow:hidden}.template-lineup-card>button{text-align:left;background:0 0;border:0;border-radius:0;justify-content:space-between;gap:6px;width:100%;padding:6px 8px;display:flex}.template-lineup-card>button+button{color:#c4dbe5;border-top:1px solid #35546c;font-size:12px}.template-lineup-card>button:hover{background:#24485d}.template-lineup-card>button span:last-child{white-space:nowrap}.template-lineup-counts{font-variant-numeric:tabular-nums;flex:none;align-items:center;gap:4px;display:inline-flex}.template-lineup-counts>span{color:#e4edf4;background:#29455e;border-radius:4px;place-items:center;min-width:1.5em;padding:1px 4px;display:inline-grid}.template-lineup-counts>span:nth-child(2){color:#e0efff;background:#345571}.template-lineup-counts>span:nth-child(3){color:#d1f4e7;background:#246050}@media (width<=760px){.template-workspace .template-lineup-sidebar{width:auto;max-height:30dvh;display:block;position:static}.template-lineup-results{height:72dvh}}.template-board-role{color:#b5d8d1}.template-board .template-board-detail{white-space:nowrap;min-height:30px;margin:3px 8px 3px 0;padding:3px 10px}@media (width<=760px){.template-board .template-board-pick{gap:6px}.template-board-count{display:none}.template-board-role{text-overflow:ellipsis;max-width:25%;overflow:hidden}}.template-card-proposal{color:#b5c8d8;border-top:1px solid #29455e;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:7px 14px;font-size:12px;display:flex}.template-card-proposal label{align-items:center;gap:6px;display:inline-flex}.template-card-proposal select{color:#e4edf4;background:#102438;border:1px solid #49627a;border-radius:5px;max-width:min(55vw,18rem);padding:3px}.template-card-proposal button{margin-inline-start:auto}.template-card-proposal button:not(:first-of-type){margin-inline-start:0}.template-proposal-action-error{color:#ffacb4}.template-group[data-proposal-card]{border-color:#805160}.template-group[data-proposal-card] .template-card-proposal{background:#322a3e}.template-proposal-mark,.template-group [data-proposal-change],.template-group [data-proposal-change] :is(.rule-expression,.template-utterance-text,.template-explanation button,dt){color:#ffacb4}.template-group [data-proposal-change]:is(.template-metadata-chip,button),.template-group [data-proposal-change] .rule-expression:not(.template-condition-invalid *){background:#442d41;border-color:#805160}.template-proposal-target{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.template-proposal-target h3{margin:0}.template-proposal-location{color:#a5b9c9;font-size:12px}.template-withdrawn-proposals>summary{cursor:pointer;padding:10px 0}.template-related-copy{display:inline-flex;position:relative}.template-related-choices{z-index:10;color:#e4edf4;background:#102438;border:1px solid #52718a;border-radius:7px;gap:6px;width:max-content;max-width:min(22rem,80vw);padding:8px;display:grid;position:absolute;top:100%;right:0;box-shadow:0 8px 18px #0006}.template-related-choices>span{gap:4px;display:grid}.template-related-choices button{text-align:left}.template-related-choices small{color:#a5b9c9;overflow-wrap:anywhere}@media (width<=760px){.template-related-copy{align-items:start;display:grid}.template-related-choices{width:auto;max-width:100%;position:static}}.template-dialog.template-trace-dialog{flex-direction:column;min-height:0;display:flex;overflow:hidden}.template-trace-dialog>header{flex:none}.template-trace-dialog>.template-trace{overscroll-behavior:contain;min-height:0;overflow:auto}.template-trace{overflow-wrap:anywhere}.template-trace select{width:100%}.template-trace-stages h4{margin:.8rem 0 .5rem}.template-trace details{border-left:2px solid var(--line,#d3d9de);margin:.4rem 0;padding:.35rem .65rem}.template-trace summary{cursor:pointer;font-weight:600}.template-trace-stages>details{border-bottom:1px solid #35506a;border-left:0;margin:0;padding:0}.template-trace-stages>details>summary{padding:.75rem .4rem}.template-trace-stage-body{padding:.15rem .75rem .75rem}.template-trace pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:40vh;font-size:.88em;overflow:auto}.template-trace dl>div{gap:.75em;display:flex}.template-trace dt{min-width:4em}.template-trace dd{margin:0}.template-trace-items{margin:.5rem 0;padding-inline-start:1.6rem}.template-trace-items li{margin-block:.4rem;padding-inline-start:.25rem}.template-trace-items [aria-current=true]{border-inline-start:2px solid;padding-inline-start:.5rem}.full .file-notes-workspace:not(.has-quick-panel){grid-template-rows:minmax(0,1fr);grid-template-columns:255px minmax(0,1fr)}.file-notes-reading>.error,.file-notes-reading>.reader-cache-status{margin:12px 20px 0}.file-note-folder{overflow-wrap:anywhere;margin:7px 0 12px}.file-note-actions{flex-wrap:wrap;gap:7px;display:flex}.file-note-actions button{font-size:12px}.file-note-folder-contents ul{gap:6px;margin:.5rem 0 1rem;padding:0;list-style:none;display:grid}.file-note-folder-contents button{text-align:start;overflow-wrap:anywhere;width:100%}.file-note-folder-contents button[aria-current=true]{border-color:var(--jade);color:var(--jade)}.file-note-history h2{margin:12px 0 6px;font-size:13px}.file-note-history ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.file-note-history li{grid-template-columns:minmax(0,1fr) auto;gap:4px;display:grid}.file-note-history button{padding:6px 7px;font-size:12px}.file-note-history .history-note{text-align:start;overflow-wrap:anywhere}.app-header .workbench-source{border:1px solid var(--line);white-space:nowrap;border-radius:8px;flex-shrink:0;align-self:center;padding:2px;display:flex}.app .app-header .workbench-source button{border:0;border-radius:5px;padding:5px 9px;font-size:12px}.app .app-header .workbench-source button[aria-pressed=true]{color:var(--jade);background:#315a5d}@media (width<=1120px){.full .file-notes-workspace:not(.has-quick-panel){grid-template-columns:220px minmax(0,1fr)}}.full .file-notes-workspace.file-notes-home{grid-template-columns:minmax(0,1fr)}.app:has(.file-notes-home) .mobile-directory-button{display:none}.app .workspace.file-notes-home>.reading{overflow:auto}.file-note-prompt{flex:none;width:min(100%,740px);margin:auto;padding:28px 20px}.file-note-prompt h1{text-align:center;margin:0 0 22px}.file-note-prompt-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.file-note-prompt-columns>*{border:1px solid var(--line);border-radius:8px;min-width:0;min-height:210px;padding:16px}.file-note-prompt-columns h2{margin:0 0 10px;font-size:15px}.file-note-prompt-columns p{overflow-wrap:anywhere;margin:0 0 10px}.file-note-prompt-columns ul{max-height:min(40vh,24rem);margin:0;padding:3px;overflow:auto}.file-note-prompt .file-note-history button{min-height:38px;font-size:13px}.file-note-prompt .history-directory{white-space:nowrap}.file-note-prompt .file-note-actions{justify-content:center;margin-top:18px}@media (width<=600px){.file-note-prompt{padding:20px 12px}.file-note-prompt-columns{grid-template-columns:minmax(0,1fr)}.file-note-prompt-columns>*{min-height:0}.file-note-prompt-columns ul{max-height:none}.file-note-prompt button,.file-note-prompt .file-note-history button{min-height:44px}}.file-note-bundle-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin:.5rem 0;display:flex}.file-note-bundle-result{overflow-wrap:anywhere;flex-basis:100%}.file-note-bundle-result p{margin-inline-end:.5rem;display:inline-block}.json-entry :is(.note-trace-button,.note-comment-button){margin-inline-start:.65rem}.template-overlay:has(>.knowledge-trace-dialog){z-index:1400}.knowledge-trace-stage+.knowledge-trace-stage{border-top:1px solid var(--line,#35506a);margin-top:.9rem}.knowledge-trace-text{white-space:pre-wrap}.entity-chip{vertical-align:baseline;color:var(--jade);font:inherit;cursor:pointer;white-space:normal;background:#72d5b512;border:1px solid #72d5b54d;border-radius:5px;align-items:center;margin:0 1px;padding:0 5px;line-height:1.55;display:inline-flex}.entity-chip:hover,.entity-chip:focus-visible{border-color:var(--jade);background:#72d5b526}.entity-portrait{width:72px;color:var(--text);text-align:center;background:0 0;border:0;flex-direction:column;flex-shrink:0;align-items:center;gap:5px;padding:0;font-size:12px;line-height:1.4;display:flex}.official-card-thumb,.card-image-placeholder{object-fit:cover;border:1px solid var(--gold);background:var(--base);box-sizing:border-box;border-radius:4px;justify-content:center;align-items:center;width:64px;height:64px;padding:0;font-size:12px;display:flex;overflow:hidden}.official-card-image{object-fit:contain;max-width:100%;max-height:380px;display:block}.card-image-placeholder.large{width:140px;height:180px;color:var(--muted)}.entity-portrait:hover .official-card-thumb,.entity-portrait:focus-visible .official-card-thumb{outline:2px solid var(--jade);outline-offset:2px}.entity-popover{z-index:100;box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--gold);width:min(352px,100vw - 16px);color:var(--text);background:#19354c;border-radius:9px;padding:16px;font-size:14px;line-height:1.7;position:fixed;overflow:auto;box-shadow:0 15px 45px #0008}.popover-heading strong{font-size:18px}.popover-heading button{padding:2px 10px}.entity-popover label{gap:5px;display:grid}.entity-popover select{width:100%;min-width:0}.popover-card{grid-template-columns:104px minmax(0,1fr);gap:12px;margin-top:12px;display:grid}.popover-card .official-card-image,.popover-card .card-image-placeholder{width:104px;height:auto;min-height:104px;max-height:166px}.entity-popover p{overflow-wrap:anywhere;margin:6px 0}.entity-popover section{margin:12px 0}.entity-popover dl>div{justify-content:space-between;gap:10px;display:flex}.entity-popover dd{margin:0}.card-option>.official-card-thumb{float:left;width:42px;height:42px;margin-right:10px}.card-detail>.official-card-image{float:right;width:min(180px,35%);margin:0 0 16px 20px}.card-detail>section{clear:both}.lineup-overview{border-top:2px solid var(--gold);border-bottom:1px solid var(--line);max-width:1200px;margin-bottom:30px;padding:22px 0 10px}.lineup-overview h2{margin:0;font-size:22px}.lineup-overview h3{margin:0 0 12px;font-size:15px}.overview-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.overview-heading>div{flex-wrap:wrap;gap:12px;display:flex}.overview-heading label{color:var(--muted);gap:5px;font-size:12px;display:grid}.overview-heading select{max-width:260px}.overview-opening{grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);gap:28px;margin-bottom:22px;display:grid}.overview-description{border-left:1px solid var(--line);padding:10px 0 0 22px}.overview-description p{overflow-wrap:anywhere;line-height:1.85}.overview-cards{flex-wrap:wrap;align-items:flex-start;gap:12px;min-width:0;display:flex}.overview-reserves{border-top:1px solid var(--line);align-items:flex-start;gap:18px;margin-top:16px;padding-top:18px;display:flex}.overview-reserves>strong,.overview-stage-reserves>strong{color:var(--muted);margin-bottom:8px;font-size:12px;display:block}.lineup-board{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;width:100%;max-width:600px;display:grid}.board-cell{aspect-ratio:1;border:1px solid var(--line);background:#ffffff05;justify-content:center;align-items:center;min-width:0;display:flex;position:relative}.board-cell>.entity-portrait{gap:0;width:100%;height:100%;font-size:9px}.board-cell .official-card-thumb,.board-cell .card-image-placeholder{aspect-ratio:1;width:100%;height:auto}.board-cell>.entity-portrait>span{white-space:nowrap;background:#102438df;font-size:10px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.equipment-markers{z-index:1;justify-content:center;gap:1px;display:flex;position:absolute;bottom:-7px;left:0;right:0}.equipment-markers .entity-portrait{width:18px}.equipment-markers .official-card-thumb,.equipment-markers .card-image-placeholder{aspect-ratio:1;width:18px;height:18px}.equipment-markers .entity-portrait>span{display:none}.overview-stage{border-top:1px solid var(--line);grid-template-columns:70px minmax(0,1fr) minmax(110px,180px);align-items:start;gap:18px;padding:22px 0;display:grid}.overview-stage-label{border-left:2px solid var(--gold);padding-left:12px}.overview-stage-label small{color:var(--muted)}.overview-stage p{margin-bottom:0;font-size:13px;line-height:1.9}.overview-stage .entity-portrait{width:62px}.overview-stage .official-card-thumb,.overview-stage .card-image-placeholder{width:56px;height:56px}.overview-recommendation{border-top:1px solid var(--line);grid-template-columns:100px minmax(120px,1fr) minmax(150px,1fr);align-items:start;gap:18px;padding:22px 0;display:grid}.overview-recommendation p{margin:0;font-size:13px;line-height:1.9}.overview-player{border-top:1px solid var(--line);padding:22px 0}.overview-player-row{flex-wrap:wrap;align-items:flex-start;gap:24px;margin-top:15px;display:flex}.overview-player-row>div>strong{color:var(--muted);margin-bottom:10px;font-size:12px;display:block}.overview-player-row>p{flex-basis:100%}.overview-editor{border:1px solid var(--line);margin:22px 0;padding:16px}.overview-editor summary{cursor:pointer;font-weight:600}.overview-editor label{gap:6px;margin:12px 0;display:grid}.overview-editor select{width:100%;min-width:0}.overview-editor textarea{box-sizing:border-box;width:100%}.overview-editor>.action-line{align-items:center}.overview-editor .lineup-board{margin:16px 0}.lineup-board.editable>button{aspect-ratio:1;border-radius:0;min-width:0;padding:4px;font-size:12px}.overview-editor details{border-top:1px solid var(--line);padding:12px 0}.overview-editor fieldset{max-height:240px;overflow:auto}.overview-editor label.check{align-items:flex-start;gap:8px;font-size:13px;display:flex}.overview-editor .check input{flex-shrink:0;width:16px;height:16px}.overview-multi{margin:16px 0;padding:10px 0}.placement-editor,.overview-player-edit{border:1px solid var(--line);margin-bottom:15px;padding:14px}.entity-popover :focus-visible{outline:2px solid var(--jade);outline-offset:2px}@media (width<=1000px){.overview-opening{grid-template-columns:1fr}.overview-description{border-left:0;padding:0}.overview-stage{grid-template-columns:60px minmax(0,1fr)}.overview-stage-reserves{grid-column:2}.overview-recommendation{grid-template-columns:90px minmax(0,1fr)}.overview-recommendation>p{grid-column:2}}.sidebar .overview-opening{grid-template-columns:1fr}.sidebar .overview-description{border:0;padding:0}.sidebar .overview-heading{flex-direction:column;align-items:flex-start}.sidebar .overview-stage{grid-template-columns:55px minmax(0,1fr)}.sidebar .overview-stage-reserves{grid-column:2}.sidebar .overview-recommendation{flex-wrap:wrap;display:flex}.sidebar .overview-recommendation>p{flex-basis:100%}@media (width<=760px){.lineup-overview{padding-top:18px}.overview-heading{flex-direction:column;align-items:flex-start}.overview-heading>div{width:100%}.overview-heading label{flex:1;min-width:0}.overview-heading select{width:100%;max-width:100%;font-size:12px}.overview-opening{gap:16px}.overview-cards{gap:10px}.overview-stage{grid-template-columns:45px minmax(0,1fr);gap:12px}.overview-stage-label{padding-left:7px}.overview-stage-reserves{grid-column:2}.overview-stage .entity-portrait{width:56px}.overview-stage .official-card-thumb,.overview-stage .card-image-placeholder{width:50px;height:50px}.overview-recommendation{grid-template-columns:1fr;gap:12px}.overview-recommendation>p{grid-column:auto}.overview-player-row{gap:14px}.overview-editor{padding:10px}.overview-editor .lineup-board{gap:3px}.lineup-board.editable>button{padding:1px;font-size:10px}.entity-popover{font-size:13px}.overview-reserves{gap:12px}}.reading-body{flex:1;min-width:0;min-height:0;display:flex}.reading-body>.content-scroll{min-width:0}.with-card-dock>.content-scroll{flex:1}.card-dock{overscroll-behavior:contain;border-left:1px solid var(--line);background:#142d40;flex:0 0 320px;width:320px;padding:16px;overflow:auto}.dock-heading{color:var(--jade);justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.dock-heading button{padding:5px 10px;font-size:12px}.card-dock .docked-card{width:auto;max-width:none;max-height:none;box-shadow:none;overscroll-behavior:auto;background:0 0;border:0;padding:0;position:static;overflow:visible}.card-dock .popover-card{display:block}.card-dock .official-card-image{max-width:100%;max-height:300px;margin:12px auto;display:block}.card-dock .popover-heading{margin-top:8px}.card-dock .popover-card .official-card-image{object-fit:contain;width:190px;height:auto;max-height:300px}.entity-chip.entity-inline,.entity-chip.entity-inline:hover,.entity-chip.entity-inline:focus-visible{color:inherit;font:inherit;-webkit-text-decoration:underline dashed var(--muted);text-decoration:underline dashed var(--muted);text-underline-offset:.2em;background:0 0;border:0;margin:0;padding:0;text-decoration-thickness:1px;display:inline}.entity-chip.entity-inline:hover,.entity-chip.entity-inline:focus-visible{-webkit-text-decoration-color:var(--jade);text-decoration-color:var(--jade)}.entity-chip.entity-inline:focus-visible{outline:2px solid var(--jade);outline-offset:2px}.dock-search{align-items:stretch;gap:6px;margin-bottom:12px;display:flex}.dock-search-input{flex:1;min-width:0;position:relative}.dock-search-input input{background:var(--base);width:100%;padding-right:32px}.dock-search-input button{width:28px;color:var(--muted);background:0 0;border:0;padding:0;position:absolute;inset:2px 2px 2px auto}.dock-search>button{flex-shrink:0;padding-inline:10px}.dock-matches{margin:0 0 12px;padding:0;list-style:none}.dock-matches button{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;border-radius:0;justify-content:space-between;align-items:baseline;gap:8px;width:100%;padding:6px 4px;display:flex}.dock-matches button:hover,.dock-matches button[aria-pressed=true]{color:var(--jade);background:var(--base)}.dock-matches small{color:var(--muted);flex-shrink:0}.dock-search :focus-visible,.dock-matches button:focus-visible{outline:2px solid var(--jade);outline-offset:-2px}.entity-popover .card-version{border-top:1px solid var(--line);margin:16px 0 0;padding-top:12px}.entity-popover .card-version-heading{color:var(--jade);margin:0;font-size:15px}.overview-description,.overview-reserves{box-sizing:border-box;max-height:min(32rem,60dvh);padding-inline-end:12px;overflow-y:auto}.overview-description:focus-visible,.overview-reserves:focus-visible{outline:2px solid var(--jade);outline-offset:2px}@media (width>=1001px){.full .overview-opening{--overview-column-max-height:clamp(26rem,60dvh,32rem)}.full .overview-positioning,.full .overview-description{max-height:var(--overview-column-max-height)}.full .overview-positioning{flex-direction:column;min-width:0;display:flex}.full .overview-positioning>:not(.overview-reserves){flex:none}.full .overview-positioning>.overview-reserves{flex:auto;min-height:0;max-height:none}}.card-tag-editor .card-tag-inline{min-width:1ch;max-width:100%;color:inherit;font:inherit;text-align:left;overflow-wrap:anywhere;padding:0;display:inline-block}.card-tag-editor button.card-tag-inline{color:var(--jade);background:0 0;border:0;border-radius:0}.card-tag-editor button.card-tag-inline:hover{text-underline-offset:3px;text-decoration:underline}.card-tag-editing{white-space:pre-wrap;box-shadow:0 1px var(--jade);outline:none}.card-tag-editing:empty:before{content:attr(data-placeholder);color:var(--muted)}.card-tag-editor .metadata-suggestions{flex-wrap:wrap;margin-top:4px;display:flex}:root{color:#e4edf4;font-synthesis:none;--base:#102438;--panel:#142c45;--raised:#1c3b53;--jade:#72d5b5;--gold:#e7bf76;--muted:#a5b9c9;--line:#355064;background:#102438;font-family:Microsoft YaHei UI,PingFang SC,sans-serif;font-size:14px;line-height:1.65}@media (forced-colors:none){:where(*){scrollbar-width:thin;scrollbar-color:#608298 transparent}@supports selector(::-webkit-scrollbar){:where(*){scrollbar-width:auto;scrollbar-color:auto}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-corner{background:0 0}::-webkit-scrollbar-thumb{background:#608298;border-radius:99px}::-webkit-scrollbar-thumb:hover{background:#8baabd}::-webkit-scrollbar-thumb:active{background:#8baabd}::-webkit-scrollbar-button{width:0;height:0;display:none}}}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;background:var(--raised);border:1px solid var(--line);border-radius:7px;padding:7px 12px;transition:background .13s,transform .13s}button:hover{background:#2c4e66}button:active{transform:scale(.97)}button:disabled{opacity:.5;cursor:wait}button.selected,.primary{background:var(--jade);color:#102e2c;border-color:var(--jade);font-weight:700}input,select,textarea{color:inherit;border:1px solid var(--line);background:#10273c;border-radius:6px;width:100%;padding:9px 10px}select{min-width:0}textarea{resize:vertical;line-height:1.9}input:focus,select:focus,textarea:focus{border-color:var(--jade)}:focus-visible{outline:2px solid var(--gold);outline-offset:3px}input[type=checkbox]{width:auto;accent-color:var(--jade)}label{color:var(--muted);margin:10px 0;display:block}label input,label textarea,label select{margin-top:5px}h1,h2,h3,h4,p{margin-top:0}h1{letter-spacing:.03em;margin-bottom:12px;font-size:26px;font-weight:700;line-height:1.4}h2{margin-bottom:12px;font-size:19px}h3{margin-bottom:10px;font-size:15px}h4{color:var(--gold);font-size:14px}a{color:var(--jade);text-decoration:none}a:hover{text-decoration:underline}.muted,small{color:var(--muted)}.quiet{color:var(--muted);background:0 0;border-color:#0000}.inline,.chips{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.badge{white-space:nowrap;background:#25435a;border-radius:4px;padding:3px 8px;font-size:12px}.badge.jade{color:var(--jade);background:#1e4947}.badge.gold{color:var(--gold);background:#4c4230}.error,.conflict{color:#ffd1d5;white-space:pre-wrap;background:#4b303b;border-left:3px solid #ed9ea4;margin:12px;padding:14px}.conflict{color:#f1d39a;border-color:var(--gold);background:#433c2c}.empty{color:var(--muted);text-align:center;padding:24px 8px}.symbol{color:var(--jade);font-size:40px}.link-button{color:var(--jade);text-align:left;background:0 0;border:0;padding:5px 0}.link-button:hover{background:0 0;text-decoration:underline}.toast{background:var(--jade);color:#163f38;z-index:10;border-radius:8px;padding:12px 22px;position:fixed;top:82px;left:50%;transform:translate(-50%);box-shadow:0 8px 35px #0006}.app{flex-direction:column;height:100dvh;display:flex}.app-header{border-bottom:1px solid var(--line);background:#18334d;flex-shrink:0;justify-content:space-between;align-items:center;gap:15px;height:76px;padding:0 26px;display:flex}.brand{white-space:nowrap;align-items:center;gap:12px;display:flex}.brand-mark{border:2px solid var(--gold);width:43px;height:43px;color:var(--gold);border-radius:50%;place-items:center;font-family:KaiTi,STKaiti,serif;font-size:27px;display:grid;position:relative}.brand strong{letter-spacing:.16em;font-size:21px}.brand small{letter-spacing:.2em;font-size:11px;line-height:1.2;display:block}.app-header nav{gap:8px;display:flex}.app-header nav button{color:var(--muted);background:0 0;border-color:#0000;padding:9px 17px}.app-header nav button.selected{color:var(--jade);border-bottom:2px solid var(--jade);border-radius:0}.header-actions{gap:8px;display:flex}.header-actions button{font-size:12px}.workspace{flex:1;grid-template-columns:255px minmax(360px,1fr) 260px;min-height:0;display:grid}.library{border-right:1px solid var(--line);background:#132b40;flex-direction:column;padding:22px 17px 12px;display:flex;overflow:auto}.library-heading{align-items:center;gap:10px;display:flex}.library-heading h2{margin:0;font-size:17px}.library-heading span{color:var(--muted);margin-left:auto;font-size:12px}.filter-toggle{display:none}.search{margin:16px 0 9px}.filter-label{color:var(--muted);margin:13px 0 9px;font-size:12px}.faction-grid{flex-wrap:wrap;gap:6px;display:flex}.faction{background:0 0;padding:6px 9px;font-size:12px}.faction.banned{color:#fcc;background:#5a3c3f;border-color:#b1777a}.entity-filters{gap:8px;margin-top:14px;display:grid}.check{align-items:center;gap:6px;font-size:12px;display:flex}.clear-filters{margin:6px 0;font-size:12px}.note-list{margin:15px -8px 0}.note-option{text-align:left;background:0 0;border:1px solid #0000;align-items:flex-start;gap:9px;width:100%;margin-bottom:5px;padding:13px 8px;display:flex}.note-option strong{font-size:14px;display:block}.note-option small{margin-top:5px;font-size:11px;display:block}.note-option.active{background:#20484e;border-color:#497d74}.note-icon{color:var(--jade);font-size:22px;line-height:1.3}.unknown-label{color:var(--gold);margin:16px 8px 8px;font-size:12px}.library-foot{color:var(--muted);margin-top:auto;padding-top:30px;font-size:11px}.reading{background:radial-gradient(ellipse at top right,#1b3d53 0,transparent 45%),var(--base);flex-direction:column;min-width:0;min-height:0;display:flex}.note-heading{justify-content:space-between;align-items:flex-start;gap:12px;padding:28px 32px 19px;display:flex}.note-kind{color:var(--jade);margin-bottom:12px;font-size:12px}.edit-button{white-space:nowrap;background:0 0;font-size:12px}.availability{color:var(--jade);background:#294134;padding:8px 32px;font-size:12px}.availability.unknown{color:var(--gold);background:#423c2d}.availability.unplayable{color:#ffced6;background:#4c303b}.phase-nav{border-block:1px solid var(--line);background:#142c42;flex-wrap:wrap;gap:6px;padding:13px 30px;display:flex}.phase-nav button{color:var(--muted);background:0 0;border-color:#0000;padding:6px 9px;font-size:12px}.phase-nav button.selected{color:#b3f0db;background:#315a5d;border-color:#54837b}.content-scroll{flex:1;padding:26px 32px;overflow:auto}.stage-heading{align-items:center;gap:12px;margin-bottom:20px;display:flex}.stage-heading h2{margin:0;font-size:22px}.stage-heading .muted{margin-left:auto;font-size:12px}.stage-marker{color:var(--gold);font-size:25px}.formation{border-left:3px solid var(--jade);background:#18394b;margin-bottom:20px;padding:18px 20px}.formation h3{color:var(--jade)}.formation-member{padding:7px 0}.formation-member strong{margin-right:10px}.formation-member p{color:var(--muted);margin:7px 0}.advice{border-left:2px solid #50738b;margin:0 0 24px;padding:5px 0 5px 20px}.prose{max-width:76ch;font-size:15px;line-height:1.95}.prose p{margin-bottom:12px}.prose p:last-child{margin-bottom:0}.prose ul{padding-left:22px}.prose li{margin-bottom:9px}.prose strong{color:var(--gold)}.manual-label{color:var(--gold);margin-bottom:6px;font-size:11px;display:block}.related{border-top:1px solid var(--line);margin-top:30px;padding-top:20px}.related button{display:block}.strategy>h2{color:var(--gold);margin:28px 0 18px}.meta-view{border:1px solid var(--line);background:#163447;padding:20px}.meta-view h3{color:var(--jade);margin-top:18px}.quick-panel{border-left:1px solid var(--line);background:#173149;padding:25px 20px;overflow:auto}.quick-heading{align-items:center;gap:10px;display:flex}.quick-heading span{color:var(--gold);font-size:23px}.quick-heading h2{margin:0;font-size:17px}.quick-panel>p{margin:10px 0 22px;font-size:12px}.quick-buttons{grid-template-columns:1fr 1fr;gap:8px;display:grid}.quick-buttons button{background:#234159;border-color:#3d5e75;font-size:12px}.quick-buttons button.selected{background:var(--jade);color:#153b31}.opponent{border-top:1px solid var(--line);margin-top:28px;padding-top:23px}.opponent h3{color:var(--gold)}.opponent select{font-size:12px}.opponent p{margin-top:16px;font-size:12px}.matchup{background:#214054;margin-top:12px;padding:12px}.matchup strong{color:var(--gold)}.quick-hint{color:var(--muted);gap:9px;margin-top:35px;font-size:11px;display:flex}.quick-hint span{color:var(--gold);font-size:20px}.edit-toolbar{background:var(--panel);z-index:2;border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:13px;display:flex;position:sticky;top:-26px}.edit-toolbar strong{color:var(--jade);margin-right:auto}.meta-editor{border:1px solid var(--line);margin:22px 0;padding:16px}.meta-editor>summary{color:var(--jade);cursor:pointer;font-size:17px}.meta-field{margin:18px 0}.entity-select details{color:var(--muted);margin-top:5px;font-size:11px}.entity-select summary{cursor:pointer}.entity-select .inline{flex-wrap:nowrap}.composition{border-top:1px solid var(--line);margin:20px 0;padding-top:16px}.composition>summary{cursor:pointer;color:var(--gold);margin-bottom:12px}.member-edit{background:#1a374d;gap:9px;margin-bottom:12px;padding:14px;display:grid}.ban-edit{grid-template-columns:100px 100px 1fr;align-items:center;gap:8px;margin:9px 0;display:grid}.section-edit{margin-top:27px}.section-edit h3{color:var(--gold)}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.sources-page{flex:1;padding:35px 42px;overflow:auto}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.page-heading .symbol{float:left;margin-right:18px}.page-heading h1{margin-bottom:7px}.page-heading p{color:var(--muted)}.count{white-space:nowrap;color:var(--gold)}.source-layout{grid-template-columns:320px minmax(0,1fr);gap:35px;display:grid}.source-form{background:var(--panel);border:1px solid var(--line);align-self:start;padding:22px}.source-form p{margin-top:20px;font-size:12px}.source-filters{gap:10px;margin-bottom:15px;display:flex}.source-filters select{max-width:180px}.source-row{border-bottom:1px solid var(--line);padding:22px 0}.source-title{justify-content:space-between;gap:10px;margin-bottom:12px;display:flex}.source-title a{color:#e4edf4;font-size:17px;font-weight:600}.source-row p{color:var(--muted);margin:14px 0}.related-links{flex-wrap:wrap;gap:15px;display:flex}.sidebar .app-header{flex-wrap:wrap;gap:10px;height:auto;min-height:95px;padding:12px 16px}.sidebar .brand-mark{width:32px;height:32px;font-size:21px}.sidebar .brand strong{font-size:16px}.sidebar .brand small{font-size:9px}.sidebar .header-actions{margin-left:auto}.sidebar .app-header nav{order:3;gap:5px;width:100%}.sidebar .app-header nav button{flex:1;padding:5px;font-size:12px}.sidebar .workspace{flex-direction:column;display:flex}.sidebar .library{border-right:0;border-bottom:1px solid var(--line);flex-shrink:0;max-height:45vh;padding:12px 16px}.sidebar .filter-toggle{padding:3px 8px;font-size:11px;display:block}.sidebar .library-heading h2{font-size:14px}.sidebar .search{margin:10px 0 0}.sidebar .filter-body{display:none}.sidebar .library.expanded .filter-body{display:block}.sidebar .note-list{flex-shrink:0;gap:8px;margin-top:8px;display:flex;overflow:auto}.sidebar .note-option{width:auto;min-width:200px;margin:0;padding:8px}.sidebar .note-option strong{font-size:12px}.sidebar .note-option small,.sidebar .library-foot{display:none}.sidebar .reading{flex:1;min-height:120px}.sidebar .note-heading{padding:17px 16px 13px}.sidebar h1{font-size:20px}.sidebar .note-kind{margin-bottom:7px}.sidebar .note-heading .chips{font-size:11px}.sidebar .phase-nav{flex-wrap:nowrap;flex-shrink:0;padding:9px 12px;overflow:auto}.sidebar .phase-nav button{white-space:nowrap}.sidebar .content-scroll{padding:19px 17px}.sidebar .stage-heading h2{font-size:19px}.sidebar .stage-heading .muted{display:none}.sidebar .quick-panel{border:0;border-top:1px solid var(--line);flex-shrink:0;max-height:30vh;padding:8px 12px}.sidebar .quick-panel>p,.sidebar .quick-heading,.sidebar .quick-hint{display:none}.sidebar .quick-buttons{gap:6px;display:flex;overflow:auto}.sidebar .quick-buttons button{white-space:nowrap}.sidebar .opponent{grid-template-columns:auto 1fr;align-items:center;gap:6px;margin:8px 0 0;padding-top:8px;display:grid}.sidebar .opponent h3{margin:0;font-size:12px}.sidebar .opponent p,.sidebar .opponent .matchup,.sidebar .opponent .link-button{grid-column:1/-1;margin:0}.sidebar .opponent .empty{padding:7px}.sidebar .opponent select{padding:6px}.sidebar .availability{padding:7px 16px}.sidebar .prose{font-size:14px}.sidebar .sources-page{padding:20px 16px}.sidebar .source-layout{grid-template-columns:1fr;gap:20px}.sidebar .page-heading{display:block}.sidebar .page-heading .symbol{font-size:28px}.sidebar .page-heading p{font-size:12px}.sidebar .ban-edit{grid-template-columns:1fr 1fr}.sidebar .ban-edit input{grid-column:1/-1}.sidebar .edit-toolbar{flex-wrap:wrap;padding:9px 0;top:-19px}.sidebar .edit-toolbar button{padding:6px 8px;font-size:12px}@media (width<=1120px){.full .workspace{grid-template-columns:220px minmax(280px,1fr)}.full .quick-panel{border-top:1px solid var(--line);grid-column:1/-1;grid-template-columns:1fr 1fr;gap:12px;max-height:230px;display:grid}.full .quick-heading,.full .quick-panel>p,.full .quick-hint{display:none}.full .opponent{border:0;margin:0;padding:0}.full .quick-buttons{align-content:start}.full .workspace{grid-template-rows:minmax(0,1fr) auto}.full .app-header{padding:10px 16px}.full .source-layout{grid-template-columns:270px 1fr}}@media (width<=760px){.full .workspace{flex-direction:column;display:flex}.full .library{border-bottom:1px solid var(--line);flex-shrink:0;max-height:32vh}.full .reading{flex:1}.full .note-heading,.full .content-scroll{padding:18px}.full .phase-nav{flex-wrap:nowrap;padding:10px;overflow:auto}.full .phase-nav button{white-space:nowrap}.full .app-header{flex-wrap:wrap;height:auto}.full .app-header nav{order:3;width:100%}.full .source-layout{grid-template-columns:1fr}.full .sources-page{padding:20px}.full .brand strong{font-size:17px}.full .brand small{display:none}.full .app-header nav button{flex:1}.full .quick-panel{max-height:27vh}.ban-edit{grid-template-columns:1fr 1fr}.ban-edit input{grid-column:1/-1}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.cards-page{flex-direction:column;flex:1;min-height:0;padding:28px 34px;display:flex;overflow:auto}.cards-page .page-heading{margin-bottom:18px}.cards-page .page-heading p{margin-bottom:0}.card-filters{grid-template-columns:minmax(180px,2fr) repeat(4,minmax(100px,1fr)) auto;gap:9px;margin-bottom:20px;display:grid}.card-layout{flex:1;grid-template-columns:260px minmax(0,1fr);gap:25px;min-height:0;display:grid}.card-list{border-right:1px solid var(--line);padding-right:16px;overflow:auto}.card-option{text-align:left;gap:4px;width:100%;margin-bottom:7px;padding:11px 13px;display:grid}.card-option.selected small{color:#24574a}.card-detail{overflow-wrap:anywhere;min-width:0;padding:8px 22px 30px;overflow:auto}.card-detail h2{margin-top:14px;font-size:25px}.card-detail section{border-top:1px solid var(--line);padding:19px 0}.card-detail p{white-space:pre-line}.card-skill h4{margin-bottom:8px}.card-enhancement{border-left:2px solid var(--jade);padding-left:12px}.card-enhancement strong{color:var(--jade)}.card-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.card-stats div{background:var(--panel);padding:12px}.card-detail dt{color:var(--muted);font-size:12px}.card-detail dd{margin:3px 0 12px}.card-detail footer{border-top:1px solid var(--line);padding-top:15px;font-size:12px}.sidebar .cards-page{padding:18px 15px}.sidebar .card-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar .card-filters input{grid-column:1/-1}.sidebar .card-layout{flex-direction:column;display:flex}.sidebar .card-list{border:0;flex-shrink:0;gap:8px;max-height:160px;padding:0;display:flex;overflow:auto}.sidebar .card-option{min-width:165px;max-width:165px}.sidebar .card-detail{min-height:220px;padding:12px 0}.sidebar .card-detail h2{font-size:22px}@media (width<=760px){.cards-page{padding:18px 15px}.card-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.card-filters input{grid-column:1/-1}.card-layout{flex-direction:column;display:flex}.card-list{border:0;flex-shrink:0;gap:8px;max-height:160px;padding:0;display:flex}.card-option{min-width:165px;max-width:165px}.card-detail{min-height:220px;padding:12px 0}}.route-comparison{margin-bottom:18px;overflow:auto}.route-comparison table{border-collapse:collapse;width:100%;font-size:14px}.route-comparison th,.route-comparison td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);min-width:100px;padding:12px}.route-comparison th{color:var(--jade)}.route-cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.route-card h3{margin-top:0}.route-summary{display:none}.route-summary dt{color:var(--muted);font-size:12px}.route-summary dd{white-space:pre-line;margin:4px 0 13px}.route-card details{border-top:1px solid var(--line);padding-top:12px}.route-card summary{cursor:pointer;color:var(--jade)}.variant-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px;display:grid}.variant-card{border:1px solid var(--line);background:var(--panel);overflow-wrap:anywhere;border-radius:12px;min-width:0;padding:20px}.variant-card.unplayable{border-style:dashed}.variant-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.variant-heading h3{margin:0}.variant-card .formation{margin:15px 0}.tactics-routes,.tactics-variants{margin-bottom:25px}.tactics-editor fieldset{border:1px solid var(--line);margin:12px 0;padding:12px}.tactics-editor select[multiple]{width:100%;min-height:110px}.tactics-editor .check{align-items:center;gap:6px;margin:5px;display:flex}.tactics-editor .check input{width:auto}.joint-ban{margin-bottom:12px}.sidebar .route-comparison{display:none}.sidebar .route-summary{display:block}.sidebar .route-cards,.sidebar .variant-grid{grid-template-columns:1fr}.sidebar .variant-card{padding:15px}@media (width<=760px){.route-comparison{display:none}.route-summary{display:block}.route-cards,.variant-grid{grid-template-columns:1fr}.variant-card{padding:15px}.full .library{max-height:160px;padding:12px 16px}.full .filter-toggle{padding:3px 8px;font-size:11px;display:block}.full .filter-body{display:none}.full .library.expanded{max-height:35vh}.full .library.expanded .filter-body{display:block}.full .library-heading h2{font-size:14px}.full .search{margin:10px 0 0}.full .note-list{flex-shrink:0;gap:8px;margin-top:8px;display:flex;overflow:auto}.full .note-option{width:auto;min-width:200px;margin:0;padding:8px}.full .note-option strong{font-size:12px}.full .note-option small,.full .library-foot{display:none}.full .quick-panel{flex-shrink:0;max-height:140px;padding:8px 12px;display:block}.full .quick-buttons{gap:6px;display:flex;overflow:auto}.full .quick-buttons button{white-space:nowrap}.full .opponent{margin:8px 0 0}.full .opponent h3,.full .opponent p{display:none}.full .opponent select{padding:6px}.full .app-header nav button{padding:5px;font-size:12px}}.shared-reading{min-width:0}.shared-reading .reading-chapter{margin-bottom:32px}.shared-reading h3{color:var(--jade,#71c9b1);margin:24px 0 14px}.reading-table{overscroll-behavior-x:contain;max-width:100%;margin:18px 0;overflow-x:auto}.reading-table table{border-collapse:collapse;width:100%;min-width:580px;font-size:14px}.reading-table th,.reading-table td{text-align:left;vertical-align:top;border:1px solid #345263;padding:12px}.reading-table th{color:#eef6f8;background:#183449}.shared-reading .prose{overflow-wrap:anywhere;min-width:0}.reading-table:focus-visible{outline-offset:2px;outline:2px solid #71c9b1}.shared-reading a{overflow-wrap:anywhere}@media (width<=600px){.reading-table{width:100%}.reading-table th,.reading-table td{padding:10px}.reading-table table{font-size:14px}}.overview-operation{overflow-wrap:anywhere;margin-top:14px}.overview-operation-route{color:var(--muted);font-size:12px}.overview-improvement{margin-top:22px}.overview-improvement h4{color:var(--jade);margin:0 0 10px}.editor label>small{margin-top:5px;display:block}.quick-create{border:1px solid var(--border,#d9ded8);border-radius:10px;margin:16px 0;padding:16px}.quick-create-row{grid-template-columns:1fr 1fr auto;gap:12px;margin:8px 0;display:grid}.quick-create-row label{gap:4px;display:grid}.quick-create-row .error{grid-column:1/-1}@media (width<=600px){.quick-create-row{grid-template-columns:1fr 1fr auto;gap:6px}.quick-create-row input{width:100%;min-width:0}}.player-switch{flex-wrap:wrap;align-items:end;gap:12px;padding:12px 32px;display:flex}.player-switch label{gap:5px;display:grid}.player-switch select{width:240px;max-width:100%}.sync-comparison pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto}@media (width<=600px){.player-switch{padding:12px 16px}.player-switch label{flex:1;min-width:150px}.player-switch select{width:100%}}@media (width<=760px){.quick-panel{display:none}.player-switch{padding:8px 16px}.player-switch label{margin:0}.player-switch label select{margin-top:0}.note-heading{padding-top:16px;padding-bottom:12px}.sidebar .quick-panel,.full .quick-panel{display:none}}.app .compact-note-heading{border-bottom:1px solid var(--line);flex-direction:column;flex-shrink:0;gap:10px;padding:16px 26px;display:flex}.note-title-row{align-items:center;gap:16px;width:100%;min-width:0;display:flex}.note-title{flex:1;min-width:0}.compact-note-heading .note-kind{margin-bottom:3px;font-size:11px;display:block}.compact-note-heading h1{overflow-wrap:anywhere;margin:0;font-size:24px}.note-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;display:flex}.note-actions button{white-space:nowrap;padding:6px 10px;font-size:12px}.note-meta-row{flex-wrap:wrap;align-items:center;gap:12px 18px;width:100%;display:flex}.note-player{align-items:center;gap:8px;margin:0;font-size:12px;display:flex}.note-player select{width:150px;margin:0;padding:5px 9px}.note-core{gap:6px}.note-core>.muted,.note-factions{font-size:12px}.full .phase-nav,.sidebar .quick-buttons{display:none}@media (width<=1120px){.full .phase-nav{flex-wrap:nowrap;flex-shrink:0;padding:8px 16px;display:flex;overflow-x:auto}.full .phase-nav button{white-space:nowrap}.full .quick-buttons{display:none}.full .quick-panel{grid-template-columns:1fr}.app .compact-note-heading{padding:12px 18px}.note-title-row{align-items:flex-start}.note-actions{justify-content:flex-end;max-width:260px}}.sidebar .compact-note-heading{padding:12px 16px}.sidebar .compact-note-heading h1{font-size:20px}.sidebar .note-title-row{flex-wrap:wrap;gap:8px}.sidebar .note-actions{justify-content:flex-start;max-width:none}.sidebar .note-meta-row{gap:8px 12px}@media (width<=760px){.app .compact-note-heading{gap:8px;padding:10px 16px}.compact-note-heading h1{font-size:20px}.note-title-row{flex-wrap:wrap;gap:8px}.note-actions{justify-content:flex-start;max-width:none}.note-meta-row{gap:8px 12px}.note-player select{width:130px}.note-actions button{padding:5px 8px;font-size:11px}}.reader-cache-status{color:var(--muted);background:var(--panel);align-items:center;gap:12px;padding:6px 20px;font-size:12px;display:flex}.reader-edit-fieldset{border:0;min-width:0;margin:0;padding:0}.admin-access{border-bottom:1px solid var(--line,#ddd);background:var(--paper,#fffdf7);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 24px;display:flex}.admin-access label{align-items:center;gap:8px;display:flex}.admin-access input{max-width:220px}.admin-access small{color:var(--muted,#68685f)}.app-header nav>:is(.workbench-source,.season-select){align-self:center;block-size:42px}.app-header nav .season-select{width:auto;min-width:64px;color:var(--gold);flex:none;margin-right:4px;font-weight:650}.season-fields{border:1px solid var(--line);border-radius:6px;align-items:center;gap:14px;margin:8px 0 14px;padding:6px 12px;display:flex}.season-fields label{align-items:center;gap:5px;margin:0;display:inline-flex}.season-fields input{width:auto}.note-seasons{margin:3px 0 0;font-size:12px}.acquisition-page{flex:1;min-height:0;padding:28px 34px;overflow:auto}.acquisition-page h1{margin:0}.acquisition-page h2{margin:0 0 14px;font-size:18px}.acquisition-page h3{font-size:15px}.acquisition-page label{color:var(--muted);gap:5px;margin-bottom:12px;display:grid}.acquisition-page input,.acquisition-page select,.acquisition-page textarea{box-sizing:border-box;width:100%;min-width:0}.acquisition-page input[type=checkbox]{width:17px;height:17px;accent-color:var(--jade);flex-shrink:0}.acquisition-page input[type=date],.acquisition-page input[type=time]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.acquisition-tabs{border-bottom:1px solid var(--line);gap:8px;margin-bottom:22px;padding-bottom:14px;display:flex}.acquisition-layout{grid-template-columns:minmax(280px,350px) minmax(0,1fr);gap:32px;display:grid}.acquisition-config{border-right:1px solid var(--line);padding-right:26px}.acquisition-work{min-width:0}.field-pair{grid-template-columns:1fr 1fr;gap:0 12px;display:grid}.action-line{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.section-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.section-heading h2{margin-bottom:12px}.check-label{align-items:center;gap:8px;display:flex!important}.schedule-config,.connection-settings{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.official-sync{margin-bottom:18px}.official-sync summary{cursor:pointer;min-height:32px}.official-sync label{align-items:center;gap:8px;margin-top:12px;display:flex}.official-sync input[type=checkbox]{flex:none;width:17px;height:17px}.official-sync p{overflow-wrap:anywhere;font-size:14px;line-height:1.6}.connection-settings summary,.external-filters summary{cursor:pointer}.connection-settings label{margin-top:12px}.creator-row{border-top:1px solid var(--line);padding:18px 0}.creator-row p{margin:6px 0}.notice{border-left:3px solid var(--jade);background:var(--panel);padding:10px 14px}.job-history button{text-align:left;flex-shrink:0;min-width:180px;max-width:260px}.job-history strong,.job-history small{overflow-wrap:anywhere;display:block}.job-history small{color:var(--muted);margin-top:5px}.job-history button.selected small{color:#18483e}.job-history-item{flex-shrink:0;align-items:stretch;gap:4px;min-width:0;max-width:320px;display:flex}.job-history-item>button:first-child{max-width:245px}.job-history .job-delete{min-width:0;max-width:none;color:var(--gold);padding:8px}.concurrency-settings{align-items:center;gap:16px;padding-bottom:12px;display:flex}.concurrency-settings label{min-width:145px;margin:0}.concurrency-settings p{margin:0;font-size:12px}.job-summary{background:var(--line);border:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:1px;margin-top:16px;display:grid}.job-summary span{background:var(--panel);padding:12px}.job-summary b{color:var(--jade);font-size:22px;font-weight:500;display:block}.batch-toolbar{z-index:3;background:var(--panel);border:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0;padding:12px;display:flex;position:sticky;top:0}.batch-toolbar strong{margin-right:auto}.sources-page .source-selection-toolbar{justify-content:flex-start;position:static}.sources-page .staging-toolbar{position:static}.source-selection-toolbar strong{margin-right:0}.sources-page .source-selection-toolbar .check-label{white-space:nowrap;gap:6px;margin:0;display:flex}.crawl-result,.external-row{border-bottom:1px solid var(--line);align-items:flex-start;gap:13px;padding:18px 0;display:flex}.crawl-result>div,.external-body{flex:1;min-width:0}.crawl-result a,.external-row a{overflow-wrap:anywhere}.crawl-result p{margin:5px 0}.crawl-result>input,.external-row>input{margin-top:6px}.external-filters{background:var(--panel);grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px;padding:18px;display:grid}.external-filters>details{grid-column:1/-1}.external-filters>button{justify-self:start;margin-top:12px}.extended-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 14px;padding-top:12px;display:grid}.external-meta{color:var(--muted);flex-wrap:wrap;gap:6px 18px;margin:6px 0;font-size:12px;display:flex}.external-row .source-title{justify-content:space-between;gap:12px;display:flex}.external-row .source-title>a{font-weight:600}.external-row .source-title>span{white-space:nowrap;font-size:12px}.external-row .chips,.external-row p{margin:6px 0}.manual-source{border:1px solid var(--line);max-width:650px;margin-bottom:20px;padding:20px}.pagination{justify-content:center;align-items:center;gap:16px;padding:20px;display:flex}.transcript-backdrop{z-index:30;background:#0009;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.transcript-dialog{background:var(--base);border:1px solid var(--line);border-radius:8px;width:min(850px,100%);max-height:90vh;padding:24px;overflow:auto}.transcript-path{overflow-wrap:anywhere}.transcript-dialog .section-heading{background:var(--base);padding:12px 0;position:sticky;top:-24px}.transcript-dialog .prose{white-space:normal;overflow-wrap:anywhere}.acquisition-page .error{overflow-wrap:anywhere;white-space:pre-wrap}.path-fallback{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.acquisition-page :focus-visible{outline:2px solid var(--jade);outline-offset:3px}@media (width<=1000px){.acquisition-layout{grid-template-columns:300px minmax(0,1fr);gap:20px}.acquisition-page{padding:22px}.acquisition-config{padding-right:18px}.batch-toolbar button{font-size:12px}.extended-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}.sidebar .acquisition-page{padding:18px 15px}.sidebar .acquisition-layout{flex-direction:column;display:flex}.sidebar .acquisition-config{border:0;padding:0}.sidebar .external-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar .external-row .source-title{display:block}@media (width<=760px){.acquisition-page{padding:18px 15px}.acquisition-layout{flex-direction:column;display:flex}.acquisition-config{border:0;padding:0}.external-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.external-filters>label:first-child{grid-column:1/-1}.external-row .source-title,.external-row .source-title>span,.acquisition-page .page-heading{display:block}.acquisition-page .page-heading>button{margin-bottom:15px}.transcript-backdrop{padding:10px}.transcript-dialog{max-height:94vh;padding:16px}.acquisition-page .batch-toolbar{top:0}.app-header nav{flex-shrink:0;overflow-x:auto}.app-header nav button{white-space:nowrap}.acquisition-page .field-pair input{padding-left:8px;padding-right:8px}}.global-activity{border-bottom:1px solid var(--line);background:var(--panel);flex-direction:column;flex-shrink:0;min-width:0;max-height:34vh;padding:8px 24px;display:flex}.activity-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.activity-heading>button:first-child{text-align:left;background:0 0;border:0;padding-left:0}.activity-heading strong{color:var(--jade);margin-right:14px}.activity-heading span{color:var(--muted);font-size:12px}.activity-body{min-height:0;overflow:auto}.activity-caption{color:var(--muted);justify-content:space-between;gap:12px;padding:6px 0;font-size:12px;display:flex}.activity-caption label{white-space:nowrap}.activity-row{border-top:1px solid var(--line);align-items:center;gap:12px;padding:10px 0;display:flex}.activity-row>div:first-child{flex:1;min-width:0}.activity-row a{overflow-wrap:anywhere}.activity-row small{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;display:block}.activity-row .badge{white-space:nowrap}.task-controls button{padding:6px 9px;font-size:12px}.danger-quiet{color:var(--gold)}.job-history{gap:8px;max-height:none;padding-bottom:14px;display:grid;overflow:visible}.job-history-item{border:1px solid var(--line);background:var(--panel);flex-wrap:wrap;flex-shrink:1;gap:8px;max-width:none;padding:9px;display:flex}.job-history-item.active{border-color:var(--jade)}.job-history-item>button:first-child{border:0;flex:1;min-width:160px;max-width:none}.job-history-item>.task-controls{align-items:center}.job-history button{min-width:0;max-width:none}.job-history .job-delete{white-space:nowrap;padding:6px 9px}.job-history .task-controls button{white-space:nowrap}.crawl-result .task-controls{margin-top:10px}@media (width<=760px){.global-activity{max-height:35vh;padding:6px 15px}.activity-heading>button:first-child{line-height:1.8}.activity-heading strong,.activity-caption{display:block}.activity-caption>span{display:none}.activity-row{flex-wrap:wrap;gap:8px}.activity-row>div:first-child{flex-basis:70%}.activity-row>.task-controls{width:100%}.job-history-item>button:first-child{flex-basis:100%}.job-history-item>.task-controls{width:100%}.concurrency-settings{flex-wrap:wrap}}.job-history{max-height:370px;overflow:hidden auto}.activity-row .task-controls{flex-shrink:0}.job-history,.crawl-results,.activity-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:start;gap:12px;display:grid}.job-history .job-history-item{flex-direction:column;gap:8px;min-width:0;padding:12px;display:flex}.job-history-item>button:first-child{text-align:left;width:100%;min-width:0;color:var(--text);background:0 0;flex:auto;padding:8px}.job-history-item>button.selected{color:#d5f3e8;background:#24483f}.job-history-item>.task-controls{border-top:1px solid var(--line);justify-content:flex-end;width:100%;padding-top:8px}.task-controls{flex-wrap:wrap;gap:6px;display:flex}.task-controls .task-icon,.task-icon{flex:0 0 44px;justify-content:center;align-items:center;width:44px;min-height:44px;display:inline-flex;min-width:44px!important;padding:8px!important}.task-icon:focus-visible{outline:2px solid var(--jade);outline-offset:2px}.crawl-results .crawl-result{border:1px solid var(--line);grid-template-columns:22px minmax(0,1fr);gap:8px;min-width:0;margin:0;padding:14px;display:grid}.crawl-result a{overflow-wrap:anywhere}.crawl-result .muted{font-size:12px}.activity-grid .activity-row{border:1px solid var(--line);flex-direction:column;align-items:stretch;gap:8px;min-width:0;padding:12px;display:flex}.activity-row .task-controls{border-top:1px solid var(--line);justify-content:flex-end;padding-top:8px}.task-error{background:#493440;border-left:3px solid #be8b96;min-width:0;margin:10px 0;padding:10px;font-size:13px}.task-error p{margin:5px 0}.task-error details{margin-top:8px}.task-error pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;font-size:11px;overflow:auto}.creator-dialog{color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:12px;width:min(520px,100vw - 24px);max-height:90dvh;padding:24px;overflow:auto}.creator-dialog::backdrop{background:#0009}.creator-dialog label{margin:12px 0;display:block}.creator-dialog input,.creator-dialog textarea{width:100%}.creator-dialog .check-label{align-items:center;gap:8px;display:flex}.creator-dialog input[type=checkbox]{width:auto}.creator-dialog input[readonly]{opacity:.65}@media (width<=760px){.job-history,.crawl-results,.activity-grid{grid-template-columns:1fr}.creator-dialog{padding:18px}.job-history-item>button:first-child{flex-basis:auto}}.creator-layout{grid-template-columns:320px minmax(0,1fr);align-items:start}.creator-sidebar{flex-direction:column;min-height:220px;max-height:calc(100dvh - 235px);padding-right:18px;display:flex;position:sticky;top:0}.creator-list-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;display:flex}.creator-list-heading h2{margin:0;font-size:17px}.creator-list-heading button{white-space:nowrap;padding:10px;font-size:13px}.creator-sidebar>label,.creator-all{flex-shrink:0}.creator-all{text-align:left;width:100%;min-height:44px;margin-bottom:10px}.creator-all small{color:var(--muted);margin-top:4px;display:block}.creator-list{overscroll-behavior:contain;flex:1;min-height:100px;padding-right:5px;overflow-y:auto}.creator-entry{border:1px solid var(--line);min-width:0;margin-bottom:10px;padding:9px}.creator-entry.active{border-color:var(--jade);background:#24483f44}.creator-select{text-align:left;background:0 0;border:0;width:100%;min-width:0;padding:4px;display:block}.creator-select strong{overflow-wrap:anywhere;margin-bottom:6px;font-size:15px;display:block}.creator-select small{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;display:block}.creator-select .badge{font-size:11px}.creator-actions{flex-wrap:wrap;gap:4px;margin-top:8px;display:flex}.creator-actions button{min-height:44px;padding:7px 9px;font-size:12px}.creator-sidebar .schedule-config,.creator-sidebar .connection-settings{flex-shrink:0;margin-top:10px;padding-top:10px}.creator-sidebar details[open]{max-height:35dvh;overflow-y:auto}.creator-sidebar summary{cursor:pointer;min-height:32px;font-size:13px}.creator-sidebar .schedule-config label{margin-top:12px}.creator-status{border-bottom:1px solid var(--line);margin-bottom:16px;padding:4px 0 14px}.creator-dialog,.creator-dialog input,.creator-dialog textarea{box-sizing:border-box}.creator-dialog h2{font-size:20px}.creator-dialog label{gap:6px;display:grid}.creator-dialog input[type=checkbox]{width:17px;height:17px}@media (width<=760px){.creator-layout{flex-direction:column;display:flex}.creator-sidebar{box-sizing:border-box;width:100%;max-height:none;position:static}.creator-list{flex:auto;max-height:380px}.creator-sidebar details[open]{max-height:none}.creator-layout .acquisition-work{width:100%}}.sidebar .creator-sidebar{max-height:none;position:static}.sidebar .creator-list{max-height:380px}.creator-sidebar{max-height:calc(100dvh - 145px)}.creator-all.selected small{color:#18483e}@media (width<=760px){.creator-sidebar{max-height:none}}.sidebar .creator-sidebar{max-height:none}.creator-entry{margin-bottom:8px;padding:8px}.creator-select{padding:2px;line-height:1.45}.creator-identity,.creator-meta{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.creator-identity{margin-bottom:4px}.creator-select .creator-identity strong{margin:0;font-size:14px;display:inline}.creator-identity .badge{white-space:nowrap;padding:2px 6px;line-height:1.3}.creator-select .creator-meta small{white-space:nowrap;margin:0;font-size:12px}.creator-select .creator-checked{margin-top:3px;font-size:12px;line-height:1.4}.creator-actions{gap:5px;margin-top:6px}.creator-actions button{min-height:32px;padding:4px 9px;line-height:1.4}.creator-entry .notice{margin:6px 0;padding:6px 8px;font-size:12px;line-height:1.5}@media (pointer:coarse){.creator-actions button{min-height:44px}}.creator-retry{color:var(--jade);overflow-wrap:anywhere;margin:4px 2px;font-size:12px;line-height:1.5}.source-filter-bar{background:var(--panel);align-items:center;gap:8px;min-width:0;padding:10px;display:flex}.source-query{flex:1;min-width:160px!important}.source-inline-filters{flex:3;align-items:center;gap:7px;min-width:0;display:flex}.source-inline-filters label{flex:1;min-width:0;margin:0;font-size:0}.source-inline-filters select{padding:8px 5px;font-size:12px}.source-inline-filters button{white-space:nowrap;padding:9px;font-size:12px}.source-mobile-filter{display:none}.source-filter-bar input{padding:9px;font-size:13px}.filter-dialog{width:min(620px,100vw - 24px)}.filter-dialog .extended-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.filter-dialog-selects{grid-template-columns:1fr 1fr;gap:0 12px;display:grid}.sources-page .external-row{gap:10px;padding:10px 0}.sources-page .source-title{align-items:baseline}.sources-page .source-title>a{font-size:14px;line-height:1.5}.sources-page .source-title>span{font-size:11px}.sources-page .external-meta{gap:2px 12px;margin:3px 0;font-size:12px;line-height:1.5}.sources-page .chips{vertical-align:middle;flex-wrap:wrap;gap:4px;margin:2px 8px 2px 0;display:inline-flex}.sources-page .badge{padding:2px 6px;font-size:11px;line-height:1.5}.sources-page .external-body>small{overflow-wrap:anywhere;font-size:11px;display:inline}.sources-page .action-line{gap:6px;margin-top:5px}.sources-page .action-line button{min-height:32px;padding:4px 9px;font-size:12px}.sources-page .source-note,.source-notes{margin:4px 0;font-size:13px;line-height:1.5}.source-notes summary{cursor:pointer;overflow-wrap:anywhere}.sources-page .related-links:empty{display:none}.sources-page .batch-toolbar{margin:10px 0;padding:8px;font-size:12px}.sources-page .batch-toolbar button{padding:7px 10px;font-size:12px}.source-editor{width:min(820px,100vw - 24px)}.source-editor .acquisition-tabs{margin-top:14px;margin-bottom:12px}.source-editor-fields{grid-template-columns:1fr 1fr;gap:0 14px;display:grid}.source-editor-fields label:first-child,.source-editor-fields label:nth-child(2){grid-column:1/-1}.source-editor label{font-size:13px}.source-editor textarea{resize:vertical}.source-editor .transcript-input{min-height:300px;font-size:13px;line-height:1.7}.source-editor-actions{background:var(--panel);border-top:1px solid var(--line);gap:8px;padding:12px 0 4px;display:flex;position:sticky;bottom:-24px}.source-editor .error{white-space:pre-wrap;overflow-wrap:anywhere}@media (width<=1099px){.source-inline-filters{display:none}.source-mobile-filter{white-space:nowrap;display:block}.source-filter-bar{background:0 0;padding:0}}@media (width<=760px){.source-editor-fields{grid-template-columns:1fr}.source-editor-fields label{grid-column:1/-1}.source-editor-actions{bottom:-18px}.sources-page .external-row .source-title{flex-wrap:wrap;gap:2px 8px;display:flex}.sources-page .action-line button{min-height:36px}.sources-page .external-body>small{display:block}.sources-page .source-title>span{white-space:normal;overflow-wrap:anywhere}.sources-page .external-meta{gap:2px 10px}}.sidebar .source-inline-filters{display:none}.sidebar .source-mobile-filter{display:block}@media (pointer:coarse){.sources-page .action-line button{min-height:44px}}.sources-page .external-meta{vertical-align:middle;margin-right:10px;display:inline-flex}.sources-page .external-body>small{margin-right:6px}.source-view-tabs{gap:8px;margin:10px 0;display:flex}.source-view-tabs button{padding:6px 12px}.source-view-tabs .selected{border-color:var(--jade);color:var(--jade)}.topic-label{border:1px solid #76c8b04d;margin:3px 5px 3px 0}.filter-topic-pickers,.source-topic-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;display:grid}.topic-picker{border:1px solid var(--line);border-radius:6px;min-width:0;padding:8px 10px}.topic-picker summary{cursor:pointer;color:var(--jade);font-size:13px}.topic-picker[open]>input{box-sizing:border-box;width:100%;margin:8px 0}.topic-selected{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.topic-selected:empty{display:none}.topic-selected button{padding:3px 7px;font-size:12px}.topic-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:190px;display:grid;overflow:auto}.topic-options label{overflow-wrap:anywhere;align-items:center;gap:6px;font-size:13px;display:flex}.topic-options input{flex-shrink:0;width:16px;height:16px}.topic-options small{grid-column:1/-1}.topic-manager{width:min(860px,100vw - 36px)!important}.topic-manager .acquisition-tabs{flex-wrap:wrap;gap:8px;display:flex}.topic-manager textarea{box-sizing:border-box;width:100%}.topic-counts{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.topic-counts span{background:#73cbb016;border-radius:5px;padding:8px 12px}.roster-list{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.roster-list button{padding:6px 10px}.topic-candidate{border-top:1px solid var(--line);padding:14px 0}.topic-candidate blockquote{border-left:2px solid var(--jade);white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;padding:8px 12px}.topic-candidate p,.topic-job{overflow-wrap:anywhere}.topic-candidate select{max-width:100%}.topic-manager .action-line{flex-wrap:wrap}.topic-candidate details p{white-space:pre-wrap;font-size:13px}.topic-manager form{gap:10px;display:grid}@media (width<=600px){.filter-topic-pickers,.source-topic-fields{grid-template-columns:1fr}.source-view-tabs{flex-wrap:wrap}.topic-manager .acquisition-tabs button{padding:8px;font-size:13px}.topic-counts span{padding:6px 8px;font-size:13px}.topic-options label{min-height:36px}}.classified-directory{width:100%;min-width:0}.classified-directory summary{cursor:pointer;list-style-position:inside}.directory-group>summary{color:var(--jade);border-bottom:1px solid var(--line);padding:10px 0;font-weight:700}.directory-group>summary small{float:right;font-weight:400}.directory-lineup{border-bottom:1px solid #35506466;padding:5px 0}.directory-lineup>summary{align-items:flex-start;gap:3px;display:flex}.directory-lineup>summary:before{content:"▸";color:var(--muted);padding-top:8px}.directory-lineup[open]>summary:before{content:"▾"}.directory-lineup>summary button{text-align:left;background:0 0;border:0;width:100%;min-width:0;padding:6px}.directory-lineup.active>summary button{box-shadow:inset 2px 0 var(--jade);background:#254946}.directory-lineup strong{font-size:13px;line-height:1.5;display:block}.directory-lineup small{font-size:11px;display:block}.directory-lineup .note-option{padding-left:16px}.directory-portraits .official-card-thumb,.directory-portraits .card-image-placeholder{object-fit:cover;border-radius:3px;width:25px;min-width:0;height:25px;min-height:0;font-size:8px}.manage-lineups{width:100%;margin:4px 0;font-size:12px}.lineup-placeholder{max-width:920px;padding:28px}.placeholder-heroes{flex-wrap:wrap;gap:12px;margin:20px 0 30px;display:flex}.lineup-placeholder>button{margin:4px}.lineup-management-list{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:7px;max-height:230px;margin:12px 0;display:grid;overflow:auto}.lineup-management-list>button{text-align:left;min-width:0}.lineup-management-list small{display:block}.lineup-management-list strong{font-size:13px}.lineup-form{border-top:1px solid var(--line);margin-top:15px;padding-top:15px}.lineup-form h3{margin-top:18px}.lineup-form .selected{color:var(--jade)}.lineup-import-preview{border:1px solid var(--line);margin:12px 0;padding:12px}.lineup-import-preview details{max-height:180px;overflow:auto}.lineup-note-options{gap:4px;display:grid}.lineup-merge{margin-top:20px}.lineup-merge select{margin-bottom:8px}.lineup-dialog{max-width:800px}:is(.full .note-list:has(.classified-directory),.sidebar .note-list:has(.classified-directory)){display:block;overflow:auto}.lineup-manager input,.lineup-manager select{min-width:0}@media (width<=760px){:is(.full .library:has(.classified-directory),.sidebar .library:has(.classified-directory)){min-height:220px;max-height:40vh}.classified-directory .note-option{width:100%;min-width:0}.lineup-placeholder{padding:20px 15px}.lineup-management-list{grid-template-columns:1fr;max-height:210px}.lineup-manager .action-line{flex-wrap:wrap}.lineup-dialog{width:calc(100% - 24px);padding:15px}.directory-portraits .official-card-thumb{width:24px;height:24px}}.website-variants,.lineup-naming{border:1px solid var(--border,#355064);background:#172c3d;border-radius:8px;margin:12px 0;padding:10px 12px}.website-variants>summary,.lineup-naming>summary{cursor:pointer;color:var(--jade,#88d1bc);font-weight:600}.website-variant-list{overscroll-behavior:contain;max-height:320px;overflow:auto}.website-variant-list article,.naming-candidate{border-bottom:1px solid #355064;min-width:0;padding:12px 0}.variant-heroes{flex-wrap:wrap;gap:7px;display:flex}.variant-heroes>span{align-items:center;gap:4px;font-size:12px;display:flex}.variant-heroes img,.variant-heroes .card-image-placeholder{object-fit:cover;border-radius:4px;width:27px;min-width:27px;height:31px}.variant-heroes .card-image-placeholder{font-size:8px;overflow:hidden}.naming-candidate input,.naming-candidate select{max-width:100%;margin:4px 0}.naming-candidate blockquote{overflow-wrap:anywhere;border-left:2px solid #88d1bc;margin:8px 0;padding:8px 12px}.naming-candidate a{overflow-wrap:anywhere}.lineup-manager .website-variants{grid-column:1/-1}@media (width<=600px){.website-variants,.lineup-naming{padding:9px}.website-variant-list{max-height:260px}.naming-candidate select{width:100%}}.lineup-dialog{width:calc(100% - 40px);max-width:1180px;max-height:92vh;padding:0 24px 24px}.lineup-dialog>.section-heading{z-index:5;background:var(--panel,#203249);border-bottom:1px solid var(--line);margin:0 -24px;padding:16px 24px;position:sticky;top:0}.lineup-manager-toolbar{align-items:center;gap:10px;margin:14px 0;display:flex}.lineup-manager-toolbar>input{flex:1}.lineup-manager-toolbar>select{width:160px}.lineup-manager-toolbar>button{white-space:nowrap}.lineup-batch-bar{z-index:4;background:var(--panel,#203249);border:1px solid var(--line);border-radius:6px;align-items:center;gap:8px;margin:10px 0;padding:10px 12px;display:flex;position:sticky;top:70px}.lineup-batch-bar>span{color:var(--jade);margin-right:auto}.lineup-batch-bar button{padding:7px 12px}.lineup-name-warning{color:var(--gold);font-size:12px}.lineup-table-head,.lineup-quick-row{grid-template-columns:minmax(220px,1.15fr) minmax(160px,.8fr) minmax(240px,1.4fr) 100px;align-items:start;gap:14px;padding:12px;display:grid}.lineup-table-head{color:var(--muted);padding-bottom:8px;font-size:12px}.lineup-quick-row{border-top:1px solid var(--line);min-width:0}.lineup-quick-row.is-dirty{box-shadow:inset 3px 0 var(--jade);background:#82cdb108}.lineup-quick-row.has-conflict{background:#dd93980b;box-shadow:inset 3px 0 #dd9398}.lineup-quick-row input{width:100%;margin:0;padding:8px 10px;font-size:13px}.lineup-quick-row label{margin:0;display:block}.lineup-identity{min-width:0}.lineup-identity strong{overflow-wrap:anywhere;font-size:14px;display:block}.lineup-identity small,.deleted-lineup-names small{color:var(--muted);font-size:11px;line-height:1.6;display:block}.lineup-identity .directory-portraits{margin:6px 0}.lineup-row-actions{flex-wrap:wrap;gap:6px;display:flex}.lineup-row-actions button{white-space:nowrap;min-height:36px;padding:5px 9px;font-size:12px}.lineup-row-actions .danger{color:var(--gold)}.lineup-alias-editor{min-width:0}.lineup-alias-chips{flex-wrap:wrap;gap:4px;margin-bottom:5px;display:flex}.lineup-alias-chips:empty{display:none}.lineup-alias-chips>span{color:var(--jade);overflow-wrap:anywhere;background:#83cfb51a;border:1px solid #83cfb53b;border-radius:4px;align-items:center;gap:4px;max-width:100%;padding:1px 2px 1px 6px;font-size:12px;display:inline-flex}.lineup-alias-chips button{color:inherit;background:0 0;border:0;flex-shrink:0;min-width:26px;min-height:26px;padding:0;font-size:16px}.lineup-advanced{border-top:1px solid var(--line);margin-top:20px;padding-top:12px}.lineup-advanced>summary{cursor:pointer;color:var(--muted);margin-bottom:12px}.lineup-form-fields{border:0;min-width:0;padding:0}.lineup-form{scroll-margin-top:140px}.deleted-lineup-names{grid-column:span 2}.mobile-field-label{display:none}.lineup-quick-row .error{margin:4px 0;padding:6px;font-size:12px;display:block}@media (width<=900px){.lineup-table-head{display:none}.lineup-quick-row{grid-template-columns:minmax(170px,1fr) minmax(180px,1fr);gap:10px}.lineup-alias-editor,.lineup-row-actions{grid-column:1/-1}.deleted-lineup-names{grid-column:auto}.mobile-field-label{color:var(--muted);margin-bottom:4px;font-size:11px;display:block}}@media (width<=600px){.lineup-dialog{width:calc(100% - 16px);max-height:94vh;padding:0 12px 12px}.lineup-dialog>.section-heading{margin:0 -12px;padding:12px}.lineup-dialog>.section-heading h2{font-size:18px}.lineup-manager-toolbar{flex-wrap:wrap;gap:8px}.lineup-manager-toolbar>input{flex-basis:100%}.lineup-manager-toolbar>select{flex:1;width:auto}.lineup-batch-bar{gap:6px;padding:8px;font-size:12px;top:62px}.lineup-batch-bar button{min-height:40px;padding:6px 8px;font-size:12px}.lineup-quick-row{grid-template-columns:1fr;gap:10px;padding:12px 5px}.lineup-row-actions button{min-height:44px}.lineup-quick-row input{min-height:40px}.lineup-alias-chips button{min-width:36px;min-height:36px}.deleted-lineup-names{grid-column:auto}.lineup-form{scroll-margin-top:120px}}.lineup-confirm{overflow-wrap:anywhere;width:calc(100% - 32px);max-width:460px}.lineup-confirm .action-line{justify-content:flex-end}.lineup-confirm button{min-height:44px}.search-conditions{border:0;min-width:0;margin:0 0 16px;padding:0}.search-conditions legend{color:var(--muted);margin-bottom:8px}.search-clause-input{align-items:center;gap:6px;display:flex}.search-clause-input input{flex:1;min-width:0}.search-clause-input button{flex:0 0 44px;min-height:44px;padding:4px;font-size:22px}.or-divider{text-align:center;color:var(--jade);margin:3px 0;font-size:12px;display:block}.add-or{min-height:44px;margin:8px 0}.strict-toggle{min-height:36px;margin:6px 0!important}.search-rule{margin:0;font-size:12px;line-height:1.6}.keyword-progress{color:var(--muted);overflow-wrap:anywhere;flex-wrap:wrap;gap:6px 16px;margin:12px 0;font-size:12px;display:flex}.job-summary{border:0;border-block:1px solid var(--line);background:0 0;flex-wrap:nowrap;align-items:center;gap:0;min-width:0;max-width:100%;margin-top:14px;padding:9px 0;display:flex;overflow-x:auto}.job-summary span{white-space:nowrap;color:var(--muted);background:0 0;flex:none;padding:0;font-size:13px}.job-summary span+span:before{content:"·";color:var(--muted);margin:0 10px}.job-summary b{color:var(--jade);margin-left:4px;font-size:14px;font-weight:600;display:inline}.note-link-dialog{box-sizing:border-box;width:min(680px,100vw - 24px);max-height:88dvh;overflow:auto}.note-link-dialog label{color:var(--muted);gap:6px;margin:12px 0;display:grid}.note-link-dialog input:not([type=radio]),.note-link-dialog select,.note-link-dialog textarea{box-sizing:border-box;width:100%;min-width:0}.note-link-status{border:1px solid var(--line);border-radius:6px;margin:12px 0;padding:12px}.note-link-status p{margin:5px 0}.link-actions{border:1px solid var(--line);padding:8px 12px}.link-actions label{align-items:center;gap:8px;min-height:36px;display:flex}.link-actions input{flex:none}.note-link-dialog .action-line{background:var(--panel);padding-block:12px;position:sticky;bottom:-1px}.editor-lineup-link{border:1px solid var(--line);margin-bottom:16px;padding:12px}.note-link-dialog .link-actions{min-width:0}.note-link-dialog .link-actions label{color:var(--text);align-items:flex-start;line-height:1.6;display:flex}.note-link-dialog .link-actions input[type=radio]{width:17px;min-width:17px;height:17px;accent-color:var(--jade);flex:0 0 17px;margin:4px 0 0}.staging-toolbar{z-index:3;background:var(--bg);flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;display:flex;position:sticky;top:0}.staging-toolbar strong{color:var(--jade);margin-right:8px}.staging-toolbar small{color:var(--muted)}.staging-basket{border:1px solid var(--line);margin-bottom:12px;padding:14px}.staging-basket h2{font-size:16px}.staging-item{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.staging-item>div{overflow-wrap:anywhere;min-width:0}.staging-item small,.prompt-skip{color:var(--muted);font-size:12px;display:block}.staging-item button{flex-shrink:0}.prompt-dialog{width:min(850px,100vw - 24px)}.prompt-dialog textarea{resize:vertical;font-family:inherit;line-height:1.6}.prompt-dialog .action-line{background:var(--panel);padding-top:10px;position:sticky;bottom:-1px}.prompt-skip{overflow-wrap:anywhere;margin:4px 0}@media (width<=760px){.staging-toolbar button{min-height:44px}.prompt-dialog{padding:14px}.prompt-dialog .action-line{flex-wrap:wrap}}.source-annotations{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:12px;max-width:1000px;margin:4px 0;display:grid}.source-annotation{grid-template-columns:28px minmax(0,1fr);align-items:start;gap:4px 6px;min-width:0;display:grid}.annotation-label{color:#9cabb7;padding-top:5px;font-size:12px}.annotation-display{text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:1px solid #0000;justify-content:flex-start;min-width:0;min-height:28px;padding:3px 6px;font-size:12px;display:block;overflow:hidden}.annotation-display:hover,.annotation-display:focus-visible{background:#203344;border-color:#456273}.annotation-display .badge{margin:0 6px 3px 0}.annotation-tags-editor{background:#172b3c;border:1px solid #456273;border-radius:8px;gap:8px;min-width:0;padding:10px;display:grid}.annotation-tag-chips,.annotation-tag-options{flex-wrap:wrap;gap:6px;display:flex}.annotation-tag-options{max-height:180px;overflow:auto}.annotation-tag-options label{align-items:center;gap:5px;padding:4px 7px;display:flex}.source-annotation textarea,.annotation-tags-editor input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0}.source-annotation>small,.annotation-error{grid-column:2;font-size:13px}.annotation-error{color:#f0b6ae}.annotation-error button{margin:4px 6px 0 0}.source-editor-tags{gap:8px;margin:12px 0;display:grid}.source-editor-form{border:0;min-width:0;margin:0;padding:0}.retry-status{overflow-wrap:anywhere;line-height:1.7;display:block}.task-error>.retry-status{margin-top:5px}.task-error.retry-wait{border-left-color:var(--gold,#e7bf76);background:#283b48}.search-select{flex:1;min-width:0;font-size:13px;position:relative}.search-select-control{align-items:center;display:flex;position:relative}.source-filter-bar .search-select input{box-sizing:border-box;text-overflow:ellipsis;width:100%;min-width:0;padding:9px 26px 9px 8px}.source-filter-bar .search-select-toggle{color:inherit;background:0 0;border:0;padding:0 6px;font-size:13px;position:absolute;top:2px;bottom:2px;right:2px}.search-select-options{z-index:30;overscroll-behavior:contain;background:var(--panel);border:1px solid var(--line);border-radius:6px;width:max-content;min-width:100%;max-width:min(360px,80vw);max-height:260px;padding:4px;position:absolute;top:calc(100% + 4px);left:0;overflow:auto;box-shadow:0 8px 24px #0005}.source-filter-bar .search-select-options button{text-align:left;white-space:normal;overflow-wrap:anywhere;width:100%;color:inherit;background:0 0;border:0;border-radius:3px;padding:9px;font-size:13px;display:block}.source-filter-bar .search-select-options button:hover,.source-filter-bar .search-select-options button[data-active=true]{background:var(--jade);color:var(--base)}.source-filter-bar .search-select-options button[aria-selected=true]{font-weight:700}.search-select-empty{color:var(--muted);padding:10px}.filter-dialog-selects .search-select{margin-bottom:12px}.filter-dialog-selects .search-select-options{width:auto;min-width:0;max-width:100%;max-height:220px;margin-top:4px;position:static}.library-tools{flex-shrink:0}.library-tools .library-heading{gap:6px;min-height:32px}.library-tools .library-heading h2{white-space:nowrap;font-size:16px}.library-tools .library-heading>span{white-space:nowrap;font-size:11px}.library-tool{background:0 0;justify-content:center;align-items:center;gap:4px;min-width:30px;height:30px;padding:5px 7px;font-size:18px;display:inline-flex}.library-tool small{font-size:10px}.library-tool.has-filters{border-color:var(--jade);color:var(--jade)}.library-popover-root{display:inline-flex}.library-popover{z-index:70;color:#e4edf4;background:#18334b;border:1px solid #4c7184;border-radius:10px;padding:18px;font-size:13px;position:fixed;overflow:auto;box-shadow:0 12px 38px #06121dcc}.library-popover label{margin:14px 0}.library-popover input,.library-popover select{font-size:13px}.popover-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.popover-heading strong{color:var(--jade);font-size:15px}.popover-heading span{color:var(--muted);font-size:11px}.library-popover .faction-grid{margin-top:14px}.library-popover .check input{width:auto}.library-popover .quiet{font-size:12px}.note-type-switch{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:14px;padding-bottom:12px;display:grid}.note-type-switch button{white-space:nowrap;background:0 0;border-color:#0000;padding:7px 2px;font-size:12px}.note-type-switch button small{opacity:.8;margin-left:3px;font-size:10px}.note-type-switch button.selected{color:#b7f4df;background:#285553;border-color:#487d72}.filter-summary{color:var(--jade);justify-content:space-between;align-items:center;gap:6px;padding-top:7px;font-size:11px;display:flex}.filter-summary span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.filter-summary button{white-space:nowrap;padding:3px 4px;font-size:11px}.game-conditions{border-bottom:1px solid var(--line);margin-top:12px;padding-bottom:12px}.game-conditions .library-popover-root,.game-conditions .library-tool{width:100%}.game-conditions .library-tool{justify-content:space-between;font-size:12px}.game-conditions .library-tool span{color:var(--muted);font-size:11px}.library .note-list{flex:1;min-height:0;margin:10px -8px 0;overflow:auto}.note-directory{align-content:start;gap:3px;display:grid}.directory-note{border-radius:6px;align-items:flex-start;margin:0;padding:12px 8px}.directory-note .note-icon{margin-top:1px;font-size:17px}.directory-note-body{width:100%;min-width:0}.directory-note strong{overflow-wrap:anywhere;line-height:1.65}.directory-portraits{flex-wrap:wrap;gap:3px;margin-top:7px;display:flex}.directory-portraits .card-image{width:24px;height:32px}.directory-note[aria-current=page]{border-left:2px solid var(--jade)}.directory-empty{padding:30px 10px;font-size:13px;line-height:1.8}.new-note-dialog{color:#e4edf4;background:#18334b;border:1px solid #4c7184;border-radius:12px;width:440px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:24px;overflow:auto;box-shadow:0 18px 60px #0008}.new-note-dialog::backdrop{background:#061321b3}.new-note-dialog .section-heading h2{margin:0}.new-note-dialog .muted{margin:16px 0;font-size:12px}.new-note-dialog .action-line{justify-content:flex-end;gap:8px;margin-top:22px;display:flex}.new-note-dialog .error{margin:12px 0}.new-note-file{justify-content:space-between;align-items:center;gap:8px;margin:8px 0;display:flex}.new-note-file span{overflow-wrap:anywhere}.new-note-file button{flex-shrink:0}.new-note-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;font:inherit;background:#102437;border-radius:6px;padding:10px;overflow:auto}@media (width<=760px){.app .library{min-height:160px;max-height:32dvh;padding:12px 14px;overflow:visible}.app .library .note-list{min-height:50px;overflow:auto}.library-foot{display:none}.library-tools .library-heading h2{font-size:15px}.note-type-switch{margin-top:7px;padding-bottom:7px}.directory-note{padding:8px}.directory-note strong{font-size:12px}.directory-portraits{margin-top:4px}.directory-portraits .card-image{width:20px;height:27px}.library-popover{padding:16px}.new-note-dialog{padding:18px}.library .filter-summary{padding-top:3px}}.mobile-directory-button,.mobile-directory-close,.mobile-account-trigger{display:none}.account-items{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.login-trigger{color:#72d5b5;border-color:#487d72}.login-dialog{color:#e4edf4;background:#18334d;border:1px solid #47687e;border-radius:12px;width:400px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:28px;overflow:auto;box-shadow:0 24px 80px #0008}.login-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#071421c9}.login-dialog header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.login-dialog header small{color:#e7bf76}.login-dialog h2{margin:8px 0 24px;font-size:24px}.login-dialog header button{width:44px;height:44px;padding:0;font-size:24px}.login-dialog label{gap:8px;margin:0 0 20px;display:grid}.login-dialog input{background:#102438;width:100%;min-height:44px;font-size:16px}.login-dialog form>.primary{width:100%;min-height:44px;margin-top:4px}.entry-edit-row{border-bottom:1px solid #3a5367;padding:12px 0}.entry-edit-row fieldset,.proposal-card>fieldset{border:0;min-width:0;padding:0}.entry-edit-row fieldset:disabled{opacity:.7}.entry-lock-status{align-items:center;gap:10px;margin-bottom:8px;display:flex}.lock-hint{color:#c47873;font-size:12px}.entry-lock-status small{color:#72d5b5}@media (width<=760px){.app{min-width:0;height:100dvh}.app .app-header{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px 10px;padding:8px 12px;display:flex}.mobile-directory-button{white-space:nowrap;min-height:44px;padding:8px;display:block}.app-header .brand{flex:1;gap:6px}.app-header .brand small{display:none}.app-header .brand strong{font-size:17px}.app-header .brand-mark{display:none}.app-header>nav{flex-wrap:nowrap;order:3;gap:4px;width:100%;display:flex;overflow-x:auto}.app-header>nav button{white-space:nowrap;flex-shrink:0;min-height:44px;padding:8px 12px}.app-header .header-actions{gap:4px;margin-left:auto}.header-actions>button[aria-label=切换阅读模式],.header-actions>.refresh{display:none}.app .workspace{flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.app .workspace>.reading{flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden}.app .content-scroll{overscroll-behavior:contain;flex:1;min-height:0;padding:16px;font-size:16px;line-height:1.85;overflow:auto}.content-scroll .prose,.content-scroll p,.content-scroll .advice,.content-scroll .json-reading{font-size:16px;line-height:1.85}.content-scroll h2{font-size:20px}.content-scroll :where(p,div,span){overflow-wrap:anywhere}.content-scroll img{max-width:100%}.app .library{z-index:81;visibility:hidden;background:#102438;border-right:1px solid #48657a;flex-direction:column;width:min(340px,88vw);height:100%;min-height:0;max-height:none;padding:12px 14px;transition:transform .18s,visibility .18s;display:flex;position:absolute;inset:0 auto 0 0;transform:translate(-105%);box-shadow:12px 0 40px #0006}.app .library.directory-open{visibility:visible;transform:translate(0)}.mobile-directory-close{align-self:flex-start;min-height:44px;margin-bottom:10px;display:block}.directory-backdrop{z-index:80;background:#06121da3;position:absolute;inset:0}.library .note-list{max-height:none}.library .directory-note{min-height:44px;padding:12px 8px}.library .directory-note strong{font-size:14px}.library .library-tool,.library .note-type-switch button{height:auto;min-height:44px}.library-popover{z-index:90}.library-popover input,.library-popover select{min-height:44px;font-size:16px}.app .phase-nav{flex-wrap:nowrap;flex-shrink:0;gap:6px;padding:6px 12px;display:flex;overflow-x:auto}.app .phase-nav button{white-space:nowrap;flex-shrink:0;min-height:44px;padding:8px 12px}.reading-chapter{scroll-margin-top:12px}.app .quick-panel{display:none}.app .compact-note-heading{padding:12px 16px}.app .note-actions button,.scope-insert-actions button,.review-toolbar button,.proposal-actions button{min-height:44px;font-size:13px}.node-review-actions button,.copy-control{min-height:44px}.review-node-fields input,.review-node-fields textarea{font-size:16px}.review-toolbar{flex-wrap:wrap}.reader-cache-status{padding:6px 12px;font-size:12px}.reader-cache-status:empty{display:none}.mobile-account-trigger{min-height:44px;padding:8px;font-size:12px;display:block}.account-controls{position:relative}.account-items{z-index:100;background:#18334d;border:1px solid #47687e;border-radius:10px;gap:12px;width:min(290px,100vw - 24px);padding:18px;display:none;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 38px #06121dcc}.account-items.is-open{flex-direction:column;align-items:stretch;display:flex}.account-items>span{color:#e7bf76}.account-items select,.account-items button{min-height:44px;font-size:16px}.account-controls .proposal-drawer{z-index:110;width:auto;max-width:none;max-height:none;padding:16px;position:fixed;inset:12px;overflow:auto}.proposal-drawer header button,.login-trigger{min-height:44px}.login-dialog{padding:22px}.proposal-card{overflow-wrap:anywhere;padding:14px;font-size:14px}}@media (prefers-reduced-motion:reduce){.app .library{transition:none}}.app .app-header{flex-wrap:wrap;row-gap:10px;height:auto;min-height:76px;padding-block:12px}.app-header .brand,.app-header>nav,.app-header .header-actions{flex-shrink:0}.app-header>nav{flex-wrap:nowrap;max-width:100%;overflow-x:auto}.app-header>nav button{white-space:nowrap;flex-shrink:0}.app-header .header-actions{flex-wrap:nowrap;max-width:100%;margin-left:auto}.note-zip-export button{white-space:nowrap}.note-zip-export .error{overflow-wrap:anywhere;max-width:13rem;margin:4px 0 0}.header-actions>button,.account-items>button{white-space:nowrap;flex:none}.account-controls .account-items{flex-wrap:nowrap;min-width:0;max-width:100%}.account-items>select{white-space:nowrap;flex:none;width:auto;max-width:8rem;padding:5px 8px}.account-items>.account-name{white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:10rem;overflow:hidden}.account-items>small{flex:0 auto;min-width:0;max-width:10rem}.account-error{overflow-wrap:anywhere;min-width:0;max-width:12rem}.mobile-account-trigger{white-space:nowrap;text-overflow:ellipsis;max-width:min(52vw,18rem);overflow:hidden}.proposal-location-action{justify-content:flex-end;margin:8px 0;display:flex}.proposal-location-action button{white-space:nowrap;min-height:36px}.proposal-split-diff section:has(.proposal-name-row)>h4{float:left;margin:0 .5rem .45rem 0;line-height:1.8}.proposal-name-row{align-items:center;gap:.5rem;margin-bottom:.45rem;display:flex}.proposal-name-row label{white-space:nowrap;color:inherit;align-items:center;gap:.3rem;margin:0;display:flex}.proposal-name-row input[type=checkbox]{flex:none;margin:0}.proposal-name-row input:not([type=checkbox]){flex:1;min-width:0;padding:.2rem .4rem}.proposal-body-diff{clear:both;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text;min-height:2rem;line-height:1.65}.proposal-location-target{outline-offset:-2px;background-color:#72d5b51a;scroll-margin-block:20px;outline:2px solid #72d5b5!important}@media (width>=761px) and (width<=1120px){.account-items>.account-name,.account-items>small{max-width:7rem}}@media (width<=760px){.app .app-header{min-height:0;padding:8px 12px}.note-zip-export button{min-height:44px}.account-controls .account-items{flex-direction:column;align-items:stretch;min-width:0;max-width:none}.account-items>.account-name,.account-items>small{max-width:100%}.account-items>select{width:100%;max-width:none;min-height:44px}.account-items>button,.proposal-location-action button{white-space:nowrap;min-height:44px}}
