.studio-shell{--selection-red:var(--brand-red)}html[data-theme=dark] .studio-shell{--selection-red:#d71932}.studio-shell :is(.notification-trigger.has-action,.video-queue-trigger) b{background:var(--selection-red);color:#fff}.studio-shell .video-queue-trigger b{width:22px;height:22px;min-width:22px;padding:0;border-radius:50%;inset-block-start:-2px;inset-inline-end:-2px;transform:scale(.75)}.studio-shell .project-hub.library-mode .project-layout-toggle{display:flex;align-items:center;gap:7px;min-width:118px;padding-inline:10px 2px}.studio-shell .project-hub.library-mode .project-layout-toggle>svg{position:static;flex:none;width:15px;height:15px;transform:none}.studio-shell .project-hub.library-mode .project-layout-toggle>select{flex:1 1;min-width:0;width:auto;padding-inline:0 25px;border:0;background-color:transparent}.studio-shell .project-hub.library-mode .project-production-row>button.active{color:#fff;border-color:var(--brand-red);background:var(--selection-red);box-shadow:none}.studio-shell .sidebar-toggle{border:0!important;background:transparent;box-shadow:none}html[data-density] .studio-shell>.studio-sidebar{-webkit-padding-before:0;padding-block-start:0}html[data-density] .studio-shell>.studio-sidebar>.studio-brand{height:var(--studio-chrome-height);min-height:var(--studio-chrome-height);max-height:var(--studio-chrome-height);padding:0;align-items:center;gap:0}.studio-shell .studio-brand-logo-static{height:100%}.studio-shell .sidebar-toggle:focus-visible,.studio-shell .studio-brand:focus-within .sidebar-toggle,.studio-shell .studio-brand:hover .sidebar-toggle,.studio-shell.sidebar-open .studio-brand .sidebar-toggle{width:44px;height:44px;inset-block-start:calc((var(--studio-chrome-height) - 44px) / 2);inset-inline-end:-10px;opacity:1;pointer-events:auto;transform:none;background:transparent;box-shadow:none}.studio-shell .sidebar-toggle:hover{color:var(--ink);background:transparent;box-shadow:none;transform:none}.studio-shell .sidebar-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:-4px;border-radius:var(--radius-sm)}[dir=rtl] .studio-shell .sidebar-toggle svg{transform:scaleX(-1)}@media (max-width:620px){.studio-shell{--studio-chrome-height:calc(52px + env(safe-area-inset-top))}html[data-density] .studio-shell>.studio-sidebar>.studio-brand{-webkit-padding-before:env(safe-area-inset-top);padding-block-start:env(safe-area-inset-top)}.studio-shell .studio-workspace .studio-header.studio-preferences-header{-webkit-padding-before:calc(3px + env(safe-area-inset-top));padding-block-start:calc(3px + env(safe-area-inset-top))}.studio-shell.sidebar-open .studio-brand .sidebar-toggle{inset-block-start:calc(4px + env(safe-area-inset-top));inset-inline-end:0}}.account-security-view>.account-menu-link{justify-content:flex-start;min-height:44px;text-align:start}.studio-shell .density-toggle.studio-view-mode-pill{display:inline-flex;flex:none;align-items:center;gap:3px;height:36px;min-height:36px;padding:3px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--control);box-shadow:none}.studio-shell .density-toggle.studio-view-mode-pill>button{display:grid;place-items:center;flex:none;width:30px;min-width:30px;height:28px;min-height:28px;padding:0;border:0;border-radius:var(--radius-xs);background:transparent;color:var(--muted);box-shadow:none}.studio-shell .density-toggle.studio-view-mode-pill>button.active{background:var(--surface);color:var(--ink);outline:1px solid var(--line);box-shadow:none}.studio-shell .density-toggle.studio-view-mode-pill>button>svg{width:18px;height:18px}.studio-shell .production-stage-flow-head>.production-stage-flow-steps{gap:6px;min-height:56px;padding:2px;overflow-x:auto;scrollbar-width:thin}.studio-shell .production-stage-flow .production-stage-flow-steps>button{display:grid;grid-template-columns:25px minmax(0,1fr);grid-template-rows:auto auto;flex:1 0 105px;align-items:center;align-content:center;grid-column-gap:8px;column-gap:8px;grid-row-gap:2px;row-gap:2px;min-height:50px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);text-align:start;box-shadow:none}.studio-shell .production-stage-flow .production-stage-flow-steps>button>b{display:grid;grid-column:1;grid-row:1/3;place-items:center;width:25px;height:25px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--subtle);color:var(--muted);font-size:11px;font-weight:600}.studio-shell .production-stage-flow .production-stage-flow-steps>button>span{grid-column:2;grid-row:1;font-size:12px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:visible;text-overflow:clip}.studio-shell .production-stage-flow .production-stage-flow-steps>button>small{display:block;grid-column:2;grid-row:2;order:0;color:var(--muted);font-size:10px;line-height:1.3}.studio-shell .production-stage-flow .production-stage-flow-steps>button.active{border-color:var(--brand-red);background:var(--selection-red);color:#fff}.studio-shell .production-stage-flow .production-stage-flow-steps>button.active>small{color:#fff;opacity:.9}.studio-shell .production-stage-flow .production-stage-flow-steps>button.active>b{border-color:rgb(255 255 255/35%);background:rgb(255 255 255/14%);color:#fff}.studio-shell .production-stage-flow .production-stage-flow-steps>button:disabled{opacity:.6}.studio-shell .production-stage-flow .production-stage-flow-steps[data-readonly]>button:disabled{opacity:1;cursor:default}.studio-shell .production-stage-flow .production-stage-flow-steps>button.complete:not(.active)>b{color:var(--ink)}:root .studio-shell .studio-workspace.script-workspace .script-review-tabs{gap:4px;padding:4px;border:1px solid var(--line);border-radius:9px;background:var(--subtle)}:root .studio-shell .studio-workspace.script-workspace .script-review-tabs>button{min-height:36px;padding:7px 12px;border:0;border-radius:6px;background:transparent;box-shadow:none}:root .studio-shell .studio-workspace.script-workspace .script-review-tabs>button.active{color:#fff;background:var(--selection-red);border:0;box-shadow:none}:root .studio-shell .studio-workspace.script-workspace .script-review-tabs>button.active:after{display:none}.studio-shell .production-refresh-overview .production-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,34%);grid-template-areas:"inspector sequence";grid-gap:20px;gap:20px;align-items:start}.studio-shell .production-refresh-overview .production-overview-sequence{grid-area:sequence;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.studio-shell .production-refresh-overview .production-overview-sequence>header{gap:10px;-webkit-padding-after:12px;padding-block-end:12px}.studio-shell .production-refresh-overview .production-overview-sequence>header h2{font-size:13px;color:var(--ink)}.studio-shell .production-refresh-overview .production-overview-sequence>header>span{flex:none;font-size:10px}.studio-shell .production-refresh-overview .production-stage-list{grid-template-columns:minmax(0,1fr);gap:5px}.studio-shell .production-refresh-overview .production-stage-list>button{grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:4px 9px;min-height:68px;padding:10px;border:1px solid transparent;border-radius:8px;background:var(--subtle)}.studio-shell .production-refresh-overview .production-stage-list>button.next{border-color:color-mix(in srgb,var(--brand-red),transparent 65%);background:color-mix(in srgb,var(--brand-red) 5%,var(--surface))}.studio-shell .production-refresh-overview .production-stage-order{grid-column:1;grid-row:1/3;width:28px;height:28px;border:1px solid var(--line);background:var(--surface);font-size:11px}.studio-shell .production-refresh-overview .next .production-stage-order{background:var(--selection-red);border-color:var(--brand-red);color:#fff}.studio-shell .production-refresh-overview .production-stage-name{grid-column:2;grid-row:1}.studio-shell .production-refresh-overview .production-stage-copy strong{font-size:12px}.studio-shell .production-refresh-overview .production-stage-copy small{display:none}.studio-shell .production-refresh-overview .production-stage-state-wrap{grid-column:3;grid-row:1;align-items:end}.studio-shell .production-refresh-overview .production-stage-state{font-size:10px;white-space:nowrap}.studio-shell .production-refresh-overview .production-stage-state-wrap time{display:none}.studio-shell .production-refresh-overview .production-stage-count{display:block;width:auto;height:auto;padding:0;border:0;background:transparent;grid-column:2/4;grid-row:2;color:var(--muted);font-size:10px;font-weight:400}.studio-shell .production-refresh-overview .production-overview-inspector{grid-area:inspector;min-width:0;gap:16px}.studio-shell .production-refresh-overview .production-next-action{padding:18px}.studio-shell .production-refresh-overview .production-next-action h2{margin-block:12px 8px;font-size:22px;letter-spacing:-.35px}.studio-shell .production-refresh-overview .production-next-actions{-webkit-margin-before:14px;margin-block-start:14px}.studio-shell .production-refresh-overview .production-blockers{-webkit-margin-before:16px;margin-block-start:16px}.studio-shell .production-refresh-overview .production-blockers>h3{color:var(--ink-soft);font-size:11px}.studio-shell .production-refresh-overview .production-blockers>button{color:var(--ink);-webkit-border-start:0;border-inline-start:0;background:transparent}.sarid-marketing :is(.sarid-start-button,.sarid-cta-primary){background:var(--sarid-red);border-color:var(--sarid-red);color:#fff}.sarid-marketing :is(.sarid-start-button,.sarid-cta-primary):hover{background:color-mix(in srgb,var(--sarid-red),#000 12%);color:#fff}@media (max-width:1100px){.studio-shell .production-refresh-overview .production-overview-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"sequence" "inspector"}.studio-shell .production-refresh-overview .production-stage-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.studio-shell .production-stage-flow-head>.production-stage-flow-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.studio-shell .production-stage-flow .production-stage-flow-steps>button{width:auto;min-width:0}.studio-shell .production-stage-flow .production-stage-flow-steps>button>span{white-space:normal;overflow-wrap:anywhere}.studio-shell .density-toggle.studio-view-mode-pill{height:52px;min-height:52px}.studio-shell .density-toggle.studio-view-mode-pill>button{width:44px;min-width:44px;height:44px;min-height:44px}:root .studio-shell .studio-workspace.script-workspace .script-review-tabs>button{min-height:44px}.studio-shell .production-refresh-overview .production-overview-sequence{padding:12px}.studio-shell .production-refresh-overview .production-stage-list{grid-template-columns:minmax(0,1fr)}.studio-shell .production-refresh-overview .production-next-action h2{font-size:20px}}.studio-shell .production-refresh-overview .production-next-action>p,.studio-shell .production-refresh-overview .production-stage-count{color:var(--ink-soft)}.studio-shell .production-refresh-overview .production-stage-inspector-heading>span{color:var(--accent-strong)}.studio-shell .production-refresh-overview .production-stage-inspector-heading>.needs_review,.studio-shell .production-refresh-overview .production-stage-list>.needs_review .production-stage-state{color:color-mix(in srgb,var(--amber) 80%,var(--ink))}.studio-shell .production-refresh-overview .production-spec-autopilot-decision.clear{color:var(--success)}.studio-activity-nav-row{display:flex;align-items:center;min-width:0;flex:none}.studio-shell .studio-activity-nav-row>.studio-nav-button{flex:1 1 auto;width:auto;min-width:0}.studio-activity-nav-row .studio-nav-label{white-space:nowrap}.studio-generation-activity{display:flex;flex:none;align-items:center;gap:0}.studio-generation-activity-header,.studio-generation-activity:empty{display:none}.studio-shell .studio-activity-trigger{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:38px;min-height:38px;padding:0;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--ink)}.studio-shell .studio-activity-trigger:hover{background:var(--subtle)}.studio-activity-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.studio-activity-trigger b{position:absolute;inset-block-start:2px;inset-inline-end:3px;display:grid;place-items:center;width:16.5px;height:16.5px;border-radius:50%;background:var(--selection-red,var(--brand-red));color:#fff;font-size:8px;font-weight:700;line-height:1}.studio-activity-queue{width:min(420px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-lift);overflow:hidden}.studio-activity-queue[open]{display:flex;flex-direction:column}.studio-activity-queue::-webkit-backdrop{background:rgba(0,0,0,.25)}.studio-activity-queue::backdrop{background:rgba(0,0,0,.25)}.studio-activity-queue>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:12px 12px 12px 16px;border-bottom:1px solid var(--line)}.studio-activity-queue h2{margin:0;font-size:16px}.studio-activity-queue p{margin:4px 0 0;color:var(--muted);font-size:12px}.studio-activity-queue>header button{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--ink)}.studio-activity-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:6px}.studio-activity-item{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:10px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--ink);text-align:start}.studio-activity-item:hover,.studio-activity-queue>header button:hover{background:var(--subtle)}.studio-activity-item>b,.studio-activity-item>svg{flex:none}.studio-activity-item>span{display:grid;flex:1 1;min-width:0;grid-gap:4px;gap:4px}.studio-activity-item strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.studio-activity-item small{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.studio-activity-item:focus-visible,.studio-activity-queue>header button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}@media (min-width:621px){.sidebar-collapsed .studio-activity-nav-row{flex-direction:column}.studio-shell.sidebar-collapsed .studio-activity-nav-row>.studio-nav-button{width:100%}.sidebar-collapsed .studio-activity-trigger{height:32px;min-height:32px}}@media (max-width:620px){.sidebar-collapsed .studio-generation-activity-header{display:flex}.studio-shell .studio-activity-trigger{width:44px;height:44px;min-height:44px;flex-basis:44px}.studio-activity-trigger b{inset-block-start:2px;inset-inline-end:2px}}@media (prefers-reduced-motion:reduce){.studio-activity-queue .spin{animation:none}}.studio-reference-tray{flex:none;min-width:0;margin:0 12px 10px}.studio-reference-tray>header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;min-height:32px;margin-bottom:8px;font-size:12px;color:var(--muted)}.studio-reference-tray>header>span{white-space:nowrap}.studio-reference-tray b{font-weight:500;-webkit-margin-start:3px;margin-inline-start:3px}.studio-reference-tray>header>div{display:flex;gap:4px}.studio-reference-tray header button{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-size:12px;padding:4px 9px;min-height:30px;border-radius:999px;white-space:nowrap}.studio-reference-tray header button[data-reference-action=clear]{color:var(--muted)}.studio-reference-tray header button svg{flex:none}.studio-reference-thumbnails{display:flex;gap:8px;min-width:0}.studio-reference-more,.studio-reference-thumbnail{position:relative;display:grid;place-items:center;flex:none;width:64px;height:64px;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--subtle);color:var(--ink)}.studio-reference-thumbnail-wrap{position:relative;flex:none;width:64px;height:64px}.studio-reference-remove{position:absolute;inset-block-start:-4px;inset-inline-end:-4px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink)}.studio-reference-remove:hover{background:var(--subtle)}.studio-reference-remove:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.studio-reference-thumbnail img,.studio-reference-thumbnail video{width:100%;height:100%;object-fit:contain}.studio-reference-thumbnail>span{position:absolute;inset-inline:0;bottom:0;background:rgb(0 0 0/.7);color:#fff;padding:2px 4px;font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.studio-reference-more{align-content:center;gap:3px}.studio-reference-more strong{font-size:16px;font-weight:500}.studio-reference-more span{font-size:10px}.studio-reference-dialog{width:min(640px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-lift);overflow:hidden}.studio-reference-dialog[open]{display:flex;flex-direction:column}.studio-reference-dialog::-webkit-backdrop{background:rgb(0 0 0/.4)}.studio-reference-dialog::backdrop{background:rgb(0 0 0/.4)}.studio-reference-dialog>header{display:flex;align-items:center;gap:8px;padding:10px 12px 10px 16px;border-bottom:1px solid var(--line);flex:none}.studio-reference-dialog h2{flex:1 1;min-width:0;margin:0;font-size:16px;font-weight:600;overflow-wrap:anywhere}.studio-reference-dialog button{font:inherit;font-size:13px;color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);min-height:44px;padding:8px 12px}.studio-reference-dialog button:disabled{opacity:.4;cursor:default}.studio-reference-dialog .studio-reference-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;background:transparent}.studio-reference-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--line);flex:none}.studio-reference-details{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px}.studio-reference-details .reference-chip-grid{grid-template-columns:1fr;gap:8px}.studio-reference-details .reference-chip{border-radius:var(--radius-sm);background:var(--surface);grid-template-columns:64px minmax(0,1fr);padding:10px;-webkit-padding-end:48px;padding-inline-end:48px}.studio-reference-details .reference-preview-button{min-height:64px;padding:0;border-radius:var(--radius-sm)}.studio-reference-details .reference-chip img,.studio-reference-details .reference-chip video{width:64px;height:64px;object-fit:contain;border-radius:var(--radius-sm)}.studio-reference-details .reference-chip>button:last-child:not(.reference-preview-button){width:44px;height:44px;min-height:44px;inset-block-start:4px;inset-inline-end:2px;padding:0}.studio-reference-details .reference-tag-row{flex-wrap:wrap}.studio-reference-details .reference-chip-body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:4px 8px;gap:4px 8px}.studio-reference-details .reference-tag-edit{width:44px;padding:0}.studio-reference-details .reference-role-field>span{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.studio-reference-details .reference-role-field select{width:auto;max-width:180px;font-size:13px;font-weight:500}.studio-reference-details .reference-tag-button{max-width:100%;overflow-wrap:anywhere}.studio-reference-details .reference-role-field{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--muted);font-size:12px}.reference-role-options{grid-column:1/-1;min-width:0}.reference-role-options summary{width:-moz-fit-content;width:fit-content;padding-block:8px;color:var(--muted);font-size:12px;cursor:pointer}.reference-role-options summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.reference-role-options small{display:block;margin-top:6px;color:var(--muted);font-size:12px}.studio-reference-details .reference-role-options select{width:100%;max-width:220px}.studio-reference-details .reference-role-options .reference-role-field>span{position:static;width:auto;height:auto;-webkit-clip-path:none;clip-path:none}.studio-reference-details input,.studio-reference-details select{min-width:0;max-width:100%;min-height:44px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--control);color:var(--ink);font:inherit;font-size:16px;padding:6px 8px}.studio-reference-file-name{grid-column:1/-1;margin:0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.studio-reference-recipes{margin-top:12px;color:var(--muted);font-size:12px}.studio-reference-recipes summary{cursor:pointer;padding:8px 2px}.studio-reference-recipes .reference-recipe-row{display:flex;flex-wrap:wrap;gap:6px}.studio-reference-preview h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.studio-reference-preview{width:min(1000px,calc(100vw - 24px));height:min(760px,calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}.studio-reference-stage{display:grid;place-items:center;flex:1 1;min-height:0;overflow:hidden;background:var(--subtle);padding:12px}.studio-reference-stage img,.studio-reference-stage video{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.studio-reference-preview-navigation button{display:inline-flex;align-items:center;gap:4px;font-size:13px}.studio-reference-preview-navigation>span{font-size:12px;color:var(--muted)}.studio-reference-dialog[dir=rtl] .studio-reference-icon:has(.lucide-arrow-left) svg,.studio-reference-dialog[dir=rtl] .studio-reference-preview-navigation svg{transform:rotate(180deg)}.studio-reference-confirm{width:min(420px,calc(100vw - 24px))}.studio-reference-confirm-copy{margin:0;padding:20px 16px;color:var(--muted);font-size:14px;line-height:1.5;overflow-y:auto}.studio-reference-dialog .studio-reference-confirm-button{background:var(--brand-red);border-color:var(--brand-red);color:#fff}.studio-reference-dialog button:focus-visible,.studio-reference-tray button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.studio-reference-dialog button:not(:disabled):not(.studio-reference-confirm-button):hover,.studio-reference-tray header button:hover{background:var(--subtle)}@media (max-width:620px){.studio-reference-tray header button{min-height:44px}.studio-reference-dialog>header{padding-inline:12px}.studio-reference-dialog>footer{padding:10px 12px}.studio-reference-details .reference-chip-body{grid-template-columns:minmax(0,1fr)}.studio-reference-details .reference-role-field select{font-size:16px;width:100%}}.avatar-picker{width:min(440px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);overflow:hidden;box-shadow:var(--shadow-lift)}.avatar-picker[open]{display:flex;flex-direction:column}.avatar-picker::-webkit-backdrop{background:rgb(0 0 0/.35)}.avatar-picker::backdrop{background:rgb(0 0 0/.35)}.avatar-picker>footer,.avatar-picker>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;flex:none}.avatar-picker>header{border-bottom:1px solid var(--line)}.avatar-picker h2{font-size:16px;font-weight:600;margin:0}.avatar-picker>footer{border-top:1px solid var(--line)}.avatar-picker button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:transparent;color:var(--ink);font:inherit;font-size:13px;box-shadow:none}.avatar-picker button:disabled{opacity:.5;cursor:default}.avatar-picker button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.avatar-picker .avatar-picker-close{border:0;width:44px;padding:0}.avatar-picker-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 16px}.avatar-picker-preview{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:20px;font-size:14px}.avatar-picker-preview .avatar{width:80px;height:80px;font-size:28px;border-radius:50%}.avatar-picker .avatar img{width:100%;height:100%;object-fit:cover}.avatar-picker-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:6px;gap:6px}.avatar-picker-options button{position:relative;flex-direction:column;padding:8px 4px;gap:6px;border-color:transparent;font-size:12px}.avatar-picker-options button:hover{background:var(--subtle)}.avatar-picker-options button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.avatar-picker-options img{display:block;width:min(64px,100%);height:auto;border-radius:50%}.avatar-picker-check{position:absolute;inset-inline-end:3px;top:3px;color:var(--accent)}.avatar-picker .avatar-picker-initials{display:flex;width:100%;justify-content:flex-start;margin-top:14px;border-color:transparent}.avatar-picker-initials .avatar{width:28px;height:28px;font-size:12px}.avatar-picker .avatar-picker-initials[aria-pressed=true]{border-color:var(--accent)}.avatar-picker .avatar-picker-save{background:var(--brand-red);border-color:var(--brand-red);color:white}html[data-theme=dark] .avatar-picker .avatar-picker-save{color:var(--bg)}.avatar-picker-error{color:var(--error,var(--ink));font-size:13px;line-height:1.5}.account-menu .account-avatar-edit{margin-top:5px;padding:4px 0;min-height:28px;color:var(--muted);background:transparent;border:0;font:inherit;font-size:12px;text-align:start}.account-menu .account-avatar-edit:hover{color:var(--ink);text-decoration:underline}@media(max-width:620px){.account-menu .account-avatar-edit{min-height:44px}}.admin-route-page .sarid-bot-settings .settings-subnav{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:4px}.admin-route-page .sarid-bot-settings .settings-subnav button{flex:none;width:auto;white-space:nowrap}.sarid-bot-options{display:flex;flex-wrap:wrap;gap:8px 20px}.sarid-bot-options .settings-check{min-height:44px}.sarid-bot-instruction-field{display:grid;grid-gap:8px;gap:8px}.sarid-bot-settings fieldset{min-width:0;margin-block:16px}.sarid-bot-settings legend{font-weight:600;margin-bottom:8px}.admin-route-page .sarid-bot-speech-connection :is(select,button){min-height:44px}.sarid-bot-revision{overflow-wrap:anywhere}.sarid-bot-version{border-top:1px solid var(--border);padding:12px 0}.sarid-bot-version summary{cursor:pointer;padding:8px 0}.sarid-bot-comparison{margin:12px 0;min-width:0}.sarid-bot-comparison pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:6px 0 12px;padding:10px;border:1px solid var(--border);border-radius:8px}.sarid-bot-comparison strong{overflow-wrap:anywhere}.sarid-bot-diagnostics{list-style:none;padding:0;margin:0}.sarid-bot-diagnostics li{display:flex;flex-wrap:wrap;gap:8px 16px;padding:10px 0;border-bottom:1px solid var(--border)}.sarid-bot-diagnostics code{overflow-wrap:anywhere;min-width:0}.sarid-bot-settings .form-success{color:var(--text)}.sarid-pronunciation{display:grid;grid-gap:12px;gap:12px;min-width:0}.sarid-pronunciation-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;grid-gap:10px;gap:10px}.sarid-pronunciation-row label{display:grid;grid-gap:6px;gap:6px;min-width:0}.sarid-pronunciation-row input{width:100%;min-width:0;min-height:44px}.sarid-pronunciation button{min-height:44px;justify-self:start}@media(max-width:600px){.sarid-pronunciation-row{grid-template-columns:minmax(0,1fr)}.sarid-pronunciation-row>button{justify-self:end}}