.widget-editor-dialog>header,.widget-editor-tools,.widget-prop-top,.widget-props-heading,.widget-row,.widget-section-heading{display:flex;align-items:center;gap:12px}.widget-section-heading{justify-content:space-between;align-items:flex-start}.widget-section-heading h2{margin:0}.widget-props-heading small,.widget-section-heading small{font-size:13px;color:var(--muted);font-weight:400}.widget-section-heading>.button{flex:none;white-space:nowrap}.widget-empty{display:grid;justify-items:center;gap:10px;padding:32px 16px;background:var(--soft);border:1px dashed var(--line);border-radius:12px;margin-top:16px;color:var(--muted);text-align:center;font-size:14px}.widget-empty strong{color:var(--ink)}.widget-list{display:grid;gap:10px;margin-top:16px}.widget-row{padding:14px;border:1px solid var(--line);border-radius:10px;min-width:0}.widget-row>div{flex:1;min-width:0;display:grid;gap:4px}.widget-row small,.widget-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.widget-row small{color:var(--muted);font-size:13px}.widget-switch{flex:none}.widget-switch input{accent-color:#4978dc;width:34px;height:20px}.widget-editor-dialog{position:fixed;z-index:110;top:50%;left:50%;transform:translate(-50%,-50%);width:min(900px,calc(100vw - 32px));height:min(850px,calc(100dvh - 40px));display:flex;flex-direction:column;background:var(--paper,#fff);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 70px #172b4d33;overflow:hidden}.widget-editor-dialog>header{padding:20px 24px;border-bottom:1px solid var(--line);justify-content:space-between;flex:none}.widget-editor-dialog h2{font-size:20px;margin:0}.widget-editor-dialog>header p{font-size:14px;color:var(--muted);margin:6px 0 0}.widget-editor-scroll{overflow:auto;scrollbar-gutter:stable;padding:24px;display:grid;gap:18px;min-height:0}.widget-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.widget-editor-tools{justify-content:space-between;min-width:0}.widget-editor-tools>.form-select-wrap{max-width:180px}.widget-tabs{display:flex;gap:4px;border-radius:8px;background:var(--soft);padding:4px}.widget-tabs button{display:flex;align-items:center;gap:7px;padding:8px 14px;border:0;border-radius:6px;background:transparent;white-space:nowrap;color:var(--muted)}.widget-tabs button[aria-selected=true]{background:var(--paper,#fff);color:var(--ink);box-shadow:0 1px 4px #172b4d18}.widget-code-area{min-height:290px}.widget-code{font-family:Consolas,monospace!important;font-size:14px!important;line-height:1.7;min-height:270px;resize:vertical;tab-size:2}.widget-preview{position:relative;min-height:270px;border:1px solid var(--line);border-radius:10px;background:var(--soft);padding:16px}.widget-preview iframe{display:block;width:100%;height:280px;border:0;background:transparent}.widget-preview-status{position:absolute;right:12px;top:8px;color:var(--muted);font-size:12px;background:var(--paper,#fff);padding:2px 6px;border-radius:5px}.widget-props-heading{justify-content:space-between}.widget-props-heading h3{margin:0}.widget-prop{display:grid;gap:10px;border:1px solid var(--line);border-radius:10px;padding:14px}.widget-prop-top{align-items:flex-end}.widget-prop-top>label{flex:1;min-width:0}.widget-prop-top>.icon-button{flex:none;margin-bottom:4px}.widget-editor-dialog>footer{border-top:1px solid var(--line);padding:16px 24px;flex:none}.widget-editor-dialog>footer>div{display:flex;justify-content:flex-end;gap:10px}.widget-editor-dialog>footer .error-box{margin:0 0 10px;max-height:80px;overflow:auto}.widget-help{font-size:13px;color:var(--muted)}.widget-help p{line-height:1.7}.widget-room-settings{display:grid;gap:12px}.widget-room-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.widget-room-row>span{flex:1;min-width:0;display:grid;gap:5px}.widget-room-row small{font-size:13px;color:var(--muted)}.story-widget{margin:16px 0}.story-widget .widget-preview{padding:0;border:0;background:transparent}.story-widget iframe{height:250px}.story-passage.hud{background:transparent!important;border:0!important;width:100%;padding:0!important}.chat-hud{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border:1px solid var(--line);background:var(--soft);border-radius:10px;font:14px/1.7 Consolas,monospace;margin:10px 0;max-width:100%;overflow:auto}@media(max-width:650px){.widget-editor-dialog{width:calc(100vw - 16px);height:calc(100dvh - 24px);border-radius:12px}.widget-editor-dialog>footer,.widget-editor-dialog>header,.widget-editor-scroll{padding:16px}.widget-form-grid{grid-template-columns:1fr}.widget-prop-top{flex-wrap:wrap}.widget-prop-top>label{flex-basis:40%}.widget-section-heading{flex-wrap:wrap}.widget-editor-tools{gap:8px}.widget-tabs button{padding:8px 10px}.widget-row{gap:8px;padding:12px}.widget-preview{padding:10px}.widget-row>.icon-button{width:32px;height:32px;flex:none}}.widget-editor-tools>select{width:160px!important;min-width:160px;flex:none}.widget-room-settings{gap:0}.widget-room-settings>h3{margin:0 0 8px}.widget-room-settings>p{margin:0 0 16px!important;line-height:1.65}.widget-room-settings>p[role=status]{margin:12px 0 0!important;min-height:44px}.widget-room-row>span.widget-switch{display:block;flex:0 0 auto}.widget-switch input{appearance:none!important;position:relative;display:block;width:38px!important;height:22px!important;border:1px solid #aab5c5!important;background:#bdc7d5;border-radius:20px;margin:0!important;cursor:pointer}.widget-switch input:after{content:"";display:block;position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:white;box-shadow:0 1px 3px #172b4d22;transition:transform .12s}.widget-switch input:checked{background:#4978dc;border-color:#4978dc!important}.widget-switch input:checked:after{transform:translateX(16px)}.widget-switch input:focus-visible{outline:2px solid #4978dc;outline-offset:3px}.widget-switch input:disabled{opacity:.55;cursor:wait}.story-widget{width:100%;max-width:560px}.story-widget .widget-preview{min-height:0}@media(max-width:650px){.widget-editor-tools>select{width:140px!important;min-width:140px}}@media(max-width:380px){.widget-editor-tools>select{width:110px!important;min-width:110px}.widget-tabs button{padding:7px 6px;font-size:12px;gap:4px}.widget-tabs svg{width:14px}}@media(prefers-reduced-motion:reduce){.widget-switch input:after{transition:none}}.widget-editor-dialog .form-field textarea.widget-code{height:270px!important;min-height:270px!important;line-height:1.7;white-space:pre;overflow:auto}.widget-editor-tools{flex-wrap:wrap}.widget-editor-tools>.widget-tabs{flex:none}.widget-library-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.widget-library-heading h1{margin:0 0 8px}.widget-library-heading p{color:var(--muted);margin:0;line-height:1.7}.widget-library-heading>.button{flex:none;white-space:nowrap}.story-settings-sections,.widget-library-tabs{display:flex;gap:4px;padding:5px;background:var(--soft);border:1px solid var(--line);border-radius:10px;margin:24px 0}.story-settings-sections button,.widget-library-tabs button{flex:1;min-width:0;white-space:nowrap;border:0;background:transparent;border-radius:7px;padding:10px 12px;color:var(--muted);font-size:14px}.story-settings-sections button[aria-current=page],.widget-library-tabs button[aria-current=page]{background:var(--paper);color:var(--accent);font-weight:600;box-shadow:0 1px 4px #243b6412}.widget-library-fieldset{padding:0;margin:0;border:0;min-width:0}.widget-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.widget-template-grid article{min-width:0;border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.widget-template-grid h2{margin:0;font-size:17px}.widget-template-grid p{margin:0;line-height:1.65;color:var(--muted);font-size:14px;overflow-wrap:anywhere}.widget-template-grid small{color:var(--muted)}.widget-template-grid article>div:last-child{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.widget-card-icon{display:grid;place-items:center;width:44px;height:44px;color:var(--accent);background:var(--soft);border-radius:12px;font-weight:700}.widget-hub-search{display:flex;gap:8px;margin-bottom:20px}.widget-hub-search input{flex:1;min-width:0}.widget-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:24px}.widget-sharing-list{margin-top:32px}.widget-sharing-list h2{font-size:17px}.widget-sharing-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.widget-sharing-list>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.widget-sharing-list .button{flex:none}.widget-library-notice{padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--soft);font-size:14px;line-height:1.65}.widget-ai-panel h3{display:flex;align-items:center;gap:8px;font-size:17px;margin:0 0 10px}.widget-ai-panel p{color:var(--muted);font-size:14px;line-height:1.7}.widget-ai-examples{display:grid;gap:8px;margin:14px 0}.widget-ai-examples button{background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:8px;text-align:left;font-size:14px;padding:12px;line-height:1.6}.widget-ai-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.widget-ai-actions small{color:var(--muted);line-height:1.7;font-size:13px}.widget-ai-actions .button{white-space:nowrap;flex:none}.widget-ai-result{display:grid;gap:12px;margin-top:20px}.widget-ai-result>.button{justify-self:end}.widget-room-personal-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 10px}.widget-room-personal-heading h3{margin:0}.widget-picker-dialog{max-height:calc(100dvh - 32px);overflow:auto}.widget-picker-list{display:grid;gap:8px;margin:18px 0;max-height:45dvh;overflow:auto}.widget-picker-list>div{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:9px}.widget-picker-list span{flex:1;min-width:0;display:grid;gap:4px}.widget-picker-list strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.widget-picker-list small{color:var(--muted)}.published-work-link{padding:16px;border:1px solid var(--line);border-radius:10px;margin-bottom:24px}.published-work-link>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:12px}.published-work-link h3{font-size:15px;margin:0}.published-work-link-controls{display:flex;gap:8px;margin-top:12px}.published-work-link-controls input{flex:1;min-width:0}.published-work-link-controls .button{white-space:nowrap;flex:none}.story-settings-mobile{display:none!important}.creator-background>.story-settings-sections{margin:0 0 24px}.creator-background>.work-widgets{margin-top:0}.story-settings-sections button:focus-visible,.widget-library-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:650px){.widget-template-grid{grid-template-columns:1fr}.widget-library-heading{align-items:flex-start}.widget-library-heading h1{font-size:24px}.widget-library-heading p{font-size:14px}.widget-library-tabs button{padding:10px 6px;font-size:13px}.widget-editor-tools>.widget-tabs{width:100%;justify-content:stretch}.widget-editor-tools>.widget-tabs button{flex:1;justify-content:center}.widget-editor-tools>select{width:100%!important;min-width:0!important}.widget-ai-actions{align-items:stretch;flex-direction:column}.story-settings-sections{display:none}.story-settings-mobile{display:grid!important;margin-bottom:22px}.published-work-link-controls{flex-wrap:wrap}.published-work-link-controls input{flex-basis:100%}.widget-room-settings>.button{white-space:normal;text-align:center;line-height:1.6}}.widget-editor-scroll{flex:1;grid-auto-rows:max-content;align-content:start;border:0;margin:0;min-width:0}.widget-code-area{min-width:0}.widget-editor-scroll:disabled{opacity:.85}.widget-ai-panel .form-field textarea{min-height:110px;height:auto}.widget-picker-overlay{z-index:100}.widget-picker-dialog{z-index:101;box-sizing:border-box;width:min(460px,calc(100vw - 24px))}.widget-hub-search{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important}.published-work-link-controls input,.widget-hub-search input{height:44px;box-sizing:border-box;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:8px;padding:10px 12px;font-size:14px}.widget-hub-search .button{flex:none}.widget-library-heading>.button{font-size:14px}.widget-library-panel{min-height:280px;align-content:start}.widget-hub-status{height:24px;font-size:13px;line-height:24px;color:var(--muted)}.widget-library-panel[aria-busy=true]{opacity:.6}.widget-library-tabs button{min-height:44px}.widget-pagination span{min-width:68px;text-align:center;font-variant-numeric:tabular-nums}.widget-test-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:20px;align-items:start}.widget-test-layout>div{min-width:0}.widget-test-values{border:1px solid var(--line);border-radius:12px;padding:16px;display:grid;gap:14px}.widget-test-values header{display:flex;justify-content:space-between;align-items:center;gap:12px}.widget-test-values h3{margin:0;font-size:15px}.widget-test-values p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.widget-test-values .form-field{margin:0;min-width:0}.widget-test-values input,.widget-test-values select{width:100%;min-width:0}@media(max-width:650px){.widget-test-layout{grid-template-columns:1fr}.widget-test-values{padding:14px}}.widget-shared-author{display:flex;align-items:center;gap:7px;max-width:100%;font-size:13px}.widget-shared-author strong{font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.widget-copy-button{min-width:140px}.widget-prop-disclosure{display:block;padding:0!important}.widget-prop-disclosure>summary{display:flex;align-items:center;gap:10px;padding:15px 16px;cursor:pointer;list-style:none;min-height:58px}.widget-prop-disclosure>summary::-webkit-details-marker{display:none}.widget-prop-disclosure>summary>span{flex:1;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}.widget-prop-disclosure>summary strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.widget-prop-disclosure>summary code{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.widget-prop-disclosure>summary small{font-size:12px;color:var(--muted);flex:none}.widget-prop-disclosure>summary:after{content:"⌄";font-size:18px;color:var(--muted);flex:none}.widget-prop-disclosure[open]>summary:after{transform:rotate(180deg)}.widget-prop-disclosure[open]>summary{border-bottom:1px solid var(--line)}.widget-prop-fields{padding:16px;display:grid;gap:14px}.widget-prop-fields>.form-field{margin:0}.widget-prop-disclosure>summary:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:8px}@media(max-width:650px){.widget-template-grid article>div:last-child{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.widget-template-grid article>div:last-child>.button{min-width:0;padding-inline:7px;font-size:13px}.widget-template-grid article>div:last-child>.text-button{grid-column:1/-1;justify-self:end}.widget-prop-disclosure>summary,.widget-prop-fields{padding:13px}}.widget-list[aria-busy=true] .icon-button:disabled,.widget-list[aria-busy=true] .widget-share-action:disabled,.widget-list[aria-busy=true] .widget-switch input:disabled{opacity:1}.widget-share-action{flex:none;white-space:nowrap;font-size:13px!important;padding:8px 12px!important}.widget-pagination .button{min-width:72px}.widget-library-panel[aria-busy=true]{opacity:1}@media(max-width:650px){.widget-row:has(.widget-share-action){display:grid;grid-template-columns:20px minmax(0,1fr) 38px 32px 32px;gap:8px}.widget-row>.widget-share-action{grid-column:2/-1;justify-self:end;min-height:36px}.widget-row>div{min-width:0}.widget-pagination{gap:12px}.widget-library-heading>.button{padding-inline:10px}}.widget-room-row .widget-switch input:disabled{opacity:1}.admin-editorial-anchor{scroll-margin-top:24px}.widget-studio{width:100%;max-width:1220px;margin:0 auto;box-sizing:border-box}.widget-studio-heading{padding-bottom:2px;align-items:flex-end}.widget-studio-heading>div:first-child>small{display:block;color:var(--muted);font-size:10px;letter-spacing:2px;margin-bottom:10px}.widget-heading-actions{display:flex;align-items:center;gap:10px;flex:none}.widget-heading-actions .button{white-space:nowrap;min-height:42px;font-size:14px}.widget-library-tabs button{display:flex;justify-content:center;align-items:center;gap:8px}.widget-example-intro{display:grid;gap:20px;margin:30px 0 0}.widget-example-intro h2{font-size:21px;letter-spacing:-.5px;margin:0 0 8px}.widget-example-intro p{font-size:14px;color:var(--muted);line-height:1.7;margin:0}.widget-example-intro nav{display:flex;gap:8px;flex-wrap:wrap}.widget-example-intro nav button{border:1px solid var(--line);border-radius:22px;padding:8px 16px;background:var(--paper);color:var(--muted);font-size:13px;cursor:pointer;min-height:36px}.widget-example-intro nav button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.work-widgets:empty{display:none}.widget-showcase-grid{gap:20px}.widget-showcase-grid article{padding:0;gap:0;overflow:hidden;align-items:stretch;box-shadow:0 3px 16px #1d355708}.widget-template-showcase{height:288px;overflow:hidden;padding:20px;background:#f0f2f6;border-bottom:1px solid var(--line);pointer-events:none}.widget-template-showcase .widget-preview{padding:0;border:0;border-radius:0;background:transparent;min-height:0}.widget-template-showcase iframe{width:100%;max-width:100%;background:transparent}.widget-template-info{padding:20px 20px 14px;display:grid;gap:9px;flex:1;align-content:start}.widget-template-info h2{font-size:17px;line-height:1.5;letter-spacing:-.3px}.widget-template-info p{font-size:13px;line-height:1.75;min-height:46px}.widget-category-label{color:var(--accent)!important;font-size:11px!important;font-weight:600;letter-spacing:.3px}.widget-template-actions{display:flex;gap:8px;padding:0 20px 20px;margin:0!important}.widget-template-actions>.button{flex:1;min-width:0;white-space:nowrap;font-size:13px}.widget-template-actions>.text-button{width:100%;text-align:right}.widget-showcase-grid article>div:last-child{margin-top:0}.widget-full-preview{width:min(600px,calc(100vw - 28px));max-height:calc(100dvh - 36px);overflow:auto}.widget-full-preview .widget-preview{min-height:0;background:var(--soft);margin:20px 0;padding:20px}.widget-full-preview iframe{max-height:none}.widget-full-preview>.button{width:100%}.widget-guide-dialog{position:fixed;z-index:130;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 28px));height:min(850px,calc(100dvh - 40px));background:var(--paper);color:var(--ink);border-radius:18px;box-shadow:0 20px 80px #172b4d30;border:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}.widget-guide-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:26px 28px;border-bottom:1px solid var(--line);flex:none}.widget-guide-dialog>header small{color:var(--accent);font-size:10px;letter-spacing:2px}.widget-guide-dialog h2{font-size:22px;margin:9px 0}.widget-guide-dialog>header p{color:var(--muted);font-size:14px;line-height:1.65;margin:0}.widget-guide-body{padding:26px 28px;overflow:auto;scrollbar-gutter:stable;display:grid;gap:26px}.widget-guide-body section>h3{font-size:17px;margin:0 0 12px}.widget-guide-body p{font-size:14px;line-height:1.85;color:var(--muted);margin:8px 0}.widget-guide-body strong{color:var(--ink);font-weight:600}.widget-guide-steps{list-style:none;padding:0;margin:0;display:grid;gap:12px}.widget-guide-steps li{display:flex;align-items:flex-start;gap:14px;padding:18px;background:var(--soft);border:1px solid var(--line);border-radius:12px}.widget-guide-steps svg{flex:none;margin-top:3px;color:var(--accent)}.widget-guide-steps strong{font-size:14px}.widget-guide-steps p{margin-bottom:0;font-size:13px}.widget-guide-prompts{display:grid;gap:10px}.widget-guide-prompts>div{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:12px 14px}.widget-guide-prompts p{margin:0;font-size:13px;flex:1}.widget-guide-prompts .icon-button{flex:none}.widget-guide-body table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.75}.widget-guide-body td,.widget-guide-body th{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.widget-guide-body th{background:var(--soft);font-weight:600}.widget-guide-body td:first-child{white-space:nowrap}.widget-guide-body details{border-top:1px solid var(--line);padding-top:18px}.widget-guide-body summary{cursor:pointer;font-size:14px;font-weight:600}.widget-guide-body details p{padding-top:7px}.widget-guide-body pre{background:var(--soft);padding:16px;border-radius:10px;overflow:auto;font-size:13px;line-height:1.75}.widget-guide-dialog>footer{padding:16px 28px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;flex:none}.widget-editor-dialog>header>.widget-guide-trigger{flex:none;font-size:12px;padding:7px 10px;white-space:nowrap}.widget-editor-dialog>header>div:first-child{flex:1;min-width:0}.widget-editor-dialog .widget-tabs button{font-size:13px}.widget-studio .widget-library-panel{min-height:320px}@media(min-width:1450px){.widget-studio .widget-showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.widget-studio-heading{align-items:flex-start;flex-direction:column}.widget-heading-actions{width:100%;justify-content:flex-end}.widget-guide-body,.widget-guide-dialog>header{padding:20px}.widget-guide-dialog>footer{padding:14px 20px}}@media(max-width:650px){.widget-studio-heading h1{font-size:26px}.widget-studio-heading>div:first-child>small{margin-bottom:8px}.widget-heading-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.widget-heading-actions>.button{padding:10px 7px;min-width:0;justify-content:center;font-size:13px}.widget-showcase-grid{grid-template-columns:1fr;gap:18px}.widget-template-showcase{height:280px;padding:18px}.widget-template-info{padding:18px 18px 12px}.widget-template-actions{padding:0 18px 18px}.widget-example-intro h2{font-size:19px}.widget-example-intro nav{gap:6px}.widget-example-intro nav button{font-size:12px;padding:7px 12px}.widget-library-tabs button{gap:6px}.widget-library-tabs svg{width:14px;flex:none}.widget-guide-dialog h2{font-size:20px}.widget-guide-dialog{height:calc(100dvh - 24px);width:calc(100vw - 16px)}.widget-guide-body{gap:22px}.widget-guide-steps li{padding:14px;gap:10px}.widget-guide-body td,.widget-guide-body th{padding:9px}.widget-editor-dialog>header{flex-wrap:wrap;gap:10px}.widget-editor-dialog>header>div:first-child{flex-basis:calc(100% - 40px)}.widget-editor-dialog>header>.widget-guide-trigger{order:3;width:100%;justify-content:center}.widget-guide-body pre{font-size:12px}.widget-full-preview .widget-preview{padding:12px}}.widget-code-diagnostic{font-family:ui-monospace,monospace;font-size:13px}.widget-studio .widget-studio-heading{align-items:flex-start;min-height:46px;margin-bottom:24px}.widget-studio .widget-studio-heading h1{margin:0;font-size:26px;line-height:46px}.widget-studio .widget-studio-heading p{display:none}.widget-studio .widget-heading-actions>.button{min-height:46px}.widget-studio .widget-library-tabs{margin-top:0}@media(max-width:650px){.widget-studio .widget-studio-heading h1{font-size:22px}.widget-studio .widget-heading-actions{gap:8px}.widget-studio .widget-heading-actions>.button{padding:10px 12px;font-size:14px}}.widget-preflight{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.widget-preflight>span{font-size:13px;color:var(--muted,#748398);flex:1;min-width:180px}.widget-code-diagnostic{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7}@media(max-width:650px){.widget-editor-dialog>header{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:start;gap:12px}.widget-editor-dialog>header>div:first-child{grid-column:1;grid-row:1}.widget-editor-dialog>header>.icon-button{grid-column:2;grid-row:1;width:36px;height:36px;justify-self:end}.widget-editor-dialog>header>.widget-guide-trigger{grid-column:1/-1;grid-row:2;width:100%;margin:0}}.widget-ai-example-disclosure{border:1px solid var(--line);border-radius:9px;margin:18px 0}.widget-ai-example-disclosure>summary{padding:12px 14px;cursor:pointer;font-size:14px;font-weight:600}.widget-ai-example-disclosure .widget-ai-examples{padding:0 12px 12px;margin:0}.widget-prop-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 0;flex-wrap:wrap;font-size:13px;color:var(--ink)}.widget-prop-pagination>span{margin-right:auto;color:var(--muted)}.widget-prop-pagination .button{padding:7px 12px;min-height:36px;white-space:nowrap}.widget-prop-pagination strong{font-variant-numeric:tabular-nums;min-width:38px;text-align:center}.widget-font-status{font-size:12px;color:var(--ink);margin:10px 0 0;overflow-wrap:anywhere}.widget-json-field{display:grid;gap:7px;min-width:0}.widget-json-field textarea{width:100%;box-sizing:border-box;font:14px/1.7 ui-monospace,Consolas,monospace;min-height:100px;resize:vertical}.widget-json-field small{font-size:13px;line-height:1.6;color:var(--muted)}.widget-json-field [role=alert]{color:#bc403c}.widget-json-field textarea[aria-invalid=true]{border-color:#bc403c!important}.widget-send-dialog blockquote{margin:20px 0;padding:16px;background:var(--soft);border:1px solid var(--line);border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:35dvh;overflow:auto;line-height:1.8}.widget-send-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.widget-send-dialog .dialog-actions .button{min-height:42px;white-space:nowrap}.widget-status-replacement{display:flex;align-items:center;gap:10px;margin:14px 0;font-size:14px;line-height:1.6}.widget-status-replacement input{width:17px;height:17px;flex:none}.widget-row-title{display:flex;align-items:center;gap:8px;min-width:0}.widget-row-title>strong{min-width:0}.widget-row-subline{display:flex;align-items:center;gap:6px;min-width:0}.widget-row-subline>small{min-width:0;flex:0 1 auto}.widget-row-subline>.hub-row-source{flex:0 1 auto}.widget-row>.widget-share-slot{display:flex;flex:none;align-items:center;gap:8px}.widget-mobile-permission{display:none}@media(max-width:650px){.widget-row-title>.hub-permission-badge{display:none}.widget-row>.widget-share-slot{grid-column:2/-1;justify-self:stretch;justify-content:space-between;min-height:36px}.widget-mobile-permission{display:inline-flex}.widget-row-subline>small{max-width:75px}.widget-row-subline>.hub-row-source{font-size:11px}}.widget-share-slot>.widget-mobile-permission{display:none}@media(max-width:650px){.widget-share-slot>.widget-mobile-permission{display:inline-flex}}