Download build/styles.css from skailiner/threshold: direct link, hf CLI and curl.
- Browser
- Download file 18.3 kB
-
https://huggingface.co/spaces/skailiner/threshold/resolve/main/build/styles.css
- Command line
-
hf download hf://spaces/skailiner/threshold/build/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/skailiner/threshold/resolve/main/build/styles.css
18.3 kB
| :root { | |
| color-scheme: dark; | |
| --background: #081014; | |
| --ink: #edf3ef; | |
| --muted: #a1b1b6; | |
| --solar: #ffb547; | |
| --air: #47d7dc; | |
| --thermal: #ff826b; | |
| --leaf: #9edf9f; | |
| --line: #30444c; | |
| --mono: Consolas, "Liberation Mono", monospace; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| } | |
| html { | |
| background: var(--background); | |
| scroll-behavior: smooth; | |
| } | |
| body { | |
| margin: 0; | |
| background: | |
| linear-gradient(#47d7dc05 1px, transparent 1px), | |
| linear-gradient(90deg, #47d7dc05 1px, transparent 1px), var(--background); | |
| background-size: 32px 32px; | |
| color: var(--ink); | |
| font: | |
| 16px/1.5 system-ui, | |
| -apple-system, | |
| "Segoe UI", | |
| sans-serif; | |
| } | |
| button, | |
| input { | |
| font: inherit; | |
| } | |
| button { | |
| color: inherit; | |
| cursor: pointer; | |
| } | |
| a { | |
| color: inherit; | |
| } | |
| button:focus-visible, | |
| a:focus-visible, | |
| summary:focus-visible { | |
| outline: 3px solid var(--air); | |
| outline-offset: 4px; | |
| } | |
| h1, | |
| h2, | |
| h3, | |
| p { | |
| margin-top: 0; | |
| } | |
| .skip-link { | |
| position: fixed; | |
| top: -100px; | |
| left: 12px; | |
| background: var(--ink); | |
| color: #081014; | |
| padding: 12px; | |
| z-index: 40; | |
| } | |
| .skip-link:focus { | |
| top: 12px; | |
| } | |
| .site-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| gap: 16px; | |
| padding: 12px 24px; | |
| border-bottom: 1px solid var(--line); | |
| background: #081014f2; | |
| min-height: 72px; | |
| } | |
| .wordmark { | |
| display: grid; | |
| text-decoration: none; | |
| } | |
| .wordmark span { | |
| font-size: 18px; | |
| letter-spacing: 0.18em; | |
| font-weight: 850; | |
| } | |
| .wordmark small { | |
| color: var(--muted); | |
| font: 12px/1.5 var(--mono); | |
| } | |
| .site-header__right { | |
| display: flex; | |
| align-items: center; | |
| gap: 18px; | |
| } | |
| .site-header__right > a { | |
| font-size: 14px; | |
| } | |
| .method-badge { | |
| color: var(--leaf); | |
| font: 12px/1.4 var(--mono); | |
| } | |
| .export-button, | |
| .reset-button { | |
| border: 1px solid var(--line); | |
| background: var(--ink); | |
| color: #081014; | |
| border-radius: 3px; | |
| min-height: 44px; | |
| padding: 8px 12px; | |
| font-size: 14px; | |
| font-weight: 650; | |
| } | |
| .reset-button { | |
| background: transparent; | |
| color: var(--ink); | |
| width: 44px; | |
| flex-shrink: 0; | |
| font-size: 24px; | |
| } | |
| .export-button:hover, | |
| .reset-button:hover { | |
| border-color: var(--air); | |
| } | |
| .intro { | |
| display: grid; | |
| grid-template-columns: 1.2fr 1fr; | |
| gap: 32px; | |
| align-items: center; | |
| padding: 20px 24px; | |
| border-bottom: 1px solid var(--line); | |
| } | |
| .eyebrow { | |
| display: block; | |
| color: var(--muted); | |
| font: 12px/1.5 var(--mono); | |
| letter-spacing: 0.07em; | |
| text-transform: uppercase; | |
| } | |
| .intro h1 { | |
| font-size: clamp(25px, 2.8vw, 42px); | |
| font-weight: 420; | |
| line-height: 1.08; | |
| letter-spacing: -0.035em; | |
| margin: 5px 0 0; | |
| max-width: 620px; | |
| } | |
| .intro p { | |
| border-left: 2px solid var(--solar); | |
| padding-left: 18px; | |
| color: var(--muted); | |
| margin: 0; | |
| max-width: 610px; | |
| } | |
| .climate-strip { | |
| display: grid; | |
| grid-template-columns: 210px auto 1fr; | |
| gap: 20px; | |
| align-items: center; | |
| padding: 14px 24px; | |
| border-bottom: 1px solid var(--line); | |
| background: #0d191d; | |
| } | |
| .climate-strip__label { | |
| display: flex; | |
| gap: 10px; | |
| align-items: center; | |
| } | |
| .climate-strip__label > b { | |
| font-size: 25px; | |
| color: var(--solar); | |
| } | |
| .climate-strip__label span { | |
| display: grid; | |
| } | |
| .climate-strip__label small { | |
| font-size: 12px; | |
| color: var(--muted); | |
| } | |
| .climate-strip__label strong { | |
| font-size: 14px; | |
| } | |
| .climate-strip p { | |
| margin: 0; | |
| font-size: 14px; | |
| color: var(--muted); | |
| } | |
| .climate-options, | |
| .lens-switcher { | |
| display: flex; | |
| } | |
| .climate-options button, | |
| .lens-switcher button { | |
| border: 1px solid var(--line); | |
| background: transparent; | |
| min-height: 44px; | |
| padding: 8px 10px; | |
| font-size: 14px; | |
| margin-left: -1px; | |
| } | |
| .climate-options button:first-child, | |
| .lens-switcher button:first-child { | |
| margin-left: 0; | |
| } | |
| .climate-options button:hover, | |
| .lens-switcher button:hover { | |
| background: #20353c; | |
| } | |
| .climate-options .is-active, | |
| .lens-switcher [aria-pressed="true"] { | |
| background: var(--air); | |
| color: #061013; | |
| border-color: var(--air); | |
| position: relative; | |
| } | |
| .quick-result { | |
| padding: 10px 24px; | |
| margin: 0; | |
| border-bottom: 1px solid var(--line); | |
| color: var(--leaf); | |
| font-size: 14px; | |
| background: #10231d; | |
| } | |
| .studio { | |
| display: grid; | |
| grid-template-columns: minmax(260px, 0.9fr) minmax(430px, 1.7fr) minmax(290px, 1fr); | |
| align-items: start; | |
| } | |
| .panel { | |
| padding: 22px; | |
| min-width: 0; | |
| } | |
| .design-panel { | |
| border-right: 1px solid var(--line); | |
| } | |
| .consequence-panel { | |
| border-left: 1px solid var(--line); | |
| } | |
| .canvas-panel { | |
| background: #09151a88; | |
| } | |
| .panel__title, | |
| .canvas-panel__head { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: start; | |
| gap: 12px; | |
| } | |
| .panel__title h2, | |
| .canvas-panel__head h2 { | |
| font-size: 21px; | |
| font-weight: 500; | |
| margin: 4px 0 0; | |
| line-height: 1.2; | |
| } | |
| .panel__intro { | |
| color: var(--muted); | |
| margin: 18px 0 8px; | |
| } | |
| .control { | |
| border-top: 1px solid var(--line); | |
| padding: 14px 0 10px; | |
| } | |
| .control__head { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 12px; | |
| align-items: baseline; | |
| } | |
| .control__head label { | |
| font-size: 14px; | |
| font-weight: 650; | |
| } | |
| .control__head output { | |
| font: 12px/1.5 var(--mono); | |
| color: var(--air); | |
| white-space: nowrap; | |
| } | |
| .control-note { | |
| color: var(--muted); | |
| font-size: 12px; | |
| margin: 12px 0 0; | |
| } | |
| input[type="range"] { | |
| appearance: none; | |
| -webkit-appearance: none; | |
| display: block; | |
| width: 100%; | |
| height: 32px; | |
| cursor: pointer; | |
| background: linear-gradient(90deg, var(--air) var(--progress), var(--line) var(--progress)) | |
| center/100% 3px no-repeat; | |
| margin: 4px 0; | |
| } | |
| input[type="range"]::-webkit-slider-thumb { | |
| appearance: none; | |
| -webkit-appearance: none; | |
| width: 22px; | |
| height: 22px; | |
| border: 2px solid var(--air); | |
| border-radius: 50%; | |
| background: #071013; | |
| } | |
| input[type="range"]::-moz-range-thumb { | |
| width: 20px; | |
| height: 20px; | |
| border: 2px solid var(--air); | |
| border-radius: 50%; | |
| background: #071013; | |
| } | |
| input[type="range"]:focus-visible { | |
| outline: 2px solid var(--air); | |
| outline-offset: 2px; | |
| } | |
| .canvas-panel__head { | |
| flex-wrap: wrap; | |
| } | |
| .section-diagram { | |
| display: block; | |
| width: 100%; | |
| height: auto; | |
| max-height: 360px; | |
| margin: 12px 0; | |
| overflow: visible; | |
| } | |
| .section-diagram text { | |
| font-family: var(--mono); | |
| } | |
| .ground-line, | |
| .shell-line, | |
| .roof-line { | |
| fill: none; | |
| stroke: #c5d4d2; | |
| stroke-width: 2; | |
| } | |
| .ground-line { | |
| stroke: #647c85; | |
| stroke-width: 1; | |
| } | |
| .roof-line { | |
| stroke-width: 5; | |
| } | |
| .hatch { | |
| stroke: #849ba2; | |
| stroke-width: 0.6; | |
| } | |
| .mass-floor { | |
| stroke: #9db1b7; | |
| stroke-width: 1; | |
| } | |
| .window { | |
| fill: var(--air); | |
| stroke: var(--air); | |
| stroke-width: 2; | |
| } | |
| .shade-line { | |
| stroke: #dce9e6; | |
| stroke-width: 6; | |
| } | |
| .dimension-line { | |
| stroke: #849ba2; | |
| stroke-width: 0.7; | |
| } | |
| .dimension-text { | |
| fill: #c0d0d3; | |
| font-size: 15px; | |
| } | |
| .sun-disc { | |
| fill: var(--solar); | |
| } | |
| .sun-ray { | |
| fill: none; | |
| stroke: var(--solar); | |
| stroke-dasharray: 7 6; | |
| stroke-width: 2; | |
| } | |
| .sun-ray--soft { | |
| opacity: 0.4; | |
| } | |
| .airflow path { | |
| fill: none; | |
| stroke: var(--air); | |
| stroke-linecap: round; | |
| stroke-width: 3; | |
| } | |
| .air-marker { | |
| fill: var(--air); | |
| } | |
| .interior-objects { | |
| fill: none; | |
| opacity: 0.6; | |
| stroke: #c5d6d1; | |
| stroke-linecap: round; | |
| stroke-linejoin: round; | |
| stroke-width: 1.3; | |
| } | |
| .drawing-labels text { | |
| fill: #9fb3bc; | |
| font-size: 13px; | |
| } | |
| .selected-reading { | |
| font: 14px/1.65 var(--mono); | |
| color: var(--ink); | |
| border-left: 2px solid var(--air); | |
| padding-left: 12px; | |
| margin: 0 0 20px; | |
| } | |
| .day-ribbon { | |
| border-top: 1px solid var(--line); | |
| padding-top: 16px; | |
| } | |
| .day-ribbon__head { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 16px; | |
| align-items: end; | |
| } | |
| .day-ribbon__head strong { | |
| font-size: 14px; | |
| display: block; | |
| font-weight: 500; | |
| } | |
| .day-ribbon__time { | |
| color: var(--air); | |
| font: 12px/1.5 var(--mono); | |
| white-space: nowrap; | |
| } | |
| .day-ribbon__plot { | |
| height: 110px; | |
| position: relative; | |
| margin-top: 16px; | |
| } | |
| .day-ribbon__plot svg { | |
| height: 84px; | |
| width: 100%; | |
| overflow: visible; | |
| } | |
| .temperature-line { | |
| fill: none; | |
| stroke: var(--thermal); | |
| stroke-width: 2; | |
| vector-effect: non-scaling-stroke; | |
| } | |
| .outdoor-line { | |
| fill: none; | |
| stroke: var(--muted); | |
| stroke-dasharray: 4 4; | |
| stroke-width: 1.5; | |
| vector-effect: non-scaling-stroke; | |
| } | |
| .comfort-band { | |
| fill: var(--leaf); | |
| opacity: 0.12; | |
| } | |
| #chart-cursor { | |
| stroke: var(--ink); | |
| stroke-width: 1; | |
| vector-effect: non-scaling-stroke; | |
| opacity: 0.7; | |
| } | |
| .day-ribbon__ticks { | |
| display: flex; | |
| justify-content: space-between; | |
| color: var(--muted); | |
| font: 12px/1.5 var(--mono); | |
| margin-top: 3px; | |
| } | |
| .chart-scale { | |
| font-size: 12px; | |
| color: var(--muted); | |
| margin: 10px 0 0; | |
| } | |
| .score-block { | |
| display: flex; | |
| gap: 14px; | |
| align-items: center; | |
| margin: 22px 0 12px; | |
| padding-bottom: 20px; | |
| border-bottom: 1px solid var(--line); | |
| } | |
| .score-ring { | |
| height: 80px; | |
| width: 80px; | |
| flex-shrink: 0; | |
| display: grid; | |
| place-items: center; | |
| position: relative; | |
| border-radius: 50%; | |
| background: conic-gradient(var(--leaf) var(--score), #263b42 0); | |
| } | |
| .score-ring:after { | |
| content: ""; | |
| position: absolute; | |
| inset: 7px; | |
| border-radius: 50%; | |
| background: #0b1519; | |
| } | |
| .score-ring span { | |
| position: relative; | |
| z-index: 1; | |
| font: 22px var(--mono); | |
| } | |
| .score-block > div:last-child { | |
| display: grid; | |
| gap: 3px; | |
| } | |
| .score-block small, | |
| .score-block > div:last-child > span { | |
| font-size: 12px; | |
| color: var(--muted); | |
| } | |
| .score-block strong { | |
| font-size: 16px; | |
| font-weight: 500; | |
| } | |
| .metrics { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| } | |
| .metric { | |
| padding: 16px 8px 14px 0; | |
| border-bottom: 1px solid var(--line); | |
| min-width: 0; | |
| } | |
| .metric:nth-child(even) { | |
| padding-left: 12px; | |
| border-left: 1px solid var(--line); | |
| } | |
| .metric__label { | |
| display: block; | |
| font-size: 12px; | |
| color: var(--muted); | |
| min-height: 36px; | |
| } | |
| .metric strong { | |
| font: 20px/1.5 var(--mono); | |
| display: block; | |
| } | |
| .metric > span:last-child { | |
| font-size: 12px; | |
| color: var(--muted); | |
| display: block; | |
| } | |
| .metric--leaf strong { | |
| color: var(--leaf); | |
| } | |
| .metric--thermal strong { | |
| color: var(--thermal); | |
| } | |
| .metric--solar strong { | |
| color: var(--solar); | |
| } | |
| .metric--air strong { | |
| color: var(--air); | |
| } | |
| .observation { | |
| display: flex; | |
| gap: 10px; | |
| padding: 14px; | |
| margin-top: 18px; | |
| border: 1px solid #695126; | |
| background: #ffb5470a; | |
| } | |
| .observation > b { | |
| color: var(--solar); | |
| } | |
| .observation p { | |
| margin: 5px 0 0; | |
| font-size: 16px; | |
| color: #c4cfcb; | |
| } | |
| .compare-link { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 12px; | |
| background: transparent; | |
| border: 0; | |
| min-height: 44px; | |
| padding: 8px 0; | |
| margin-top: 8px; | |
| color: var(--air); | |
| font-size: 14px; | |
| } | |
| .comparison { | |
| display: grid; | |
| grid-template-columns: 0.9fr 1.3fr 0.8fr; | |
| gap: 30px; | |
| background: #dbe9e6; | |
| color: #071013; | |
| padding: 34px 24px; | |
| } | |
| .comparison .eyebrow, | |
| .comparison__statement > span { | |
| color: #425b61; | |
| font: 12px/1.5 var(--mono); | |
| } | |
| .comparison h2 { | |
| font-size: 30px; | |
| font-weight: 450; | |
| letter-spacing: -0.03em; | |
| line-height: 1.15; | |
| margin: 6px 0 0; | |
| } | |
| .comparison__statement p { | |
| margin: 8px 0 0; | |
| } | |
| .comparison__bars { | |
| display: grid; | |
| gap: 18px; | |
| align-content: center; | |
| } | |
| .comparison__bars > div { | |
| display: grid; | |
| grid-template-columns: 75px 1fr 40px; | |
| gap: 10px; | |
| align-items: center; | |
| font-size: 14px; | |
| } | |
| .comparison__bars > div > div { | |
| height: 8px; | |
| background: #adc3bf; | |
| } | |
| .comparison__bars i { | |
| display: block; | |
| height: 100%; | |
| background: #0e777b; | |
| } | |
| .comparison__bars > div:first-child i { | |
| background: #677b7f; | |
| } | |
| .comparison__bars strong { | |
| font-size: 12px; | |
| } | |
| .method { | |
| padding: 42px 24px; | |
| border-bottom: 1px solid var(--line); | |
| } | |
| .method h2 { | |
| font-size: 32px; | |
| line-height: 1.15; | |
| font-weight: 420; | |
| margin: 8px 0 0; | |
| max-width: 800px; | |
| } | |
| .method__grid { | |
| display: grid; | |
| grid-template-columns: repeat(4, 1fr); | |
| gap: 24px; | |
| margin-top: 32px; | |
| } | |
| .method__grid article { | |
| border-top: 1px solid var(--line); | |
| padding-top: 20px; | |
| } | |
| .method__grid article > span { | |
| color: var(--air); | |
| font-size: 22px; | |
| } | |
| .method__grid h3 { | |
| font-size: 18px; | |
| margin: 8px 0; | |
| } | |
| .method__grid p { | |
| color: var(--muted); | |
| margin: 0; | |
| } | |
| .assumptions { | |
| margin-top: 30px; | |
| border: 1px solid var(--line); | |
| padding: 16px 20px; | |
| } | |
| .assumptions summary { | |
| cursor: pointer; | |
| min-height: 30px; | |
| color: var(--air); | |
| } | |
| .assumptions p { | |
| max-width: 1000px; | |
| margin: 16px 0 0; | |
| color: var(--muted); | |
| } | |
| .assumptions a { | |
| text-underline-offset: 4px; | |
| } | |
| .reference-note { | |
| color: var(--muted); | |
| font-size: 14px; | |
| margin: 18px 0 0; | |
| } | |
| footer { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: 12px; | |
| padding: 24px; | |
| font: 12px/1.6 var(--mono); | |
| color: var(--muted); | |
| } | |
| .sr-only { | |
| position: absolute; | |
| width: 1px; | |
| height: 1px; | |
| overflow: hidden; | |
| clip-path: inset(50%); | |
| white-space: nowrap; | |
| } | |
| @media (min-width: 1600px) { | |
| main { | |
| max-width: 1800px; | |
| margin: auto; | |
| } | |
| .panel { | |
| padding: 28px; | |
| } | |
| .section-diagram { | |
| max-height: 400px; | |
| } | |
| } | |
| @media (max-width: 1100px) { | |
| .studio { | |
| grid-template-columns: 270px 1fr; | |
| } | |
| .consequence-panel { | |
| grid-column: 1/-1; | |
| border-top: 1px solid var(--line); | |
| border-left: 0; | |
| display: grid; | |
| grid-template-columns: 1fr 1.5fr; | |
| gap: 14px 28px; | |
| } | |
| .consequence-panel .panel__title { | |
| grid-column: 1/-1; | |
| } | |
| .score-block { | |
| margin: 0; | |
| } | |
| .observation { | |
| margin: 0; | |
| } | |
| .metrics { | |
| grid-row: 2/4; | |
| grid-column: 2; | |
| } | |
| .climate-strip { | |
| grid-template-columns: 210px 1fr; | |
| } | |
| .climate-strip p { | |
| grid-column: 1/-1; | |
| } | |
| .comparison { | |
| grid-template-columns: 1fr 1fr; | |
| } | |
| .comparison__bars { | |
| grid-column: 1/-1; | |
| } | |
| .method__grid { | |
| grid-template-columns: 1fr 1fr; | |
| } | |
| } | |
| @media (max-width: 700px) { | |
| .site-header { | |
| padding: 10px 16px; | |
| } | |
| .wordmark small { | |
| font-size: 12px; | |
| max-width: 170px; | |
| } | |
| .method-badge, | |
| .site-header__right > a { | |
| display: none; | |
| } | |
| .site-header__right { | |
| gap: 0; | |
| } | |
| .intro { | |
| padding: 18px 16px; | |
| display: block; | |
| } | |
| .intro h1 { | |
| font-size: 28px; | |
| } | |
| .intro p { | |
| font-size: 14px; | |
| margin: 12px 0 0; | |
| padding-left: 12px; | |
| } | |
| .climate-strip { | |
| padding: 12px 16px; | |
| display: block; | |
| } | |
| .climate-options { | |
| margin: 10px 0; | |
| flex-wrap: wrap; | |
| } | |
| .climate-options button { | |
| font-size: 13px; | |
| padding: 8px; | |
| } | |
| .climate-strip p { | |
| font-size: 14px; | |
| } | |
| .quick-result { | |
| padding: 10px 16px; | |
| } | |
| .studio { | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .panel { | |
| width: 100%; | |
| padding: 20px 16px; | |
| } | |
| .design-panel { | |
| border-right: 0; | |
| border-bottom: 1px solid var(--line); | |
| } | |
| .control-stack { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 0 20px; | |
| } | |
| .control__head { | |
| display: grid; | |
| gap: 2px; | |
| } | |
| .control__head output { | |
| font-size: 12px; | |
| } | |
| .control:last-child { | |
| grid-column: 1/-1; | |
| } | |
| .control:last-child .control__head { | |
| display: flex; | |
| } | |
| .panel__intro { | |
| font-size: 14px; | |
| margin: 12px 0; | |
| } | |
| .control { | |
| padding: 10px 0 6px; | |
| } | |
| .consequence-panel { | |
| display: block; | |
| order: 2; | |
| } | |
| .canvas-panel { | |
| order: 3; | |
| border-top: 1px solid var(--line); | |
| } | |
| .score-block { | |
| margin: 20px 0 0; | |
| } | |
| .observation { | |
| margin-top: 16px; | |
| } | |
| .canvas-panel__head { | |
| gap: 16px; | |
| } | |
| .section-diagram { | |
| margin: 20px 0; | |
| } | |
| .day-ribbon__head { | |
| align-items: start; | |
| flex-direction: column; | |
| gap: 6px; | |
| } | |
| .comparison { | |
| grid-template-columns: 1fr; | |
| padding: 28px 16px; | |
| gap: 20px; | |
| } | |
| .comparison__bars { | |
| grid-column: auto; | |
| } | |
| .method { | |
| padding: 32px 16px; | |
| } | |
| .method h2 { | |
| font-size: 28px; | |
| } | |
| .method__grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .drawing-labels text { | |
| font-size: 16px; | |
| } | |
| .drawing-labels text:nth-child(2) { | |
| display: none; | |
| } | |
| .drawing-labels text:last-child { | |
| display: none; | |
| } | |
| footer { | |
| flex-direction: column; | |
| padding: 20px 16px; | |
| } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| html { | |
| scroll-behavior: auto; | |
| } | |
| } | |
| .study-workspace { | |
| padding: 24px; | |
| border-bottom: 1px solid var(--line); | |
| background: #0d191d; | |
| } | |
| .study-workspace h2 { | |
| font-size: 26px; | |
| font-weight: 500; | |
| margin: 5px 0 12px; | |
| } | |
| .study-workspace p { | |
| max-width: 900px; | |
| } | |
| .name-grid { | |
| display: grid; | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| gap: 16px; | |
| max-width: 900px; | |
| } | |
| .name-grid label { | |
| display: grid; | |
| gap: 6px; | |
| font-size: 14px; | |
| } | |
| .name-grid input { | |
| width: 100%; | |
| min-width: 0; | |
| background: #081014; | |
| border: 1px solid var(--line); | |
| border-radius: 3px; | |
| color: var(--ink); | |
| padding: 10px; | |
| } | |
| .name-grid input:focus-visible { | |
| outline: 3px solid var(--air); | |
| outline-offset: 2px; | |
| } | |
| .study-actions { | |
| display: flex; | |
| flex-wrap: wrap; | |
| gap: 8px; | |
| margin: 12px 0; | |
| } | |
| .study-actions button { | |
| border: 1px solid var(--line); | |
| border-radius: 3px; | |
| background: #14262d; | |
| min-height: 44px; | |
| padding: 8px 14px; | |
| overflow-wrap: anywhere; | |
| max-width: 100%; | |
| } | |
| .study-actions [aria-pressed="true"] { | |
| background: var(--air); | |
| color: #071013; | |
| } | |
| .study-actions button:hover { | |
| border-color: var(--air); | |
| } | |
| button:disabled, | |
| input:disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| } | |
| [hidden] { | |
| display: none ; | |
| } | |
| #study-status { | |
| color: var(--muted); | |
| margin-bottom: 0; | |
| } | |
| #study-error { | |
| color: #ffad99; | |
| margin: 8px 0 0; | |
| white-space: pre-wrap; | |
| } | |
| #active-alternative, | |
| #result-alternative { | |
| overflow-wrap: anywhere; | |
| } | |
| .reference-line { | |
| fill: none; | |
| stroke: var(--solar); | |
| stroke-dasharray: 2 3; | |
| stroke-width: 2; | |
| vector-effect: non-scaling-stroke; | |
| } | |
| .comparison__bars > div { | |
| grid-template-columns: minmax(80px, 1fr) minmax(60px, 1fr) 40px; | |
| } | |
| .comparison__bars span { | |
| overflow-wrap: anywhere; | |
| } | |
| .change-explanations { | |
| grid-column: 1/-1; | |
| max-width: 1100px; | |
| } | |
| .change-explanations h3 { | |
| margin-bottom: 8px; | |
| } | |
| .change-explanations li { | |
| margin: 8px 0; | |
| } | |
| .change-explanations ul { | |
| padding-left: 20px; | |
| } | |
| dialog { | |
| background: #0d191d; | |
| color: var(--ink); | |
| border: 1px solid var(--air); | |
| border-radius: 6px; | |
| max-width: min(600px, calc(100vw - 32px)); | |
| padding: 24px; | |
| } | |
| dialog::backdrop { | |
| background: #000b; | |
| } | |
| dialog h2 { | |
| font-size: 23px; | |
| } | |
| dialog p { | |
| color: var(--muted); | |
| } | |
| @media (max-width: 700px) { | |
| .study-workspace { | |
| padding: 20px 16px; | |
| } | |
| .name-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .study-actions button { | |
| flex: 1 1 140px; | |
| } | |
| .change-explanations { | |
| grid-column: auto; | |
| } | |
| } | |