.system-import{margin-bottom:32px;border:1px solid var(--line);border-radius:4px;background:var(--surface);padding:24px}.system-import>h2{font:500 26px/1.25 var(--heading)}.system-import>p{max-width:68ch;margin-top:8px;font-size:14px}.import-steps{display:flex;flex-wrap:wrap;gap:8px 32px;list-style:decimal;padding-left:20px;margin:20px 0 24px;color:var(--muted);font-size:12px}.import-steps li{padding-left:4px}.import-source-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:16px;align-items:center;padding:24px 0;border-top:1px solid var(--line)}.import-source-row>svg,.import-demo>svg{color:var(--muted)}.import-source-row>.button{max-width:100%}.import-source-row h3,.import-demo h3{font:600 15px/1.5 Plus Jakarta Sans,Segoe UI,sans-serif}.import-source-row p,.import-demo p{max-width:58ch;margin-top:4px;font-size:13px;line-height:1.65;color:var(--muted)}.system-import>.import-before-confirm{margin-top:0;color:var(--muted);font-size:12px}.import-format-help{margin-top:12px;font-size:13px}.import-format-help>summary,.import-advanced>summary,.import-diagnostic-group>summary,.import-source-details>summary{min-height:44px;align-content:center;cursor:pointer}.import-format-help>p{max-width:68ch;color:var(--muted);margin:4px 0 12px;line-height:1.65}.import-demo{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:16px;align-items:center;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.import-link-intro,.import-review-help{margin-top:16px;font-size:14px;color:var(--muted);max-width:68ch}.import-link-help{padding-left:20px;font-size:13px;line-height:1.7;color:var(--muted)}.import-link-help li+li{margin-top:8px}.import-advanced{border-top:1px solid var(--line);margin-top:16px;font-size:13px}.import-repository-step{margin:24px 0}.import-repository-step>h3{font:600 16px/1.5 Plus Jakarta Sans,Segoe UI,sans-serif}.import-repository-step>p{font-size:13px;color:var(--muted);margin-top:8px}.import-repository-step .repository-ready{color:var(--success)}.import-repository-source{font-size:12px;color:var(--muted)}.import-repository-source code{font-size:11px}.import-diagnostic-group{border-top:1px solid var(--line);font-size:13px}.import-diagnostic-group>summary{font-weight:600;padding:8px 0}.import-diagnostic-group ul{padding-left:20px;margin:8px 0 16px}.import-diagnostic-group li{margin:12px 0}.import-diagnostic-group code{font-size:11px;color:var(--muted)}.import-source-details{font-size:12px;margin-top:16px;overflow-wrap:anywhere}.import-source-details>p{color:var(--muted);margin:8px 0}.import-confirm-help{font-size:12px;color:var(--muted);margin-top:20px}.modal-body:has(>.system-import-dialog){display:flex;flex-direction:column;overflow:hidden}.system-import-dialog{display:flex;flex-direction:column;min-height:0}.system-import-dialog-fields{min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px}.system-import-dialog>.modal-actions{flex-shrink:0}@media(max-width:760px){.system-import{padding:20px 16px}.system-import>h2{font-size:24px}.import-steps{gap:8px 24px}.import-source-row{grid-template-columns:24px minmax(0,1fr);gap:8px 12px;padding:20px 0}.import-source-row>.button{grid-column:2;justify-self:start;margin-top:8px}.import-demo{grid-template-columns:24px minmax(0,1fr);gap:8px 12px}.import-demo>.button{grid-column:2;justify-self:start;padding-left:0}}.game-progress{grid-column:1/-1;display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;padding:16px;border:1px solid var(--accent);border-radius:8px;background:var(--accent-soft)}.game-progress>svg{color:var(--accent);margin-top:2px}.game-progress>div{display:grid;gap:6px;min-width:0}.game-progress strong{font-size:15px}.game-progress span{font-size:13px;overflow-wrap:anywhere}.game-progress progress{width:100%;height:8px;accent-color:var(--accent)}.game-failed{grid-template-columns:minmax(0,1fr);border-color:var(--danger);background:var(--surface)}.game-failed strong{color:var(--danger)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.local-photo{width:100px;height:100px;object-fit:cover;border-radius:18px}.photo-small{width:48px;height:48px}.photo-massive{width:180px;height:180px}.photo-placeholder{display:grid;place-items:center;width:64px;height:64px;border:1px solid currentColor;border-radius:18px;font:30px Georgia,serif}.photo-preview-button{padding:0;border:0;background:none;cursor:zoom-in}.photo-expanded{max-width:100%;max-height:70vh;object-fit:contain}.photo-field input[type=file]{max-width:100%}.array-item{display:flex;align-items:center;gap:12px}.array-item>.field{flex:1;min-width:0}.reference-options{max-height:300px;overflow:auto}fieldset.field{min-width:0;border:1px solid #9ba69e55;border-radius:12px;padding:14px}.combat-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.combatant-card{padding:18px;border:1px solid #9ba69e55;border-radius:16px;margin-bottom:14px}.combatant-current{outline:2px solid #738e66;outline-offset:2px}.combatant-card .base-grid{margin-top:14px}.combat-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.source-form-fields,.source-form-controls{border:0;padding:0;margin:0;min-width:0}.ability-setup h4,.setup-health h4{font-size:20px;margin:20px 0 8px}.ability-setup>p,.setup-health>p{max-width:68ch}.field-help{font-size:12px;line-height:1.65;color:var(--muted);margin:6px 0 16px;overflow-wrap:anywhere}.ability-fields{display:grid;margin:20px 0;border-top:1px solid var(--line)}.ability-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,160px);align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.ability-row label{font-weight:600}.ability-row .field-help{margin-bottom:0}.ability-row input,.ability-row select{width:100%;min-width:0;min-height:44px}.ability-budget{font-variant-numeric:tabular-nums;color:var(--accent)}.ability-rolls{padding-left:24px;line-height:2;font-variant-numeric:tabular-nums}.ability-rolls del{color:var(--muted)}.setup-health{margin-top:28px}@media(max-width:480px){.ability-row{grid-template-columns:minmax(0,1fr) 116px;gap:12px}}.source-avatar-section{border:1px solid var(--line);border-radius:12px;padding:24px;background:var(--surface);margin-bottom:24px}.source-avatar-center{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}.source-avatar-stacks{display:flex;justify-content:space-between;gap:16px}.source-chip{display:inline-flex;align-items:center;padding:8px 16px;border:1px solid var(--line);border-radius:24px;background:var(--surface-soft);font-size:13px}.source-chip-compact{padding:4px 8px;font-size:11px}.source-list-item>div{display:flex;justify-content:space-between;gap:16px;overflow-wrap:anywhere}.source-resource-item{padding:16px;border:1px solid var(--line);border-radius:8px;min-width:0;width:100%}.source-resource-section{display:grid;gap:12px}.check-label-left{flex-direction:row-reverse;justify-content:flex-end}details.collapse-icon-closed-only[open]>summary{list-style:none}details.collapse-icon-closed-only[open]>summary::-webkit-details-marker{display:none}dialog.source-bottom-sheet{margin:auto;border:1px solid var(--line);border-radius:8px;width:min(calc(100% - 32px),720px);max-width:720px}.repository-address{overflow-wrap:anywhere}.resource-prefilters{min-width:0;margin:0 0 20px;padding:12px 16px;border:1px solid var(--line);border-radius:4px}.resource-prefilters legend{padding:0 6px;font-size:13px;font-weight:600}.resource-prefilters .field-help{margin:0 0 8px}.resource-prefilters .check-field{align-items:center;overflow-wrap:anywhere}.character-sheet-actions{flex-shrink:0;gap:12px}@media(max-width:760px){.character-sheet-actions{width:100%}.character-sheet-actions>.primary{flex:1}.character-sheet-actions>.icon-button{border:1px solid var(--line)}}.switch-field input[role=switch]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:38px;min-width:38px;height:22px;min-height:22px;padding:0;border-radius:999px;background:var(--line);position:relative;transition:background .15s}.switch-field input[role=switch]:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:var(--surface);transition:transform .15s}.switch-field input[role=switch]:checked{background:var(--accent)}.switch-field input[role=switch]:checked:after{transform:translate(16px)}dialog.dialog-wide{max-width:920px}.creation-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:4px 20px}.creation-toolbar .field{margin:0;flex:1 1 260px;max-width:420px}.creation-flow{display:flex;flex-direction:column;min-height:0}.creation-steps{list-style:none;display:flex;gap:8px;margin:24px 0 8px;padding:0;counter-reset:none;overflow-x:auto;scrollbar-width:thin}.creation-steps li{display:flex;align-items:center;gap:10px;flex:1 1 0;min-width:max-content;padding:10px 14px 10px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:13px;background:var(--surface)}.creation-steps .step-mark{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1px solid var(--line);font-family:var(--numbers);font-size:12px;font-variant-numeric:tabular-nums}.creation-steps li.done{color:var(--ink)}.creation-steps li.done .step-mark{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.creation-steps li[aria-current=step]{color:var(--ink);border-color:var(--accent);background:var(--accent-soft);font-weight:600}.creation-steps li[aria-current=step] .step-mark{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.creation-help{font-size:12px;margin:4px 0 12px}.form-summary{margin-top:12px;font-size:13px}@media(max-width:640px){.creation-steps li:not([aria-current=step]) .step-name{display:none}.creation-steps li{flex:0 0 auto;padding:6px}.creation-steps li[aria-current=step]{flex:1 1 auto;padding-right:14px}}.choice-field{min-width:min(240px,100%);display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:420px;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font-size:14px;text-align:left;transition:border-color .15s}.choice-field:hover:not(:disabled){border-color:var(--accent)}.choice-field>svg{color:var(--muted)}.choice-placeholder{color:var(--muted)}/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--ease-out:cubic-bezier(0, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.isolate{isolation:isolate}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.italic{font-style:italic}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}@font-face{font-family:EB Garamond;font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/eb-garamond-latin.woff2)format("woff2")}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-weight:200 800;font-display:swap;src:url(../fonts/plus-jakarta-sans-latin.woff2)format("woff2")}@font-face{font-family:Space Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/space-mono-latin.woff2)format("woff2")}@font-face{font-family:Space Mono;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/space-mono-bold-latin.woff2)format("woff2")}:root{font-synthesis:none;text-rendering:optimizelegibility;--heading:"EB Garamond",Georgia,serif;--numbers:"Space Mono",Consolas,monospace;--bg:#111417;--surface:#191c20;--surface-soft:#1d2024;--ink:#e1e2e8;--muted:#b5afa5;--line:#323539;--accent:#e4c284;--accent-soft:#2d281f;--on-accent:#261900;--warning:#e4c284;--warning-bg:#28231a;--danger:#ffb4ab;--sidebar:#0b0e12;--input:#0b0e12;--success:#a3d1b7;--info:#a5cce4;color:var(--ink);background:var(--bg);color-scheme:dark;font-family:Plus Jakarta Sans,Segoe UI,sans-serif}:root[data-theme=light]{--bg:#f6f4ee;--surface:#fffefb;--surface-soft:#ede8de;--ink:#1e2124;--muted:#68635b;--line:#d5cebf;--accent:#745a27;--accent-soft:#e9dfcc;--on-accent:#fffefb;--warning:#74531c;--warning-bg:#f4ead4;--danger:#9a302b;--sidebar:#ede8de;--input:#fffefb;--success:#2f6650;--info:#245d7a;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent)}button{color:inherit}a{color:var(--accent)}h1,h2,h3,p{margin:0}h1{font-family:var(--heading);letter-spacing:-1.2px;font-size:40px;font-weight:400;line-height:1.2}h2{font-size:19px;font-weight:600;line-height:1.4}h3{font-size:20px;font-weight:600}p{line-height:1.65}small{font-size:12px}svg{flex-shrink:0}code,.mono{font-family:var(--numbers);overflow-wrap:anywhere}hr{border:0;border-top:1px solid var(--line);width:100%}input,select,textarea{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:7px;width:100%;min-height:44px;padding:10px 12px}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--accent)}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:var(--muted)}button{background:0 0;border:0}.muted{color:var(--muted)}.eyebrow,.small-label{letter-spacing:1.8px;color:var(--muted);font-size:10px;font-weight:700}.eyebrow{margin-bottom:12px}.small-label{letter-spacing:1px}.button{white-space:normal;border-radius:7px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:10px 17px;font-size:13px;font-weight:600;text-decoration:none;transition:background .15s,transform .15s;display:inline-flex}.button:active{transform:translateY(1px)}.primary{background:var(--accent);color:var(--on-accent);border:1px solid var(--accent)}.secondary{background:var(--surface);border:1px solid var(--line)}.secondary:hover{background:var(--surface-soft)}.danger{color:#fff;background:#9c3930}.danger-text{color:var(--danger)}.text-button:hover{background:var(--surface-soft)}.button-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.link-button{min-height:44px;color:var(--accent);text-align:left;align-items:center;gap:6px;padding:4px 0;font-size:12px;font-weight:600;display:inline-flex}.icon-button{border-radius:6px;justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;display:inline-flex}.icon-button:hover{background:var(--accent-soft)}.field{flex-direction:column;gap:8px;min-width:0;margin:16px 0;font-size:13px;font-weight:500;display:flex}.check-field{align-items:center;gap:10px;min-height:44px;font-size:14px;display:flex}.error-text{color:var(--danger)}.app-shell{min-height:100vh}.sidebar{z-index:30;background:var(--sidebar);border-right:1px solid var(--line);flex-direction:column;width:248px;padding:32px 20px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{text-align:left;align-items:center;gap:10px;padding:0 4px 28px;display:flex}.brand-symbol{width:38px;height:42px;color:var(--accent);place-items:center;display:grid;position:relative}.brand-symbol>span{border:1px solid;width:12px;height:12px;position:absolute;transform:rotate(45deg)}.brand strong{font-family:var(--heading);letter-spacing:-.6px;font-size:25px;font-weight:500}.brand strong>span{letter-spacing:1.5px;color:var(--muted);margin-top:5px;font-family:Segoe UI,sans-serif;font-size:7px;font-weight:600;display:block}.nav-section-label{letter-spacing:1.7px;color:var(--muted);margin:28px 12px 14px;font-size:9px;font-weight:700}.second-label{margin-top:32px}.nav-item{text-align:left;width:100%;min-height:46px;color:var(--muted);border-radius:6px;align-items:center;gap:13px;margin-bottom:5px;padding:0 13px;font-size:13px;display:flex}.nav-item:hover{background:var(--accent-soft)}.nav-item.active{color:var(--accent);background:var(--accent-soft);font-weight:650}.nav-count{background:var(--surface);border-radius:4px;margin-left:auto;padding:2px 6px;font-size:11px}.main-shell{min-height:100vh;margin-left:248px}.topbar{border-bottom:1px solid var(--line);background:var(--bg);justify-content:space-between;align-items:center;gap:12px;height:76px;padding:0 44px;display:flex}.breadcrumb{color:var(--muted);align-items:center;gap:16px;font-size:11px;display:flex}.breadcrumb strong{color:var(--ink);font-weight:500}.breadcrumb-slash{color:#a6aea2}.offline-label i,.character-card-meta i,.tab-dot{background:#6e8650;border-radius:50%;flex-shrink:0;width:5px;height:5px;display:inline-block}.mobile-menu{display:none}main{flex-direction:column;max-width:1540px;min-height:calc(100vh - 64px);margin:0 auto;padding:44px 44px 0;display:flex}.page-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:36px;display:flex}.page-heading .muted{margin-top:14px;font-size:13px}.page-heading .eyebrow{margin-bottom:14px;font-size:9px}.character-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px;display:flex}.tab-label{align-items:center;gap:8px;padding:17px 0;font-size:12px;font-weight:600;display:flex;position:relative}.tab-label:after{content:"";background:var(--accent);height:2px;position:absolute;bottom:-1px;left:0;right:0}.count{background:var(--accent-soft);color:var(--accent);border-radius:4px;margin-left:5px;padding:2px 6px;font-size:10px}.search{color:var(--muted);align-items:center;gap:7px;width:200px;display:flex}.search input{background:0 0;border:0;min-height:36px;padding:8px 0;font-size:11px}.character-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px;display:grid}.character-card{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:0;transition:box-shadow .2s,transform .2s;overflow:hidden}.character-card:hover{transform:translateY(-3px);box-shadow:0 7px 25px #182c1910}.character-art{background:#d9dfcf;place-items:center;height:175px;display:grid;position:relative;overflow:hidden}.character-monogram{font-family:var(--heading);color:#49604c;opacity:.8;z-index:1;font-size:100px;font-style:italic;line-height:1}.character-system{letter-spacing:1px;color:#3e533a;background:#ffffff60;border:1px solid #60705250;border-radius:4px;padding:4px 7px;font-size:9px;position:absolute;bottom:12px;left:16px}.character-card-body{padding:20px}.card-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.character-card-body h2{font-family:var(--heading);font-size:24px;font-weight:400}.character-card-body>p{margin:6px 0 23px;font-size:11px}.character-card-meta{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;padding-top:14px;display:flex}.character-card-meta>span{color:var(--muted);align-items:center;gap:5px;font-size:9px;display:flex}.character-card-meta small{color:var(--muted);font-size:9px}.add-character-card{min-height:328px;color:var(--muted);border:1px dashed #b9c4ae;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex}.add-character-card:hover{background:var(--surface-soft)}.add-character-card>span{color:var(--ink);font-size:13px;font-weight:500}.add-character-card small{font-size:11px}.privacy-strip{color:var(--accent);justify-content:center;align-items:center;gap:6px;padding:32px 0;font-size:10px;display:flex}.main-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding:48px 0 24px;font-size:9px;display:flex}.main-footer>span:last-child{letter-spacing:1px;font-size:8px}.footer-separator{color:#aab1a4;padding:0 6px}.empty{text-align:center;border:1px dashed var(--line);background:var(--surface);border-radius:10px;padding:54px 24px}.empty-mark{background:var(--accent-soft);width:52px;height:52px;color:var(--accent);border-radius:50%;place-items:center;margin:0 auto 20px;display:grid}.empty h2{font-family:var(--heading);font-size:27px;font-weight:400}.empty p{max-width:440px;margin:14px auto 24px;font-size:13px}.getting-started{border:1px solid var(--line);border-radius:8px;align-items:center;gap:18px;margin-top:24px;padding:22px 24px;display:flex}.step-number{width:40px;height:40px;font-family:var(--heading);border:1px solid var(--line);color:var(--muted);border-radius:50%;place-items:center;font-size:20px;display:grid}.getting-started>div{flex:1}.getting-started strong{font-size:13px}.getting-started p{margin-top:4px;font-size:11px}.library-intro{grid-template-columns:1.05fr 1fr;gap:24px;margin-bottom:36px;display:grid}.import-panel,.demo-panel{border:1px solid var(--line);border-radius:10px;padding:28px;position:relative;overflow:hidden}.import-panel{background:var(--surface)}.panel-icon{color:var(--accent);border:1px solid var(--line);border-radius:9px;place-items:center;width:44px;height:44px;margin-bottom:18px;display:grid}.import-panel>p{max-width:320px;margin:10px 0 22px;font-size:12px}.import-panel>small{margin-top:18px;font-size:9px;display:block}.demo-panel{color:#334c37;background:#e9eddf;border-color:#dbe2cb;padding-top:34px}.demo-panel h2{font-family:var(--heading);max-width:240px;font-size:28px;font-weight:400;position:relative}.demo-panel>p:not(.eyebrow){color:#5d6a56;max-width:260px;margin:12px 0 20px;font-size:12px;position:relative}.demo-panel .eyebrow{color:#6b785e;font-size:8px}.demo-art{opacity:.26;width:200px;position:absolute;bottom:8px;right:-36px;transform:rotate(-6deg)}.demo-art svg{fill:none;stroke:#4d633d;stroke-width:1.5px}.demo-button{color:#334c37;border:1px solid #bcc9aa;gap:24px;font-size:11px;position:relative}.section-title{justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px;display:flex}.section-title h2{font-size:14px;font-weight:600}.section-title>.muted{font-size:10px}.system-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px;display:grid}.system-card{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:24px}.system-card-top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px;display:flex}.system-emblem{letter-spacing:1px;background:var(--accent-soft);border:1px solid var(--line);width:48px;height:48px;color:var(--accent);border-radius:10px;place-items:center;font-size:16px;display:grid}.system-card h3{font-family:var(--heading);margin-bottom:5px;font-size:25px;font-weight:400}.system-card>.muted{font-size:11px}.system-card .mono{padding-left:7px;font-size:9px}.system-counts{color:var(--muted);gap:16px;padding:24px 0 18px;font-size:10px;display:flex}.card-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding-top:8px;display:flex}.offline-label{color:var(--muted);align-items:center;gap:6px;font-size:9px;display:inline-flex}.system-card>.link-button{font-size:10px}.badge{border-radius:4px;padding:5px 7px;font-size:9px;font-weight:500;line-height:1.3;display:inline-flex}.badge-warning{background:var(--warning-bg);color:var(--warning)}.badge-success{background:var(--accent-soft);color:var(--accent)}.badge-error{color:var(--danger);background:var(--warning-bg)}.footnote{color:var(--muted);align-items:flex-start;gap:12px;padding:30px 0;display:flex}.footnote strong{color:var(--ink);font-size:11px}.footnote p{margin-top:4px;font-size:11px}.notice{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;align-items:flex-start;gap:12px;margin-bottom:24px;padding:16px 18px;font-size:12px;line-height:1.7;display:flex}.notice svg{margin-top:2px}.notice p{flex:1}.notice-warning{color:var(--warning);background:var(--warning-bg);border-color:var(--warning)}@supports (color:color-mix(in lab,red,red)){.notice-warning{border-color:color-mix(in srgb,var(--warning) 15%,transparent)}}.notification{border:1px solid var(--line);background:var(--surface);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;justify-content:space-between;gap:12px;margin-bottom:24px;padding:16px 20px;font-size:12px;display:flex}.notification-error{border-color:var(--danger);color:var(--danger)}.notification p{margin-top:5px}.system-select{max-width:480px;margin:0 0 24px}.sheet-layout{grid-template-columns:minmax(0,1fr) 250px;gap:28px;display:grid}.sheet-main{min-width:0}.sheet-section{border:1px solid var(--line);background:var(--surface);border-radius:9px;margin-bottom:22px;overflow:hidden}.section-heading{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:20px 24px;display:flex}.section-heading p{margin:0}.section-content{gap:16px;padding:24px;display:grid}.view-wrapper{min-width:0}.view-list{flex-direction:column;gap:12px;display:flex}.view-composite{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.view-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.view-text-title,.view-text-section{font-family:var(--heading);font-size:22px}.view-text-subhead,.view-text-headline{font-size:18px}.view-text-caption{color:var(--muted);font-size:12px}.stat-block{text-align:center;border:1px solid var(--line);background:var(--bg);border-radius:8px;padding:20px 14px}.stat-label{text-transform:uppercase;letter-spacing:1.3px;color:var(--muted);font-size:10px}.stat-value{font-family:var(--heading);margin:12px 0;font-size:46px;line-height:1.2;display:block}.stat-block .field{max-width:180px;margin:16px auto 0;font-size:10px}.stat-block input{text-align:center;height:40px;font-size:16px}.calculated{background:var(--accent-soft);color:var(--accent);border-radius:4px;padding:3px 7px;font-size:9px;display:inline-block}.stat-list{padding:12px}.unsupported{background:var(--warning-bg);color:var(--warning);border:1px dashed var(--warning);padding:12px}@supports (color:color-mix(in lab,red,red)){.unsupported{border:1px dashed color-mix(in srgb,var(--warning) 25%,transparent)}}.unsupported{overflow-wrap:anywhere;border-radius:5px;font-size:11px}.unsupported small{margin-top:4px;font-size:9px;display:block}.unsupported-note{color:var(--warning);overflow-wrap:anywhere;margin-top:6px;font-size:9px;display:block}.base-editor{border:1px solid var(--line);border-radius:8px;margin-top:26px;padding:20px}.base-editor summary{cursor:pointer;font-size:12px}.base-editor p{margin:16px 0;font-size:12px}.base-grid{grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:12px;display:grid}.aside-note{background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;padding:24px}.aside-note h2{font-family:var(--heading);font-size:24px;font-weight:400}.aside-note p:not(.eyebrow){margin:16px 0;font-size:11px}.aside-note .button{width:100%;margin-top:16px;font-size:12px}.aside-caption{color:var(--muted);margin:20px 12px;font-size:10px;line-height:1.9}.attached-resource{border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:12px 0;font-size:12px}.attached-resource .link-button{font-size:10px;display:block}.back-link{margin-top:-16px;margin-bottom:12px}.spacer{flex:1}.resource-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px;display:grid}.resource-card{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:24px}.resource-card h2{font-family:var(--heading);margin-bottom:18px;font-size:26px}.resource-attach{border-top:1px solid var(--line);margin-top:12px}.resource-attach .field{font-size:11px}.dice-layout{grid-template-columns:1fr 1fr;gap:28px;display:grid}.dice-panel,.history-panel,.settings-panel{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:28px}.dice-panel>svg{color:var(--accent);margin-bottom:18px}.dice-panel h2{font-family:var(--heading);font-size:28px;font-weight:400}.dice-panel>p{margin:12px 0 20px;font-size:12px}.die-buttons{flex-wrap:wrap;gap:8px;margin:16px 0 24px;display:flex}.die-button{border:1px solid var(--line);font-family:var(--heading);min-width:44px;padding:8px 11px;font-size:16px}.die-button:hover{background:var(--accent-soft)}.dice-result{text-align:center;background:var(--accent-soft);border-radius:8px;margin-top:28px;padding:24px}.dice-result>output{font-family:var(--heading);color:var(--accent);margin:10px 0;font-size:64px;display:block}.dice-result>span:last-child{font-size:12px}.history-panel .empty{border:0;padding:36px 0}.history-panel .empty h2{font-size:22px}.roll-row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:16px 0;display:flex}.roll-row>div{flex:1;min-width:0}.roll-row strong{font-size:13px}.roll-row small{overflow-wrap:anywhere;margin-top:5px;font-size:10px;display:block}.roll-icon{background:var(--surface-soft);width:36px;height:36px;color:var(--accent);border-radius:8px;place-items:center;display:grid}.roll-row output{font-family:var(--heading);font-size:25px}.diagnostic-summary{border:1px solid var(--line);background:var(--surface);border-radius:9px;flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:20px;padding:24px;display:flex}.diagnostic-summary>div{flex:1}.diagnostic-summary h2{font-size:17px}.diagnostic-summary p{margin-top:7px;font-size:11px}.diagnostic-summary~p{overflow-wrap:anywhere;margin-bottom:24px;font-size:11px}.diagnostic-list{border:1px solid var(--line);background:var(--surface);border-radius:8px;overflow:hidden}.diagnostic-list article{border-bottom:1px solid var(--line);align-items:flex-start;gap:16px;padding:18px;display:flex}.diagnostic-list .badge{flex-shrink:0}.diagnostic-list article:last-child{border-bottom:0}.diagnostic-list code{font-size:10px}.diagnostic-list p{margin-top:7px;font-size:12px}.settings-grid{grid-template-columns:1fr 1fr;gap:24px;display:grid}.settings-panel h2{margin-bottom:18px;font-size:17px}.theme-options{gap:12px;margin-bottom:28px;display:flex}.theme-option{border:1px solid var(--line);border-radius:7px;flex:1;justify-content:center;align-items:center;gap:10px;min-height:64px;font-size:13px;display:flex}.theme-option.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.settings-panel>p{margin-top:16px;font-size:12px}.backup-panel .button-row{margin-top:28px}.manual-label{color:var(--accent);align-items:center;gap:8px;margin:12px 0;font-size:12px;font-weight:600;display:flex}.modal-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:20px;display:flex}.modal-heading h2{font-family:var(--heading);padding-top:4px;font-size:27px;font-weight:400}.modal-actions{justify-content:flex-end;gap:12px;margin-top:28px;display:flex}dialog{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:12px;width:calc(100% - 32px);max-width:620px;max-height:calc(100dvh - 48px);padding:28px;overflow:auto;box-shadow:0 20px 100px #12201440}dialog p{margin:16px 0;font-size:13px}dialog .notice{margin-top:20px}.diagnostic-preview{max-height:200px;overflow:auto}.diagnostic-preview p{border-bottom:1px solid var(--line);padding-bottom:12px;font-size:11px}.diagnostic-preview code{font-size:10px}.skip-link{z-index:100;background:var(--surface);padding:12px;position:fixed;top:-100px;left:16px}.skip-link:focus{top:12px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fatal-error{gap:24px;padding:40px}.fatal-error p{overflow-wrap:anywhere}.nav-backdrop{display:none}@media(min-width:1500px){main{padding:56px 64px 0}.topbar{padding:0 64px}.character-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}.character-art{height:200px}}@media(max-width:1100px){.sidebar{width:220px;padding-left:16px;padding-right:16px}.main-shell{margin-left:220px}main{padding:32px 28px 0}.topbar{padding:0 28px}.sheet-layout{grid-template-columns:1fr}.sheet-aside{grid-template-columns:1fr 1fr;gap:20px;display:grid}.aside-caption{margin:0}.page-heading{gap:16px}.page-heading h1{font-size:34px}.library-intro{grid-template-columns:1fr}.import-panel{padding:24px}.demo-panel{min-height:220px}.demo-art{width:250px;right:12px}.demo-panel>p:not(.eyebrow){max-width:350px}.settings-grid,.dice-layout{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{width:248px;transition:transform .2s;transform:translate(-100%)}.sidebar-open{transform:translate(0)}.main-shell{margin-left:0}.nav-backdrop{z-index:25;background:#14251e60;display:block;position:fixed;top:0;right:0;bottom:0;left:0}.mobile-menu{margin-left:-10px;display:inline-flex}.topbar{height:64px;padding:0 20px}.breadcrumb{gap:9px;font-size:10px}.breadcrumb>span:first-of-type,.breadcrumb-slash{display:none}main{min-height:calc(100vh - 64px);padding:28px 20px 0}.page-heading{flex-wrap:wrap;margin-bottom:24px}.page-heading h1{font-size:34px}.page-heading .muted{margin-top:10px;font-size:12px}.page-heading .eyebrow{font-size:8px}.page-heading>.button{font-size:12px}.character-toolbar{align-items:flex-start;gap:8px}.tab-label{white-space:nowrap;padding:14px 0;font-size:10px}.search{width:160px}.search input{font-size:10px}.character-grid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr))}.character-card-body{padding:20px}.character-art{height:190px}.add-character-card{min-height:170px}.empty{padding:36px 20px}.empty h2{font-size:25px}.privacy-strip{flex-wrap:wrap;font-size:9px}.main-footer{flex-wrap:wrap;padding-top:36px;font-size:8px}.main-footer>span:last-child{font-size:7px}.getting-started{gap:12px;padding:16px}.step-number{flex-shrink:0;width:32px;height:32px;font-size:16px}.getting-started p{font-size:10px}.getting-started strong{font-size:12px}.import-panel,.demo-panel{padding:24px}.demo-art{width:200px;bottom:0;right:-35px}.demo-panel>p:not(.eyebrow){max-width:260px}.sheet-aside{display:block}.aside-caption{margin:18px 8px}.section-content{gap:12px;padding:16px}.section-heading{padding:16px}.stat-block{padding:16px 12px}.stat-value{font-size:40px}.view-text-title{font-size:21px}.notice{gap:8px;padding:14px;font-size:11px}.settings-panel,.dice-panel,.history-panel{padding:22px}.diagnostic-summary{gap:12px;padding:18px}.diagnostic-summary h2{font-size:15px}.diagnostic-list article{flex-wrap:wrap;gap:10px;padding:14px}.modal-actions{flex-wrap:wrap}.modal-actions .button{flex:1}dialog{padding:22px}.modal-heading h2{font-size:24px}.resource-card{padding:20px}.system-grid{grid-template-columns:1fr}.update-notice{flex-wrap:wrap}}.section-heading.no-divider{border-bottom:0}@media(max-width:760px){.sidebar{visibility:hidden}.sidebar.sidebar-open{visibility:visible}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.source-collapsible{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:0 16px}.source-collapsible>summary{cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:10px;padding:14px 0;font-size:13px;display:flex}.source-collapsible>summary .muted{font-size:11px}.source-pager{flex-direction:column;gap:12px;display:flex}.source-pager-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:4px;padding-bottom:4px;display:flex}.source-pager-tab{color:var(--muted);border-bottom:2px solid #0000;min-height:44px;padding:8px 12px;font-size:12px;font-weight:600}.source-pager-tab[aria-selected=true]{color:var(--accent)}.source-ticker{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.source-ticker-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ticker-button{border:1px solid var(--line);background:var(--surface);border-radius:6px;place-items:center;width:32px;min-width:32px;height:32px;font-size:16px;line-height:1;display:grid}.ticker-button:hover:not(:disabled){background:var(--accent-soft)}.source-ticker-value{font-family:var(--heading);min-height:32px;padding:0 4px;font-size:22px;line-height:1.2}.source-ticker-value:hover:not(:disabled){color:var(--accent)}.source-ticker-input{text-align:center;width:96px;min-height:36px;padding:4px 8px;font-size:16px}.source-ticker-label{color:var(--muted);overflow-wrap:anywhere;font-size:11px}.source-ticker-headline .source-ticker-value{font-size:46px}.source-ticker-title .source-ticker-value{font-size:36px}.source-ticker-section .source-ticker-value{font-size:28px}.source-ticker-subhead .source-ticker-value{font-size:22px}.source-ticker-caption .source-ticker-label{font-size:10px}.source-select-list{border:1px solid var(--line);border-radius:8px;min-width:0;margin:0;padding:8px 16px}.source-select-list legend{padding:0 6px;font-size:12px;font-weight:600}.source-menu{flex-direction:column;align-items:flex-start;display:inline-flex;position:relative}.source-menu-list{z-index:20;border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-direction:column;min-width:180px;padding:6px;display:flex;position:absolute;top:100%;left:0;box-shadow:0 10px 30px #12201426}.source-menu-list small{padding:8px}.source-avatar-stacks>div:last-child .source-menu-list{left:auto;right:0}.source-button{flex-direction:column;align-items:flex-start;gap:4px;display:inline-flex}.source-resource-array{flex-direction:column;gap:10px;min-width:0;display:flex}.source-array-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.source-resource-item{border-bottom:1px solid var(--line);flex-direction:column;gap:8px;min-width:0;padding:10px 0;display:flex}.source-resource-array.no-line .source-resource-item{border-bottom:0;padding:4px 0}.source-resource-item>button.link-button{align-self:flex-start}::selection{background:var(--accent);color:var(--on-accent)}html{scrollbar-color:var(--line) var(--bg);scroll-padding-bottom:100px}input,textarea{caret-color:var(--accent)}a{text-underline-offset:4px}h1,h2,h3{overflow-wrap:anywhere;text-wrap:balance}h1{letter-spacing:-.025em;font-size:44px;font-weight:500}h2,h3{font-family:var(--heading)}.page-heading .muted{max-width:68ch;font-size:13px}.button{font-family:var(--numbers);letter-spacing:.025em;border-radius:4px;font-size:11px}.button.primary{color:var(--on-accent)}.button.primary:hover:not(:disabled){filter:brightness(1.08)}.button.danger{color:var(--danger);border:1px solid var(--danger);background:0 0}.secondary:hover:not(:disabled){border-color:var(--accent)}.link-button{font-size:12px}input,select,textarea{background:var(--input);border-radius:4px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:1px solid var(--accent);border-color:var(--accent);outline-offset:2px}input::placeholder,textarea::placeholder{opacity:1}button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:var(--accent)}main{max-width:1440px}.main-shell{min-width:0}.sidebar{padding-top:24px;overflow-y:auto}.brand{padding-bottom:24px}.brand strong{font-family:var(--heading);letter-spacing:.015em}.brand-symbol{background:var(--surface-soft);border-radius:4px}.nav-item{border-radius:0;transition:background .16s ease-out,color .16s ease-out}.nav-item.active{background:var(--surface-soft);box-shadow:inset 2px 0 var(--accent)}.nav-section-label,.eyebrow,.small-label{font-family:var(--numbers);letter-spacing:.08em;font-weight:400}.topbar{background:var(--bg);height:64px}.save-status{color:var(--muted);text-align:right;max-width:18ch;font-size:11px;line-height:1.4}.breadcrumb{font-family:var(--numbers);font-size:10px}.offline-label i,.character-card-meta i{background:var(--success)}.mobile-brand,.mobile-tabs{display:none}.character-toolbar{background:var(--surface);border:0;margin-bottom:12px;padding:4px 16px}.tab-label:after{display:none}.tab-label .tab-dot{background:var(--accent)}.search{width:240px}.search input{min-height:44px;font-size:12px}.roster-filters{flex-wrap:wrap;gap:8px;margin:0 0 24px;display:flex}.roster-filters button{border:1px solid var(--line);background:var(--surface);text-align:left;min-height:44px;padding:8px 12px;font-size:11px}.roster-filters button[aria-pressed=true]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.roster-filters button span{font-family:var(--numbers);margin-left:8px}.character-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.character-card{border-radius:4px;grid-template-columns:76px minmax(0,1fr);align-items:start;transition:background .16s ease-out;display:grid}.character-card:hover{box-shadow:none;background:var(--surface-soft);transform:none}.character-art{background:var(--input);border:1px solid var(--line);border-radius:2px;place-items:center;height:88px;margin:18px 0 0 16px;display:grid;position:relative;overflow:hidden}.character-monogram{font-family:var(--numbers);color:var(--accent);opacity:1;font-size:22px;font-style:normal;line-height:1}.character-system{text-align:center;color:var(--muted);letter-spacing:.03em;background:0 0;border:0;padding:0;font-size:9px;position:absolute;bottom:6px;left:4px;right:4px}.character-card-body{min-width:0;padding:18px}.character-card-body h2{font-family:var(--heading);font-size:26px}.character-card-body>p{color:var(--info);margin-bottom:20px;font-size:12px}.character-card-meta{flex-wrap:wrap;margin-bottom:12px}.character-card-meta>span,.character-card-meta small{font-family:var(--numbers);font-size:10px}.card-open-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.card-open-row>span:last-child{align-items:center;gap:6px;font-size:11px;display:inline-flex}.character-recent{grid-column:1/-1;grid-template-columns:150px minmax(0,1fr);padding:0 8px 8px}.recent-label{border-bottom:1px solid var(--line);font-family:var(--numbers);letter-spacing:.06em;color:var(--accent);grid-column:1/-1;padding:14px 16px;font-size:10px}.character-recent .character-art{height:154px}.character-recent .character-monogram{font-size:38px}.character-recent h2{font-size:32px}.add-character-card{border-color:var(--line);background:var(--input);border-radius:4px;min-height:190px}.privacy-strip{color:var(--success);font-size:11px}.getting-started{background:var(--surface);border-radius:4px}.getting-started>svg{color:var(--accent)}.empty,.system-card,.import-panel,.demo-panel,.resource-card,.sheet-section,.settings-panel,.dice-panel,.history-panel,.empty-mark{border-radius:4px}.demo-panel{background:var(--surface-soft);border-color:var(--line);color:var(--ink)}.demo-panel>p:not(.eyebrow),.demo-panel .eyebrow{color:var(--muted)}.demo-art{color:var(--accent);opacity:.14;width:120px;height:120px;bottom:20px;right:12px;transform:none}.demo-button{color:var(--accent);border-color:var(--line)}.panel-icon,.system-emblem{border-radius:4px}.system-emblem{font-family:var(--numbers)}.system-card h3{font-size:30px}.system-counts{font-family:var(--numbers);flex-wrap:wrap;font-size:10px}.badge{font-family:var(--numbers);letter-spacing:.015em;border-radius:2px}.badge-success{background:var(--success)}@supports (color:color-mix(in lab,red,red)){.badge-success{background:color-mix(in srgb,var(--success) 12%,var(--surface))}}.badge-success{color:var(--success)}.sheet-layout{grid-template-columns:minmax(0,1fr) 292px;gap:24px}.sheet-aside{flex-direction:column;gap:20px;min-width:0;display:flex}.aside-note{background:var(--surface);border-radius:4px;padding:20px}.aside-note .notice{font-size:12px}.aside-note .resource-card{background:var(--input);padding:14px}.aside-caption{margin:0 8px}.stat-block{background:var(--input);border-color:#0000;border-radius:4px}:root[data-theme=light] .stat-block{background:var(--surface-soft)}.stat-value,.source-ticker-value,.roll-row output,.dice-result>output{font-family:var(--numbers);font-variant-numeric:tabular-nums}.stat-value{font-size:36px}.stat-label{font-family:var(--numbers);letter-spacing:.06em}.dice-result{background:var(--input);border:1px solid var(--line);border-radius:4px}.dice-result>output{color:var(--accent);font-size:64px}.die-button{font-family:var(--numbers);border-radius:4px}.roll-icon{background:var(--input);border-radius:4px}.roll-row output{color:var(--accent)}.resource-card,.notice,.import-panel{overflow-wrap:anywhere;min-width:0}.notice{border-radius:4px;font-size:12px}.notice-success{color:var(--success);background:var(--success)}@supports (color:color-mix(in lab,red,red)){.notice-success{background:color-mix(in srgb,var(--success) 10%,var(--surface))}}.source-chip,.source-avatar-section,.base-editor{border-radius:4px}.combatant-card{background:var(--surface);border-color:var(--line);border-radius:4px}.combatant-current{outline-color:var(--accent)}.source-ticker .ticker-button{width:44px;min-width:44px;height:44px}.theme-option{border-radius:4px}dialog{background:var(--surface);border-radius:8px;height:fit-content;margin:auto;position:fixed;top:0;right:0;bottom:0;left:0;box-shadow:0 4px 24px #0007}dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#000a}.main-footer{font-family:var(--numbers);font-size:10px}.sheet-anchor{scroll-margin-top:92px}.sheet-navigation{z-index:15;background:var(--bg);border-bottom:1px solid var(--line);margin-bottom:20px;padding:12px 0;position:sticky;top:0}.sheet-navigation-links{overscroll-behavior-x:contain;scrollbar-width:thin;gap:8px;padding:4px;display:flex;overflow-x:auto}.sheet-navigation a{border:1px solid var(--line);background:var(--surface);border-radius:4px;flex:none;align-items:center;min-height:44px;padding:8px 12px;font-size:12px;text-decoration:none;display:inline-flex}.sheet-navigation a:hover,.sheet-navigation a:focus-visible{background:var(--accent-soft);border-color:var(--accent)}.base-editor>summary{align-content:center;min-height:44px;font-weight:600}.base-editor>.button{overflow-wrap:anywhere;max-width:100%;margin:4px 8px 4px 0}.stat-detail-trigger{width:100%;min-height:44px;color:inherit;border-radius:4px;display:block}.stat-detail-trigger:hover{background:var(--accent-soft)}.setup-group{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.setup-group h3{font-size:18px}.sheet-setup-action{margin-bottom:24px}dialog[open]{flex-direction:column;padding:0;display:flex;overflow:hidden}dialog .modal-heading{border-bottom:1px solid var(--line);background:var(--surface);flex:none;align-items:center;margin:0;padding:16px 20px;position:static}.modal-heading h2{overflow-wrap:anywhere;min-width:0;padding:0}.modal-body{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:4px 24px 24px;overflow:auto}.modal-body .modal-actions{border-top:1px solid var(--line);background:var(--surface);gap:12px;margin-top:24px;padding:16px 0 4px}.modal-body:has(>.source-form){flex-direction:column;display:flex;overflow:hidden}.modal-body>.source-form{flex-direction:column;min-height:0;display:flex}.modal-body>.source-form>.source-form-fields{overscroll-behavior:contain;min-height:0;padding:4px;overflow:auto}.modal-body>.source-form>.modal-actions{flex-shrink:0}.modal-body .view-composite>.view-wrapper:has(>.field){flex:160px}.local-resource-options{flex-direction:column;gap:8px;display:flex}.local-resource-options>.button{text-align:left;overflow-wrap:anywhere;justify-content:space-between;gap:16px}.local-resource-options>.button>span{letter-spacing:normal;font:500 14px/1.5 Plus Jakarta Sans,Segoe UI,sans-serif}.local-resource-options>.button>svg{color:var(--muted);flex-shrink:0}.resource-source-label{color:var(--muted);overflow-wrap:anywhere;font-size:12px;font-weight:400;display:block}.local-resource-toolbar{z-index:1;background:var(--surface);margin-bottom:8px;padding:4px 0 12px;position:sticky;top:0}.local-resource-toolbar .field{margin:0}.local-resource-toolbar [role=status]{color:var(--muted);font-variant-numeric:tabular-nums;margin:10px 0 0;font-size:12px}button,a,input,select,textarea,summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}@media(min-width:1500px){main{padding:40px 48px 0}.topbar{padding:0 48px}}@media(max-width:1200px){.sheet-layout{grid-template-columns:1fr}.sheet-aside{grid-template-columns:1fr 1fr;display:grid}.dice-layout{grid-template-columns:1fr}}@media(max-width:760px){.topbar{z-index:20;padding:0 16px;position:sticky;top:0}.breadcrumb{gap:0}.breadcrumb>strong{display:none}.mobile-brand{font-family:var(--heading);align-items:center;gap:8px;margin-right:auto;font-size:24px;display:flex}.mobile-brand svg{color:var(--accent)}main{padding:24px 16px calc(92px + env(safe-area-inset-bottom));min-height:calc(100dvh - 64px)}.page-heading h1{font-size:36px}.page-heading .muted{font-size:13px}.page-heading .eyebrow{font-size:10px}.page-heading>.button{min-height:44px}.character-toolbar{flex-direction:column;align-items:stretch;gap:0;padding:4px 12px}.search{border-top:1px solid var(--line);width:100%}.search input{font-size:13px}.tab-label{padding:10px 0;font-size:12px}.character-grid{grid-template-columns:1fr}.character-recent{grid-template-columns:76px minmax(0,1fr);padding:0}.character-recent .character-art{height:88px}.character-recent .character-monogram{font-size:22px}.character-recent h2{font-size:28px}.recent-label{font-size:9px}.card-open-row{gap:10px}.character-card-meta{padding-top:12px}.roster-filters{gap:6px}.roster-filters button{overflow-wrap:anywhere;max-width:100%;font-size:11px}.getting-started{flex-wrap:wrap}.getting-started>.button{margin-left:auto}.sheet-aside{display:flex}.sheet-navigation{top:64px}.sheet-anchor{scroll-margin-top:148px}dialog .modal-heading{padding:12px 16px}.modal-body{padding:4px 16px 20px}.library-intro{gap:16px}.system-card,.import-panel,.demo-panel,.dice-panel,.history-panel,.settings-panel{padding:20px}.dice-panel>p,.import-panel>p,.aside-note p:not(.eyebrow){font-size:13px}.source-avatar-section{padding:16px}.source-chip{padding:8px}.notice{font-size:12px}.mobile-tabs{background:var(--sidebar);border-top:1px solid var(--line);z-index:21;padding:6px 8px calc(6px + env(safe-area-inset-bottom));display:flex;position:fixed;inset:auto 0 0}.mobile-tabs button{min-width:0;min-height:58px;color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:5px;display:flex}.mobile-tabs span{font-family:var(--numbers);font-size:10px}.mobile-tabs button[aria-current=page],.mobile-tabs button[aria-expanded=true]{color:var(--accent);background:var(--surface)}.main-footer{padding-top:32px;font-size:10px;line-height:1.7}dialog{border-radius:8px;width:calc(100% - 32px);max-width:620px;max-height:calc(100dvh - 48px);margin:auto;padding:20px 16px}.modal-heading{background:var(--surface);z-index:1;padding-top:4px;position:sticky;top:-20px}}.notice .link-button{min-height:0;font-size:inherit;padding:0;display:inline}.notification{border-radius:4px;align-items:center;margin-bottom:16px;padding:8px 8px 8px 16px}.notification>div{flex-wrap:wrap;align-items:baseline;gap:4px 12px;min-width:0;display:flex}.notification p{margin:0}.notification strong{font-family:var(--numbers);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:10px;font-weight:400}.notification-error strong{color:var(--danger)}.setup-notice{border-color:var(--accent);flex-wrap:wrap;align-items:center}@supports (color:color-mix(in lab,red,red)){.setup-notice{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}}.setup-notice{background:var(--accent-soft)}.setup-notice>svg{color:var(--accent);margin-top:0}.setup-notice>div{flex:240px;min-width:0}.setup-notice strong{font-family:var(--heading);font-size:20px;font-weight:500;line-height:1.3;display:block}.setup-notice p{line-height:1.6}.setup-notice b{color:var(--accent);font-weight:600}.setup-empty{justify-items:start;gap:12px;margin:12px 0 4px;display:grid}.setup-empty p{margin:0}.sheet-layout{align-items:start}.sheet-navigation{margin-bottom:16px;padding:8px 0}.sheet-navigation-links{padding-right:40px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),#0000)}.sheet-section{margin-bottom:16px}.section-heading{flex-wrap:wrap;gap:4px;min-height:60px;padding:6px 8px 6px 16px}details.sheet-section>summary{cursor:pointer}.section-content{gap:10px;padding:16px}.section-content>.view-wrapper:has(>.stat-block),.section-content>.view-wrapper:has(>.sheet-section),.section-content>.view-wrapper:has(>.source-resource-section),.section-content>.view-wrapper:has(>.view-error){width:100%}.section-content .sheet-section{background:0 0;border:0;border-radius:0;margin:0;overflow:visible}.section-content .sheet-section>.section-heading:empty{display:none}.section-content .sheet-section>.section-content{gap:6px 12px;padding:0}.stat-block{flex-direction:column;align-items:center;gap:2px;height:100%;padding:12px 8px 10px;display:flex;position:relative}.stat-label{text-align:center;overflow-wrap:anywhere;justify-content:center;align-items:center;min-height:2.6em;font-size:10px;line-height:1.3;display:flex}.stat-value{margin:0;font-size:30px;line-height:1.2}.stat-detail-trigger{place-items:center;display:grid}.stat-detail-trigger .stat-value{-webkit-text-decoration:underline dotted var(--accent);text-decoration:underline dotted var(--accent)}@supports (color:color-mix(in lab,red,red)){.stat-detail-trigger .stat-value{-webkit-text-decoration:underline dotted color-mix(in srgb,var(--accent) 60%,transparent);text-decoration:underline dotted color-mix(in srgb,var(--accent) 60%,transparent)}}.stat-detail-trigger .stat-value{text-underline-offset:6px;text-decoration-thickness:1px}.stat-block .calculated{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.stat-block .field{gap:0;width:100%;max-width:104px;margin:6px 0 0}.stat-block .field>span{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.stat-block input{height:44px;font-family:var(--numbers);text-align:center;padding:4px 6px;font-size:15px}.stat-block .stat-more{width:36px;min-width:36px;height:36px;color:var(--muted);position:absolute;top:0;right:0}.stat-block.stat-list{flex-direction:row;gap:4px;min-height:48px;padding:2px 2px 2px 12px}.stat-list .stat-label{letter-spacing:0;text-align:left;text-transform:none;min-width:0;min-height:0;color:var(--ink);overflow-wrap:break-word;flex:1;justify-content:flex-start;font-family:inherit;font-size:13px}.stat-list .stat-detail-trigger{width:auto;min-width:52px;padding:0 6px}.stat-list .stat-value{font-size:16px}.stat-list .stat-detail-trigger .stat-value{text-underline-offset:4px}.stat-block.stat-list .stat-more{width:40px;min-width:40px;height:44px;position:static}.stat-inline-edit>.stat-value{display:none}.stat-inline-edit .field{max-width:120px;margin:0}.stat-inline-edit input{border-color:var(--line);background:0 0;height:52px;font-size:30px;line-height:1.2}@supports (color:color-mix(in lab,red,red)){.stat-inline-edit input{border-color:color-mix(in srgb,var(--line) 70%,transparent)}}.stat-inline-edit input:hover{border-color:var(--line)}.stat-inline-edit input:focus-visible{background:var(--surface)}.stat-list.stat-inline-edit .field{max-width:84px}.stat-list.stat-inline-edit input{height:44px;font-size:16px}.unsupported.view-error{border-radius:4px;align-items:center;height:100%;min-height:44px;padding:8px 10px;font-size:11px;line-height:1.45;display:flex}.source-avatar-section{margin-bottom:16px;padding:20px}.photo-field{align-items:center;gap:10px;margin:0 0 4px}.photo-field>span:first-child{color:var(--muted);font-size:12px}.photo-choose{cursor:pointer;min-height:44px;padding:8px 14px}.photo-choose:focus-within{outline:2px solid var(--accent);outline-offset:4px}.source-avatar-stacks{align-items:center;margin-top:8px}.source-list-item{gap:2px;display:grid}.source-list-item>div{flex-wrap:wrap;align-items:baseline;gap:2px 16px}.source-list-item>div>:first-child{flex:auto;min-width:0}.source-list-item p{color:var(--muted);font-size:12px;line-height:1.5}.source-list-item>div>span{font-family:var(--numbers);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px}.source-list-chips{flex-wrap:wrap;justify-content:flex-start;gap:6px;margin-top:6px;display:flex}.source-chip-compact{font-family:var(--numbers);letter-spacing:.04em;border-radius:2px;font-size:10px}.source-resource-item{background:var(--input);padding:12px 14px}.source-resource-item .button-row{border-top:1px solid var(--line);gap:0 16px;margin-top:6px}.aside-note{padding:18px}.aside-note h2{margin-bottom:10px;font-size:22px}.aside-note .notice-warning{background:0 0;border-style:dashed;gap:8px;margin-bottom:12px;padding:10px 12px;font-size:11px;line-height:1.55}.aside-note .field{margin:12px 0}.diagnostic-intro{margin:0 0 16px;font-size:12px}.diagnostic-group{border:1px solid var(--line);background:var(--surface);border-radius:4px;margin-bottom:10px}.diagnostic-group>summary{cursor:pointer;align-items:center;gap:14px;min-height:60px;padding:12px 16px;list-style:none;display:flex}.diagnostic-group>summary::-webkit-details-marker{display:none}.diagnostic-group>summary:after{content:"";border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);flex:none;width:8px;height:8px;margin-left:auto;transition:transform .16s ease-out;transform:rotate(45deg)}.diagnostic-group[open]>summary:after{transform:rotate(225deg)}.diagnostic-group[open]>summary{border-bottom:1px solid var(--line)}.diagnostic-group>summary>span:last-child{gap:2px;min-width:0;display:grid}.diagnostic-group>summary strong{font-size:14px;font-weight:600}.diagnostic-group>summary small{font-size:12px;line-height:1.5}.diagnostic-group>summary .badge{flex:none;justify-content:center;min-width:44px;padding:6px 8px;font-size:12px}.diagnostic-group .diagnostic-list{background:0 0;border:0;border-radius:0;max-height:440px;overflow:auto}.diagnostic-group .diagnostic-list article{padding:10px 16px}.diagnostic-group>p{padding:8px 16px 12px;font-size:11px}.section-content:empty{display:none}.sheet-section:has(>.section-content:empty) .section-heading{border-bottom:0}.source-resource-section{justify-items:stretch}.source-empty{text-align:left;grid-column:1/-1;font-size:12px;line-height:1.5}.section-content>.view-wrapper:has(>.source-resource-section>.source-empty):not(:nth-child(1 of:has(>.source-resource-section>.source-empty))),.source-resource-item .button-row:empty,.source-resource-item:has(>.button-row:empty:only-child){display:none}.section-content>.view-wrapper:has(>.source-collapsible),.view-list>.view-wrapper:has(>.source-collapsible),.section-content>.view-wrapper:has(>.view-list){width:100%}.source-collapsible{background:var(--input);border-radius:4px}.source-collapsible>summary{align-items:center;min-height:48px;padding:8px 0}.source-collapsible>summary strong{font-family:var(--heading);font-size:18px;font-weight:500}.source-collapsible[open]>summary{border-bottom:1px solid var(--line);margin-bottom:12px}.source-collapsible>.view-list{padding-bottom:14px}details.sheet-section>summary{align-items:center;list-style:none;display:flex}details.sheet-section>summary::-webkit-details-marker{display:none}details.sheet-section>summary>.section-heading{border-bottom:0;flex:1;min-width:0}details.sheet-section[open]>summary{border-bottom:1px solid var(--line)}details.sheet-section[open]>summary:has(>.no-divider),.sheet-section:has(>.section-content:empty)>summary{border-bottom:0}details.sheet-section>summary:after{content:"";border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);flex:none;width:8px;height:8px;margin:0 22px 4px 8px;transition:transform .16s ease-out;transform:rotate(45deg)}details.sheet-section[open]>summary:after{margin-bottom:-4px;transform:rotate(225deg)}details.collapse-icon-closed-only[open]>summary:after{display:none}.section-content .sheet-section .section-heading{min-height:44px;padding:0}.section-content details.sheet-section>summary:after{margin-right:8px}.section-heading .button{min-width:44px;padding:0 12px;font-size:16px}.section-content>.view-wrapper:has(>.source-resource-array),.section-content>.view-wrapper:has(>.source-pager),.section-content>.view-wrapper:has(>.field>textarea){width:100%}details:not(.sheet-section,.diagnostic-group,.source-collapsible)>summary{list-style:none}details:not(.sheet-section,.diagnostic-group,.source-collapsible)>summary::-webkit-details-marker{display:none}details:not(.sheet-section,.diagnostic-group,.source-collapsible)>summary:before{content:"";border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);width:6px;height:6px;margin:0 12px 2px 2px;transition:transform .16s ease-out;display:inline-block;transform:rotate(-45deg)}details:not(.sheet-section,.diagnostic-group,.source-collapsible)[open]>summary:before{transform:rotate(45deg)}@media(max-width:760px){.section-content{gap:8px;padding:12px}.section-heading{padding:4px 4px 4px 12px}.stat-value{font-size:26px}.stat-block{padding:10px 6px 8px}.stat-block.stat-list{gap:0;padding-left:8px}.stat-list .stat-label{font-size:12px;line-height:1.25}.stat-list .stat-detail-trigger{min-width:40px;padding:0 2px}.stat-block.stat-list .stat-more{width:32px;min-width:32px}.section-content .sheet-section>.section-content{gap:6px}.setup-notice>.button{width:100%}.diagnostic-group>summary{gap:10px;padding:12px}}.catalog-import-disclosure{border-top:1px solid var(--line);margin-top:28px;padding-top:8px}.catalog-import-disclosure>summary{cursor:pointer;align-items:center;min-height:44px;font-size:14px;font-weight:600;display:flex}.catalog-import-disclosure>.import-panel{margin-top:12px}.modal-body .view-composite:is(:has(>.view-wrapper:first-child>.field):has(>.view-wrapper:nth-child(3)>.field),:has(>.view-wrapper:first-child>.stat-block):has(>.view-wrapper:nth-child(3)>.stat-block)){grid-template-columns:repeat(auto-fill,minmax(116px,1fr));align-items:stretch;width:100%;display:grid}.modal-body .view-composite>.view-wrapper:has(>.field>textarea),.modal-body .view-list>.view-wrapper:has(>.field>textarea),.modal-body .view-wrapper:is(:has(>.view-composite>.view-wrapper:first-child>.field):has(>.view-composite>.view-wrapper:nth-child(3)>.field),:has(>.view-composite>.view-wrapper:first-child>.stat-block):has(>.view-composite>.view-wrapper:nth-child(3)>.stat-block)){flex-basis:100%;width:100%}.source-ticker-value{min-width:44px;min-height:44px}.system-grid{margin-bottom:40px}.system-card{flex-direction:column;display:flex}.system-card .card-footer{margin-top:auto}.system-card-main{width:100%;margin-top:12px}.system-card-actions{flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin-top:6px;display:flex}.modal-body .view-list>.view-wrapper:has(>.sheet-section,>.source-resource-array,>.source-resource-section){align-self:stretch}.modal-body .view-composite:has(>.view-wrapper>.field,>.view-wrapper>.choice-field){align-items:flex-end}.modal-body .view-composite>.view-wrapper>.field{margin-block:0}.section-heading:empty{display:none}.modal-body .source-resource-item .view-composite{justify-content:flex-start!important}.modal-body .view-wrapper:has(>.choice-field){flex:0 280px}.modal-body .choice-field{min-width:220px}.modal-body .view-wrapper:has(>.view-composite)+.view-wrapper:has(>.view-composite){margin-top:12px}.source-form-controls>.base-grid{margin-top:16px}.event-roll{margin-top:8px}.event-roll-total{font-family:var(--numbers);color:var(--accent);margin:8px 0 4px;font-size:48px;line-height:1.1;display:block}.event-roll-detail{font-family:var(--numbers);font-size:13px}.event-roll-note{margin-top:16px;font-size:12px}.source-resource-item .button-row{gap:4px 16px}.source-resource-array.no-line .source-resource-item{padding:14px 16px}.source-resource-section>:not(.source-resource-item):not(:has(.source-resource-item)){grid-column:1/-1;justify-self:start}.source-resource-section>.source-resource-item,.source-resource-section>.view-wrapper:has(>.source-resource-item){justify-self:stretch}.progression-summary{gap:12px;margin-block:12px;display:grid}.progression-summary h3{margin:0 0 4px;font-size:1rem}.progression-summary ul{gap:4px;margin:0;padding-left:1.2em;display:grid}.progression-summary li strong{font-variant-numeric:tabular-nums}.progression-summary section+section{border-top:1px solid var(--line);padding-top:12px}.progression-summary li{overflow-wrap:anywhere}.progression-saved{color:var(--success)}.archive-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-block:16px 8px;display:flex}.archive-filters .field{flex:180px;margin:0}.archive-pages{justify-content:center;align-items:center;gap:12px;margin-block:16px;display:flex}.drawer-close{display:none;position:absolute;top:12px;right:12px}@media(max-width:760px){.drawer-close{display:inline-flex}}.modal-body:has(>.creation-flow){flex-direction:column;display:flex;overflow:hidden}.modal-body>.creation-toolbar{flex-shrink:0}.creation-flow{flex-direction:column;flex:auto;min-height:0;display:flex}.creation-flow>:not(.source-form){flex-shrink:0}.creation-flow>.source-form{flex-direction:column;min-height:0;display:flex}.creation-flow>.source-form>.source-form-fields{overscroll-behavior:contain;min-height:0;padding:4px;overflow:auto}.creation-flow>.source-form>.modal-actions{flex-shrink:0}.view-error-summary{margin-bottom:16px;display:block}.view-error-summary summary{cursor:pointer;font-weight:600}.view-error-summary ul{gap:4px;margin:8px 0 0;padding-left:1.2em;display:grid}.view-error-compact{font-size:12px}.back-link+.page-heading{margin-bottom:20px}.back-link+.page-heading~.notice{margin-bottom:12px}.source-avatar-section{padding:12px 16px}.source-avatar-center{gap:4px}.source-avatar-center .photo-field{gap:6px;margin:0}.source-avatar-stacks{margin-top:4px}@media(min-width:761px){.source-avatar-section{flex-wrap:wrap;align-items:center;gap:12px 24px;display:flex}.source-avatar-center{text-align:left;flex-flow:wrap;flex:320px;justify-content:flex-start;align-items:center;gap:8px 20px;display:flex}.source-avatar-center .photo-field{flex-direction:row;align-items:center}.source-avatar-stacks{flex:none;gap:12px;margin-top:0;display:flex}}@media(max-width:760px){.source-avatar-center .photo-field{flex-flow:wrap;justify-content:center;align-items:center}.source-avatar-stacks{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}}.modal-body .view-wrapper:has(>.view-composite>.view-wrapper>:is(.field,.choice-field)){align-self:stretch;width:100%}.modal-body .view-composite:has(>.view-wrapper>:is(.field,.choice-field)){align-items:flex-end;width:100%;justify-content:flex-start!important}.modal-body .view-composite>.view-wrapper:has(>.choice-field){flex:220px}.modal-body .view-composite>.view-wrapper:has(>.choice-field)>.choice-field{width:100%}.progression-asi{border:1px solid var(--line);border-radius:8px;min-width:0;margin:12px 0 0;padding:4px 16px 16px}.progression-asi legend{padding:0 6px;font-size:13px;font-weight:600}.progression-asi-pair{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));column-gap:12px;display:grid}.progression-feature{border:0;border-top:1px solid var(--line);min-width:0;margin:0;padding:12px 0 0}.progression-feature legend{overflow-wrap:anywhere;padding:0 8px 0 0;font-size:14px;font-weight:600}.progression-feature .check-field{overflow-wrap:anywhere;padding-block:4px}.progression-feature .check-field input{flex-shrink:0}.progression-feature .check-field:has(input:checked){color:var(--accent)}.progression-feature .check-field:has(input:disabled){color:var(--muted)}.progression-features p{margin-block:0 8px}.markdown{min-width:0}.markdown p,.markdown ul{margin:0 0 10px}.markdown ul{padding-left:20px}.markdown-table{max-width:100%;margin:0 0 10px;overflow-x:auto}.markdown-table table{border-collapse:collapse;font-size:13px}.markdown-table th,.markdown-table td{border:1px solid var(--line);text-align:left;vertical-align:top;padding:6px 10px}.markdown-table th{background:var(--surface-soft);font-weight:600}.source-resource-item .source-list-item p{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.source-resource-item>.button-row{margin-top:auto}.source-resource-section .source-resource-item .source-resource-array .source-resource-item,.source-resource-array.no-line>.source-resource-item{box-shadow:none;background:0 0;border:0;padding:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
