/* Workspace v2 (1 Nov 2026). The redesigned Studio (icon rail, modes in the
   header, a composer docked at the bottom, a gallery of true-aspect tiles grouped
   by request) and the Chat view built from the same parts: one header pattern,
   one composer, one badge style. Loaded last on the workspace page; layout rules
   are scoped to wide screens, component rules apply at every width. */

/* ---------------------------------------------------------------- gallery */
#studioGrid.grid{display:flex;flex-direction:column;gap:28px;grid-template-columns:none}
#studioGrid>.empty{align-self:stretch}
.batch{display:flex;flex-direction:column;gap:10px;min-width:0}
.batch-head{display:flex;align-items:center;gap:10px;min-width:0;min-height:28px}
.batch-prompt{margin:0;min-width:0;max-width:70ch;flex:0 1 auto;font:400 13px/18px var(--sans);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.batch-meta{flex:none;font:400 12px/16px var(--sans);color:var(--muted);white-space:nowrap}
.batch-btn{margin-left:auto;flex:none;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:var(--ink-2);cursor:pointer}
.batch-btn:hover{background:var(--veil-2);color:var(--ink)}
.batch-btn svg{width:16px;height:16px}
@media (hover:hover){.batch-btn{opacity:0;transition:opacity .15s}.batch:hover .batch-btn,.batch-btn:focus-visible{opacity:1}}
.ringkas-tanya svg{display:block;width:15px;height:15px;margin:auto}
.batch-pending .batch-meta:empty{display:none}
.batch-pending .batch-meta::before{content:"";display:inline-block;width:6px;height:6px;margin:0 6px 1px 0;border-radius:50%;background:currentColor;animation:breathe 1.4s ease-in-out infinite}
.batch-tiles{--tile-h:236px;display:flex;flex-wrap:wrap;gap:8px}
.batch-tiles::after{content:"";flex:999999 1 0px;min-width:0}
.tile{--r:1;position:relative;flex:calc(var(--r)*100) 1 calc(var(--r)*var(--tile-h));aspect-ratio:var(--r);min-width:0;max-width:100%;border-radius:12px;overflow:hidden;background:var(--basalt-2);isolation:isolate}
.tile-media,.tile-media>img,.tile-media>video,.tile-media>.mp-video,.tile-media>.mp-video video{display:block;width:100%;height:100%;object-fit:cover}
.tile-media>img{cursor:zoom-in;transition:transform .35s ease}
.tile:hover .tile-media>img{transform:scale(1.02)}
.tile::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.55),transparent 42%);opacity:0;transition:opacity .15s;pointer-events:none;z-index:1}
.tile-acts{position:absolute;left:10px;right:10px;bottom:10px;display:flex;gap:6px;z-index:2;opacity:0;transform:translateY(4px);transition:opacity .15s,transform .15s}
.tile:hover::after,.tile:focus-within::after{opacity:1}
.tile:hover .tile-acts,.tile:focus-within .tile-acts{opacity:1;transform:none}
.tile-acts .tile-del{margin-left:auto}
.tile-btn{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:9px;background:rgba(0,0,0,.42);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);text-decoration:none}
.tile-btn:hover{background:rgba(0,0,0,.62)}
.tile-btn:focus-visible{outline:2px solid #fff;outline-offset:1px}
.tile-btn svg{width:16px;height:16px}
.tile-video .tile-acts{bottom:auto;top:10px}
.tile-video::after{background:linear-gradient(to bottom,rgba(0,0,0,.5),transparent 40%)}
.batch-music{flex-direction:column}
.batch-music::after{display:none}
.tile-music{flex:none;width:100%;aspect-ratio:auto;display:flex;align-items:center;gap:12px;padding:10px 12px;background:var(--surface,var(--basalt-2))}
.tile-music .tile-media{flex:1;min-width:0;height:auto}
.tile-music .tile-cap{flex:0 1 40%;min-width:0;font:400 13px/18px var(--sans);color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile-music::after{display:none}
.tile-music .tile-acts{position:static;opacity:1;transform:none;flex:none}
.tile-music .tile-btn{background:transparent;color:var(--ink-2);-webkit-backdrop-filter:none;backdrop-filter:none}
.tile-music .tile-btn:hover{background:var(--veil-2);color:var(--ink)}
.tile-volatile .lib-ov{position:absolute;top:10px;right:10px;z-index:2}
.tile-volatile .lib-ov a{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:rgba(0,0,0,.42);color:#fff;text-decoration:none}
@media (hover:none){
  .tile::after{opacity:1;background:linear-gradient(to bottom,rgba(0,0,0,.4),transparent 34%)}
  .tile-acts{opacity:1;transform:none;top:8px;bottom:auto;left:auto;right:8px;gap:4px}
  .tile-image .tile-acts .tile-view{display:none}
  .tile-acts .tile-del{margin-left:0}
}
/* tiles still rendering, at the ratio that was asked for */
.batch-tiles>.gen-card{--r:1;flex:calc(var(--r)*100) 1 calc(var(--r)*var(--tile-h));aspect-ratio:var(--r);min-width:0;margin:0;border-radius:12px;border:1px solid var(--border);justify-content:flex-end;align-items:stretch;padding:12px;background:linear-gradient(110deg,var(--basalt-2) 20%,var(--veil-2) 40%,var(--basalt-2) 60%) var(--basalt-2);background-size:220% 100%;animation:tile-shim 1.6s linear infinite}
.batch-tiles>.gen-card .gen-bar{display:none}
.batch-tiles>.gen-card:not(.err) .gen-spin{position:absolute;left:12px;bottom:13px;width:14px;height:14px;border-width:2px}
.batch-tiles>.gen-card:not(.err) .gen-meta{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;padding-left:24px;min-width:0}
.batch-tiles>.gen-card:not(.err) .gen-label{font:500 12px/16px var(--sans);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.batch-tiles>.gen-card .gen-time{font:400 12px/16px var(--sans);color:var(--ink-2)}
.batch-tiles>.gen-card.err{animation:none;background:var(--surface,var(--basalt-2));aspect-ratio:auto;min-height:220px;flex-basis:max(300px,calc(var(--r)*var(--tile-h)))}
@keyframes tile-shim{to{background-position:-220% 0}}
@media (prefers-reduced-motion:reduce){.batch-tiles>.gen-card,.batch-pending .batch-meta::before{animation:none}}
@media (max-width:999px){
  .batch-tiles{--tile-h:150px;gap:6px}
  .tile{border-radius:10px}
  .batch-prompt{max-width:none}
  #inspoBtn,.gen-pill .gen-txt{display:none}
}

/* library: the same tile in an even grid, captioned below */
.lib-item{margin:0;min-width:0;display:flex;flex-direction:column;gap:10px}
.lib-item>.tile{flex:none;width:100%;aspect-ratio:1}
.lib-item figcaption{display:flex;flex-direction:column;gap:3px;min-width:0;padding:0 2px}
.lib-prompt{margin:0;font:400 13px/18px var(--sans);color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.lib-meta{font:400 12px/16px var(--sans);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lib-item.is-music{grid-column:1/-1}
.lib-item.is-music>.tile{aspect-ratio:auto}
.lib-item.is-music figcaption{display:none}
#libGrid.blurred .lib-item:hover img,#libGrid.blurred .lib-item:hover video{filter:none}
.saved-chip .sp-x svg{width:12px;height:12px;display:block}

/* the one-time note about older browser history: a quiet line under the
   composer (Chat) or above the grid (Library), never a card above the hero */
.mobile-legacy-note.legacy-line{display:flex;align-items:center;gap:4px;padding:4px 4px 4px 6px;margin:0 0 16px;border:1px solid var(--border);border-radius:12px;background:var(--veil-1);font:400 13px/18px var(--sans);color:var(--ink-2)}
.legacy-line .legacy-open{flex:1;min-width:0;display:flex;align-items:center;gap:10px;min-height:36px;margin:0;padding:0 8px;border:0;border-radius:8px;background:none;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.legacy-line .legacy-open:hover{color:var(--ink)}
.legacy-line .legacy-open:focus-visible,.legacy-line .legacy-x:focus-visible{outline:2px solid var(--ink-2);outline-offset:1px}
.legacy-line .legacy-open svg{width:16px;height:16px;flex:none}
.legacy-line .legacy-x{flex:none;display:grid;place-items:center;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:8px;background:none;color:var(--ink-2);cursor:pointer}
.legacy-line .legacy-x:hover{background:var(--veil-2);color:var(--ink)}
.legacy-line .legacy-x svg{width:15px;height:15px}
.chat-wrap>.legacy-line{order:3;align-self:center;width:auto;max-width:100%;margin:22px 0 0;padding:0;border:0;background:none;color:var(--muted);font-size:12px;line-height:17px}
.chat-wrap>.legacy-line .legacy-open{justify-content:center;padding:0 6px}
.chat-wrap>.legacy-line .legacy-x{width:28px;height:28px}
.chat-wrap:not(.kosong)>.legacy-line{display:none}
@media (pointer:coarse){.legacy-line .legacy-open{min-height:44px}.legacy-line .legacy-x{width:44px;height:44px}}

/* reference tray: every input file visible, each with its own remove button */
.ref-tray,.dashboard .uploads.ref-tray{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:14px 22px;margin:10px 0 4px}
.ref-group{display:flex;flex-direction:column;gap:6px;min-width:0}
.ref-label{display:flex;align-items:baseline;gap:6px;font:500 12px/16px var(--sans);color:var(--ink-2)}
.ref-meta{font-weight:400;color:var(--muted);font-variant-numeric:tabular-nums}
.ref-tiles{display:flex;flex-wrap:wrap;gap:8px}
.ref-tile,.ref-add{position:relative;flex:none;width:64px;height:64px;border-radius:12px}
.ref-tile{overflow:hidden;border:1px solid var(--border);background:var(--veil-2)}
.ref-media,.ref-media>img,.ref-media>video{display:block;width:100%;height:100%;object-fit:cover}
.ref-file{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px;color:var(--ink-2)}
.ref-file svg{width:18px;height:18px;flex:none}
.ref-name{max-width:100%;font:500 9px/11px var(--sans);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ref-badge{position:absolute;left:5px;bottom:5px;display:grid;place-items:center;width:18px;height:18px;border-radius:6px;background:rgba(0,0,0,.55);color:#fff}
.ref-badge svg{width:11px;height:11px}
.ref-x{position:absolute;top:4px;right:4px;z-index:1;display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.ref-x::before{content:"";position:absolute;inset:-8px}
.ref-x:hover{background:rgba(0,0,0,.85)}
.ref-x:focus-visible{outline:2px solid #fff;outline-offset:1px}
.ref-x svg{width:12px;height:12px}
.ref-tile.loading .ref-media{opacity:.4}
.ref-tile.loading::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid var(--ink);border-right-color:transparent;border-radius:50%;animation:spin 1s linear infinite}
.ref-add{display:grid;place-items:center;padding:0;border:1px dashed var(--border-2);background:transparent;color:var(--ink-2);cursor:pointer}
.ref-add:hover,.ref-tray.dragover .ref-add{border-color:var(--ink-2);background:var(--veil-1);color:var(--ink)}
.ref-add:focus-visible{outline:2px solid var(--ink-2);outline-offset:2px}
.ref-add svg{width:18px;height:18px}
.ref-tray.dragover{outline:1px dashed var(--ink-2);outline-offset:6px;border-radius:12px}
.ref-switches{display:flex;flex-wrap:wrap;gap:8px}
.ref-switch{display:inline-flex;align-items:center;gap:6px}
.ref-switch svg{width:14px;height:14px}
.edit-remove svg{width:12px;height:12px;display:block}
.edit-upload svg{width:18px;height:18px}
@media (pointer:coarse){.ref-tile,.ref-add{width:72px;height:72px}.ref-x{width:26px;height:26px;top:3px;right:3px}}
@media (prefers-reduced-motion:reduce){.ref-tile.loading::after{animation:none}}

/* promotion in the page header: a quiet link, not a pill with a white badge.
   "New" is a small outlined tag, the sentence reads as text, the dismiss button
   appears with the pointer (always on touch). */
.dashboard .promo-chip{height:32px;padding:0 2px;border:0;border-radius:8px;background:transparent;gap:0}
.dashboard .promo-chip:hover,.dashboard .promo-chip:focus-within{background:var(--veil-1)}
.dashboard .promo-chip-link{gap:8px;padding:0 4px 0 8px;color:var(--ink-2);font:400 13px/18px var(--sans)}
.dashboard .promo-chip-link:hover{color:var(--ink)}
.dashboard .promo-chip-new{padding:0 6px;border:1px solid var(--border-2);border-radius:6px;background:transparent;color:var(--ink);font:500 11px/18px var(--sans)}
.dashboard .promo-chip-link svg{width:14px;height:14px;color:var(--muted);transition:transform .15s ease}
.dashboard .promo-chip-link:hover svg{transform:translateX(2px);color:var(--ink)}
.dashboard .promo-chip-x{width:28px;height:28px;border-radius:6px}
@media (hover:hover){.dashboard .topbar .promo-chip-x{opacity:0;transition:opacity .15s}.dashboard .topbar .promo-chip:hover .promo-chip-x,.dashboard .topbar .promo-chip:focus-within .promo-chip-x{opacity:1}}
.dashboard .promo-inline .promo-chip{height:44px;padding:0 4px 0 6px;border:1px solid var(--border);border-radius:12px;background:var(--veil-1)}
@media (prefers-reduced-motion:reduce){.dashboard .promo-chip-link svg{transition:none}}

/* developer: the same tabs and badge as the rest of the workspace */
.dev-tabs{gap:2px;width:max-content;max-width:calc(100% - 2*clamp(20px,3vw,46px));margin:14px 0 0 calc(max(0px,(100% - 1120px)/2) + clamp(20px,3vw,46px));padding:3px;border:0;border-radius:999px;background:var(--veil-1)}
.dev-tabs a{min-height:30px;padding:0 12px;border:0;border-radius:999px;font:500 13px/1 var(--sans)}
.dev-tabs a:hover{background:var(--veil-2)}
.dev-tabs a[aria-current=page]{background:var(--veil-2);color:var(--ink);box-shadow:0 1px 3px #0002}
.dev-beta{padding:0 7px;border:1px solid var(--border-2);border-radius:999px;background:var(--veil-1);color:var(--ink-2);font:600 10px/18px var(--sans);letter-spacing:0}

/* viewer controls drawn as icons */
.lb-x svg,.lb-prev svg,.lb-next svg{width:22px;height:22px;display:block}
.lb-bar .btn svg{width:15px;height:15px;margin-right:6px;vertical-align:-3px}

/* model picker: provider marks and quiet privacy labels */
:root:is([data-theme]) .mp-prov{color:var(--ink-2);background:var(--veil-1);border-color:var(--border);font:600 11px/1 var(--sans);letter-spacing:0}
:root:is([data-theme]) .mp-logo{color:var(--ink)}
.mp-logo img,.mp-logo i{display:block;width:16px;height:16px;flex:none}
.mp-logo i{background:currentColor;-webkit-mask:var(--logo) center/contain no-repeat;mask:var(--logo) center/contain no-repeat}
.mp-row>.mp-prov{width:30px;height:30px;border-radius:8px}
.mp-row>.mp-logo img,.mp-row>.mp-logo i{width:18px;height:18px}
.dashboard .mp-trigger .mp-prov{width:18px;height:18px;border:0;border-radius:5px;background:none}
.dashboard .mp-trigger .mp-prov:not(.mp-logo){background:var(--veil-2);font-size:10px}
.dashboard .studio-composer .cbar .mp-trigger .mp-prov.mp-logo,.dashboard .chat-dock #chatModel+.mp-trigger .mp-prov.mp-logo{display:inline-flex}
:is(.batch-meta,.lib-meta) .mp-prov{display:inline-flex;vertical-align:-3px;width:14px;height:14px;margin-right:6px;border:0;background:none}
:is(.batch-meta,.lib-meta) .mp-prov:not(.mp-logo){border-radius:4px;background:var(--veil-2);font-size:9px}
:is(.batch-meta,.lib-meta) .mp-logo img,:is(.batch-meta,.lib-meta) .mp-logo i{width:14px;height:14px}
.mp-tab{color:var(--ink-2)}
.mp-tab:hover,.mp-tab.on{color:var(--ink)}
.mp-b-priv,.mp-b-e2ee,.mp-b-anon,.mp-b-unc{color:var(--ink-2);border-color:var(--border-2);background:transparent}
.dashboard .jm-promo-tag{border-color:color-mix(in srgb,currentColor 35%,transparent);background:color-mix(in srgb,currentColor 8%,transparent);border-radius:999px}
.mp-badge.jm-promo-tag{margin-left:8px;padding:0 6px;border:1px solid var(--border-2);border-radius:999px;background:var(--veil-1);color:var(--ink);font:600 10px/16px var(--sans);vertical-align:1px}
.mp-badge.jm-promo-tag:first-child{margin-left:0}
.mp-badge.jm-promo-tag::before{display:none}

/* ---------------------------------------------------------------- headers + chat */
.dashboard .view-title{display:flex;align-items:center}
.dashboard .view-title>svg{width:20px;height:20px;flex:none;color:var(--ink-2)}
.dashboard .chat-current{max-width:52ch}
.dashboard .chat-current:not(:empty)::before{content:"/";margin-right:10px;color:var(--dim,var(--muted))}
.chat-vision-info[data-show="false"]{display:none}
.dashboard .chat-dock #attachBtn:not(.has-file){display:none}
.dashboard .chat-dock #attachBtn.has-file{width:auto;max-width:220px;padding:0 10px;gap:6px;border-radius:999px;background:var(--veil-1);color:var(--ink);font:500 12px/16px var(--sans)}
.dashboard .chat-dock #attachBtn.has-file svg{width:15px;height:15px;flex:none}
.dashboard .chat-dock #attachBtn .attach-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard .chat-dock #chatCost{font:500 12px/16px var(--sans);color:var(--ink-2);font-variant-numeric:tabular-nums}
.dashboard .chat-dock #chatCost.unlimited-cost::before{font-size:16px;margin-right:2px}
@media (max-width:999px){
  .dashboard .view-title>svg{display:none}
  .dashboard .chat-current{display:none}
  .dashboard .chat-dock #chatCost:not(:empty){order:initial;flex:none;flex-basis:auto;padding:0 8px 0 2px;text-align:right}
  .dashboard .chat-dock #chatCost.unlimited-cost{font-size:0}
  .dashboard .chat-dock #chatCost.unlimited-cost::before{font-size:18px;margin:0}
}

/* ---------------------------------------------------------------- wide screens */
@media (min-width:1000px){
  /* header: title, modes, promotion */
  #view-studio .topbar{gap:18px}
  #view-studio .topbar .studio-title{margin-right:0;flex:none}
  #view-studio .topbar .studio-mode-row{display:flex;margin:0 auto 0 0;min-width:0}
  #view-studio .topbar .mode-dd{display:none!important}
  #view-studio .topbar #modeToolbar.mode-tabs{height:36px}
  #view-studio .topbar #modeToolbar.mode-tabs .mode-btn{padding:0 12px}
  #view-studio .topbar #modeToolbar.mode-tabs .mode-btn>span{display:inline}

  /* library and feed: the Studio header, tabs styled like the Studio modes */
  .dashboard #view-library .topbar{flex-wrap:nowrap;height:var(--topbar-h);min-height:var(--topbar-h);padding:0 26px;gap:18px}
  .dashboard #view-library .topbar-title{flex-basis:auto;margin-right:0;padding-left:0}
  .dashboard #view-feed .topbar-title{margin-right:0}
  .dashboard #view-feed .feed-filters{margin-right:auto}
  .dashboard :is(#view-library,#view-feed) .lib-filters{position:static;transform:none;display:flex;align-items:center;gap:2px;height:36px;padding:3px;margin:0;background:var(--veil-1);border:0;border-radius:999px}
  .dashboard :is(#view-library,#view-feed) .lib-filters .mode-btn{display:flex;align-items:center;height:30px;min-height:30px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:var(--ink-2);font:500 13px/1 var(--sans)}
  .dashboard :is(#view-library,#view-feed) .lib-filters .mode-btn:hover{background:var(--veil-2);color:var(--ink)}
  .dashboard :is(#view-library,#view-feed) .lib-filters .mode-btn.active{background:var(--veil-2);color:var(--ink);box-shadow:0 1px 3px #0002}
  .dashboard :is(#view-library,#view-feed) .lib-filters .mode-btn::after{display:none}
  .dashboard #view-library .lib-canvas{max-width:none;padding:12px max(28px,calc((100% - 1180px)/2)) 48px}

  /* chat: the same composer and toolbar order as Studio */
  .dashboard .chat-dock>.composer{border:0;border-radius:22px;background:var(--dash-panel);padding:14px 14px 12px 18px;box-shadow:0 20px 56px rgba(0,0,0,.42),0 0 0 1px var(--border)}
  :root[data-theme="light"] .dashboard .chat-dock>.composer{box-shadow:0 16px 40px rgba(15,23,42,.12),0 0 0 1px var(--border)}
  .dashboard .chat-dock>.composer>textarea{font-size:15px;line-height:22px}
  .dashboard .chat-dock .cbar{gap:6px;margin-top:10px}
  .dashboard .chat-dock .cbar>*{order:5}
  .dashboard .chat-dock .cbar>.mp-trigger{order:1}
  .dashboard .chat-dock .cbar>#chatActionsBtn{order:2}
  .dashboard .chat-dock .cbar>#chatSettingsBtn{order:3}
  .dashboard .chat-dock .cbar>#attachBtn{order:4}
  .dashboard .chat-dock .cbar>.grow{order:8}
  .dashboard .chat-dock .cbar>#chatCost{order:9}
  .dashboard .chat-dock .cbar>.send{order:10}
  .dashboard .chat-dock #chatActionsBtn,.dashboard .chat-dock #chatSettingsBtn{width:34px;height:34px}

  /* canvas: content above, composer docked at the bottom */
  .dashboard #studioCanvas{display:flex;flex-direction:column;padding:22px max(28px,calc((100% - 1180px)/2)) 0}
  /* centred content taller than the canvas overflows upwards, out of scroll reach */
  .dashboard #studioCanvas.kosong{justify-content:flex-start;padding-top:clamp(28px,7vh,88px);padding-bottom:0}
  .dashboard #studioCanvas>.promo-inline{display:none}
  .dashboard #studioCanvas>.studio-welcome{order:1;margin-bottom:22px}
  .dashboard #studioCanvas>.studio-top{order:2}
  .dashboard #studioCanvas>.studio-explore{order:3;margin:0 0 28px}
  .dashboard #studioCanvas>.studio-results{order:4;width:100%;margin:0 0 20px;flex:none;min-height:auto;overflow:visible}
  .dashboard #studioCanvas>.sugs{order:5}
  .dashboard #studioCanvas.show-inspo .studio-explore{display:block}
  .dashboard #studioCanvas::after,.dashboard #studioCanvas.settings-space::after{content:"";order:9;position:sticky;bottom:0;display:block;flex:none;height:120px;margin-top:-120px;background:linear-gradient(to bottom,transparent,var(--bg) 70%);pointer-events:none;z-index:5}
  .dashboard #studioCanvas>.studio-composer{order:10;position:sticky;bottom:18px;z-index:6;width:100%;max-width:840px;margin:auto auto 18px!important;grid-template-columns:minmax(0,1fr);padding:14px 14px 12px 18px;border-radius:22px;background:var(--dash-panel);box-shadow:0 20px 56px rgba(0,0,0,.42),0 0 0 1px var(--border)}
  :root[data-theme="light"] .dashboard #studioCanvas>.studio-composer{box-shadow:0 16px 40px rgba(15,23,42,.12),0 0 0 1px var(--border)}
  .dashboard #studioCanvas>.studio-composer>textarea{font-size:15px;line-height:22px;max-height:200px}
  .dashboard #studioCanvas>.studio-composer>.cbar{display:flex;grid-column:1/-1;grid-row:auto;align-items:center;gap:6px;margin-top:10px;padding-top:0;border-top:0}
  .dashboard #studioCanvas>.studio-composer>.pratinjau{grid-row:auto}
  .dashboard .studio-composer .cbar>*{order:6}
  .dashboard .studio-composer .cbar>.mp-trigger{order:1}
  .dashboard .studio-composer .cbar>#studioRingkas{order:2;margin:0}
  .dashboard .studio-composer .cbar>.pop-wrap{order:3}
  .dashboard .studio-composer .cbar>#enhanceBtn{order:4}
  .dashboard .studio-composer .cbar>#savePromptBtn{order:5}
  .dashboard .studio-composer .cbar>#inspoBtn{order:5}
  .dashboard .studio-composer .cbar>.grow{order:8;flex:1 1 0}
  .dashboard .studio-composer .cbar>#genBtn{order:9}
  .dashboard .studio-composer .save-draft-prompt{display:none}
  .dashboard .studio-composer>.status{grid-column:1/-1}
  .dashboard .studio-composer>.pratinjau{margin-top:8px}
  .dashboard .studio-composer #savePromptBtn,.dashboard .studio-composer #enhanceBtn,.dashboard .studio-composer #settingsChip{width:34px;height:34px}
  .dashboard .studio-composer #savePromptBtn svg{width:17px;height:17px}
  .dashboard .studio-composer .inspo-btn{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 10px;border:0;border-radius:999px;background:transparent;color:var(--ink-2);font:500 12px/16px var(--sans);cursor:pointer;white-space:nowrap}
  .dashboard .studio-composer .inspo-btn:hover,.dashboard .studio-composer .inspo-btn[aria-pressed="true"]{background:var(--veil-2);color:var(--ink)}
  .dashboard .studio-composer .inspo-btn svg{width:16px;height:16px}
  /* an icon like its neighbours; the name stays for screen readers and the tooltip */
  .dashboard .studio-composer .inspo-btn{width:34px;padding:0;justify-content:center}
  .dashboard .studio-composer .inspo-btn>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .dashboard #studioCanvas>.studio-composer .cbar>.mp-trigger{flex-shrink:0}
  .dashboard #studioCanvas.kosong .inspo-btn{display:none}
  .dashboard .studio-composer .gen-pill{display:inline-flex;align-items:center;gap:8px;width:auto;min-width:0;height:38px;padding:0 6px 0 16px;border-radius:999px;font:600 13px/18px var(--sans);white-space:nowrap}
  .dashboard .studio-composer .gen-pill .cost-note{margin:0;font:500 12px/16px var(--sans);color:inherit;opacity:.62;font-variant-numeric:tabular-nums}
  .dashboard .studio-composer .gen-pill .cost-note:empty{display:none}
  /* everything inside the pill takes the pill's own colour, so a promotional price
     stays readable on the light pill (dark theme) and the dark pill (light theme) */
  .dashboard .studio-composer .gen-pill .cost-note.jm-price{opacity:1;gap:6px;flex-wrap:nowrap}
  .dashboard .studio-composer .gen-pill .jm-price s,.dashboard .studio-composer .gen-pill .jm-price strong,.dashboard .studio-composer .gen-pill .jm-promo-tag{color:inherit}
  .dashboard .studio-composer .gen-pill .jm-price s{opacity:.6;font-size:12px}
  .dashboard .studio-composer .gen-pill .jm-price strong{font-size:13px;font-weight:600}
  .dashboard .studio-composer .gen-pill .jm-promo-tag{padding:1px 7px;border:1px solid color-mix(in srgb,currentColor 35%,transparent);border-radius:999px;background:color-mix(in srgb,currentColor 8%,transparent)}
  .dashboard .studio-composer .gen-pill>svg{width:26px;height:26px;padding:5px;border-radius:50%;background:rgba(128,128,128,.2);flex:none}
  .dashboard .studio-composer .gen-pill .cost-lock{height:24px;border-color:currentColor;color:inherit}
  .dashboard .studio-composer .gen-pill[aria-busy="true"]{color:var(--on-accent)}
  .dashboard .studio-composer .gen-pill[aria-busy="true"]::after{display:none}
  .dashboard .studio-composer .gen-pill[aria-busy="true"]>svg{animation:spin 1s linear infinite;background:transparent;border:2px solid currentColor;border-right-color:transparent;padding:0;width:18px;height:18px;margin:0 4px}
  .dashboard .studio-composer .gen-pill[aria-busy="true"]>svg path{display:none}
  .dashboard #studioCanvas .studio-results .grid>.empty{display:none}
}

/* ---------------------------------------------------------------- phones and tablets (1 Nov 2026) */
@media (max-width:999px){
  /* composer: model on top, the prompt, inputs, then one row of tools. The
     toolbar box dissolves (display:contents) so its controls join the grid;
     Create and the status line already live in the bottom dock. */
  .dashboard .studio-composer{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;column-gap:2px;padding:10px 10px 8px 16px;
    grid-template-areas:"model model model model" "text text text text" "saved saved saved saved" "up up up up" "sum set enh save" "prev prev prev prev"}
  .dashboard .studio-composer>.cbar{display:contents}
  .dashboard .studio-composer .cbar>.mp-trigger{grid-area:model;justify-self:start;width:auto;max-width:100%;height:40px;margin:0 0 2px -8px;padding:0 8px;font-size:13px}
  .dashboard .studio-composer>textarea{grid-area:text;min-height:52px;padding:2px 0 8px}
  .dashboard [data-studio-mode="edit"] .studio-composer>textarea{min-height:52px}
  .dashboard .studio-composer>.saved-prompts{grid-area:saved}
  .dashboard .studio-composer>.uploads{grid-area:up}
  .dashboard .studio-composer #studioRingkas{grid-area:sum;justify-self:start;width:auto;max-width:100%;margin:0;height:40px;padding:0 2px;border-radius:999px;background:var(--veil-1);overflow-x:auto}
  .dashboard .studio-composer #studioRingkas .chip{height:40px;min-width:0;padding:0 10px}
  .dashboard .studio-composer #studioRingkas .chip:first-child{padding-left:12px}
  .dashboard .studio-composer #studioRingkas .chip+.chip::before{top:13px;bottom:13px}
  .dashboard .studio-composer #studioRingkas .ringkas-tanya{display:none}
  .dashboard .studio-composer .cbar>.pop-wrap{grid-area:set}
  .dashboard .studio-composer #enhanceBtn{grid-area:enh}
  .dashboard .studio-composer #savePromptBtn{grid-area:save;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px}
  .dashboard .studio-composer #savePromptBtn svg{width:18px;height:18px}
  .dashboard .studio-composer>.pratinjau{grid-area:prev;margin:6px 0 2px}
  .dashboard .studio-composer .save-draft-prompt{display:none}
  .dashboard .studio-composer .saved-prompts:not(:has(.saved-chip)){display:none}
  .dashboard .studio-composer .ref-tray{margin:6px 0 8px}

  /* result headings: prompt on the first line, model and time on the second */
  .batch-head{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"p b" "m b";column-gap:8px;row-gap:2px}
  .batch-prompt{grid-area:p;max-width:none}
  .batch-meta{grid-area:m;overflow:hidden;text-overflow:ellipsis}
  .batch-btn{grid-area:b;margin-left:0}

  /* Library: actions behind "more", filters as one segmented control */
  .dashboard #view-library .topbar{grid-template-columns:minmax(0,1fr) 44px 44px;min-height:0;row-gap:10px;padding-bottom:10px}
  .dashboard #view-library .lib-more{display:grid;place-items:center;grid-column:2;grid-row:1;width:44px;height:44px;justify-self:end}
  .dashboard #view-library .lib-more svg{width:18px;height:18px}
  .dashboard #view-library .mobile-help{grid-column:3}
  .dashboard #view-library .topbar{position:relative}
  .dashboard #view-library .topbar-actions{display:none;position:absolute;top:52px;right:var(--mobile-rail,16px);z-index:var(--z-popover,60);flex-direction:column;align-items:stretch;gap:2px;min-width:200px;margin:0;padding:6px;border:1px solid var(--border);border-radius:14px;background:var(--pop,var(--basalt-2));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 16px 40px rgba(0,0,0,.35)}
  .dashboard #view-library .topbar-actions.open{display:flex}
  .dashboard #view-library .topbar-actions .btn{justify-content:flex-start;width:100%;min-height:44px;padding:0 12px;border-radius:10px;font-size:14px}
  .dashboard #view-library.library-empty .lib-more{display:none}
  body.dashboard #view-library .lib-filters{display:flex;grid-column:1/-1;justify-self:start;max-width:100%;gap:2px;padding:3px;border-radius:999px;background:var(--veil-1);overflow-x:auto;scrollbar-width:none}
  body.dashboard #view-library .lib-filters .mode-btn{min-height:38px;height:38px;padding:0 14px;border-radius:999px;font:500 13px/1 var(--sans);background:transparent;color:var(--ink-2)}
  body.dashboard #view-library .lib-filters .mode-btn.active{background:var(--veil-2);color:var(--ink);box-shadow:0 1px 3px #0002}

  /* account: the avatar letter in the interface face, like everywhere else */
  .mobile-avatar{font:600 20px/1 var(--sans)}

}
.dashboard #view-library .lib-more{display:none}
@media (max-width:999px){.dashboard #view-library .lib-more{display:grid}}
@media (max-width:699px){
  /* two square tiles per row on a phone instead of one small tile */
  .batch-tiles{--tile-h:calc(50vw - 24px)}
  /* reference groups in one row that scrolls sideways, not stacked rows */
  .ref-tray,.dashboard .uploads.ref-tray{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-10px;padding-right:10px}
  .ref-tray::-webkit-scrollbar{display:none}
  .ref-group{flex:none}
  .ref-tiles{flex-wrap:nowrap}
}
@media (pointer:coarse){
  .tile-btn,.batch-btn{width:40px;height:40px}
  .tile-btn svg,.batch-btn svg{width:18px;height:18px}
  .promo-chip-x{width:40px;height:40px}
  .copy-code{min-height:36px;padding:6px 12px}
}
/* icons instead of text glyphs (phase 8) */
.ma-ico{width:16px;height:16px;flex:none;color:var(--muted)}
.dev-arrow{display:inline-block;width:14px;height:14px;vertical-align:-2px}
/* ================================================================ UI/UX round 2 (2 Nov 2026) */

/* Edit and Music sub-modes: the same segmented control as the header modes, aligned with the results column */
.dashboard .submodes:empty{display:none}
@media (min-width:1000px){
  .dashboard .studio-top>.submodes{align-self:flex-start;display:inline-flex;flex-wrap:nowrap;justify-content:flex-start;gap:2px;height:36px;max-width:100%;padding:3px;margin:0;overflow-x:auto;scrollbar-width:none;border:0;border-radius:999px;background:var(--veil-1)}
  .dashboard .studio-top>.submodes::-webkit-scrollbar{display:none}
  .dashboard .studio-top>.submodes .submode{flex:none;height:30px;min-height:30px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:var(--ink-2);font:500 13px/1 var(--sans);white-space:nowrap}
  .dashboard .studio-top>.submodes .submode:hover{background:var(--veil-2);color:var(--ink)}
  .dashboard .studio-top>.submodes .submode.active{background:var(--veil-2);color:var(--ink);font-weight:500;box-shadow:0 1px 3px #0002}
}

/* Edit inputs: tiles with their own remove button, exactly like the reference tray */
.dashboard .edit-workbench{gap:10px;margin:6px 0 8px}
.dashboard .edit-upload-head p{font:400 12px/1.5 var(--sans);color:var(--muted)}
.dashboard .edit-assets{align-items:flex-start;gap:8px}
.dashboard .edit-asset,.dashboard .edit-upload,.dashboard .edit-library{position:relative;flex:none;width:64px;height:64px;min-width:0;min-height:0;max-width:none;border-radius:12px}
.dashboard .edit-asset{overflow:hidden;border:1px solid var(--border);background:var(--veil-2)}
.dashboard .edit-asset>img{width:100%;height:100%;object-fit:cover}
.dashboard .edit-asset:has(.edit-strength){width:124px;height:auto}
.dashboard .edit-asset:has(.edit-strength)>img{height:84px}
.dashboard .edit-strength{padding:6px 8px 8px;font:500 10px/1.3 var(--sans)}
.dashboard .edit-remove{top:4px;right:4px;z-index:1;width:22px;height:22px;min-width:0;min-height:0;padding:0;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.dashboard .edit-remove::before{content:"";position:absolute;inset:-8px}
.dashboard .edit-remove:hover{background:rgba(0,0,0,.85)}
.dashboard .edit-remove:focus-visible{outline:2px solid #fff;outline-offset:1px}
.dashboard .edit-order{top:auto;left:5px;bottom:5px;display:grid;place-items:center;width:18px;min-width:0;height:18px;border-radius:6px;background:rgba(0,0,0,.55);font:600 10px/1 var(--sans)}
.dashboard .edit-asset:has(.edit-strength) .edit-order{top:66px;bottom:auto}
.dashboard .edit-upload,.dashboard .edit-library{display:grid;place-items:center;gap:0;padding:0;border:1px dashed var(--border-2);background:transparent;color:var(--ink-2);text-decoration:none;cursor:pointer}
.dashboard .edit-library{border-style:solid;border-color:var(--border)}
.dashboard .edit-upload:hover,.dashboard .edit-library:hover,.dashboard .edit-workbench.dragover .edit-upload{border-color:var(--ink-2);background:var(--veil-1);color:var(--ink)}
.dashboard .edit-upload:focus-visible,.dashboard .edit-library:focus-visible{outline:2px solid var(--ink-2);outline-offset:2px}
.dashboard .edit-upload svg,.dashboard .edit-library svg{width:18px;height:18px}
.dashboard .edit-upload>span,.dashboard .edit-library>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.dashboard .edit-workbench.dragover{outline:1px dashed var(--ink-2);outline-offset:6px;border-radius:12px}
@media (pointer:coarse){
  .dashboard .edit-asset,.dashboard .edit-upload,.dashboard .edit-library{width:72px;height:72px}
  .dashboard .edit-asset:has(.edit-strength){width:132px;height:auto}
  .dashboard .edit-remove{width:26px;height:26px;top:3px;right:3px}
  .dashboard .edit-remove::before{inset:-9px}
}

/* Music in the Studio: the batch heading already carries the prompt */
#studioGrid .tile-music .tile-cap{display:none}

/* viewer: a calmer, blurred backdrop; the model in sentence case with its maker's mark; an icon on every action */
.lb{background:rgba(6,6,8,.9);-webkit-backdrop-filter:blur(20px) saturate(.8);backdrop-filter:blur(20px) saturate(.8)}
.lb .lb-model{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:6px;color:rgba(255,255,255,.66);font:500 12.5px/18px var(--sans);letter-spacing:0;text-transform:none}
.lb .lb-model .mp-prov{width:16px;height:16px;border:0;border-radius:4px;background:none}
.lb .lb-model .mp-prov:not(.mp-logo){background:rgba(255,255,255,.14);color:#fff;font:600 9px/1 var(--sans)}
.lb .lb-model .mp-logo{color:#fff}
.lb .lb-model .mp-logo img,.lb .lb-model .mp-logo i{width:14px;height:14px}
.lb .lb-bar .btn svg{margin-right:0}
@media (min-width:1000px){
  /* the desktop viewer is always dark, so its buttons are too, whichever theme the app uses */
  .lb .lb-bar .btn{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.18);color:#f0f0f0;box-shadow:none}
  .lb .lb-bar .btn:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.28);color:#fff}
  .lb .lb-bar .btn.btn-primary{background:#fff;border-color:#fff;color:#000}
  .lb .lb-bar .btn.btn-primary:hover{background:#e8e8e8;border-color:#e8e8e8;color:#000}
  .lb .lb-bar .btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
}
@media (max-width:999px){
  .dashboard .lb{-webkit-backdrop-filter:none;backdrop-filter:none}
  .dashboard .lb .lb-model{justify-content:flex-start;color:var(--ink-2);font:500 13px/1.5 var(--sans)}
  .dashboard .lb .lb-model .mp-logo{color:var(--ink)}
  .dashboard .lb .lb-model .mp-prov:not(.mp-logo){background:var(--veil-2);color:var(--ink)}
  .dashboard .lb-bar{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .dashboard .lb-bar .btn{flex-direction:column;justify-content:center;gap:5px;min-height:60px;padding:8px 4px;font-size:11.5px;line-height:1.25;text-align:center}
  .dashboard .lb-bar .btn svg{width:18px;height:18px;margin:0}
  body.dashboard .submode.active{border-color:transparent}
}

/* saved prompts label: a quiet sentence-case word, not an accent caption */
.dashboard .saved-lbl{font:500 12px/1 var(--sans);letter-spacing:0;text-transform:none;color:var(--muted)}

/* model picker tabs: segmented pills like every other switch in the app */
.mp-tabs{gap:4px;padding:10px 12px;border-bottom:1px solid var(--border)}
.mp-tabs[hidden]{display:none}
.mp-tab{flex:none;height:30px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:var(--ink-2);font:500 12.5px/30px var(--sans)}
.mp-tab:hover{background:var(--veil-1);color:var(--ink)}
.mp-tab.on{background:var(--veil-2);color:var(--ink);border-bottom-color:transparent}
.dashboard .mp-tab{min-height:30px}
@media (pointer:coarse){.dashboard .mp-tab{height:40px;min-height:40px;padding:0 14px;line-height:40px;font-size:13px}}

/* Result prompts: a persistent Studio action and a focused, themed reader. */
.result-prompt-open{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:34px;padding:7px 11px;border:1px solid var(--border);border-radius:9px;background:transparent;color:var(--ink);font:500 12px/18px var(--sans);cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.result-prompt-open:hover{background:var(--veil-2);border-color:var(--border-2);color:var(--ink)}
.result-prompt-open:focus-visible,.result-prompt button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.result-prompt-open svg{width:15px;height:15px;flex:none}
.batch-head-prompt>.result-prompt-open{margin-left:auto}
.batch-head-prompt .batch-meta{min-width:0;overflow:hidden;text-overflow:ellipsis;max-width:38%}
.tile-volatile .lib-acts{display:flex;align-items:center;gap:6px}
.tile-volatile .result-prompt-open{background:rgba(0,0,0,.55);border-color:rgba(255,255,255,.2);color:#fff;backdrop-filter:blur(8px)}
.result-prompt{box-sizing:border-box;width:min(640px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid var(--border-2);border-radius:20px;background:var(--basalt-1);color:var(--ink);box-shadow:0 24px 90px -24px rgba(0,0,0,.4);overflow:hidden}
.result-prompt[open]{display:flex;flex-direction:column;animation:fade .15s ease}
.result-prompt::backdrop{background:rgba(12,14,17,.48);backdrop-filter:blur(5px)}
.result-prompt-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex:none;padding:24px 24px 18px;border-bottom:1px solid var(--border)}
.result-prompt-head>div{min-width:0}
.result-prompt-head h2{margin:0;font:600 18px/26px var(--sans);letter-spacing:-.02em}
.result-prompt-meta{margin:4px 0 0;color:var(--muted);font:400 12px/18px var(--sans);overflow-wrap:anywhere}
.result-prompt-meta:empty{display:none}
.result-prompt-close{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:0;border-radius:9px;background:transparent;color:var(--ink-2);cursor:pointer}
.result-prompt-close:hover{background:var(--veil-2);color:var(--ink)}
.result-prompt-close svg{width:18px;height:18px}
.result-prompt-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px;scrollbar-gutter:stable}
.result-prompt-text{font:400 14px/1.8 var(--sans);white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.result-prompt-text:focus-visible{outline:2px solid var(--border-2);outline-offset:6px;border-radius:3px}
.result-prompt-feedback{margin:16px 0 0;color:var(--ink-2);font:400 12px/1.6 var(--sans)}
.result-prompt-feedback:empty{display:none}
.result-prompt-note{margin:18px 0 0;padding-top:14px;border-top:1px solid var(--border);font:400 12px/1.6 var(--sans);color:var(--muted)}
.result-prompt-actions{display:flex;align-items:stretch;justify-content:flex-end;gap:8px;flex:none;padding:16px 24px 20px;border-top:1px solid var(--border)}
.result-prompt-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;height:auto;padding:10px 13px;font-size:12px;line-height:18px;white-space:normal;text-align:center}
.result-prompt-actions .btn-ghost{background:transparent;border-color:transparent;color:var(--ink-2)}
.result-prompt-actions .btn-ghost:hover{background:var(--veil-2);color:var(--ink)}
.result-prompt-actions .btn-primary{background:var(--ink);border-color:var(--ink);color:var(--basalt-1);box-shadow:none}
.result-prompt-actions .btn-primary:hover{opacity:.88}
.result-prompt-actions svg{width:15px;height:15px;flex:none}
.result-prompt-actions .btn:disabled{opacity:.45;cursor:default}
@media(max-width:999px){
  .batch-head-prompt{grid-template-areas:"p p" "m a";row-gap:6px}
  .batch-head-prompt .batch-meta{max-width:100%;align-self:center}
  .batch-head-prompt>.result-prompt-open{grid-area:a;min-height:40px;margin-left:0}
}
@media(max-width:600px){
  .result-prompt{width:calc(100% - 24px);max-height:calc(100dvh - 32px);border-radius:18px}
  .result-prompt-head{padding:20px 18px 16px;gap:12px}
  .result-prompt-head h2{font-size:17px;line-height:24px}
  .result-prompt-close{width:40px;height:40px;margin:-5px -5px 0 0}
  .result-prompt-content{padding:20px 18px}
  .result-prompt-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:14px 14px max(16px,env(safe-area-inset-bottom))}
  .result-prompt-actions .btn{min-width:0;flex-direction:column;gap:5px;min-height:64px;padding:8px 5px;font-size:11.5px;line-height:16px}
  .result-prompt-actions svg{width:17px;height:17px}
}
@media(max-width:380px){
  .result-prompt-actions{grid-template-columns:minmax(0,1fr);gap:4px}
  .result-prompt-actions .btn{flex-direction:row;gap:8px;min-height:44px;padding:10px;font-size:12px;line-height:18px}
}
@media(prefers-reduced-motion:reduce){.result-prompt[open]{animation:none}.result-prompt-open{transition:none}}
