.equipment-toolbar,.equipment-item-heading,.equipment-filters,.equipment-editor-actions,.inventory-page-controls{display:flex;align-items:center;gap:12px}.equipment-toolbar,.equipment-item-heading{justify-content:space-between}.equipment-toolbar-actions{display:flex;align-items:center;gap:14px}.equipment-summary{display:inline-grid;grid-template-columns:repeat(2,minmax(90px,1fr));min-height:72px;overflow:hidden;border:1px solid var(--shell-border, #ddd);border-radius:16px}.equipment-summary-stat{min-width:110px;padding:11px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.equipment-summary-stat+.equipment-summary-stat{border-left:1px solid var(--shell-border, #ddd)}.equipment-summary-stat strong{display:inline-grid;place-items:center;min-width:28px;min-height:28px;color:var(--shell-ink, #222);font-size:20px;font-weight:800;line-height:1}.equipment-summary-stat span{margin-top:5px;color:#777;font-size:13px;line-height:1}.equipment-help-text{width:100%;color:#6b6b6b;font-size:13px;line-height:1.45;text-align:left}.equipment-empty{padding:30px;color:#777;text-align:center}.equipment-tabs{display:flex;flex-wrap:wrap;gap:6px}.spellbook-style-tabs{display:inline-flex;gap:0;overflow:hidden;border:1px solid var(--shell-border, #ddd);border-radius:10px;background:var(--shell-panel, #fff)}.spellbook-style-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;color:inherit;background:transparent;border:0;border-right:1px solid var(--shell-border, #ddd);border-radius:0;cursor:pointer}.spellbook-style-tabs button:last-child{border-right:0}.spellbook-style-tabs button.active{color:#fff;background:var(--shell-accent, #1184a4)}.equipment-custom-button{background:#1f1f1f;color:#fff;border-color:#1f1f1f;font-weight:700;min-height:40px;border:1px solid var(--spellbook-border);border-radius:9px}.equipment-custom-button:hover{background:#333}.custom-item-options.artwork-upload{display:block}.equipment-filters{margin-bottom:10px}.equipment-search{flex:1;display:flex;align-items:center;gap:8px;padding:0 12px;background:var(--shell-bg);border:1px solid var(--shell-border);border-radius:10px}.equipment-search input{flex:1;min-width:0;padding:12px 0;background:transparent;border:0;outline:none}.equipment-filters select{padding:10px;background:#fff;border:1px solid #d9d9d9;border-radius:8px}.equipment-result-summary{margin:10px 0;color:#777;font-size:13px}.equipment-catalog-options{display:flex;align-items:center;justify-content:space-between;gap:12px}.equipment-owned-thumb{width:46px;height:46px;place-items:center;overflow:hidden;color:#aaa;background:#fafafa;border:1px dashed #ccc;border-radius:8px}.equipment-owned-thumb.has-artwork{border-style:solid}.equipment-owned-thumb img{width:100%;height:100%;object-fit:cover}.form-panel .equipment-owned-thumb{max-width:25px;max-height:25px;object-fit:contain}.equipment-inventory-workspace{grid-template-columns:minmax(0,1fr) minmax(375px,42%);margin-top:10px}.equipment-inventory-workspace .preview-stack{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:100%}.equipment-inventory-workspace .item-info-toolbar{width:100%;justify-content:flex-end}.equipment-inventory-workspace .equipment-canvas-stage{width:min(100%,650px)}.fields.fields-combat{display:grid;grid-template-columns:1fr}.fields.fields-money{display:grid;grid-template-columns:auto auto auto}.equipment-inventory-panel{padding:18px}.equipment-inventory-panel .inventory-editor-list{max-height:250px;height:250px;margin-bottom:18px}.equipment-inventory-panel .equipment-item-editor{padding:18px 0 0;border:0;border-top:1px solid var(--shell-border, #dedbd3);border-radius:0;background:transparent}.equipment-owned-list{width:100%;max-height:70vh;display:flex;flex-direction:column;gap:6px;overflow:auto}.item-info-toolbar{gap:5px;min-height:50px;align-items:center;justify-self:center;white-space:nowrap}.item-info-toolbar .input-button:hover{color:var(--shell-accent)}.item-info-toolbar{font-size:13px;font-weight:700}.reusable-inventory-row{display:grid;grid-template-columns:minmax(0,1fr) 88px 38px;align-items:center;gap:8px;padding:8px;background:var(--shell-bg);border:1px solid var(--shell-border);border-radius:10px}.reusable-inventory-row:hover{border-color:var(--shell-accent)}.reusable-inventory-row.active{border-color:var(--shell-accent);background:var(--shell-accent-soft)}.reusable-inventory-select{min-width:0;padding:0;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px;color:inherit;font:inherit;text-align:left;background:transparent;border:0;cursor:pointer}.reusable-inventory-select:not(:has(.has-artwork)),.print-inventory-editor .reusable-inventory-select:not(:has(.has-artwork)){grid-template-columns:1fr}.reusable-inventory-select:disabled{cursor:default}.equipment-owned-copy{min-width:0;display:flex;flex-direction:column}.equipment-owned-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:wrap}.equipment-owned-copy small{margin-top:3px;color:#777}.reusable-inventory-quantity{display:flex;align-items:center;gap:4px;color:#666;font-size:11px}.reusable-inventory-quantity span{line-break:auto;padding-left:5px}.reusable-inventory-quantity input{width:52px;min-width:0;padding:7px 5px;text-align:center;border:1px solid transparent;border-radius:7px}.inventory-remove-button{width:34px;height:34px;display:grid;place-items:center}.inventory-remove-button:hover{color:var(--shell-confirm);background-color:var(--shell-confirm-bg)}.inventory-count{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:4px;padding:0 6px;color:inherit;font-size:11px;font-weight:700;line-height:1;border-radius:999px;transform-origin:center}.inventory-count-added{animation:inventory-count-added .9s ease-out}@keyframes inventory-count-added{0%{color:inherit;background:transparent;box-shadow:0 0 #1184a400;transform:scale(1)}35%{color:#fff;background:var(--shell-accent, #1184a4);box-shadow:0 0 0 5px #1184a438;transform:scale(1.3)}70%{color:#fff;background:var(--shell-accent, #1184a4);box-shadow:0 0 0 9px #1184a400;transform:scale(1.08)}to{color:inherit;background:transparent;box-shadow:0 0 #1184a400;transform:scale(1)}}.inventory-count-removed{animation:inventory-count-removed .9s ease-out}@keyframes inventory-count-removed{0%{color:inherit;background:transparent;box-shadow:0 0 #bd343400;transform:scale(1)}35%{color:#fff;background:#bd3434;box-shadow:0 0 0 5px #bd343438;transform:scale(1.3)}70%{color:#fff;background:#bd3434;box-shadow:0 0 0 9px #bd343400;transform:scale(1.08)}to{color:inherit;background:transparent;box-shadow:0 0 #bd343400;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.inventory-count-added,.inventory-count-removed{animation:none}}.equipment-tabs span{margin-left:5px;opacity:.75}.equipment-tabs .inventory-count{opacity:1;border-radius:50px;border:solid thin var(--shell-accent)}.inventory-summary-count.inventory-count-added{animation:inventory-summary-added .9s ease-out}.inventory-summary-count.inventory-count-removed{animation:inventory-summary-removed .9s ease-out}@keyframes inventory-summary-added{0%,to{color:var(--shell-ink, #222);background:transparent;box-shadow:0 0 #1184a400;transform:scale(1)}35%{color:#fff;background:var(--shell-accent, #1184a4);border-radius:999px;box-shadow:0 0 0 5px #1184a433;transform:scale(1.25)}}@keyframes inventory-summary-removed{0%,to{color:var(--shell-ink, #222);background:transparent;box-shadow:0 0 #bd343400;transform:scale(1)}35%{color:#fff;background:#bd3434;border-radius:999px;box-shadow:0 0 0 5px #bd343433;transform:scale(1.25)}}@media(max-width:760px){.equipment-toolbar-actions{align-items:center;justify-content:flex-end}.equipment-summary{grid-template-columns:repeat(2,minmax(70px,1fr))}.equipment-summary-stat{min-width:76px;padding:9px 11px}.equipment-summary-stat strong{font-size:17px}.equipment-summary-stat span{font-size:11px}}.equipment-item-editor{padding:20px;background:#fff;border:1px solid #ddd;border-radius:14px}.equipment-item-heading h2{margin:0}.equipment-item-heading p{margin:4px 0 0;color:#777}.equipment-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin:18px 0}.equipment-form-grid .field-row,.equipment-form-grid .field-label{background:none!important;border:none!important}.equipment-form-grid .field-label>span{font-size:inherit}.equipment-form-grid label,.inventory-settings label,.equipment-item-editor>label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.equipment-form-grid input,.equipment-form-grid select,.inventory-settings input,.equipment-item-editor textarea,.equipment-item-editor>label input,.custom-item-options input,.custom-item-options select{padding:10px;background:#fff;border:1px solid #d9d9d9;border-radius:8px}.equipment-form-grid .equipment-check{flex-direction:row;align-items:center}.equipment-item-editor>label{margin-top:14px}.equipment-form-wide{grid-column:1 / -1}.custom-item-options{margin-top:18px;padding:16px;background:#fafafa;border:1px solid #e2e2e2;border-radius:12px}.custom-item-options-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-16px;padding:16px;cursor:pointer;list-style:none;font-size:15px;font-weight:700}.custom-item-options-trigger::-webkit-details-marker{display:none}.custom-item-options-trigger:focus-visible{outline:2px solid var(--shell-accent, #1685a6);outline-offset:-3px;border-radius:12px}.custom-item-options-trigger svg{flex:none;transition:transform .15s ease}.custom-item-options[open]>.custom-item-options-trigger svg{transform:rotate(180deg)}.custom-item-options[open]>.custom-item-options-trigger{margin-bottom:0}.custom-item-options:not([open])>:not(summary){display:none}.custom-item-options-trigger small{font-size:.8em;font-weight:400}.custom-item-options h3{margin:0 0 12px;font-size:15px}.custom-item-options h3:not(:first-child){margin-top:18px}.custom-stat-grid{display:grid;gap:9px}.custom-stat-row{display:grid;grid-template-columns:minmax(100px,.5fr) minmax(180px,.5fr);gap:10px}.custom-stat-row label,.custom-tracking-options label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}.custom-tracking-options{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px 20px}.custom-tracking-options .equipment-check{flex-direction:row;align-items:center;padding-bottom:10px}.mini-combat-fields textarea{width:100%;resize:vertical}.show-item-cards{display:flex;flex-direction:column;align-items:center;gap:5px}.show-item-cards .equipment-help-text{margin:0}.equipment-appearance-toggle,.equipment-check{display:inline-flex;align-items:center;gap:7px;font-size:13px}.equipment-card-canvas{width:min(100%,580px);height:auto;background:var(--shell-panel);border-radius:14px;box-shadow:0 12px 30px #00000024}.equipment-card-canvas.mini-preview{margin:0 auto}.equipment-canvas-stage{max-width:100%;margin:0 auto}.equipment-canvas-stage.mini-preview{width:min(75%,435px)}.equipment-canvas-stage .equipment-card-canvas{max-width:100%}.equipment-editor-actions{margin-top:15px;flex-wrap:wrap}.print-item-actions{justify-content:center;margin-top:0}.equipment-list-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.equipment-list-page-header h2,.equipment-list-page-header p{margin-top:0}.equipment-list-page-header p{margin-bottom:0;color:var(--shell-muted)}.inventory-list-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.inventory-settings{width:min(100%,760px);margin:10px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(50px,1fr));gap:12px;align-items:end}.print-inventory-editor{width:min(100%,760px);overflow-x:hidden;overflow-y:auto}.print-inventory-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--shell-border)}.print-inventory-heading span{color:#777;font-size:12px}.inventory-list-editor{min-height:330px;max-height:70vh;padding:8px}.inventory-page-controls{justify-content:center;margin:10px 0}.inventory-page-controls button{padding:10px 14px;background:#fff;border:1px solid var(--border, #ddd);border-radius:9px;cursor:pointer}.show-item-cards:has(.print-inventory-editor){display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;column-gap:22px}.show-item-cards:has(.print-inventory-editor)>.panel-left,.show-item-cards:has(.print-inventory-editor)>.panel-right{min-width:0;max-width:100%}.show-item-cards:has(.print-inventory-editor)>.equipment-help-text,.show-item-cards:has(.print-inventory-editor)>.inventory-settings{grid-column:1 / -1}.show-item-cards:has(.print-inventory-editor)>.print-inventory-editor{grid-column:1;width:100%;top:12px}.show-item-cards:has(.print-inventory-editor)>.equipment-card-canvas,.show-item-cards:has(.print-inventory-editor)>.inventory-page-controls,.show-item-cards:has(.print-inventory-editor)>.equipment-editor-actions{grid-column:2;justify-self:center}.mini-character-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.mini-character-actions label{display:inline-flex;align-items:center;gap:6px;font-size:13px}aside.form-panel.equipment-inventory-panel{border:none;box-shadow:none}@media(max-width:1000px){.supplemental-row label{font-size:.5rem}.show-item-cards:has(.print-inventory-editor){grid-template-columns:minmax(0,1fr) minmax(0,300px)}.inventory-settings{gap:2px}.print-inventory-editor .reusable-inventory-select{grid-template-columns:30px minmax(0,1fr);gap:5px}.print-inventory-editor .reusable-inventory-quantity input{width:45px}.print-inventory-editor .reusable-inventory-row{grid-template-columns:minmax(0,1fr) 55px 38px}.print-inventory-editor .reusable-inventory-quantity{display:inline-block;text-align:center;font-weight:600}.print-inventory-editor .equipment-owned-thumb{max-width:30px;max-height:30px}.equipment-owned-copy>span{text-overflow:inherit;font-size:.8rem}.view-list .catalog-item{min-height:50px;place-items:center}.view-list .catalog-item .qty{display:none}.view-list .catalog-item input{margin-left:5px}.fields.fields-money{grid-template-columns:auto auto}}@media(max-width:769px){.equipment-list-page-header{flex-direction:column}.view-list .catalog-item{min-height:50px;place-items:center}.view-list .catalog-item .qty{display:none}.view-list .catalog-item input{margin-left:5px}.fields.fields-money{display:block}.inventory-list-toolbar{width:100%;justify-content:flex-start}.equipment-toolbar{align-items:stretch;flex-direction:column}.equipment-custom-button{align-self:flex-end}.equipment-custom-button span{display:none}.equipment-inventory-workspace{grid-template-columns:1fr}.equipment-owned-list{max-height:250px}.equipment-filters,.equipment-catalog-options,.custom-card-options{align-items:stretch;flex-direction:column}.custom-stat-row{grid-template-columns:1fr}.print-inventory-heading{flex-direction:column}.show-item-cards:has(.print-inventory-editor)>.print-inventory-editor{width:min(760px,100%);position:static}.reusable-inventory-row{grid-template-columns:minmax(0,1fr) 78px 36px}.show-item-cards:has(.print-inventory-editor){grid-template-columns:minmax(0,1fr)}}@media(max-width:600px){.print-inventory-editor .reusable-inventory-select{grid-template-columns:46px minmax(0,1fr);gap:10px}.print-inventory-editor .reusable-inventory-quantity{display:inline-block;text-align:center;font-weight:600}.print-inventory-editor .equipment-owned-thumb{max-width:46px;max-height:46px}.equipment-owned-copy>span{text-overflow:inherit;font-size:.8rem}.inventory-item{grid-template-columns:42px minmax(0,1fr) 48px}.inventory-item:not(:has(.equipment-owned-thumb)){grid-template-columns:minmax(0,1fr) 48px}.catalog-add-indicator{min-width:48px}}.equipment-item-editor .rich-text-field{margin:10px 0}.feat-book{width:100%}.feat-book-header,.feat-book-toolbar,.feat-book-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.feat-book-tabs{display:flex;gap:.5rem;border-bottom:1px solid var(--border, #888);margin:1rem 0}.feat-book-tabs button{border:0;background:transparent;padding:.7rem 1rem;color:inherit;cursor:pointer}.feat-book-tabs button.active{border-bottom:3px solid currentColor;font-weight:700}.feat-book-layout{display:grid;grid-template-columns:minmax(230px,1fr) minmax(350px,1.45fr);gap:1.25rem;align-items:start}.feat-panel{display:flex;flex-direction:column;height:calc(100dvh - 230px);min-height:480px;overflow:hidden}.feat-panel .feat-list{flex:1;min-height:0;max-height:none;overflow-y:auto}.feat-panel,.feat-preview-card{min-width:0;border:1px solid var(--spellbook-border);border-radius:14px;background:var(--spellbook-surface)}.feat-panel-header{min-height:66px;padding:13px 14px;align-items:center;border-bottom:1px solid var(--spellbook-border);color:var(--spellbook-nav)}.feat-panel-header h2,.feat-panel-header p{margin:0;display:block}.feat-panel-header h2{font-size:1rem}.feat-panel-header p{margin-top:3px;font-size:.76rem;opacity:.6}.feat-panel-header{position:relative}.feat-panel-header .feat-catalog-clear{position:absolute;right:18px;bottom:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;padding:0;color:var(--shell-accent);font:inherit;font-size:.75rem;font-weight:700;text-transform:uppercase;cursor:pointer}.feat-book-list{flex:1;min-height:0;max-height:none;overflow-y:auto}.feat-book-toolbar{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(50px,.3fr);gap:10px;align-items:end;margin:10px 0;padding:12px}.feat-book-search{position:relative}.feat-book-search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);pointer-events:none;opacity:.65}.feat-book-toolbar input,.feat-book-toolbar select,.feat-book-clear-button,.feat-book-primary-button{min-height:40px;border:1px solid var(--spellbook-border);border-radius:9px;color:inherit;font:inherit}.feat-book-toolbar input,.feat-book-toolbar select{width:100%;padding:0 11px;background:var(--spellbook-surface-strong)}.feat-book-search input{padding-left:48px}.feat-book-toolbar label{min-width:0}.feat-book-toolbar select{width:100%}.feat-book-clear-button{grid-column:1 / -1}.feat-book-desktop-collections{display:none}.feat-book-mobile-collection{display:block;min-width:0;width:100%;height:100%;max-height:50vh;overflow-y:auto;overscroll-behavior-y:auto}.feat-book-mobile-collection>*{width:100%;max-width:none}.feat-book-workspace{grid-template-columns:minmax(0,1fr);gap:18px}.feat-book-collection-column{grid-template-columns:1fr}.feat-book-preview{width:100%;min-width:0}.feat-book-preview-card{position:relative}.feat-book-preview-header{grid-template-columns:1fr;align-items:flex-start}.feat-book-canvas-frame,.feat-book-position-control{width:100%}.feat-book-appearance{display:none;position:static;top:auto;right:auto;width:100%}.feat-book-appearance.is-open{display:block}.feat-book-appearance-row{justify-content:center;padding:0;text-align:center}.feat-book-appearance-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:4px;padding:10px 12px;background:transparent;border:0;cursor:pointer;font:inherit;font-weight:600;text-align:left}.feat-book-toggle-chevron{display:inline-block;font-size:.75rem;transition:transform .2s ease}.feat-book-appearance-toggle.is-open .feat-book-toggle-chevron{transform:rotate(180deg)}.feat-book-filters{display:flex;gap:.5rem;flex-wrap:wrap}.feat-book-filters input{min-width:170px;flex:1}.feat-catalog-workspace .feat-panel{height:auto;min-height:0;border:0;background:transparent}.feat-catalog-workspace .feat-panel-header{display:none}.feat-thumb{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:var(--spellbook-surface-strong);opacity:.62}.feat-thumb.has-artwork{opacity:1}.feat-thumb img{width:100%;height:100%;object-fit:cover;display:block}.feat-button{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px}.feat-book-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.9rem;border:1px solid var(--border, #888);margin-bottom:.4rem;border-radius:.5rem;color:inherit}.feat-button{flex:1 1 auto;min-width:0;padding:9px 10px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px}.feat-button:not(:has(.feat-thumb)){grid-template-columns:minmax(0,1fr)}.feat-info{min-width:0}.feat-catalog-workspace .feat-list{padding:0;overflow:visible}.feat-catalog-options{align-items:center}.feat-catalog-options .card-style-toolbar{margin:0 0 0 auto}.feat-book-list.view-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:10px}.feat-book-list.view-grid .feat-button{padding:12px}.feat-book-list.view-grid .feat-thumb{width:56px;height:56px}.feat-book-list.view-minimal .feat-button{padding:6px 9px}.feat-book-list.view-minimal .feat-thumb,.feat-book-list.view-minimal .feat-meta{display:none}.feat-saved-workspace{align-items:start}.feat-saved-workspace .feat-preview-card{position:static;padding:0;border:0;background:transparent}.feat-book-row small{display:block;opacity:.8;margin:.25rem 0}.feat-book-row p{margin:.3rem 0 0}.feat-book-select{width:100%;text-align:left;flex-direction:column;align-items:start;background:transparent;cursor:pointer}.feat-book-select.active{outline:2px solid currentColor}.feat-book-toolbar>div{display:flex;gap:.35rem}.feat-book-toolbar button[aria-pressed=true]{outline:2px solid currentColor}.feat-book-fields{display:grid;gap:.65rem;margin:1rem 0}.feat-book-fields label{gap:.25rem}.feat-book-fields label:has(input[type=checkbox]){display:flex;align-items:center}.feat-book-fields input:not([type=checkbox]),.feat-book-fields textarea,.feat-book-filters input,.feat-book-filters select{background:var(--input-bg, transparent);color:inherit;border:1px solid var(--border, #888);border-radius:.35rem;padding:.5rem;width:100%}.feat-book-canvas{display:block;max-width:100%;height:auto;margin:1rem auto}.feat-preview-card canvas{width:min(100%,650px)}.feat-preview-card.mini-preview canvas{width:min(75%,435px)}@media(max-width:768px){.feat-book-search,.filter-category{grid-column:-1 / 1}.feat-saved-workspace{grid-template-columns:minmax(0,1fr)}.feat-saved-workspace>*,.feat-preview-card{min-width:0;max-width:100%}}@media(max-width:850px){.feat-book-layout{grid-template-columns:1fr}.feat-book-list{max-height:420px}}:root{--shell-bg: #f7f6f3;--shell-bg-opposite: #1e1e1eeb;--shell-panel: #ffffff;--shell-panel-soft: #f2f1ee;--shell-border: #dedbd5;--shell-text: #252525;--shell-muted: #756f68;--shell-accent: #1184a4;--shell-accent-button-bg:#0d5b71;--shell-accent-button-text:#ffffff;--shell-accent-soft: #e5f3f7;--shell-danger: #a94343;--shell-confirm: #a94343;--shell-confirm-bg: #f6b9b9;--shell-check: #43a960;--shell-radius-sm: 7px;--shell-radius-md: 11px;--shell-radius-lg: 15px;--shell-shadow: 0 7px 24px rgba(31, 34, 38, .07)}[data-theme=dark]{--shell-bg: #171819;--shell-bg-opposite: #dcd9d9eb;--shell-panel: #202224;--shell-panel-soft: #272a2d;--shell-border: #393d40;--shell-text: #f2f0ec;--shell-muted: #aaa59e;--shell-accent-soft: rgba(17, 132, 164, .18);--shell-confirm: #dbb0b0;--shell-confirm-bg: #351414;--shell-shadow: none}.editor-shell-v2{min-height:100vh;min-width:0;background:var(--shell-bg);color:var(--shell-text)}.editor-shell-header{width:min(1440px,100%);margin:0 auto;padding:18px 28px 14px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:nowrap}.editor-shell-brand{min-width:0;display:flex;align-items:center;gap:11px;flex:1 1 auto}.editor-shell-brand-text{min-width:0;flex:1 1 auto}.editor-shell-project-button{flex:0 0 auto;margin-left:auto;min-height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--shell-border);border-radius:var(--shell-radius-sm);background:var(--shell-panel);color:var(--shell-text);font:inherit;font-size:.88rem;cursor:pointer}.editor-shell-brand{min-width:0;display:flex;align-items:center;gap:11px}.editor-shell-brand-icon{width:52px;height:52px;flex:0 0 52px;object-fit:contain;display:block}.editor-shell-brand-text{min-width:0}.editor-shell-brand h1{margin:0;font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.05}.editor-shell-brand p{margin:5px 0 0;color:var(--shell-muted);font-size:.9rem;line-height:1.35}.editor-shell-project-button{flex:0 0 auto;min-height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--shell-border);border-radius:var(--shell-radius-sm);background:var(--shell-panel);color:var(--shell-text);font:inherit;font-size:.88rem;cursor:pointer}.editor-shell-project-button:hover,.editor-shell-project-button.active{border-color:var(--shell-accent);background:var(--shell-accent-soft)}.editor-shell-project-chevron{transition:transform .16s ease}.editor-shell-project-button.active .editor-shell-project-chevron{transform:rotate(180deg)}.editor-shell-nav{position:sticky;top:0;z-index:30;width:100%;border-top:1px solid var(--shell-border);border-bottom:1px solid var(--shell-border);background:color-mix(in srgb,var(--shell-bg) 93%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.editor-shell-nav-wrap{position:relative;width:min(1440px,100%);margin:0 auto}.editor-shell-nav-scroll{width:100%;margin:0;padding:0 42px;display:flex;align-items:stretch;justify-content:safe center;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-behavior:smooth;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}.editor-shell-nav-scroll::-webkit-scrollbar{display:none}.editor-shell-nav-item{position:relative;flex:0 0 auto;min-width:100px;min-height:58px;padding:8px 14px 10px;border:0;background:transparent;color:var(--shell-muted);display:inline-flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:.82rem;cursor:pointer;scroll-snap-align:center;white-space:nowrap;transition:color .14s ease,background-color .14s ease}.editor-shell-nav-item:after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;border-radius:999px 999px 0 0;background:transparent}.editor-shell-nav-item:hover{color:var(--shell-text);background:var(--shell-panel-soft)}.editor-shell-nav-item.active{color:var(--shell-accent);font-weight:700}.editor-shell-nav-item.active:after{background:var(--shell-accent)}.editor-shell-nav-main{display:inline-flex;align-items:center;justify-content:center;gap:7px}.editor-shell-nav-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1}.editor-shell-nav-meta{position:absolute;top:8px;right:9px;display:inline-flex;align-items:center;justify-content:center;min-width:14px;min-height:14px;pointer-events:none}.editor-shell-nav-status{display:inline-flex;align-items:center;justify-content:center}.editor-shell-nav-status.partial{width:7px;height:7px;border-radius:50%;background:var(--shell-accent);opacity:.7}.editor-shell-nav-status.complete{width:16px;height:16px;border-radius:50%;background:var(--shell-accent-soft);color:var(--shell-accent)}.editor-shell-nav-badge{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--shell-accent-soft);color:var(--shell-accent);display:inline-flex;align-items:center;justify-content:center;font-size:.66rem;line-height:1;font-weight:800}.editor-shell-nav-scroll-button{position:absolute;top:50%;z-index:5;width:30px;height:38px;padding:0;display:flex;align-items:center;justify-content:center;transform:translateY(-50%);border:1px solid var(--shell-border);border-radius:999px;background:var(--shell-panel);color:var(--shell-text);box-shadow:0 2px 8px #00000017;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease,opacity .14s ease}.editor-shell-nav-scroll-button:hover{border-color:var(--shell-accent);background:var(--shell-accent-soft);color:var(--shell-accent)}.editor-shell-nav-scroll-button.left{left:6px}.editor-shell-nav-scroll-button.right{right:6px}.editor-shell-nav-scroll-button:before{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;border-radius:999px;background:color-mix(in srgb,var(--shell-bg) 82%,transparent)}.editor-shell-project-menu{position:relative;flex-shrink:0}.editor-shell-project-panel{position:absolute;top:calc(100% + 10px);right:0;z-index:100;width:min(650px,calc(100vw - 32px));padding:20px;border:1px solid var(--shell-border);border-radius:var(--shell-radius-md);background:var(--shell-panel);box-shadow:0 18px 45px #00000021,0 3px 10px #0000000f}.editor-shell-project-copy{display:flex;flex-direction:column;gap:3px;margin-bottom:16px}.editor-shell-project-copy strong{font-size:.95rem;font-weight:700}.editor-shell-project-copy span{font-size:.78rem;line-height:1.4;color:var(--shell-muted)}.project-share-result{grid-column:2 / 4;grid-row:2;display:flex;flex-direction:column;gap:7px;min-width:0}.project-share-result-heading{display:flex;align-items:baseline;gap:8px}.project-share-result-heading strong{font-size:.78rem;white-space:nowrap}.project-share-result-heading span{font-size:.68rem;color:var(--shell-muted)}.editor-shell-project-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px;width:100%;min-width:0;align-items:start}.project-actions-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%}.project-action-group{display:flex;flex-direction:column;gap:8px;min-width:0}.project-action-group:nth-child(1){grid-column:1;grid-row:1 / 3}.project-action-group:nth-child(2){grid-column:2;grid-row:1}.project-action-group:nth-child(3){grid-column:3;grid-row:1}.project-share-result{grid-column:2 / 4;grid-row:2;min-width:0}.project-action-footer{grid-column:1 / 4;grid-row:3;display:flex;align-items:center;justify-content:space-between;gap:12px}.project-action-footer-buttons{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}.theme-preference-toggle{flex:0 0 auto}.project-action-heading{font-size:.72rem;font-weight:700;color:var(--shell-muted);text-transform:uppercase;letter-spacing:.06em}.project-action-group .compact-action{box-sizing:border-box;width:100%;min-width:0;min-height:70px;display:flex;align-items:flex-start;justify-content:flex-start;gap:9px;padding:11px 12px;text-align:left;white-space:normal}.project-action-group .compact-action>svg{flex:0 0 auto;margin-top:2px}.project-action-group .compact-action>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.project-action-group .compact-action strong{display:block;font-size:.84rem;font-weight:600;line-height:1.25}.project-action-group .compact-action small{display:block;font-size:.72rem;font-weight:400;line-height:1.35;opacity:.62}.project-action-primary{border-color:var(--shell-accent)}.project-action-footer{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px;width:100%;margin-top:4px;padding-top:12px;border-top:1px solid var(--shell-border)}.project-action-footer .compact-action{min-height:auto;width:auto}@media(max-width:600px){.editor-shell-project-panel{position:fixed;top:82px;left:12px;right:12px;width:auto;max-height:calc(100vh - 100px);overflow-y:auto;padding:16px}.project-actions-content{grid-template-columns:1fr;gap:14px}.project-action-footer{grid-column:auto}}@media(max-width:600px){.editor-shell-project-panel{position:fixed;top:82px;left:12px;right:12px;width:auto;max-height:calc(100vh - 100px);overflow-y:auto;padding:16px}.editor-shell-project-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-action-group:nth-child(1){grid-column:1;grid-row:1}.project-action-group:nth-child(2){grid-column:2;grid-row:1}.project-action-group:nth-child(3){grid-column:1 / -1;grid-row:2}.project-action-group:nth-child(3) .compact-action{width:100%}.project-share-result{grid-column:1 / -1;grid-row:3;width:100%;min-width:0;margin-top:2px}.project-share-result-heading{display:flex;flex-wrap:wrap;gap:3px 7px}.share-link-row{width:100%;min-width:0}.share-link-row input{min-width:0}.share-copy-button{width:auto;min-width:76px;flex-shrink:0}.project-action-footer{grid-column:1 / -1;grid-row:4;width:100%;justify-content:flex-end}.project-action-footer .compact-action{width:auto}}@media(max-width:700px){.project-action-group .compact-action{min-height:64px;padding:9px 10px}.project-action-group .compact-action small{font-size:.68rem;line-height:1.25}}@media(max-width:340px){.editor-shell-project-actions{grid-template-columns:1fr}.project-action-group:nth-child(1),.project-action-group:nth-child(2),.project-action-group:nth-child(3),.project-share-result,.project-action-footer{grid-column:1;grid-row:auto}}.editor-shell-project-copy{display:grid;gap:4px}.editor-shell-project-copy span{color:var(--shell-muted);font-size:.82rem;line-height:1.4}.editor-shell-project-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;justify-content:stretch}.editor-shell-project-actions>*{width:100%}.editor-shell-project-actions .input-button,.editor-shell-project-actions button,.editor-shell-project-actions label{min-height:38px}.project-action-group>.compact-action{width:100%}.share-copy-button{flex:0 0 auto;width:auto;min-width:76px;margin:4px;padding:0 14px;justify-content:center}.project-action-footer .compact-action{width:auto;min-width:100px}.editor-shell-content{width:min(1360px,calc(100% - 40px));margin-left:auto;margin-right:auto;margin-top:18px;padding-bottom:48px}.editor-shell-content>.editor-grid{margin-top:0}@media(max-width:900px){.editor-shell-nav-scroll{justify-content:safe center}.editor-shell-project-panel{grid-template-columns:1fr;gap:12px}}@media(max-width:760px){.editor-shell-header{padding:13px 16px 11px;gap:10px}.editor-shell-brand{gap:8px}.editor-shell-brand-icon{width:42px;height:42px;flex-basis:42px}.editor-shell-brand h1{font-size:1.25rem}.editor-shell-brand p{max-width:260px;font-size:.76rem}.editor-shell-project-button{width:40px;height:40px;min-height:40px;padding:0;justify-content:center}.editor-shell-project-button span,.editor-shell-project-chevron{display:none}.editor-shell-nav-scroll{justify-content:safe center;padding-left:38px;padding-right:38px}.editor-shell-nav-item{min-width:76px;min-height:54px;padding:7px 12px 8px;font-size:.7rem}.editor-shell-nav-main{flex-direction:column;gap:3px}.editor-shell-nav-icon{display:flex}.editor-shell-nav-item:after{left:9px;right:9px}.editor-shell-nav-meta{top:5px;right:5px}.editor-shell-nav-scroll-button{width:27px;height:34px}.editor-shell-nav-scroll-button.left{left:4px}.editor-shell-nav-scroll-button.right{right:4px}.editor-shell-project-panel{padding:13px}.editor-shell-content{margin-top:6px;width:min(1360px,calc(100% - 30px))}}@media(max-width:600px){.editor-shell-nav-item{min-width:55px;padding-left:8px;padding-right:10px;font-size:.65rem}.editor-shell-nav-main,.editor-shell-nav-icon{display:flex}.editor-shell-nav-main{flex-direction:column}.editor-shell-project-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:400px){.editor-shell-brand p{max-width:190px}.editor-shell-nav-item{min-width:54px;padding-left:6px;padding-right:8px}.editor-shell-nav-scroll{padding-left:34px;padding-right:34px}.editor-shell-nav-scroll-button{width:25px;height:32px}}@media(max-width:330px){.editor-shell-project-actions{grid-template-columns:1fr}.editor-shell-brand-icon{width:38px;height:38px;flex-basis:38px}.editor-shell-brand p{display:none}}.editor-shell-header{display:grid;grid-template-columns:minmax(100px,60%) auto}.editor-shell-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}@media(max-width:1000px){.editor-shell-header{grid-template-columns:minmax(0,1fr) auto}}.editor-shell-project-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.profile-manager{position:relative}.profile-manager-trigger{min-height:40px;display:flex;align-items:center;gap:8px;max-width:230px;padding:5px 10px;border:1px solid var(--shell-border);border-radius:var(--shell-radius-sm);background:var(--shell-panel);color:var(--shell-text);cursor:pointer}.profile-manager-trigger>span{min-width:0;display:grid;text-align:left;line-height:1.1}.profile-manager-trigger strong,.profile-manager-trigger small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-manager-trigger small{color:var(--shell-muted);font-size:.7rem;margin-top:3px}.profile-manager-panel{position:absolute;z-index:100;top:calc(100% + 8px);right:-100%;width:min(430px,calc(100vw - 24px));padding:12px;border:1px solid var(--shell-border);border-radius:12px;background:var(--shell-panel);box-shadow:0 12px 36px #0003}.profile-manager-panel header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:10px}.profile-manager-panel header>div{display:grid;gap:2px}.profile-manager-panel header span{color:var(--shell-muted);font-size:.78rem}.profile-manager-list{display:grid;gap:6px;max-height:300px;overflow:auto}.profile-manager-row{display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid var(--shell-border);border-radius:9px;overflow:hidden}.profile-manager-row.active{border-color:var(--shell-accent);background:color-mix(in srgb,var(--shell-accent) 8%,transparent)}.profile-manager-select{display:grid;gap:2px;padding:9px 10px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.profile-manager-select small{color:var(--shell-muted)}.profile-manager-row-actions{display:flex;align-items:center;padding:4px}.profile-manager-row-actions button{display:grid;place-items:center;width:29px;height:29px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer}.profile-manager-row-actions button:hover{background:#7f7f7f1f}.profile-manager-row-actions button:disabled{opacity:.3;cursor:not-allowed}.profile-manager-edit{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) minmax(125px,.7fr) auto auto;align-items:center;gap:6px;padding:6px}.profile-manager-edit input,.profile-manager-edit select{min-width:0;padding:7px;border:1px solid var(--shell-border);border-radius:7px;background:var(--shell-input-bg, #fff);color:inherit}.profile-manager-add{width:100%;margin-top:9px;display:flex;justify-content:center;align-items:center;gap:6px;min-height:38px;border:1px dashed var(--shell-border);border-radius:8px;background:transparent;color:inherit;cursor:pointer}.profile-manager-create{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,.7fr) auto auto;gap:6px;margin-top:9px}.profile-manager-create input,.profile-manager-create select{min-width:0;padding:7px;border:1px solid var(--shell-border);border-radius:7px;background:var(--shell-input-bg, #fff);color:inherit}@media(max-width:720px){.editor-shell-header-actions{align-items:flex-end}.profile-manager-trigger>span,.profile-manager-trigger>svg:last-child{display:none}.profile-manager-create{grid-template-columns:1fr}}@media(max-width:760px){.editor-shell-header{grid-template-columns:minmax(100px,75%) auto}.editor-shell-brand p{max-width:none}.profile-manager-edit{grid-template-columns:1fr auto auto}.profile-manager-edit select{grid-column:1 / -1;grid-row:2}}.import-choice-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:18px;background:#1412127a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.import-choice-modal{width:min(560px,100%);max-height:calc(100vh - 36px);overflow:auto;padding:18px;border:1px solid var(--shell-border);border-radius:var(--shell-radius-md);background:var(--shell-panel);color:var(--shell-text);box-shadow:0 20px 60px #00000047}.import-choice-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.import-choice-header>div{min-width:0}.import-choice-header span{color:var(--shell-muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.import-choice-header h2{margin:3px 0 0;overflow-wrap:anywhere;font-size:1.35rem}.import-choice-intro{display:grid;gap:5px;margin:14px 0;color:var(--shell-muted)}.import-choice-intro small{font-size:.78rem}.import-choice-options{display:grid;gap:8px}.import-choice-options>button{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:12px;border:1px solid var(--shell-border);border-radius:10px;background:var(--shell-bg);color:inherit;text-align:left;cursor:pointer}.import-choice-options>button:hover{border-color:var(--shell-accent);background:var(--shell-accent-soft)}.import-choice-options>button.replace:hover{border-color:#b64b4b;background:#b64b4b14}.import-choice-options span{display:grid;gap:3px}.import-choice-options small{color:var(--shell-muted);font-size:.76rem;font-weight:400;line-height:1.35}.import-choice-cancel{width:100%;margin-top:12px}.view-only-banner{width:min(1384px,calc(100% - 32px));margin:12px auto 0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--shell-accent);border-radius:10px;background:var(--shell-accent-soft);color:var(--shell-text)}.view-only-banner>div{display:grid;gap:2px}.view-only-banner span{color:var(--shell-muted);font-size:.76rem}@media(max-width:600px){.import-choice-modal{padding:14px}.view-only-banner{grid-template-columns:auto minmax(0,1fr)}.view-only-banner .input-button{grid-column:1 / -1;width:100%}}.rich-text-field{min-width:0}.rich-text-field .field-label,.field-type-textarea .field-label{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px}.rich-text-control{display:block;position:relative;width:100%;grid-column:1 / -1}.rich-text-editor{width:100%;padding:10px 10px 24px;border:1px solid var(--shell-border, rgba(127, 127, 127, .32));border-radius:9px;background:var(--input-bg, #fff);color:var(--text-color, inherit);font:inherit;font-weight:400;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;overflow-y:auto;outline:none;text-align:left}.rich-text-editor:focus{border-color:var(--shell-accent, currentColor);box-shadow:0 0 0 2px color-mix(in srgb,var(--shell-accent, currentColor) 18%,transparent)}.rich-text-editor:empty:before{content:attr(data-placeholder);color:var(--muted-text, rgba(127, 127, 127, .85));pointer-events:none}.rich-text-editor strong{font-weight:700}.rich-text-editor em{font-style:italic}.artwork-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}.artwork-controls-preview{display:grid;place-items:center;max-width:40px;max-height:40px;padding:2px;border:1px solid var(--shell-border);border-radius:8px;background:var(--shell-panel);cursor:zoom-in}.artwork-controls-preview:hover{border-color:var(--shell-accent)}.artwork-controls-preview-thumb{display:block;max-width:100%;max-height:100%;object-fit:contain}.artwork-upload-helper{display:block;width:100%}.artwork-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#000000a6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.artwork-preview-modal{position:relative;width:min(700px,100%);max-height:calc(100vh - 40px);display:grid;place-items:center;padding:42px 18px 18px;border:1px solid var(--shell-border);border-radius:12px;background:var(--shell-panel);box-shadow:0 20px 60px #00000059}.artwork-preview-close{position:absolute;top:10px;right:10px}.artwork-preview-image{display:block;max-width:100%;max-height:calc(100vh - 120px);object-fit:contain}.editor-shell-project-actions .compact-action:not(:disabled):hover{background:var(--shell-panel-soft);border-color:var(--shell-accent);box-shadow:0 3px 10px #00000014;transform:translateY(-1px)}.editor-shell-project-actions .compact-action:not(:disabled):hover>svg{color:var(--shell-accent)}.editor-shell-project-actions .compact-action:not(:disabled):active{background:var(--shell-panel-soft);border-color:var(--shell-accent);box-shadow:inset 0 0 0 1px var(--shell-accent);transform:translateY(0)}.editor-shell-project-actions .compact-action:focus-visible{outline:2px solid var(--shell-accent);outline-offset:2px}.profile-manager-name-line{display:flex;align-items:center;gap:7px;min-width:0}.profile-manager-name-line strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-manager-new-badge{flex:0 0 auto;padding:2px 6px;border:1px solid var(--shell-accent);border-radius:999px;color:var(--shell-accent);font-size:.58rem;font-weight:800;line-height:1.15;letter-spacing:.04em}.cloud-profile-toast{position:fixed;z-index:220;top:18px;right:18px;width:min(390px,calc(100vw - 36px));display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--shell-border);border-radius:11px;background:var(--shell-panel);color:var(--shell-text);box-shadow:var(--shell-shadow)}.cloud-profile-toast>div{display:grid;gap:2px;min-width:0}.cloud-profile-toast span{color:var(--shell-muted);font-size:.78rem;line-height:1.3}.cloud-profile-toast button{border:1px solid var(--shell-border);border-radius:7px;background:var(--shell-input-bg, var(--shell-panel));color:var(--shell-text);padding:6px 8px;cursor:pointer;white-space:nowrap}.cloud-profile-toast button:hover{border-color:var(--shell-accent)}.cloud-profile-toast .cloud-profile-toast-dismiss{width:28px;height:28px;padding:0;font-size:1.1rem;line-height:1}@media(max-width:600px){.cloud-profile-toast{top:10px;right:10px;width:calc(100vw - 20px);grid-template-columns:minmax(0,1fr) auto}.cloud-profile-toast-dismiss{grid-column:2;grid-row:1}.cloud-profile-toast>button:not(.cloud-profile-toast-dismiss){grid-column:1 / -1}}.editor-shell-project-actions .project-action-group>.compact-action{border-color:var(--shell-border);color:var(--shell-text)}.editor-shell-project-actions .project-action-group>.compact-action>svg,.editor-shell-project-actions .project-action-group>.compact-action strong{color:var(--shell-text)}.editor-shell-project-actions .project-action-group>.compact-action small{color:var(--shell-muted);opacity:1}@media(hover:hover){.editor-shell-project-actions .project-action-group>.compact-action:not(:disabled):hover{border-color:var(--shell-accent)}.editor-shell-project-actions .project-action-group>.compact-action:not(:disabled):hover>svg,.editor-shell-project-actions .project-action-group>.compact-action:not(:disabled):hover strong{color:var(--shell-accent)}}.editor-shell-project-actions .project-action-group>.compact-action:not(:disabled):active,.editor-shell-project-actions .project-action-group>.compact-action:focus-visible,.editor-shell-project-actions .project-action-group>label.compact-action:focus-within{border-color:var(--shell-accent)}.editor-shell-project-actions .project-action-group>.compact-action:not(:disabled):active>svg,.editor-shell-project-actions .project-action-group>.compact-action:not(:disabled):active strong,.editor-shell-project-actions .project-action-group>.compact-action:focus-visible>svg,.editor-shell-project-actions .project-action-group>.compact-action:focus-visible strong,.editor-shell-project-actions .project-action-group>label.compact-action:focus-within>svg,.editor-shell-project-actions .project-action-group>label.compact-action:focus-within strong{color:var(--shell-accent)}.spellbook-form-artwork{display:grid;gap:8px;padding:14px 0;border-bottom:1px solid var(--shell-border)}.spellbook-form-artwork-actions{display:flex;gap:8px;flex-wrap:wrap}.spellbook-form-artwork small{opacity:.75}.spellbook-page{--spellbook-surface: var(--panel-bg, rgba(255, 255, 255, .04));--spellbook-surface-strong: var(--input-bg, rgba(95, 151, 211, .102));--spellbook-border: var(--border-color, rgba(127, 127, 127, .28));--spellbook-text: var(--text-color, inherit);--spellbook-muted: var(--muted-text, rgba(127, 127, 127, .9));--spellbook-accent: var(--accent-color, currentColor);--color-confirm: var(--text-color, rgb(184, 11, 11));--spellbook-nav: var(--shell-accent, currentColor);width:100%;display:grid;gap:18px;color:var(--spellbook-text)}.spellbook-page-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-end}.spellbook-header-actions{display:flex;align-items:center;gap:10px}.spellbook-custom-button{display:inline-flex;align-items:center;gap:7px}.spellbook-custom-button,.equipment-custom-button{min-height:40px;border-radius:9px;font-weight:700}.mini-artwork-scale{width:min(100%,430px);margin:0 auto 8px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;font-size:.78rem}.appearance-enabled{padding-right:10px;border-right:1px solid var(--spellbook-border)}.custom-spell-heading{display:block;font-size:1.5rem;font-weight:700}.custom-spell-collapsible>.field-heading{margin-bottom:12px}.custom-spell-collapsible>.field-heading .field-heading-toggle{font-size:1.2rem}.custom-spell-form{margin:10px 0;padding:3px 8px 8px;border-bottom:1px solid var(--spellbook-border)}.custom-spell-form-header{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:16px}.custom-spell-form-header h2{margin:0;font-size:1.2rem}.custom-spell-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.custom-spell-grid>label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:.76rem;font-weight:700}.custom-spell-grid input,.custom-spell-grid select,.custom-spell-grid textarea{width:100%;padding:9px 10px;border:1px solid var(--spellbook-border);border-radius:8px;background:var(--spellbook-surface-strong);color:inherit;font:inherit;box-sizing:border-box}.custom-spell-wide{grid-column:1 / -1}.custom-spell-flags{display:flex;flex-wrap:wrap;gap:10px 18px;padding:4px 0}.custom-spell-check{display:inline-flex;align-items:center;gap:6px;font-size:.82rem}.custom-spell-check input{width:auto}.custom-spell-actions{display:flex;justify-content:flex-end;gap:5px}.custom-spell-actions .spellbook-primary-button{min-height:40px}.spellbook-edit-custom{margin-top:8px;padding:5px 8px;border:1px solid var(--spellbook-border);border-radius:7px;background:transparent;color:inherit;font:inherit;font-size:.72rem;cursor:pointer}.spellbook-page-header h1,.spellbook-page-header p{margin:0}.spellbook-page-header h1{font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.05}.spellbook-eyebrow{margin:0 0 5px!important;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.6}.spellbook-subtitle{max-width:680px;margin-top:8px!important;opacity:.72}.spellbook-summary{display:flex;border:1px solid var(--spellbook-border);border-radius:12px;overflow:hidden;flex:0 0 auto}.spellbook-summary span{min-width:88px;padding:10px 14px;display:grid;text-align:center}.spellbook-summary span+span{border-left:1px solid var(--spellbook-border)}.spellbook-summary strong{font-size:1.05rem}.spellbook-summary small{margin-top:1px;opacity:.62}.spellbook-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) repeat(4,minmax(50px,auto));gap:10px;align-items:end;margin:10px 0;padding:12px;border-bottom:1px solid var(--spellbook-border);background:var(--spellbook-surface)}.spellbook-toolbar label{min-width:0}.spellbook-filter-label{display:block;margin:0 0 5px 2px;font-size:.72rem;font-weight:700;opacity:.65}.spellbook-toolbar input,.spellbook-toolbar select,.spellbook-clear-button,.spellbook-primary-button{min-height:40px;border:1px solid var(--spellbook-border);border-radius:9px;color:inherit;font:inherit}.spell-library-summary{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;margin:0}.spell-library-clear{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;padding:0;color:var(--shell-accent);font:inherit;font-size:.75rem;font-weight:700;text-transform:uppercase;cursor:pointer}.spell-library-clear{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;margin-left:auto;padding:0;color:var(--shell-accent);font:inherit;font-size:.75rem;font-weight:700;text-transform:uppercase;cursor:pointer}.spell-library-clear:hover{text-decoration:underline}.spell-library-clear:focus-visible{outline:2px solid var(--shell-accent);outline-offset:3px;border-radius:2px}.spellbook-toolbar input,.spellbook-toolbar select{width:100%;padding:0 11px;background:var(--spellbook-surface-strong)}.spellbook-toolbar select{min-width:135px}.spellbook-clear-button,.spellbook-primary-button{padding:0 14px;cursor:pointer}.spellbook-clear-button{background:transparent}.spellbook-clear-button:disabled{opacity:.35;cursor:default}.spellbook-primary-button{background:#1f1f1f;color:#fff;border-color:#1f1f1f;font-weight:700}.spellbook-primary-button:hover{background:#333}.spellbook-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:2px 5px;border:1px solid #d4d1c9;border-radius:5px;background:#fff;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .08s ease,box-shadow .15s ease;opacity:.5}.spellbook-secondary-button:hover{opacity:1}.spellbook-trash{color:var(--color-confirm)}.spellbook-workspace{display:grid;grid-template-columns:minmax(400px,.82fr) minmax(500px,1.18fr);gap:18px;align-items:start;min-width:0}.spellbook-collection-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:12px;min-width:0;position:sticky;top:12px}.spellbook-panel{display:flex;flex-direction:column;height:calc(100dvh - 230px);min-height:480px;overflow:hidden}.spellbook-panel,.spellbook-preview-card{min-width:0;border:1px solid var(--spellbook-border);border-radius:14px;background:var(--spellbook-surface)}.spellbook-panel-header{min-height:66px;padding:13px 14px;align-items:center;border-bottom:1px solid var(--spellbook-border);color:var(--spellbook-nav)}.spellbook-panel-header h2,.spellbook-panel-header p{margin:0;display:block}.spellbook-panel-header h2{font-size:1rem}.spellbook-panel-header p{margin-top:3px;font-size:.76rem;opacity:.6}.spellbook-panel-header{position:relative}.spellbook-panel-header .spell-library-clear{position:absolute;right:18px;bottom:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;padding:0;color:var(--shell-accent);font:inherit;font-size:.75rem;font-weight:700;text-transform:uppercase;cursor:pointer}.spellbook-catalog-workspace .spellbook-panel{height:auto;min-height:0;border:0;background:transparent}.spellbook-catalog-workspace .spellbook-panel-header{display:none}.spellbook-catalog-options{align-items:center}.spellbook-catalog-options .card-style-toolbar{margin:0 0 0 auto}.spellbook-saved-workspace{align-items:start}.spellbook-saved-workspace .spellbook-preview-card{position:static;padding:0;border:0;background:transparent}.spellbook-saved-form{min-width:0;align-content:start;grid-auto-rows:max-content}.spellbook-saved-form .spellbook-panel{height:auto;min-height:0;border:0;background:transparent}.spellbook-saved-form .spellbook-panel-header{display:none}.spellbook-saved-form .spellbook-empty{min-height:120px}.spell-form-section{padding-top:16px}.spell-form-section h3,.spell-form-section p{margin:0}.spell-form-section h3{font-size:1rem}.spell-form-section>p{margin-top:4px;font-size:.78rem;opacity:.65}.spell-text-mode-toolbar{margin:12px 0;flex-wrap:wrap;border-radius:9px}.spell-text-mode-toolbar button:first-child{border-top-left-radius:9px;border-bottom-left-radius:0}.spell-text-mode-toolbar button:last-child{border-top-right-radius:9px;border-bottom-right-radius:0}.card-style-toolbar.spell-text-mode-toolbar>span{color:var(--shell-muted)}.spell-text-mode-toolbar button{display:inline-flex;align-items:center;gap:5px}.spell-panel-textarea textarea{width:100%;min-height:170px;resize:vertical;box-sizing:border-box;padding:10px;border:1px solid var(--spellbook-border);border-radius:0 0 9px 9px;background:var(--spellbook-surface-strong);color:inherit;font:inherit;line-height:1.45}.spell-panel-textarea textarea:disabled{opacity:.72;cursor:default}@media(max-width:900px){.spellbook-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.spellbook-search{grid-column:1 / -1}.spellbook-saved-workspace>.spellbook-preview-card{order:0}.spellbook-saved-form{order:1}}@media(max-width:560px){.spellbook-toolbar{grid-template-columns:1fr}.spellbook-search{grid-column:auto}}.spellbook-level-group+.spellbook-level-group{margin-top:12px}.spellbook-level-heading{display:flex;justify-content:space-between;gap:8px;padding:5px 8px 6px;font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;opacity:.56}.spellbook-empty{min-height:150px;padding:24px;display:grid;place-content:center;gap:4px;text-align:center;opacity:.62}.spellbook-empty strong{opacity:.95}.spellbook-empty span{font-size:.8rem}.spellbook-preview-card{padding:14px;position:sticky;top:12px}.spellbook-preview-header h2,.spellbook-preview-header p{margin:0}.spellbook-preview-header h2{line-height:1.1}.spellbook-preview-meta{margin-top:4px!important;font-size:.82rem;opacity:.62}.spellbook-canvas-wrapper{position:relative;display:inline-block;width:100%;max-width:inherit}.spellbook-canvas-wrapper .canvas-tooltip{position:absolute;pointer-events:none;z-index:50}.spellbook-canvas-frame{width:min(100%,610px);margin:0 auto;overflow:hidden;border-radius:11px}.spellbook-saved-workspace .canvas-stage{width:min(100%,650px);margin:0 auto}.spellbook-artwork-options{position:absolute;top:40%;left:33.5%;display:flex;opacity:1;z-index:20}.spellbook-artwork-options:hover{opacity:1}.spellbook-position-hint{margin:10px 0 0;text-align:center;font-size:.75rem;opacity:.58}.spellbook-preview-empty{min-height:340px;display:grid;place-content:center;gap:4px;text-align:center}.spellbook-preview-empty span{opacity:.6}.spellbook-appearance{position:absolute;top:12px;right:12px;z-index:30;display:inline-block}.spellbook-appearance.is-open{display:block}.spellbook-appearance-row{display:flex;align-items:flex-start;justify-content:flex-end;gap:12px;padding:8px 12px;border-radius:12px}.spellbook-toggle-chevron{display:inline-block;font-size:.75rem;transition:transform .2s ease}.spellbook-appearance-toggle.is-open .spellbook-toggle-chevron{transform:rotate(360deg)}.spellbook-tint-control,.spellbook-color-setting{flex:0 0 auto;flex-direction:column;align-items:center}.spellbook-color-setting{display:flex;flex-direction:column;align-items:center;gap:3px}.spellbook-color-setting span,.appearance-label{font-size:.75rem;white-space:nowrap}.spellbook-color-setting input[type=color],.spellbook-tint-control input[type=color]{width:34px;height:34px;padding:2px;border-radius:50%;cursor:pointer}.spellbook-tint-control input[type=range]{flex:1;min-width:100px}.spellbook-position-control{display:flex;align-items:center;gap:7px;white-space:nowrap}.spellbook-preview-header{display:grid;grid-template-columns:auto auto 1fr;align-items:start;gap:16px;margin-bottom:12px}.spellbook-preview-title{min-width:110px}.spellbook-preview-title h2{margin:2px 0 4px}.spellbook-preview-meta{margin:0}.spellbook-save-image-button{align-self:center}.resize-options{position:relative;display:inline-flex;align-items:center}.spellbook-preview-tools{position:absolute;top:calc(100% + 8px);left:-35px;width:max-content;min-width:130px;padding:10px 12px;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:14px;box-shadow:0 8px 24px #0000001f;display:none;z-index:20}.spellbook-preview-tools.is-open{display:block}.spellbook-preview-tools:before{content:"";position:absolute;top:-6px;left:45px;width:10px;height:10px;background:#fff;border-left:1px solid rgba(0,0,0,.12);border-top:1px solid rgba(0,0,0,.12);transform:rotate(45deg)}.spellbook-secondary-button.is-open{color:var(--spellbook-muted)}.spellbook-artwork-controls label{width:100px;min-width:0;display:flex;flex-direction:column;gap:2px}.spellbook-artwork-controls label span{font-size:.8rem;white-space:nowrap}.spellbook-artwork-controls input[type=range]{width:100px;min-width:0;height:6px;margin:0;-moz-appearance:none;appearance:none;-webkit-appearance:none;border-radius:999px;background:#ddd;cursor:pointer}.spellbook-artwork-controls input[type=range]::-webkit-slider-thumb{width:16px;height:16px;-moz-appearance:none;appearance:none;-webkit-appearance:none;border:2px solid #1f1f1f;border-radius:50%;background:#fff;cursor:pointer}.spellbook-artwork-controls input[type=range]::-moz-range-thumb{width:16px;height:16px;border:2px solid #1f1f1f;border-radius:50%;background:#fff;cursor:pointer}.spellbook-artwork-controls .hidden{display:none}.spellbook-reset-art-button.input-button{align-self:end;white-space:nowrap;padding:5px}.spellbook-appearance-toggle{display:none}.spellbook-search{position:relative}.spellbook-search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);pointer-events:none;opacity:.65}.spellbook-search input{padding-left:48px}.spellbook-desktop-collections{display:grid}.spellbook-mobile-tabs,.spellbook-mobile-collection,.spellbook-mobile-results-header{display:none}@media(max-width:1020px){.spellbook-workspace{grid-template-columns:50% auto}.spellbook-collection-column{position:static;height:calc(100dvh - 100px);grid-template-columns:1fr 1fr;font-size:.6rem}.spellbook-panel{height:100%;min-height:0}}@media(max-width:768px){.spellbook-saved-workspace.editor-grid{grid-template-columns:1fr}.spellbook-page{gap:12px}.spellbook-preview-card .custom-card-options{display:block;text-align:center}.spellbook-page .canvas-actions{top:12px;right:15px}.spellbook-page-header{flex-direction:column;align-items:flex-start;gap:12px}.spellbook-header-actions{width:100%;flex-wrap:wrap}.spellbook-custom-button{min-height:40px}.custom-spell-grid{grid-template-columns:1fr 1fr}.spellbook-summary{display:none}.spellbook-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.spellbook-mobile-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px;border:1px solid var(--shell-border, #dedbd5);border-radius:10px;overflow:hidden;background:var(--shell-panel, #fff)}.spellbook-mobile-tab{min-width:0;min-height:54px;padding:9px 12px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;color:var(--shell-text, #252525);font:inherit;font-size:.86rem;cursor:pointer}.spellbook-mobile-tab+.spellbook-mobile-tab{border-left:1px solid var(--shell-border, #dedbd5)}.spellbook-mobile-tab strong{color:var(--shell-accent, #1184a4);font-size:.84rem}.spellbook-mobile-tab.active{background:var(--shell-accent-soft, #e5f3f7);color:var(--shell-accent, #1184a4);font-weight:700}.spellbook-mobile-library-title{font-weight:700}.spellbook-mobile-library-meta{display:flex;align-items:center;gap:8px;font-size:.9rem;opacity:.7}.spellbook-toolbar{margin-top:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border:1px solid var(--shell-border, #dedbd5);border-radius:12px;background:var(--shell-panel, #fff)}.spellbook-search{grid-column:1 / -1}.spellbook-toolbar label{min-width:0}.spellbook-toolbar select{width:100%}.spellbook-clear-button{grid-column:1 / -1}.spellbook-desktop-collections{display:none}.spellbook-mobile-collection{display:block;min-width:0;width:100%;height:100%;max-height:50vh;overflow-y:auto;overscroll-behavior-y:auto}.spellbook-mobile-collection>*{width:100%;max-width:none}.spellbook-workspace{grid-template-columns:minmax(0,1fr);gap:18px}.spellbook-collection-column{grid-template-columns:1fr}.spellbook-preview{width:100%;min-width:0}.spellbook-preview-card{position:relative}.spellbook-preview-header{grid-template-columns:1fr;align-items:flex-start}.spellbook-canvas-frame,.spellbook-position-control{width:100%}.spellbook-appearance{display:none;position:static;top:auto;right:auto;width:100%}.spellbook-appearance.is-open{display:block}.spellbook-appearance-row{justify-content:center;padding:0;text-align:center}.spellbook-appearance-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:4px;padding:10px 12px;background:transparent;border:0;cursor:pointer;font:inherit;font-weight:600;text-align:left}.spellbook-toggle-chevron{display:inline-block;font-size:.75rem;transition:transform .2s ease}.spellbook-appearance-toggle.is-open .spellbook-toggle-chevron{transform:rotate(180deg)}}@media(max-width:520px){.spellbook-toolbar{grid-template-columns:1fr}.spellbook-search,.spellbook-clear-button{grid-column:auto}.spellbook-primary-button{width:100%}.custom-spell-grid{grid-template-columns:1fr}.custom-spell-wide{grid-column:auto}}@media(max-width:420px){.spellbook-mobile-tab{padding-left:8px;padding-right:8px;font-size:.8rem}.spellbook-toolbar{padding:10px;gap:8px}}.spellbook-combat-filter{display:inline-flex;align-items:center;gap:.45rem;white-space:wrap;font-size:.75rem}.spell-description-toggle{align-self:flex-start;margin:0 0 8px}.spell-description-toggle>span{display:inline-flex;align-items:center;padding:0 10px;border-right:1px solid #ddd;color:#666;font-size:12px;font-weight:700;background:#fafafa}.spell-description-toggle button{width:auto;padding:8px 11px;font-size:12px}.spell-description-toggle button:last-child{border-top-right-radius:9px;border-bottom-right-radius:9px}.spellbook-combat-filter input{width:1rem;height:1rem;accent-color:var(--shell-accent)}.spellbook-canvas-frame.mini-card-frame{width:min(75%,458px);max-width:75%;overflow:visible}.spellbook-canvas-frame.mini-card-frame .spellbook-canvas-wrapper{display:block;width:100%}.spellbook-canvas-frame.mini-card-frame canvas{display:block;width:100%;height:auto;max-width:100%;max-height:none;aspect-ratio:5 / 7}.spell-custom-text-editor{position:absolute;z-index:20;display:block;width:min(100%,680px);margin-top:10px;padding:8px;color:var(--shell-text);font-size:.86rem;background:var(--shell-panel);border:1px solid var(--shell-border);border-radius:9px;box-shadow:0 4px 18px #00000040}.spell-custom-text-body{display:grid;gap:6px;min-width:0}.spell-custom-text-editor .text-formatting-toolbar{padding-right:30px}.spell-custom-text-close{position:absolute;top:6px;right:6px;z-index:2;display:grid;place-items:center;width:26px;height:26px;min-width:26px;min-height:26px;padding:0;color:var(--shell-muted);background:transparent;border:0;border-radius:6px;cursor:pointer}.spell-custom-text-close:hover{color:var(--shell-text);background:var(--shell-accent-soft)}.spell-custom-text-close:focus-visible{outline:2px solid var(--shell-accent);outline-offset:1px}.spell-custom-text-body>small{display:block;color:var(--shell-muted);font-size:.75rem;font-weight:400;line-height:1.35}.spell-custom-text-clear{width:auto;padding:0;border:0;background:transparent;color:var(--shell-muted);font:inherit;font-size:.75rem;font-weight:600;cursor:pointer}.spell-text-source-option{display:inline-flex;align-items:stretch}.spell-text-source-option>button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.spell-text-copy{display:inline-grid;place-items:center;width:32px;padding:0;border-left:1px solid var(--shell-border);border-top-left-radius:0;border-bottom-left-radius:0;color:var(--shell-muted)}.spell-text-copy:hover{color:var(--shell-accent)}.spell-custom-text-clear:hover{color:var(--danger, #c83b3b);text-decoration:underline}.spell-description-toggle .card-style-toolbar button{display:inline-flex}.custom-text-trigger{display:inline-flex;align-items:center;gap:5px}.spell-form-section .card-style-toolbar{display:flex;flex-wrap:wrap;max-width:100%;gap:0;border:1px solid var(--shell-border);border-radius:9px 9px 0 0;margin:5px auto 0}.spell-custom-text-chevron{transition:transform .16s ease}.custom-text-trigger.is-open .spell-custom-text-chevron{transform:rotate(180deg)}.spell-custom-text-editor textarea{width:100%;min-height:120px;padding:10px 12px;resize:vertical;border:1px solid var(--shell-border);border-radius:var(--shell-radius-sm);background:var(--shell-panel);color:var(--shell-text);font:inherit;font-weight:400;line-height:1.45}.spell-custom-text-editor small{color:var(--shell-muted);font-weight:400}.spell-text-source-badge{display:inline-flex;align-items:center;gap:5px;width:fit-content;margin:4px 0 10px auto;padding:4px 8px;border:1px solid var(--shell-border);border-radius:999px;background:var(--shell-panel-soft);color:var(--shell-muted);font-size:.76rem;font-weight:600}.spell-text-source-badge.is-custom{color:var(--shell-accent);border-color:currentColor}.spellbook-spell-name{display:inline-flex;align-items:center;gap:6px}.spellbook-edited-text-icon{flex:0 0 auto;color:var(--shell-accent)}.booklet{--spellbook-surface: var(--panel-bg, rgba(255, 255, 255, .04));--spellbook-surface-strong: var(--input-bg, rgba(95, 151, 211, .102));--spellbook-border: var(--border-color, rgba(127, 127, 127, .28));--spellbook-text: var(--text-color, inherit);--spellbook-muted: var(--muted-text, rgba(127, 127, 127, .9));--spellbook-accent: var(--accent-color, currentColor);--color-confirm: var(--text-color, rgb(184, 11, 11));--spellbook-nav: var(--shell-accent, currentColor);width:100%;display:grid;gap:0;color:var(--spellbook-text)}.page-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-end}.page-info p{margin:5px 0}.page-info h1{font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.05;margin:0}.page-eyebrow{margin:0 0 5px!important;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.6}.page-subtext{max-width:800px;opacity:.72}.info-stats{display:flex;align-items:center;gap:10px}.input-button.button-create-custom,.button-create-custom{background:var(--shell-accent-button-bg);color:var(--shell-accent-button-text);border-color:#1f1f1f;font-weight:700;min-height:40px;border:1px solid var(--shell-border);border-radius:9px;padding:3px 15px;white-space:nowrap;font-size:.75rem;opacity:.9}.input-button.button-create-custom:hover,.button-create-custom:hover{background:var(--shell-accent-button-bg);color:var(--shell-accent-button-text);opacity:1}.page-calculated-summary{display:flex;border:1px solid var(--shell-border);border-radius:12px;overflow:hidden;flex:0 0 auto}.page-calculated-summary span{min-width:88px;padding:10px 14px;display:grid;text-align:center}.page-calculated-summary span+span{border-left:1px solid var(--shell-border)}.page-calculated-summary strong{font-size:1.05rem}.page-calculated-summary small{margin-top:1px;opacity:.62}.page-navigation{display:flex;align-items:center;margin-top:5px}.page-subnav{display:inline-flex;gap:0;overflow:hidden;border-radius:10px;background:transparent;height:100%;color:var(--shell-accent)}.nav-tab.end-tab-right,.flex-end-right{margin-left:auto;border-right:0;margin-right:15px}.style-folder-tabs{display:flex;gap:6px;padding:0 10px}.style-folder-tabs .nav-tab{border:1px solid var(--shell-accent);border-bottom:0;background:var(--shell-panel-soft);color:var(--shell-text);font:inherit;font-size:1rem;font-weight:700;padding:5px 20px;border-radius:12px 12px 0 0;cursor:pointer;transition:background .15s,color .15s;position:relative;top:1px}.style-folder-tabs .nav-tab:hover{color:var(--shell-accent)}.style-folder-tabs .nav-tab.active{background:var(--shell-accent-soft);color:var(--shell-accent)}.style-folder-tabs .nav-tab:focus-visible{outline:2px solid var(--shell-accent);outline-offset:3px}.page-workspace{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;min-width:0;border:1px solid var(--shell-border);border-radius:14px;padding:10px 0 15px 10px}.page-toolbar{padding:10px 10px 0;background:var(--shell-surface)}.page-toolbar .row{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:center}.page-toolbar select{width:100%}.page-toolbar input,.page-toolbar select,.page-toolbar .clear-button,.page-toolbar .primary-button{min-height:40px;border:1px solid var(--shell-border);border-radius:9px;color:inherit;font:inherit}.content-search{position:relative}.content-search input,input.content-search{width:100%;background:var(--spellbook-surface-strong);padding:0 11px 0 48px}.content-search .clear-button{grid-column:1 / -1}.search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);pointer-events:none;opacity:.65}label.content-filter,.content-filter label{display:block;margin:0 0 5px 2px;font-weight:700;opacity:.65}.content-filter{display:inline-flex;align-items:center;gap:.45rem;white-space:nowrap;font-size:.9rem}.content-filter select{width:100%;padding:0 11px;background:var(--spellbook-surface-strong)}.supplemental-row{display:flex;gap:10px;min-height:66px;padding:5px 14px;align-items:center}.add-browse,.preview-only{display:inline-block;font-size:.7rem;margin:0 10px;text-align:center}.add-browse.is-disabled{opacity:.45;cursor:not-allowed}.add-browse.is-disabled .toggle-onoff,.add-browse.is-disabled .toggle-onoff *{cursor:not-allowed}.content-row-flex{display:flex}.main-content{padding:5px 10px 20px}.booklet .supplemental-row{align-items:center;display:flex;flex:1 1 1 auto;grid-template-columns:auto auto auto auto;gap:3px}@media(max-width:768px){.combat-page-header,.combat-page-header .page-info-aside{width:100%;min-width:0;box-sizing:border-box}.combat-page-header .page-info-aside{margin-left:0}.combat-page-header .info-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.combat-page-header .info-stats>.button-create-custom{min-width:0;width:100%;white-space:normal}.combat-page-header .page-calculated-summary{grid-column:1 / -1;display:flex;min-width:0;width:100%}.combat-page-header .page-calculated-summary>span{min-width:0;flex:1;padding:8px 4px}.booklet,.page-header,.page-navigation{display:block;font-size:.75rem;position:relative}.page-subnav{margin-top:5px}header .nav-tab .info-stats>.button-create-custom{min-width:0;width:100%;max-width:50vw;white-space:normal}.page-navigation .nav-tab{padding:3px 7px}.page-calculated-summary{margin-left:auto;border-right:0;margin-right:15px}.page-workspace,.main-content{min-width:0;max-width:100%;box-sizing:border-box}.page-workspace{padding:10px}.preview-card,.preview-stack,.canvas-stage,.form-panel{min-width:0;max-width:100%}.card-style-toolbar{display:flex;justify-content:center;max-width:100%}.character-card-toolbar{min-width:0}}.combat-continuation-preview canvas{display:block;width:100%;height:auto}.combat-extra-attacks{display:grid;gap:1rem}.combat-extra-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.combat-extra-entry{display:grid;gap:.7rem;padding:.5rem;border:1px solid var(--border-color, #aaa);border-radius:.6rem}.collapsible-form-group{min-width:0}.field-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-width:0;font-size:.9rem}.field-heading-toggle{display:inline-flex;align-items:center;gap:.4rem;border:0;padding:.35rem .2rem;background:transparent;color:inherit;font:inherit;font-weight:700;text-align:left;cursor:pointer}.field-heading-toggle:hover{color:var(--accent-color, #70b6d0)}.field-heading-chevron{flex:none;transition:transform .15s ease;transform:rotate(-90deg)}.field-heading-chevron.is-open{transform:rotate(0)}.field-heading-actions{min-width:0}.combat-extra-entry .form-fields.combat-extra-fields{display:grid;gap:.7rem;min-width:0}.fields-combat>.collapsible-form-group{margin-bottom:.75rem}.fields-combat>.collapsible-form-group>.field-heading{border-bottom:1px solid var(--border-color, #aaa);margin-bottom:.35rem}.fields-combat .form-fields.group-combat-stats,.fields-combat .form-fields.group-death-saves{display:grid;gap:6px;min-width:0}@media(min-width:769px){.fields-combat .form-fields.group-combat-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}.fields-combat .form-fields.group-combat-stats>.field-type-textarea{grid-column:1 / -1}.combat-extra-entry input:not([type=checkbox]),.combat-extra-entry textarea{width:100%;box-sizing:border-box}.combat-extra-types{display:flex;gap:1rem;flex-wrap:wrap}.combat-extra-types label{display:flex;align-items:center;gap:.35rem}.combat-extra-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.combat-damage-field{display:grid}.combat-damage-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,2fr);gap:.45rem;align-items:center}.combat-damage-inputs label{min-width:0}.combat-damage-inputs>span{font-weight:700}.combat-death-save-row{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-width:0;padding:.35rem 0}.combat-death-save-circles{display:flex;align-items:center;gap:1rem}.combat-death-save-circles label{display:grid;place-items:center;cursor:pointer}.combat-death-save-circles input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:22px;height:22px;margin:0;border:2px solid var(--shell-accent, #444);border-radius:50%;background:transparent;cursor:pointer}.combat-death-save-circles input:checked{background:var(--shell-accent, #444)}.combat-death-save-circles input:focus-visible{outline:2px solid var(--shell-accent, #444);outline-offset:3px}.combat-attack-artwork{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.combat-individual-preview{margin:auto;max-width:600px}.combat-individual-preview.mini-preview{max-width:430px}.combat-individual-actions{display:flex;justify-content:space-between;gap:.5rem;margin-bottom:.75rem}@media(max-width:500px){.combat-extra-stats{grid-template-columns:1fr}.booklet .supplemental-row{display:grid;grid-template-columns:auto auto;align-content:center}.booklet .supplemental-row .search-result-stats{grid-column:-1 / 1;margin:0 auto}.catalog-view-options.card-style-toolbar{grid-column:-1 / 1;margin:5px auto}}.feat-saved-list,.spellbook-panel .spellbook-list{flex:1;min-height:0;overflow-y:auto;padding:0;max-height:260px;border:1px solid var(--spellbook-border);border-radius:14px}.feat-saved-list{border:1px solid var(--spellbook-border)}.catalog-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#0000009e}.catalog-preview-modal{width:min(760px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:14px;border:1px solid var(--shell-border);border-radius:12px;background:var(--shell-panel);box-shadow:0 20px 60px #00000059}.catalog-preview-modal>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.catalog-preview-modal>header h2{margin:0;font-size:1rem}.catalog-preview-close{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:7px;background:transparent;color:inherit;cursor:pointer}.catalog-preview-close:hover{background:var(--shell-hover-bg)}.catalog-preview-canvas{display:block;width:auto;max-width:100%;max-height:calc(100vh - 120px);margin:0 auto;object-fit:contain}.app-footer{width:100%;margin-top:48px;border-top:1px solid var(--shell-border);background:var(--shell-bg)}.app-footer-inner{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:38px 0 28px}.app-footer-main{display:grid;grid-template-columns:minmax(420px,1.35fr) minmax(440px,1fr);gap:52px;align-items:start}.app-footer-intro{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(230px,1.2fr);gap:32px;min-width:0}.app-footer-brand{display:flex;align-items:flex-start;gap:16px;min-width:0}.app-footer-mascot{width:58px;height:58px;flex:0 0 auto;object-fit:contain}.app-footer-brand h2{margin:0 0 6px;font-size:1rem;line-height:1.25;color:var(--shell-text)}.app-footer-description,.app-footer-about p{margin:0;font-size:.86rem;line-height:1.6;color:var(--shell-muted)}.app-footer-about{min-width:0}.app-footer-about .app-footer-credit{margin-top:10px;font-weight:700;color:var(--shell-text)}.app-footer-links{display:grid;grid-template-columns:minmax(175px,.8fr) minmax(210px,1.2fr);gap:28px;min-width:0}.app-footer-link-group{min-width:0}.app-footer-link-heading{display:block;margin-bottom:10px;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--shell-muted)}.app-footer-actions{display:grid;gap:8px}.app-footer-button{width:100%;min-height:48px;padding:9px 12px;display:grid;grid-template-columns:18px minmax(0,1fr) 13px;align-items:center;gap:8px;border:1px solid var(--shell-border);border-radius:10px;background:var(--shell-panel);color:var(--shell-text);font-size:.84rem;font-weight:650;line-height:1.25;text-decoration:none}.app-footer-button:hover{border-color:var(--shell-accent)}.app-footer-button-tip{color:var(--shell-accent)}.app-footer-external{opacity:.55}.app-footer-shop{padding-left:28px;border-left:1px solid var(--shell-border)}.app-footer-shop-description{max-width:300px;margin:0 0 9px;font-size:.86rem;line-height:1.55;color:var(--shell-muted)}.app-footer-shop-link{display:inline-flex;align-items:center;gap:6px;font-size:.9rem;font-weight:650;color:var(--shell-accent);text-decoration:none}.app-footer-shop-link:hover{text-decoration:underline}.app-footer-legal{max-width:760px;margin:34px auto 0;padding-top:22px;border-top:1px solid var(--shell-border);text-align:center;color:var(--shell-muted)}.app-footer-legal p{margin:2px 0;font-size:.72rem;line-height:1.5}@media(max-width:1000px){.app-footer-main{grid-template-columns:1fr;gap:30px}.app-footer-intro{grid-template-columns:minmax(240px,.8fr) minmax(300px,1.2fr)}.app-footer-links{grid-template-columns:minmax(220px,.8fr) minmax(260px,1.2fr)}.app-footer-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.app-footer{margin-top:36px}.app-footer-inner{width:min(100% - 32px,1180px);padding:30px 0 24px}.app-footer-main,.app-footer-intro,.app-footer-links{grid-template-columns:1fr}.app-footer-main{gap:28px}.app-footer-intro{gap:18px}.app-footer-brand{gap:14px}.app-footer-mascot{width:52px;height:52px}.app-footer-about{padding-left:0}.app-footer-links{gap:24px}.app-footer-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.app-footer-shop{padding:20px 0 0;border-left:0;border-top:1px solid var(--shell-border)}.app-footer-legal{margin-top:28px;padding-top:20px}}@media(max-width:420px){.app-footer-actions{grid-template-columns:1fr}.app-footer-button{min-height:44px}}button.app-footer-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;text-align:left;cursor:pointer}.updates-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;display:grid;place-items:center;padding:24px;background:#00000094;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.updates-modal{width:min(900px,100%);max-height:min(820px,calc(100vh - 48px));overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--shell-border);border-radius:16px;background:var(--shell-panel);color:var(--shell-text);box-shadow:0 24px 70px #00000047}.updates-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 26px 20px;border-bottom:1px solid var(--shell-border)}.updates-kicker,.updates-date{color:var(--shell-accent);font-size:.72rem;font-weight:750;letter-spacing:.07em;text-transform:uppercase}.updates-header h2{margin:4px 0 5px;font-size:1.55rem}.updates-header p{margin:0;color:var(--shell-muted);font-size:.9rem}.updates-close{flex:0 0 auto;display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--shell-border);border-radius:10px;background:var(--shell-bg);color:var(--shell-text);cursor:pointer}.updates-close:hover,.updates-close:focus-visible{border-color:var(--shell-accent);color:var(--shell-accent)}.updates-content{overflow-y:auto;padding:24px 26px 30px}.updates-entry-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.updates-entry-heading h3{margin:3px 0 0;font-size:1.15rem}.updates-badge{padding:4px 8px;border:1px solid var(--shell-accent);border-radius:999px;color:var(--shell-accent);font-size:.68rem;font-weight:700}.updates-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.updates-section{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;padding:16px;border:1px solid var(--shell-border);border-radius:12px;background:var(--shell-bg)}.updates-section>svg{margin-top:1px;color:var(--shell-accent)}.updates-section h4{margin:0 0 8px;font-size:.9rem}.updates-section ul{margin:0;padding-left:17px;color:var(--shell-muted);font-size:.8rem;line-height:1.5}.updates-section li+li{margin-top:5px}.updates-section strong{color:var(--shell-text)}.updates-section-wide{grid-column:1 / -1}@media(max-width:650px){.updates-backdrop{padding:10px;align-items:end}.updates-modal{max-height:calc(100vh - 20px);border-radius:16px 16px 10px 10px}.updates-header{padding:19px 18px 16px}.updates-content{padding:18px}.updates-grid{grid-template-columns:1fr}.updates-section-wide{grid-column:auto}}.quick-search-control{position:relative}.quick-search-trigger{min-height:38px;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--shell-border);border-radius:8px;background:var(--shell-panel);color:var(--shell-text);cursor:pointer;font:inherit;transition:border-color .15s ease,color .15s ease,box-shadow .15s ease}.quick-search-trigger kbd{margin-left:2px;padding:2px 5px;border:1px solid var(--shell-border);border-radius:5px;color:var(--shell-muted);font-size:10px;font-family:inherit;font-weight:600}@media(hover:hover){.quick-search-trigger:hover{border-color:var(--shell-accent);color:var(--shell-accent);box-shadow:var(--shell-shadow)}}.quick-search-trigger:focus-visible{outline:2px solid var(--shell-accent);outline-offset:2px;border-color:var(--shell-accent);color:var(--shell-accent)}.quick-search-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1500;display:flex;justify-content:center;align-items:flex-start;padding:min(14vh,120px) 18px 24px;background:#0000007a}.quick-search-modal{width:min(680px,100%);max-height:min(72vh,720px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--shell-border);border-radius:14px;background:var(--shell-panel);color:var(--shell-text);box-shadow:0 20px 60px #00000047}.quick-search-header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:13px 14px;border-bottom:1px solid var(--shell-border)}.quick-search-header>svg{color:var(--shell-accent)}.quick-search-header input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--shell-text);font:inherit;font-size:17px}.quick-search-header input::placeholder{color:var(--shell-muted)}.quick-search-results{overflow-y:auto;padding:8px;overscroll-behavior:contain}.quick-search-result{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) minmax(100px,auto);align-items:center;gap:8px;padding:9px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--shell-text);text-align:left;cursor:pointer}.quick-search-result.active{border-color:var(--shell-accent);background:var(--shell-accent-soft, rgba(120, 100, 80, .1))}.quick-search-result-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;background:var(--shell-input-bg, var(--shell-panel));color:var(--shell-accent)}.quick-search-result-copy,.quick-search-result-profile{min-width:0;display:flex;flex-direction:column}.quick-search-result-copy strong,.quick-search-result-copy small,.quick-search-result-profile{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-search-result-copy small,.quick-search-result-profile{color:var(--shell-muted);font-size:12px}.quick-search-value{display:block;margin-top:3px;overflow:hidden;color:var(--shell-text);font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap;opacity:.82}.quick-search-result-profile{align-items:flex-end;text-align:right}.quick-search-result-profile em{color:var(--shell-accent);font-size:10px;font-style:normal;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.quick-search-empty{display:flex;flex-direction:column;gap:5px;padding:34px 22px;color:var(--shell-muted);text-align:center}.quick-search-empty strong{color:var(--shell-text)}.quick-search-footer{display:flex;gap:16px;padding:9px 14px;border-top:1px solid var(--shell-border);color:var(--shell-muted);font-size:11px}.quick-search-footer span{display:inline-flex;align-items:center;gap:4px}.quick-search-footer kbd{padding:1px 5px;border:1px solid var(--shell-border);border-radius:4px;background:var(--shell-input-bg, var(--shell-panel));color:var(--shell-text);font-family:inherit}@media(max-width:720px){.quick-search-trigger span,.quick-search-trigger kbd{display:none}.quick-search-trigger{width:38px;justify-content:center;padding:7px}.quick-search-backdrop{padding:68px 10px 16px}.quick-search-modal{max-height:calc(100vh - 84px)}.quick-search-result{grid-template-columns:34px minmax(0,1fr)}.quick-search-result-profile{grid-column:2;align-items:flex-start;flex-direction:row;gap:6px;text-align:left}.quick-search-footer{display:none}}.notes-book>.page-header{margin-bottom:20px}.notes-book-layout{min-height:300px;grid-template-columns:minmax(0,1fr) minmax(300px,375px);gap:28px}.notes-book-panel{min-width:0;padding:20px;display:grid;align-content:start;gap:16px}.notes-book-panel h2{margin:0}.notes-book-list{display:grid;align-content:start;gap:6px}.additional-card-sheet-reorder{display:grid;gap:6px}.notes-book-list-row .notes-book-drag{display:grid;place-items:center;flex:0 0 34px;border-right:1px solid var(--shell-border,#ddd);cursor:grab;touch-action:none}.notes-book-list-row .notes-book-drag.is-dragging{cursor:grabbing;color:var(--shell-accent,#167c9e);background:#167c9e1f}.notes-book-list-row{min-width:0;display:flex;border:1px solid var(--shell-border,#ddd);border-radius:8px;background:var(--shell-panel,#fff);overflow:hidden}.notes-book-list-row:hover{border-color:var(--shell-accent)}.notes-book-list-row.active{border-color:var(--shell-accent,#167c9e);background:color-mix(in srgb,var(--shell-accent,#167c9e) 9%,white)}.notes-book-list-row button{border:0;background:transparent;cursor:pointer;color:inherit}.notes-book-list-row .notes-book-select{min-width:0;flex:1;text-align:left;padding:12px}.notes-book-list-row .notes-book-select span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-book-list-row .notes-book-move,.notes-book-list-row .notes-book-remove{display:grid;place-items:center;flex:0 0 38px;border-left:1px solid var(--shell-border,#ddd)}.notes-book-list-row .notes-book-move:hover:not(:disabled){color:var(--shell-accent,#167c9e);background:#167c9e12}.notes-book-list-row .notes-book-move:disabled{cursor:not-allowed;opacity:.35}.notes-book-list-row .notes-book-move:focus-visible,.notes-book-list-row .notes-book-remove:focus-visible{outline:2px solid var(--shell-accent,#167c9e);outline-offset:-3px}.notes-book-list-row .notes-book-remove:hover{color:var(--shell-confirm);background-color:var(--shell-confirm-bg)}.notes-book-editor{min-width:0;display:grid;align-content:start;gap:16px}.notes-book-title-field{display:grid;gap:5px}.notes-book-title-label{display:flex;align-items:center;justify-content:space-between;gap:8px}.notes-book-title-field input{width:100%;min-width:0;padding:10px;border:1px solid var(--shell-border,#ddd);border-radius:7px;color:inherit;background:var(--shell-panel,#fff);font:inherit}.notes-panel-heading{margin-bottom:0;text-align:left}.notes-book-layout>div:first-child{min-width:0}.notes-book-preview{position:relative;width:100%;min-width:0;margin:0 auto;max-width:600px}.notes-book-preview canvas{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:1200 / 1560}.notes-book-preview .canvas-actions{position:absolute;top:12px;right:12px;z-index:2}@media(max-width:768px){.notes-book>.page-header{align-items:flex-start}.notes-book-layout{grid-template-columns:minmax(0,1fr);gap:18px}.notes-book-list{display:grid}.notes-book-list-row{max-width:none}}.card-selection-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:grid;place-items:center;padding:16px;background:#0000008c}.card-selection-dialog{width:min(700px,100%);max-height:min(90vh,900px);display:flex;flex-direction:column;gap:14px;background:var(--shell-panel,#fff);border-radius:14px;padding:20px;color:var(--shell-text,#222)}.card-selection-dialog>header{display:flex;justify-content:space-between;gap:14px}.card-selection-dialog h2{margin:0 0 5px}.card-selection-dialog p{margin:0}.card-selection-shortcuts{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.card-selection-shortcuts button{border:0;background:none;color:var(--shell-accent,#167c9e);cursor:pointer;text-decoration:underline}.card-selection-shortcuts span{margin-left:auto}.card-selection-list{overflow:auto;border:1px solid var(--shell-border,#ddd);border-radius:9px;padding:14px}.card-selection-list section+section{border-top:1px solid var(--shell-border,#ddd);margin-top:12px;padding-top:12px}.card-selection-list label{display:flex;align-items:center;gap:9px;cursor:pointer;padding:5px 0}.card-selection-list input{accent-color:var(--shell-accent,#167c9e)}.card-selection-group{font-weight:700}.card-selection-section{margin-left:20px}.card-selection-section>label{font-weight:600}.card-selection-section>div{margin-left:22px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 12px}.card-selection-dialog footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.card-selection-error{color:#ac2020}.card-selection-text-source{display:block;color:var(--shell-muted,#777);font-size:.78em;line-height:1.3}@font-face{font-family:PlayerHand;src:local("Comic Sans MS");font-display:swap}@font-face{font-family:CardNumbers;src:local("Georgia");font-display:swap}@font-face{font-family:Uncial Antiqua;src:url(/fonts/UncialAntiqua-Regular.ttf) format("truetype");font-display:swap}@font-face{font-family:Fontin;src:url(/fonts/Fontin-Regular.otf) format("opentype");font-display:swap}@font-face{font-family:Fontin;src:url(/fonts/Fontin-Italic.otf) format("opentype");font-style:italic;font-display:swap}@font-face{font-family:Fontin SmallCaps;src:url(/fonts/Fontin-SmallCaps.otf) format("opentype");font-display:swap}:root{font-size:15px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#fdf8f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}label.hide,label .sr-only{min-width:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}.wrap{white-space:wrap}.nowrap{white-space:nowrap}.justify-center{justify-self:center;justify-content:center}.danger{color:var(--shell-danger);background:transparent;border:none}.input-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 13px;border:1px solid var(--shell-border);border-radius:10px;background:var(--shell-bg);cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .08s ease,box-shadow .15s ease}.input-button:hover{background:var(--shell-bg);border-color:var(--shell-border)}.input-button:active{background:var(--shell-bg);transform:translateY(1px)}.input-button:focus-visible{outline:2px solid var(--shell-muted);outline-offset:2px}.input-button.secondary{padding:2px 8px}.toggle-onoff{align-content:center;width:75px;text-align:-webkit-center}.toggle-onoff input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.toggle-onoff .toggle-track{position:relative;display:block;width:60px;height:25px;border:1px solid var(--shell-border);border-radius:999px;background:var(--shell-muted);box-shadow:var(--shell-shadow);transition:background .25s ease}.toggle-onoff .toggle-knob{position:absolute;top:2px;left:2px;width:19px;height:19px;border-radius:50%;background:var(--shell-bg);border:1px solid var(--shell-border);box-shadow:var(--shell-shadow);transition:transform .25s ease}.toggle-onoff .toggle-label{position:absolute;top:50%;transform:translateY(-50%);color:var(--shell-panel);font:700 11px Arial,sans-serif;-webkit-user-select:none;user-select:none}.toggle-onoff .on{left:8px;opacity:0}.toggle-onoff .off{right:5px;opacity:1}.toggle-onoff input:checked+.toggle-track{background:var(--shell-accent-button-bg)}.toggle-onoff input:checked+.toggle-track .toggle-knob{transform:translate(35px)}.toggle-onoff input:checked+.toggle-track .on{opacity:1}.toggle-onoff input:checked+.toggle-track .off{opacity:0}.download-button{min-height:32px;padding:5px 8px;font-size:.75rem}.icon-only{padding:5px}.icon-text{display:flex;gap:5px;align-items:end}.reset-button{color:var(--shell-confirm)}.reset-button:hover{color:var(--shell-confirm);border-color:var(--shell-confirm);background:var(--shell-confirm-bg)}.coming-soon-badge{margin-left:4px;padding:2px 5px;border:1px solid currentColor;border-radius:999px;font-size:.58rem;font-weight:700;line-height:1;opacity:.55;white-space:nowrap}.view-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:10px}.view-grid .catalog-item+.catalog-item{margin-top:0}.view-grid .catalog-item{min-height:82px;border-color:var(--spellbook-border);background:var(--spellbook-surface)}.catalog-item-button{display:flex;gap:5px;align-items:center;flex:1 1 auto;min-width:0;padding:9px 10px;border:0;background:var(--shell-panel);color:inherit;text-align:left;cursor:pointer}.view-grid .catalog-action-button{padding:12px}.view-grid .catalog-thumb{width:56px;height:56px}.view-minimal{display:grid;gap:5px;max-height:68vh;overflow:auto;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.view-minimal .catalog-item{min-height:64px}.view-list .catalog-item{min-height:35px;place-items:center}.view-list .catalog-item .catalog-info{display:flex;gap:10px}.catalog-thumb{display:none;width:44px;height:44px;flex:0 0 44px;place-items:center;overflow:hidden;border-radius:8px;background:var(--spellbook-surface-strong);opacity:.62}.catalog-thumb.has-artwork{display:inline-block}.catalog-thumb img{width:100%;height:100%;object-fit:cover;display:block}.catalog-name,.catalog-meta{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catalog-name{font-weight:700;font-size:.88rem;white-space:wrap;display:inline-flex;align-items:center;gap:6px}.catalog-meta{margin-top:2px;font-size:.72rem;opacity:.58;white-space:wrap}.catalog-remove-button,.catalog-edit-button{min-width:38px;border:0;border-left:1px solid transparent;background:transparent;cursor:pointer;color:var(--shell-confirm)}.catalog-edit-button{color:var(--shell-accent)}.catalog-remove-button:hover{background-color:var(--shell-confirm-bg)}.catalog-item{display:flex;align-items:stretch;border:1px solid transparent;border-radius:12px;overflow:hidden;text-align:left;border:1px solid var(--shell-border);width:100%;min-width:0;min-height:92px;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease,transform .1s ease}.catalog-item:hover{border:1px solid var(--shell-accent)}.catalog-item:hover input[type=number]{background-color:var(--shell-panel)}.catalog-action-button{min-width:38px;border:0;color:var(--shell-text);background:var(--shell-panel);border-left:1px solid var(--shell-border);cursor:pointer;display:grid;place-content:center;line-height:1;font-weight:800;transition:color .15s ease,background-color .15s ease;padding:9px 10px}.catalog-action-button{flex:0 0 38px;align-self:stretch;padding:0}.catalog-action-button:disabled{opacity:.38;cursor:default}.catalog-item .catalog-remove-button{border-left:1px solid var(--spellbook-border)}.catalog-item .catalog-action-button .lucide-check{color:var(--shell-check)}.catalog-item .catalog-remove-button .lucide-trash,.catalog-item .catalog-remove-button .lucide-trash2{color:var(--shell-danger)}:is(.spellbook-list,.feat-saved-list) .catalog-item>.catalog-remove-button{align-self:stretch;display:grid;place-items:center;padding:0}:is(.spellbook-list,.feat-saved-list) .catalog-item>.catalog-remove-button:hover{background:var(--shell-confirm-bg)}:is(.spellbook-list,.feat-saved-list) .catalog-item:has(>.catalog-remove-button:hover){background:var(--spellbook-surface)}.catalog-item:hover:not(:has(.lucide-check)){background:#1184a409;border-color:var(--shell-accent, #1184a4);box-shadow:0 2px 8px #00000012}.catalog-item:hover .catalog-action-button:not(:has(.lucide-check)){color:#fff;background:var(--shell-accent, #1184a4)}.catalog[class*=view-]{max-height:calc(80vh - 200px);overflow-y:scroll}@media(max-width:1020px){.catalog-name{font-size:.7rem}.view-list .catalog-meta{font-size:.65rem;border-left:1px solid var(--shell-border);padding-left:5px}.view-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.view-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}@media(max-width:560px){.view-grid{grid-template-columns:1fr}}.catalog-item+.catalog-item{margin-top:3px}.catalog-item:hover{background:var(--spellbook-surface-strong)}.catalog-item.is-selected{border-color:var(--spellbook-accent);background:var(--spellbook-surface-strong)}.share-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:#141e1c6b;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.share-dialog{width:min(100%,520px);max-height:calc(100vh - 48px);overflow-y:auto;padding:24px;background:var(--panel-bg, #fffdf8);border:1px solid var(--shell-border, #d8d4ca);border-radius:16px;box-shadow:0 24px 60px #0000002e,0 4px 12px #00000014}.share-dialog h2{margin:0 0 8px;font-size:1.25rem}.share-dialog>p{margin:0 0 18px;font-size:.9rem;line-height:1.5;opacity:.75}.share-link-row{display:flex;align-items:stretch;width:100%;min-height:48px;background:#fff;border:1px solid var(--shell-border, #d8d4ca);border-radius:9px;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}.share-link-row:focus-within{border-color:var(--accent-color, #3f8f83);box-shadow:0 0 0 2px #3f8f831f}.share-link-icon{display:flex;align-items:center;justify-content:center;width:52px;flex-shrink:0;color:#9aaeb5;border-right:1px solid var(--shell-border)}.share-link-row input{flex:1;min-width:0;padding:0 14px;font:inherit;font-size:.85rem;color:#70858d;background:transparent;border:0;outline:0}.share-link-row input::selection{background:#3f8f832e}.share-copy-button{flex-shrink:0;min-width:90px;margin:4px;padding:0 18px;font:inherit;font-size:.85rem;font-weight:600;color:#fff;background:var(--accent-color, #3f8f83);border:0;border-radius:7px;cursor:pointer;transition:opacity .15s ease,transform .1s ease,background-color .2s ease}.share-copy-button:hover{opacity:.9}.share-copy-button:active{transform:scale(.98)}.share-copy-button.copied{background:#22b95b}.share-expiration{display:block;margin-top:10px;font-size:.78rem;opacity:.6}.share-dialog-actions{display:flex;justify-content:flex-end;margin-top:22px}.share-backup-note{display:flex;flex-direction:column;gap:3px;margin-top:16px;padding:12px 14px;font-size:.8rem;line-height:1.45;background:#3f8f8314;border:1px solid var(--shell-border);border-radius:8px}.share-backup-note span{opacity:.75}@media(max-width:600px){.share-dialog-backdrop{align-items:flex-end;padding:12px}.share-dialog{width:100%;max-height:85vh;padding:20px;border-radius:16px}}.app-shell{min-height:100vh;max-width:1440px;margin:0 auto;padding:24px}.app-header{max-width:1500px;margin:0 auto 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.app-heading h1{margin:0 0 4px;font-size:30px}.app-heading p{max-width:620px;margin:0;color:#666}.app-header-intro p{margin:4px 0 0;font-size:.85rem;line-height:1.4;opacity:.7}.header-action-buttons{display:flex;gap:8px;flex-wrap:wrap}.header-reset{display:flex;align-items:center;padding-left:16px;border-left:1px solid var(--shell-border)}.character-data-panel{padding:10px 12px;border:1px solid var(--shell-border);border-radius:10px;background:#ffffff73}.header-action-copy{display:flex;flex-direction:column;gap:2px}.header-action-copy strong{font-size:1.2rem}.header-action-copy span{max-width:500px;font-size:.85rem;line-height:1.35;opacity:.6}.header-action-buttons{display:flex;gap:7px;margin-top:8px;flex-wrap:wrap}.compact-action{min-height:34px;padding:6px 10px;font-size:.82rem;border-radius:8px}.card-nav-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 8px}.card-tabs{display:flex;flex-wrap:wrap;gap:8px}.card-tabs button,.pick-position{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:9px 13px;border:1px solid var(--shell-border);border-radius:10px;background:var(--shell-bg);cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .08s ease}.card-tabs button:hover,.pick-position:hover{background:#f5f3ef;border-color:#aaa69c}.card-tabs button:active,.pick-position:active{transform:translateY(1px)}.card-tabs button:focus-visible,.pick-position:focus-visible{outline:2px solid var(--shell-muted);outline-offset:2px}.card-tabs button.active{background:#1f1f1f;color:var(--shell-panel);border-color:#1f1f1f}.card-tabs button.active:hover{background:#333;border-color:#333}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,30%);gap:28px;align-items:stretch}.character-page-header{margin-bottom:20px}@media(min-width:769px){.editor-grid>.form-panel{height:auto;min-height:100%;overflow-y:scroll;scrollbar-gutter:stable;overscroll-behavior-y:auto;max-height:100vh}.form-panel{display:grid;grid-template-columns:1fr;gap:15px;align-content:start}.form-panel>div:first-child{grid-column:1 / -1}}.preview-panel{background:var(--shell-bg);border:1px solid var(--shell-border);border-radius:18px;box-shadow:0 6px 24px #0000000a}.form-panel{background:var(--shell-bg)}.editor-control-row{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.preview-stack{min-width:0}.image-drop-target{transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.image-drop-target.is-dragging{border-color:var(--shell-accent);background-color:color-mix(in srgb,var(--shell-accent) 10%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--shell-accent) 22%,transparent)}.preview-panel{display:flex;justify-content:center;min-width:0;background:transparent;border:none}.canvas-wrap{display:inline-flex;flex-direction:column;width:min(100%,600px);min-width:0;max-width:100%}.canvas-wrapper{position:relative}.canvas-actions{position:absolute;top:15px;right:20px;z-index:3;display:flex;gap:3px}.canvas-stage{position:relative;width:100%;min-width:0;max-width:100%}.canvas-stage canvas{display:block;width:100%;height:auto;max-width:100%;border-radius:12px;box-shadow:var(--shell-shadow)}.canvas-stage canvas{width:min(100%,650px)}.canvas-stage.mini-preview canvas,.canvas-stage .mini-preview canvas{max-width:435px}.preview-stack canvas{box-shadow:var(--shell-shadow)}.preview-panel canvas.editable{cursor:pointer}.preview-panel canvas.positioning{cursor:crosshair}.coordinate-display{position:absolute;top:10px;left:10px;z-index:3;padding:6px 10px;border-radius:6px;background:var(--shell-bg-opposite);color:var(--shell-accent-soft);font-family:monospace;font-size:13px;pointer-events:none}.canvas-tooltip{position:fixed;z-index:1000;pointer-events:none;max-width:260px;padding:7px 10px;border-radius:6px;background:var(--shell-bg-opposite);color:var(--shell-accent-soft);font-size:.85rem;line-height:1.3}.dev-toggle{display:flex;align-items:center;gap:7px;margin-bottom:12px;font-size:13px;white-space:nowrap}.dev-toggle{display:none}.position-help,.empty-card{margin-bottom:16px;padding:12px;border-radius:10px;background:var(--shell-bg);color:var(--shell-text);font-size:13px;line-height:1.45}.coordinate-display{position:absolute;top:10px;left:10px;z-index:3}.field-row.position-selected{opacity:1;border-style:dashed;border-color:var(--shell-muted);background:var(--shell-border)}.position-buttons{display:flex;flex-direction:column;gap:6px;margin-top:6px}.pick-position{font-size:12px;white-space:nowrap}.advanced-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding-top:12px;border-top:1px solid var(--shell-border)}.advanced-toggle-copy{display:flex;flex-direction:column;gap:2px;text-align:left}.advanced-toggle-copy>span{font-size:.8rem;font-weight:700}.advanced-toggle-copy small{font-size:.72rem;line-height:1.35;opacity:.6}.toggle-switch{position:relative;flex:0 0 auto;cursor:pointer}.toggle-switch input{position:absolute;opacity:0;pointer-events:none}.toggle-track{display:flex;align-items:center;width:42px;height:24px;padding:3px;border-radius:999px;background:var(--shell-border);transition:background .2s ease}.toggle-thumb{width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .2s ease}.toggle-switch input:checked+.toggle-track{background:#333}.toggle-switch input:checked+.toggle-track .toggle-thumb{transform:translate(18px)}.toggle-switch input:focus-visible+.toggle-track{outline:2px solid currentColor;outline-offset:2px}.form-panel{max-height:calc(100vh - 160px);padding:22px;overflow:auto;position:relative;min-width:0}.form-panel>*{min-width:0;max-width:100%}.form-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px;text-align:left}.panel-view-toggle{display:inline-flex;flex:0 0 auto;align-self:flex-start;overflow:hidden;border:1px solid var(--shell-border);border-radius:9px;background:var(--shell-panel)}.panel-view-toggle button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:5px 9px;border:0;border-right:1px solid var(--shell-border);color:var(--shell-muted);background:transparent;font:inherit;font-size:.72rem;font-weight:700}.panel-view-toggle button:last-child{border-right:0}.panel-view-toggle button:hover{color:var(--shell-accent);background:var(--shell-accent-soft)}.panel-view-toggle button.active{color:var(--shell-accent-button-text, #fff);background:var(--shell-accent-button-bg, var(--shell-accent))}.panel-view-toggle button:focus-visible{position:relative;z-index:1;outline:2px solid var(--shell-accent);outline-offset:-2px}.form-panel h2{margin:0 0 4px}.form-panel p,.form-panel-heading>div>p{margin:0;color:var(--shell-muted);font-size:.85rem}.editor-settings{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:14px}.editor-setting-group{display:flex;flex-direction:column;align-items:center;gap:10px}.text-size-control{display:inline-flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid var(--shell-border);border-radius:10px;background:#faf9f6}.text-size-label{margin:0 3px;font-size:.78rem;color:#666;white-space:nowrap}.text-size-control .input-button{padding:5px 9px}.custom-card-options{width:100%;display:inline-block;align-items:center;justify-content:space-between;gap:12px;margin:0 auto;text-align:center}.card-style-toolbar{display:inline-flex;border:1px solid var(--shell-border);border-radius:9px}.card-style-toolbar button{display:grid;place-items:center;border-radius:0;padding:8px 10px;color:inherit;background:var(--shell-bg);border:0;border-right:1px solid var(--shell-border);cursor:pointer;white-space:nowrap}.card-style-toolbar button:first-child,.card-style-toolbar span:first-child{border-top-left-radius:9px;border-bottom-left-radius:9px}.card-style-toolbar .appearance-control button:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.card-style-toolbar button.active{color:var(--shell-accent);background:var(--shell-accent-soft)}.card-style-toolbar>span{display:inline-flex;align-items:center;padding:0 10px;color:var(--shell-ink);font-size:13px;font-weight:200;background:var(--shell-bg);border-right:1px solid var(--shell-border)}.appearance-grid{display:flex;align-items:flex-start;justify-content:center;flex-wrap:wrap;gap:12px}.appearance-control{position:relative;z-index:5}.appearance-control-row{display:inline-flex;align-items:center;gap:8px;font-size:.8rem}.appearance-control-trigger{display:inline-flex;align-items:center;gap:4px;padding:4px 0;border:0;background:transparent;color:inherit;font:inherit;font-weight:600}.appearance-control-trigger svg{transition:transform .16s ease}.appearance-control.is-open .appearance-control-trigger svg{transform:rotate(180deg)}.appearance-control-panel{position:absolute;top:calc(100% + 9px);right:0;z-index:20;width:min(360px,calc(100vw - 32px));padding:12px;border:1px solid var(--shell-border);border-radius:var(--shell-radius-md);background:var(--shell-panel);box-shadow:var(--shell-shadow)}.appearance-control-panel .appearance-grid{margin:0}.appearance-color,.appearance-tint{display:flex;flex-direction:column;align-items:center;gap:4px}.appearance-color span,.appearance-label{font-size:.78rem;color:#666;white-space:nowrap}.appearance-label{text-align:center}.color-picker{width:34px;height:34px;padding:3px;border:1px solid var(--shell-border);border-radius:50%;background:transparent;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.color-picker::-webkit-color-swatch-wrapper{padding:0}.color-picker::-webkit-color-swatch{border:none;border-radius:50%}.color-picker::-moz-color-swatch{border:none;border-radius:50%}.color-picker:hover{border-color:#666}.color-picker:focus-visible{outline:2px solid var(--shell-muted);outline-offset:2px}.tint-control-box{display:flex;align-items:center;gap:8px;padding:5px 8px;margin-top:-5px;border:1px solid var(shell-border);border-radius:10px;background:var(shell-bg)}.tint-percent{min-width:28px;font-size:.78rem;text-align:right}.tint-range{--tint-percent: 50%;width:110px;height:8px;-moz-appearance:none;appearance:none;-webkit-appearance:none;border-radius:999px;outline:none;cursor:pointer;background:linear-gradient(to right,var(--shell-accent) 0%,var(--shell-accent) var(--tint-percent),#ddd var(--tint-percent),#ddd 100%)}.tint-range::-webkit-slider-thumb{width:20px;height:20px;-moz-appearance:none;appearance:none;-webkit-appearance:none;border:2px solid var(--shell-border);border-radius:50%;background:var(--shell-accent);cursor:pointer}.tint-range::-moz-range-thumb{width:20px;height:20px;border:2px solid var(--shell-border);border-radius:50%;background:var(--shell-accent);cursor:pointer}.tint-range::-moz-range-track{height:8px;border-radius:999px;background:var(--shell-accent-soft)}.fields{display:flex;flex-direction:column;gap:5px}.field-row{padding:3px 5px;border:1px solid transparent;border-radius:6px;opacity:.72;transition:opacity .15s ease,border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.field-row:hover{opacity:1}.field-row.active{opacity:1;border-color:#aaa69c;background:#faf9f6;box-shadow:0 0 0 2px #1f1f1f0f,0 2px 6px #1f1f1f0d}.field-label{display:flex;flex-direction:column;gap:4px}.combat-extra-attacks span,.form-fields label,.feat-book-fields label,label.field-label,.field-label>span{font-size:.78rem;font-weight:600}.form-fields input[type=text],.form-fields input[type=number],.form-fields textarea,.combat-extra-attacks input,.feat-book-fields input[type=text],.feat-book-fields input[type=number],.feat-book-fields textarea,.field-main input[type=text],.field-main input[type=number],.field-main textarea{width:100%;padding:8px 10px;border:1px solid var(--shell-border);border-radius:8px;font:inherit;line-height:1.3}.field-main input[type=text],.field-main input[type=number]{min-height:38px}.form-fields textarea,.field-main textarea{min-height:76px;resize:vertical}.fields-combat[hidden],.fields[hidden]{display:none}@media(min-width:769px){.fields-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:6px}.fields-stats>.field-row,.fields-combat>.field-row{min-width:0}.fields-stats .field-label-inline,.fields-combat .field-label-inline{flex-direction:column;align-items:stretch;gap:4px}.fields-stats .field-label-inline>span,.fields-combat .field-label-inline>span{flex:none}.fields-stats .number-field input[type=number],.fields-combat .number-field input[type=number]{width:100%;flex-basis:auto}.fields-stats>.proficiency-picker,.fields-combat>.proficiency-picker,.fields-stats>.advanced-toggle-row,.fields-combat>.advanced-toggle-row,.fields-stats>.calculation-overrides,.fields-combat>.calculation-overrides,.fields-combat>.field-type-textarea,.fields-combat>.compact-span-full{grid-column:1 / -1}}.additional-card-sheets{display:grid;grid-column:1 / -1;gap:10px;min-width:0;padding-bottom:14px}.additional-card-sheet-list{max-height:none;overflow:visible}.additional-card-sheet-title{display:grid;gap:5px}.additional-card-sheet-title input{width:100%;min-width:0;padding:9px 10px;border:1px solid var(--shell-border, #ddd);border-radius:8px;color:inherit;background:var(--shell-panel, #fff);font:inherit}@media(max-width:480px){.panel-view-toggle button span{display:none}}.text-formatting-toolbar{display:flex;align-items:center;gap:3px;min-height:30px;margin-bottom:2px}.text-formatting-toolbar button{display:inline-grid;place-items:center;width:30px;height:28px;padding:0;border:1px solid var(--shell-border);border-radius:6px;background:var(--shell-panel, #fff);color:var(--shell-text, #222);cursor:pointer}.text-formatting-toolbar button:hover{border-color:var(--shell-accent, #1386a5);color:var(--shell-accent, #1386a5)}.text-formatting-toolbar>span{margin-left:5px;color:var(--shell-muted, #777);font-size:.7rem;font-weight:400}@media(max-width:600px){.text-formatting-toolbar>span{display:none}.view-grid,.view-minimal{grid-template-columns:minmax(75px,45%) auto}}.download-spinner{animation:download-spin .8s linear infinite}.input-button.is-processing{cursor:wait;opacity:.75}.input-button:disabled{pointer-events:none}@keyframes download-spin{to{transform:rotate(360deg)}}.field-label-inline{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px}.field-label-inline>span{flex:0 0 120px;min-width:0}.checkbox-field>span{flex-basis:120px}.checkbox-field input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin:0}.number-field input[type=number]{flex:0 0 60px;width:60px;min-height:36px;padding:6px 8px}.portrait-controls{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.portrait-heading{font-size:.9rem;font-weight:600;padding-bottom:4px}.portrait-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.portrait-actions{display:flex;align-items:stretch;justify-content:center;flex-wrap:nowrap}.portrait-actions>*{font-size:.75rem;line-height:1;text-align:left}.portrait-actions .size-control{display:grid;grid-template-columns:auto minmax(75px,1fr) 40px auto;align-items:center;gap:8px;margin-top:5px}.size-control input[type=range]{height:6px;-moz-appearance:none;appearance:none;-webkit-appearance:none;border-radius:999px;background:#ddd;cursor:pointer}.size-control input[type=range]::-webkit-slider-thumb{width:16px;height:16px;-moz-appearance:none;appearance:none;-webkit-appearance:none;border:2px solid #1f1f1f;border-radius:50%;background:var(--shell-bg);cursor:pointer}.size-control input[type=range]::-moz-range-thumb{width:16px;height:16px;border:2px solid #1f1f1f;border-radius:50%;background:var(--shell-bg);cursor:pointer}.portrait-actions .ico-text{width:100px;height:40px}.portrait-actions .ico-text svg{width:25px;height:25px}.portrait-actions .icon-only{max-width:40px}.portrait-size{display:flex;align-items:center;gap:10px}.portrait-size>span{font-size:.78rem;font-weight:600}.portrait-size input[type=range]{width:140px}.character-picker-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:1rem;background:#00000094}.character-picker-modal{width:min(46rem,100%);max-height:min(44rem,88vh);overflow:auto;padding:1.25rem;border:1px solid var(--shell-border);border-radius:1rem;background:var(--shell-panel);box-shadow:0 1.5rem 4rem #00000059}.character-picker-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.character-picker-header h2,.character-picker-header p{margin:0}.character-picker-header p{margin-top:.25rem;color:var(--shell-muted)}.character-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(8rem,1fr));gap:1rem}.character-picker-option{display:grid;gap:.6rem;padding:.75rem;border:1px solid var(--shell-border);border-radius:.75rem;color:inherit;font:inherit;background:transparent;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,transform .15s ease}.character-picker-option:hover{border-color:var(--shell-accent);background:color-mix(in srgb,var(--shell-accent) 8%,transparent);transform:translateY(-2px)}.character-picker-option img{width:100%;aspect-ratio:1;object-fit:contain}.character-picker-option span{font-weight:600;text-align:center}@media(max-width:540px){.character-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.character-picker-modal{padding:1rem}}.font-size-control{display:grid;grid-template-columns:auto minmax(100px,1fr) 60px auto;align-items:center;gap:8px;margin-top:5px}.font-size-control input[type=range]{height:6px;-moz-appearance:none;appearance:none;-webkit-appearance:none;border-radius:999px;background:#ddd;cursor:pointer}.font-size-control input[type=range]::-webkit-slider-thumb{width:16px;height:16px;-moz-appearance:none;appearance:none;-webkit-appearance:none;border:2px solid #1f1f1f;border-radius:50%;background:var(--shell-bg);cursor:pointer}.font-size-control input[type=range]::-moz-range-thumb{width:16px;height:16px;border:2px solid #1f1f1f;border-radius:50%;background:var(--shell-bg);cursor:pointer}.font-size-number{width:60px;padding:5px 6px;text-align:center}.font-size-label{font-size:12px;opacity:.7}.choice-row{display:flex;align-items:center;gap:12px}.choice-label{flex:0 0 75px;font-size:.78rem;font-weight:600}.choice-options{display:inline-flex;border:1px solid var(--shell-border);border-radius:8px;overflow:hidden}.choice-option{border:0;background:transparent;padding:7px 14px;font:inherit;cursor:pointer}.choice-option+.choice-option{border-left:1px solid var(--shell-border)}.choice-option.active{font-weight:600}.proficiency-picker{margin-top:20px;padding:14px;border:1px solid var(--shell-border);border-radius:12px}.proficiency-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.proficiency-heading h3{margin:0}.proficiency-heading .text-button{padding:5px 8px;border:0;background:transparent;color:var(--shell-text);font-size:13px}.proficiency-heading .text-button:hover{color:var(--shell-accent)}.proficiency-heading .text-button.danger{color:var(--shell-confirm)}.proficiency-heading .text-button.danger:hover{text-decoration:underline}.proficiency-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.proficiency-option{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 10px;border:1px solid var(--shell-border);border-radius:9px;cursor:pointer;-webkit-user-select:none;user-select:none}.proficiency-option:has(input:checked){border-color:var(--shell-muted);background:#f3f3ef}.proficiency-option input{flex:0 0 auto;width:20px;height:20px;margin:0}.proficiency-option span{font-size:14px}.calculation-overrides{margin-top:14px;padding:14px;border:1px solid var(--shell-border);border-radius:10px;background:#00000004}.calculation-overrides-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.calculation-overrides-heading h3{margin:0;font-size:.9rem;font-weight:700}.calculation-overrides-heading p{margin:4px 0 0;max-width:420px;font-size:.75rem;line-height:1.4;opacity:.65}.calculation-overrides-heading .text-button{flex:0 0 auto;white-space:nowrap}.override-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}.override-option{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.override-option>span{min-width:0;font-size:.78rem;font-weight:600;line-height:1.2}.override-option input{flex:0 0 68px;width:68px;min-height:32px;padding:5px 7px;border:1px solid var(--shell-border);border-radius:7px;font:inherit;font-size:.82rem;text-align:center;background:#fff}.override-option.has-override>span{font-weight:700}.override-option.has-override input{border-color:currentColor}.download-all-row{margin:0 auto}@media(max-width:1100px)and (min-width:769px){.form-panel{max-height:100vh}}@media(max-width:1000px){.app-shell{padding:18px}}@media(max-height:700px)and (min-width:769px){.canvas-stage canvas{max-height:none;width:100%}.form-panel{max-height:max(calc(100vh - 160px),700px);overflow:auto}}@media(max-width:768px){.appearance-control-panel{position:fixed;top:50%;left:50%;right:auto;transform:translate(-50%,-50%);width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;overflow-y:auto;z-index:1000}.portrait-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 42px;gap:6px;width:100%}.portrait-actions .ico-text{width:auto;min-width:0;height:auto;min-height:40px;justify-content:center;text-align:center}.portrait-actions .ico-text svg{width:18px;height:18px;flex:none}.portrait-actions .portrait-remove-image{width:42px;min-width:42px;height:42px}.canvas-actions{position:absolute;right:10px;z-index:3;display:flex;gap:3px}.app-header{flex-direction:column;gap:12px}.header-actions{width:100%;align-items:stretch;flex-direction:column;gap:10px}.header-reset{padding-left:0;padding-top:10px;border-left:0;border-top:1px solid var(--shell-border)}.header-actions .input-button{padding:8px 10px}.editor-grid{grid-template-columns:1fr;align-items:start}.card-nav-row{align-items:flex-start;flex-direction:column;gap:10px}.appearance-grid{justify-content:center}.number-field input[type=number]{flex-basis:80px;width:80px}}@media(max-width:540px){.form-panel{display:block}.editor-grid>.form-panel{height:auto;min-height:0;max-height:none;overflow:visible}.position-buttons{flex-direction:row}.proficiency-options{grid-template-columns:1fr}.calculation-overrides{padding:12px}.calculation-overrides-heading{gap:10px}.override-options{grid-template-columns:1fr}.override-option input{flex-basis:72px;width:72px}}.mini-character-page{max-width:54rem;margin:0 auto;padding:1rem}.character-card-toolbar{display:flex;justify-content:flex-end;margin-bottom:.75rem}.character-card-options{display:flex;align-items:center}.mini-character-canvas-stage{width:min(75%,35rem);margin:0 auto}.mini-character-page>header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.mini-character-page h1,.mini-character-page p{margin-top:0}.mini-card-canvas{display:block;width:100%;height:auto;margin:0 auto;border-radius:.75rem;box-shadow:0 1rem 2.5rem #00000029}.mini-format-toggle{display:flex;align-items:center;gap:.5rem;margin:0 0 1rem}.mini-format-toggle>span{margin-right:.2rem;color:var(--shell-muted);font-size:.85rem;font-weight:700}.mini-format-toggle button{display:inline-grid;place-items:center;padding:.55rem .8rem;border:1px solid var(--shell-border);border-radius:.6rem;color:inherit;background:transparent;cursor:pointer}.character-description-input{display:grid;gap:.4rem;margin-top:1rem}.character-description-input textarea{width:100%;resize:vertical}.mini-character-modal{position:relative;width:min(46rem,100%);max-height:92vh;overflow:auto;border-radius:1rem;background:var(--shell-panel, #fff);box-shadow:0 1.5rem 4rem #00000059}.mini-character-close{position:absolute;z-index:2;top:.8rem;right:.8rem}.mini-format-toggle button.active{border-color:var(--shell-accent);color:var(--shell-accent)}@media(max-width:640px){.mini-character-page>header{flex-direction:column}}.soft-limit-field{display:flex;flex-direction:column;gap:5px;min-width:0}.soft-limit-control{position:relative;display:block}.soft-limit-control>input,.soft-limit-control>textarea{width:100%;box-sizing:border-box}.soft-limit-counter{position:absolute;right:8px;bottom:6px;padding:1px 4px;border-radius:4px;background:color-mix(in srgb,var(--shell-panel, #fff) 88%,transparent);color:var(--shell-muted, #777);font-size:.68rem;line-height:1.2;pointer-events:none}.soft-limit-field.is-over-limit .soft-limit-counter{color:var(--shell-confirm);font-weight:800}.field-label{position:relative}.field-soft-limit.is-over{color:var(--shell-confirm);font-weight:800}.mini-gallery-page{min-height:100vh;padding:24px;background:var(--shell-bg, #f6f5f2)}.mini-gallery-header{width:min(100%,1280px);margin:0 auto 24px}.mini-gallery-header h1,.mini-gallery-card h2{margin:0}.mini-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:24px;width:min(100%,1280px);margin:0 auto}.mini-gallery-card{min-width:0;padding:16px;border:1px solid var(--shell-border, #ddd);border-radius:16px;background:var(--panel-bg, #fff)}.mini-gallery-card h2{margin-bottom:12px;font-size:1rem}.mini-gallery-card canvas{display:block;width:100%;height:auto;aspect-ratio:5 / 7}@media(max-width:900px){.mini-gallery-grid{grid-template-columns:1fr}.mini-gallery-card{width:min(100%,480px);margin:0 auto}}@media(max-width:400px){.view-grid,.view-minimal,.page-workspace .page-toolbar .row{grid-template-columns:1fr}.equipment-catalog-options{display:none}}.editor-shell-account-group{display:flex;align-items:center;gap:8px}.account-control{position:relative}.account-trigger{min-height:38px;display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid var(--shell-border);border-radius:9px;background:var(--shell-panel);color:var(--shell-text)}.account-trigger.signed-in{border-color:var(--shell-accent, #1184a4)}.account-panel{position:absolute;z-index:1200;top:calc(100% + 8px);right:0;width:min(360px,calc(100vw - 24px));padding:14px;border:1px solid var(--shell-border);border-radius:12px;background:var(--shell-panel);color:var(--shell-text);box-shadow:var(--shell-shadow)}.account-panel header{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.account-panel header>div{display:grid;gap:2px}.account-panel header span,.account-storage-note,.account-message{font-size:.78rem;line-height:1.45;color:var(--shell-muted, #66706d)}.account-field{display:grid;gap:4px;margin:10px 0;font-size:.78rem;font-weight:600}.account-field input{width:100%;padding:9px 10px;border:1px solid var(--shell-border);border-radius:8px;background:var(--shell-input-bg, var(--shell-panel));color:var(--shell-text)}.account-primary,.account-signout{justify-content:center;gap:7px}.account-mode-link{width:100%;margin-top:10px;border:0;background:transparent;color:var(--shell-accent, #1184a4);font-size:.78rem;text-decoration:underline}.account-email{font-size:.86rem;overflow-wrap:anywhere}.account-sync-state{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:.78rem;font-weight:600}.account-sync-state.error{color:var(--shell-danger)}.account-storage-note{margin:12px 0;text-align:center}.account-message{margin:8px 0}@media(max-width:760px){.editor-shell-account-group{gap:4px}.account-trigger span{display:none}.account-trigger{padding-inline:9px}}.account-secondary{justify-content:center;gap:7px;margin:8px 5px 0}.account-secondary.email-me{width:100%}.account-divider{display:flex;align-items:center;gap:8px;margin:10px 0 2px;color:var(--shell-muted);font-size:.72rem}.account-divider:before,.account-divider:after{content:"";flex:1;height:1px;background:var(--shell-border)}.project-account-group{grid-column:2 / 4;grid-row:2}.project-account-group .account-control{width:100%}.project-account-group .account-trigger{width:100%;min-height:0;justify-content:flex-start;text-align:left}.project-account-group .account-trigger>span{display:flex;min-width:0;flex-direction:column;align-items:flex-start}.project-account-group .account-trigger small{font-size:.68rem;font-weight:400;color:var(--shell-muted)}.account-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1190;display:grid;place-items:center;padding:20px;background:#0000006b}.account-modal-backdrop .account-panel{position:relative;z-index:1200;top:auto;right:auto;width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow-y:auto}@media(max-width:600px){.project-account-group{grid-column:1 / -1;grid-row:auto}.project-account-group .account-trigger span{display:flex}}.account-last-sync{margin-top:3px;font-size:.72rem;color:var(--shell-text);opacity:.62}.account-field-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.account-inline-link,.editor-shell-project-actions button.account-inline-link{padding:0;border:0;background:transparent;color:var(--shell-accent);font:inherit;font-size:.72rem;font-weight:500;cursor:pointer;min-height:fit-content}.account-field-hint,.account-passwordless-note{display:block;color:var(--shell-muted);font-size:.7rem;font-weight:400;line-height:1.35}.account-passwordless-note{margin:4px 0 0;text-align:center}.account-field.has-error input{border-color:var(--shell-danger);box-shadow:0 0 0 2px color-mix(in srgb,var(--shell-danger) 15%,transparent)}.account-field-error{color:var(--shell-danger);font-size:.72rem;font-weight:600}.account-primary,.account-secondary,.account-signout{border:1px solid var(--shell-border);background:var(--shell-panel);color:var(--shell-text);transition:border-color .15s ease,color .15s ease,background .15s ease,box-shadow .15s ease}@media(hover:hover){.account-primary:hover,.account-secondary:hover,.account-signout:hover{border-color:var(--shell-accent);color:var(--shell-accent);background:var(--shell-panel)}}.account-primary:focus-visible,.account-secondary:focus-visible,.account-signout:focus-visible{border-color:var(--shell-accent);color:var(--shell-accent);outline:2px solid color-mix(in srgb,var(--shell-accent) 28%,transparent);outline-offset:2px}.account-primary:active,.account-secondary:active,.account-signout:active{border-color:var(--shell-accent);color:var(--shell-accent)}.button-callout{background:var(--shell-accent-button-bg);color:var(--shell-accent-button-text);border-color:#1f1f1f;font-weight:700;min-height:40px;border:1px solid var(--shell-border);border-radius:9px;padding:3px 15px;white-space:nowrap;font-size:.75rem;opacity:.9}.account-danger-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid var(--shell-border)}.account-danger-footer>span{display:grid;gap:2px;font-size:.72rem}.account-danger-footer small{color:var(--shell-muted);font-weight:400}.account-delete-link{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;padding:6px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--shell-danger);font-size:.72rem;font-weight:600;cursor:pointer}.account-delete-link:hover,.account-delete-link:focus-visible{border-color:var(--shell-danger);background:color-mix(in srgb,var(--shell-danger) 8%,transparent)}.account-danger-zone{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid color-mix(in srgb,var(--shell-danger) 55%,var(--shell-border));border-radius:9px;background:color-mix(in srgb,var(--shell-danger) 7%,var(--shell-panel))}.account-danger-zone>svg{flex:0 0 auto;color:var(--shell-danger)}.account-danger-zone p{margin:6px 0 0;color:var(--shell-muted);font-size:.76rem;line-height:1.45}.account-delete-button{width:100%;justify-content:center;gap:7px;border:1px solid var(--shell-danger);background:var(--shell-danger);color:#fff}.account-delete-button:not(:disabled):hover,.account-delete-button:not(:disabled):focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--shell-danger) 22%,transparent)}.account-delete-button:disabled{opacity:.45;cursor:not-allowed}.account-delete-error{color:var(--shell-danger);font-weight:600}@media(max-width:480px){.account-danger-footer{align-items:flex-start;flex-direction:column}}:root{background:var(--shell-bg);color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--shell-bg: #171819;--shell-panel: #202224;--shell-panel-soft: #292d30;--shell-border: #484d50;--shell-text: #f2f0ec;--shell-muted: #b7b3ac;--shell-accent: #54b4d0;--shell-accent-soft: #193942;--shell-input-bg: #272a2d;--shell-ink: var(--shell-text);--shell-shadow: 0 7px 24px rgba(0, 0, 0, .16);--panel-bg: var(--shell-panel);--input-bg: var(--shell-input-bg);--border-color: var(--shell-border);--text-color: var(--shell-text);--muted-text: var(--shell-muted);--accent-color: var(--shell-accent)}:root[data-theme=dark] .editor-shell-v2 :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select){background:var(--shell-input-bg);color:var(--shell-text);border-color:var(--shell-border)}:root[data-theme=dark] .editor-shell-v2 :is(input,textarea)::placeholder{color:var(--shell-muted);opacity:.85}:root[data-theme=dark] .editor-shell-v2 :is(.input-button,.preview-panel,.form-panel,.equipment-search,.equipment-filters select,.inventory-item,.equipment-item-editor,.print-inventory-editor,.inventory-page-controls button,.spell-custom-text-editor,.share-link-row){background:var(--shell-panel);color:var(--shell-text)}:root[data-theme=dark] .editor-shell-v2 :is(.input-button:hover,.inventory-item:hover){background:var(--shell-panel-soft)}:root[data-theme=dark] .editor-shell-v2 :is(.custom-item-options,.field-row,.field-row.active,.field-row.position-selected,.proficiency-option:has(input:checked),.calculation-overrides,.catalog-add-indicator,.spell-description-toggle>span){background:var(--shell-panel-soft);color:var(--shell-text);border-color:var(--shell-border)}:root[data-theme=dark] .editor-shell-v2 :is(.equipment-form-grid input,.equipment-form-grid select,.inventory-settings input,.equipment-item-editor textarea,.custom-item-options input,.custom-item-options select){background:var(--shell-input-bg);color:var(--shell-text);border-color:var(--shell-border)}:root[data-theme=dark] .editor-shell-v2 :is(.equipment-result-summary,.equipment-item-heading p,.print-inventory-heading span,.appearance-color span,.appearance-label,.share-link-row input){color:var(--shell-muted)}:root[data-theme=dark] .editor-shell-v2 .catalog-add-indicator{color:var(--shell-text)}:root[data-theme=dark] .editor-shell-v2 .inventory-item:hover:not(:has(.lucide-check)) .catalog-add-indicator{color:#fff;background:#177b98}:root[data-theme=dark] .notes-book-list-row.active{background:var(--shell-accent-soft)}:root[data-theme=dark] .editor-shell-v2 :is(.nav-tab.active,.button-create-custom,.catalog-view-toggle button.active){background-color:#177b98;color:#fff}
