Spaces:
Running on Zero
Running on Zero
Download assets/original.css from FanLR/GroundingPI: direct link, hf CLI and curl.
- Browser
- Download file 29.3 kB
-
https://huggingface.co/spaces/FanLR/GroundingPI/resolve/main/assets/original.css
- Command line
-
hf download hf://spaces/FanLR/GroundingPI/assets/original.css
-
curl -L -o original.css https://huggingface.co/spaces/FanLR/GroundingPI/resolve/main/assets/original.css
29.3 kB
| /* Original Oxygen Spatial console, adapted to the standalone Gradio DOM. | |
| Visual authority: X-CG_demo/src/styles.css (.heroBoard / .controlPanel / | |
| .controlCard / .runButton / .lowerGrid), verified on 2026-09-11. | |
| paper.css retains coordinate, focus, zoom and accessible state primitives. | |
| The previous frosted.css is deliberately NOT loaded. */ | |
| :root { | |
| --ink:#222132; --muted:#657083; --line:#e4deed; | |
| --green:#5e7d24; --lime:#91c331; --paper:#f4f5f8; | |
| --surface:#fff; --canvas:#f5f3f9; --selection:#eee7f7; | |
| /* Paper palette: purple for perception, lime for the primary action. */ | |
| --purple:#784ebc; --purple-deep:#5b358b; --lavender:#eee7f7; | |
| --ui:Manrope,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; | |
| --mono:ui-monospace,SFMono-Regular,Menlo,monospace; | |
| --ease:cubic-bezier(.16,1,.3,1); | |
| } | |
| .gradio-container { | |
| background:radial-gradient(circle at 18% 8%,rgba(120,78,188,.06),transparent 28%),linear-gradient(180deg,#fff 0%,#f4f5f8 56%,#fff 100%); | |
| --block-radius:8px; --color-accent:var(--green); | |
| } | |
| * {scrollbar-color:#c2d2b6 transparent} | |
| ::selection {background:#e5d7f5;color:#172018} | |
| input,textarea {caret-color:var(--green)} | |
| .studio-header {justify-content:space-between;gap:18px;padding:0 2px 22px;align-items:center} | |
| .header-description {margin:8px 0 0;color:var(--muted);font:500 14px/1.6 var(--ui)} | |
| .header-scope {color:var(--muted);font:600 12px var(--ui);white-space:nowrap} | |
| .chapter-mark {display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:8px;background:#32831b;color:#fff;font:900 13px var(--mono)} | |
| .eyebrow {display:block;color:var(--green);font:850 11px/1.6 var(--mono);letter-spacing:.07em;text-transform:uppercase} | |
| .studio-header .eyebrow {margin:0 0 3px} | |
| .studio-header h1 {margin:0;color:var(--ink);font:850 32px/1.12 var(--ui);letter-spacing:0} | |
| .grounding-intro {display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:0 2px 18px} | |
| .grounding-intro h2 {margin:5px 0 0;font:800 25px/1.18 var(--ui);letter-spacing:0;color:var(--ink)} | |
| .grounding-intro p {max-width:350px;color:var(--muted);font:700 13px/1.55 var(--ui);text-align:right;margin:0} | |
| #console {display:flex;flex-direction:column;gap:16px;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible} | |
| #workspace-top {display:flex;flex-wrap:nowrap;align-items:stretch;gap:0;min-height:620px;border:1px solid #e4deed;border-radius:8px;overflow:visible;background:radial-gradient(circle at 75% 36%,rgba(145,195,49,.06),transparent 34%),linear-gradient(120deg,#fff 0%,#fcfbfe 46%,#f5f3f9 100%);box-shadow:0 30px 85px rgba(45,29,69,.06)} | |
| #controls {position:relative;z-index:12;flex:0 0 28.5%;min-width:290px;padding:28px;margin:0;gap:20px;background:#ffffffed;border-right:1px solid #e4deed;border-radius:8px 0 0 8px;backdrop-filter:none;-webkit-backdrop-filter:none} | |
| #controls>* {flex-grow:0} | |
| .control-brand {display:grid;gap:13px;padding-bottom:0} | |
| .xpeng-logo {width:200px;height:auto;margin:0;border-radius:3px;filter:drop-shadow(0 16px 28px rgba(47,125,36,.14))} | |
| .control-brand .eyebrow {font-size:11px;line-height:1.45} | |
| .control-brand h2 {margin:4px 0 0;font:850 clamp(32px,2.8vw,44px)/1.08 var(--ui);letter-spacing:0;color:var(--ink)} | |
| .control-brand h2 span {color:#91c331} | |
| .control-brand p {max-width:390px;margin:0;font:700 14px/1.6 var(--ui);color:#657083} | |
| #control-settings {padding:14px;gap:14px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:none;overflow:visible} | |
| #control-fields {flex-wrap:nowrap;gap:12px;align-items:stretch} | |
| #control-fields>.form {min-width:0;flex:1 1 0;width:0} | |
| #control-settings .form {min-width:0;overflow:visible} | |
| #media-type {flex:0 0 40%;min-width:0} | |
| .media-field>span,#route-select [data-testid=block-info] {display:block;margin-bottom:8px;color:#657386;font:800 10px/1.4 var(--mono);letter-spacing:.07em;text-transform:uppercase} | |
| .media-field>div {display:flex;align-items:stretch;height:39px;padding:3px;border:1px solid #e4deed;border-radius:8px;background:#f2eff7} | |
| .media-field>div>span {display:grid;place-items:center;min-width:64px;padding:0 12px;border-radius:6px;color:#0c1608;background:#91c331;font:800 13px var(--ui);box-shadow:0 7px 18px rgba(131,200,50,.18)} | |
| #route-select {flex:1 1 0;min-width:0;background:transparent;border:0;padding:0;overflow:visible} | |
| #route-select label {display:block;min-height:0;padding:0;margin:0;background:transparent;box-shadow:none;border:0;border-radius:0} | |
| #route-select .wrap {display:flex;position:relative;flex-wrap:nowrap;gap:4px;min-height:39px;border:1px solid #e4deed;border-radius:8px;padding:6px 10px;background:#fff;box-shadow:none;overflow:visible;isolation:auto} | |
| #route-select .container,#route-select .wrap-inner {min-width:0;width:100%} | |
| #route-select .secondary-wrap {min-width:0;width:100%;display:flex;align-items:center;gap:6px} | |
| #route-select input {position:static;flex:1 1 0;min-width:0;width:100%;height:auto;opacity:1;margin:0;padding:0;color:#172018;font:750 12px var(--ui)} | |
| #route-select .icon-wrap {flex:0 0 14px;width:14px;height:14px} | |
| #route-select svg,#advanced-options>.label-wrap svg {width:14px;height:14px;color:var(--muted)} | |
| #console .wrap.hide {display:none} | |
| #route-select .wrap:focus-within {border-color:var(--green);outline:2px solid #ddd0ee} | |
| #route-select ul {z-index:60;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 28px rgba(25,49,31,.14)} | |
| #route-select li {font:650 13px var(--ui)} | |
| #route-select li:hover {background:var(--selection)} | |
| #upload-button {width:100%;flex:0 0 auto;min-width:0;min-height:48px;border:1px dashed #c1dca6;border-radius:8px;padding:12px;background:#fcfbfe;color:#30263f;font:750 12px var(--ui);box-shadow:none;text-align:left;justify-content:flex-start;gap:10px} | |
| #upload-button:hover {background:#f3eef9;border-color:var(--green)} | |
| #upload-button::before {content:"";display:block;width:18px;height:18px;flex-shrink:0;background:var(--green);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M11 3H4v14h13v-7M13 4h6M16 1v6M4 14l4-4 3 3 2-2 4 4'/%3E%3Ccircle cx='8' cy='7' r='1'/%3E%3C/svg%3E") center/contain no-repeat} | |
| #advanced-options {border:0;border-top:1px solid #e9e5ef;border-bottom:1px solid #e9e5ef;border-radius:0;background:transparent;padding:0} | |
| #advanced-options>.label-wrap {display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 0;font:750 10px var(--mono);letter-spacing:.055em;text-transform:uppercase;min-height:39px;color:var(--muted);gap:4px} | |
| #advanced-options>.label-wrap>span,#prompt-console>.label-wrap>span,#output-console>.label-wrap>span,#source-details>.label-wrap>span {font:inherit;color:inherit;letter-spacing:inherit} | |
| #advanced-options>.label-wrap>.icon {flex-shrink:0;font-size:10px} | |
| #advanced-options>.label-wrap {overflow:hidden;font-family:var(--ui);font-size:12px;letter-spacing:0} | |
| #advanced-options>.label-wrap>span {min-width:0;overflow-wrap:anywhere} | |
| .runtime-options {display:grid;grid-template-columns:auto 1fr;gap:10px;font:12px/1.6 var(--ui);color:var(--muted);padding:10px 0} | |
| .runtime-options b {text-align:right;overflow-wrap:anywhere;color:var(--ink);font-weight:650} | |
| .runtime-options small {grid-column:1/-1;font-size:11px;line-height:1.7} | |
| #service-panel {padding-top:12px;border-top:1px solid var(--line);gap:7px} | |
| .api-status {align-items:center;gap:7px}.api-status b {font-size:12px}.api-status small {flex-basis:100%;font:400 12px/1.65 var(--ui);color:var(--muted)} | |
| .connection-detail {font:12px/1.6 var(--ui);color:var(--muted)} | |
| .connection-detail summary {cursor:pointer;padding:4px 0}.connection-detail code {display:block;max-height:90px;overflow:auto;overflow-wrap:anywhere;font:11px/1.6 var(--mono)} | |
| .api-status,.api-status span {font:12px/1.65 var(--ui);color:var(--muted)} | |
| .api-status.online {color:#168a45}.api-status.offline {color:#a53246} | |
| #health-button {font:12px var(--ui);min-height:36px;text-decoration-color:#9dba89} | |
| #run-button {display:flex;align-items:center;justify-content:center;gap:10px;margin-top:auto;flex:0 0 auto;width:100%;min-width:0;min-height:54px;border-radius:999px;color:#0b1408;background:linear-gradient(180deg,#a3d749,#91c331);font:850 16px var(--ui);box-shadow:0 20px 40px rgba(118,184,38,.28),inset 0 1px 0 rgba(255,255,255,.5)} | |
| #run-button::before {content:"";width:17px;height:17px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='m5 3 11 7-11 7Z'/%3E%3C/svg%3E") center/contain no-repeat} | |
| #run-button:hover:not(:disabled) {background:linear-gradient(180deg,#ade153,#98ca39)} | |
| #run-button:disabled {background:#edf4e7;color:#536947;box-shadow:none} | |
| #run-button.is-waiting {color:transparent}#run-button.is-waiting::before {visibility:hidden} | |
| #mobile-run-button {display:none} | |
| #task-guide {padding:20px 24px 0} | |
| .task-guide {display:grid;gap:5px}.task-guide strong {font:750 17px/1.4 var(--ui);color:var(--ink)} | |
| .task-guide p {margin:0;color:#51495e;font:500 13px/1.6 var(--ui)} | |
| .task-guide small {color:var(--muted);font:400 12px/1.6 var(--ui)} | |
| #visual-stage {position:relative;isolation:isolate;flex:1 1 0;min-width:0;gap:0;padding:0;overflow:hidden;border-radius:0 8px 8px 0;background:transparent} | |
| #stage-toolbar {position:relative;width:100%;z-index:8;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:18px 22px 8px;background:transparent} | |
| #view-toggle {flex:0 0 auto;width:fit-content;min-width:0;pointer-events:auto} | |
| #view-toggle .wrap {position:relative;isolation:isolate;padding:3px;gap:2px;background:#f2eff7;border:1px solid #e4deed;border-radius:8px;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none} | |
| #view-toggle label {border-radius:6px;min-height:30px;padding:6px 10px;font:700 11px var(--ui);color:#657083} | |
| #view-toggle label:hover {background:#eee7f7} | |
| #view-toggle label:has(input:checked) {color:#30263f} | |
| #view-toggle .active-tab-indicator {border-radius:6px;background:#fff;box-shadow:0 2px 5px rgba(30,48,35,.08);transition-duration:200ms} | |
| #stage-status {flex:1 1 0;width:auto;min-width:0;min-height:0;max-width:47%;padding:0} | |
| .stage-status {display:flex;gap:7px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;font:600 12px/1.6 var(--ui);color:#30263f;box-shadow:none} | |
| .stage-status span {color:inherit}.stage-status i {margin-top:5px}.stage-status.ready i {background:#784ebc} | |
| .stage-status.reference {color:#5b358b}.stage-status.busy {color:#536947}.stage-status.error {color:#a53246} | |
| .wait-clock {font:700 11px var(--mono);font-variant-numeric:tabular-nums} | |
| #canvas-viewport {padding:16px 54px 48px;background:transparent;isolation:auto} | |
| #stage-image {height:400px;transition-duration:300ms} | |
| #stage-image img {border-radius:8px;box-shadow:0 26px 58px rgba(45,29,69,.09),0 0 0 1px #d9e3d9;filter:none} | |
| .canvas-tools {min-height:48px;padding:8px 24px;font:10px var(--mono);color:var(--muted)} | |
| .image-dimensions {padding:5px 8px;background:#fff;border:1px solid var(--line);border-radius:6px} | |
| .zoom-tools {padding:2px 4px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:none} | |
| .zoom-tools button {width:28px;height:28px;border-radius:5px;color:#657083}.zoom-tools button:hover {background:#eee7f7} | |
| .zoom-value {font:700 10px var(--mono);color:#30263f}.tool-divider {background:var(--line)} | |
| #query-row {position:relative;z-index:2;display:block;padding:10px 54px 28px;background:transparent;border:0} | |
| #query-dock {max-width:600px;margin:0 auto;padding:12px 15px;border:1px solid #e4deed;border-radius:8px;background:#fff;box-shadow:0 18px 42px rgba(45,29,69,.06)} | |
| #query-dock textarea {font:700 13px/1.65 var(--ui);color:#30263f} | |
| #query-dock:focus-within {outline:2px solid #9873c8;outline-offset:2px} | |
| .query-hint {margin:9px 0 0;text-align:center;color:var(--muted);font:650 11px/1.6 var(--ui)} | |
| #review-row {display:flex;flex-wrap:nowrap;gap:24px;align-items:stretch} | |
| #sandbox-panel {flex:0 0 38%;min-width:0;padding:20px;gap:15px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 16px 40px rgba(45,29,69,.04)} | |
| .film-heading {align-items:center;gap:12px}.film-heading h2 {font:800 11px/1.5 var(--mono);letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin:0} | |
| .film-heading small {font:650 11px/1.5 var(--ui);color:var(--green);flex-shrink:0} | |
| #case-gallery {height:166px} | |
| #case-gallery .grid-container {gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))} | |
| #case-gallery .thumbnail-item {min-width:0;height:150px;flex-direction:column;align-items:stretch;gap:6px;border-radius:8px;background:#fff;border-color:var(--line);padding:6px;box-shadow:0 6px 16px rgba(28,52,34,.05)} | |
| #case-gallery .thumbnail-item img {width:100%;height:106px;flex:1 1 0;min-height:0;border-radius:6px} | |
| #case-gallery .caption-label {max-width:100%;text-align:center;font:800 11px/1.5 var(--ui);color:#30263f;padding:3px} | |
| #case-gallery .thumbnail-item:hover {border-color:#9873c8;background:#fcfbfe} | |
| #case-gallery .thumbnail-item.selected {background:#f3eef9;border:2px solid #91c331;padding:5px} | |
| #source-details {margin-top:auto;border:0;border-top:1px solid #e9e5ef;padding:8px 0 0} | |
| #source-details .label-wrap {font:650 11px var(--ui);min-height:30px;color:var(--muted)} | |
| .source-meta {font:12px/1.7 var(--ui)}.source-meta>span,.source-meta small {font-size:11px} | |
| #review-summary {flex:1 1 0;min-width:0;padding:18px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 18px 45px rgba(45,29,69,.04)} | |
| #result-columns {display:flex;flex-wrap:nowrap;gap:16px;align-items:stretch} | |
| #metrics-panel {flex:0 0 40%;min-width:0;padding:14px;border:0;border-radius:0;gap:14px;box-shadow:none;background:#fff} | |
| .inspector-subheading,#sidebar .inspector-heading h2 {font:800 11px/1.5 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--green);margin:0} | |
| .metrics-list {font:11px var(--mono)}.metrics-list>div {border-top:1px solid #e9e5ef;padding:9px 0;gap:14px} | |
| .metrics-list dd {font:750 11px/1.6 var(--mono);color:#30263f} | |
| #sidebar {flex:1 1 0;min-width:0;width:auto;padding:14px;border:0;border-left:1px solid var(--line);border-radius:0;background:#fff;gap:14px;box-shadow:none} | |
| #sandbox-panel>*,#metrics-panel>*,#sidebar>* {flex-grow:0} | |
| .inspector-heading {align-items:flex-start;flex-direction:column;gap:6px}.live-mark {font:11px/1.6 var(--ui);color:var(--muted)} | |
| #targets-panel {flex:1 1 auto} | |
| #targets-content {overflow-x:hidden} | |
| #targets-content .target-chips {margin-left:0;margin-right:0;max-width:100%;box-sizing:border-box} | |
| .empty-targets {min-height:172px;gap:10px}.empty-targets svg {width:26px;height:26px;color:#819275;margin:0} | |
| .empty-targets>b {font:700 12px var(--mono);color:var(--muted)}.empty-targets>small {font:11px/1.8 var(--ui);color:var(--muted);max-width:28ch} | |
| .targets-summary {font:12px var(--ui)}.targets-summary b {font:800 18px var(--ui)}.targets-summary>span {font-size:11px} | |
| .target-chips {max-height:240px;display:flex;flex-direction:column;gap:4px} | |
| .target-chip {min-height:36px;padding:7px 9px;border:1px solid #e4deed;border-radius:6px;background:#fcfbfe;font:600 12px var(--ui);color:#30263f} | |
| .target-chip:hover {background:#f3eef9}.target-chip[aria-pressed=true] {background:#eee7f7;color:#5b358b;border-color:#91c331} | |
| .target-chip i {border-color:#9873c8}.target-chip b {font:700 11px var(--mono);color:var(--green)} | |
| .focus-help,.targets-caption {font:11px/1.7 var(--ui)}.clear-focus {font:650 11px var(--ui)} | |
| .detail-heading {font:700 12px var(--ui)}.detail-heading small {font:11px var(--ui)}.detail-image {height:150px;border-radius:6px}.detail-coordinates {font-size:11px;line-height:1.6} | |
| .focus-dimmer {fill:#172018;opacity:.24;animation-duration:180ms}.focus-outline {stroke:#a3d749;animation-duration:220ms} | |
| .focus-pixels {position:absolute;pointer-events:none;z-index:4;object-fit:fill;box-shadow:none} | |
| .focus-source[hidden] {display:none} | |
| .focus-caption {top:auto;bottom:60px;left:22px;right:auto;width:fit-content;max-width:calc(100% - 44px);padding:5px 6px 5px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#30263f;font:650 12px var(--ui);box-shadow:0 4px 14px rgba(25,49,31,.1)} | |
| .focus-caption span {white-space:normal;overflow-wrap:anywhere;line-height:1.5;max-height:60px} | |
| .focus-caption button:disabled {opacity:.35;cursor:default} | |
| .focus-caption button {background:#eee7f7;color:#5b358b;border-radius:5px} | |
| #prompt-console,#output-console {margin-top:4px;padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 16px 40px rgba(45,29,69,.04)} | |
| #prompt-console>.label-wrap,#output-console>.label-wrap {font:800 11px var(--mono);letter-spacing:.06em;text-transform:uppercase;min-height:30px;color:var(--green)} | |
| #prompt-console .block {border-color:#e4deed;border-radius:7px;background:#fcfef9} | |
| #prompt-console textarea,#output-console textarea {background:#fff;border-color:var(--line);color:#30263f;font:12px/1.8 var(--mono)} | |
| #prompt-console label>span,#output-console label>span {color:var(--green);font:700 10px var(--mono)} | |
| .console-note {font:11px/1.7 var(--ui);color:var(--muted)} | |
| #output-console .cm-editor {max-height:360px;overflow:hidden} | |
| #output-console .cm-scroller {max-height:330px;overflow:auto} | |
| #output-console .cm-content {min-height:0} | |
| #prompt-console textarea {max-height:220px;overflow-y:auto} | |
| .studio-footer {padding:12px 2px;font:11px/1.7 var(--ui);color:var(--muted)}.studio-footer i {color:var(--muted)} | |
| @keyframes focus-dim {from{opacity:0}to{opacity:.24}} | |
| @media(min-width:1500px) { | |
| #controls {padding:42px 42px 34px}.xpeng-logo {width:220px} | |
| #stage-image {height:440px}#canvas-viewport {padding:16px 60px 48px}#query-row {padding:12px 60px 30px} | |
| } | |
| @media(max-width:1100px) { | |
| .studio-header h1 {font-size:28px}.studio-header .eyebrow {font-size:10px}.grounding-intro h2 {font-size:22px}.grounding-intro p {max-width:220px;font-size:12px} | |
| #controls {flex-basis:30%;min-width:260px;padding:26px 22px;gap:20px} | |
| .control-brand h2 {font-size:30px}.xpeng-logo {width:172px}.control-brand p {font-size:13px} | |
| #control-settings {padding:12px}#control-fields {gap:9px} | |
| #control-fields {flex-direction:column}#control-fields>.form {width:100%;flex-basis:auto}#media-type {flex-basis:auto} | |
| #stage-toolbar {padding:16px 18px 8px;gap:10px;flex-wrap:wrap}#stage-status {max-width:100%;flex-basis:100%}.stage-status {width:fit-content} | |
| #canvas-viewport {padding:12px 24px 48px}#stage-image {height:350px}#query-row {padding:12px 24px 24px} | |
| #sandbox-panel {padding:16px}.film-heading {align-items:flex-start;flex-direction:column;gap:4px}#review-row {gap:18px} | |
| #review-summary {padding:12px}#result-columns {gap:12px}#metrics-panel {flex-basis:43%;padding:12px}#sidebar {padding:12px} | |
| #case-gallery {height:150px}#case-gallery .thumbnail-item {height:136px} | |
| .metrics-list>div {gap:8px}.metrics-list,.metrics-list dd {font-size:10px} | |
| } | |
| @media(max-width:760px) { | |
| .header-scope {display:none}.header-description {font-size:12px;margin-top:5px} | |
| .studio-header {padding:4px 0 18px;gap:12px}.chapter-mark {width:36px;height:36px;flex-basis:36px}.studio-header h1 {font-size:25px}.studio-header .eyebrow {font-size:9px;line-height:1.6} | |
| .grounding-intro {display:block;padding:0 0 10px}.grounding-intro h2 {font-size:20px;line-height:1.35}.grounding-intro p {max-width:none;margin-top:8px;text-align:left;font-size:12px}.eyebrow {font-size:10px} | |
| #workspace-top {flex-direction:column;min-height:0;border-radius:8px}#console {gap:14px} | |
| #controls {flex:0 0 auto;min-width:0;padding:24px;border-right:0;border-bottom:1px solid var(--line);border-radius:8px 8px 0 0;gap:20px} | |
| .control-brand {gap:10px}.control-brand h2 {font-size:32px}.control-brand p {font-size:13px}.xpeng-logo {width:160px} | |
| #control-settings {padding:14px;gap:12px}#control-fields {gap:14px}#media-type {flex-basis:43%} | |
| #controls {padding:16px;gap:12px} | |
| .control-brand {display:flex;align-items:center;gap:12px;flex-wrap:wrap} | |
| .control-brand .xpeng-logo {width:104px;filter:none}.control-brand h2 {font-size:24px;margin:0}.control-brand p {display:none} | |
| #control-settings {padding:0;border:0;gap:8px} | |
| #control-fields {flex-direction:row;gap:12px}#control-fields>.form {width:0;flex:1 1 0} | |
| #media-type {flex:0 0 30%} | |
| #upload-button {min-height:40px;padding:8px 10px} | |
| #service-panel {padding-top:8px;gap:2px}.api-status small {font-size:11px} | |
| #service-panel #health-button {min-height:32px} | |
| #run-button {display:none} | |
| #task-guide {padding:14px 16px 0}.task-guide {gap:4px}.task-guide strong {font-size:15px}.task-guide small {font-size:11px} | |
| #mobile-run-button {display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:12px;border-radius:999px;border:0;background:linear-gradient(180deg,#a3d749,#91c331);color:#0b1408;font:800 15px var(--ui)} | |
| #mobile-run-button:disabled {background:#edf4e7;color:#536947} | |
| #run-button {min-height:48px;font-size:15px;margin-top:4px} | |
| #visual-stage {flex:0 0 auto;min-width:0;border-radius:0 0 8px 8px} | |
| #stage-toolbar {padding:14px 14px 8px;gap:10px}#view-toggle label {padding:8px 12px;min-height:36px;font-size:11px} | |
| #stage-status {max-width:100%;width:100%;flex-basis:100%}.stage-status {font-size:10px;width:fit-content} | |
| #canvas-viewport {padding:12px 14px 52px}#stage-image {height:300px} | |
| .canvas-tools {padding:4px 12px}.zoom-tools button {width:44px;height:44px} | |
| .focus-caption {left:14px;max-width:calc(100% - 28px);gap:4px;bottom:62px;padding-left:8px} | |
| .focus-caption button {width:44px;height:44px}.focus-caption span {font-size:11px} | |
| #query-row {padding:12px 16px 22px}#query-dock {padding:12px}#query-dock textarea {font-size:12px} | |
| .query-hint {font-size:10px} | |
| #review-row {flex-direction:column;gap:14px}#sandbox-panel {flex:0 0 auto;padding:18px;gap:12px}.film-heading {flex-direction:row;align-items:center}.film-heading h2 {font-size:10px}.film-heading small {font-size:10px} | |
| #case-gallery {height:140px}#case-gallery .thumbnail-item {height:128px}#case-gallery .grid-container {gap:8px}#case-gallery .caption-label {font-size:10px} | |
| #review-summary {flex:0 0 auto;padding:14px}#result-columns {flex-direction:column;gap:14px} | |
| #metrics-panel {flex:0 0 auto;padding:16px}#sidebar {flex:0 0 auto;min-width:0;padding:16px;border:1px solid var(--line)} | |
| .metrics-list {grid-template-columns:1fr 1fr;gap:2px 18px}.metrics-list>div {gap:4px}.metrics-list,.metrics-list dd {font-size:11px} | |
| .empty-targets {min-height:150px}.target-chips {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.target-chip {min-height:44px} | |
| .inspector-heading {flex-direction:row;flex-wrap:wrap;align-items:baseline}.live-mark {font-size:10px}.detail-image {height:170px} | |
| #prompt-console,#output-console {padding:14px}#prompt-console>.label-wrap,#output-console>.label-wrap {font-size:10px}.studio-footer {font-size:10px} | |
| } | |
| @media(max-width:430px) { | |
| #controls {padding:14px}#stage-image {height:262px}.film-heading {gap:8px}.film-heading h2 {max-width:160px}.image-dimensions {font-size:9px} | |
| } | |
| @media(prefers-reduced-motion:reduce) { | |
| *,*::before,*::after {animation:none;transition-duration:0ms;scroll-behavior:auto} | |
| } | |
| /* Paper-demo r7: scoped refinements, same left-controls / right-canvas layout. */ | |
| .control-brand h2 {color:var(--purple-deep);letter-spacing:-.04em} | |
| .control-brand h2 span {color:var(--lime)} | |
| .control-brand p {font-weight:500;color:var(--muted)} | |
| .studio-header h1 {color:var(--purple-deep);letter-spacing:-.035em} | |
| .header-description {max-width:720px;font-weight:450} | |
| .header-scope {font:650 10px/1.5 var(--mono);letter-spacing:.08em;color:var(--purple)} | |
| .xpeng-logo {filter:none} | |
| .task-guide strong {color:var(--purple-deep)} | |
| #stage-toolbar {min-height:44px;padding-top:12px} | |
| #stage-status {max-width:100%;flex:1} | |
| .stage-status {background:#fff;color:#51495e;width:fit-content} | |
| #stage-image .buttons {display:none} | |
| #canvas-viewport {padding-bottom:64px} | |
| #stage-image img {box-shadow:0 14px 34px rgba(45,29,69,.09);border-radius:4px} | |
| #run-button {box-shadow:0 8px 22px rgba(114,153,34,.18)} | |
| #query-dock textarea {font-weight:550} | |
| .query-hint {font-weight:500} | |
| .inspector-subheading,#sidebar .inspector-heading h2,#prompt-console>.label-wrap,#output-console>.label-wrap {color:var(--purple-deep)} | |
| .film-heading h2 {color:var(--purple-deep)} | |
| .target-chip i {background:var(--category-color);border-color:var(--category-color)} | |
| .focus-caption {position:relative;bottom:auto;left:auto;max-width:100%;margin:8px 0 0} | |
| #canvas-viewport:has(.focus-caption) {padding-bottom:64px} | |
| .detail-heading {flex-wrap:wrap;gap:4px} | |
| .canvas-download {display:grid;place-items:center;width:28px;height:28px;border-radius:5px;color:var(--purple-deep);cursor:pointer} | |
| .canvas-download:hover {background:var(--lavender)} | |
| .canvas-download:focus-visible {outline:2px solid var(--purple);outline-offset:2px} | |
| #console .translucent {opacity:1} | |
| @media(max-width:760px) { | |
| .studio-header h1 {font-size:25px} | |
| .header-description {font-size:12px;line-height:1.6} | |
| .focus-caption {max-width:100%;left:auto;bottom:auto;margin-top:8px} | |
| .focus-caption span {font-size:11px} | |
| .film-heading {flex-wrap:wrap} | |
| .canvas-download {width:44px;height:44px} | |
| } | |