/* Tokens and layout measured from the public BananaRouter model plaza. */
.customer-console {
  margin:0; background:var(--secondary); color:var(--foreground); color-scheme:light;
  font:14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","noto sans","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

.customer-console *, .customer-console *::before, .customer-console *::after {box-sizing:border-box}
.customer-console [hidden] {display:none!important}
.customer-console :is(button,input,select,textarea) {font:inherit;color:inherit}
.customer-console :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid var(--ring);outline-offset:3px}
.customer-console button {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:5px 12px;border:1px solid var(--border);border-radius:var(--control-radius);background:var(--background);cursor:pointer;font-weight:500;transition:background .15s,border-color .15s}
.customer-console button:hover:not(:disabled) {background:var(--muted)}
.customer-console button:disabled {opacity:.5;cursor:not-allowed}
.customer-console a {color:inherit;text-decoration:none}
.customer-console p {margin:0;line-height:1.7}
.customer-console :is(h1,h2,h3,h4) {margin:0;color:var(--foreground)}
.customer-console h1 {font-size:30px;line-height:36px;letter-spacing:-.75px;font-weight:600}
.customer-console h2 {font-size:18px;font-weight:600;line-height:28px}
.customer-console h3 {font-size:16px;font-weight:600;line-height:24px}
.customer-console :is(input,select,textarea) {width:100%;min-width:0;border:1px solid var(--border);border-radius:var(--control-radius);background:transparent;padding:7px 10px;outline:none;line-height:20px}
.customer-console :is(input,select) {height:36px}
.customer-console textarea {resize:vertical;min-height:96px}
.customer-console :is(input,textarea)::placeholder {color:var(--muted-foreground);opacity:1}
.customer-console input[type=checkbox] {width:15px;height:15px;accent-color:var(--primary);margin:0;flex-shrink:0}
.customer-console label {display:block;font-weight:500;font-size:13px;margin-bottom:8px}
.customer-console .sr-only,.customer-console .filter-popover .parameter-choice legend {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.customer-console :is(.muted,small,.inline-note) {color:var(--muted-foreground)}
.customer-console .customer-shell {min-height:100vh;display:flex;flex-direction:column}
.customer-console .orbit-brand {display:inline-flex;align-items:center;gap:8px;font-size:18px;font-weight:700;white-space:nowrap}
.customer-console .customer-header nav button:is(.active,:hover) {color:var(--foreground)}
.customer-console .customer-account button {font-size:13px;padding:4px 8px}
.customer-console .avatar {display:grid;place-items:center;width:32px;height:32px;background:var(--primary);color:var(--primary-foreground);font-weight:600}
.customer-console .customer-content {flex:1;width:100%;max-width:1280px;margin:0 auto;padding:32px 24px 48px;min-width:0}
.customer-console :is(.plaza-intro,.studio-welcome,.heading,.works-heading) {margin:0 0 24px}
.customer-console :is(.plaza-intro,.studio-welcome,.heading,.works-heading) p {font-size:14px;line-height:28px;color:var(--muted-foreground);margin-top:12px}
.customer-console :is(.heading,.works-heading) {display:flex;justify-content:space-between;align-items:center;gap:20px}
.customer-console .catalog-search input {height:36px;padding:4px 10px}
.customer-console .maker-filters {display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.customer-console .maker-filters button {min-height:28px;padding:3px 6px;font-size:12.8px;line-height:20px;background:transparent}
.customer-console .maker-filters button[aria-pressed=true] {background:var(--primary);color:var(--primary-foreground)}
.customer-console .model-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}
.customer-console .model-card {position:relative;display:flex;flex-direction:column;min-width:0;min-height:262px;padding:20px;border:1px solid var(--border);background:var(--background);transition:border-color .15s}
.customer-console .model-card:hover {border-color:color-mix(in srgb,var(--foreground) 20%,transparent)}
.customer-console .model-card-title {display:flex;align-items:center;gap:8px;min-width:0}
.customer-console .model-card h2 {font-size:16px;font-weight:600;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-console .model-mark {display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;overflow:hidden}
.customer-console .model-mark :is(img,svg) {display:block;width:24px;height:24px;object-fit:contain}
.customer-console .model-code {position:relative;z-index:2;display:flex;justify-content:flex-start;gap:4px;align-self:flex-start;min-width:0;max-width:100%;min-height:16px;margin-top:8px;padding:0;border:0;background:transparent;font:12px/16px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted-foreground);font-weight:400}
.customer-console .model-code span {overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.customer-console .model-code svg {width:12px;height:12px;flex-shrink:0;opacity:0}
.customer-console .model-code:hover {background:transparent}
.customer-console .model-code:is(:hover,:focus-visible) svg {opacity:1}
.customer-console .model-price {margin-top:8px;font-size:14px;font-weight:500;color:var(--primary);line-height:20px}
.customer-console .model-description {flex:1;min-height:48px;margin-top:12px;font-size:14px;line-height:24px;color:var(--muted-foreground);overflow-wrap:anywhere}
.customer-console .model-tags {display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.customer-console .model-tags span {display:inline-flex;align-items:center;height:24px;padding:0 8px;border:1px solid var(--border);font-size:12px;color:var(--muted-foreground)}
.customer-console .card-open {position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;padding:0}
.customer-console .card-open:hover {background:transparent}
.customer-console .card-open>svg {position:absolute;bottom:22px;right:20px;opacity:0;color:var(--muted-foreground)}
.customer-console .card-open:is(:hover,:focus-visible)>svg {opacity:1}
.customer-console .card-open:disabled {opacity:.35;cursor:not-allowed}
.customer-console .customer-footer {background:var(--background);border-top:1px solid var(--border);padding:40px max(24px,calc((100% - 1232px)/2)) 0}
.customer-console .footer-main {display:grid;grid-template-columns:2.3fr repeat(3,1fr);gap:40px;padding-bottom:40px}
.customer-console .footer-about h2 {font-size:16px;line-height:24px;margin:16px 0 8px}
.customer-console .footer-about p {color:var(--muted-foreground);font-size:13px;line-height:24px}
.customer-console .footer-main h3 {font-size:14px;margin:4px 0 16px}
.customer-console .footer-main>div:not(:first-child) :is(a,span) {display:block;margin:10px 0;font-size:13px;color:var(--muted-foreground)}
.customer-console .footer-main a:hover {color:var(--foreground)}
.customer-console .footer-bottom {border-top:1px solid var(--border);padding:24px 0;display:flex;justify-content:space-between;gap:16px;color:var(--muted-foreground);font-size:12px}
.customer-console .customer-shell:has(.page-create) {height:100dvh;min-height:0}
.customer-console .customer-shell:has(.page-create) .customer-header {flex-shrink:0}
.customer-console .customer-content.page-create {max-width:none;padding:0;min-height:0;display:flex}
.customer-console .creation-workspace {position:relative;display:grid;grid-template-columns:224px minmax(0,1fr);width:100%;min-height:0;background:var(--background)}
.customer-console .studio-sidebar {display:flex;flex-direction:column;min-height:0;padding:24px 14px 16px;background:var(--secondary);border-right:1px solid var(--border)}
.customer-console .studio-title {display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 8px 30px}
.customer-console .studio-title h1 {font-size:15px;line-height:24px;letter-spacing:0}
.customer-console .studio-title button {border:0;background:transparent;padding:4px;font-size:20px;min-height:28px}
.customer-console #new-group {border:0;gap:14px;justify-content:flex-start;padding:10px;font-size:14px;background:transparent}
.customer-console #new-group>span {display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--background);font-size:27px}
.customer-console #group-editor {display:flex;gap:4px;margin:6px 0}
.customer-console #group-editor[hidden] {display:none}
.customer-console #group-editor input {min-width:0;width:100%;font-size:12px}
.customer-console #studio-groups {overflow:auto;margin-top:6px}
.customer-console #studio-groups button {display:flex;align-items:center;width:100%;justify-content:flex-start;gap:12px;border:0;border-radius:10px;padding:8px;font-size:14px;background:transparent;margin-bottom:5px}
.customer-console #studio-groups button[aria-pressed=true] {background:var(--background);box-shadow:0 1px 4px #00000008}
.customer-console #studio-groups button>span:last-child {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-console .group-cover {width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;background:var(--muted);border:1px solid var(--border);border-radius:6px;overflow:hidden;color:var(--muted-foreground);font-size:22px}
.customer-console .group-cover :is(img,video) {width:100%;height:100%;object-fit:cover;pointer-events:none}
.customer-console .record-shortcut {background:transparent;border:0;justify-content:flex-start;gap:10px;font-size:12px;margin-top:20px;padding:12px;color:var(--muted-foreground)}
.customer-console #rail-count {margin-left:auto}
.customer-console .studio-main {position:relative;min-height:0;min-width:0;display:flex;flex-direction:column}
.customer-console .creation-workspace .studio-results {min-width:0;display:flex;flex-direction:column;flex:1;min-height:0;margin:0;padding:0}
.customer-console .studio-toolbar {position:relative;display:flex;justify-content:center;align-items:center;min-height:72px;gap:10px;padding:16px 24px;z-index:4}
.customer-console .view-switch {display:flex;padding:3px;border:1px solid var(--border);border-radius:10px;background:var(--secondary)}
.customer-console .view-switch button {border:0;min-height:32px;padding:4px 26px;border-radius:7px;background:transparent;color:var(--muted-foreground);font-size:13px}
.customer-console .view-switch button[aria-pressed=true] {background:var(--background);color:var(--foreground);box-shadow:0 1px 4px #0001}
.customer-console .history-tools {position:absolute;right:24px;display:flex;gap:8px}
.customer-console .history-tools>button,.customer-console .history-tools>details>summary {width:36px;height:36px;min-height:36px;border-radius:9px;background:var(--secondary);border:1px solid var(--border);display:grid;place-items:center;padding:0;font-size:23px}
.customer-console #expand-groups {position:absolute;left:16px}
.customer-console .studio-feed {overflow-y:auto;min-height:0;flex:1;padding:4px 24px 290px;outline:none;scrollbar-gutter:stable;overflow-anchor:none}
.customer-console .creation-workspace .works-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:none;margin:0}
.customer-console .work-card {position:relative;min-width:0;padding:0;margin:0;border:0;border-radius:10px;background:var(--secondary);overflow:hidden}
.customer-console .work-preview {position:relative;display:grid;grid-template-columns:minmax(0,1fr);aspect-ratio:16/9;min-width:0;overflow:hidden;background:var(--secondary)}
.customer-console .work-original-label {position:absolute;top:12px;left:12px;padding:6px 10px;border-radius:var(--control-radius);background:var(--background);color:var(--foreground);font-size:12px;pointer-events:none}
.customer-console .work-preview.multiple {grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
.customer-console .work-preview :is(img,video) {display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain;border:0;background:var(--secondary)}
.customer-console .work-placeholder {height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font-size:11px;color:var(--muted-foreground);padding:12px;text-align:center}
.customer-console .work-placeholder>span:first-child {font-size:24px}
.customer-console .work-details {padding:14px}
.customer-console .work-info {min-width:0}
.customer-console .work-prompt {font-size:13px;line-height:22px;overflow-wrap:anywhere;white-space:pre-wrap;margin:0 0 12px}
.customer-console .work-meta {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.customer-console .work-info h3 {font-size:12px;font-weight:500}
.customer-console .work-info p:not(.work-prompt) {font-size:11px;color:var(--muted-foreground);line-height:20px;margin-top:6px}
.customer-console .work-references {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.customer-console .work-references:empty {display:none}
.customer-console .work-references img {width:44px;height:44px;object-fit:cover;border-radius:7px}
.customer-console .work-actions {display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:20px}
.customer-console .work-actions :is(button,a,select) {font-size:11px;min-height:28px;padding:4px 8px;border-radius:6px;background:var(--background);color:var(--foreground)}
.customer-console .work-actions button {gap:5px}
.customer-console .work-actions select {max-width:120px}
.customer-console .works-grid[data-view=grid] .work-details {position:absolute;inset:auto 0 0;background:linear-gradient(transparent,#000c);padding:25px 12px 12px;color:white;opacity:0;transition:opacity .15s;pointer-events:none}
.customer-console .works-grid[data-view=grid] .work-card:is(:hover,:focus-within) .work-details {opacity:1;pointer-events:auto}
.customer-console .works-grid[data-view=grid] .work-info {display:none}
.customer-console .works-grid[data-view=grid] .work-actions {margin:0}
.customer-console .creation-workspace .works-grid[data-view=list] {display:flex;flex-direction:column;gap:24px}
.customer-console .works-grid[data-view=list] .work-card {display:grid;grid-template-columns:minmax(0,2.35fr) minmax(240px,1fr);gap:12px;background:transparent;overflow:visible;min-height:350px}
.customer-console .works-grid[data-view=list] .work-preview {aspect-ratio:auto;min-height:350px;max-height:580px;border-radius:12px}
.customer-console .works-grid[data-view=list] .work-preview :is(img,video) {max-height:580px;min-height:350px}
.customer-console .works-grid[data-view=list] .work-details {display:flex;flex-direction:column;justify-content:space-between;background:var(--secondary);border-radius:12px;padding:22px}
.customer-console .works-grid[data-view=list] .work-prompt {font-size:15px;line-height:26px}
.customer-console .works-more {text-align:center;padding:24px 0;font-size:11px;color:var(--muted-foreground)}
.customer-console #history-status {min-height:19px;margin-bottom:8px}
.customer-console #poll-status {position:absolute;top:66px;left:24px;font-size:12px;color:var(--danger)}
.customer-console .composer-dock {position:absolute;bottom:24px;left:50%;transform:translateX(-50%);width:min(940px,calc(100% - 64px));padding-right:0;z-index:5;min-width:0;pointer-events:none}
.customer-console #return-to-bottom {position:absolute;right:0;bottom:calc(100% + 16px);height:38px;padding:0 16px;border:1px solid var(--border);border-radius:24px;background:var(--secondary);color:var(--muted-foreground);box-shadow:0 2px 12px #0001;pointer-events:auto;font-size:13px;gap:6px}
.customer-console #return-to-bottom:hover {background:var(--muted);color:var(--foreground)}
.customer-console #creation-form {position:relative;width:100%;margin:0;background:var(--background);border:1px solid var(--border);border-radius:22px;box-shadow:0 8px 40px #00000014;pointer-events:auto}
.customer-console .creation-workspace .composer {border:0;min-width:0;padding:16px;margin:0}
.customer-console .composer.dragging {outline:2px dashed var(--primary);outline-offset:-3px;border-radius:22px}
.customer-console .prompt-row {display:flex;gap:16px;align-items:flex-start}
.customer-console .prompt-content {min-width:0;flex:1}
.customer-console .creation-workspace #creation-prompt {display:block;width:100%;min-height:80px;height:80px;max-height:160px;resize:none;border:0;padding:4px 0;font-size:14px;line-height:24px;background:transparent;box-shadow:none}
.customer-console .upload-tools {flex-shrink:0}
.customer-console .upload-button {position:relative;display:grid;place-items:center;width:64px;height:64px;border:0;border-radius:12px;background:var(--secondary);cursor:pointer;margin:0;color:var(--muted-foreground)}
.customer-console .upload-symbol {font-size:30px;line-height:1;z-index:2}
.customer-console .upload-stack {position:absolute;inset:0}
.customer-console .upload-stack img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:10px;border:2px solid var(--background);transform:rotate(-8deg)}
.customer-console .upload-stack img:nth-child(2) {transform:rotate(6deg)}
.customer-console .upload-stack img:nth-child(3) {transform:rotate(-4deg)}
.customer-console .upload-button:has(img) .upload-symbol {position:absolute;right:-6px;bottom:-6px;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--foreground);color:var(--background);font-size:22px}
.customer-console .reference-strip {display:flex;gap:6px;overflow:auto;max-width:100%;padding:4px 0}
.customer-console .reference-strip:empty {display:none}
.customer-console .reference-tile {display:flex;align-items:center;flex-shrink:0;border-radius:6px;background:var(--secondary);overflow:hidden}
.customer-console .reference-tile .reference-mention {display:flex;gap:5px;border:0;padding:2px 5px;background:transparent;font-size:12px;min-height:28px}
.customer-console .reference-tile img {width:23px;height:23px;object-fit:cover;border-radius:4px}
.customer-console .reference-tile [data-remove] {border:0;background:transparent;min-height:24px;padding:0 5px;font-size:14px}
.customer-console #upload-status {font-size:11px;color:var(--muted-foreground)}
.customer-console .creation-workspace .composer-tools {display:flex;align-items:center;gap:8px;margin-top:16px;min-width:0}
.customer-console .studio-popover {position:relative;min-width:0}
.customer-console .studio-popover>summary {list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
.customer-console .studio-popover>summary::-webkit-details-marker {display:none}
.customer-console .studio-popover>.popover-panel {position:absolute;bottom:calc(100% + 12px);left:0;min-width:230px;max-width:calc(100vw - 40px);padding:18px;border:1px solid var(--border);border-radius:var(--popover-radius);background:var(--background);box-shadow:0 8px 32px #0002;z-index:10}
.customer-console .studio-popover:not([open])>.popover-panel {display:none}
.customer-console .history-tools .popover-panel {bottom:auto;top:calc(100% + 8px);left:auto;right:0}
.customer-console .search-popover .popover-panel {width:310px}
.customer-console .popover-panel h3 {font-size:13px;margin-bottom:12px}
.customer-console .popover-panel .field {margin:12px 0 0}
.customer-console .popover-panel label {font-size:12px}
.customer-console .popover-panel :is(input,select,textarea) {font-size:12px;min-width:0;width:100%;border-radius:var(--control-radius)}
.customer-console .kind-tabs {display:flex;gap:4px;margin-bottom:14px}
.customer-console .kind-tabs button {padding:4px 8px;font-size:12px;min-height:28px;border-radius:6px}
.customer-console .kind-tabs button[aria-pressed=true] {border-color:var(--primary);background:color-mix(in srgb,var(--primary) 14%,var(--background))}
.customer-console .type-picker>summary,.customer-console .parameter-picker>summary {height:34px;border:1px solid var(--border);border-radius:8px;padding:0 10px;font-size:12px;background:transparent}
.customer-console .studio-modes {display:grid;gap:5px}
.customer-console .studio-modes button {border:0;justify-content:flex-start;gap:10px;border-radius:7px;background:transparent;font-size:13px}
.customer-console .studio-modes button[aria-pressed=true] {background:var(--secondary)}
.customer-console .model-picker {min-width:0;max-width:220px;flex:1}
.customer-console .generate-button {margin-left:auto}
.customer-console :is(.generate-button,button.primary) {background:var(--primary);color:var(--primary-foreground);border-color:var(--primary);padding:6px 24px;min-height:34px;border-radius:var(--control-radius);white-space:nowrap;flex-shrink:0}
.customer-console :is(.generate-button,button.primary):hover:not(:disabled) {background:color-mix(in srgb,var(--primary) 80%,var(--background))}
.customer-console .composer-dock.compact :is(.composer-tools,.reference-strip) {display:none}
.customer-console .composer-dock.compact .composer {padding:12px}
.customer-console .composer-dock.compact #creation-prompt {height:48px;min-height:48px;white-space:nowrap;overflow:hidden}
.customer-console .composer-dock.compact .upload-button {width:48px;height:48px}
.customer-console .groups-collapsed {grid-template-columns:minmax(0,1fr)}
.customer-console .groups-collapsed .studio-sidebar {display:none}
.customer-console :is(.studio-empty,.empty) {grid-column:1/-1;padding:64px 20px;text-align:center;color:var(--muted-foreground);border:1px solid var(--border);background:var(--background)}
.customer-console .creation-workspace .studio-empty {border:0;background:transparent;padding:70px 20px}
.customer-console .studio-empty :is(h1,h2,h3) {font-size:20px;margin-bottom:12px}
.customer-console .studio-empty>span {display:block;font-size:32px;color:var(--primary);margin-bottom:16px}
.customer-console .studio-empty button {margin-top:20px}
.customer-console .form-error {color:var(--danger);white-space:pre-wrap;font-size:12px;margin:8px 16px}
.customer-console .form-error:empty {display:none}
@media(max-width:1150px){
 .customer-console .creation-workspace {grid-template-columns:190px minmax(0,1fr)}
 .customer-console .creation-workspace.groups-collapsed {grid-template-columns:minmax(0,1fr)}
 .customer-console .composer-dock {width:calc(100% - 32px);padding-right:0}
 .customer-console .works-grid[data-view=list] .work-card {grid-template-columns:minmax(0,1.7fr) minmax(200px,1fr)}
 .customer-console .composer-tools {gap:5px}
 .customer-console .generate-button {padding:6px 14px}
 .customer-console .studio-toolbar {justify-content:flex-start}
}
@media(max-width:767px){
 .customer-console .creation-workspace {grid-template-columns:minmax(0,1fr)}
 .customer-console .studio-sidebar {display:none;position:absolute;top:0;bottom:0;left:0;width:224px;z-index:12;box-shadow:5px 0 20px #0002}
 .customer-console .creation-workspace.groups-open .studio-sidebar {display:flex}
 .customer-console #expand-groups {display:flex!important;position:static;min-height:32px;width:28px;padding:0;background:transparent;border:0}
 .customer-console .studio-toolbar {min-height:58px;padding:10px 12px;gap:6px}
 .customer-console .view-switch button {padding:3px 12px;min-height:28px;font-size:12px}
 .customer-console .history-tools {right:12px;gap:5px}
 .customer-console .history-tools>button,.customer-console .history-tools>details>summary {width:28px;height:30px;min-height:30px;font-size:20px}
 .customer-console .studio-feed {padding:2px 12px 280px}
 .customer-console .creation-workspace .works-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .customer-console .works-grid[data-view=grid] .work-details {position:static;opacity:1;background:var(--secondary);padding:5px;pointer-events:auto}
 .customer-console .works-grid[data-view=grid] .work-actions :is(select,a) {display:none}
 .customer-console .works-grid[data-view=grid] .work-actions button {padding:3px;font-size:10px;min-height:24px;background:transparent;border:0}
 .customer-console .works-grid[data-view=grid] .work-actions svg {display:none}
 .customer-console .works-grid[data-view=list] .work-card {display:flex;flex-direction:column;gap:0;min-height:0}
 .customer-console .works-grid[data-view=list] .work-preview {aspect-ratio:4/3;min-height:0;max-height:320px;border-radius:10px 10px 0 0}
 .customer-console .works-grid[data-view=list] .work-preview :is(img,video) {min-height:0;max-height:320px}
 .customer-console .works-grid[data-view=list] .work-details {padding:14px;border-radius:0 0 10px 10px}
 .customer-console .composer-dock {bottom:12px;width:calc(100% - 20px)}
 .customer-console #creation-form {border-radius:18px}
 .customer-console .creation-workspace .composer {padding:12px}
 .customer-console .prompt-row {gap:10px}
 .customer-console .upload-button {width:44px;height:44px;border-radius:9px}
 .customer-console .creation-workspace #creation-prompt {min-height:56px;height:56px;font-size:12px;line-height:20px}
 .customer-console .creation-workspace .composer-tools {display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;margin-top:10px}
 .customer-console .type-picker>summary,.customer-console .parameter-picker>summary {height:30px;font-size:11px;padding:0 8px}
 .customer-console .model-picker {position:static;max-width:none}
 .customer-console .parameter-picker {grid-column:1}
 .customer-console .parameter-picker>summary {justify-content:flex-start}
 .customer-console .parameter-picker>summary svg {width:14px}
 .customer-console .generate-button {width:100%;height:30px;min-height:30px;padding:3px 12px;font-size:12px}
 .customer-console .studio-popover>.popover-panel {min-width:210px;padding:14px}
 .customer-console .form-error {font-size:11px}
}
.customer-console .parameter-picker {position:static}
.customer-console .parameter-picker>.popover-panel {left:auto;right:16px;bottom:66px;width:600px;max-width:calc(100% - 32px);padding:22px;border-radius:18px;max-height:calc(100dvh - 220px);overflow:auto}
.customer-console .parameter-choice {min-width:0;border:0;padding:0;margin:0 0 20px}
.customer-console .parameter-choice:last-child {margin-bottom:0}
.customer-console #quote-field:has(.parameter-choice)+#parameter-fields {margin-top:20px}
.customer-console .parameter-choice legend {font-size:14px;font-weight:400;color:var(--muted-foreground);padding:0;margin-bottom:10px}
.customer-console .parameter-options {display:flex;width:100%;padding:0;background:var(--secondary);border-radius:11px;overflow:hidden}
.customer-console .parameter-options>label {position:relative;display:flex;flex:1;min-width:0;margin:0;font-size:14px;font-weight:400;cursor:pointer}
.customer-console .parameter-options input {position:absolute;inset:0;opacity:0;width:100%;height:100%;padding:0;min-width:0;margin:0;cursor:pointer;z-index:1}
.customer-console .parameter-options label>span {display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:42px;padding:8px 10px;border-radius:11px;color:var(--muted-foreground);text-align:center}
.customer-console .parameter-options input:checked+span {background:color-mix(in srgb,var(--foreground) 11%,var(--secondary));color:var(--foreground)}
.customer-console .parameter-options input:focus-visible+span {outline:2px solid var(--ring);outline-offset:-3px}
.customer-console .parameter-options input:disabled+span {opacity:.5;cursor:not-allowed}
.customer-console .ratio-options label>span {flex-direction:column;min-height:76px;padding:9px 4px;gap:4px}
.customer-console .parameter-picker summary>svg:last-child,.customer-console .type-picker summary>svg:last-child {width:14px;height:14px;flex-shrink:0}
.customer-console .studio-popover:is(.parameter-picker,.type-picker,.model-picker)[open]>summary>svg:last-child {transform:rotate(180deg)}
.customer-console #creation-kind {display:flex;align-items:center;gap:7px}
.customer-console #creation-kind svg {flex-shrink:0}
.customer-console .upload-symbol {display:grid;place-items:center}
.customer-console .upload-symbol svg {width:30px;height:30px}
.customer-console .upload-button:has(img) .upload-symbol svg {width:20px;height:20px}
.customer-console .reference-tile [data-remove] svg {width:12px;height:12px}
.customer-console #new-group>span svg {width:24px;height:24px}
@media(max-width:767px){
 .customer-console .parameter-picker>.popover-panel {bottom:54px;right:10px;max-width:calc(100% - 20px);padding:16px;max-height:calc(100dvh - 250px)}
 .customer-console .parameter-choice legend {font-size:12px}
 .customer-console .parameter-options label>span {font-size:12px;min-height:36px;padding:7px 4px}
 .customer-console .ratio-options label>span {min-height:64px;padding:6px 2px}
 .customer-console .ratio-options svg {width:26px;height:26px}
 .customer-console .ratio-options {flex-wrap:wrap}
 .customer-console .ratio-options>label {min-width:17%}
 .customer-console .upload-symbol svg {width:24px;height:24px}
 .customer-console #creation-kind {gap:4px}
 .customer-console #creation-kind svg {width:16px;height:16px}
}
.customer-console .composer-tools>.studio-popover>summary {height:36px;padding:0 10px;border:1px solid var(--border);border-radius:9px;font-size:12px;background:var(--background)}
.customer-console .composer-tools>.studio-popover>summary:hover {background:var(--secondary)}
.customer-console .composer-tools>.studio-popover[open]>summary {background:var(--secondary);border-color:var(--ring)}
.customer-console .composer-tools>.studio-popover>summary>svg {flex-shrink:0}
.customer-console .composer-tools>.studio-popover>summary>svg:last-child {width:14px;height:14px}
.customer-console .model-picker {position:relative;min-width:0;max-width:240px;flex:1}
.customer-console #selected-model {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:left}
.customer-console .model-picker>.popover-panel {left:0;right:auto;bottom:calc(100% + 12px);width:380px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 240px);overflow:auto;padding:8px;border-radius:18px}
.customer-console .type-picker>.popover-panel {padding:8px;border-radius:18px}
.customer-console .model-options button {display:flex;gap:12px;width:100%;border:0;border-radius:11px;padding:12px;text-align:left;background:transparent;justify-content:flex-start}
.customer-console .model-options button:hover,.customer-console .model-options button[aria-pressed=true] {background:var(--secondary)}
.customer-console .model-options button>span:nth-child(2) {flex:1;min-width:0}
.customer-console .model-options strong {display:block;font-size:13px;font-weight:500}
.customer-console .model-options small {display:block;font-size:11px;line-height:18px;margin-top:3px;white-space:normal;color:var(--muted-foreground)}
.customer-console .model-options .model-selected {opacity:0;font-size:16px}
.customer-console .model-options button[aria-pressed=true] .model-selected {opacity:1}
.customer-console .image-open {display:block;padding:0;border:0;background:transparent;min-height:0;min-width:0;width:100%;height:100%;cursor:zoom-in;overflow:hidden}
.customer-console .work-references .image-open {width:44px;height:44px;border-radius:7px}
@media(max-width:767px){
 .customer-console .composer-tools>.studio-popover>summary {height:32px;font-size:11px;padding:0 8px;gap:5px}
 .customer-console .model-picker {position:static;max-width:none}
 .customer-console .model-picker>.popover-panel {left:auto;right:10px;bottom:54px;max-width:calc(100% - 20px);max-height:calc(100dvh - 250px)}
}
.customer-console dialog.image-viewer {width:calc(100vw - 40px);height:calc(100dvh - 40px);max-width:none;max-height:none;padding:0;border:1px solid var(--border);border-radius:18px;background:var(--background);color:var(--foreground);overflow:hidden}
.customer-console dialog.image-viewer::backdrop {background:color-mix(in srgb,var(--foreground) 25%,transparent)}
.customer-console .viewer-header {height:60px;display:flex;align-items:center;gap:16px;padding:0 20px;font-size:14px}
.customer-console .viewer-counter {color:var(--muted-foreground);font-size:12px;font-variant-numeric:tabular-nums}
.customer-console .viewer-header>button {margin-left:auto}
.customer-console .image-viewer button,.customer-console .viewer-download {display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid var(--border);border-radius:10px;background:var(--secondary);color:var(--foreground)}
.customer-console .image-viewer button:hover:not(:disabled),.customer-console .viewer-download:hover {background:var(--muted)}
.customer-console .image-viewer button:disabled {opacity:.3}
.customer-console .viewer-stage {position:absolute;inset:60px 24px 84px;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none}
.customer-console .viewer-stage img {display:block;flex-shrink:0;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;pointer-events:none;user-select:none}
.customer-console .viewer-stage.can-pan {cursor:grab}
.customer-console .viewer-stage.dragging {cursor:grabbing}
.customer-console .viewer-error {position:absolute;bottom:16px;left:0;right:0;text-align:center;font-size:13px;color:var(--danger)}
.customer-console .viewer-error:empty {display:none}
.customer-console .image-viewer .viewer-prev,.customer-console .image-viewer .viewer-next {position:absolute;top:50%;border-radius:50%;background:var(--secondary);z-index:2}
.customer-console .viewer-prev {left:12px}
.customer-console .viewer-next {right:12px}
.customer-console .viewer-prev svg {transform:rotate(90deg)}
.customer-console .viewer-next svg {transform:rotate(-90deg)}
.customer-console .viewer-footer {position:absolute;bottom:20px;left:20px;right:20px;display:flex;align-items:center;justify-content:center;gap:16px}
.customer-console .viewer-zoom {display:flex;align-items:center;gap:6px;padding:5px;border:1px solid var(--border);border-radius:14px;background:var(--secondary)}
.customer-console .viewer-zoom button {border:0;background:transparent}
.customer-console .viewer-zoom output {min-width:52px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums}
.customer-console .viewer-zoom .viewer-fit {margin-left:3px;border-left:1px solid var(--border);border-radius:0 8px 8px 0}
.customer-console .viewer-footer .viewer-download {position:absolute;right:0;width:auto;padding:0 14px;gap:8px;font-size:13px;text-decoration:none}
@media(max-width:767px){
 .customer-console dialog.image-viewer {width:calc(100vw - 16px);height:calc(100dvh - 16px)}
 .customer-console .viewer-header {height:52px;padding:0 12px}
 .customer-console .viewer-stage {inset:52px 12px 76px}
 .customer-console .viewer-footer {bottom:12px;left:12px;right:12px;gap:10px}
 .customer-console .viewer-zoom {gap:2px;padding:4px}
 .customer-console .viewer-footer .viewer-download {position:static;padding:0;width:36px;flex-shrink:0}
 .customer-console .viewer-download span {display:none}
 .customer-console .viewer-prev {left:6px}
 .customer-console .viewer-next {right:6px}
}
.customer-console .stats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}
.customer-console .stat {border:1px solid var(--border);background:var(--background);padding:20px}
.customer-console .stat-label {font-size:13px;color:var(--muted-foreground)}
.customer-console .stat-value {font-size:30px;font-weight:600;line-height:40px;margin:8px 0}
.customer-console .stat-note {font-size:12px;color:var(--muted-foreground)}
.customer-console .panel {border:1px solid var(--border);background:var(--background);margin-bottom:24px;overflow:hidden}
.customer-console .panel-head {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border)}
.customer-console .panel-head h2 {font-size:16px;line-height:24px}
.customer-console .panel-body {padding:20px;font-size:14px}
.customer-console .panel-body p+p {margin-top:12px}
.customer-console .table-wrap {overflow-x:auto}
.customer-console .token-toolbar {display:flex;gap:12px;margin-bottom:20px}
.customer-console .token-toolbar input {max-width:460px;min-width:0}
.customer-console .token-icon {display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;padding:0}
.customer-console .token-table {border:1px solid var(--border);background:var(--background)}
.customer-console .token-table th {background:transparent;color:var(--foreground);font-weight:600;font-size:14px;padding-top:20px;padding-bottom:20px}
.customer-console .token-mask {font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.customer-console .token-current {display:block;color:var(--muted-foreground);font-weight:400;font-size:12px;margin-top:4px}
.customer-console .token-models {max-width:280px;overflow:hidden;text-overflow:ellipsis}
.customer-console .token-console>.pager {border-top:0;padding:16px 0}
.customer-console .token-page {background:var(--primary);color:var(--primary-foreground);padding:6px 12px}
.customer-console .token-details dd {overflow-wrap:anywhere}
.customer-console .token-value {display:flex;align-items:center;gap:12px}
.customer-console .token-value .token-icon {width:32px;min-height:32px;border-color:transparent;background:transparent}
.customer-console table {border-collapse:collapse;width:100%;white-space:nowrap;font-size:13px}
.customer-console th {text-align:left;font-weight:500;font-size:12px;color:var(--muted-foreground);background:var(--muted);padding:12px 20px}
.customer-console td {padding:16px 20px;border-top:1px solid var(--border);max-width:400px;overflow:hidden;text-overflow:ellipsis}
.customer-console tbody tr:hover {background:var(--muted)}
.customer-console .badge {display:inline-flex;align-items:center;white-space:nowrap;padding:2px 7px;border:1px solid var(--border);background:var(--muted);color:var(--muted-foreground);font-size:12px;line-height:18px}
.customer-console .badge.good {color:var(--success)}
.customer-console .badge.warn {color:var(--warning-foreground);background:#fac80026;border-color:#fac80055}
.customer-console .badge.bad {color:var(--danger)}
.customer-console .notice {background:var(--background);border:1px solid var(--border);border-left:3px solid var(--primary);padding:16px 20px;margin-bottom:24px;color:var(--muted-foreground);font-size:13px;line-height:24px}
.customer-console .error {padding:16px;border:1px solid var(--danger);color:var(--danger);font-size:14px}
.customer-console .field {margin-bottom:20px}
.customer-console .field small {display:block;font-size:12px;line-height:20px;margin-top:6px}
.customer-console :is(.actions,.form-actions,.task-detail-actions) {display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.customer-console .form-actions {justify-content:flex-end;padding-top:16px}
.customer-console .task-detail-actions {margin-top:20px}
.customer-console button.danger {color:var(--danger)}
.customer-console .link-button {border:0;padding:0;min-height:0;background:transparent;text-decoration:underline;text-underline-offset:3px}
.customer-console .mono {font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.customer-console .pager {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-top:1px solid var(--border);font-size:12px;color:var(--muted-foreground)}
.customer-console .amount {font-variant-numeric:tabular-nums}
.customer-console dialog {width:830px;max-width:calc(100vw - 32px);max-height:90vh;padding:24px;color:var(--foreground);background:var(--background);border:1px solid var(--border);border-radius:var(--popover-radius);box-shadow:0 16px 64px #0002}
.customer-console dialog::backdrop {background:#0006}
.customer-console .dialog-head {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.customer-console .dialog-head h2 {font-size:18px}
.customer-console .dialog-head button {font-size:22px;width:28px;min-height:28px;padding:0;border:0}
.customer-console .details {display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;font-size:13px;margin:0}
.customer-console .details dt {color:var(--muted-foreground)}
.customer-console .details dd {margin:0;overflow-wrap:anywhere}
.customer-console .details dd p {margin-bottom:6px}
.customer-console pre {background:var(--muted);padding:16px;font:12px/1.7 ui-monospace,monospace;overflow:auto;white-space:pre-wrap;word-break:break-all}
.customer-console .task-result-gallery {display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:20px}
.customer-console .task-result-gallery :is(img,video) {width:100%;max-height:460px;object-fit:contain;background:var(--secondary)}
.customer-console .task-result-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.customer-console .task-output-links {display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}
.customer-console .download-link {border-radius:var(--control-radius);display:inline-flex;align-items:center;padding:6px 12px;border:1px solid var(--border);font-size:13px;min-height:32px}
.customer-console .download-link:hover {background:var(--muted)}
.customer-console .creation-detail {font-size:13px;color:var(--muted-foreground)}
.customer-console .creation-detail p {white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}
.customer-console #toast {display:none;position:fixed;z-index:40;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:12px 20px;background:var(--foreground);color:var(--background);box-shadow:0 4px 16px #0002;font-size:13px}
@media(max-width:1023px) {
 .customer-console .model-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .customer-console .footer-main {gap:24px;grid-template-columns:2fr 1fr 1fr}
 .customer-console .footer-main>div:last-child {display:none}
 .customer-console .stats {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px) {
 .customer-console .customer-content {padding:28px 16px 40px}
 .customer-console h1 {font-size:26px;line-height:34px}
 .customer-console .model-grid {grid-template-columns:1fr}
 .customer-console .model-card {min-height:238px}
 .customer-console .footer-main {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .customer-console .footer-about {grid-column:1/-1}
 .customer-console .customer-footer {padding:32px 16px 0}
 .customer-console .footer-bottom {flex-direction:column;gap:8px}
 .customer-console :is(.heading,.works-heading) {align-items:flex-start;flex-wrap:wrap}
 .customer-console .stat {padding:16px}
 .customer-console .stat-value {font-size:26px}
 .customer-console dialog {padding:20px;max-width:calc(100vw - 24px)}
 .customer-console .details {grid-template-columns:80px minmax(0,1fr)}
 .customer-console .task-result-gallery {grid-template-columns:1fr}
 .customer-console .task-result-heading {align-items:flex-start}
}

/* Public account menu and the separate customer console. */
.customer-console .account-menu {position:relative}
.customer-console .account-menu>summary {display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}
.customer-console .account-menu>summary::-webkit-details-marker {display:none}
.customer-console .account-menu .avatar,.customer-console .profile-avatar {background:radial-gradient(at 0 100%,#d2baff,transparent 72%),linear-gradient(145deg,#6524d8,#855cf4 60%,#b3a3f3);border:1px solid #c4afe7}
.customer-console .account-caption {display:none}
.customer-console .account-popover {position:absolute;right:0;top:calc(100% + 12px);width:200px;padding:8px;border-radius:var(--popover-radius);background:var(--background);border:1px solid var(--border);box-shadow:0 4px 12px #00000016;z-index:35}
.customer-console .account-identity {padding:8px;border-bottom:1px solid var(--border);margin-bottom:4px}
.customer-console .account-identity :is(strong,small) {display:block}
.customer-console .account-popover :is(a,button) {border-radius:var(--control-radius);display:flex;align-items:center;gap:8px;width:100%;border:0;text-align:left;justify-content:flex-start;padding:8px;font-size:14px}
.customer-console .account-popover :is(a,button):hover {background:var(--muted)}
.customer-console .account-popover #logout {border-top:1px solid var(--border);margin-top:4px}
.customer-console .account-shell {min-height:100vh;display:flex}
.customer-console .account-sidebar {position:fixed;inset:0 auto 0 0;width:208px;display:flex;flex-direction:column;border-right:1px solid var(--border);background:var(--background);padding:16px 8px;z-index:30}
.customer-console .account-brand {padding:0 12px 30px}
.customer-console .account-brand .orbit-brand {font-size:16px}
.customer-console .account-brand>small {display:block;margin-left:36px;font-size:12px}
.customer-console .sidebar-label {padding:8px 12px;font-size:12px;color:var(--muted-foreground)}
.customer-console .account-sidebar nav {display:grid;gap:4px}
.customer-console .account-sidebar nav a,.customer-console .sidebar-bottom>a {display:flex;gap:8px;align-items:center;padding:8px 12px;min-height:36px}
.customer-console .account-sidebar nav a:hover {background:var(--muted)}
.customer-console .account-sidebar nav a.active {background:color-mix(in srgb,var(--primary) 10%,transparent);color:var(--warning-foreground)}
.customer-console .sidebar-bottom {margin-top:auto;padding-top:28px}
.customer-console .sidebar-bottom .account-menu {padding:12px}
.customer-console .sidebar-bottom .avatar {width:36px;height:36px;flex-shrink:0}
.customer-console .sidebar-bottom .account-caption {display:flex;flex-direction:column;min-width:0}
.customer-console .sidebar-bottom .account-caption strong {font-size:14px;font-weight:500}
.customer-console .sidebar-bottom .account-caption small {font-size:12px}
.customer-console .sidebar-bottom .account-popover {left:12px;right:auto;top:auto;bottom:calc(100% + 4px)}
.customer-console .account-main {position:relative;margin-left:208px;padding:16px;width:calc(100% - 208px);min-width:0}
.customer-console .account-main h1 {font-size:24px;line-height:32px;letter-spacing:-.6px}
.customer-console .account-main .heading {padding-right:80px}
.customer-console .console-tools {position:absolute;top:16px;right:16px;display:flex;gap:4px}
.customer-console .console-tools .icon-button {width:28px;min-height:28px;padding:3px}
.customer-console .dashboard-heading {display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:12px;padding-right:72px}
.customer-console #dashboard-range {display:flex;gap:6px;align-items:center;min-width:0}
.customer-console #dashboard-range :is(input,select) {width:auto;height:30px;font-size:12px;padding:3px 6px}
.customer-console #dashboard-range button {min-height:30px;font-size:12px;padding:3px 8px}
.customer-console .profile-body {padding:24px;display:flex;gap:32px}
.customer-console .profile-avatar {width:64px;height:64px;flex-shrink:0}
.customer-console .profile-body .details {flex:1;margin:0}
.customer-console .page-docs {padding:0 24px;max-width:1152px}
.customer-console .docs-layout {display:grid;grid-template-columns:240px minmax(0,1fr);min-height:calc(100vh - 60px)}
.customer-console .docs-sidebar {padding:20px 24px 40px 0;border-right:1px solid var(--border);position:sticky;top:60px;height:calc(100vh - 60px);overflow:auto}
.customer-console .docs-sidebar h4 {color:var(--muted-foreground);font-size:12px;font-weight:500;margin:4px 12px 12px}
.customer-console .docs-sidebar h4:not(:first-child) {margin-top:28px}
.customer-console .docs-sidebar button {display:flex;justify-content:flex-start;width:100%;gap:10px;border:0;background:transparent;padding:8px 12px;color:var(--muted-foreground);font-weight:400}
.customer-console .docs-sidebar button[aria-current=page] {color:var(--foreground);font-weight:500}
.customer-console .docs-article {padding:36px 0 64px 32px;min-width:0}
.customer-console .docs-article h1 {margin-bottom:32px}
.customer-console .docs-article h2 {font-size:24px;margin:44px 0 24px}
.customer-console .docs-article h3 {font-size:18px;margin:32px 0 24px}
.customer-console .docs-article>p {color:var(--muted-foreground);font-size:16px;line-height:28px;margin:20px 0}
.customer-console .docs-article table {font-size:14px;background:transparent}
.customer-console .docs-article td {padding:8px 16px}
.customer-console .doc-code {margin:20px 0;background:var(--muted);border:1px solid var(--border)}
.customer-console .doc-code>div {display:flex;justify-content:space-between;align-items:center;padding:8px 16px;font-size:12px;color:var(--muted-foreground);border-bottom:1px solid var(--border)}
.customer-console .doc-code pre {padding:16px;margin:0;background:transparent;line-height:1.7;font-size:13px;overflow:auto;max-width:100%}
.customer-console .doc-code button {font-size:12px;min-height:24px;padding:2px 8px;background:transparent}
.customer-console .page-contact {max-width:none;background:var(--background);padding:0 24px}
.customer-console .contact-article {max-width:944px;margin:0 auto;padding:40px 0 64px;font-size:16px;line-height:28px}
.customer-console .contact-back {display:block;font-size:14px;color:var(--muted-foreground);margin-bottom:32px}
.customer-console .contact-article h1 {font-size:36px;line-height:40px;margin-bottom:32px}
.customer-console .contact-article>p {margin:24px 0;color:var(--muted-foreground);line-height:28px}
.customer-console .contact-article .contact-lead {color:var(--foreground)}
.customer-console .contact-details p {margin:32px 0;overflow-wrap:anywhere}
.customer-console .contact-details a {font-weight:500}
.customer-console .contact-article h2 {margin:48px 0 12px;font-size:24px}
.customer-console .contact-codes {display:flex;gap:48px;flex-wrap:wrap;margin-top:32px}
.customer-console .contact-codes figure {margin:0;text-align:center}
.customer-console .contact-codes img {width:200px;height:200px;object-fit:contain;background:#fff}
.customer-console .contact-codes figcaption {margin-top:12px}
@media(max-width:1100px){
 .customer-console .dashboard-heading {align-items:flex-start;flex-direction:column}
 .customer-console .share-layout {flex-direction:column}
 .customer-console .share-legend {width:100%}
}
@media(max-width:767px){
 .customer-console .account-sidebar {position:static;width:100%;padding:12px;border-right:0;border-bottom:1px solid var(--border)}
 .customer-console .account-shell {display:block}
 .customer-console .account-brand {padding:0 0 8px}
 .customer-console .account-brand>small,.customer-console .sidebar-label {display:none}
 .customer-console .account-sidebar nav {display:flex;gap:4px;overflow-x:auto}
 .customer-console .account-sidebar nav a {white-space:nowrap;font-size:12px;padding:8px}
 .customer-console .sidebar-bottom {padding:8px 0 0;display:flex;align-items:center;justify-content:space-between}
 .customer-console .sidebar-bottom .account-menu {padding:0}
 .customer-console .sidebar-bottom .account-caption {display:none}
 .customer-console .sidebar-bottom .account-popover {left:auto;right:0;top:calc(100% + 8px);bottom:auto}
 .customer-console .account-main {margin:0;width:100%;padding:16px}
 .customer-console .dashboard-heading {padding-right:0;gap:20px}
 .customer-console #dashboard-range {flex-wrap:wrap;width:100%}
 .customer-console #dashboard-range input {width:124px;font-size:11px}
 .customer-console .chart-card {padding:16px 12px}
 .customer-console .profile-body {padding:16px;gap:16px;flex-direction:column}
 .customer-console .page-docs {padding:0 16px}
 .customer-console .docs-layout {display:block}
 .customer-console .docs-sidebar {display:flex;gap:4px;position:static;height:auto;padding:16px 0;border-right:0;border-bottom:1px solid var(--border);overflow-x:auto}
 .customer-console .docs-sidebar h4 {display:none}
 .customer-console .docs-sidebar button {width:auto;white-space:nowrap;font-size:12px;padding:6px}
 .customer-console .docs-article {padding:28px 0 48px}
 .customer-console .docs-article h1 {font-size:28px}
 .customer-console .docs-article h2 {font-size:20px}
 .customer-console .docs-article>p {font-size:14px}
 .customer-console .contact-article {font-size:14px;padding-top:28px}
 .customer-console .contact-article h1 {font-size:30px}
 .customer-console .contact-codes {gap:24px}
 .customer-console .contact-codes img {width:150px;height:150px}
}

.customer-console .image-tile {position:relative;min-width:0;min-height:0;overflow:hidden}
.customer-console .image-download {position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--border);border-radius:10px;background:var(--background);color:var(--foreground);box-shadow:0 2px 12px #0002;opacity:0;pointer-events:none;transition:opacity .15s,background .15s}
.customer-console .image-tile:is(:hover,:focus-within) .image-download {opacity:1;pointer-events:auto}
.customer-console .image-download:hover {background:var(--secondary)}
@media(hover:none){.customer-console .image-download {opacity:1;pointer-events:auto}}
.customer-console .customer-shell:has(.page-model) {background:var(--background)}
.customer-console .model-back {display:inline-block;margin:42px 0 32px;color:var(--muted-foreground)}
.customer-console .model-hero {padding:0 22px 52px}
.customer-console .model-identity {display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}
.customer-console .model-identity>div {min-width:0}
.customer-console .model-identity .model-mark {width:48px;height:48px;flex-shrink:0}
.customer-console .model-identity .model-mark img {width:100%;height:100%}
.customer-console .model-identity h1 {font-size:24px;overflow-wrap:anywhere}
.customer-console .model-identity .model-code {font-size:14px}
.customer-console .model-identity .model-code svg {opacity:1}
.customer-console .model-hero>p {margin-top:20px;color:var(--muted-foreground)}
.customer-console .model-tabs {display:flex;border-bottom:1px solid var(--border);gap:8px}
.customer-console .model-tabs button {border:0;border-bottom:2px solid transparent;padding:12px 8px;background:transparent;color:var(--muted-foreground)}
.customer-console .model-tabs button[aria-selected=true] {border-bottom-color:var(--foreground);color:var(--foreground)}
.customer-console .model-panel {padding:40px 22px;min-height:360px}
.customer-console .model-panel section+section {margin-top:44px}
.customer-console .model-price-options {display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:22px}
.customer-console .model-price-options article {padding:18px;border:1px solid var(--border);background:var(--secondary)}
.customer-console .model-price-options p {color:var(--muted-foreground);margin:8px 0 24px}
.customer-console .model-section-title {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.customer-console .model-panel section>p {color:var(--muted-foreground)}
.customer-console .model-code-block {position:relative;margin:20px 0;border:1px solid var(--border);background:var(--secondary)}
.customer-console .model-code-block>button {position:absolute;top:12px;right:12px;border-radius:9px}
.customer-console .model-code-block pre {margin:0;padding:64px 20px 20px;overflow:auto;font-size:13px}
.customer-console .model-create {margin-left:20px;background:var(--primary);color:var(--primary-foreground);border-radius:9px}
@media(max-width:767px){.customer-console .model-hero,.customer-console .model-panel {padding-left:0;padding-right:0}.customer-console .model-identity h1 {font-size:21px}.customer-console .model-section-title {align-items:flex-start;flex-direction:column}.customer-console .model-tabs {gap:0}.customer-console .model-tabs button {font-size:12px}}

.customer-console .filter-popover .parameter-choice {margin-top:16px}
.customer-console .filter-popover .parameter-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;background:transparent}
.customer-console .filter-popover .parameter-options label>span {min-height:32px;font-size:12px;border-radius:var(--control-radius)}
.customer-console .range-picker {position:relative;min-width:112px}
.customer-console .range-picker>summary {display:flex;align-items:center;justify-content:space-between;gap:12px;height:32px;padding:4px 10px;border:1px solid var(--border);border-radius:var(--control-radius);background:var(--background);font-size:12px}
.customer-console .range-picker>.popover-panel {top:calc(100% + 8px);bottom:auto;left:0;min-width:160px;padding:8px}
.customer-console #dashboard-range .range-picker button {display:flex;width:100%;padding:8px 10px;min-height:34px;text-align:left;justify-content:flex-start;border:0;background:transparent}
.customer-console #dashboard-range .range-picker button:is(:hover,[aria-pressed=true]) {background:var(--secondary)}
.customer-console .customer-shell {background:var(--background)}
