@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-sans-3-cyrillic-ext-wght-normal-c-5QAGAI.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-sans-3-cyrillic-wght-normal-BMDVbyM7.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-sans-3-greek-ext-wght-normal-BXZfsJY4.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-sans-3-greek-wght-normal-Cc-u-6OI.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-sans-3-vietnamese-wght-normal-BDs68eHQ.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-sans-3-latin-ext-wght-normal-C8iNium2.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Source Sans 3 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/source-sans-3-latin-wght-normal-Bo_j9asI.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Bricolage Grotesque Brand;font-style:normal;font-weight:200 800;font-display:swap;src:url(/assets/bricolage-grotesque-latin-wght-normal-DLoelf7F.woff2)format("woff2")}.brand-logo{--brand-ink:#203047;--brand-cobalt:#3565d8;--brand-apricot:#f4b889;min-width:0;color:var(--brand-ink);align-items:center;gap:10px;display:inline-flex}[data-theme=dark] .brand-logo,.brand-logo[data-brand-appearance=dark]{--brand-ink:#f7f2e9;--brand-cobalt:#8af;--brand-apricot:#f4b889}.brand-logo[data-brand-appearance=light]{--brand-ink:#203047;--brand-cobalt:#3565d8;--brand-apricot:#f4b889}.brand-logo .brand-logo__mark{flex:none;width:44px;height:44px;display:block}.brand-logo__paper-back{fill:var(--brand-apricot)}.brand-logo__paper-middle{fill:var(--brand-cobalt)}.brand-logo__paper-front{fill:var(--brand-ink)}.brand-logo__paper-fold{fill:var(--brand-cobalt)}.brand-logo--monochrome{--brand-cobalt:var(--brand-ink);--brand-apricot:var(--brand-ink)}.brand-logo--monochrome .brand-logo__mark path{fill:var(--brand-ink)}.brand-logo__wordmark{min-width:0;font-family:"Bricolage Grotesque Brand", var(--font-family,"Inter Variable"), sans-serif;letter-spacing:-.035em;text-overflow:ellipsis;white-space:nowrap;font-size:21px;font-weight:700;line-height:1.08;overflow:hidden}.brand-logo__wordmark--stacked{flex-direction:column;display:flex}.brand-logo__resource{letter-spacing:-.02em;font-size:.79em;font-weight:580;line-height:1.08}.brand-logo--mark-only{gap:0}.editor-tooltip{z-index:1000;background:var(--text);width:max-content;max-width:min(300px,100vw - 16px);color:var(--surface);font-family:var(--font-sans);white-space:normal;overflow-wrap:anywhere;pointer-events:none;text-align:left;opacity:1;border-radius:6px;padding:7px 10px;font-size:.8125rem;font-weight:500;line-height:1.4;transition:opacity .12s ease-out;position:fixed}.editor-tooltip[data-presence=closing]{opacity:0}@starting-style{.editor-tooltip[data-presence=open]{opacity:0}}@media (prefers-reduced-motion:reduce){.editor-tooltip{transition:none}}.check-field{cursor:pointer;align-items:center;gap:12px;min-height:44px;font-size:.8125rem;display:flex;position:relative}.check-field input{opacity:0;width:44px;height:44px;cursor:inherit;margin:0;position:absolute;top:50%;left:-10px;translate:0 -50%}.check-control{background:var(--text-muted);width:24px;height:24px;color:var(--on-accent);transition:background-color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);border-radius:8px;flex:0 0 24px;place-items:center;display:grid}.check-control svg{stroke-width:2.5px;opacity:0;filter:blur(4px);width:17px;height:17px;transition:opacity var(--motion-fast) ease, scale var(--motion-standard) var(--motion-ease), filter var(--motion-standard) var(--motion-ease);scale:.25}.check-field input:checked+.check-control{background:var(--accent)}.check-field input:checked+.check-control svg{opacity:1;filter:blur();scale:1}.check-field input:focus-visible+.check-control{outline:3px solid var(--focus);outline-offset:4px}.check-field:active input:not(:disabled)+.check-control{scale:.96}.check-field:has(input:disabled){opacity:.45;cursor:not-allowed}.check-field:hover input:not(:disabled):checked+.check-control{background:var(--accent-hover)}.switch{background:0 0;border:0;border-radius:24px;flex:0 0 52px;width:52px;height:44px;padding:0;position:relative}.switch:before{content:"";background:var(--surface-hover);transition:background-color var(--motion-standard) ease;border-radius:999px;position:absolute;inset:7px 0}.switch[aria-checked=true]:before{background:var(--accent)}.switch__thumb{background:var(--surface);width:22px;height:22px;color:var(--text-muted);transition:translate var(--motion-standard) var(--motion-ease), background-color var(--motion-fast) ease, color var(--motion-fast) ease;border-radius:50%;position:absolute;top:11px;left:4px}.switch[aria-checked=true] .switch__thumb{background:var(--on-accent);color:var(--accent);translate:22px}.switch__thumb svg{stroke-width:2.5px;width:14px;height:14px;transition:scale var(--motion-standard) var(--motion-ease), opacity var(--motion-fast) ease, filter var(--motion-standard) var(--motion-ease);position:absolute;inset:4px}.switch__on,.switch[aria-checked=true] .switch__off{opacity:0;filter:blur(4px);scale:.25}.switch__off,.switch[aria-checked=true] .switch__on{opacity:1;filter:blur();scale:1}@media (prefers-reduced-motion:reduce){.check-field:active input:not(:disabled)+.check-control{scale:1}}.editor-save-visual{flex:none;place-items:center;width:30px;height:30px;display:grid;position:relative}.editor-save-button .editor-save-ring{stroke:currentColor;stroke-width:1.7px;transform-origin:50%;width:30px;height:30px;position:absolute;inset:0}.editor-save-ring-track{opacity:.2}.editor-save-ring-arc{stroke-linecap:round}.editor-save-feedback[data-visible=true]:not([data-error=true]) .editor-save-ring{animation:1s linear infinite editor-save-ring-turn}.editor-save-button .editor-save-glyph{stroke-width:2px;width:16px;height:16px}@keyframes editor-save-ring-turn{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.editor-save-feedback[data-visible=true]:not([data-error=true]) .editor-save-ring{animation:none}}.layers-panel{z-index:5;background:var(--surface);width:288px;color:var(--text);border-radius:24px;flex-direction:column;display:flex;position:absolute;top:84px;bottom:84px;overflow:visible}.layers-panel--left{left:16px}.layers-heading{flex:none;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px 2px 16px;display:flex}.layers-heading h2{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin:0;font-size:.875rem;font-weight:600;overflow:hidden}.layers-heading h2 span{color:var(--text-muted);font-variant-numeric:tabular-nums;margin-left:6px;font-weight:400}.layers-heading .editor-tool:focus-visible{outline-offset:-3px}.layers-list{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:auto;min-height:80px;margin:0;padding:4px 8px 8px;scroll-padding-block:8px;list-style:none;overflow:auto}.layers-row{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:16px;align-items:center;min-height:60px;margin-block:4px;display:flex;position:relative}.layers-row[data-reorderable=true],.layers-row[data-reorderable=true]>button{cursor:grab}.layers-panel[data-reordering=true] .layers-list,.layers-panel[data-reordering=true] .layers-row>button{cursor:grabbing}.layers-row.is-grouped{background:var(--surface-muted);border-radius:0;margin-block:0}.layers-row[data-group-start]{border-top-left-radius:16px;border-top-right-radius:16px;margin-top:8px;padding-top:4px}.layers-row[data-group-end]{border-bottom-right-radius:16px;border-bottom-left-radius:16px;margin-bottom:8px;padding-bottom:4px}.layers-row:hover{background:var(--surface-muted)}.layers-row.is-grouped:hover{background:var(--surface-hover)}.layers-row.is-selected,.layers-row.is-selected:hover{background:var(--accent-soft);color:var(--accent)}.layers-row.is-dragging{opacity:.65;background:var(--accent-soft);color:var(--accent)}.layers-row[data-drop]:after{z-index:1;background:var(--accent);content:"";pointer-events:none;border-radius:3px;height:3px;position:absolute;left:8px;right:8px}.layers-row[data-drop=before]:after{top:-1px}.layers-row[data-drop=after]:after{bottom:-1px}.layers-select{min-width:0;min-height:60px;color:inherit;text-align:left;-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:12px;flex:1;align-items:center;gap:9px;padding:10px 12px 10px 8px;font-size:.8125rem;display:flex}.layers-select:focus-visible{outline-offset:-3px}.layers-thumbnail{background:#fff;border-radius:7px;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid;overflow:hidden}.layers-thumbnail>svg{width:36px;height:36px}.layers-thumbnail>img{object-fit:contain;width:100%;height:100%;display:block}.layers-name{text-overflow:ellipsis;white-space:nowrap;flex:1;line-height:1.4;overflow:hidden}.layers-status{color:var(--text-muted);align-items:center;gap:3px;display:flex}.layers-status svg{stroke-width:1.7px;width:13px;height:13px}.layers-row.is-hidden .layers-thumbnail,.layers-row.is-hidden .layers-name{opacity:.5}.layers-controls{background:0 0;flex:none;padding:4px 12px 10px}.layers-rename{width:100%;min-width:0;height:44px;color:var(--text);text-overflow:ellipsis;background:0 0;border:0;border-radius:14px;padding:8px;font-size:.8125rem}.layers-rename:hover,.layers-rename:focus{background:var(--surface-muted)}.layers-rename:read-only{color:var(--text-muted)}.layers-rename-label{color:var(--text-muted);padding:8px 8px 0;font-size:.6875rem;display:block}.layers-lock-notice{min-height:44px;color:var(--text-muted);align-items:center;gap:6px;padding-left:8px;font-size:.75rem;display:flex}.layers-lock-notice>svg{width:14px;height:14px}.layers-lock-notice>span{flex:1}.layers-lock-notice>button{min-height:44px;color:var(--accent);font:inherit;background:0 0;border:0;border-radius:22px;padding:0 12px;font-weight:600}.layers-lock-notice>button:hover{background:var(--accent-soft)}.layers-actions{justify-content:space-between;align-items:center;gap:0;display:flex}.layers-actions .editor-tool{width:44px;height:44px}.layers-empty{color:var(--text-muted);padding:20px 16px;font-size:.8125rem}.layers-sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.layers-position{color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none;padding-inline:4px;font-size:.6875rem}.layers-selection-position{color:var(--text-muted);font-variant-numeric:tabular-nums;padding:6px 8px 0;font-size:.75rem}.layers-details[hidden]{display:none}.layers-quick-actions{flex:none;align-items:center;gap:8px;display:flex}.layers-edit{background:var(--accent-soft);min-width:0;min-height:44px;color:var(--accent);border:0;border-radius:22px;flex:1;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:.8125rem;font-weight:550;display:flex}.layers-edit>svg{stroke-width:1.7px;width:18px;height:18px}.layers-edit:hover:not(:disabled){background:var(--surface-hover)}.layers-settings-toggle:focus-visible{outline-offset:-3px}.layers-selection-bar{flex-shrink:0;align-items:center;gap:4px;padding:0 12px 6px;display:flex}.layers-selection-bar>span{color:var(--text-muted);flex:1;font-size:.75rem}.layers-selection-bar>button{flex:0 0 44px;padding:0}.layers-selection-bar>button:disabled{opacity:.35}.layers-selection-bar svg{width:16px;height:16px}.layers-name small{color:var(--text-muted);align-items:center;gap:4px;font-size:.625rem;display:flex}.layers-name small svg{width:11px;height:11px}.layers-check{background:var(--surface-muted);border-radius:6px;flex:0 0 18px;place-items:center;width:18px;height:18px;display:grid}.layers-check[data-checked=true]{color:var(--on-accent);background:var(--accent)}.layers-check svg{width:14px;height:14px}@media (min-width:601px) and (max-width:1099px){.layers-panel{width:260px}.layers-actions{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.layers-actions .editor-tool{justify-self:center}.layers-selection-bar{flex-wrap:wrap}.layers-selection-bar:has(>button:nth-of-type(4))>span{flex-basis:100%}}@media (max-width:600px){.layers-panel{top:auto;bottom:calc(78px + env(safe-area-inset-bottom));width:calc(100% - 16px);height:min(max(360px,50dvh),100dvh - 174px);max-height:calc(100dvh - 174px);left:8px;right:8px}}@media (max-width:1099px){.layers-rename{font-size:16px}}@media (max-width:600px),(max-height:600px){.layers-panel{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border) transparent;scroll-padding-top:52px;overflow-y:auto}.layers-heading{z-index:2;background:var(--surface);border-radius:24px 24px 0 0;position:sticky;top:0}}.layers-panel[data-mobile=true]{overflow:hidden}.layers-panel[data-mobile=true] .layers-heading{background:0 0;position:static}.layers-panel[data-mobile=true] .layers-list{min-height:80px}.layers-controls--mobile{flex-direction:column;flex:none;min-height:102px;max-height:calc(100% - 132px);padding-top:4px;display:flex}.layers-panel[data-mobile=true]:has(.layers-selection-bar) .layers-controls--mobile{max-height:calc(100% - 182px)}.layers-controls--mobile .layers-details{overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y;flex:auto;min-height:0;max-height:132px;overflow-y:auto}.layers-controls--mobile .layers-actions{flex:none;margin-top:4px;display:flex}.layers-controls--mobile .layers-rename{font-size:16px}.layers-panel--compact{width:64px;overflow:hidden}.layers-panel--compact .layers-heading{background:0 0;justify-content:center;padding:6px 4px 2px}.layers-panel--compact .layers-list{min-height:0;padding:4px 4px 8px}.layers-panel--compact .layers-row{border-radius:14px;min-height:52px}.layers-panel--compact .layers-row.is-grouped{border-radius:0}.layers-panel--compact .layers-row[data-group-start]{border-top-left-radius:14px;border-top-right-radius:14px}.layers-panel--compact .layers-row[data-group-end]{border-bottom-right-radius:14px;border-bottom-left-radius:14px}.layers-panel--compact .layers-compact-select{background:0 0;border-radius:12px;flex:1;width:100%;min-width:44px;height:52px;position:relative}.layers-compact-select:focus-visible{outline-offset:-3px}.layers-compact-select .layers-thumbnail>svg{width:36px;height:36px}.layers-compact-select .layers-compact-check,.layers-compact-select .layers-compact-status{border-radius:50%;place-items:center;width:16px;height:16px;display:grid;position:absolute;right:2px}.layers-compact-select .layers-compact-check{background:var(--accent);color:var(--on-accent);top:2px}.layers-compact-select .layers-compact-status{background:var(--surface);color:var(--text-muted);bottom:2px}.layers-compact-select .layers-compact-check>svg,.layers-compact-select .layers-compact-status>svg{stroke-width:2px;width:11px;height:11px}@media (prefers-reduced-motion:no-preference){.layers-row,.layers-select,.layers-lock-notice>button{transition:background-color .12s,color .12s}}.resource-preview{width:100%;min-width:0;position:relative;overflow:hidden}.resource-preview-canvas{position:absolute;inset:0}.resource-preview-canvas,.resource-preview-canvas>div{width:100%;height:100%}.resource-preview-canvas canvas{display:block}.resource-preview-error{background:var(--surface);color:var(--danger);border-radius:8px;padding:8px;font-size:.75rem;position:absolute;bottom:8px;left:8px;right:8px}.resource-preview-set{flex-direction:column;align-items:center;gap:8px;width:100%;min-width:0;min-height:0;display:flex}.resource-preview-set>.resource-preview{flex:auto;min-height:0}.resource-preview-pagination{color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none;justify-content:center;align-items:center;gap:12px;font-size:.8125rem;display:flex}.resource-preview-pagination .icon-button{background:var(--surface)}.resource-preview-pagination .icon-button:disabled{opacity:.35;cursor:default}.resource-preview-pagination .icon-button:hover:not(:disabled){background:var(--surface-hover)}.dropdown{gap:8px;min-width:0;display:grid}.dropdown-label{font-size:.875rem;font-weight:500}.dropdown-trigger{background:var(--surface-muted);width:100%;min-width:0;min-height:44px;color:var(--text);text-align:left;transition:background-color var(--motion-fast,.12s) var(--motion-ease,cubic-bezier(.2, 0, 0, 1));border:0;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:11px 14px;font-size:1rem;font-weight:400;display:flex}.dropdown-trigger:hover:not(:disabled),.dropdown-trigger[aria-expanded=true]{background:var(--surface-hover)}.dropdown-trigger:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.dropdown-trigger:disabled{cursor:not-allowed;opacity:.45}.dropdown-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dropdown-trigger>svg{width:18px;height:18px;color:var(--text-muted);transition:transform var(--motion-standard,.18s) var(--motion-ease,cubic-bezier(.2, 0, 0, 1));flex:0 0 18px}.dropdown-trigger[aria-expanded=true]>svg{transform:rotate(180deg)}.dropdown-popup{z-index:100;border-radius:var(--radius-md);background:var(--surface-muted);color:var(--text);font-family:var(--font-sans);overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:var(--control-border) transparent;opacity:0;pointer-events:none;transition:opacity var(--motion-standard,.18s) var(--motion-ease,cubic-bezier(.2, 0, 0, 1)), transform var(--motion-standard,.18s) var(--motion-ease,cubic-bezier(.2, 0, 0, 1));border:0;margin:0;padding:6px;font-size:1rem;display:block;position:fixed;overflow:hidden auto;transform:translateY(-4px)}.dropdown-popup[data-side=above]{transform:translateY(4px)}.dropdown-popup[data-open=true]{opacity:1;pointer-events:auto;transform:translateY(0)}.dropdown-option{border-radius:var(--radius-sm);cursor:pointer;-webkit-user-select:none;user-select:none;min-height:44px;transition:background-color var(--motion-fast,.12s) var(--motion-ease,cubic-bezier(.2, 0, 0, 1)), color var(--motion-fast,.12s) var(--motion-ease,cubic-bezier(.2, 0, 0, 1));justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.dropdown-option>span{overflow-wrap:anywhere;min-width:0}.dropdown-option[data-active=true]{background:var(--surface-hover)}.dropdown-option[aria-selected=true]{background:var(--accent-soft);color:var(--accent)}.dropdown-option[aria-selected=true][data-active=true]{background:var(--accent);color:var(--on-accent)}.dropdown-check{opacity:0;filter:blur(4px);width:18px;height:18px;transition:opacity var(--motion-fast,.12s) ease, scale var(--motion-standard,.18s) var(--motion-ease,cubic-bezier(.2, 0, 0, 1)), filter var(--motion-standard,.18s) var(--motion-ease,cubic-bezier(.2, 0, 0, 1));flex:0 0 18px;scale:.25}.dropdown-option[aria-selected=true] .dropdown-check{opacity:1;filter:blur();scale:1}@media (prefers-reduced-motion:reduce){.dropdown-trigger,.dropdown-trigger>svg,.dropdown-popup,.dropdown-option,.dropdown-check{transition:none}.dropdown-popup,.dropdown-popup[data-side=above]{transform:none}}.editor-unified .editor-icon-picker{flex-direction:column;width:min(380px,100% - 32px);max-height:min(680px,100dvh - 180px);padding:0;display:flex;overflow:hidden}.icon-picker-controls{gap:10px;padding:0 12px 12px;display:grid}.icon-picker-search{background:var(--surface);border-radius:16px;align-items:center;gap:8px;padding:0 12px;display:flex}.editor-unified .icon-picker-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.editor-unified .icon-picker-search input:focus,.editor-unified .icon-picker-search input:focus-visible{box-shadow:none;outline:none}.icon-picker-search>svg{width:18px;color:var(--text-muted);flex:0 0 18px}.icon-picker-search input{width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;outline-offset:4px;background:0 0;border:0;padding:8px 0;font-size:16px}.icon-picker-styles{background:var(--surface);border-radius:24px;gap:4px;padding:4px;display:flex}.icon-picker-styles button{min-height:36px;font:inherit;background:0 0;border:0;border-radius:20px;flex:1;font-size:.85rem}.icon-picker-styles button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.icon-picker-controls .field{gap:4px}.icon-picker-results{overscroll-behavior:contain;scrollbar-width:thin;flex:auto;min-height:0;padding:0 8px;overflow:auto}.icon-picker-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}.icon-picker-item{min-width:0;min-height:70px;color:var(--text);background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:8px 4px;display:flex}.icon-picker-item:hover,.icon-picker-item:focus-visible{background:var(--accent-soft);color:var(--accent)}.icon-picker-item>svg{width:28px;height:28px}.icon-picker-item>span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:.75rem;line-height:1.2;overflow:hidden}.icon-picker-pagination{align-items:center;gap:4px;padding:8px 12px;display:flex}.icon-picker-pagination>span{color:var(--text-muted);font-variant-numeric:tabular-nums;flex:1;font-size:.8rem}.icon-picker-empty{color:var(--text-muted);margin:16px 12px 24px;font-size:.9rem}@media (max-width:600px){.editor-unified .editor-icon-picker{width:calc(100% - 16px);max-height:calc(100dvh - 180px)}}.editor-unified .editor-artwork-picker{flex-direction:column;width:min(380px,100% - 32px);max-height:min(660px,100dvh - 180px);padding:0;display:flex;overflow:hidden}.artwork-picker-search{background:var(--surface);border-radius:16px;align-items:center;gap:8px;margin:0 12px 12px;padding-inline:12px 4px;display:flex}.artwork-picker-search>svg{width:18px;height:18px;color:var(--text-muted);flex-shrink:0}.artwork-picker-search input{width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;outline-offset:4px;background:0 0;border:0;border-radius:8px;padding:8px 0;font-size:16px}.artwork-picker-search input::-webkit-search-cancel-button{display:none}.editor-unified .artwork-picker-search:focus-within{outline:3px solid var(--focus);outline-offset:2px}.editor-unified .artwork-picker-search input:focus,.editor-unified .artwork-picker-search input:focus-visible{box-shadow:none;outline:none}.artwork-picker-results{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--text-muted) transparent;flex:auto;min-height:0;padding:0 12px;overflow-y:auto}.artwork-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.artwork-picker-item{min-width:0;color:var(--text);text-align:left;font:inherit;cursor:pointer;transition:background var(--motion-fast), color var(--motion-fast);background:0 0;border:0;border-radius:14px;grid-template-columns:minmax(0,1fr);align-content:start;gap:4px;padding:6px;display:grid}.artwork-picker-item:hover:not(:disabled),.artwork-picker-item:focus-visible{background:var(--accent-soft);color:var(--accent)}.artwork-picker-image{aspect-ratio:4/3;background:var(--surface);border-radius:10px;place-items:center;width:100%;min-width:0;display:grid;overflow:hidden}.artwork-picker-image img{object-fit:contain;width:100%;height:100%;max-height:120px;display:block}.artwork-picker-item>strong,.artwork-picker-item>span:last-child{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.artwork-picker-item>strong{font-size:.8125rem;font-weight:550}.artwork-picker-item>span:last-child{color:var(--text-muted);font-size:.75rem}.artwork-picker-item:hover:not(:disabled)>span:last-child,.artwork-picker-item:focus-visible>span:last-child{color:inherit}.artwork-picker-item:disabled{opacity:.55;cursor:not-allowed}.artwork-picker-empty{color:var(--text-muted);justify-items:start;gap:12px;padding:12px 0 20px;font-size:.875rem;line-height:1.5;display:grid}.artwork-picker-pagination{align-items:center;gap:4px;min-height:48px;padding:6px 12px;display:flex}.artwork-picker-pagination>span{color:var(--text-muted);font-variant-numeric:tabular-nums;flex:1;font-size:.8rem}@media (max-width:600px){.editor-unified .editor-artwork-picker{width:calc(100% - 16px)}}@media (prefers-reduced-motion:reduce){.artwork-picker-item{transition:none}}.editor-unified .editor-brand-panel{flex-direction:column;padding:0;display:flex;overflow:hidden}.editor-unified .editor-popover.editor-brand-panel>.editor-popover-heading.editor-brand-heading{background:0 0;flex:none;margin:0;padding:8px 8px 4px;position:static}.editor-brand-heading h2{flex:1}.editor-brand-content{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--text-muted) transparent;gap:20px;min-height:0;padding:4px 16px 16px;display:grid;overflow-y:auto}.editor-brand-workspace{color:var(--text-muted);overflow-wrap:anywhere;font-size:.8125rem}.editor-brand-section{gap:10px;display:grid}.editor-brand-section h3{margin:0;font-size:.875rem;font-weight:600}.editor-brand-note{color:var(--text-muted);margin:0;font-size:.8125rem;line-height:1.5}.editor-brand-swatches{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.editor-brand-swatches button{min-width:0;min-height:72px;color:var(--text);font:inherit;transition:background-color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;font-size:.75rem;display:flex}.editor-brand-swatches button:active:not(:disabled){scale:.96}.editor-brand-swatches button:hover:not(:disabled),.editor-brand-swatches button[aria-pressed=true]{background:var(--surface)}.editor-brand-swatches button>span:last-child{text-overflow:ellipsis;white-space:nowrap;text-align:center;width:100%;overflow:hidden}.editor-brand-swatch{border-radius:50%;place-items:center;width:36px;height:36px;display:grid;box-shadow:inset 0 0 0 1px #00000014}.editor-brand-swatch svg{width:18px;height:18px}.editor-brand-logo-preview{background:var(--surface);border-radius:12px;place-items:center;min-height:100px;max-height:180px;padding:12px;display:grid;overflow:hidden}.editor-brand-logo-preview img{object-fit:contain;width:100%;height:100%;max-height:156px;display:block}.editor-brand-logo-preview>svg{width:24px;height:24px;color:var(--text-muted)}.editor-brand-section>.button,.editor-brand-content>.button{justify-self:start;min-height:44px}.editor-brand-error{color:var(--danger);font-size:.8125rem;line-height:1.5}@media (min-width:1100px){.editor-unified .editor-brand-panel{top:80px;bottom:auto}.editor-brand-panel[data-presence]{--reveal-y:-6px}}@media (prefers-reduced-motion:reduce){.editor-brand-swatches button{transition:none}.editor-brand-swatches button:active:not(:disabled){scale:1}}.colour-picker{gap:6px;min-width:0;display:grid}.colour-picker-label{color:var(--text-muted);font-size:.75rem;font-weight:500}.colour-picker-trigger{background:var(--surface-muted);width:100%;min-width:0;min-height:48px;color:var(--text);text-align:left;font-variant-numeric:tabular-nums;transition:background-color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);border:0;border-radius:24px;align-items:center;gap:9px;padding:6px 12px 6px 6px;font-size:.8125rem;display:flex}.colour-picker[data-surface=raised] .colour-picker-trigger{background:var(--surface)}.colour-picker-trigger:hover,.colour-picker[data-surface=raised] .colour-picker-trigger:hover{background:var(--accent-soft)}.colour-picker-trigger>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.colour-picker-chip{border-radius:50%;flex:0 0 32px;height:32px;box-shadow:inset 0 0 0 1px #00000014}.colour-picker-trigger>svg{width:16px;height:16px;color:var(--text-muted);transition:rotate var(--motion-fast) var(--motion-ease);flex-shrink:0}.colour-picker-trigger[aria-expanded=true]>svg{rotate:180deg}.colour-dialog{box-sizing:border-box;overscroll-behavior:contain;background:color-mix(in srgb, var(--surface) 94%, transparent);-webkit-backdrop-filter:blur(20px);width:min(344px,100vw - 16px);max-width:none;max-height:calc(100dvh - 16px);color:var(--text);font-family:var(--font-sans);opacity:1;scrollbar-width:thin;border:0;border-radius:28px;margin:0;padding:12px 16px 16px;transition:opacity .14s ease-out,translate .14s ease-out;position:fixed;inset:auto;overflow:auto;translate:0}.colour-dialog::backdrop{background:#0000001f;transition:background-color .14s ease-out}.colour-dialog[data-closing=true]{opacity:0;pointer-events:none;translate:0 6px}.colour-dialog[data-closing=true]::backdrop{background:0 0}@starting-style{.colour-dialog[open]{opacity:0;translate:0 6px}.colour-dialog[open]::backdrop{background:0 0}}.colour-dialog-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.colour-dialog-heading h2{margin:0;font-size:.9375rem;font-weight:600}.colour-icon-button{width:44px;height:44px;color:var(--text-muted);background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.colour-icon-button:hover{background:var(--surface-muted);color:var(--text)}.colour-icon-button svg{stroke-width:1.75px;width:20px;height:20px}.colour-area{touch-action:none;cursor:crosshair;background-image:linear-gradient(#0000,#000),linear-gradient(90deg,#fff,#0000);border-radius:16px;height:clamp(110px,20dvh,166px);margin:0 8px;position:relative}.colour-area:focus-within{outline:3px solid var(--focus);outline-offset:4px}.colour-area-thumb{pointer-events:none;border:2px solid #fff;border-radius:50%;outline:1px solid #0006;width:20px;height:20px;position:absolute;translate:-50% -50%}.colour-hue{appearance:none;cursor:pointer;touch-action:pan-y;background:0 0;border:0;border-radius:22px;width:calc(100% - 16px);height:44px;margin:4px 8px;padding:0;display:block}.colour-hue::-webkit-slider-runnable-track{background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:6px;height:12px}.colour-hue::-moz-range-track{background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:6px;height:12px}.colour-hue::-webkit-slider-thumb{appearance:none;background:var(--picker-hue);border:3px solid #fff;border-radius:50%;width:22px;height:22px;margin-top:-5px;box-shadow:0 0 0 1px #0000004d}.colour-hue::-moz-range-thumb{box-sizing:border-box;background:var(--picker-hue);border:3px solid #fff;border-radius:50%;width:22px;height:22px;box-shadow:0 0 0 1px #0000004d}.colour-hex-row{align-items:center;gap:10px;margin:4px 0 12px;display:flex}.colour-original{border:0;border-radius:50%;flex-shrink:0;width:44px;height:44px;padding:0;box-shadow:inset 0 0 0 1px #00000014}.colour-hex{background:var(--surface-muted);border-radius:22px;flex:1;align-items:center;gap:12px;min-width:0;min-height:44px;padding:0 14px;display:flex}.colour-hex>span{color:var(--text-muted);font-size:.75rem}.colour-hex input{width:100%;min-width:0;min-height:44px;color:var(--text);font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:12px;padding:0;font-size:1rem}.colour-error{color:var(--danger);margin:-4px 0 12px;font-size:.75rem}.colour-sources{gap:4px;margin-bottom:4px;display:flex}.colour-sources button{min-height:44px;color:var(--text-muted);background:0 0;border:0;border-radius:22px;padding:0 14px;font-size:.8125rem}.colour-sources button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.colour-swatches{overscroll-behavior:contain;scrollbar-width:thin;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:2px;max-height:96px;margin-bottom:12px;display:grid;overflow-y:auto}.colour-swatches button{background:0 0;border:0;border-radius:50%;justify-self:center;place-items:center;width:44px;min-height:44px;padding:4px;display:grid}.colour-swatches button:hover,.colour-swatches button[aria-pressed=true]{background:var(--surface-muted)}.colour-swatches button span{border-radius:50%;place-items:center;width:32px;height:32px;display:grid;box-shadow:inset 0 0 0 1px #00000014}.colour-swatches svg{stroke-width:2px;width:16px;height:16px}.colour-dialog-actions{gap:8px;display:flex}.colour-dialog-actions button{background:var(--surface-muted);min-height:44px;color:var(--text);border:0;border-radius:22px;flex:1;padding:8px 16px;font-size:.875rem;font-weight:500}.colour-dialog-actions .colour-apply{background:var(--accent);color:var(--on-accent)}.colour-dialog-actions .colour-apply:hover{background:var(--accent-hover)}.colour-dialog button{transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease)}.colour-picker button:active,.colour-dialog button:active{scale:.96}.colour-picker button:focus-visible,.colour-dialog button:focus-visible,.colour-dialog input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.colour-visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.colour-dialog,.colour-picker button,.colour-picker-trigger>svg,.colour-dialog button{transition:none}.colour-dialog::backdrop{transition:none}.colour-picker button:active,.colour-dialog button:active{scale:1}}.object-inspector{gap:16px;min-width:0;display:grid}.inspector-label,.inspector-field>span:first-child{color:var(--text-muted);font-size:.75rem;font-weight:500}.inspector-field{gap:6px;min-width:0;display:grid}.inspector-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.inspector-field-grid .colour-picker-trigger{gap:6px;padding-right:8px;font-size:.75rem}.inspector-number{background:var(--surface);border-radius:16px;align-items:center;min-width:0;height:44px;display:flex}.inspector-number input{width:100%;min-width:0;height:44px;color:var(--text);font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:16px;padding:8px 10px;font-size:.875rem}.inspector-number>span{color:var(--text-muted);padding-right:10px;font-size:.75rem}.inspector-range{color:var(--text-muted);gap:5px;font-size:.75rem;display:grid}.inspector-range>span{justify-content:space-between;align-items:center;gap:8px;display:flex}.inspector-range output{color:var(--text);font-variant-numeric:tabular-nums}.inspector-range input{width:100%;height:30px;accent-color:var(--accent);cursor:pointer;margin:0;padding:0}.inspector-fill{gap:10px;display:grid}.inspector-shadow{gap:8px;display:grid}.inspector-shadow-heading{justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-size:.8125rem;font-weight:500;display:flex}.inspector-shadow-controls{animation:inspector-shadow-enter var(--motion-standard) var(--motion-ease);gap:12px;display:grid}@keyframes inspector-shadow-enter{0%{opacity:.5;translate:0 -3px}to{opacity:1;translate:0}}.inspector-segments{background:var(--surface);border-radius:22px;gap:3px;padding:3px;display:flex}.inspector-segments button{min-width:0;min-height:44px;color:var(--text-muted);transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);background:0 0;border:0;border-radius:20px;flex:1;padding:6px;font-size:.8125rem}.inspector-segments button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.inspector-segments button:hover{color:var(--text)}.inspector-segments button:active{scale:.96}.inspector-gradient-preview{border-radius:16px;min-height:64px}.inspector-gradient-presets{gap:8px;display:flex}.inspector-gradient-presets button{height:44px;transition:scale var(--motion-fast) var(--motion-ease);border:0;border-radius:16px;flex:1}.inspector-gradient-presets button:active{scale:.96}.inspector-text-style{align-items:flex-end;gap:8px;display:flex}.inspector-text-style>.inspector-field{flex:1}.inspector-text-style .inspector-number{min-width:56px}.inspector-format-buttons{align-items:center;gap:0;display:flex}.inspector-alignment-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.inspector-corners{grid-template-columns:1fr 1fr;align-items:end;gap:10px;display:grid}.inspector-quiet-button{background:var(--surface);min-height:44px;color:var(--text-muted);transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);border:0;border-radius:18px;padding:6px 10px;font-size:.8125rem}.inspector-quiet-button:hover,.inspector-quiet-button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.inspector-quiet-button:active{scale:.96}.inspector-details{min-width:0}.inspector-details>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;min-height:44px;font-size:.8125rem;font-weight:500;list-style:none;display:flex}.inspector-details>summary::-webkit-details-marker{display:none}.inspector-details>summary svg{width:16px;height:16px;transition:rotate var(--motion-fast) var(--motion-ease)}.inspector-details[open]>summary svg{rotate:180deg}.inspector-details>.inspector-field-grid{padding-top:6px}.font-picker{gap:6px;min-width:0;display:grid}.font-picker-trigger{background:var(--surface);width:100%;min-width:0;min-height:48px;color:var(--text);text-align:left;transition:background-color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);border:0;border-radius:18px;justify-content:space-between;align-items:center;padding:8px 12px;font-size:1rem;display:flex}.font-picker-trigger:hover{background:var(--accent-soft)}.font-picker-trigger:active{scale:.96}.font-picker-trigger>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.font-picker-trigger svg{width:17px;height:17px;transition:rotate var(--motion-fast) var(--motion-ease);flex-shrink:0}.font-picker-trigger[aria-expanded=true] svg{rotate:180deg}.font-picker-panel{z-index:100;background:var(--surface-muted);min-width:0;color:var(--text);font-family:var(--font-sans);animation:font-picker-enter var(--motion-standard) var(--motion-ease);border-radius:24px;flex-direction:column;gap:10px;padding:8px;display:flex;position:fixed;overflow:hidden}.font-picker-heading{flex-shrink:0;justify-content:space-between;align-items:center;min-height:36px;padding-left:8px;font-size:.875rem;font-weight:600;display:flex}.font-picker-heading>span>span{color:var(--text-muted);font-variant-numeric:tabular-nums;margin-left:6px;font-weight:400}.font-picker-close{width:44px;height:44px;color:var(--text-muted);transition:background-color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);background:0 0;border:0;border-radius:50%;place-items:center;margin:-4px 0;display:grid}.font-picker-close:hover{background:var(--surface);color:var(--text)}.font-picker-close:active{scale:.96}.font-picker-close svg{width:18px;height:18px}.font-search{background:var(--surface);transition:outline-color var(--motion-fast) ease;outline-offset:2px;border-radius:18px;outline:2px solid #0000;flex-shrink:0;align-items:center;gap:8px;margin:2px 4px 4px;padding:0 12px;display:flex}.font-search:focus-within{outline-color:var(--focus)}.font-search svg{width:17px;height:17px;color:var(--text-muted);flex-shrink:0}.font-search input{width:100%;min-width:0;min-height:44px;color:var(--text);background:0 0;border:0;border-radius:12px;padding:8px 0;font-size:1rem}.font-search input:focus-visible{outline:none}.font-picker-list{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:var(--control-border) transparent;flex:1;min-height:0;padding:2px;position:relative;overflow-y:auto}.font-picker-option{text-align:left;width:100%;min-height:84px;color:var(--text);transition:background-color var(--motion-fast) ease;background:0 0;border:0;border-radius:18px;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;margin:0 0 4px;padding:10px 12px;display:grid;position:relative}.font-picker-option[data-active=true]{background:var(--surface)}.font-picker-option[aria-selected=true]{background:var(--accent-soft)}.font-option-name{min-width:0;font-family:var(--font-sans);overflow-wrap:anywhere;font-size:.75rem;font-weight:500}.font-option-category{font-family:var(--font-sans);color:var(--text-muted);grid-row:2;font-size:.6875rem}.font-option-preview{white-space:nowrap;text-overflow:ellipsis;grid-area:3/1/auto/-1;min-height:30px;font-size:1.375rem;line-height:1.4;display:block;overflow:hidden}.font-option-preview[data-failed=true]{font-family:var(--font-sans);color:var(--text-muted);padding-top:6px;font-size:.75rem}.font-preview-placeholder{background:var(--control-border);opacity:.35;border-radius:6px;width:65%;height:12px;margin:9px 0;display:block}.font-picker-option>svg{width:18px;height:18px;color:var(--accent);grid-area:1/2/3;align-self:center}.font-picker-empty,.inspector-error{color:var(--text-muted);padding:8px 4px;font-size:.75rem}.font-picker-empty{line-height:1.5;position:absolute;top:130px;left:16px;right:16px}.inspector-error{color:var(--danger)}@keyframes font-picker-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (max-width:600px){.inspector-number input,.font-search input{font-size:1rem}}@media (prefers-reduced-motion:reduce){.object-inspector button:active,.font-picker-close:active{scale:1}.font-picker-trigger svg,.inspector-details>summary svg{transition:none}.font-picker-panel,.inspector-shadow-controls{animation:none}}.editor-unified .editor-popover.editor-clipboard-menu{max-height:min(560px, calc(100dvh - 156px - env(safe-area-inset-bottom)));flex-direction:column;padding:8px 0 0;display:flex;overflow:hidden}.editor-unified .editor-popover.editor-clipboard-menu>.editor-popover-heading.clipboard-heading{background:0 0;flex:none;gap:0;margin:0;padding:0 8px 6px 20px;position:static}.clipboard-heading h2{flex:1}.clipboard-body{overscroll-behavior:contain;scrollbar-width:thin;flex:auto;min-height:0;overflow-y:auto}.clipboard-native-paste{margin:0 12px 12px}.clipboard-paste-target{background:var(--surface);min-height:88px;color:var(--text);caret-color:var(--accent);-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;touch-action:auto;cursor:text;border-radius:16px;padding:16px;font-size:16px;line-height:1.5}.clipboard-paste-target:empty:before{content:attr(data-placeholder);color:var(--text-muted);pointer-events:none}.clipboard-paste-target:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.clipboard-paste-target[aria-disabled=true]{opacity:.5}.clipboard-native-paste p{color:var(--text-muted);margin:8px 4px 0;font-size:.8125rem;line-height:1.5}.clipboard-device-actions{flex:none;gap:6px;padding:0 12px 8px;display:flex}.clipboard-device-actions button{background:var(--surface);min-width:0;min-height:44px;color:var(--text);border:0;border-radius:16px;flex:1;justify-content:center;align-items:center;gap:7px;padding:8px 6px;font-size:.75rem;display:flex}.clipboard-device-actions svg{stroke-width:1.7px;flex:none;width:18px;height:18px}.clipboard-list{overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y;flex-direction:column;flex:auto;gap:4px;min-height:0;margin:0;padding:0 8px;list-style:none;display:flex;overflow:visible}.clipboard-row{align-items:center;min-width:0;display:flex}.clipboard-paste{min-width:0;min-height:84px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:16px;flex:1;align-items:center;gap:10px;padding:6px;display:flex}.clipboard-preview{pointer-events:none;background:#fff;border-radius:10px;flex:0 0 96px;width:96px;height:72px;display:block;overflow:hidden}.clipboard-entry-label{flex-direction:column;gap:5px;min-width:0;font-size:.8125rem;display:flex}.clipboard-entry-label>span{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.clipboard-entry-label small{color:var(--text-muted);font-size:.6875rem}.clipboard-row .clipboard-remove{flex:0 0 44px}.clipboard-device-actions button:hover:not(:disabled),.clipboard-paste:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.clipboard-device-actions button:disabled,.clipboard-paste:disabled{opacity:.4}.clipboard-empty{color:var(--text-muted);text-align:center;padding:20px 12px;font-size:.8125rem;line-height:1.5}.clipboard-session{color:var(--text-muted);flex:none;padding:10px 20px 12px;font-size:.6875rem}@media (max-width:360px){.clipboard-device-actions{gap:4px}.clipboard-device-actions button{gap:5px;font-size:.6875rem}.clipboard-paste{gap:8px}}.page-preset-trigger{background:var(--surface);font-size:.875rem}.page-preset-trigger-dimensions{color:var(--text-muted);font-variant-numeric:tabular-nums}.page-preset-panel{z-index:100;background:var(--surface-muted);min-height:0;color:var(--text);font-family:var(--font-sans);opacity:1;transition:opacity var(--motion-fast) ease, translate var(--motion-fast) var(--motion-ease);border:0;border-radius:24px;flex-direction:column;gap:8px;padding:12px;display:flex;position:fixed;overflow:hidden;translate:0}.page-preset-panel[data-presence=closing]{opacity:0;pointer-events:none;translate:0 -5px}.page-preset-panel[data-side=above][data-presence=closing]{translate:0 5px}.page-preset-heading{flex:none;justify-content:space-between;align-items:center;gap:8px;padding-left:8px;display:flex}.page-preset-heading h3{margin:0;font-size:.9375rem;font-weight:550}.page-preset-search{background:var(--surface);border-radius:16px;flex:none;align-items:center;gap:8px;min-width:0;min-height:44px;padding-inline:12px;display:flex}.page-preset-search>svg{width:18px;height:18px;color:var(--text-muted);flex:0 0 18px}.page-preset-search input{width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;background:0 0;border:0;outline:none;padding:8px 0;font-size:1rem}.page-preset-search input::placeholder{color:var(--text-muted);opacity:1}.page-preset-search:focus-within{outline:3px solid var(--focus);outline-offset:2px}.page-preset-results{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:var(--control-border) transparent;flex:1;min-height:0;margin-inline:-2px;padding:2px;overflow-y:auto}.page-preset-results:empty{display:none}.page-preset-group+.page-preset-group{margin-top:12px}.page-preset-group h4{color:var(--text-muted);margin:4px 10px 6px;font-size:.75rem;font-weight:550}.page-preset-option{width:100%;min-height:60px;color:var(--text);text-align:left;transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease;background:0 0;border:0;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.page-preset-option>span{gap:4px;min-width:0;display:grid}.page-preset-option strong{font-size:.875rem;font-weight:550}.page-preset-option small{color:var(--text-muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:.75rem}.page-preset-option>svg{opacity:0;width:18px;height:18px;transition:opacity var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);flex:0 0 18px;scale:.6}.page-preset-option[data-active=true]{background:var(--surface-hover)}.page-preset-option[aria-selected=true]{color:var(--accent);background:var(--accent-soft)}.page-preset-option[aria-selected=true] small{color:inherit}.page-preset-option[aria-selected=true]>svg{opacity:1;scale:1}.page-preset-option[aria-selected=true][data-active=true]{color:var(--on-accent);background:var(--accent)}.page-preset-empty{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--control-border) transparent;flex:1;align-content:start;justify-items:start;gap:12px;min-height:0;padding:8px;display:grid;overflow-y:auto}.page-preset-empty p{color:var(--text-muted);margin:0;font-size:.875rem}@starting-style{.page-preset-panel[data-presence=open]{opacity:0;translate:0 -5px}.page-preset-panel[data-side=above][data-presence=open]{translate:0 5px}}@media (prefers-reduced-motion:reduce){.page-preset-panel,.page-preset-option,.page-preset-option>svg{transition:none}.page-preset-panel[data-presence]{translate:none}}.editor-unified .editor-popover.editor-page-size{flex-direction:column;padding:8px 0 0;display:flex;overflow:hidden}.editor-unified .editor-popover.editor-page-size>.editor-popover-heading.page-size-heading{background:0 0;flex:none;gap:4px;margin:0;padding:0 8px 6px;position:static}.page-size-heading h2{flex:1}.page-size-heading h2:first-child{padding-left:12px}.page-size-form{flex-direction:column;min-height:0;display:flex}.page-size-scroll{overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y;min-height:0;padding:0 12px;overflow-y:auto}.page-size-orientation button{background:var(--surface);min-width:0;min-height:44px;color:var(--text);border:0;border-radius:16px;justify-content:center;align-items:center;gap:7px;padding:8px 6px;font-size:.8125rem;display:flex}.page-size-orientation button:hover:not(:disabled){color:var(--accent);background:var(--accent-soft)}.page-size-orientation button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);font-weight:550}.page-size-orientation{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px;display:grid}.page-size-orientation svg{stroke-width:1.7px;width:18px;height:18px}.page-size-dimensions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 76px;align-items:start;gap:8px;margin-top:14px;display:grid}.page-size-field{min-width:0;color:var(--text-muted);flex-direction:column;gap:6px;font-size:.75rem;display:flex}.page-size-field input{background:var(--surface);width:100%;min-width:0;height:44px;color:var(--text);font-variant-numeric:tabular-nums;border:0;border-radius:14px;padding:8px 10px;font-size:1rem}.page-size-field input[aria-invalid=true]{background:var(--danger-soft);color:var(--danger)}.page-size-unit .dropdown{gap:6px}.page-size-unit .dropdown-label{color:var(--text-muted);font-size:.75rem;font-weight:400}.page-size-unit .dropdown-trigger{background:var(--surface);border-radius:14px;gap:6px;height:44px;padding:8px 10px}.page-size-unit .dropdown-trigger:hover:not(:disabled),.page-size-unit .dropdown-trigger[aria-expanded=true]{background:var(--surface-hover)}.page-size-unit .dropdown-trigger>svg{flex-basis:16px;width:16px;height:16px}.page-size-error{color:var(--danger);font-size:.6875rem;line-height:1.4}.page-size-orientation button:disabled{opacity:.4}.page-size-scale{margin-top:8px;padding:0 2px}.page-size-note{color:var(--text-muted);margin:-2px 2px 4px;font-size:.6875rem;line-height:1.5}.page-size-footer{flex:none;padding:12px}.page-size-footer .button{width:100%}.canvas-rulers{z-index:1;pointer-events:none;-webkit-user-select:none;user-select:none;color:var(--text-muted);font-variant-numeric:tabular-nums;transition:opacity var(--motion-standard) var(--motion-ease);position:absolute}.canvas-ruler{background:var(--surface-muted);display:block;position:absolute;overflow:hidden}.canvas-ruler--horizontal{border-radius:0 8px 8px 0;top:0;left:28px}.canvas-ruler--vertical{border-radius:0 0 8px 8px;top:28px;left:0}.canvas-ruler-page{fill:var(--surface)}.canvas-ruler text{fill:currentColor;font-size:12px;font-weight:450}.canvas-ruler-major,.canvas-ruler-minor{stroke:currentColor;stroke-width:1px}.canvas-ruler-minor{opacity:.45}.canvas-ruler-edge{stroke:var(--accent);stroke-width:1.5px}.canvas-ruler-unit{background:var(--surface-muted);border-radius:8px 0 0;place-items:center;width:28px;height:28px;font-size:12px;font-weight:550;display:grid;position:absolute}.canvas-rulers[data-presence=closing]{opacity:0;transition-duration:.14s}.editor-grid-sizes.editor-ruler-units{margin-bottom:12px}@starting-style{.canvas-rulers[data-presence=open]{opacity:0}}@media (prefers-reduced-motion:reduce){.canvas-rulers{transition:none}}@media print{.canvas-rulers{display:none}}.canvas-editor{background-color:var(--background);background-image:radial-gradient(var(--border) 1px, transparent 1px);isolation:isolate;touch-action:auto;overscroll-behavior:none;background-size:20px 20px;width:100%;height:100dvh;position:fixed;inset:0;overflow:hidden}.canvas-stage{touch-action:none;position:absolute;inset:0}.editor-float{background:var(--surface);border:0;border-radius:28px;align-items:center;padding:5px;display:flex}.editor-tool{width:44px;height:44px;color:var(--text-muted);transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.editor-tool:active:not(:disabled){scale:.96}.editor-tool svg{stroke-width:1.7px;width:19px;height:19px}.editor-tool:hover:not(:disabled){background:var(--surface-muted);color:var(--text)}.editor-tool[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.editor-tool:disabled{opacity:.3}.editor-divider{background:var(--border);flex-shrink:0;width:1px;height:20px;margin:0 4px;display:block}.editor-document{z-index:3;position:absolute;top:16px;left:16px}.editor-title{text-overflow:ellipsis;background:0 0;border:0;border-radius:18px;width:164px;min-width:0;padding:8px;font-size:.875rem;font-weight:500}.editor-title:hover{background:var(--surface-muted)}.editor-actions{z-index:3;align-items:center;gap:8px;display:flex;position:absolute;top:16px;right:16px}.editor-history{z-index:4;left:20px;bottom:calc(20px + env(safe-area-inset-bottom));position:absolute}.editor-export{background:var(--highlight);height:54px;color:var(--on-highlight);border:0;border-radius:999px;justify-content:center;align-items:center;gap:9px;padding:0 18px;font-size:.875rem;font-weight:550;display:flex}.editor-export:hover{background:var(--highlight-hover)}.editor-export>svg{width:18px;height:18px}.editor-export>svg:last-child{width:14px}.editor-tools{z-index:4;background:var(--toolbar-background);flex-direction:column;gap:4px;position:absolute;top:50%;left:20px;transform:translateY(-50%)}.editor-tools .editor-tool{color:var(--toolbar-text)}.editor-tools .editor-tool:hover:not(:disabled){background:var(--toolbar-hover);color:var(--toolbar-text)}.editor-tools .editor-tool[aria-pressed=true]{background:var(--highlight);color:var(--on-highlight)}.editor-tools .editor-tool[aria-pressed=true]:hover{background:var(--highlight-hover);color:var(--on-highlight)}.editor-tools .editor-divider{background:var(--toolbar-hover);width:24px;height:1px;margin:4px 0}.editor-context{z-index:3;scrollbar-width:none;touch-action:pan-x;gap:2px;max-width:calc(100% - 32px);position:absolute;top:84px;left:50%;overflow-x:auto;transform:translate(-50%)}.editor-context::-webkit-scrollbar{display:none}.editor-colour{background:var(--surface-muted);border-radius:50%;flex-shrink:0;width:44px;height:44px;padding:10px;display:block;position:relative}.editor-colour input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.editor-colour span{border-radius:50%;width:24px;height:24px;display:block}.editor-colour:focus-within{outline:3px solid var(--focus);outline-offset:1px;border-radius:50%}.editor-font{appearance:none;background:0 0;border:0;border-radius:18px;width:112px;height:44px;padding:9px 6px;font-size:.8125rem}.editor-font:hover{background:var(--surface-muted)}.editor-size{background:var(--surface-muted);font-variant-numeric:tabular-nums;border:0;border-radius:18px;width:56px;height:36px;padding:7px;font-size:.8125rem}.editor-dimension{color:var(--text-muted);align-items:center;gap:8px;padding-inline:4px;font-size:.75rem;display:flex}.editor-dimension .editor-size{color:var(--text);width:66px}.editor-inline-text{z-index:5;resize:both;transform-origin:0 0;background:#fff;border:2px solid #4e86c2;border-radius:0;outline:none;max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px);margin:0;padding:0;line-height:1.15;position:absolute;overflow:auto}.editor-zoom{z-index:3;position:absolute;bottom:20px;left:130px}.editor-view-tools{z-index:3;position:absolute;bottom:20px;right:20px}.editor-zoom-value{min-width:60px;height:44px;color:var(--text);font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:22px;font-size:.8125rem}.editor-zoom-value:hover{background:var(--surface-muted)}.editor-popover{z-index:6;background:var(--surface-muted);touch-action:pan-y;border:0;border-radius:24px;width:260px;max-height:min(550px,100dvh - 160px);padding:12px;position:absolute;overflow:auto}.editor-popover .editor-tool:hover:not(:disabled){background:var(--surface)}.editor-popover--tools{top:50%;left:86px;transform:translateY(-50%)}.editor-popover--right{top:80px;right:16px}.editor-popover--document{width:290px;top:80px;left:16px}.editor-popover--grid{bottom:84px;right:20px}.editor-setting-toggle{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:0 8px;font-size:.875rem;display:flex}.editor-quick-edit{z-index:4;right:74px;bottom:calc(12px + env(safe-area-inset-bottom));position:absolute}.editor-unified .editor-quick-edit.editor-float{background:var(--highlight)}.editor-quick-edit .editor-tool{color:var(--on-highlight)}.editor-quick-edit .editor-tool:hover:not(:disabled){background:var(--highlight-hover);color:var(--on-highlight)}.editor-grid-sizes{gap:6px;margin:4px 0;display:flex}.editor-grid-sizes button{background:var(--surface);border:0;border-radius:22px;flex:1;min-height:44px;font-size:.8125rem}.editor-grid-sizes button:hover{color:var(--accent)}.editor-grid-sizes button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.editor-popover-heading{justify-content:space-between;align-items:center;gap:12px;margin:-4px -4px 8px 0;padding-left:8px;display:flex}.editor-popover-heading h2{font-size:.875rem;font-weight:600}.editor-popover-heading .editor-tool{width:44px}.editor-shapes{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.editor-shapes>button{background:var(--surface);border:0;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:84px;font-size:.75rem;display:flex}.editor-shapes>button:hover{background:var(--accent-soft);color:var(--accent)}.editor-shapes svg{width:24px;height:24px}.editor-add-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.editor-add-options>button{background:var(--surface);min-height:72px;transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);border:0;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:10px 4px;font-size:.75rem;display:flex}.editor-add-options>button:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.editor-add-options>button:disabled{opacity:.3}.editor-add-options>button:active{scale:.96}.editor-add-options svg{width:22px;height:22px}.editor-palette{flex-wrap:wrap;gap:8px;margin:16px 0 0;display:flex}.editor-palette button{border:0;border-radius:50%;width:44px;height:44px}.editor-palette button:hover{opacity:.75}.editor-appearance{gap:4px;display:flex}.editor-appearance>button{background:var(--surface);min-height:76px;color:var(--text-muted);border:0;border-radius:18px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;font-size:.8125rem;display:flex}.editor-appearance svg{width:20px;height:20px}.editor-appearance>button:hover{color:var(--accent)}.editor-appearance>button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.editor-export-menu>button,.editor-document-menu>button{text-align:left;background:0 0;border:none;border-radius:18px;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px;font-size:.875rem;display:flex}.editor-export-menu>button:hover,.editor-document-menu>button:hover{background:var(--surface)}.editor-export-menu>button>svg,.editor-document-menu svg{width:18px;height:18px;color:var(--text-muted);flex-shrink:0}.editor-export-formats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:4px 0 8px;display:grid}.editor-export-formats>button{background:var(--surface);min-width:0;min-height:44px;color:var(--text);border:0;border-radius:16px;font-size:.8125rem}.editor-export-formats>button:hover,.editor-export-formats>button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.editor-export-formats>button[aria-pressed=true]{font-weight:600}.editor-export-menu>button.editor-export-download{background:var(--accent);color:var(--on-accent);justify-content:center;margin-top:8px}.editor-export-menu>button.editor-export-download:hover{background:var(--accent-hover)}.editor-export-menu>button.editor-export-download>svg,.editor-export-menu .switch svg{color:inherit}.editor-export-menu small{color:var(--text-muted);margin-top:3px;font-size:.75rem;display:block}.editor-output-note{color:var(--text-muted);margin:8px 10px 4px;font-size:.75rem}.editor-document-menu kbd{color:var(--text-muted);white-space:nowrap;margin-left:auto;font-size:.75rem}.editor-document-menu p{border-top:1px solid var(--border);color:var(--text-muted);margin-top:8px;padding:12px 10px 2px;font-size:.75rem}.editor-mobile-tools{z-index:7;right:8px;bottom:calc(12px + env(safe-area-inset-bottom));background:var(--toolbar-background);position:absolute}.editor-mobile-tool-list{background:var(--toolbar-background);opacity:0;transition:opacity var(--motion-standard) ease, translate var(--motion-standard) var(--motion-ease), display var(--motion-standard) allow-discrete;flex-direction:column;gap:2px;display:none;position:absolute;bottom:64px;right:0;translate:0 6px}.editor-mobile-tool-list[data-open=true]{opacity:1;display:flex;translate:0}@starting-style{.editor-mobile-tool-list[data-open=true]{opacity:0;translate:0 6px}}.editor-mobile-tools .editor-tool{color:var(--toolbar-text)}.editor-mobile-tools .editor-tool:hover{background:var(--toolbar-hover);color:var(--toolbar-text)}.editor-mobile-tools .editor-tool[aria-pressed=true]{background:var(--highlight);color:var(--on-highlight)}.editor-command-menu>button,.editor-edit-text{text-align:left;background:0 0;border:0;border-radius:18px;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px;font-size:.875rem;display:flex}.editor-command-menu>button:hover{background:var(--surface)}.editor-command-menu>button svg,.editor-edit-text svg{width:19px;height:19px}.editor-edit-text{background:var(--accent-soft);color:var(--accent);justify-content:center;font-weight:550}.editor-text-fields{gap:12px;margin:16px 0 12px;display:flex}.editor-text-fields label{color:var(--text-muted);flex-direction:column;gap:6px;font-size:.75rem;display:flex}.editor-text-fields label:first-child{flex:1;min-width:0}.editor-text-fields .editor-font,.editor-text-fields .editor-size{background:var(--surface);width:100%;height:44px;color:var(--text);padding:0 12px;font-size:1rem}.editor-text-fields .editor-font{appearance:auto}.editor-text-fields .editor-size{width:76px}.editor-line-fields label{flex:1;min-width:0}.editor-line-fields .editor-size{width:100%}.editor-object-format{justify-content:space-between;align-items:center;gap:4px;margin:8px 0 12px;display:flex}.editor-object-format .editor-colour{background:var(--surface)}.editor-object-actions{flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:8px 12px 12px;display:grid}.editor-object-actions button{background:var(--surface);border:0;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:56px;padding:6px 0;font-size:.75rem;display:flex}.editor-object-actions button:hover:not(:disabled){color:var(--accent);background:var(--accent-soft)}.editor-object-actions button:disabled{opacity:.3}.editor-object-actions svg{width:19px;height:19px}.editor-popover-heading h2{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-object-menu .editor-popover-heading h2{flex:1;min-width:0}.editor-popover-heading>.editor-tool{flex-shrink:0}.editor-export-menu .editor-popover-heading h2{flex:1}.editor-print-preview{background:var(--background);width:100%;max-width:none;height:100dvh;max-height:none;color:var(--text);border:0;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.editor-print-preview[open]{flex-direction:column;display:flex}.editor-print-toolbar{background:var(--surface);border:0;align-items:center;gap:8px;min-height:72px;padding:8px 20px;display:flex}.editor-print-toolbar h2{flex:1;font-size:1rem;font-weight:550}.editor-print-toolbar .button{min-height:44px}.editor-print-toolbar .button svg{width:18px;height:18px}.editor-print-paper{touch-action:pan-x pan-y;flex:1;justify-content:center;min-height:0;padding:24px;display:flex;overflow:auto}.editor-print-paper img{object-fit:contain;border:0;align-self:flex-start;max-width:100%;max-height:100%;display:block}.editor-workspace-settings h3{margin:14px 8px 8px;font-size:.8125rem;font-weight:500}.editor-position-choices{gap:6px;display:flex}.editor-position-choices button{background:var(--surface);border:0;border-radius:22px;flex:1;min-height:44px;font-size:.8125rem}.editor-position-choices button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.editor-mobile-position-note{display:none}@media (min-width:601px) and (min-height:601px){.canvas-editor[data-toolbar=right] .editor-tools{left:auto;right:20px}.canvas-editor[data-toolbar=right] .editor-popover--tools{left:auto;right:86px}.canvas-editor[data-toolbar=bottom] .editor-tools{flex-direction:row;gap:2px;top:auto;bottom:20px;left:50%;transform:translate(-50%)}.canvas-editor[data-toolbar=bottom] .editor-tools .editor-divider{width:1px;height:24px;margin:0 2px}.canvas-editor[data-toolbar=bottom] .editor-popover--tools{top:auto;bottom:84px;left:50%;transform:translate(-50%)}.canvas-editor[data-toolbar=bottom] .editor-zoom{bottom:84px}}@media (min-width:901px){.canvas-editor[data-layers-open=true][data-layer-side=right] .editor-context{max-width:calc(100% - 420px);left:calc(50% - 160px)}.canvas-editor[data-layers-open=true][data-layer-side=left] .editor-context{max-width:calc(100% - 420px);left:calc(50% + 160px)}}.editor-spinner{animation:1s linear infinite editor-spin}@keyframes editor-spin{to{transform:rotate(360deg)}}@media (max-width:800px){.editor-document{top:12px;left:12px}.editor-title{width:136px}.editor-actions{top:12px;right:12px}.editor-context{top:78px}}@media (max-width:600px),(max-width:900px) and (max-height:600px){.editor-document{top:8px;left:8px;right:8px}.editor-document>.editor-divider{display:none}.editor-title{flex:1;width:auto;padding:6px 8px;font-size:1rem}.editor-actions{display:none}.editor-history{left:8px;bottom:calc(12px + env(safe-area-inset-bottom))}.editor-settings-button,.editor-export,.editor-zoom,.editor-view-tools{display:none}.editor-document-trigger svg{stroke-width:2px}.editor-font{width:100px;font-size:1rem}.editor-size{font-size:1rem}.editor-desktop-position{display:none}.editor-mobile-position-note{color:var(--text-muted);margin:14px 8px 4px;font-size:.8125rem;display:block}.editor-popover{max-height:calc(100dvh - 156px - env(safe-area-inset-bottom));overscroll-behavior:contain}.editor-popover--tools,.editor-popover--mobile{top:auto;left:50%;right:auto;bottom:calc(78px + env(safe-area-inset-bottom));width:min(340px,100% - 16px);transform:translate(-50%)}.editor-popover--right,.editor-popover--document,.editor-popover--grid{width:min(320px,100% - 16px);inset:70px auto auto 8px}.editor-document-menu>.editor-menu-export{background:var(--highlight);color:var(--on-highlight)}.editor-document-menu>.editor-menu-export:hover{background:var(--highlight-hover)}.editor-menu-export svg{color:inherit}.canvas-editor~.toast-region{bottom:calc(78px + env(safe-area-inset-bottom))}.editor-print-toolbar{gap:5px;min-height:64px;padding:8px}.editor-print-toolbar h2{font-size:.875rem}.editor-print-toolbar .button{gap:6px;padding:0 10px}.editor-print-paper{padding:12px}}@media (min-width:901px) and (max-height:600px){.editor-tools{flex-direction:row;gap:2px;top:auto;bottom:20px;left:50%;transform:translate(-50%)}.editor-tools .editor-divider{width:1px;height:24px;margin:0 2px}.editor-zoom{bottom:84px}.editor-popover--tools{max-height:calc(100dvh - 164px);top:auto;bottom:84px;left:50%;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){.editor-spinner{animation:none}.editor-tool:active:not(:disabled){scale:1}}.editor-unified .editor-document{width:min(440px,100% - 32px);top:16px;left:16px;right:auto}.editor-unified .editor-title{flex:1;width:auto;font-size:.9375rem}.editor-unified .editor-document-trigger{color:var(--text-muted);background:0 0}.editor-unified .editor-document-trigger:hover,.editor-unified .editor-document-trigger[aria-pressed=true]{color:var(--text);background:var(--surface-muted)}.editor-unified .editor-history{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.editor-unified .editor-mobile-tools{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.editor-unified .editor-float{background:color-mix(in srgb, var(--surface) 80%, transparent);-webkit-backdrop-filter:blur(18px)saturate(1.15)}.editor-unified .editor-mobile-tools,.editor-unified .editor-mobile-tool-list{background:color-mix(in srgb, var(--toolbar-background) 78%, transparent)}.editor-unified .editor-popover{background:color-mix(in srgb, var(--surface-muted) 86%, transparent);-webkit-backdrop-filter:blur(18px)saturate(1.15);max-height:min(720px, calc(100dvh - 164px - env(safe-area-inset-bottom)));overscroll-behavior:contain}.editor-unified .editor-object-menu,.editor-unified .layers-panel{background:color-mix(in srgb, var(--surface) 84%, transparent);-webkit-backdrop-filter:blur(18px)saturate(1.15)}.editor-unified .editor-popover--mobile{top:auto;left:auto;right:16px;bottom:calc(84px + env(safe-area-inset-bottom));width:min(360px,100% - 32px);transform:none}.editor-unified .editor-popover--document{width:min(340px,100% - 32px);inset:80px auto auto 16px;transform:none}.editor-unified .editor-menu-export{background:var(--highlight);color:var(--on-highlight)}.editor-unified .editor-menu-export svg{color:inherit}.editor-save-feedback{opacity:0;pointer-events:none;visibility:hidden;width:0;transition:width .15s ease, opacity .15s ease, visibility .15s allow-discrete;flex:none;display:block}.editor-save-feedback[data-visible=true]{opacity:1;pointer-events:auto;visibility:visible;width:44px}.editor-save-feedback[data-error=true] .editor-save-button{color:var(--danger);background:var(--danger-soft)}.editor-save-announcement{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.editor-save-status{min-height:40px;color:var(--text-muted);align-items:center;gap:8px;padding:8px 10px 0;font-size:.75rem;display:flex}.editor-save-status>span{flex:1}.editor-save-status[data-status=error]{color:var(--danger)}.editor-save-status button{background:var(--surface);border:0;border-radius:22px;align-items:center;gap:6px;min-height:44px;padding:0 12px;display:flex}.editor-group-controls{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.editor-group-controls>span{width:100%;color:var(--text-muted);font-size:.8125rem}.editor-group-controls button{min-height:44px;color:var(--accent);background:var(--accent-soft);border:0;border-radius:22px;align-items:center;gap:6px;padding:0 14px;font-size:.8125rem;display:flex}.editor-group-controls svg{width:18px;height:18px}.editor-unified .editor-object-actions{margin-top:0}.editor-unified .icon-swap__idle{place-items:center;display:grid}.editor-unified~.toast-region{bottom:calc(84px + env(safe-area-inset-bottom))}.editor-unified .editor-object-menu{flex-direction:column;padding:8px 0 0;display:flex;overflow:hidden}.editor-object-menu>.editor-popover-heading{flex:none;margin:0;padding:0 12px 6px 20px}.editor-object-scroll{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding:6px 12px 12px;overflow-y:auto}.editor-last-saved{color:var(--text-muted);gap:4px;margin:12px 10px 4px;font-size:.75rem;display:grid}.editor-last-saved time{color:var(--text);font-variant-numeric:tabular-nums}@media (min-width:601px){.editor-unified .editor-popover:not(.editor-object-menu)>.editor-popover-heading{z-index:2;background:var(--surface-muted);margin-top:-12px;padding-top:8px;padding-bottom:8px;position:sticky;top:-12px}}@media (min-width:1100px){.editor-unified .editor-object-menu{width:320px;max-height:none;top:84px;bottom:84px;right:16px}}@media (min-width:601px) and (max-width:1099px){.editor-quick-edit{right:82px;bottom:calc(16px + env(safe-area-inset-bottom))}.editor-unified:has(.layers-panel:not(.layers-panel--compact)) .editor-object-menu{width:min(360px,100% - 308px)}}@media (max-width:600px){.editor-unified .editor-document{width:calc(100% - 16px);top:8px;left:8px}.editor-unified .editor-history{left:8px;bottom:calc(12px + env(safe-area-inset-bottom))}.editor-unified .editor-mobile-tools{right:8px;bottom:calc(12px + env(safe-area-inset-bottom))}.editor-unified .editor-popover--mobile{right:8px;bottom:calc(78px + env(safe-area-inset-bottom));width:calc(100% - 16px)}.editor-unified .editor-popover--document{width:calc(100% - 16px);top:70px;left:8px}.editor-unified .editor-popover{max-height:calc(100dvh - 156px - env(safe-area-inset-bottom))}}@page{size:auto;margin:0}@media print{body:has(>.editor-print-preview[open])>:not(.editor-print-preview){display:none!important}body>.editor-print-preview[open]{background:#fff;max-height:none;position:absolute;inset:0;overflow:hidden;display:block!important}.editor-print-toolbar{display:none}.editor-print-paper{padding:0;display:block;overflow:hidden}.editor-print-paper img{object-fit:contain;border:none;max-width:none;max-height:none}}.editor-unified .editor-document{width:min(440px,100% - 102px);min-height:54px}.editor-unified .editor-design-settings{z-index:3;width:54px;height:54px;position:absolute;top:16px;right:16px}.editor-design-settings .editor-document-trigger{width:44px;height:44px}.editor-unified .editor-popover--document{top:80px;left:auto;right:16px}@media (min-width:1100px){.editor-unified .editor-history{inset:16px 140px auto auto}.editor-history .editor-save-feedback{order:-1}.editor-unified .editor-mobile-tools{top:16px;bottom:auto;right:78px}.editor-mobile-tool-list{scrollbar-width:thin;max-height:calc(100dvh - 96px);top:64px;bottom:auto;overflow-y:auto;translate:0 -6px}@starting-style{.editor-mobile-tool-list[data-open=true]{translate:0 -6px}}.editor-unified .editor-add-menu,.editor-unified .editor-clipboard-menu{top:80px;bottom:auto}.editor-unified .editor-add-menu[data-presence],.editor-unified .editor-clipboard-menu[data-presence]{--reveal-y:-6px}}@media (max-width:600px){.editor-unified .editor-document{width:calc(100% - 78px)}.editor-unified .editor-title{font-size:1rem}.editor-unified .editor-design-settings{top:8px;right:8px}.editor-unified .editor-popover--document{top:70px;left:auto;right:8px}}.canvas-editor :where(button),.editor-print-preview :where(button),.font-picker-panel :where(button){transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease, opacity var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease)}.canvas-editor :where(button):active:not(:disabled),.editor-print-preview :where(button):active:not(:disabled),.font-picker-panel :where(button):active:not(:disabled){scale:.96}.canvas-editor .layers-row>button:active{scale:1}.canvas-editor :where(input:not([type=range]),textarea,summary){transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease}.editor-design-settings .editor-document-trigger svg{transition:rotate var(--motion-standard) var(--motion-ease)}.editor-design-settings .editor-document-trigger[aria-expanded=true] svg{rotate:60deg}.editor-popover[data-presence],.font-picker-panel[data-presence],.layers-panel[data-presence]{--reveal-x:0px;--reveal-y:8px;opacity:1;transition:opacity var(--motion-standard) ease-out, translate var(--motion-standard) var(--motion-ease);translate:0}.editor-popover--document[data-presence]{--reveal-y:-6px}.font-picker-panel[data-presence]{--reveal-y:-4px;animation:none}.font-picker-panel[data-side=above][data-presence]{--reveal-y:4px}.layers-panel[data-presence]{--reveal-x:-8px;--reveal-y:0px;transition:width var(--motion-standard) var(--motion-ease), opacity var(--motion-standard) ease-out, translate var(--motion-standard) var(--motion-ease);overflow-x:hidden}.editor-popover[data-presence=closing],.font-picker-panel[data-presence=closing],.layers-panel[data-presence=closing]{opacity:0;translate:var(--reveal-x) var(--reveal-y);pointer-events:none;transition-duration:.14s}@starting-style{.editor-popover[data-presence=open],.font-picker-panel[data-presence=open]{opacity:0;translate:var(--reveal-x) var(--reveal-y)}}@media (min-width:1100px){.editor-object-menu[data-presence]{--reveal-x:8px;--reveal-y:0px}}@media (max-width:600px){.layers-panel[data-presence]{--reveal-x:0px;--reveal-y:8px}@starting-style{.layers-panel[data-presence=open]{opacity:0;translate:var(--reveal-x) var(--reveal-y)}}}.layers-row,.layers-select,.layers-rename,.layers-check{transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease, opacity var(--motion-fast) ease}.layers-check svg{transition:scale var(--motion-standard) var(--motion-ease), opacity var(--motion-fast) ease}.layers-check[data-checked=false] svg{opacity:0;scale:.25}.layers-check[data-checked=true] svg{opacity:1;scale:1}.editor-quick-edit[data-presence]{transition:opacity var(--motion-standard) ease, translate var(--motion-standard) var(--motion-ease)}.editor-quick-edit[data-presence=closing]{opacity:0;pointer-events:none;transition-duration:.14s;translate:0 4px}@starting-style{.editor-quick-edit[data-presence=open]{opacity:0;translate:0 4px}}@media (prefers-reduced-motion:reduce){.editor-quick-edit[data-presence]{transition:none;translate:none}}.editor-print-preview[data-presence]{opacity:1;transition:opacity var(--motion-standard) ease-out}.editor-print-preview[data-presence] .editor-print-paper{transition:translate var(--motion-standard) var(--motion-ease);translate:0}.editor-print-preview[data-presence=closing]{opacity:0;pointer-events:none;transition-duration:.14s}.editor-print-preview[data-presence=closing] .editor-print-paper{transition-duration:.14s;translate:0 6px}@starting-style{.editor-print-preview[open][data-presence=open]{opacity:0}.editor-print-preview[open][data-presence=open] .editor-print-paper{translate:0 6px}}@media (prefers-reduced-motion:reduce){.canvas-editor :where(button):active:not(:disabled),.editor-print-preview :where(button):active:not(:disabled),.font-picker-panel :where(button):active:not(:disabled){scale:1}.editor-design-settings .editor-document-trigger[aria-expanded] svg{rotate:none}.editor-popover[data-presence],.layers-panel[data-presence],.font-picker-panel[data-presence],.editor-print-preview[data-presence] .editor-print-paper{translate:none}}@media print{.editor-print-preview[data-presence],.editor-print-preview[data-presence] .editor-print-paper{opacity:1;transition:none;translate:none}}.editor-unified .editor-pages-menu{flex-direction:column;width:min(340px,100% - 32px);max-height:min(720px,100dvh - 104px);display:flex;overflow:hidden}.editor-unified .editor-popover.editor-pages-menu>.editor-popover-heading{background:0 0;flex-shrink:0;margin-top:0;position:static}.editor-pages-menu .editor-popover-heading h2{flex:1}.editor-page-total{color:var(--text-muted);font-variant-numeric:tabular-nums;margin-left:6px;font-weight:400}.editor-page-list{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--text-muted) transparent;gap:6px;min-height:80px;margin:0;padding:2px;list-style:none;display:grid;overflow-y:auto}.editor-page-item{width:100%;min-height:80px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:16px;align-items:center;gap:12px;padding:8px 12px;transition:background .16s ease-out,color .16s ease-out;display:flex}.editor-page-item:hover{background:var(--surface-muted)}.editor-page-item[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.editor-page-thumbnail{flex:0 0 44px;place-items:center;height:62px;display:grid;overflow:hidden}.editor-page-thumbnail .resource-preview{pointer-events:none;background:#fff;border-radius:2px;width:100%;max-height:62px}.editor-page-thumbnail .resource-preview-error{display:none}.editor-page-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:500;overflow:hidden}.editor-page-number{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.8rem}.editor-page-controls{flex-shrink:0;gap:8px;padding-top:12px;display:grid}.editor-page-rename{color:var(--text-muted);gap:6px;padding:0 4px;font-size:.8125rem;display:grid}.editor-page-rename input{width:100%;min-width:0;min-height:44px;color:var(--text);background:var(--surface);font:inherit;border:0;border-radius:16px;padding:10px 14px;font-size:1rem}.editor-page-actions{justify-content:space-between;align-items:center;display:flex}.editor-page-controls .editor-page-add{background:var(--accent-soft);width:100%;min-height:44px;color:var(--accent);border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:500;display:flex}.editor-page-add svg{width:20px;height:20px}.editor-document .editor-page-switch{gap:6px;width:auto;min-width:54px;padding-inline:10px}.editor-page-switch span{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.75rem}.editor-page-switch svg{width:18px;height:18px}.editor-print-pages{flex-direction:column;flex:1;align-items:center;gap:24px;min-height:0;padding:24px;display:flex;overflow-y:auto}.editor-print-sheet{flex-shrink:0;width:min(100%,800px);margin:0}.editor-print-sheet img{width:100%;height:auto;display:block}.editor-print-sheet figcaption{text-align:center;color:var(--text-muted);padding-top:8px;font-size:.875rem}@media (max-width:600px){.editor-unified .editor-pages-menu{width:min(340px,100% - 16px);max-height:calc(100dvh - 156px)}.editor-document .editor-page-switch{min-width:44px;padding-inline:6px}.editor-page-switch svg{display:none}.editor-print-pages{gap:16px;padding:12px}}@media (prefers-reduced-motion:reduce){.editor-page-item{transition:none}}.menu-popover{flex:none;display:inline-flex}.menu-popover-trigger{background:var(--surface-muted)}.menu-popover-trigger:hover,.menu-popover-trigger[aria-expanded=true]{background:var(--surface-hover);color:var(--text)}.menu-popover-panel{z-index:100;border-radius:var(--radius-md);background:var(--surface-muted);color:var(--text);box-shadow:none;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:var(--control-border) transparent;opacity:1;transition:opacity var(--motion-fast) ease, translate var(--motion-fast) var(--motion-ease);border:0;align-content:start;margin:0;padding:6px;display:grid;position:fixed;overflow:hidden auto;translate:0}.menu-popover-panel[data-presence=closing]{opacity:0;pointer-events:none;translate:0 -4px}.menu-popover-panel[data-side=above][data-presence=closing]{translate:0 4px}.menu-item{border-radius:var(--radius-sm);width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease;background:0 0;border:0;align-items:center;gap:10px;padding:10px 12px;font-size:.875rem;line-height:1.4;text-decoration:none;display:flex}.menu-item>svg{width:18px;height:18px;color:var(--text-muted);flex:0 0 18px}.menu-item>span{overflow-wrap:anywhere;min-width:0}.menu-item:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}.menu-item[aria-current=page]{background:var(--accent-soft);color:var(--accent)}.menu-item[aria-current=page]>svg{color:currentColor}.menu-item:focus-visible{outline:3px solid var(--focus);outline-offset:1px}.menu-preferences{gap:8px;min-width:0;padding:10px 6px 6px;display:grid}.menu-label{color:var(--text-muted);padding-inline:6px;font-size:.75rem;font-weight:500;line-height:1.4}.menu-preferences .segmented{width:100%;min-width:0}.menu-preferences .segmented button{gap:5px;min-width:0;min-height:44px;padding-inline:8px;font-size:.75rem}.menu-preferences .segmented button svg{flex-shrink:0;width:15px;height:15px}.menu-preferences .segmented button span{display:inline}@starting-style{.menu-popover-panel[data-presence=open]{opacity:0;translate:0 -4px}.menu-popover-panel[data-side=above][data-presence=open]{translate:0 4px}}@media (prefers-reduced-motion:reduce){.menu-popover-panel,.menu-item{transition:none}.menu-popover-panel,.menu-popover-panel[data-presence=closing],.menu-popover-panel[data-side=above][data-presence=closing]{translate:none}}.palette-chooser{margin-bottom:36px}.palette-chooser__heading{margin-bottom:12px}.palette-chooser__heading h2{letter-spacing:-.025em;font-size:1.125rem;font-weight:600}.palette-chooser__heading p{color:var(--text-muted);margin-top:4px;font-size:.875rem}.palette-filters{flex-wrap:wrap;gap:4px;margin-bottom:20px;display:flex}.palette-filters button{min-height:44px;color:var(--text-muted);transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease;background:0 0;border:0;border-radius:999px;padding:10px 14px;font-size:.875rem}.palette-filters button:hover{background:var(--surface-muted);color:var(--text)}.palette-filters button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.palette-choices{grid-template-columns:minmax(0,1fr);gap:24px 16px;display:grid}.palette-option{min-width:0;color:var(--text);text-align:left;background:0 0;border:0;border-radius:16px;padding:0;display:block}.palette-option__pair{border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:hidden}.palette-preview{background:var(--background);min-width:0;color:var(--text);align-content:start;gap:12px;padding:14px;display:grid}.palette-preview__mode{color:var(--text-muted);align-items:center;gap:6px;font-size:.75rem;font-weight:450;display:flex}.palette-preview__mode svg{width:14px;height:14px}.palette-preview__specimen{justify-content:space-between;align-items:center;gap:6px;display:flex}.palette-preview__type{letter-spacing:-.035em;font-size:2.5rem;font-weight:550;line-height:1}.palette-preview__type>span{color:var(--accent)}.palette-preview__highlight{background:var(--highlight);width:28px;height:28px;color:var(--on-highlight);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.palette-preview__highlight svg{width:16px;height:16px}.palette-preview__action{background:var(--accent);width:72px;height:26px;color:var(--on-accent);border-radius:999px;place-items:center;font-size:.75rem;font-weight:550;display:grid}.palette-preview__strip{border-radius:999px;height:6px;display:flex;overflow:hidden}.palette-preview__strip i{flex:1}.palette-preview__strip i:first-child{background:var(--accent)}.palette-preview__strip i:nth-child(2){background:var(--highlight)}.palette-preview__strip i:nth-child(3){background:var(--surface-muted)}.palette-preview__strip i:nth-child(4){background:var(--text)}.palette-option__label{justify-content:space-between;align-items:center;gap:8px;padding:10px 2px 0;display:flex}.palette-option__label>span:first-child{gap:3px;display:grid}.palette-option__label strong{font-size:1rem;font-weight:550}.palette-option__label small{color:var(--text-muted);font-size:.75rem}.palette-option__selected{width:28px;height:28px;color:var(--on-accent);background:var(--accent);opacity:0;transition:opacity var(--motion-fast) ease, transform var(--motion-standard) var(--motion-ease);border-radius:50%;flex-shrink:0;place-items:center;display:grid;transform:scale(.8)}.palette-option__selected svg{stroke-width:2px;width:16px;height:16px}.palette-option[aria-pressed=true] .palette-option__selected{opacity:1;transform:scale(1)}.palette-option:hover .palette-option__label strong{color:var(--accent)}@media (min-width:560px){.palette-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1140px){.palette-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}}@media (min-width:1560px){.palette-choices{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.palette-filters button,.palette-option__selected{transition:none}}.catalogue-discovery{gap:12px;min-width:0;margin-bottom:20px;display:grid}.catalogue-discovery-toolbar{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.catalogue-discovery-search{background:var(--surface);border-radius:999px;grid-column:1/-1;align-items:center;gap:10px;min-width:0;min-height:48px;padding-inline:16px 4px;display:flex}.catalogue-discovery-search>svg,.catalogue-category-search>svg{width:18px;height:18px;color:var(--text-muted);flex:0 0 18px}.catalogue-discovery-search input,.catalogue-category-search input{width:100%;min-width:0;min-height:46px;color:var(--text);font:inherit;background:0 0;border:0;outline:none;padding:10px 0;font-size:1rem}.catalogue-discovery-search input::placeholder,.catalogue-category-search input::placeholder{color:var(--text-muted);opacity:1}.catalogue-discovery-search input::-webkit-search-cancel-button{display:none}.catalogue-category-search input::-webkit-search-cancel-button{display:none}.catalogue-discovery-search:focus-within,.catalogue-category-search:focus-within{outline:3px solid var(--focus);outline-offset:2px}.catalogue-discovery-toolbar .dropdown-label{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.catalogue-discovery-toolbar .dropdown-trigger{background:var(--surface);border-radius:999px;min-height:48px}.catalogue-discovery-toolbar .dropdown-trigger:hover{background:var(--surface-hover)}.catalogue-filters-trigger{min-height:48px}.catalogue-filter-count{min-width:24px;height:24px;color:var(--accent);background:var(--accent-soft);font-variant-numeric:tabular-nums;border-radius:999px;place-items:center;padding-inline:5px;font-size:.75rem;display:grid}.catalogue-selected-filters{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.catalogue-filter-chip{background:var(--accent-soft);max-width:100%;min-height:44px;color:var(--accent);text-align:left;transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease;border:0;border-radius:999px;align-items:center;gap:8px;padding:8px 12px;font-size:.8125rem;display:inline-flex}.catalogue-filter-chip span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.catalogue-filter-chip svg{flex:0 0 16px;width:16px;height:16px}.catalogue-filter-chip:hover{background:var(--accent);color:var(--on-accent)}.catalogue-discovery-summary{min-height:28px;color:var(--text-muted);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:8px;font-size:.8125rem;display:flex}.catalogue-discovery-summary .button{padding-block:8px}.dialog.catalogue-filter-dialog{width:min(600px,100vw - 24px);max-width:calc(100vw - 24px);max-height:min(780px,100dvh - 24px);padding:0;overflow:hidden}.dialog.catalogue-filter-dialog[open]{flex-direction:column;display:flex}.catalogue-filter-heading{flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px 8px 20px;display:flex}.catalogue-filter-dialog .catalogue-filter-heading h2{letter-spacing:-.02em;margin:0;font-size:1.125rem}.catalogue-filter-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--control-border) transparent;gap:24px;min-height:0;padding:8px 20px 16px;display:grid;overflow-y:auto}.catalogue-filter-group{border:0;min-width:0;margin:0;padding:0}.catalogue-filter-group legend{color:var(--text);margin-bottom:10px;padding:0;font-size:.875rem;font-weight:550}.catalogue-category-search{background:var(--surface-muted);border-radius:16px;align-items:center;gap:10px;min-width:0;min-height:46px;margin-bottom:8px;padding-inline:12px 4px;display:flex}.catalogue-category-choices{gap:6px;display:grid}.catalogue-filter-choices{flex-wrap:wrap;gap:6px;display:flex}.catalogue-filter-choice{background:var(--surface-muted);min-width:0;max-width:100%;min-height:44px;color:var(--text);text-align:left;transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease;border:0;border-radius:999px;justify-content:space-between;align-items:center;gap:8px;padding:10px 14px;font-size:.875rem;display:inline-flex}.catalogue-category-choices .catalogue-filter-choice{border-radius:16px;width:100%}.catalogue-filter-choice>span{overflow-wrap:anywhere;min-width:0}.catalogue-filter-choice>svg{opacity:0;width:16px;height:16px;transition:opacity var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);flex:0 0 16px;scale:.6}.catalogue-filter-choice:hover{background:var(--surface-hover)}.catalogue-filter-choice[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.catalogue-filter-choice[aria-pressed=true]>svg{opacity:1;scale:1}.catalogue-filter-chip:focus-visible,.catalogue-filter-choice:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.catalogue-filter-empty{color:var(--text-muted);margin:8px 0;font-size:.875rem}.catalogue-filter-footer{background:var(--surface);flex:none;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;display:flex}.catalogue-filter-footer .button{min-width:0}@media (min-width:680px){.catalogue-discovery-toolbar{grid-template-columns:minmax(0,1fr) minmax(180px,220px) auto}.catalogue-discovery-search{grid-column:auto}.catalogue-category-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.dialog.catalogue-filter-dialog{border-radius:24px 24px 0 0;width:100%;max-width:100%;max-height:calc(100dvh - 16px);margin:auto 0 0}.catalogue-filter-footer{padding-bottom:max(16px, env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.catalogue-filter-chip,.catalogue-filter-choice,.catalogue-filter-choice>svg{transition:none}}.bundle-preview-area{min-width:0}.bundle-preview-caption{color:var(--text-muted);text-align:center;overflow-wrap:anywhere;margin:12px 0 0;font-size:.875rem}.bundle-detail-page .resource-facts>span{align-items:center;gap:8px;display:inline-flex}.bundle-detail-page .resource-facts svg,.bundle-owned svg{width:18px;height:18px}.bundle-contents{margin-top:28px}.bundle-contents h2,.bundle-selected-actions h2{letter-spacing:-.01em;margin:0 0 12px;font-size:1rem}.bundle-contents-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.bundle-content-choice{width:100%;min-height:64px;color:var(--text);text-align:left;transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease;background:0 0;border:0;border-radius:16px;align-items:center;gap:12px;padding:12px;display:flex}.bundle-content-choice:hover{background:var(--surface-hover)}.bundle-content-choice[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.bundle-content-choice:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.bundle-content-choice:disabled{cursor:wait}.bundle-content-number{background:var(--surface);width:32px;height:32px;color:var(--text-muted);font-variant-numeric:tabular-nums;border-radius:50%;flex:0 0 32px;place-items:center;display:grid}.bundle-content-copy{overflow-wrap:anywhere;flex:1;gap:3px;min-width:0;display:grid}.bundle-content-copy strong{font-size:.9375rem;font-weight:550}.bundle-content-copy>span{color:var(--text-muted);font-size:.8125rem}.bundle-content-choice[aria-pressed=true] .bundle-content-copy>span{color:var(--accent)}.bundle-content-check{opacity:0;width:18px;height:18px;transition:opacity var(--motion-fast) ease, transform var(--motion-fast) var(--motion-ease);flex:0 0 18px;transform:scale(.7)}.bundle-content-choice[aria-pressed=true] .bundle-content-check{opacity:1;transform:scale(1)}.bundle-selected-actions{margin-top:24px}.bundle-owned{color:var(--text-muted);align-items:center;gap:7px;font-size:.875rem;display:inline-flex}.bundle-export-progress{color:var(--text-muted);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:8px;font-size:.875rem;display:flex}.dialog.resource-purchase-dialog{width:min(460px,100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px}.resource-purchase-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.resource-purchase-heading h2{margin:0;font-size:1.25rem}.resource-purchase-name{overflow-wrap:anywhere;margin:24px 0 6px}.resource-purchase-price{font-variant-numeric:tabular-nums;margin:0 0 12px;font-size:1.75rem;font-weight:600}.resource-purchase-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:24px;display:flex}.catalogue-type-tabs{flex-wrap:wrap;gap:6px;margin:0 0 16px;display:flex}.catalogue-type-tabs>button{min-height:44px;color:var(--text-muted);background:0 0;border:0;border-radius:999px;padding:10px 16px}.catalogue-type-tabs>button[aria-pressed=true]{background:var(--surface);color:var(--text)}.catalogue-type-tabs>button:hover{background:var(--surface-hover)}.catalogue-type-tabs>button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}@media (max-width:480px){.resource-purchase-actions{flex-direction:column-reverse}.resource-purchase-actions .button{width:100%}}@media (prefers-reduced-motion:reduce){.bundle-content-choice,.bundle-content-check{transition:none}}.delete-confirmation{overflow-wrap:anywhere}.delete-confirmation-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.delete-confirmation-heading h2{margin:8px 0 0}.delete-confirmation-heading .icon-button{flex-shrink:0}.delete-confirmation>p{line-height:1.6}.design-delete-button{color:var(--text-muted);flex:0 0 44px}.design-delete-button:hover:not(:disabled){color:var(--danger);background:var(--danger-soft)}@media (max-width:420px){.delete-confirmation .dialog__actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.delete-confirmation .dialog__actions .button{min-width:0;padding-inline:12px}}.customer-library .catalogue-type-tabs>button{align-items:center;gap:8px;display:inline-flex}.customer-library .catalogue-type-tabs svg{width:16px;height:16px}.customer-library .catalogue-type-tabs span{font-variant-numeric:tabular-nums;color:var(--text-muted)}.customer-library .catalogue-card-caption{align-items:center}.customer-library .resource-card-title{overflow-wrap:anywhere;min-width:0}.customer-library .catalogue-card-artwork{min-width:0}.catalogue-page{width:100%;animation:catalogue-enter .18s var(--motion-ease);margin-inline:auto}.catalogue-heading{margin:0 0 var(--page-section-gap)}.catalogue-card{text-align:left;color:var(--text);background:0 0;border:0;min-width:0;padding:0;display:block}.catalogue-card-open{background:0 0;border:0;border-radius:16px;width:100%;padding:0;display:block}.catalogue-card-artwork .resource-preview{width:100%;height:100%;max-height:100%}.catalogue-card:hover .catalogue-card-artwork{background:var(--surface-hover)}.catalogue-card-caption{justify-content:space-between;align-items:baseline;gap:8px;margin:13px 0 4px;display:flex}.catalogue-card-caption>svg{flex-shrink:0;align-self:center;width:18px;height:18px}.catalogue-price{font-variant-numeric:tabular-nums;flex-wrap:wrap;flex-shrink:0;align-items:baseline;gap:6px;font-size:.8125rem;font-weight:550;display:inline-flex}.catalogue-price del{color:var(--text-muted);font-size:.875em;font-weight:400}.catalogue-card-meta{color:var(--text-muted);font-size:.8125rem;line-height:1.45;display:block}.catalogue-back{margin-bottom:20px}.resource-detail{align-items:start;gap:28px;display:grid}.resource-detail-artwork{background:var(--surface-muted);border-radius:24px;justify-content:center;align-items:center;padding:clamp(14px,3vw,36px);display:flex}.resource-detail-artwork .resource-preview,.resource-detail-artwork .resource-preview-set{max-width:580px}.resource-detail-information{min-width:0}.resource-summary{color:var(--text-muted);max-width:38ch;margin:14px 0 24px}.resource-facts{color:var(--text-muted);justify-content:space-between;align-items:center;gap:16px;margin:26px 0;font-size:.875rem;display:flex}.resource-facts .catalogue-price{color:var(--text);font-size:1.125rem;font-weight:550}.resource-organisation{color:var(--text-muted);gap:6px;margin:-12px 0 24px;font-size:.8125rem;display:grid}.resource-organisation p{overflow-wrap:anywhere;margin:0}.resource-organisation p>span{color:var(--text);margin-right:8px;font-weight:500}.resource-actions{gap:10px;display:grid}.resource-actions .button{min-height:48px}.resource-note{color:var(--text-muted);margin:20px 0 0;font-size:.8125rem}.catalogue-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:280px;padding:32px 12px;display:flex}.catalogue-empty>svg{color:var(--text-muted);stroke-width:1.5px;width:32px;height:32px}.catalogue-empty h1,.catalogue-empty h2{letter-spacing:-.025em;margin:0;font-size:1.5rem;font-weight:550}.catalogue-empty p{color:var(--text-muted);margin:0}.customer-fields{gap:18px;display:grid}.customer-open-canvas{margin-bottom:24px}.customer-fields .field{position:relative}.customer-fields input,.customer-fields textarea{background:var(--surface);color:var(--text)}.customer-fields textarea{resize:vertical}.customer-field-count{font-variant-numeric:tabular-nums;color:var(--text-muted);justify-self:end;font-size:.75rem;font-weight:400}.customer-save{min-height:40px;color:var(--text-muted);align-items:center;gap:8px;margin:8px 0;font-size:.8125rem;display:flex}.customer-save svg{width:16px;height:16px}.catalogue-spinner{animation:.8s linear infinite catalogue-spin}@keyframes catalogue-spin{to{transform:rotate(360deg)}}@keyframes catalogue-enter{0%{opacity:.65;translate:0 5px}to{opacity:1;translate:0}}@media (max-width:390px){.catalogue-card-caption{display:block}.catalogue-price{margin-top:3px;display:block}.catalogue-card-meta{font-size:.75rem}}@media (min-width:720px){.resource-detail{grid-template-columns:minmax(0,1.25fr) minmax(260px,.8fr);gap:clamp(28px,5vw,80px)}.resource-detail-information{padding-top:16px;position:sticky;top:100px}.customer-personalise .resource-detail-artwork{position:sticky;top:100px}.customer-personalise .resource-detail-information{position:static}}@media (min-width:1200px){.resource-detail{max-width:1100px;margin-inline:auto}}@media (prefers-reduced-motion:reduce){.catalogue-page{animation:none}.catalogue-spinner{animation-duration:1.8s}}.field-editor-heading{flex-wrap:wrap}.field-editor-heading>.button{flex-shrink:0}.field-linked-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.field-linked-summary>div{min-width:0;color:var(--text-muted);overflow-wrap:anywhere;gap:4px;font-size:.8125rem;display:grid}.field-linked-summary .button{min-height:44px}.field-layer-picker{background:var(--surface-muted);border-radius:16px;grid-template-columns:minmax(0,1fr);gap:8px;padding:12px;display:grid}.field-layer-picker-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.field-layer-picker-heading h3{font-size:.875rem;font-weight:600}.field-layer-search{background:var(--surface);border-radius:14px;align-items:center;gap:8px;min-height:44px;padding-left:12px;display:flex}.field-layer-search>svg{width:18px;height:18px;color:var(--text-muted);flex-shrink:0}.field-layer-search input{outline-offset:2px;width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;border-radius:10px;padding:10px 8px 10px 0;font-size:16px}.field-layer-search input::-webkit-search-cancel-button{display:none}.author-page .field-layer-search:focus-within{outline:3px solid var(--focus);outline-offset:2px}.author-page .field-layer-search input:focus,.author-page .field-layer-search input:focus-visible{box-shadow:none;outline:none}.field-layer-results{overscroll-behavior:contain;scrollbar-color:var(--text-muted) transparent;gap:6px;max-height:320px;display:grid;overflow-y:auto}.field-layer-option{background:var(--surface);width:100%;min-width:0;color:var(--text);text-align:left;font:inherit;cursor:pointer;transition:background var(--motion-fast), color var(--motion-fast);border:0;border-radius:12px;align-items:flex-start;gap:10px;padding:10px;display:flex}.field-layer-option:hover:not(:disabled),.field-layer-option[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.field-layer-option:disabled{opacity:.55;cursor:not-allowed}.field-layer-icon{flex-shrink:0;place-items:center;width:26px;height:26px;display:grid}.field-layer-icon svg{width:18px;height:18px}.field-layer-copy{gap:3px;min-width:0;display:grid}.field-layer-copy strong{overflow-wrap:anywhere;font-size:.875rem;font-weight:600}.field-layer-copy small{color:var(--text-muted);font-size:.75rem}.field-layer-option:hover:not(:disabled) small,.field-layer-option[aria-pressed=true] small{color:inherit}.field-layer-sample{-webkit-line-clamp:3;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:.875rem;line-height:1.45;display:-webkit-box;overflow:hidden}.field-layer-picker-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.field-layer-empty{justify-items:start;gap:6px;padding:12px 0;display:grid}@media (prefers-reduced-motion:reduce){.field-layer-option{transition:none}}.tag-editor{gap:8px;min-width:0;display:grid}.tag-editor>label{font-size:.8125rem;font-weight:550}.tag-editor-values,.tag-editor-suggestions{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.tag-editor-values{margin:0;padding:0;list-style:none}.tag-editor-values li{min-width:0;max-width:100%}.tag-editor-values button,.tag-editor-suggestions button{text-align:left;max-width:100%;min-height:44px;color:var(--text);background:var(--surface-muted);transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease;border:0;border-radius:999px;align-items:center;gap:8px;padding:8px 12px;font-size:.8125rem;display:inline-flex}.tag-editor-values button span,.tag-editor-suggestions button span{overflow-wrap:anywhere;min-width:0}.tag-editor-values button svg,.tag-editor-suggestions button svg{flex-shrink:0}.tag-editor-values button:hover{background:var(--surface-hover)}.tag-editor-entry{background:var(--surface);border-radius:14px;align-items:center;min-width:0;padding-right:4px;display:flex}.tag-editor-entry input{width:100%;min-width:0;min-height:46px;color:var(--text);background:0 0;border:0;border-radius:14px;padding:12px 14px;font-size:1rem}.tag-editor-entry input::placeholder{color:var(--text-muted);opacity:1}.tag-editor-entry>button{flex-shrink:0}.tag-editor-entry>button:disabled{opacity:.35;cursor:default}.tag-editor-entry>button:hover:not(:disabled){background:var(--surface-hover)}.tag-editor-suggestions button{color:var(--text-muted);background:0 0}.tag-editor-suggestions button:hover{background:var(--surface-muted);color:var(--text)}.tag-editor-message{color:var(--danger);margin:0;font-size:.8125rem}.tag-editor-message:empty{display:none}@media (prefers-reduced-motion:reduce){.tag-editor-values button,.tag-editor-suggestions button{transition:none}}.author-bundle-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"details""resources""preview""access""save""publication";gap:24px;min-width:0;display:grid}.author-bundle-layout>*{min-width:0}.author-bundle-layout .author-form-section{margin:0;padding:0}.bundle-details{grid-area:details}.bundle-tags{border:0;gap:18px;min-width:0;margin:0;padding:0;display:grid}.bundle-organisation{min-width:0}.bundle-organisation-fields{gap:18px;padding-top:12px;display:grid}.bundle-resources{grid-area:resources}.bundle-preview{grid-area:preview;grid-template-columns:minmax(0,1fr);align-self:start;gap:14px;min-width:0;display:grid}.bundle-access{grid-area:access}.bundle-access .author-price{width:min(100%,300px)}.bundle-save{grid-area:save;gap:12px;display:grid}.bundle-publication{grid-area:publication}.bundle-publication .author-published-actions{flex-wrap:wrap}.bundle-preview .dropdown{width:100%;min-width:0}.bundle-preview .dropdown-value{white-space:normal;text-align:left}.bundle-preview-paper{border-radius:var(--radius-md);background:var(--surface-muted);width:100%;min-width:0;height:320px;padding:16px}.bundle-preview-paper>*{width:100%;min-width:0;max-width:100%;height:100%}.bundle-preview-paper .resource-preview{min-width:0;max-width:100%}.bundle-preview-empty{min-height:160px;color:var(--text-muted);text-align:center;place-content:center;justify-items:center;gap:12px;padding:24px 0;font-size:.875rem;display:grid}.bundle-preview-empty svg{width:28px;height:28px}@media (max-width:899px){.bundle-preview:has(.bundle-preview-empty){display:none}}.bundle-selected{overscroll-behavior:contain;gap:6px;max-height:420px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.bundle-selected li{border-radius:var(--radius-sm);background:var(--surface);align-items:center;gap:6px;min-width:0;padding:6px;display:flex}.bundle-resource-position{text-align:center;min-width:24px;color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.75rem}.bundle-resource-name{text-align:left;background:0 0;border:0;border-radius:10px;flex:1;gap:3px;min-width:0;min-height:44px;padding:6px;display:grid}.bundle-resource-name strong,.bundle-picker-option strong{overflow-wrap:anywhere;font-size:.875rem;font-weight:550;line-height:1.4}.bundle-resource-name small,.bundle-picker-option small{color:var(--text-muted);font-size:.75rem;line-height:1.5}.bundle-resource-name[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.bundle-resource-name[aria-pressed=true] small{color:inherit}.bundle-row-actions{flex:none;gap:0;display:flex}.bundle-row-actions .icon-button{width:44px;min-width:44px;height:44px;padding:10px}.bundle-selected li.is-unavailable{background:var(--danger-soft)}.bundle-selected li.is-unavailable small{color:var(--danger)}.bundle-picker{gap:8px;min-width:0;display:grid}.bundle-search{flex:auto;width:100%;margin:0}.bundle-picker-results{overscroll-behavior:contain;align-content:start;gap:4px;min-height:0;max-height:320px;margin:-4px;padding:4px;display:grid;overflow-y:auto}.bundle-picker-option{border-radius:var(--radius-sm);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 12px;display:flex}.bundle-picker-option>span{gap:3px;min-width:0;display:grid}.bundle-picker-option>svg{flex:0 0 18px;width:18px;height:18px}.bundle-picker-option:hover:not(:disabled){background:var(--surface-muted)}.bundle-picker-option[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.bundle-picker-option[aria-pressed=true] small{color:inherit}.bundle-picker-empty{color:var(--text-muted);justify-items:start;gap:12px;padding:16px 8px;font-size:.875rem;display:grid}.bundle-error{color:var(--danger);font-size:.875rem;line-height:1.5}.bundle-confirmation p{color:var(--text-muted);margin-block:16px 24px}.bundle-confirmation .author-section-heading h2{font-size:1.125rem}.bundle-selected,.bundle-picker-results{scrollbar-width:thin;scrollbar-color:var(--control-border) transparent}.bundle-resources .author-section-heading{align-items:center}.bundle-resources .author-section-heading>div{min-width:0}.bundle-resources .author-section-heading>button{flex-shrink:0}@media (max-width:420px){.bundle-selected li{flex-wrap:wrap}.bundle-resource-name{flex-basis:calc(100% - 36px)}.bundle-row-actions{margin-left:auto}.bundle-resources .author-section-heading{flex-wrap:wrap;gap:8px}}@media (min-width:900px){.author-bundle-layout{grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);grid-template-areas:"preview details""preview resources""preview access""preview save""preview publication";column-gap:40px}.bundle-preview{position:sticky;top:96px}.bundle-preview-paper{height:min(580px,100dvh - 300px);min-height:280px}}.creation-jobs{min-width:0;margin-top:40px}.creation-jobs-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.creation-jobs-heading h2{letter-spacing:-.02em;font-size:1.125rem;font-weight:600}.creation-jobs-heading p{color:var(--text-muted);margin-top:6px;font-size:.8125rem}.creation-jobs-heading>button{flex:none}.creation-jobs-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.creation-job{background:var(--surface);animation:creation-job-enter var(--motion-standard,.18s) ease both;border-radius:18px;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:8px 12px;padding:16px 12px;display:grid}.creation-job-icon{background:var(--surface-muted);width:42px;height:42px;color:var(--text-muted);border-radius:15px;place-items:center;display:grid}.creation-job-icon svg{width:20px;height:20px}.creation-job-icon.is-running{background:var(--accent-soft);color:var(--accent)}.creation-job-content{min-width:0}.creation-job h3{overflow-wrap:anywhere;font-size:.9375rem;font-weight:550;line-height:1.4}.creation-job-meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:6px;font-size:.75rem;display:flex}.creation-job-meta time{font-variant-numeric:tabular-nums}.creation-job-cost{font-variant-numeric:tabular-nums;color:var(--text-muted)}.creation-job-status{align-items:center;gap:4px;display:inline-flex}.creation-job-status svg{width:13px;height:13px}.creation-job-status.is-succeeded{color:var(--success)}.creation-job-status.is-failed,.creation-job-status.is-interrupted{color:var(--warning)}.creation-job-actions{flex-wrap:wrap;grid-column:2;align-items:center;gap:8px;display:flex}.creation-job-actions .button{min-height:42px;padding:10px 14px;font-size:.8125rem}.creation-job-error{color:var(--text-muted);overflow-wrap:anywhere;margin-top:8px;font-size:.8125rem;line-height:1.5}.creation-jobs-error,.creation-jobs-empty{color:var(--text-muted);align-items:flex-start;gap:10px;padding-block:16px;font-size:.875rem;line-height:1.5;display:flex}.creation-jobs-error{color:var(--warning)}.creation-jobs-error svg,.creation-jobs-empty svg{flex:none;width:18px;height:18px;margin-top:2px}@media (min-width:680px){.creation-job{grid-template-columns:42px minmax(0,1fr) auto;align-items:center;padding:16px}.creation-job-actions{grid-area:1/3}}@keyframes creation-job-enter{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.creation-job{animation:none}}.resource-type-trigger>svg:first-child{color:var(--text-muted);transform:none}.resource-type-trigger .dropdown-value{flex:1}.dialog.resource-type-dialog{width:min(680px,100vw - 24px);max-height:min(720px,100dvh - 24px);padding:16px;overflow:hidden}.dialog.resource-type-dialog[open]{flex-direction:column;gap:12px;display:flex}.resource-type-heading{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.resource-type-dialog .resource-type-heading h2{letter-spacing:-.02em;margin:0;font-size:1.125rem}.resource-type-search{border-radius:var(--radius-sm);background:var(--surface-muted);flex:none;align-items:center;gap:10px;min-height:46px;padding:0 12px;display:flex}.resource-type-search>svg{width:18px;height:18px;color:var(--text-muted);flex-shrink:0}.resource-type-search input{width:100%;min-width:0;min-height:46px;font:inherit;color:var(--text);background:0 0;border:0;outline:none;padding:10px 0;font-size:1rem}.resource-type-search input::placeholder{color:var(--text-muted);opacity:1}.resource-type-search:focus-within{outline:3px solid var(--focus);outline-offset:2px}.resource-type-results{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--control-border) transparent;min-height:0;margin:-4px;padding:4px;overflow-y:auto}.resource-type-group+.resource-type-group{margin-top:20px}.resource-type-group h3{margin:0 0 8px;padding-inline:8px;font-size:.875rem;font-weight:550;line-height:1.5}.resource-type-options{gap:4px;display:grid}.resource-type-option{border-radius:var(--radius-sm);width:100%;min-width:0;min-height:64px;color:var(--text);text-align:left;transition:background-color var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease);background:0 0;border:0;align-items:center;gap:12px;padding:10px 12px;display:flex}.resource-type-option>svg{width:20px;height:20px;color:var(--text-muted);flex:0 0 20px}.resource-type-option>span{flex:1;gap:3px;min-width:0;display:grid}.resource-type-option strong{overflow-wrap:anywhere;font-size:.875rem;font-weight:500;line-height:1.4}.resource-type-option small{color:var(--text-muted);overflow-wrap:anywhere;font-size:.75rem;line-height:1.4}.resource-type-option:hover{background:var(--surface-muted)}.resource-type-option[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.resource-type-option[aria-pressed=true]>svg,.resource-type-option[aria-pressed=true] small{color:inherit}.resource-type-option:focus-visible{outline:3px solid var(--focus);outline-offset:1px}.resource-type-empty{justify-items:start;gap:12px;padding:16px 8px;display:grid}.resource-type-empty p{color:var(--text-muted);font-size:.875rem}@media (min-width:560px){.resource-type-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){.resource-type-option{transition:none}}.author-page{width:100%;min-width:0}.author-heading{flex-direction:column;align-items:flex-start;gap:20px;display:flex}.author-heading-title{align-items:flex-start;gap:10px;min-width:0;display:flex}.author-back{flex-shrink:0;margin-top:-6px;margin-left:-8px}.author-heading-actions,.author-create-actions,.author-publish-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.author-list-tools{flex-wrap:wrap;align-items:center;gap:12px 20px;margin-bottom:24px;display:flex}.author-tabs{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex}.author-tabs button{min-height:44px;color:var(--text-muted);background:0 0;border:0;border-radius:24px;align-items:center;gap:8px;padding:10px 14px;font-size:.8125rem;display:flex}.author-tabs button[aria-pressed=true]{background:var(--surface);color:var(--text)}.author-tabs button:hover:not(:disabled){background:var(--surface-muted)}.author-tabs button span{font-variant-numeric:tabular-nums;opacity:.7}.author-search{background:var(--surface);border-radius:24px;flex:210px;align-items:center;gap:10px;min-height:44px;padding:0 14px;display:flex}.author-search svg{width:18px;height:18px;color:var(--text-muted)}.author-search input{background:0 0;border:0;outline:none;width:100%;min-width:0;padding:10px 0;font-size:1rem}.author-search:focus-within{outline:2px solid var(--focus);outline-offset:2px}.author-resource-card{min-width:0}.author-resource-art>*{width:100%;height:100%}.author-resource-art:hover{background:var(--surface-hover)}.author-bin-art{cursor:default}.author-bin-art:hover{background:var(--surface-muted)}.author-delete-row{justify-content:flex-end;margin-top:16px;display:flex}.author-resource-caption{flex-wrap:wrap;align-items:flex-start;gap:6px;margin-top:12px;display:flex}.author-resource-caption h2{width:100%}.author-resource-caption h2 button{text-align:left;font:inherit;overflow-wrap:anywhere;background:0 0;border:0;padding:0}.author-status{background:var(--surface-muted);min-height:24px;color:var(--text-muted);white-space:nowrap;border-radius:20px;align-items:center;padding:3px 8px;font-size:.6875rem;display:inline-flex}.author-status.is-published{background:var(--success-soft);color:var(--success)}.author-empty{justify-items:start;gap:12px;padding-block:32px;display:grid}.author-empty h2,.author-creation-note h2,.author-category-placeholder h2{letter-spacing:-.02em;font-size:1.125rem;font-weight:550}.author-empty p,.author-creation-note p,.author-category-placeholder p{color:var(--text-muted);max-width:44ch;font-size:.875rem}.author-create-layout,.author-manage-layout,.author-categories-layout{gap:32px;min-width:0;display:grid}.author-create-form,.author-resource-form,.author-category-form{min-width:0}.author-create-form{align-content:start;gap:22px;display:grid}.author-field>span{margin-bottom:8px;font-size:.8125rem;font-weight:550;display:block}.author-prompt-field{gap:4px;min-width:0;display:grid}.author-prompt-field>button{justify-self:start}.author-field{min-width:0;display:block}.author-field input,.author-field textarea,.author-field select{background:var(--surface);border:0;border-radius:14px;width:100%;min-height:46px;padding:12px 14px;font-size:1rem;display:block}.author-field textarea{resize:vertical;line-height:1.6}.author-field input::placeholder,.author-field textarea::placeholder{color:var(--text-muted);opacity:1}.author-field small{color:var(--text-muted);margin-left:5px;font-size:.75rem;font-weight:400}.author-field select{padding-right:32px}.author-helper{color:var(--text-muted);font-size:.8125rem;line-height:1.5}.author-provider{color:var(--text-muted);overflow-wrap:anywhere;font-size:.75rem}.author-provider.is-unavailable{color:var(--warning)}.author-creation-note{background:var(--surface-muted);border-radius:20px;align-content:start;justify-items:start;gap:14px;padding:26px;display:grid}.author-creation-note ol{gap:16px;width:100%;margin:0;padding:12px 0 0;list-style:none;display:grid}.author-creation-note li{gap:2px;font-size:.8125rem;display:grid}.author-creation-note li>span:first-child{font-weight:550}.author-creation-note li>span:last-child{color:var(--text-muted)}.author-draft-paper{aspect-ratio:210/297;background:var(--surface);border-radius:4px;flex-direction:column;gap:9px;width:116px;margin-bottom:8px;padding:20px 16px;display:flex}.author-draft-paper>div{background:var(--accent-soft);border-radius:8px;height:54px;margin-bottom:5px}.author-draft-paper span{background:var(--surface-muted);border-radius:4px;height:7px;display:block}.author-draft-paper span:last-child{width:60%}.is-generating .author-draft-paper{animation:1.8s ease-in-out infinite author-pulse}.author-spinner{animation:.8s linear infinite author-spin}.author-review-art{align-self:start;min-width:0}.author-review-paper{background:var(--surface-muted);border-radius:18px;height:380px;margin-top:14px;padding:18px}.author-review-paper>*{width:100%;height:100%}.author-paper-meta{color:var(--text-muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:12px;margin:12px 4px 0;font-size:.75rem;display:flex}.author-brief{margin-top:20px;font-size:.8125rem}.author-brief summary,.author-bindings summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:44px;list-style:none;display:flex}.author-brief summary::-webkit-details-marker{display:none}.author-bindings summary::-webkit-details-marker{display:none}.author-brief summary svg,.author-bindings summary svg{width:16px;height:16px;transition:rotate var(--motion-fast) ease}.author-brief[open] summary svg,.author-bindings[open] summary svg{rotate:90deg}.author-brief p{color:var(--text-muted);white-space:pre-wrap;margin-block:6px 10px;line-height:1.6}.author-brief small{color:var(--text-muted)}.author-form-section{gap:16px;margin-bottom:30px;display:grid}.author-form-section h2,.author-section-heading h2{letter-spacing:-.015em;font-size:1rem;font-weight:600}.author-section-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.author-section-heading>div{min-width:0}.author-section-heading p{color:var(--text-muted);margin-top:5px;font-size:.8125rem}.author-section-heading>.author-text-action{flex-shrink:0}.author-fields-list{gap:20px;display:grid}.author-personalisation-field{gap:12px;display:grid}.author-field-row{align-items:flex-end;gap:8px;display:flex}.author-field-row .author-field{flex:1}.author-field-row .icon-button{flex-shrink:0}.author-field-pair{grid-template-columns:minmax(0,1fr) 118px;gap:10px;display:grid}.author-bindings{background:var(--surface-muted);border-radius:14px;padding:0 12px;font-size:.8125rem}.author-switch-row{justify-content:space-between;align-items:center;gap:12px;min-height:48px;font-size:.875rem;display:flex}.author-switch-row>span{overflow-wrap:anywhere;min-width:0}.author-bindings .author-switch-row{font-size:.8125rem}.author-price{width:130px}.author-save-row{justify-content:space-between;align-items:center;gap:16px;margin-bottom:30px;display:flex}.author-publication{padding-top:4px}.author-approved{color:var(--success);white-space:nowrap;align-items:center;gap:6px;font-size:.75rem;display:inline-flex}.author-approved svg{width:16px;height:16px}.author-published-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.author-conflict{background:var(--warning-soft);color:var(--warning);border-radius:14px;margin-bottom:18px;padding:12px 16px;font-size:.8125rem}.author-category-list{align-content:start;gap:6px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.author-category-list>li>button{text-align:left;background:0 0;border:0;border-radius:16px;align-items:center;gap:12px;width:100%;min-height:76px;padding:12px;display:flex}.author-category-list>li>button:hover{background:var(--surface-muted)}.author-category-list>li>button.is-selected{background:var(--accent-soft);color:var(--accent)}.author-category-list svg{flex-shrink:0;width:19px;height:19px}.author-category-list>li>button>span{flex:1;gap:5px;min-width:0;display:grid}.author-category-list strong{overflow-wrap:anywhere;font-size:.9375rem;font-weight:550}.author-category-list small{color:var(--text-muted);font-size:.75rem}.author-category-form{align-content:start;gap:18px;display:grid}.author-category-form-actions{align-items:center;gap:16px;margin-top:4px;display:flex}.author-category-placeholder{align-content:start;justify-items:start;gap:12px;padding:20px 0;display:grid}.author-category-placeholder>svg{width:28px;height:28px;color:var(--text-muted);margin-bottom:4px}.author-page :where(button,input,textarea,select){transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease, opacity var(--motion-fast) ease}@keyframes author-spin{to{rotate:360deg}}@keyframes author-pulse{50%{opacity:.5}}@media (min-width:680px){.author-heading{flex-flow:wrap;justify-content:space-between;align-items:center}.author-heading-title{flex:280px}.author-search{flex:0 260px;margin-left:auto}.author-create-layout{grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);align-items:start}.author-categories-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);gap:40px}.author-category-form{position:sticky;top:96px}}@media (min-width:1000px){.author-create-layout{grid-template-columns:minmax(0,680px) minmax(280px,360px);gap:64px}.author-manage-layout{grid-template-columns:minmax(320px,.95fr) minmax(0,1.1fr);gap:48px}.author-review-art{position:sticky;top:96px}.author-review-paper{height:min(660px,100dvh - 230px);min-height:380px;padding:24px}}@media (prefers-reduced-motion:reduce){.author-spinner,.is-generating .author-draft-paper{animation:none}.author-page :where(button,input,textarea,select),.author-brief summary svg,.author-bindings summary svg{transition:none}}.author-creation-layout{grid-template-columns:minmax(0,720px);align-items:start;gap:32px;display:grid}.author-creation-modes{background:var(--surface-muted);border-radius:28px;gap:6px;padding:4px;display:flex}.author-creation-modes button{min-height:46px;color:var(--text-muted);background:0 0;border:0;border-radius:24px;flex:1;justify-content:center;align-items:center;gap:8px;padding:10px 12px;font-size:.875rem;display:flex}.author-creation-modes button[aria-pressed=true]{background:var(--surface);color:var(--text)}.author-creation-modes svg{flex-shrink:0;width:18px;height:18px}.author-creation-options{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.author-creation-layout .dropdown{width:100%;min-width:0}.author-creation-layout .dropdown-value{white-space:normal;text-align:left}.creation-model-price{color:var(--text-muted);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px 16px;margin-top:-12px;font-size:.75rem;line-height:1.6;display:flex}.creation-model-price p{font-variant-numeric:tabular-nums}.creation-model-price a{color:var(--accent);align-items:center;gap:5px;min-height:44px;margin-block:-10px;text-decoration:none;display:inline-flex}.creation-model-price a:hover{text-decoration:underline}.creation-model-price a svg{width:12px;height:12px}.author-image-result{gap:16px;min-width:0;display:grid}.author-image-result h2{overflow-wrap:anywhere;font-size:1.125rem;font-weight:550}.author-generated-preview{background-color:var(--surface);background-image:conic-gradient(var(--surface-muted) 25%, transparent 0 50%, var(--surface-muted) 0 75%, transparent 0);background-size:20px 20px;border-radius:18px;overflow:hidden}.author-generated-preview img{object-fit:contain;width:100%;max-width:100%;height:auto;max-height:65dvh;display:block}@media (min-width:520px){.author-creation-options{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}}@media (min-width:680px){.author-creation-options--design{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(100px,.65fr)}}@media (min-width:1000px){.author-creation-layout.has-result{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}.author-image-result{position:sticky;top:96px}}.openai-settings{max-width:620px}.openai-settings-status{color:var(--text-muted);align-items:center;gap:10px;font-size:.875rem;display:flex}.openai-settings-status svg{width:19px;height:19px}.openai-connection{align-items:center;gap:14px;margin-bottom:30px;display:flex}.openai-connection-icon{background:var(--surface-muted);width:44px;height:44px;color:var(--text);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.openai-connection-icon svg{width:19px;height:19px}.openai-connection strong{font-size:.9375rem;font-weight:550}.openai-connection p{color:var(--text-muted);margin-top:4px;font-size:.8125rem;line-height:1.5}.openai-settings-form{gap:22px;display:grid}.openai-field-label{margin-bottom:8px;font-size:.8125rem;font-weight:550;display:block}.openai-key-input{background:var(--surface);border-radius:16px;align-items:center;padding-right:4px;display:flex}.openai-key-input input{background:0 0;border-radius:16px;min-width:0}.openai-key-input input:focus{outline:none}.openai-key-input:focus-within{outline:2px solid var(--focus);outline-offset:3px}.openai-key-input>button{flex-shrink:0}.openai-settings-form .author-field>p{margin-top:9px}.openai-remember{justify-content:space-between;align-items:center;gap:24px;display:flex}.openai-remember>div>span{font-size:.875rem;font-weight:500;display:block}.openai-remember p{max-width:47ch;margin-top:5px}.openai-remember .switch{flex-shrink:0}.openai-settings-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.openai-settings .openai-remove{color:var(--danger)}.openai-model-settings{flex-wrap:wrap;align-items:flex-start;gap:14px 24px;margin-top:38px;display:flex}.openai-model-settings>div{flex:230px}.openai-model-settings h2{margin-bottom:6px;font-size:1rem;font-weight:550}.openai-model-settings>button{flex-shrink:0}.openai-model-note{flex-basis:100%}.openai-model-settings>.openai-model-catalogue{flex-basis:100%;gap:18px;display:grid}.openai-model-group h3{color:var(--text-muted);margin-bottom:8px;font-size:.8125rem;font-weight:500}.openai-model-group ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.openai-model-group li{background:var(--surface-muted);border-radius:20px;padding:6px 10px;font-size:.8125rem;line-height:1.5}.openai-unavailable-models{color:var(--text-muted);font-size:.8125rem}.openai-unavailable-models summary{cursor:pointer;align-items:center;gap:8px;min-height:44px;display:flex}.openai-unavailable-models summary::-webkit-details-marker{display:none}.openai-unavailable-models summary svg{width:14px;height:14px;transition:rotate var(--motion-fast) ease}.openai-unavailable-models[open] summary svg{rotate:180deg}.openai-unavailable-models p{margin-top:6px;line-height:1.7}.openai-usage{margin-top:30px}.openai-usage h2{margin-bottom:6px;font-size:1rem;font-weight:550}.openai-usage>div{flex-wrap:wrap;align-items:center;gap:20px;margin-top:6px;display:flex}.openai-settings-error{color:var(--danger);background:var(--danger-soft);overflow-wrap:anywhere;border-radius:14px;margin-top:22px;padding:12px 16px;font-size:.875rem;line-height:1.5}@media (prefers-reduced-motion:reduce){.openai-unavailable-models summary svg{transition:none}}.landing-page{width:100%;max-width:1320px;margin-inline:auto}.landing-hero{align-items:center;gap:28px;display:grid}.landing-introduction{min-width:0}.landing-page h1.landing-title{letter-spacing:-.04em;text-wrap:balance;max-width:13ch;font-size:clamp(2.5rem,6vw,4.5rem);font-weight:600;line-height:1.06}.landing-title span{color:var(--accent)}.landing-summary{max-width:37ch;color:var(--text-muted);margin-top:22px;font-size:clamp(1rem,1.5vw,1.125rem);line-height:1.6}.landing-actions{flex-wrap:wrap;gap:10px;margin-top:26px;display:flex}.landing-actions .button{min-height:48px;padding-inline:20px}.landing-showcase{width:100%;min-width:0;margin:0}.landing-printables{width:100%;height:auto;font-family:var(--font-sans);animation:.5s cubic-bezier(.16,1,.3,1) both landing-unfold;display:block;overflow:visible}.landing-art-ground{fill:var(--accent-soft)}.landing-paper-title{fill:#34424b;letter-spacing:-.025em;font-weight:650}.landing-paper-small{fill:#5c6267;font-size:11px}.landing-paper-days{fill:#42515b;font-weight:500}.landing-discover{align-items:center;gap:22px;margin-top:clamp(40px,6vw,72px);display:grid}.landing-discover h2{letter-spacing:-.025em;max-width:32ch;font-size:clamp(1.25rem,2.2vw,1.625rem);font-weight:550;line-height:1.3}.landing-discover p{max-width:61ch;color:var(--text-muted);margin-top:10px;font-size:.9375rem;line-height:1.6}.landing-discover>.button{justify-self:start;min-height:48px}@keyframes landing-unfold{0%{opacity:.6;clip-path:inset(0 0 8%);translate:0 10px}to{opacity:1;clip-path:inset(0);translate:0}}@media (min-width:760px){.landing-hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,4vw,64px);min-height:490px}.landing-page h1.landing-title{font-size:clamp(2.75rem,5.3vw,4.5rem)}.landing-showcase{align-self:center}.landing-discover{grid-template-columns:minmax(0,1fr) auto;gap:32px}}@media (max-width:359px){.landing-actions{flex-direction:column;align-items:flex-start}}@media (prefers-reduced-motion:reduce){.landing-printables{animation:none}}.account-page{align-content:start;gap:24px;max-width:470px;margin:0 auto;padding-block:4px 32px;display:grid}.account-page .page-heading{margin-bottom:0}.account-page>.button--ghost{justify-self:start}.account-back{justify-self:start;margin-bottom:4px}.account-form{gap:20px;display:grid}.account-field{gap:8px;min-width:0;display:grid}.account-field>span:first-child{font-size:.875rem;font-weight:500}.account-field input{background:var(--surface);border:0;border-radius:16px;width:100%;min-width:0;min-height:50px;padding:12px 16px;font-size:1rem}.account-password{background:var(--surface);border-radius:16px;align-items:center;display:flex}.account-password:focus-within{outline:2px solid var(--focus);outline-offset:2px}.account-password input:focus-visible{outline:none}.account-password button{color:var(--text-muted);background:0 0;border:0;border-radius:14px;place-items:center;min-width:48px;min-height:48px;margin-right:2px;display:grid}.account-password button:hover{background:var(--surface-muted)}.account-password button svg{width:20px;height:20px}.account-links,.account-actions{flex-wrap:wrap;align-items:center;gap:8px 20px;display:flex}.account-links{justify-content:space-between}.account-note{color:var(--text-muted);max-width:65ch;font-size:.8125rem;line-height:1.6}.account-backup{justify-items:start;gap:14px;min-width:0;margin-top:12px;display:grid}.account-backup h2{font-size:1rem;font-weight:550}.account-error,.account-notice{overflow-wrap:anywhere;border-radius:16px;padding:14px 16px;font-size:.875rem;line-height:1.6}.account-error{color:var(--danger);background:var(--danger-soft)}.account-notice{background:var(--surface-muted)}.account-details{gap:20px;display:grid}.account-details div{gap:5px;display:grid}.account-details dt{color:var(--text-muted);font-size:.8125rem}.account-details dd{overflow-wrap:anywhere;margin:0;font-size:1rem}.account-preview-controls{justify-items:start;gap:16px;min-width:0;display:grid}.account-preview-selector{width:min(100%,320px)}.account-preview-selector button{flex:1;min-width:0}.account-preview-selector svg{flex-shrink:0;width:18px;height:18px}.account-verification{min-width:0}.account-alternative{color:var(--text-muted);text-align:center;font-size:.8125rem}.account-security{justify-items:start;gap:16px;min-width:0;max-width:560px;display:grid}.account-security>.account-form{width:100%}.account-security-heading{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.account-security-heading h2{font-size:1rem;font-weight:550}.account-security-heading>svg{width:20px;height:20px;color:var(--text-muted)}.account-security-state{color:var(--text-muted);font-size:.8125rem}.account-authenticator-qr{background:#fff;border-radius:16px;width:min(208px,100%);height:auto;padding:12px}.account-setup-key{min-width:0;max-width:100%;font-size:.875rem}.account-setup-key summary{cursor:pointer;min-height:44px;padding:8px 0}.account-setup-key code{background:var(--surface);overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;border-radius:12px;padding:12px 16px;display:block}.account-field input.account-verification-code{letter-spacing:.18em;font-variant-numeric:tabular-nums;max-width:240px;font-size:1.375rem}.account-authenticators{gap:12px;width:100%;margin:0;padding:0;list-style:none;display:grid}.account-authenticators li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.account-authenticators li>span:first-child{align-items:center;gap:10px;display:flex}.account-authenticators svg{width:18px;height:18px;color:var(--text-muted)}.account-security-confirm{background:var(--surface-muted);border-radius:16px;gap:12px;padding:16px;display:grid}.account-loading{color:var(--text-muted);align-items:center;gap:10px;display:flex}.account-loading svg,.account-spin{animation:.8s linear infinite account-spin}.account-page :where(button,input){transition:color var(--motion-fast) ease, background-color var(--motion-fast) ease, opacity var(--motion-fast) ease}.account-dashboard{align-content:start;gap:36px;width:100%;display:grid}.account-dashboard-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex}.account-stat-section{gap:18px;display:grid}.account-stat-section h2{font-size:1rem;font-weight:550}.account-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;display:grid}.account-stats div{flex-direction:column-reverse;align-items:flex-start;gap:4px;display:flex}.account-stats dt{color:var(--text-muted);font-size:.875rem}.account-stats dd{letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:0;font-size:2.25rem;font-weight:550;line-height:1.2}.account-dashboard-links{flex-wrap:wrap;gap:10px;display:flex}@keyframes account-spin{to{rotate:360deg}}@media (min-width:680px){.account-page{padding-top:16px}.account-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px}}.account-page--settings{gap:var(--page-section-gap);width:100%;max-width:none;margin:0;padding:0}.account-page--settings>.button{justify-self:start}.account-page--settings .account-backup{margin-top:0}.design-storage{width:min(100%,640px);min-width:0}.design-storage>summary{cursor:pointer;border-radius:12px;align-items:center;gap:12px;min-height:48px;padding:8px 0;font-size:1rem;font-weight:550;list-style:none;display:flex}.design-storage>summary::-webkit-details-marker{display:none}.design-storage>summary>span:first-child{flex:1}.design-storage>summary:hover{color:var(--accent)}.design-storage>summary:focus-visible{outline:2px solid var(--focus);outline-offset:4px}.design-storage>summary svg{width:18px;height:18px;transition:rotate var(--motion-fast) var(--motion-ease);flex:0 0 18px}.design-storage[open]>summary svg{rotate:180deg}.design-storage-total{color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.875rem}.design-storage-details{gap:12px;padding-top:8px;display:grid}.design-storage-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.875rem}.design-storage-table th,.design-storage-table td{text-align:right;vertical-align:top;padding:8px 0 8px 16px}.design-storage-table th:first-child{text-align:left;padding-left:0}.design-storage-table th{font-weight:500}.design-storage-table thead{color:var(--text-muted);font-size:.75rem}.design-storage-table small{color:var(--text-muted);margin-top:3px;font-size:.75rem;display:block}.design-storage-details .button{margin-left:4px}@media (prefers-reduced-motion:reduce){.design-storage>summary svg,.account-page :where(button,input){transition:none}.account-loading svg,.account-spin{animation-duration:1.8s}}.onboarding-page{gap:24px;width:100%;padding-bottom:32px;display:grid}.onboarding-page .page-heading{margin-bottom:0}.onboarding-page h1:focus{outline:none}.onboarding-form{gap:24px;width:min(100%,760px);display:grid}.onboarding-form>.account-field{max-width:560px}.onboarding-audiences,.onboarding-plans{border:0;gap:10px;min-width:0;margin:0;padding:0;display:grid}.onboarding-audiences{grid-template-columns:repeat(2,minmax(0,1fr))}.onboarding-audiences legend{margin-bottom:12px;font-size:.9375rem;font-weight:550}.onboarding-choice{background:var(--surface);cursor:pointer;min-width:0;min-height:56px;transition:background-color var(--motion-fast) var(--motion-ease), color var(--motion-fast) var(--motion-ease);border-radius:16px;align-items:center;gap:12px;padding:16px;display:flex;position:relative}.onboarding-choice input{opacity:0;width:1px;height:1px;position:absolute}.onboarding-choice:hover{background:var(--surface-hover)}.onboarding-choice:has(input:checked){background:var(--accent-soft);color:var(--accent)}.onboarding-choice:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:3px}.onboarding-choice:has(input:disabled){cursor:wait}.onboarding-check{opacity:0;width:18px;height:18px;transition:opacity var(--motion-fast) var(--motion-ease), scale var(--motion-fast) var(--motion-ease);flex:0 0 18px;margin-left:auto;scale:.8}.onboarding-choice:has(input:checked) .onboarding-check{opacity:1;scale:1}.onboarding-plan{grid-template-columns:minmax(0,1fr) auto 18px;display:grid}.onboarding-plan-description{gap:4px;display:grid}.onboarding-plan-description strong{font-size:1rem;font-weight:600}.onboarding-plan-description>span,.onboarding-note{color:var(--text-muted);font-size:.875rem;line-height:1.5}.onboarding-choice:has(input:checked) .onboarding-plan-description>span{color:inherit}.onboarding-plan-price{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.9375rem;font-weight:550}.onboarding-plan-explanation{font-size:.9375rem;line-height:1.6}.onboarding-included{align-items:start;gap:12px;line-height:1.6;display:flex}.onboarding-included svg{width:20px;height:20px;color:var(--accent);flex:0 0 20px;margin-top:3px}.onboarding-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.account-workspace{gap:12px;display:grid}.account-workspace h2{font-size:1.125rem;font-weight:550}.account-workspace .button{justify-self:start}.account-workspace p{color:var(--text-muted);font-size:.9375rem}@media (max-width:419px){.onboarding-plan{grid-template-columns:minmax(0,1fr) 18px;gap:8px 12px}.onboarding-plan-price{grid-column:1}.onboarding-plan .onboarding-check{grid-area:1/2/3}}@media (prefers-reduced-motion:reduce){.onboarding-choice,.onboarding-check{transition:none}}.reports-page{align-content:start;gap:32px;min-width:0;display:grid}.reports-page>.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex}.reports-page>.page-heading>div:first-child{flex:280px}.reports-content{gap:32px;min-width:0;display:grid}.reports-section,.reports-detail-grid{align-content:start;gap:20px;min-width:0;display:grid}.reports-detail-grid{gap:32px}.reports-section h2{font-size:1rem;font-weight:550}.reports-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.reports-formats{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.875rem}.reports-formats th,.reports-formats td{text-align:right;padding:14px 8px}.reports-formats th:first-child{text-align:left;padding-left:0}.reports-formats :is(th,td):last-child{padding-right:0}.reports-formats thead th{color:var(--text-muted);padding-top:0;font-weight:400}.reports-formats tbody th{font-weight:500}.reports-formats tbody tr{border-top:1px solid color-mix(in srgb, var(--border) 60%, transparent)}.reports-activity{gap:20px;margin:0;padding:0;list-style:none;display:grid}.reports-activity li{grid-template-columns:28px minmax(0,1fr);align-items:start;gap:3px 10px;display:grid}.reports-event-icon{background:var(--surface-muted);border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.reports-event-icon svg{width:16px;height:16px}.reports-event-icon.is-generated{color:var(--success);background:var(--success-soft)}.reports-event-icon.is-failed{color:var(--danger);background:var(--danger-soft)}.reports-event-content{gap:4px;min-width:0;display:grid}.reports-resource-title{overflow-wrap:anywhere;font-size:.875rem;font-weight:500;line-height:1.5}.reports-event-meta,.reports-activity time{color:var(--text-muted);font-size:.8125rem;line-height:1.5}.reports-activity time{font-variant-numeric:tabular-nums;grid-column:2}.reports-empty{color:var(--text-muted);padding-block:12px;font-size:.875rem;line-height:1.6}.reports-note{min-width:0;max-width:68ch;color:var(--text-muted);justify-self:start}.reports-note summary{cursor:pointer;width:-moz-fit-content;width:fit-content;min-height:44px;transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease;border-radius:12px;align-items:center;gap:8px;margin-left:-10px;padding:6px 10px;font-size:.8125rem;list-style:none;display:flex}.reports-note summary::-webkit-details-marker{display:none}.reports-note summary:hover{color:var(--text);background:var(--surface-muted)}.reports-note summary svg{flex-shrink:0;width:17px;height:17px}.reports-note>div{gap:8px;padding-top:4px;font-size:.8125rem;line-height:1.6;display:grid}.reports-updated{color:var(--text-muted);font-variant-numeric:tabular-nums;margin-top:-24px;font-size:.75rem}@media (min-width:820px){.reports-detail-grid{grid-template-columns:minmax(220px,.65fr) minmax(0,1fr);gap:48px}.reports-activity li{grid-template-columns:28px minmax(0,1fr) auto}.reports-activity time{text-align:right;grid-area:1/3;padding-top:3px}}@media (prefers-reduced-motion:reduce){.reports-note summary{transition:none}}.site-settings-page{width:100%;min-width:0}.site-settings-page>.page-heading{margin-bottom:var(--page-section-gap)}.site-settings-form{gap:24px;min-width:0;display:grid}.site-settings-theme{align-items:start;gap:20px;min-width:0;margin-bottom:8px;display:grid}.site-settings-theme-controls{gap:12px;max-width:420px;display:grid}.site-settings-theme h2{letter-spacing:-.02em;font-size:1.125rem;font-weight:600}.site-settings-theme-controls>p{color:var(--text-muted);font-size:.875rem;line-height:1.5}.site-settings-theme-preview{border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px;display:grid;overflow:hidden}.site-settings-theme-preview .palette-preview{gap:16px;padding:20px}.site-settings-theme-name{letter-spacing:-.02em;overflow-wrap:anywhere;font-size:1.125rem;font-weight:600;line-height:1.3}.site-settings-sections{gap:28px;min-width:0;display:grid}.site-settings-group{border:0;align-content:start;gap:16px;min-width:0;margin:0;padding:0;display:grid}.site-settings-group legend{color:var(--text);margin-bottom:16px;padding:0;font-size:1rem;font-weight:550}.site-settings-field{gap:8px;min-width:0;display:grid}.site-settings-field>span{flex-wrap:wrap;align-items:baseline;gap:8px;font-size:.875rem;font-weight:500;display:flex}.site-settings-field>span small{color:var(--text-muted);font-size:.75rem;font-weight:400}.site-settings-field input{background:var(--surface);width:100%;min-width:0;min-height:48px;color:var(--text);font:inherit;transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease;border:0;border-radius:16px;padding:12px 16px;font-size:1rem}.site-settings-field input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.site-settings-field input[aria-invalid=true]{background:var(--danger-soft);color:var(--danger)}.site-settings-field-error{color:var(--danger);font-size:.8125rem}.site-settings-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.site-settings-error{color:var(--danger);justify-items:start;gap:12px;font-size:.875rem;display:grid}.site-settings-error p{overflow-wrap:anywhere;margin:0}.site-settings-loading{color:var(--text-muted);align-items:center;gap:10px;display:flex}.site-settings-loading svg,.site-settings-spin{animation:.8s linear infinite site-settings-spin}@keyframes site-settings-spin{to{rotate:360deg}}@media (min-width:800px){.site-settings-sections{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}}@media (min-width:900px){.site-settings-theme{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}}@media (prefers-reduced-motion:reduce){.site-settings-field input{transition:none}.site-settings-loading svg,.site-settings-spin{animation-duration:1.8s}}.team-settings-page{gap:28px;width:100%;min-width:0;padding-bottom:32px;display:grid}.team-settings-page>.page-heading{margin:0}.team-settings-toolbar{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.team-settings-toolbar>.dropdown{width:min(100%,420px)}.team-settings-tabs{justify-self:start;max-width:100%}.team-settings-tabs button{padding-inline:20px}.team-settings-content,.team-settings-form,.team-settings-section{align-content:start;gap:20px;min-width:0;display:grid}.team-settings-section{gap:16px}.team-settings-section h2{letter-spacing:-.02em;font-size:1.125rem;font-weight:600}.team-settings-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.team-settings-section-heading>div{gap:6px;display:grid}.team-settings-note{color:var(--text-muted);max-width:68ch;font-size:.875rem;line-height:1.5}.team-settings-fields{border:0;gap:16px;min-width:0;max-width:560px;margin:0;padding:0;display:grid}.team-settings-field{gap:8px;min-width:0;display:grid}.team-settings-field>span{font-size:.875rem;font-weight:500}.team-settings-field input{background:var(--surface);width:100%;min-width:0;min-height:48px;color:var(--text);font:inherit;caret-color:var(--accent);border:0;border-radius:16px;padding:12px 16px}.team-settings-field input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.team-settings-field input::placeholder{color:var(--text-muted)}.team-settings-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.team-settings-error{color:var(--danger);font-size:.9375rem;line-height:1.5}.team-settings-create{gap:20px;max-width:760px;display:grid}.team-settings-create h2{font-size:1.125rem;font-weight:600}.team-settings-details{gap:14px;max-width:560px;display:grid}.team-settings-details>div{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.team-settings-details dt{color:var(--text-muted);font-size:.875rem}.team-settings-details dd{overflow-wrap:anywhere;margin:0}.team-settings-members,.team-settings-invitations{gap:10px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.team-settings-person{background:var(--surface);border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 16px;min-width:0;padding:14px 16px;display:grid}.team-settings-person-details{gap:4px;min-width:0;display:grid}.team-settings-person-details strong{overflow-wrap:anywhere;font-size:1rem;font-weight:550}.team-settings-person-details small,.team-settings-role-label{color:var(--text-muted);overflow-wrap:anywhere;font-size:.8125rem;line-height:1.5}.team-settings-person-actions{flex-wrap:wrap;justify-content:end;align-items:center;gap:8px;min-width:0;display:flex}.team-settings-person-actions>.dropdown{width:142px}.team-settings-person-actions .dropdown-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.team-settings-person-actions .dropdown-trigger{background:var(--surface-muted)}.team-settings-person-actions .button{min-height:44px;font-size:.875rem}.team-settings-person-actions .icon-button{flex:0 0 44px}.team-settings-invite-form{grid-template-columns:minmax(0,1fr) 180px auto;align-items:end;gap:12px;max-width:900px;display:grid}.team-settings-role-help{gap:10px;display:grid}.team-settings-role-help summary{cursor:pointer;width:-moz-fit-content;width:fit-content;min-height:44px;color:var(--text-muted);align-items:center;gap:8px;font-size:.875rem;list-style:none;display:flex}.team-settings-role-help summary::-webkit-details-marker{display:none}.team-settings-role-help summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:8px}.team-settings-role-help summary svg{width:17px;height:17px}.team-settings-role-help dl{gap:12px;max-width:700px;display:grid}.team-settings-role-help dl>div{grid-template-columns:90px minmax(0,1fr);gap:12px;font-size:.875rem;line-height:1.5;display:grid}.team-settings-role-help dt{font-weight:550}.team-settings-role-help dd{color:var(--text-muted);margin:0}.team-settings-brand-layout{gap:36px;min-width:0;display:grid}.team-settings-colours{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;min-width:0;max-width:760px;margin:0;padding:0;display:grid}.team-settings-colour{grid-template-columns:minmax(0,1fr) 44px;align-items:end;gap:8px;min-width:0;display:grid}.team-settings-colour>.team-settings-field{grid-column:1/-1}.team-settings-colour .colour-picker{min-width:0}.team-settings-colour .colour-picker-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.team-settings-colour .colour-picker-trigger{min-width:0}.team-settings-colour .colour-picker-trigger>span:nth-child(2){font-variant-numeric:tabular-nums}.team-settings-swatch-list{flex-wrap:wrap;gap:16px;margin:0;padding:0;list-style:none;display:flex}.team-settings-swatch-list li{overflow-wrap:anywhere;gap:6px;min-width:96px;max-width:160px;font-size:.875rem;display:grid}.team-settings-swatch-list small{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.75rem}.team-settings-swatch{width:56px;height:56px;box-shadow:inset 0 0 0 1px var(--border);border-radius:16px;display:block}.team-settings-logo{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.team-settings-logo-preview{background:var(--surface);border-radius:16px;place-items:center;width:160px;min-height:120px;padding:16px;display:grid}.team-settings-logo-preview img{object-fit:contain;width:100%;height:104px}.team-settings-logo-preview>svg{width:32px;height:32px;color:var(--text-muted)}.team-settings-logo-controls{gap:10px;display:grid}.team-settings-upload{position:relative}.team-settings-upload input{opacity:0;width:1px;height:1px;position:absolute}.team-settings-upload:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px}.team-settings-upload:has(input:disabled){opacity:.5;pointer-events:none}.team-settings-confirm{overflow:auto}.team-settings-confirm .dialog__header{gap:16px}.team-settings-confirm .dialog__header h2{overflow-wrap:anywhere}.team-settings-confirm p{line-height:1.6}.team-settings-skeleton{gap:18px;max-width:760px;display:grid}.team-settings-skeleton span{background:var(--surface-muted);border-radius:16px;min-height:56px;display:block}.team-settings-skeleton span:first-child{width:65%}.team-settings-skeleton span:last-child{width:80%}.team-settings-spin{animation:.8s linear infinite team-settings-spin}@keyframes team-settings-spin{to{rotate:360deg}}@media (min-width:1100px){.team-settings-brand-layout{grid-template-columns:minmax(0,3fr) minmax(280px,2fr);gap:48px}}@media (max-width:699px){.team-settings-invite-form{grid-template-columns:minmax(0,1fr) 140px}.team-settings-invite-form>.button{grid-column:1/-1;justify-self:start}.team-settings-person{grid-template-columns:minmax(0,1fr)}.team-settings-person-actions{justify-content:start}}@media (max-width:419px){.team-settings-colours,.team-settings-invite-form{grid-template-columns:minmax(0,1fr)}.team-settings-tabs{width:100%}.team-settings-tabs button{min-width:0;padding-inline:14px}.team-settings-toolbar{align-items:stretch}.team-settings-toolbar>.dropdown{flex:100%}}@media (prefers-reduced-motion:reduce){.team-settings-spin{animation-duration:1.8s}}.resource-conflict-trigger{z-index:75;left:max(16px, env(safe-area-inset-left));bottom:calc(90px + env(safe-area-inset-bottom));background:var(--danger-soft);color:var(--danger);position:fixed}.resource-conflict-trigger:hover:not(:disabled){background:var(--danger-soft);color:var(--danger)}.resource-conflict-dialog .dialog__actions{justify-content:flex-start}.resource-conflict-dialog .resource-conflict-error{color:var(--danger)}.resource-conflict-spinner{animation:.8s linear infinite resource-conflict-spin}@keyframes resource-conflict-spin{to{rotate:360deg}}@media (prefers-reduced-motion:reduce){.resource-conflict-spinner{animation-duration:1.8s}}.subscription-page{align-content:start;gap:24px;width:100%;padding-bottom:32px;display:grid}.subscription-page .page-heading{margin-bottom:0}.subscription-plans{gap:12px;display:grid}.subscription-plan{background:var(--surface);border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px 20px;padding:20px;display:grid}.subscription-plan-name{min-width:0}.subscription-plan-name h2{letter-spacing:-.02em;font-size:1.0625rem;font-weight:600;line-height:1.4}.subscription-plan-name>p{color:var(--text-muted);margin-top:4px;font-size:.875rem;line-height:1.5}.subscription-plan-users{grid-column:1/-1;font-size:.9375rem;line-height:1.5}.subscription-price{white-space:nowrap;flex-wrap:wrap;justify-content:end;align-items:baseline;gap:4px 8px;display:flex}.subscription-price strong{letter-spacing:-.035em;font-variant-numeric:tabular-nums;font-size:2rem;font-weight:600;line-height:1.2}.subscription-price span,.subscription-note{color:var(--text-muted);font-size:.875rem;line-height:1.6}.subscription-description{max-width:72ch;line-height:1.65}.subscription-access{gap:8px;display:grid}.subscription-access:empty{display:none}.subscription-status{align-items:center;gap:10px;font-size:.9375rem;display:flex}.subscription-status svg{width:20px;height:20px;color:var(--accent);flex-shrink:0}.subscription-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.subscription-actions a{text-decoration:none}.subscription-error{color:var(--danger);background:var(--danger-soft);overflow-wrap:anywhere;border-radius:12px;padding:14px 16px;font-size:.875rem}.subscription-spin{animation:.8s linear infinite subscription-spin}.customer-access-checkout-status{z-index:100;inset-inline:16px;background:var(--surface);width:-moz-fit-content;width:fit-content;max-width:calc(100vw - 32px);color:var(--text);border-radius:12px;align-items:center;gap:10px;margin-inline:auto;padding:14px 18px;font-size:.875rem;display:flex;position:fixed;bottom:24px}.customer-access-checkout-status svg{flex-shrink:0;width:18px;height:18px}.dialog__actions a.button{text-decoration:none}@keyframes subscription-spin{to{rotate:360deg}}@media (min-width:960px){.subscription-plan{grid-template-columns:minmax(0,1.5fr) minmax(160px,.65fr) minmax(210px,1fr);align-items:center;gap:24px}.subscription-price{justify-content:start}.subscription-plan-users{grid-column:auto}}@media (max-width:419px){.subscription-plan{gap:12px;padding:16px}.subscription-price{flex-direction:column;align-items:end;gap:0}.subscription-price strong{font-size:1.75rem}}@media (prefers-reduced-motion:reduce){.subscription-spin{animation-duration:1.8s}}.resource-app{flex-direction:column;min-height:100dvh;display:flex}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.resource-app-header{z-index:30;background:var(--background);flex-wrap:wrap;align-items:center;gap:10px 20px;padding:14px 20px 10px;display:flex;position:sticky;top:0}.resource-brand{min-width:0;max-width:calc(100% - 64px);color:var(--text);letter-spacing:-.035em;align-items:center;gap:10px;font-size:1.25rem;font-weight:650;text-decoration:none;display:inline-flex}.resource-brand-mark{background:var(--highlight);width:36px;height:36px;color:var(--on-highlight);border-radius:12px;flex:0 0 36px;place-items:center;display:grid}.resource-brand-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.resource-brand svg{width:22px;height:22px}.resource-app-nav{flex:1 0 100%;order:3;gap:3px;min-width:0;display:flex}.resource-app-nav a{min-width:0;min-height:44px;color:var(--text-muted);text-align:center;transition:background-color var(--motion-standard) var(--motion-ease), color var(--motion-standard) var(--motion-ease);border-radius:24px;flex:auto;justify-content:center;align-items:center;padding:9px 12px;font-size:.8125rem;font-weight:500;text-decoration:none;display:flex}.resource-app-nav a:hover{background:var(--surface-muted);color:var(--text)}.resource-app-nav a[aria-current=page]{background:var(--surface);color:var(--text)}.application-menu{margin-left:auto}.resource-app-main{outline:none;flex:1;width:100%;min-width:0;padding:28px 20px 48px}.page-heading-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.reports-page>.page-heading{margin-bottom:0}.resource-card-title{letter-spacing:-.015em;overflow-wrap:anywhere;margin:0;font-size:1rem;font-weight:550;line-height:1.4}.resource-card-title button{font:inherit;text-align:left;color:inherit;background:0 0;border:0;border-radius:6px;padding:0}.resource-card-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}.resource-card-actions .button{padding-inline:12px}.catalogue-grid,.author-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px;display:grid}.catalogue-card-artwork,.author-resource-art{aspect-ratio:4/5;background:var(--surface-muted);width:100%;min-width:0;transition:background-color var(--motion-fast) ease;border:0;border-radius:16px;justify-content:center;align-items:center;padding:clamp(12px,2.2vw,30px);display:flex;overflow:hidden}.workspace-loading{min-height:50dvh;color:var(--text-muted);justify-content:center;align-items:center;gap:10px;font-size:.875rem;display:flex}.workspace-loading svg{width:20px;height:20px}@media (min-width:680px){.catalogue-grid,.author-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px}.resource-app-header{flex-wrap:nowrap;gap:28px;padding:16px 32px}.resource-app-nav{order:initial;flex:none;margin-inline:auto}.resource-brand{max-width:min(360px,32vw)}.resource-app-nav a{white-space:nowrap;flex:none;padding-inline:17px;font-size:.875rem}.application-menu{flex-shrink:0;margin-left:0}.resource-app-main{padding:40px 32px 64px}}@media (min-width:1200px){.catalogue-grid,.author-resource-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 24px}}@media (min-width:1100px){.resource-app-header,.resource-app-main{padding-inline:48px}}@media (prefers-reduced-motion:reduce){.resource-app-nav a{transition:none}}.workspace-context{flex-wrap:wrap;align-items:end;gap:12px;margin-block-end:24px;display:flex}.workspace-context>.dropdown{flex:240px;min-width:0;max-width:380px}.workspace-context>.button{flex:none}:root{--page-title-size:1.75rem;--page-title-weight:600;--page-title-leading:1.2;--page-title-tracking:-.035em;--page-section-gap:28px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f3efe7;--surface:#fffdf8;--surface-muted:#e9e3d8;--surface-hover:#e1d9cb;--text:#1e2b3b;--text-muted:#5c5c62;--border:#ddd5c8;--control-border:#9d9587;--accent:#2359bf;--accent-hover:#17469f;--accent-soft:#e1eaff;--on-accent:#fff;--highlight:#efb84f;--highlight-hover:#e4a83a;--highlight-soft:#f8e8c5;--on-highlight:#342711;--toolbar-background:#21364e;--toolbar-text:#d9e3ee;--toolbar-hover:#314a66;--success:#246b46;--success-soft:#eaf3ed;--warning:#805806;--warning-soft:#faf2dc;--danger:#ab3535;--danger-soft:#fbeeee;--focus:#2359bf;--overlay:#12182066;--font-sans:"Inter Variable", Inter, system-ui, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Consolas, monospace;--radius-sm:12px;--radius-md:20px;--radius-lg:28px;--motion-fast:.12s;--motion-standard:.18s;--motion-ease:cubic-bezier(.2, 0, 0, 1);--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px}@media (min-width:680px){:root{--page-title-size:2rem}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#151c27;--surface:#202b3a;--surface-muted:#2b394a;--surface-hover:#314154;--text:#f7f3ea;--text-muted:#b7c0ce;--border:#3b4b60;--control-border:#8190a3;--accent:#80adff;--accent-hover:#a1c2ff;--accent-soft:#253f65;--on-accent:#132039;--highlight:#e2ab47;--highlight-hover:#edba5f;--highlight-soft:#47371e;--on-highlight:#2c2112;--toolbar-background:#263d59;--toolbar-text:#e3ebf7;--toolbar-hover:#354f70;--success:#92d4ac;--success-soft:#22372c;--warning:#edc773;--warning-soft:#3b3221;--danger:#f3a6a6;--danger-soft:#412b30;--focus:#80adff;--overlay:#0009}:root[data-font=source]{--font-sans:"Source Sans 3 Variable", "Source Sans 3", system-ui, sans-serif}.palette-preview[data-palette=cobalt][data-preview-theme=light]{--background:#f3efe7;--surface:#fffdf8;--surface-muted:#e9e3d8;--surface-hover:#e1d9cb;--text:#1e2b3b;--text-muted:#5c5c62;--border:#ddd5c8;--control-border:#9d9587;--accent:#2359bf;--accent-hover:#17469f;--accent-soft:#e1eaff;--on-accent:#fff;--highlight:#efb84f;--highlight-hover:#e4a83a;--highlight-soft:#f8e8c5;--on-highlight:#342711;--toolbar-background:#21364e;--toolbar-text:#d9e3ee;--toolbar-hover:#314a66;--focus:#2359bf;--overlay:#12182066;--success:#246b46;--success-soft:#eaf3ed;--warning:#805806;--warning-soft:#faf2dc;--danger:#ab3535;--danger-soft:#fbeeee}.palette-preview[data-palette=cobalt][data-preview-theme=dark]{--background:#151c27;--surface:#202b3a;--surface-muted:#2b394a;--surface-hover:#314154;--text:#f7f3ea;--text-muted:#b7c0ce;--border:#3b4b60;--control-border:#8190a3;--accent:#80adff;--accent-hover:#a1c2ff;--accent-soft:#253f65;--on-accent:#132039;--highlight:#e2ab47;--highlight-hover:#edba5f;--highlight-soft:#47371e;--on-highlight:#2c2112;--toolbar-background:#263d59;--toolbar-text:#e3ebf7;--toolbar-hover:#354f70;--focus:#80adff;--overlay:#0009;--success:#92d4ac;--success-soft:#22372c;--warning:#edc773;--warning-soft:#3b3221;--danger:#f3a6a6;--danger-soft:#412b30}:root[data-palette=vermilion],.palette-preview[data-palette=vermilion][data-preview-theme=light]{--background:#f8f2eb;--surface:#fffdf8;--surface-muted:#f2e7dc;--surface-hover:#f1e7dd;--text:#332622;--text-muted:#65564f;--border:#d9c6b8;--control-border:#9c7d6c;--accent:#bd3728;--accent-hover:#a92c1f;--accent-soft:#fbe4dc;--on-accent:#fffaf5;--highlight:#f2d766;--highlight-hover:#e7c74e;--highlight-soft:#fcf1c4;--on-highlight:#3b3013;--toolbar-background:#432720;--toolbar-text:#fff0e6;--toolbar-hover:#624037;--focus:#bd3728;--overlay:#301a1470}:root[data-theme=dark][data-palette=vermilion],.palette-preview[data-palette=vermilion][data-preview-theme=dark]{--background:#251b1a;--surface:#332523;--surface-muted:#44312c;--surface-hover:#543d34;--text:#fff3e8;--text-muted:#d4b9ab;--border:#765444;--control-border:#b28f7e;--accent:#ff9279;--accent-hover:#ffae95;--accent-soft:#61352d;--on-accent:#3b1e18;--highlight:#f3d45f;--highlight-hover:#ffe18a;--highlight-soft:#57471e;--on-highlight:#33280d;--toolbar-background:#452821;--toolbar-text:#ffede1;--toolbar-hover:#644033;--focus:#ff9279;--overlay:#120a08a6}:root[data-palette=petrol],.palette-preview[data-palette=petrol][data-preview-theme=light]{--background:#edf2f4;--surface:#fbfdfc;--surface-muted:#e0e9ed;--surface-hover:#d0dce2;--text:#18333e;--text-muted:#475e6a;--border:#c5d6d8;--control-border:#819a9e;--accent:#005f70;--accent-hover:#004957;--accent-soft:#dceef3;--on-accent:#fff;--highlight:#f1b995;--highlight-hover:#e5a77e;--highlight-soft:#fae5d6;--on-highlight:#3d2b22;--toolbar-background:#143845;--toolbar-text:#e0f2f4;--toolbar-hover:#265366;--focus:#005f70;--overlay:#0c232b70}:root[data-theme=dark][data-palette=petrol],.palette-preview[data-palette=petrol][data-preview-theme=dark]{--background:#11252e;--surface:#19343f;--surface-muted:#244652;--surface-hover:#2f5562;--text:#edf6f8;--text-muted:#b7d1d9;--border:#486875;--control-border:#8daeb9;--accent:#78d0e5;--accent-hover:#9ae3ef;--accent-soft:#254e5c;--on-accent:#10323d;--highlight:#efb58f;--highlight-hover:#fac9aa;--highlight-soft:#543c30;--on-highlight:#36251d;--toolbar-background:#0b2229;--toolbar-text:#daeff0;--toolbar-hover:#1f4651;--focus:#78d0e5;--overlay:#041117a6}:root[data-palette=citron],.palette-preview[data-palette=citron][data-preview-theme=light]{--background:#f3f2eb;--surface:#fffef8;--surface-muted:#e8e7dc;--surface-hover:#dbdacf;--text:#25292f;--text-muted:#575b61;--border:#cecec3;--control-border:#8e938e;--accent:#343d48;--accent-hover:#202a34;--accent-soft:#e0e5ea;--on-accent:#fffef8;--highlight:#e1ef4a;--highlight-hover:#d0df2c;--highlight-soft:#f0f4b9;--on-highlight:#303216;--toolbar-background:#242b33;--toolbar-text:#edf0f3;--toolbar-hover:#3b4652;--focus:#4d5d70;--overlay:#191f2470}:root[data-theme=dark][data-palette=citron],.palette-preview[data-palette=citron][data-preview-theme=dark]{--background:#1e2227;--surface:#2a3037;--surface-muted:#363e47;--surface-hover:#444e58;--text:#f8f8ed;--text-muted:#c2c8c9;--border:#59636d;--control-border:#99a4ae;--accent:#e0e6ec;--accent-hover:#f6f9fb;--accent-soft:#434e5a;--on-accent:#252d36;--highlight:#d9ed45;--highlight-hover:#eafa70;--highlight-soft:#43491e;--on-highlight:#282d0d;--toolbar-background:#141b23;--toolbar-text:#e8edf1;--toolbar-hover:#303c49;--focus:#d9ed45;--overlay:#0a0f16a6}:root[data-palette=clay],.palette-preview[data-palette=clay][data-preview-theme=light]{--background:#f6efe5;--surface:#fffaf0;--surface-muted:#eee1d0;--surface-hover:#ede1d2;--text:#3e2c25;--text-muted:#6c5144;--border:#d9c3ab;--control-border:#a48c74;--accent:#a14a30;--accent-hover:#883b27;--accent-soft:#f4dfd1;--on-accent:#fffaf0;--highlight:#8ac9ef;--highlight-hover:#6db9e5;--highlight-soft:#e0f0fa;--on-highlight:#153b51;--toolbar-background:#563b2f;--toolbar-text:#fff0df;--toolbar-hover:#755542;--focus:#a14a30;--overlay:#2f1f1670}:root[data-theme=dark][data-palette=clay],.palette-preview[data-palette=clay][data-preview-theme=dark]{--background:#2a211c;--surface:#3a2c24;--surface-muted:#4c392c;--surface-hover:#594535;--text:#fff4e6;--text-muted:#ddc1a7;--border:#7a604a;--control-border:#b69a80;--accent:#efaa80;--accent-hover:#f8c09a;--accent-soft:#62412f;--on-accent:#3a2318;--highlight:#8acbef;--highlight-hover:#a6dcfa;--highlight-soft:#29495b;--on-highlight:#15364a;--toolbar-background:#39291f;--toolbar-text:#f8e9d9;--toolbar-hover:#594131;--focus:#efaa80;--overlay:#140c07a6}:root[data-palette=marine],.palette-preview[data-palette=marine][data-preview-theme=light]{--background:#eef3fa;--surface:#fbfdff;--surface-muted:#e0e9f5;--surface-hover:#cfdced;--text:#18314e;--text-muted:#4d6077;--border:#c5d3e5;--control-border:#8298b5;--accent:#144ea3;--accent-hover:#0d3b81;--accent-soft:#dce8fb;--on-accent:#fff;--highlight:#f78b79;--highlight-hover:#eb7865;--highlight-soft:#ffe4dd;--on-highlight:#482824;--toolbar-background:#122e52;--toolbar-text:#edf4ff;--toolbar-hover:#244b77;--focus:#144ea3;--overlay:#0c1d3370}:root[data-theme=dark][data-palette=marine],.palette-preview[data-palette=marine][data-preview-theme=dark]{--background:#111f34;--surface:#1a2e48;--surface-muted:#253e5c;--surface-hover:#304c6b;--text:#edf4ff;--text-muted:#b7cbe4;--border:#49688e;--control-border:#8ea8cc;--accent:#91bdff;--accent-hover:#b3d2ff;--accent-soft:#2b4c75;--on-accent:#142b48;--highlight:#ff9c88;--highlight-hover:#ffb5a4;--highlight-soft:#633e3b;--on-highlight:#412621;--toolbar-background:#0c203b;--toolbar-text:#e8f1ff;--toolbar-hover:#23456e;--focus:#91bdff;--overlay:#050e1da6}.palette-preview[data-preview-theme=light]{--success:#246b46;--success-soft:#eaf3ed;--warning:#805806;--warning-soft:#faf2dc;--danger:#ab3535;--danger-soft:#fbeeee}.palette-preview[data-preview-theme=dark]{--success:#92d4ac;--success-soft:#22372c;--warning:#edc773;--warning-soft:#3b3221;--danger:#f3a6a6;--danger-soft:#412b30}:root[data-palette=ink],.palette-preview[data-palette=ink][data-preview-theme=light]{--background:#f2f5f7;--surface:#fcfdfd;--surface-muted:#e4e8eb;--surface-hover:#d8dde0;--text:#203342;--text-muted:#52626d;--border:#c4cacf;--control-border:#949ea6;--accent:#284b63;--accent-hover:#26455b;--accent-soft:#dee4e8;--on-accent:#fff;--highlight:#f3a68b;--highlight-hover:#e29d85;--highlight-soft:#f2ddd7;--on-highlight:#203342;--toolbar-background:#203342;--toolbar-text:#f2f5f7;--toolbar-hover:#40505d;--focus:#284b63;--overlay:#12141670}:root[data-theme=dark][data-palette=ink],.palette-preview[data-palette=ink][data-preview-theme=dark]{--background:#151e25;--surface:#212a30;--surface-muted:#2b333a;--surface-hover:#3a4248;--text:#f1f2f2;--text-muted:#bec1c3;--border:#555b60;--control-border:#83888c;--accent:#9cc4df;--accent-hover:#b0d0e5;--accent-soft:#2b3943;--on-accent:#151e25;--highlight:#f3a68b;--highlight-hover:#f5b8a2;--highlight-soft:#393435;--on-highlight:#151e25;--toolbar-background:#121a21;--toolbar-text:#f1f2f2;--toolbar-hover:#343c42;--focus:#9cc4df;--overlay:#0000009e}:root[data-palette=linen],.palette-preview[data-palette=linen][data-preview-theme=light]{--background:#f7f3ec;--surface:#fdfdfb;--surface-muted:#ebe6df;--surface-hover:#e1ddd6;--text:#3a3028;--text-muted:#675f57;--border:#cdc8c1;--control-border:#a29b94;--accent:#68513e;--accent-hover:#5c4938;--accent-soft:#e9e3db;--on-accent:#fff;--highlight:#e4ba84;--highlight-hover:#d6af7d;--highlight-soft:#f1e2cd;--on-highlight:#3a3028;--toolbar-background:#3a3028;--toolbar-text:#f7f3ec;--toolbar-hover:#564d45;--focus:#68513e;--overlay:#12141670}:root[data-theme=dark][data-palette=linen],.palette-preview[data-palette=linen][data-preview-theme=dark]{--background:#241f1a;--surface:#2f2b26;--surface-muted:#393430;--surface-hover:#47433f;--text:#f2f2f1;--text-muted:#c3c1c0;--border:#605c58;--control-border:#8b8886;--accent:#d9ba96;--accent-hover:#e1c8ab;--accent-soft:#41382e;--on-accent:#241f1a;--highlight:#dfb17b;--highlight-hover:#e5c195;--highlight-soft:#42362a;--on-highlight:#241f1a;--toolbar-background:#201b17;--toolbar-text:#f2f2f1;--toolbar-hover:#413d38;--focus:#d9ba96;--overlay:#0000009e}:root[data-palette=espresso],.palette-preview[data-palette=espresso][data-preview-theme=light]{--background:#f8f1e9;--surface:#fefcfb;--surface-muted:#ebe4dc;--surface-hover:#e0d7d0;--text:#35241e;--text-muted:#64554f;--border:#cdc4bc;--control-border:#a0958e;--accent:#75422e;--accent-hover:#653a2a;--accent-soft:#ebe0d6;--on-accent:#fff;--highlight:#edbb73;--highlight-hover:#deaf6c;--highlight-soft:#f5e1c6;--on-highlight:#35241e;--toolbar-background:#35241e;--toolbar-text:#f8f1e9;--toolbar-hover:#52433c;--focus:#75422e;--overlay:#12141670}:root[data-theme=dark][data-palette=espresso],.palette-preview[data-palette=espresso][data-preview-theme=dark]{--background:#231a16;--surface:#2e2622;--surface-muted:#38302c;--surface-hover:#463f3b;--text:#f2f1f1;--text-muted:#c2c0bf;--border:#5f5856;--control-border:#8a8684;--accent:#dca58b;--accent-hover:#e3b7a2;--accent-soft:#413029;--on-accent:#231a16;--highlight:#e5b66f;--highlight-hover:#eac58c;--highlight-soft:#423324;--on-highlight:#231a16;--toolbar-background:#1f1713;--toolbar-text:#f2f1f1;--toolbar-hover:#403835;--focus:#dca58b;--overlay:#0000009e}:root[data-palette=saffron],.palette-preview[data-palette=saffron][data-preview-theme=light]{--background:#faf5e6;--surface:#fefdfa;--surface-muted:#eee8d9;--surface-hover:#ece7d8;--text:#3a301b;--text-muted:#685f4c;--border:#d0cab9;--control-border:#a49c8b;--accent:#866000;--accent-hover:#735407;--accent-soft:#eee6cf;--on-accent:#fff;--highlight:#9fd4dc;--highlight-hover:#97c7cd;--highlight-soft:#dfebe3;--on-highlight:#3a301b;--toolbar-background:#3a301b;--toolbar-text:#faf5e6;--toolbar-hover:#574e39;--focus:#866000;--overlay:#12141670}:root[data-theme=dark][data-palette=saffron],.palette-preview[data-palette=saffron][data-preview-theme=dark]{--background:#241f13;--surface:#2f2b1f;--surface-muted:#393429;--surface-hover:#474339;--text:#f2f2f1;--text-muted:#c3c1be;--border:#605c53;--control-border:#8b8882;--accent:#e7bd55;--accent-hover:#ecca77;--accent-soft:#43381e;--on-accent:#241f13;--highlight:#9fd4dc;--highlight-hover:#b2dde3;--highlight-soft:#383c33;--on-highlight:#241f13;--toolbar-background:#201b11;--toolbar-text:#f2f2f1;--toolbar-hover:#413d32;--focus:#e7bd55;--overlay:#0000009e}:root[data-palette=copper],.palette-preview[data-palette=copper][data-preview-theme=light]{--background:#f8f1e9;--surface:#fefcfb;--surface-muted:#ece4dc;--surface-hover:#e2d9d1;--text:#3d2b21;--text-muted:#6a5b51;--border:#cfc5bd;--control-border:#a4988f;--accent:#9a4525;--accent-hover:#833e24;--accent-soft:#efe0d5;--on-accent:#fff;--highlight:#a9c9ef;--highlight-hover:#a0bcdf;--highlight-soft:#e0e5eb;--on-highlight:#3d2b21;--toolbar-background:#3d2b21;--toolbar-text:#f8f1e9;--toolbar-hover:#59493f;--focus:#9a4525;--overlay:#12141670}:root[data-theme=dark][data-palette=copper],.palette-preview[data-palette=copper][data-preview-theme=dark]{--background:#251b17;--surface:#302723;--surface-muted:#3a302d;--surface-hover:#483f3c;--text:#f2f1f1;--text-muted:#c3c0bf;--border:#605956;--control-border:#8c8684;--accent:#eda27c;--accent-hover:#f1b596;--accent-soft:#453127;--on-accent:#251b17;--highlight:#a9c9ef;--highlight-hover:#bad4f2;--highlight-soft:#3a373a;--on-highlight:#251b17;--toolbar-background:#211814;--toolbar-text:#f2f1f1;--toolbar-hover:#423936;--focus:#eda27c;--overlay:#0000009e}:root[data-palette=garnet],.palette-preview[data-palette=garnet][data-preview-theme=light]{--background:#f8f0ef;--surface:#fefcfc;--surface-muted:#ece3e2;--surface-hover:#e0d6d6;--text:#3c2226;--text-muted:#695356;--border:#cfc3c3;--control-border:#a39395;--accent:#952e43;--accent-hover:#7f2b3c;--accent-soft:#eeddde;--on-accent:#fff;--highlight:#e9be8d;--highlight-hover:#dbb285;--highlight-soft:#f4e1d2;--on-highlight:#3c2226;--toolbar-background:#3c2226;--toolbar-text:#f8f0ef;--toolbar-hover:#584144;--focus:#952e43;--overlay:#12141670}:root[data-theme=dark][data-palette=garnet],.palette-preview[data-palette=garnet][data-preview-theme=dark]{--background:#26191e;--surface:#31252a;--surface-muted:#3a2f33;--surface-hover:#493e42;--text:#f2f1f2;--text-muted:#c3bfc1;--border:#61585b;--control-border:#8c8588;--accent:#f3a0ac;--accent-hover:#f5b3bd;--accent-soft:#472f35;--on-accent:#26191e;--highlight:#e9be8d;--highlight-hover:#edcba4;--highlight-soft:#453330;--on-highlight:#26191e;--toolbar-background:#21161a;--toolbar-text:#f2f1f2;--toolbar-hover:#43373c;--focus:#f3a0ac;--overlay:#0000009e}:root[data-palette=rose],.palette-preview[data-palette=rose][data-preview-theme=light]{--background:#fbf1f2;--surface:#fefcfc;--surface-muted:#efe4e5;--surface-hover:#e4d8da;--text:#42252f;--text-muted:#6e565e;--border:#d2c4c7;--control-border:#a8959a;--accent:#a62f54;--accent-hover:#8d2c4b;--accent-soft:#f2dee2;--on-accent:#fff;--highlight:#f2c5a4;--highlight-hover:#e4b89b;--highlight-soft:#f8e4db;--on-highlight:#42252f;--toolbar-background:#42252f;--toolbar-text:#fbf1f2;--toolbar-hover:#5e444c;--focus:#a62f54;--overlay:#12141670}:root[data-theme=dark][data-palette=rose],.palette-preview[data-palette=rose][data-preview-theme=dark]{--background:#291a22;--surface:#34262d;--surface-muted:#3d3037;--surface-hover:#4b3f45;--text:#f2f1f2;--text-muted:#c4c0c2;--border:#63585e;--control-border:#8e868a;--accent:#f5a1bb;--accent-hover:#f7b4c9;--accent-soft:#4a303a;--on-accent:#291a22;--highlight:#efc3a6;--highlight-hover:#f2cfb8;--highlight-soft:#493537;--on-highlight:#291a22;--toolbar-background:#24171e;--toolbar-text:#f2f1f2;--toolbar-hover:#45383f;--focus:#f5a1bb;--overlay:#0000009e}:root[data-palette=coral],.palette-preview[data-palette=coral][data-preview-theme=light]{--background:#fcf2eb;--surface:#fefcfb;--surface-muted:#f0e5de;--surface-hover:#ece2db;--text:#402a25;--text-muted:#6d5a55;--border:#d3c6bf;--control-border:#a79892;--accent:#b03e2a;--accent-hover:#943929;--accent-soft:#f4e0d8;--on-accent:#fff;--highlight:#a2d9de;--highlight-hover:#9acbcf;--highlight-soft:#e1eae7;--on-highlight:#402a25;--toolbar-background:#402a25;--toolbar-text:#fcf2eb;--toolbar-hover:#5c4843;--focus:#b03e2a;--overlay:#12141670}:root[data-theme=dark][data-palette=coral],.palette-preview[data-palette=coral][data-preview-theme=dark]{--background:#281b18;--surface:#332724;--surface-muted:#3c302e;--surface-hover:#4a3f3d;--text:#f2f1f1;--text-muted:#c4c0bf;--border:#635957;--control-border:#8d8684;--accent:#ffac91;--accent-hover:#ffbda7;--accent-soft:#4a322b;--on-accent:#281b18;--highlight:#a2d9de;--highlight-hover:#b5e1e5;--highlight-soft:#3c3938;--on-highlight:#281b18;--toolbar-background:#231815;--toolbar-text:#f2f1f1;--toolbar-hover:#443936;--focus:#ffac91;--overlay:#0000009e}:root[data-palette=cerulean],.palette-preview[data-palette=cerulean][data-preview-theme=light]{--background:#edf6f9;--surface:#fbfdfe;--surface-muted:#dfeaed;--surface-hover:#dae6e9;--text:#193c48;--text-muted:#4c6972;--border:#becdd2;--control-border:#8ea2a9;--accent:#006983;--accent-hover:#065e74;--accent-soft:#d5e8ed;--on-accent:#fff;--highlight:#f3db7b;--highlight-hover:#e2ce77;--highlight-soft:#efeed3;--on-highlight:#193c48;--toolbar-background:#193c48;--toolbar-text:#edf6f9;--toolbar-hover:#395863;--focus:#006983;--overlay:#12141670}:root[data-theme=dark][data-palette=cerulean],.palette-preview[data-palette=cerulean][data-preview-theme=dark]{--background:#13252d;--surface:#1f3038;--surface-muted:#293a41;--surface-hover:#39484e;--text:#f1f2f2;--text-muted:#bec3c5;--border:#536066;--control-border:#828c90;--accent:#80d6f0;--accent-hover:#99def3;--accent-soft:#24414c;--on-accent:#13252d;--highlight:#efda84;--highlight-hover:#f2e19d;--highlight-soft:#36423b;--on-highlight:#13252d;--toolbar-background:#112128;--toolbar-text:#f1f2f2;--toolbar-hover:#324249;--focus:#80d6f0;--overlay:#0000009e}:root[data-palette=atlantic],.palette-preview[data-palette=atlantic][data-preview-theme=light]{--background:#eff3f8;--surface:#fcfdfe;--surface-muted:#e1e6ec;--surface-hover:#d5dae2;--text:#1e2e46;--text-muted:#505d71;--border:#c1c8d1;--control-border:#919aa8;--accent:#244c81;--accent-hover:#224472;--accent-soft:#dbe2ec;--on-accent:#fff;--highlight:#f3b77c;--highlight-hover:#e2ac78;--highlight-soft:#f0e1d3;--on-highlight:#1e2e46;--toolbar-background:#1e2e46;--toolbar-text:#eff3f8;--toolbar-hover:#3d4c61;--focus:#244c81;--overlay:#12141670}:root[data-theme=dark][data-palette=atlantic],.palette-preview[data-palette=atlantic][data-preview-theme=dark]{--background:#151e2c;--surface:#212a37;--surface-muted:#2b3340;--surface-hover:#3a424e;--text:#f1f2f2;--text-muted:#bec1c4;--border:#555b65;--control-border:#83888f;--accent:#9abef0;--accent-hover:#aecbf3;--accent-soft:#2a384b;--on-accent:#151e2c;--highlight:#f1b77e;--highlight-hover:#f4c598;--highlight-soft:#383639;--on-highlight:#151e2c;--toolbar-background:#121a27;--toolbar-text:#f1f2f2;--toolbar-hover:#343c48;--focus:#9abef0;--overlay:#0000009e}:root[data-palette=peacock],.palette-preview[data-palette=peacock][data-preview-theme=light]{--background:#edf6f5;--surface:#fbfdfd;--surface-muted:#dfeae9;--surface-hover:#d6e1e1;--text:#1a393b;--text-muted:#4d6668;--border:#bfcccc;--control-border:#8ea1a1;--accent:#006a69;--accent-hover:#065e5e;--accent-soft:#d5e8e7;--on-accent:#fff;--highlight:#f4aa9b;--highlight-hover:#e3a193;--highlight-soft:#efdfda;--on-highlight:#1a393b;--toolbar-background:#1a393b;--toolbar-text:#edf6f5;--toolbar-hover:#3a5557;--focus:#006a69;--overlay:#12141670}:root[data-theme=dark][data-palette=peacock],.palette-preview[data-palette=peacock][data-preview-theme=dark]{--background:#132626;--surface:#1f3131;--surface-muted:#293a3a;--surface-hover:#394949;--text:#f1f2f2;--text-muted:#bec3c3;--border:#536161;--control-border:#828c8c;--accent:#80d8d0;--accent-hover:#99e0d9;--accent-soft:#244241;--on-accent:#132626;--highlight:#f0ad9f;--highlight-hover:#f3bdb2;--highlight-soft:#363c39;--on-highlight:#132626;--toolbar-background:#112121;--toolbar-text:#f1f2f2;--toolbar-hover:#324343;--focus:#80d8d0;--overlay:#0000009e}:root[data-palette=evergreen],.palette-preview[data-palette=evergreen][data-preview-theme=light]{--background:#f1f5ef;--surface:#fcfdfc;--surface-muted:#e3e9e2;--surface-hover:#d8ded7;--text:#213629;--text-muted:#536459;--border:#c3cbc3;--control-border:#939f96;--accent:#236044;--accent-hover:#22563d;--accent-soft:#dce6de;--on-accent:#fff;--highlight:#edcc77;--highlight-hover:#ddc071;--highlight-soft:#f0e9cb;--on-highlight:#213629;--toolbar-background:#213629;--toolbar-text:#f1f5ef;--toolbar-hover:#405347;--focus:#236044;--overlay:#12141670}:root[data-theme=dark][data-palette=evergreen],.palette-preview[data-palette=evergreen][data-preview-theme=dark]{--background:#18251c;--surface:#243028;--surface-muted:#2e3a31;--surface-hover:#3d4840;--text:#f1f2f1;--text-muted:#bfc3c0;--border:#57605a;--control-border:#848c86;--accent:#9cd5ab;--accent-hover:#b0ddbc;--accent-soft:#2d4133;--on-accent:#18251c;--highlight:#e8c976;--highlight-hover:#edd491;--highlight-soft:#393f2a;--on-highlight:#18251c;--toolbar-background:#152119;--toolbar-text:#f1f2f1;--toolbar-hover:#36423a;--focus:#9cd5ab;--overlay:#0000009e}:root[data-palette=emerald],.palette-preview[data-palette=emerald][data-preview-theme=light]{--background:#edf7f3;--surface:#fbfdfd;--surface-muted:#dfebe6;--surface-hover:#d6e4df;--text:#173c32;--text-muted:#4a6960;--border:#becec9;--control-border:#8da39c;--accent:#006c50;--accent-hover:#066048;--accent-soft:#d5e9e3;--on-accent:#fff;--highlight:#f2b4c5;--highlight-hover:#e0aab9;--highlight-soft:#eee3e5;--on-highlight:#173c32;--toolbar-background:#173c32;--toolbar-text:#edf7f3;--toolbar-hover:#37584f;--focus:#006c50;--overlay:#12141670}:root[data-theme=dark][data-palette=emerald],.palette-preview[data-palette=emerald][data-preview-theme=dark]{--background:#11271f;--surface:#1d322b;--surface-muted:#273b34;--surface-hover:#374a43;--text:#f1f2f2;--text-muted:#bdc3c1;--border:#52625c;--control-border:#818c88;--accent:#79dabb;--accent-hover:#94e1c9;--accent-soft:#224438;--on-accent:#11271f;--highlight:#f0b8c7;--highlight-hover:#f3c6d2;--highlight-soft:#353e3a;--on-highlight:#11271f;--toolbar-background:#0f221b;--toolbar-text:#f1f2f2;--toolbar-hover:#30433d;--focus:#79dabb;--overlay:#0000009e}:root[data-palette=carbon],.palette-preview[data-palette=carbon][data-preview-theme=light]{--background:#f2f2f0;--surface:#fcfcfc;--surface-muted:#e5e5e3;--surface-hover:#d8d8d7;--text:#242526;--text-muted:#555656;--border:#c5c5c4;--control-border:#959695;--accent:#353638;--accent-hover:#313234;--accent-soft:#dfdfde;--on-accent:#fff;--highlight:#cdd1d5;--highlight-hover:#bfc3c7;--highlight-soft:#e7e8e8;--on-highlight:#242526;--toolbar-background:#242526;--toolbar-text:#f2f2f0;--toolbar-hover:#434444;--focus:#353638;--overlay:#12141670}:root[data-theme=dark][data-palette=carbon],.palette-preview[data-palette=carbon][data-preview-theme=dark]{--background:#1a1b1c;--surface:#262728;--surface-muted:#303031;--surface-hover:#3f3f40;--text:#f1f1f1;--text-muted:silver;--border:#58595a;--control-border:#868686;--accent:#e3e4e5;--accent-hover:#e9e9ea;--accent-soft:#3a3b3c;--on-accent:#1a1b1c;--highlight:#bcc2c8;--highlight-hover:#c9ced3;--highlight-soft:#343638;--on-highlight:#1a1b1c;--toolbar-background:#171819;--toolbar-text:#f1f1f1;--toolbar-hover:#38393a;--focus:#e3e4e5;--overlay:#0000009e}*{box-sizing:border-box}html{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--background)}body{color:var(--text);margin:0;font-size:1rem;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,input,select,textarea{color:inherit}button{touch-action:manipulation}button svg{flex-shrink:0}svg{stroke-width:1.7px;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{text-wrap:balance}p{text-wrap:pretty}::selection{background:var(--accent-soft);color:var(--text)}:focus-visible{outline:3px solid var(--focus);outline-offset:4px}main:focus{outline:none}code{font-family:var(--font-mono);font-size:.75rem}.skip-link{z-index:100;background:var(--surface);color:var(--text);border:0;border-radius:8px;padding:12px 20px;position:fixed;top:-100px;left:12px}.skip-link:focus{top:12px}.app-shell{min-height:100dvh}.sidebar{background:var(--surface);border-bottom:1px solid var(--border);padding:0 20px}.brand{letter-spacing:-.04em;align-items:center;gap:11px;min-height:78px;font-size:1.125rem;font-weight:650;display:flex}.brand__mark{background:var(--highlight);color:var(--on-highlight);border-radius:9px;flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.brand__text{min-width:0}.brand__name{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.brand small{color:var(--text-muted);letter-spacing:0;margin-top:1px;font-size:.75rem;font-weight:400;display:block}.mobile-menu{margin-left:auto}.sidebar__nav{opacity:0;visibility:hidden;gap:4px;max-height:0;padding-bottom:0;display:grid;overflow:hidden}.sidebar__nav.is-open{opacity:1;visibility:visible;max-height:190px;padding-bottom:16px}.nav-item{text-align:left;width:100%;min-height:46px;color:var(--text-muted);background:0 0;border:none;border-radius:7px;align-items:center;gap:12px;padding:10px 12px;font-size:.875rem;font-weight:500;display:flex}.nav-item>svg{width:18px;height:18px}.nav-item:hover{background:var(--surface-muted);color:var(--text)}.nav-item.is-active{background:var(--accent-soft);color:var(--accent)}.sidebar .sidebar__help{display:none}.topbar{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:10px 20px;display:flex}.breadcrumb{color:var(--text-muted);align-items:center;gap:8px;font-size:.8125rem;display:flex}.breadcrumb>span,.breadcrumb>svg{display:none}.breadcrumb strong{color:var(--text);font-weight:500}.topbar__right{align-items:center;gap:20px;display:flex}.segmented{background:var(--surface-muted);border:0;border-radius:26px;gap:2px;padding:3px;display:inline-flex}.segmented button{min-height:44px;color:var(--text-muted);white-space:nowrap;background:0 0;border:none;border-radius:22px;justify-content:center;align-items:center;gap:7px;padding:8px 11px;font-size:.8125rem;font-weight:500;display:flex}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--text)}.segmented button:hover{color:var(--text)}.appearance-selector button{min-width:44px;min-height:44px}.appearance-selector svg{width:16px;height:16px}.appearance-selector span{display:none}main{width:100%;padding:24px 20px 32px}.page-heading{margin:0 0 var(--page-section-gap)}.page-heading h1,.resource-app-main h1{font-size:var(--page-title-size);font-weight:var(--page-title-weight);letter-spacing:var(--page-title-tracking);line-height:var(--page-title-leading);overflow-wrap:anywhere;margin:0}.page-heading p{color:var(--text-muted);margin-top:8px;font-size:1rem;line-height:1.5}.foundation-grid,.secondary-grid,.component-grid{gap:16px;display:grid}.secondary-grid{margin-top:16px}.panel{background:var(--surface);border:0;border-radius:12px;min-width:0;overflow:hidden}.panel__header{justify-content:space-between;align-items:center;gap:16px;padding:18px 20px 0;display:flex}.panel__header h2{letter-spacing:-.02em;font-size:1rem;font-weight:600}.panel__header p{color:var(--text-muted);margin-top:4px;font-size:.8125rem}.type-panel .panel__header{flex-wrap:wrap}.font-selector{max-width:100%}.font-selector button{font-size:.75rem}.type-specimen{padding:20px 24px}.type-display{letter-spacing:-.065em;margin:12px 0 16px;font-size:clamp(2.6rem,4.1vw,4.8rem);font-weight:500;line-height:1.09}.type-display>span{color:var(--accent)}.type-scale{padding:0 24px 8px;display:grid}.type-scale>div{border-top:1px solid var(--border);grid-template-columns:90px 1fr;align-items:center;gap:16px;padding:12px 0;display:grid}.scale-meta{color:var(--text-muted);font-size:.75rem}.scale-meta small{font-family:var(--font-mono);margin-top:2px;font-size:.75rem;display:block}.sample-heading{letter-spacing:-.04em;font-size:clamp(1.25rem,2vw,2rem);font-weight:600;line-height:1.2}.sample-label{font-size:.875rem;font-weight:500}.panel__foot{border-top:1px solid var(--border);background:var(--surface-muted);color:var(--text-muted);justify-content:space-between;gap:10px;padding:12px 24px;font-size:.75rem;display:flex}.numerals{font-variant-numeric:tabular-nums;letter-spacing:.07em}.palette-panel{flex-direction:column;display:flex}.accent-swatch{background:var(--accent);color:var(--on-accent);border-radius:8px;flex-direction:column;justify-content:space-between;min-height:172px;margin:20px;padding:22px;display:flex;position:relative}.accent-swatch div{gap:4px;display:grid}.accent-swatch div>span{font-size:.75rem}.accent-swatch strong{letter-spacing:-.02em;font-size:1.125rem;font-weight:500}.accent-swatch code{font-size:.75rem}.swatch-aa{letter-spacing:-.075em;opacity:.9;font-size:4rem;font-weight:400;position:absolute;bottom:11px;right:24px}.neutral-swatches{grid-template-columns:repeat(4,1fr);gap:12px;padding:0 20px;display:grid}.neutral-swatch{min-width:0}.neutral-swatch>div{border-radius:6px;height:64px;margin-bottom:10px}.neutral-swatch strong{font-size:.75rem;font-weight:500;display:block}.neutral-swatch code{color:var(--text-muted);margin-top:3px;font-size:.75rem;display:block}.semantic-colours{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin:20px;padding-top:20px;display:flex}.semantic-colours span{color:var(--text-muted);align-items:center;gap:7px;font-size:.75rem;display:flex}.semantic-colours i{border-radius:2px;width:8px;height:8px}.semantic-success{background:var(--success)}.semantic-warning{background:var(--warning)}.semantic-danger{background:var(--danger)}.button{background:var(--accent);color:var(--on-accent);min-height:44px;transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease), opacity var(--motion-fast) ease;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:.875rem;font-weight:550;line-height:1.3;text-decoration:none;display:inline-flex}.button svg{stroke-width:1.8px;width:17px;height:17px}.button:hover:not(:disabled){background:var(--accent-hover)}.button:active:not(:disabled),.icon-button:active:not(:disabled){scale:.96}.button--secondary{background:var(--surface-muted);color:var(--text)}.button--secondary:hover:not(:disabled){background:var(--surface-hover)}.button--ghost{color:var(--text-muted);background:0 0}.button--ghost:hover:not(:disabled){color:var(--text);background:var(--surface-muted)}.button--danger{background:var(--danger);color:var(--surface)}.button--danger:hover:not(:disabled){background:var(--danger);opacity:.9}.button--danger-quiet{background:var(--danger-soft);color:var(--danger)}.button--danger-quiet:hover:not(:disabled){background:var(--danger);color:var(--surface)}.button-samples{flex-wrap:wrap;align-items:center;gap:10px;padding:20px;display:flex}.status-samples{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.panel>.status-samples{padding:20px}.tag{background:var(--surface-muted);color:var(--text-muted);white-space:nowrap;border-radius:5px;align-items:center;gap:5px;padding:4px 8px;font-size:.75rem;font-weight:500;display:inline-flex}.tag--success{color:var(--success);background:var(--success-soft)}.tag--accent{color:var(--accent);background:var(--accent-soft)}.tag--warning{color:var(--warning);background:var(--warning-soft)}.inline-notice{color:var(--success);background:var(--success-soft);border-radius:6px;align-items:center;gap:10px;padding:13px 14px;font-size:.8125rem;display:flex}.inline-notice svg{flex-shrink:0}.panel>.inline-notice{margin:0 22px 22px}.panel__header+.inline-notice{margin-top:24px}.icon-button{min-width:44px;min-height:44px;color:var(--text-muted);transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease);background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:10px;display:inline-flex}.icon-button svg{width:18px;height:18px}.icon-button:hover{background:var(--surface-muted);color:var(--text)}.icon-button--bordered{background:var(--surface-muted)}.icon-button--bordered:hover{background:var(--surface-hover)}.icon-samples{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;margin:0 22px;padding:20px 0;display:flex}.icon-samples>span{color:var(--text-muted);margin-right:auto;font-size:.8125rem}.feedback-actions{flex-wrap:wrap;gap:10px;padding:0 20px;display:flex}.demo-form{gap:16px;padding:20px;display:grid}.demo-form .button{justify-self:start}.field{gap:8px;font-size:.875rem;font-weight:500;display:grid}.field input,.field select,.field textarea,.search-field input{background:var(--surface-muted);border:1px solid #0000;border-radius:16px;width:100%;min-width:0;min-height:44px;padding:11px 12px;font-size:1rem;font-weight:400}.field input::placeholder,.field textarea::placeholder,.search-field input::placeholder{color:var(--text-muted);opacity:1}.field input[aria-invalid=true]{border-color:var(--danger)}.field-error{color:var(--danger);font-size:.8125rem;font-weight:400}.preference-row{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:0 22px;padding:22px 0;display:flex}.preference-row:last-child{border:none}.preference-row strong{font-size:.875rem;font-weight:500}.preference-row small{color:var(--text-muted);margin-top:4px;font-size:.75rem;display:block}.spacing-sample{align-items:flex-end;gap:5px;display:flex}.spacing-sample span{background:var(--accent-soft);width:8px;height:8px}.spacing-sample span:nth-child(2){width:12px;height:12px}.spacing-sample span:nth-child(3){width:16px;height:16px}.spacing-sample span:nth-child(4){width:24px;height:24px}.resource-list-panel .panel__header{flex-wrap:wrap}.search-field{align-items:center;width:100%;display:flex;position:relative}.search-field svg{width:16px;height:16px;color:var(--text-muted);position:absolute;left:11px}.search-field input{padding-left:35px;font-size:.875rem}.resource-list{margin:20px 22px 4px}.resource-row{border-top:1px solid var(--border);align-items:center;gap:12px;padding:14px 0;display:flex}.resource-thumb{background:var(--accent-soft);width:40px;height:46px;color:var(--accent);border-radius:5px;flex-shrink:0;place-items:center;display:grid}.resource-thumb svg{width:20px;height:20px}.resource-thumb--1{background:var(--warning-soft);color:var(--warning)}.resource-row>div{flex:1;min-width:0}.resource-row strong{font-size:.8125rem;font-weight:550;display:block}.resource-row small{color:var(--text-muted);font-size:.75rem}.resource-row>.tag{display:none}.empty-state{color:var(--text-muted);flex-direction:column;align-items:center;gap:10px;padding:32px;font-size:.875rem;display:flex}.empty-state strong{color:var(--text)}.dialog{background:var(--surface);width:min(460px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);border:0;border-radius:24px;padding:24px;overflow:auto}.dialog::backdrop{background:var(--overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog__header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.dialog__header .icon-button{margin-right:-8px}.dialog__symbol{background:var(--accent-soft);width:44px;height:44px;color:var(--accent);border-radius:10px;place-items:center;display:grid}.dialog__symbol svg{width:22px;height:22px}.dialog h2{letter-spacing:-.035em;font-size:1.4rem;font-weight:600}.dialog>p{color:var(--text-muted);margin-top:10px;font-size:.875rem}.dialog__actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:28px;display:flex}.dialog__resource{background:var(--surface-muted);border-radius:8px;align-items:center;gap:12px;margin-top:24px;padding:15px;display:flex}.dialog__resource>div{flex:1}.dialog__resource strong{font-size:.875rem;font-weight:550;display:block}.dialog__resource div>span{color:var(--text-muted);font-size:.75rem}.mini-paper{color:var(--accent);place-items:center;display:grid}.scope-list{gap:16px;margin-top:24px;font-size:.8125rem;display:grid}.scope-list>div{align-items:center;gap:12px;display:flex}.scope-list svg{width:18px;height:18px;color:var(--accent);flex-shrink:0}.toast-region{z-index:20;pointer-events:none;justify-content:center;display:flex;position:fixed;bottom:20px;left:20px;right:20px}.toast{pointer-events:auto;background:var(--surface-muted);width:min(100%,480px);color:var(--text);border:0;border-radius:24px;align-items:center;gap:12px;padding:8px 8px 8px 16px;font-size:.875rem;display:flex}.toast>svg{width:20px;height:20px;color:var(--success);flex-shrink:0}.toast>span{flex:1}@media (min-width:600px){.sidebar{padding:0 28px}.topbar{padding:10px 28px}main{padding:28px 24px 32px}.appearance-selector span{display:inline-flex}.breadcrumb>span,.breadcrumb>svg{display:block}.type-specimen{padding:20px 24px}.type-scale{padding-left:28px;padding-right:28px}.type-scale>div{grid-template-columns:110px 1fr}.resource-row>.tag{display:inline-flex}.resource-list-panel .search-field{width:230px}}@media (min-width:800px){.foundation-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.secondary-grid,.component-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-list-panel{grid-column:1/-1}.appearance-selector span{display:none}.type-panel .panel__header{gap:10px}.type-display{font-size:3.25rem}.type-scale>div{grid-template-columns:80px 1fr;gap:8px}.sample-heading{font-size:1.5rem}}@media (min-width:1100px){.app-shell{grid-template-columns:216px minmax(0,1fr);display:grid}.sidebar{border-bottom:none;border-right:1px solid var(--border);flex-direction:column;height:100dvh;padding:0 16px 16px;display:flex;position:sticky;top:0}.brand{min-height:88px;padding-left:8px}.mobile-menu{display:none}.sidebar__nav,.sidebar__nav.is-open{opacity:1;visibility:visible;max-height:none;padding-bottom:16px;overflow:visible}.sidebar .sidebar__help{text-align:left;justify-content:flex-start;margin-top:auto;display:flex}.topbar{min-height:70px;padding-inline:32px}main{padding:28px 28px 32px}.appearance-selector span{display:inline}.page-heading{margin-bottom:var(--page-section-gap)}.foundation-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.type-panel .panel__header{flex-wrap:nowrap}.type-display{font-size:clamp(3rem,4.1vw,5.1rem)}}@media (min-width:1500px){.app-shell{grid-template-columns:240px minmax(0,1fr)}.topbar{padding-inline:44px}main{padding:32px 36px}.panel__header{padding:20px 24px 0}.type-specimen{padding:24px 28px}.type-scale{padding-inline:28px}.type-scale>div{grid-template-columns:120px 1fr}.sample-heading{font-size:2rem}.accent-swatch{min-height:172px;margin:20px 24px}.neutral-swatches{padding-inline:28px}.semantic-colours{margin-inline:28px}.neutral-swatch>div{height:78px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.button:active:not(:disabled),.icon-button:active:not(:disabled){scale:1}}.canvas-entry{margin-top:20px}.toast--error>svg{color:var(--danger)}.toast--info>svg{color:var(--accent)}.toast__action{min-height:44px;color:var(--accent);font:inherit;transition:background-color var(--motion-fast) ease;background:0 0;border:0;border-radius:22px;flex:none;padding:0 12px;font-weight:600}.toast__action:hover{background:var(--surface-hover)}.toast>span{overflow-wrap:anywhere;min-width:0}@media (max-width:480px){.toast.toast--action[data-open=true]{grid-template-columns:20px minmax(0,1fr) 44px;gap:0 10px;display:grid}.toast--action>svg{align-self:start;margin-top:11px}.toast--action>span{grid-area:1/2;padding-block:8px}.toast--action>.icon-button{grid-area:1/3;align-self:start}.toast--action>.toast__action{grid-area:2/2;justify-self:start;margin-left:-12px}}html,body,.app-shell :where(.sidebar,.topbar,.panel,.panel__foot,.tag,.inline-notice,.accent-swatch,.neutral-swatch>div,.resource-thumb){transition:background-color var(--motion-standard) ease, color var(--motion-standard) ease}.app-shell :where(button){transition:background-color var(--motion-fast) ease, color var(--motion-fast) ease, opacity var(--motion-fast) ease, scale var(--motion-fast) var(--motion-ease)}.app-shell :where(button):active:not(:disabled){scale:.96}.app-shell :where(.field,.search-field,input,textarea){transition:background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, color var(--motion-fast) ease}.field:focus-within{color:var(--accent)}.field input,.field textarea{color:var(--text)}.field input:hover,.field textarea:hover,.search-field input:hover,.field input:focus,.field textarea:focus,.search-field input:focus{background:var(--surface-hover)}.sidebar__nav{transition:max-height var(--motion-standard) var(--motion-ease), padding-bottom var(--motion-standard) var(--motion-ease), opacity var(--motion-fast) ease, visibility var(--motion-standard)}.segmented--sliding{isolation:isolate;grid-template-columns:repeat(var(--segment-count), minmax(0, 1fr));display:inline-grid;position:relative}.segmented--sliding:before{content:"";z-index:0;width:calc((100% - 6px - (var(--segment-count) - 1) * 2px) / var(--segment-count));background:var(--surface);translate:calc(var(--segment-index) * (100% + 2px)) 0;transition:translate var(--motion-standard) var(--motion-ease), background-color var(--motion-standard) ease;border-radius:22px;position:absolute;top:3px;bottom:3px;left:3px}.segmented--sliding button{z-index:1;position:relative}.segmented--sliding button[aria-pressed=true]{background:0 0}.icon-swap{width:18px;height:18px;position:relative}.icon-swap svg{transition:scale var(--motion-standard) var(--motion-ease), opacity var(--motion-fast) ease, filter var(--motion-standard) var(--motion-ease);position:absolute;inset:0}.icon-swap__active,.icon-swap[data-active=true] .icon-swap__idle{opacity:0;filter:blur(4px);scale:.25}.icon-swap__idle,.icon-swap[data-active=true] .icon-swap__active{opacity:1;filter:blur();scale:1}.field-error{opacity:1;transition:opacity var(--motion-fast) ease, translate var(--motion-standard) var(--motion-ease);translate:0}.dialog{opacity:0;transition:opacity var(--motion-standard) ease, translate var(--motion-standard) var(--motion-ease), display var(--motion-standard) allow-discrete, overlay var(--motion-standard) allow-discrete;translate:0 6px}.dialog[open]{opacity:1;translate:0}.dialog::backdrop{opacity:0;transition:opacity var(--motion-standard) ease, display var(--motion-standard) allow-discrete, overlay var(--motion-standard) allow-discrete}.dialog[open]::backdrop{opacity:1}.toast{opacity:0;transition:opacity var(--motion-standard) ease, translate var(--motion-standard) var(--motion-ease), display var(--motion-standard) allow-discrete;display:none;translate:0 6px}.toast[data-open=true]{opacity:1;display:flex;translate:0}.toast[data-open=false]{pointer-events:none}@starting-style{.dialog[open],.toast[data-open=true]{opacity:0;translate:0 6px}.dialog[open]::backdrop{opacity:0}.field-error{opacity:0;translate:0 -2px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.app-shell :where(button):active:not(:disabled){scale:1}}
