.LayoutSection-module__888mIa__sizing{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;min-width:0;display:grid}.LayoutSection-module__888mIa__sizing>select{width:100%;min-width:0}.LayoutSection-module__888mIa__sizing>[role=group]{grid-column:1/-1}.LayoutSection-module__888mIa__limits{gap:8px;min-width:0;display:grid}.LayoutSection-module__888mIa__places{align-items:center;gap:8px;min-width:0;display:flex}.LayoutSection-module__888mIa__disclosure,.LayoutSection-module__888mIa__none{height:var(--control-height-sm);border-radius:var(--radius-md);font-size:var(--text-footnote);color:var(--color-xc-text-2);transition:background-color var(--duration-fast), color var(--duration-fast);padding:0 8px}.LayoutSection-module__888mIa__disclosure:hover:not(:disabled),.LayoutSection-module__888mIa__none:hover:not(:disabled){background:var(--color-xc-fill);color:var(--color-xc-text)}.LayoutSection-module__888mIa__disclosure[aria-expanded=true],.LayoutSection-module__888mIa__none[aria-pressed=true]{background:var(--color-xc-select);color:var(--color-xc-accent)}.LayoutSection-module__888mIa__none:disabled:not([aria-pressed=true]){opacity:.4}
.SelectionHandles-module__08VXMW__handles{z-index:1;pointer-events:none;position:absolute;inset:0;overflow:hidden}.SelectionHandles-module__08VXMW__outline{outline:2px solid var(--selection);outline-offset:-2px;position:absolute}.SelectionHandles-module__08VXMW__ghost{border:1px dashed var(--selection);background:color-mix(in srgb, var(--selection) 6%, transparent);position:absolute}.SelectionHandles-module__08VXMW__resize{width:10px;height:10px;margin:calc(-5px + var(--dy) * 2px) 0 0 calc(-5px + var(--dx) * 2px);pointer-events:auto;touch-action:none;position:absolute}.SelectionHandles-module__08VXMW__resize:after{content:"";left:calc(2px - var(--dx) * 2px);top:calc(2px - var(--dy) * 2px);box-sizing:border-box;border:1px solid var(--selection);background:var(--color-canvas-knob);width:6px;height:6px;box-shadow:var(--shadow-thumb);position:absolute}.SelectionHandles-module__08VXMW__band{background:repeating-linear-gradient(-45deg, color-mix(in srgb, var(--selection) 20%, transparent) 0 1px, color-mix(in srgb, var(--selection) 6%, transparent) 1px 5px);position:absolute}.SelectionHandles-module__08VXMW__grip{pointer-events:auto;touch-action:none;position:absolute}.SelectionHandles-module__08VXMW__grip:after{content:"";background:var(--selection);box-shadow:0 0 0 1px var(--color-canvas-knob);border-radius:999px;position:absolute}.SelectionHandles-module__08VXMW__grip[data-axis=vertical]{cursor:ns-resize}.SelectionHandles-module__08VXMW__grip[data-axis=vertical]:after{inset:calc(50% - 1.5px) 2px}.SelectionHandles-module__08VXMW__grip[data-axis=horizontal]{cursor:ew-resize}.SelectionHandles-module__08VXMW__grip[data-axis=horizontal]:after{inset:2px calc(50% - 1.5px)}.SelectionHandles-module__08VXMW__pin{z-index:2;border-radius:var(--radius-lg);background:var(--color-xc-panel);box-shadow:var(--shadow-float);padding:4px;position:absolute;translate:-100%}.SelectionHandles-module__08VXMW__offer{height:var(--control-height-sm);border-radius:var(--radius-md);font-size:var(--text-caption);color:var(--color-xc-accent);white-space:nowrap;padding:0 8px}.SelectionHandles-module__08VXMW__offer:hover{background:var(--color-xc-fill)}
.Recovery-module__CRm5JG__screen{box-sizing:border-box;background:var(--color-xc-canvas,#f0f0f3);min-height:100dvh;color:var(--color-xc-text,#1d1d1f);font-family:var(--font-sans,-apple-system, BlinkMacSystemFont, system-ui, sans-serif);font-size:var(--text-body,13px);line-height:var(--text-body--line-height,18px);-webkit-font-smoothing:antialiased;place-items:center;padding:24px 16px;display:grid}.Recovery-module__CRm5JG__cover{z-index:1100;box-sizing:border-box;position:fixed;inset:0}.Recovery-module__CRm5JG__card{box-sizing:border-box;border-radius:var(--radius-2xl,16px);background:var(--color-xc-bar,#fff);width:min(460px,100%);box-shadow:var(--shadow-sheet,0 0 0 .5px #0000001f, 0 24px 80px #00000038);padding:24px}.Recovery-module__CRm5JG__card h1{font-size:var(--text-title2,17px);line-height:var(--text-title2--line-height,22px);letter-spacing:var(--text-title2--letter-spacing,-.43px);margin:0 0 4px;font-weight:600}.Recovery-module__CRm5JG__card p{color:var(--color-xc-text-2,#6e6e73);margin:0 0 20px}.Recovery-module__CRm5JG__actions{flex-wrap:wrap;gap:8px;display:flex}.Recovery-module__CRm5JG__actions button{box-sizing:border-box;height:var(--control-height,28px);border-radius:var(--radius-md,6px);background:var(--color-xc-fill,#7474801a);color:var(--color-xc-text,#1d1d1f);font:inherit;font-size:var(--text-body,13px);white-space:nowrap;cursor:default;transition:background-color var(--duration-fast,.12s);border:0;padding:0 12px}.Recovery-module__CRm5JG__actions button:hover:not(:disabled){background:var(--color-xc-fill-strong,#7474802b)}.Recovery-module__CRm5JG__actions button[data-primary]{background:var(--color-xc-accent-fill,#0071e3);color:#fff;font-weight:500}.Recovery-module__CRm5JG__actions button[data-primary]:hover:not(:disabled){background:var(--color-xc-accent-hover,#0077ed)}.Recovery-module__CRm5JG__actions button:disabled{opacity:.4;cursor:default}.Recovery-module__CRm5JG__status{color:var(--color-xc-text-2,#6e6e73);font-size:var(--text-footnote,12px);line-height:var(--text-footnote--line-height,16px);margin:12px 0 0!important}.Recovery-module__CRm5JG__details{border-top:1px solid var(--color-xc-line-soft,#ededf0);color:var(--color-xc-text-3,#7a7a80);font-size:var(--text-footnote,12px);line-height:var(--text-footnote--line-height,16px);margin-top:20px;padding-top:12px}.Recovery-module__CRm5JG__details code{font-family:var(--font-mono,ui-monospace, "SF Mono", Menlo, monospace);overflow-wrap:anywhere;margin-top:4px;display:block}.Recovery-module__CRm5JG__panel{box-sizing:border-box;background:var(--color-xc-bar,#fff);height:100%;min-height:160px;color:var(--color-xc-text,#1d1d1f);font-size:var(--text-body,13px);line-height:var(--text-body--line-height,18px);flex-direction:column;gap:8px;padding:16px;display:flex;overflow:auto}.Recovery-module__CRm5JG__panel>strong{font-weight:600}.Recovery-module__CRm5JG__panel p{color:var(--color-xc-text-2,#6e6e73);margin:0}.Recovery-module__CRm5JG__panel>.Recovery-module__CRm5JG__actions{margin-top:4px}.Recovery-module__CRm5JG__keep{margin-top:auto}.Recovery-module__CRm5JG__banner{z-index:1000;box-sizing:border-box;border-radius:var(--radius-xl,12px);background:var(--color-xc-panel,#fff);width:min(440px,100vw - 32px);color:var(--color-xc-text,#1d1d1f);box-shadow:var(--shadow-popover,0 0 0 .5px #0000001f, 0 10px 32px #00000024);font-size:var(--text-body,13px);line-height:var(--text-body--line-height,18px);--appear:xc-pop-in;animation:var(--appear) var(--duration-base,.18s) var(--ease-out,ease-out);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 16px;display:flex;position:fixed;bottom:56px;left:16px}.Recovery-module__CRm5JG__banner p{flex:260px;margin:0}.Recovery-module__CRm5JG__banner strong{font-weight:600}.Recovery-module__CRm5JG__strip{min-height:var(--pane-header-height,40px);box-sizing:border-box;border-bottom:1px solid var(--color-xc-line,#e3e3e7);color:var(--color-xc-text,#1d1d1f);font-size:var(--text-body,13px);line-height:var(--text-body--line-height,18px);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:4px 12px;padding:6px 12px;display:flex}.Recovery-module__CRm5JG__strip>p{flex:1;min-width:240px;margin:0}.Recovery-module__CRm5JG__strip strong{font-weight:600}.Recovery-module__CRm5JG__strip>p[role=status]{min-width:0;color:var(--color-xc-text-2,#6e6e73);font-size:var(--text-footnote,12px);flex:0 auto}.Recovery-module__CRm5JG__strip .Recovery-module__CRm5JG__actions button{height:var(--control-height-sm,24px);padding:0 10px}.Recovery-module__CRm5JG__warn{background:color-mix(in srgb, var(--color-xc-warn,#a05a00) 12%, var(--color-xc-bar,#fff))}.Recovery-module__CRm5JG__warn>svg{color:var(--color-xc-warn,#a05a00)}.Recovery-module__CRm5JG__busy{background:var(--color-xc-select,#e8f1fc)}.Recovery-module__CRm5JG__busy>svg{color:var(--color-xc-accent,#0071e3)}
.Settings-module__BL91XG__panel{min-width:0;font-size:var(--text-body);color:var(--color-xc-text);gap:0;display:grid}.Settings-module__BL91XG__section{border-bottom:1px solid var(--color-xc-line-soft);gap:8px;min-width:0;padding:16px 0;display:grid}.Settings-module__BL91XG__section:last-child{border-bottom:0;padding-bottom:0}.Settings-module__BL91XG__section+.Settings-module__BL91XG__note{padding-top:16px}.Settings-module__BL91XG__sectionHeader{min-height:var(--control-height-sm);justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.Settings-module__BL91XG__sectionHeader h3{font-size:var(--text-body);line-height:var(--text-body--line-height);color:var(--color-xc-text);margin:0;font-weight:600}.Settings-module__BL91XG__sectionHeader>span{align-items:center;gap:4px;display:inline-flex}.Settings-module__BL91XG__iconButton{width:var(--control-height-sm);height:var(--control-height-sm);border-radius:var(--radius-md);color:var(--color-xc-text-2);transition:background-color var(--duration-fast), color var(--duration-fast);flex-shrink:0;place-items:center;display:grid}.Settings-module__BL91XG__iconButton:hover:not(:disabled){background:var(--color-xc-fill);color:var(--color-xc-text)}.Settings-module__BL91XG__iconButton[aria-pressed=true],.Settings-module__BL91XG__iconButton[aria-expanded=true]{background:var(--color-xc-select);color:var(--color-xc-accent)}.Settings-module__BL91XG__iconButton:disabled{opacity:.4}label.Settings-module__BL91XG__iconButton:has(input:disabled){opacity:.4}.Settings-module__BL91XG__row{}.Settings-module__BL91XG__row input[type=color]{flex-shrink:0}.Settings-module__BL91XG__inline{align-items:center;gap:6px;min-width:0;display:flex}.Settings-module__BL91XG__inline>input:not([type=color]),.Settings-module__BL91XG__inline>select{flex:1;min-width:0}.Settings-module__BL91XG__unit{font-size:var(--text-footnote);color:var(--color-xc-text-3);flex-shrink:0}.Settings-module__BL91XG__note{font-size:var(--text-footnote);line-height:var(--text-footnote--line-height);color:var(--color-xc-text-3);margin:0}.Settings-module__BL91XG__warning{font-size:var(--text-footnote);line-height:var(--text-footnote--line-height);color:var(--color-xc-warn);margin:0}.Settings-module__BL91XG__error{font-size:var(--text-footnote);line-height:var(--text-footnote--line-height);color:var(--color-xc-error);margin:0}.Settings-module__BL91XG__note code{font-size:var(--text-footnote)}.Settings-module__BL91XG__placements{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid}.Settings-module__BL91XG__placements>.Settings-module__BL91XG__button{justify-self:stretch;padding:0 4px}.Settings-module__BL91XG__actions{flex-wrap:wrap;gap:8px;display:flex}.Settings-module__BL91XG__button{height:var(--control-height);border-radius:var(--radius-md);background:var(--color-xc-fill);color:var(--color-xc-text);font-size:var(--text-body);white-space:nowrap;transition:background-color var(--duration-fast), color var(--duration-fast);justify-content:center;justify-self:start;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.Settings-module__BL91XG__button:hover:not(:disabled){background:var(--color-xc-fill-strong)}.Settings-module__BL91XG__button:disabled{opacity:.4}.Settings-module__BL91XG__button>svg{color:var(--color-xc-text-2)}.Settings-module__BL91XG__primary{background:var(--color-xc-accent-fill);color:#fff;font-weight:500;}.Settings-module__BL91XG__primary:hover:not(:disabled){background:var(--color-xc-accent-hover)}.Settings-module__BL91XG__destructive{color:var(--color-xc-error);}.Settings-module__BL91XG__link{color:var(--color-xc-accent);font:inherit;text-align:left;padding:0}.Settings-module__BL91XG__link:hover:not(:disabled){text-decoration:underline}.Settings-module__BL91XG__link:disabled{opacity:.4}.Settings-module__BL91XG__inherit{width:100%;min-width:0;min-height:var(--control-height);border-radius:var(--radius-md);background:var(--color-xc-field);color:var(--color-xc-text-2);font-size:var(--text-body);line-height:var(--text-body--line-height);text-align:left;transition:background-color var(--duration-fast), color var(--duration-fast);padding:4px 8px;display:block}.Settings-module__BL91XG__inherit:hover:not(:disabled){background:var(--color-xc-fill-strong);color:var(--color-xc-text)}.Settings-module__BL91XG__inherit:disabled{opacity:.4}.Settings-module__BL91XG__badge{border-radius:var(--radius-sm);background:var(--color-xc-select);color:var(--color-xc-accent);font-size:var(--text-caption);line-height:var(--text-caption--line-height);justify-self:start;padding:2px 6px}.Settings-module__BL91XG__tokenList{gap:2px;display:grid}.Settings-module__BL91XG__tokenRow{border-radius:var(--radius-lg);gap:8px;min-width:0;display:grid}.Settings-module__BL91XG__tokenRow[data-open]{background:var(--color-xc-bar-raised);padding:0 8px 12px}.Settings-module__BL91XG__tokenRow[data-open]:not(:has(>.Settings-module__BL91XG__tokenSummary)){padding-top:12px}.Settings-module__BL91XG__tokenRow[data-open]>.Settings-module__BL91XG__tokenSummary{width:calc(100% + 16px);margin:0 -8px}.Settings-module__BL91XG__tokenSummary{width:100%;min-height:var(--row-height);border-radius:var(--radius-md);color:var(--color-xc-text);text-align:left;transition:background-color var(--duration-fast);align-items:center;gap:8px;padding:0 8px;display:flex}.Settings-module__BL91XG__tokenSummary:hover{background:var(--color-xc-fill)}.Settings-module__BL91XG__tokenRow[data-open] .Settings-module__BL91XG__tokenSummary:hover{background:0 0}.Settings-module__BL91XG__tokenSummary>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-family:var(--font-mono);font-size:var(--text-footnote);font-weight:400;overflow:hidden}.Settings-module__BL91XG__tokenSummary>small{font-size:var(--text-caption);color:var(--color-xc-text-3);flex-shrink:0;margin-left:auto}.Settings-module__BL91XG__swatch{border-radius:var(--radius-sm);width:16px;height:16px;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--color-xc-text) 14%, transparent);background-image:linear-gradient(45deg, var(--color-xc-fill-strong) 25%, transparent 25%, transparent 75%, var(--color-xc-fill-strong) 75%), linear-gradient(45deg, var(--color-xc-fill-strong) 25%, transparent 25%, transparent 75%, var(--color-xc-fill-strong) 75%);background-position:0 0,4px 4px;background-size:8px 8px;flex-shrink:0;position:relative;overflow:hidden}.Settings-module__BL91XG__swatch>i{position:absolute;inset:0}.Settings-module__BL91XG__swatch[data-split]>i:last-child{left:50%}.Settings-module__BL91XG__glyph{border-radius:var(--radius-sm);background:var(--color-xc-fill);width:16px;height:16px;color:var(--color-xc-text-2);font-size:var(--text-caption);flex-shrink:0;place-items:center;font-weight:600;line-height:1;display:grid}.Settings-module__BL91XG__legacy{border-radius:var(--radius-sm);background:var(--color-xc-fill);color:var(--color-xc-text-2);font-size:var(--text-caption);line-height:var(--text-caption--line-height);flex-shrink:0;padding:2px 6px}.Settings-module__BL91XG__uses{gap:2px;max-height:140px;display:grid;overflow:auto}.Settings-module__BL91XG__uses button{min-height:var(--control-height-sm);border-radius:var(--radius-md);color:var(--color-xc-text);font-size:var(--text-footnote);text-align:left;transition:background-color var(--duration-fast);padding:0 8px}.Settings-module__BL91XG__uses button:hover{background:var(--color-xc-fill)}.Settings-module__BL91XG__tokenField{gap:4px;min-width:0;display:grid}.Settings-module__BL91XG__tokenPicker{align-items:center;gap:6px;min-width:0;display:flex}.Settings-module__BL91XG__tokenPicker>select{flex:1}.Settings-module__BL91XG__tokenPicker>select[data-linked]{font-family:var(--font-mono);font-size:var(--text-footnote);color:var(--color-xc-accent)}.Settings-module__BL91XG__tokenField>.Settings-module__BL91XG__badge,.Settings-module__BL91XG__tokenField>form,.Settings-module__BL91XG__tokenField>.Settings-module__BL91XG__note,.Settings-module__BL91XG__tokenField>.Settings-module__BL91XG__error,.Settings-module__BL91XG__tokenField>.Settings-module__BL91XG__tokenAction{margin-left:calc(max(80px,38%) + 8px)}.Settings-module__BL91XG__tokenAction{height:var(--control-height-sm);color:var(--color-xc-text-2);background:0 0;padding:0 8px;}.Settings-module__BL91XG__tokenAction:hover:not(:disabled){background:var(--color-xc-fill);color:var(--color-xc-text)}.Settings-module__BL91XG__lede{border-bottom:1px solid var(--color-xc-line-soft);gap:2px;padding-bottom:16px;display:grid}.Settings-module__BL91XG__lede strong{font-size:var(--text-title3);line-height:var(--text-title3--line-height);letter-spacing:var(--text-title3--letter-spacing);overflow-wrap:anywhere;font-weight:600}.Settings-module__BL91XG__lede small{font-size:var(--text-footnote);line-height:var(--text-footnote--line-height);color:var(--color-xc-text-2)}.Settings-module__BL91XG__tabs{gap:12px;display:grid}.Settings-module__BL91XG__tabRow{grid-template-columns:var(--control-height) minmax(0, 1fr) auto;grid-template-areas:"icon name actions"".screen screen";align-items:center;gap:4px 6px;min-width:0;display:grid}.Settings-module__BL91XG__tabRow>:first-child{width:var(--control-height);height:var(--control-height);grid-area:icon}.Settings-module__BL91XG__tabRow>:nth-child(2){grid-area:name;min-width:0}.Settings-module__BL91XG__tabRow>:nth-child(3){grid-area:screen;min-width:0}.Settings-module__BL91XG__tabRow>:nth-child(4){grid-area:actions;gap:2px}.Settings-module__BL91XG__flip{transform:rotate(180deg)}.Settings-module__BL91XG__tabRow input,.Settings-module__BL91XG__tabRow select{width:100%;min-width:0;height:var(--control-height)}.Settings-module__BL91XG__tabRow>span:not(.Settings-module__BL91XG__inline){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.Settings-module__BL91XG__segmented{border-radius:var(--radius-md);background:var(--color-xc-fill);grid-auto-columns:1fr;grid-auto-flow:column;gap:2px;padding:2px;display:grid}.Settings-module__BL91XG__segmented button{height:var(--control-height-sm);border-radius:var(--radius-thumb);color:var(--color-xc-text-2);font-size:var(--text-body);transition:background-color var(--duration-fast), color var(--duration-fast), box-shadow var(--duration-fast)}.Settings-module__BL91XG__segmented button:hover:not(:disabled){color:var(--color-xc-text)}.Settings-module__BL91XG__segmented button[aria-pressed=true]{background:var(--color-xc-thumb);color:var(--color-xc-text);box-shadow:var(--shadow-thumb)}.Settings-module__BL91XG__segmented button:disabled{opacity:.4}.Settings-module__BL91XG__states{gap:2px;display:grid}.Settings-module__BL91XG__stateRow{width:100%;min-width:0;min-height:var(--row-height);border-radius:var(--radius-md);color:var(--color-xc-text);text-align:left;white-space:nowrap;transition:background-color var(--duration-fast);align-items:center;gap:8px;padding:0 8px;display:flex}.Settings-module__BL91XG__stateRow:hover{background:var(--color-xc-fill)}.Settings-module__BL91XG__stateRow[aria-pressed=true]{background:var(--color-xc-select)}.Settings-module__BL91XG__stateRow>small{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:var(--text-caption);color:var(--color-xc-text-3);margin-left:auto;overflow:hidden}.Settings-module__BL91XG__states>.Settings-module__BL91XG__inline{gap:2px}.Settings-module__BL91XG__form{border-radius:var(--radius-lg);background:var(--color-xc-bar-raised);gap:8px;min-width:0;padding:12px;display:grid}.Settings-module__BL91XG__fileInput{font-size:var(--text-footnote);line-height:var(--text-footnote--line-height);color:var(--color-xc-text-2);gap:4px;display:grid}.Settings-module__BL91XG__fileInput input{max-width:100%;font-size:var(--text-footnote);color:var(--color-xc-text-3)}.Settings-module__BL91XG__fileInput input::file-selector-button{height:var(--control-height-sm);border-radius:var(--radius-md);background:var(--color-xc-fill);color:var(--color-xc-text);font:inherit;font-size:var(--text-body);border:0;margin-right:8px;padding:0 8px}.Settings-module__BL91XG__fileInput input::file-selector-button:hover{background:var(--color-xc-fill-strong)}
.TemplateGallery-module__zEWkja__backdrop{z-index:950;background:var(--workspace-scrim);--appear:xc-fade-in;animation:var(--appear) var(--duration-base) var(--ease-out);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.TemplateGallery-module__zEWkja__window{border-radius:var(--radius-2xl);background:var(--color-xc-bar);width:min(1120px,100%);height:min(760px,100%);color:var(--color-xc-text);box-shadow:var(--shadow-sheet);--appear:xc-sheet-in;animation:var(--appear) var(--duration-base) var(--ease-out);grid-template-columns:220px minmax(0,1fr);display:grid;overflow:hidden}.TemplateGallery-module__zEWkja__sidebar{border-right:1px solid var(--color-xc-line);background:var(--color-xc-bar-raised);flex-direction:column;min-height:0;padding:24px 12px 16px;display:flex}.TemplateGallery-module__zEWkja__brand{align-items:center;gap:12px;padding:0 8px 24px;display:flex}.TemplateGallery-module__zEWkja__brandMark{border-radius:var(--radius-lg);background:var(--color-xc-accent-fill);color:#fff;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.TemplateGallery-module__zEWkja__brandMark svg{width:18px;height:18px}.TemplateGallery-module__zEWkja__brand strong{font-size:var(--text-body);line-height:var(--text-body--line-height);font-weight:600;display:block}.TemplateGallery-module__zEWkja__brand>span>span{color:var(--color-xc-text-3);font-size:var(--text-footnote);line-height:var(--text-footnote--line-height);display:block}.TemplateGallery-module__zEWkja__navigation{flex-direction:column;gap:2px;display:flex}.TemplateGallery-module__zEWkja__navItem{border-radius:var(--radius-md);text-align:left;height:32px;color:var(--color-xc-text);font-size:var(--text-body);cursor:default;transition:background-color var(--duration-fast), color var(--duration-fast);align-items:center;gap:8px;padding:0 8px;display:flex}.TemplateGallery-module__zEWkja__navItem>svg{color:var(--color-xc-text-2)}.TemplateGallery-module__zEWkja__navItem>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.TemplateGallery-module__zEWkja__navItem:hover:not(:disabled){background:var(--color-xc-fill)}.TemplateGallery-module__zEWkja__navItem[aria-pressed=true]{background:var(--color-xc-fill-strong)}.TemplateGallery-module__zEWkja__navItem[aria-pressed=true]>svg{color:var(--color-xc-text)}.TemplateGallery-module__zEWkja__navItem small{font-size:var(--text-caption);line-height:var(--text-caption--line-height);color:var(--color-xc-text-3);font-variant-numeric:tabular-nums;margin-left:auto}.TemplateGallery-module__zEWkja__main{flex-direction:column;min-width:0;min-height:0;display:flex}.TemplateGallery-module__zEWkja__header{justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 24px 20px;display:flex}.TemplateGallery-module__zEWkja__header h2{font-size:var(--text-title1);line-height:var(--text-title1--line-height);letter-spacing:var(--text-title1--letter-spacing);margin:0;font-weight:700}.TemplateGallery-module__zEWkja__subtitle{font-size:var(--text-body);line-height:var(--text-body--line-height);color:var(--color-xc-text-2);margin:4px 0 0}.TemplateGallery-module__zEWkja__close{width:var(--control-height);height:var(--control-height);border-radius:var(--radius-md);color:var(--color-xc-text-2);cursor:default;transition:background-color var(--duration-fast), color var(--duration-fast);flex-shrink:0;place-items:center;margin:-2px -4px 0 0;display:grid}.TemplateGallery-module__zEWkja__close:hover:not(:disabled){background:var(--color-xc-fill);color:var(--color-xc-text)}.TemplateGallery-module__zEWkja__catalogBar{color:var(--color-xc-text-2);font-size:var(--text-footnote);justify-content:space-between;align-items:center;gap:12px;padding:0 24px 12px;display:flex}.TemplateGallery-module__zEWkja__search{width:min(240px,60%);height:var(--control-height);border-radius:var(--radius-md);background:var(--color-xc-field);color:var(--color-xc-text-3);transition:border-color var(--duration-fast) var(--ease-in-out), box-shadow var(--duration-fast) var(--ease-in-out), background-color var(--duration-fast) var(--ease-in-out);border:1px solid #0000;align-items:center;gap:6px;padding:0 6px 0 8px;display:flex}.TemplateGallery-module__zEWkja__search:hover:not(:focus-within){border-color:var(--color-xc-line)}.TemplateGallery-module__zEWkja__search:focus-within{border-color:var(--color-xc-accent);background:var(--color-xc-panel);box-shadow:var(--focus-ring)}.TemplateGallery-module__zEWkja__search input,.TemplateGallery-module__zEWkja__search input:hover,.TemplateGallery-module__zEWkja__search input:focus-visible{width:100%;min-width:0;height:100%;min-height:0;box-shadow:none;background:0 0;border:0;outline:none;flex:1;padding:0}.TemplateGallery-module__zEWkja__search button{width:20px;height:20px;color:var(--color-xc-text-3);cursor:default;transition:background-color var(--duration-fast), color var(--duration-fast);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.TemplateGallery-module__zEWkja__search button:hover{background:var(--color-xc-fill);color:var(--color-xc-text)}.TemplateGallery-module__zEWkja__catalog{overscroll-behavior:contain;flex:1;min-height:0;padding:4px 24px 24px;overflow-y:auto}.TemplateGallery-module__zEWkja__appGrid,.TemplateGallery-module__zEWkja__featureGrid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:12px;display:grid}.TemplateGallery-module__zEWkja__appCard,.TemplateGallery-module__zEWkja__featureCard{border:1px solid var(--color-xc-line);border-radius:var(--radius-xl);background:var(--color-xc-bar);text-align:left;cursor:default;min-width:0;transition:border-color var(--duration-fast), box-shadow var(--duration-fast);align-items:flex-start;gap:12px;padding:16px 40px 16px 16px;display:flex;position:relative}.TemplateGallery-module__zEWkja__appCard{min-height:104px}.TemplateGallery-module__zEWkja__featureCard{min-height:88px}.TemplateGallery-module__zEWkja__appCard:hover:not(:disabled),.TemplateGallery-module__zEWkja__featureCard:hover:not(:disabled){border-color:color-mix(in srgb, var(--color-xc-text-3) 45%, transparent);box-shadow:var(--shadow-card)}.TemplateGallery-module__zEWkja__appCard[aria-pressed=true],.TemplateGallery-module__zEWkja__featureCard[aria-pressed=true]{border-color:var(--color-xc-accent);box-shadow:0 0 0 1px var(--color-xc-accent)}.TemplateGallery-module__zEWkja__templateIcon{border-radius:var(--radius-lg);flex-shrink:0;place-items:center;width:36px;height:36px;display:grid}.TemplateGallery-module__zEWkja__templateIcon svg{width:20px;height:20px}.TemplateGallery-module__zEWkja__cardCopy{min-width:0;display:block}.TemplateGallery-module__zEWkja__cardTitle{color:var(--color-xc-text);font-size:var(--text-body);line-height:var(--text-body--line-height);font-weight:600;display:block}.TemplateGallery-module__zEWkja__cardTagline{color:var(--color-xc-text-2);font-size:var(--text-footnote);line-height:var(--text-footnote--line-height);margin-top:2px;display:block}.TemplateGallery-module__zEWkja__cardMeta{color:var(--color-xc-text-3);font-size:var(--text-caption);line-height:var(--text-caption--line-height);margin-top:8px;display:block}.TemplateGallery-module__zEWkja__selectedMark{border:1px solid color-mix(in srgb, var(--color-xc-text) 22%, transparent);color:#fff;width:16px;height:16px;transition:background-color var(--duration-fast), border-color var(--duration-fast);border-radius:50%;place-items:center;display:grid;position:absolute;top:16px;right:16px}[aria-pressed=true]>.TemplateGallery-module__zEWkja__selectedMark{border-color:var(--color-xc-accent-fill);background:var(--color-xc-accent-fill)}.TemplateGallery-module__zEWkja__detail{border-top:1px solid var(--color-xc-line);background:var(--color-xc-bar-raised);padding:16px 24px}.TemplateGallery-module__zEWkja__detailHeading{font-size:var(--text-body);justify-content:space-between;align-items:baseline;gap:12px;display:flex}.TemplateGallery-module__zEWkja__detailHeading strong{font-weight:600}.TemplateGallery-module__zEWkja__detailHeading>span{color:var(--color-xc-text-3);font-size:var(--text-caption);white-space:nowrap}.TemplateGallery-module__zEWkja__detail p{color:var(--color-xc-text-2);font-size:var(--text-body);line-height:var(--text-body--line-height);margin:4px 0 0}.TemplateGallery-module__zEWkja__screenList{flex-wrap:wrap;gap:4px;margin-top:8px;display:flex}.TemplateGallery-module__zEWkja__screenList span{border-radius:var(--radius-sm);background:var(--color-xc-fill);font-size:var(--text-caption);line-height:var(--text-caption--line-height);color:var(--color-xc-text-2);padding:2px 6px}.TemplateGallery-module__zEWkja__footer{border-top:1px solid var(--color-xc-line);justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;display:flex}.TemplateGallery-module__zEWkja__footerNote{max-width:320px;color:var(--color-xc-text-3);font-size:var(--text-footnote);line-height:var(--text-footnote--line-height)}.TemplateGallery-module__zEWkja__footerNote[role=alert]{color:var(--color-xc-error)}.TemplateGallery-module__zEWkja__actions{flex-shrink:0;gap:8px;display:flex}.TemplateGallery-module__zEWkja__primary,.TemplateGallery-module__zEWkja__secondary{min-width:80px;height:var(--control-height-lg);border-radius:var(--radius-md);font-size:var(--text-body);white-space:nowrap;cursor:default;transition:background-color var(--duration-fast), color var(--duration-fast);justify-content:center;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.TemplateGallery-module__zEWkja__primary{background:var(--color-xc-accent-fill);color:#fff;font-weight:500}.TemplateGallery-module__zEWkja__primary:hover:not(:disabled){background:var(--color-xc-accent-hover)}.TemplateGallery-module__zEWkja__primary>svg{margin-right:-2px}.TemplateGallery-module__zEWkja__secondary{background:var(--color-xc-fill);color:var(--color-xc-text)}.TemplateGallery-module__zEWkja__secondary:hover:not(:disabled){background:var(--color-xc-fill-strong)}.TemplateGallery-module__zEWkja__window button:disabled{opacity:.4;cursor:default}.TemplateGallery-module__zEWkja__empty{min-height:200px;color:var(--color-xc-text-3);font-size:var(--text-footnote);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.TemplateGallery-module__zEWkja__empty p{margin:0}.TemplateGallery-module__zEWkja__empty strong{color:var(--color-xc-text);font-size:var(--text-body);margin-top:4px;font-weight:600}.TemplateGallery-module__zEWkja__empty button{color:var(--color-xc-accent);font-size:var(--text-body);cursor:default}.TemplateGallery-module__zEWkja__empty button:hover{text-decoration:underline}.TemplateGallery-module__zEWkja__openPane{flex:1;min-height:0;padding:0 24px 24px;overflow-y:auto}.TemplateGallery-module__zEWkja__sectionLabel{font-size:var(--text-caption);line-height:var(--text-caption--line-height);color:var(--color-xc-text-3);margin:0 0 8px;font-weight:600}.TemplateGallery-module__zEWkja__note+.TemplateGallery-module__zEWkja__sectionLabel{margin-top:24px}.TemplateGallery-module__zEWkja__recents{gap:8px;margin:0;padding:0;list-style:none;display:grid}.TemplateGallery-module__zEWkja__recentRow{align-items:center;gap:4px;display:flex}.TemplateGallery-module__zEWkja__recent{border:1px solid var(--color-xc-line);border-radius:var(--radius-lg);background:var(--color-xc-bar);text-align:left;cursor:default;min-width:0;transition:border-color var(--duration-fast), background-color var(--duration-fast), box-shadow var(--duration-fast);flex:1;align-items:center;gap:12px;padding:12px;display:flex}.TemplateGallery-module__zEWkja__recent:hover{border-color:color-mix(in srgb, var(--color-xc-text-3) 45%, transparent);box-shadow:var(--shadow-card)}.TemplateGallery-module__zEWkja__recent[aria-current=true]{border-color:var(--color-xc-accent);background:var(--color-xc-select);box-shadow:none}.TemplateGallery-module__zEWkja__recentInitial{border-radius:var(--radius-md);background:var(--color-xc-fill);width:32px;height:32px;color:var(--color-xc-text-2);font-size:var(--text-body);flex-shrink:0;place-items:center;font-weight:600;display:grid}.TemplateGallery-module__zEWkja__recent[aria-current=true] .TemplateGallery-module__zEWkja__recentInitial{background:var(--color-xc-accent-fill);color:#fff}.TemplateGallery-module__zEWkja__recentCopy{min-width:0}.TemplateGallery-module__zEWkja__recentName{text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-body);line-height:var(--text-body--line-height);color:var(--color-xc-text);display:block;overflow:hidden}.TemplateGallery-module__zEWkja__recentMeta{text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-caption);line-height:var(--text-caption--line-height);color:var(--color-xc-text-3);display:block;overflow:hidden}.TemplateGallery-module__zEWkja__recentChevron{color:var(--color-xc-text-3);margin-left:auto}.TemplateGallery-module__zEWkja__remove{width:var(--control-height-sm);height:var(--control-height-sm);border-radius:var(--radius-md);color:var(--color-xc-text-3);opacity:0;transition:opacity var(--duration-fast), background-color var(--duration-fast), color var(--duration-fast);flex-shrink:0;place-items:center;display:grid}.TemplateGallery-module__zEWkja__recentRow:hover .TemplateGallery-module__zEWkja__remove,.TemplateGallery-module__zEWkja__remove:focus-visible{opacity:1}.TemplateGallery-module__zEWkja__remove:hover{background:var(--color-xc-fill);color:var(--color-xc-error)}.TemplateGallery-module__zEWkja__remove:disabled{pointer-events:none}.TemplateGallery-module__zEWkja__window .TemplateGallery-module__zEWkja__remove:disabled{opacity:0}.TemplateGallery-module__zEWkja__window .TemplateGallery-module__zEWkja__recentRow:hover .TemplateGallery-module__zEWkja__remove:disabled{opacity:.4}.TemplateGallery-module__zEWkja__note{font-size:var(--text-footnote);line-height:var(--text-footnote--line-height);color:var(--color-xc-text-3);margin:8px 0 0}.TemplateGallery-module__zEWkja__importBox{border-radius:var(--radius-lg);background:var(--color-xc-bar-raised);padding:16px}.TemplateGallery-module__zEWkja__importBox>p{font-size:var(--text-body);line-height:var(--text-body--line-height);color:var(--color-xc-text-2);margin:0}.TemplateGallery-module__zEWkja__importBox>p>span{font-size:var(--text-footnote);color:var(--color-xc-text)}.TemplateGallery-module__zEWkja__importRow{align-items:center;gap:12px;margin-top:12px;display:flex}.TemplateGallery-module__zEWkja__importRow>span{font-size:var(--text-footnote);color:var(--color-xc-text-3)}.TemplateGallery-module__zEWkja__openError{font-size:var(--text-footnote);color:var(--color-xc-error);align-items:center;gap:6px;margin:8px 0 0;display:flex}.TemplateGallery-module__zEWkja__dialogBackdrop{z-index:960;background:var(--workspace-scrim);--appear:xc-fade-in;animation:var(--appear) var(--duration-base) var(--ease-out);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.TemplateGallery-module__zEWkja__dialog{border-radius:var(--radius-2xl);background:var(--color-xc-bar);width:min(420px,100%);color:var(--color-xc-text);box-shadow:var(--shadow-sheet);--appear:xc-sheet-in;animation:var(--appear) var(--duration-base) var(--ease-out);grid-template-columns:auto minmax(0,1fr);column-gap:16px;padding:24px;display:grid}.TemplateGallery-module__zEWkja__dialog>*{grid-column:2}.TemplateGallery-module__zEWkja__dialog[data-wide]{width:min(500px,100%)}.TemplateGallery-module__zEWkja__dialogIcon{background:color-mix(in srgb, var(--color-xc-warn) 15%, transparent);width:32px;height:32px;color:var(--color-xc-warn);border-radius:50%;grid-area:1/1/span 3;place-items:center;display:grid}.TemplateGallery-module__zEWkja__dialogIcon[data-tone=error]{background:color-mix(in srgb, var(--color-xc-error) 14%, transparent);color:var(--color-xc-error)}.TemplateGallery-module__zEWkja__dialogTitle{font-size:var(--text-title2);line-height:var(--text-title2--line-height);letter-spacing:var(--text-title2--letter-spacing);overflow-wrap:anywhere;margin:4px 0 0;font-weight:600}.TemplateGallery-module__zEWkja__dialogBody{font-size:var(--text-body);line-height:var(--text-body--line-height);color:var(--color-xc-text-2);margin:4px 0 0}.TemplateGallery-module__zEWkja__dialogNote{font-size:var(--text-footnote);line-height:var(--text-footnote--line-height);color:var(--color-xc-text-3);margin:8px 0 0}.TemplateGallery-module__zEWkja__dialogActions{flex-wrap:wrap;grid-column:1/-1;justify-content:flex-end;gap:8px;margin-top:24px;display:flex}@media (max-width:760px){.TemplateGallery-module__zEWkja__backdrop{padding:12px}.TemplateGallery-module__zEWkja__window{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.TemplateGallery-module__zEWkja__sidebar{border-right:0;border-bottom:1px solid var(--color-xc-line);padding:8px 12px}.TemplateGallery-module__zEWkja__brand,.TemplateGallery-module__zEWkja__navigation{scrollbar-width:none;flex-direction:row;overflow-x:auto}.TemplateGallery-module__zEWkja__navItem{flex:1 0 auto;justify-content:center;gap:6px;padding:0 8px}.TemplateGallery-module__zEWkja__navItem small{display:none}.TemplateGallery-module__zEWkja__header{padding:20px 20px 16px}.TemplateGallery-module__zEWkja__catalogBar{padding:0 20px 12px}.TemplateGallery-module__zEWkja__catalog{padding:4px 20px 20px}.TemplateGallery-module__zEWkja__openPane{padding:0 20px 20px}.TemplateGallery-module__zEWkja__detail,.TemplateGallery-module__zEWkja__footer{padding:12px 20px}}@media (max-width:480px){.TemplateGallery-module__zEWkja__backdrop{padding:8px}.TemplateGallery-module__zEWkja__navItem{font-size:var(--text-footnote)}.TemplateGallery-module__zEWkja__header h2{font-size:var(--text-title2);line-height:var(--text-title2--line-height);letter-spacing:var(--text-title2--letter-spacing)}.TemplateGallery-module__zEWkja__appGrid,.TemplateGallery-module__zEWkja__featureGrid{grid-template-columns:1fr}.TemplateGallery-module__zEWkja__footer{flex-direction:column;align-items:stretch;gap:8px}.TemplateGallery-module__zEWkja__footerNote{max-width:none}.TemplateGallery-module__zEWkja__actions{justify-content:flex-end}.TemplateGallery-module__zEWkja__screenList{display:none}.TemplateGallery-module__zEWkja__detail p{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}@media (max-height:610px){.TemplateGallery-module__zEWkja__header{padding-top:16px;padding-bottom:12px}.TemplateGallery-module__zEWkja__header h2{font-size:var(--text-title2);line-height:var(--text-title2--line-height);letter-spacing:var(--text-title2--letter-spacing)}.TemplateGallery-module__zEWkja__subtitle,.TemplateGallery-module__zEWkja__screenList{display:none}.TemplateGallery-module__zEWkja__detail{padding-top:12px;padding-bottom:12px}}
