Files
madar/public/assets/app.css
T
2026-09-05 15:54:33 +03:30

1442 lines
24 KiB
CSS

@font-face {
font-family: Vazir;
src: url("Vazirmatn-Regular.ttf") format("truetype");
font-display: swap;
}
:root {
--bg: #f6f7f9;
--panel: #fff;
--text: #233832;
--muted: #84908e;
--line: #e8eeeb;
--accent: #28725c;
--soft: #edf5f0;
--lime: #d7f68a;
--shadow: 0 5px 20px #223c3104;
color-scheme: light;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font:
14px/1.85 Vazir,
Tahoma,
sans-serif;
}
button,
input,
select,
textarea {
font: inherit;
}
button,
a,
input,
select,
textarea {
-webkit-tap-highlight-color: transparent;
}
button,
a {
touch-action: manipulation;
}
button {
cursor: pointer;
}
button:disabled {
cursor: not-allowed;
opacity: 0.45;
}
button {
transition:
background 0.18s,
transform 0.18s;
}
button:not(:disabled):active {
transform: translateY(1px);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
outline: 3px solid #78af85;
outline-offset: 3px;
}
a {
color: inherit;
text-decoration: none;
}
button {
color: inherit;
}
p,
h1,
h2,
h3 {
margin: 0;
}
button {
border: 0;
}
code,
kbd,
pre {
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
code {
font-size: 11px;
direction: ltr;
unicode-bidi: embed;
}
button,
select,
input {
min-height: 40px;
}
[hidden] {
display: none !important;
}
.sidebar {
position: fixed;
inset: 0 0 0 auto;
width: 242px;
background: var(--panel);
border-left: 1px solid var(--line);
display: flex;
flex-direction: column;
padding: 35px 24px 20px;
z-index: 10;
}
.brand {
display: flex;
gap: 13px;
align-items: center;
font-size: 30px;
font-weight: bold;
line-height: 1.35;
}
.brand small {
display: block;
font-size: 10px;
font-weight: normal;
color: var(--muted);
margin-top: 5px;
}
.brand-mark {
background: #173e36;
color: #dbf3ba;
border-radius: 16px;
width: 47px;
height: 49px;
display: grid;
place-items: center;
position: relative;
font-size: 37px;
}
.nav-caption {
font-size: 10px;
letter-spacing: 0.3px;
color: var(--muted);
margin: 40px 12px 14px;
}
.nav-item {
width: 100%;
display: flex;
gap: 12px;
align-items: center;
text-align: right;
background: none;
color: #798580;
border-radius: 9px;
margin-bottom: 5px;
padding: 10px 12px;
font-size: 12px;
min-height: 43px;
}
.nav-item .nav-icon {
font: 21px/1 sans-serif;
width: 22px;
text-align: center;
}
.nav-item .nav-number {
margin-right: auto;
font: 10px monospace;
opacity: 0.6;
}
.nav-item:hover {
background: var(--bg);
}
.nav-item.active {
color: #28664d;
background: #edf4ee;
font-weight: bold;
}
.sidebar-note {
margin-top: auto;
padding: 22px 16px 16px;
border-radius: 13px;
background: var(--bg);
overflow: hidden;
position: relative;
}
.sidebar-note strong {
font-size: 15px;
line-height: 1.9;
display: block;
}
.sidebar-note p {
font-size: 11px;
color: var(--muted);
margin: 8px 0 15px;
}
.sidebar-note a {
font-size: 11px;
display: flex;
justify-content: space-between;
border-top: 1px solid var(--line);
padding-top: 11px;
}
.mini-orbit {
position: absolute;
font-size: 74px;
color: #c8d8ce;
left: -8px;
top: -15px;
transform: rotate(20deg);
}
.sidebar-footer {
display: flex;
gap: 6px;
align-items: center;
font-size: 9px;
color: var(--muted);
margin-top: 24px;
}
.sidebar-footer > span:last-child {
margin-right: auto;
}
.status-dot,
.live-dot {
background: #85b18d;
border-radius: 50%;
width: 6px;
height: 6px;
display: inline-block;
flex-shrink: 0;
}
.page {
margin-right: 242px;
}
.topbar {
height: 88px;
border-bottom: 1px solid var(--line);
padding: 0 42px;
display: flex;
justify-content: space-between;
align-items: center;
background: var(--panel);
}
.breadcrumb {
font-size: 11px;
color: var(--muted);
display: flex;
gap: 17px;
}
.breadcrumb strong {
font-weight: normal;
color: var(--text);
}
.top-actions {
display: flex;
gap: 18px;
align-items: center;
}
.pill {
font-size: 10px;
padding: 4px 12px;
border: 1px solid var(--line);
border-radius: 30px;
display: flex;
gap: 7px;
align-items: center;
}
.pill i {
width: 5px;
height: 5px;
border-radius: 50%;
background: #daa56b;
}
.pill.connected i {
background: #64a780;
}
.icon-button {
background: none;
font-size: 22px;
width: 35px;
}
.avatar {
display: grid;
place-items: center;
width: 34px;
height: 34px;
border: 3px solid var(--panel);
outline: 1px solid var(--line);
border-radius: 50%;
background: #edebe4;
font-size: 11px;
color: #766c58;
}
main {
max-width: 1490px;
margin: auto;
padding: 32px 42px 0;
padding-top: calc(32px + var(--tg-content-safe-area-inset-top, 0px));
padding-bottom: var(--tg-content-safe-area-inset-bottom, 0px);
}
.hero {
min-height: 335px;
background: #163e37;
border-radius: 18px;
display: flex;
position: relative;
overflow: hidden;
color: #fff;
padding: 35px 38px;
}
.hero-copy {
z-index: 2;
width: 55%;
}
.eyebrow {
font-size: 10px;
letter-spacing: 0.25px;
display: flex;
align-items: center;
gap: 8px;
}
.eyebrow > span {
height: 5px;
width: 5px;
background: var(--lime);
border-radius: 50%;
}
.hero .eyebrow {
color: #b9cec3;
}
.hero h1 {
font-size: 37px;
line-height: 1.55;
margin: 12px 0 9px;
font-weight: normal;
letter-spacing: -1px;
}
.hero p {
font-size: 11px;
line-height: 2;
color: #b5c9c1;
}
.hero-actions {
display: flex;
gap: 21px;
align-items: center;
margin-top: 22px;
}
.primary {
padding: 10px 18px;
border-radius: 8px;
background: var(--accent);
color: #fff;
font-size: 12px;
display: inline-flex;
gap: 24px;
align-items: center;
justify-content: center;
}
.lime {
background: var(--lime);
color: #253e30;
}
.hero-link {
background: none;
color: #e5efe9;
font-size: 11px;
display: flex;
gap: 15px;
align-items: center;
}
.hero-foot {
font-size: 9px;
color: #98b5a8;
display: flex;
gap: 10px;
align-items: center;
margin-top: 22px;
}
.tiny-stack {
display: flex;
direction: ltr;
}
.tiny-stack b {
display: grid;
place-items: center;
width: 21px;
height: 21px;
background: #35604e;
color: #bdd4bc;
border-radius: 50%;
border: 2px solid #163e37;
margin-right: -6px;
font: 12px sans-serif;
}
.orbital {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 49%;
background: radial-gradient(ellipse at 42% 48%, #7da27625, transparent 67%);
}
.orbit {
position: absolute;
top: 50%;
left: 48%;
border: 1px solid #bad0aa24;
border-radius: 50%;
transform: translate(-50%, -50%) rotate(-32deg);
}
.orbit-one {
width: 295px;
height: 230px;
}
.orbit-two {
width: 390px;
height: 300px;
}
.orbit-three {
width: 495px;
height: 385px;
border-style: dashed;
border-color: #bad0aa16;
}
.planet {
position: absolute;
top: 49%;
left: 47%;
transform: translate(-50%, -50%) rotate(-12deg);
width: 137px;
height: 137px;
border: 1px solid #c5eca663;
border-radius: 36px;
background: linear-gradient(145deg, #91b985, #426c50 65%, #2b553e);
box-shadow:
inset 0 0 32px #b3dea44a,
15px 22px 35px #081f3370;
display: grid;
place-items: center;
}
.satellite {
position: absolute;
width: 48px;
height: 48px;
border: 1px solid #a1bf8f55;
border-radius: 14px;
display: grid;
place-items: center;
font: 25px sans-serif;
background: #2e5547;
box-shadow: 3px 7px 13px #0b2b3540;
color: #cfedaf;
}
.sat-a {
left: 70%;
top: 20%;
transform: rotate(14deg);
}
.sat-b {
left: 23%;
top: 71%;
transform: rotate(-14deg);
background: #bed58d;
color: #274839;
}
.sat-c {
left: 11%;
top: 21%;
transform: rotate(-10deg);
}
.orbit-label {
position: absolute;
padding: 5px 12px;
background: #284d42c9;
border: 1px solid #96b38740;
border-radius: 20px;
font-size: 9px;
color: #bdd2b7;
white-space: nowrap;
}
.label-a {
left: 51%;
top: 77%;
transform: rotate(-5deg);
}
.label-a i {
display: inline-block;
width: 5px;
height: 5px;
background: #c9e896;
border-radius: 50%;
margin-left: 5px;
}
.label-b {
top: 13%;
left: 29%;
font: 10px monospace;
transform: rotate(7deg);
direction: ltr;
}
.label-b span {
color: #d4eea3;
margin-left: 7px;
}
.star {
position: absolute;
color: #b8d894;
font: 23px serif;
}
.star-a {
left: 81%;
top: 57%;
}
.star-b {
left: 24%;
top: 49%;
font-size: 13px;
}
.star-c {
left: 59%;
top: 9%;
}
.metrics {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 15px;
margin: 22px 0;
}
.metrics > div {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 11px;
display: flex;
align-items: center;
gap: 13px;
padding: 17px 16px;
box-shadow: var(--shadow);
}
.metric-icon {
width: 39px;
height: 40px;
border-radius: 11px;
display: grid;
place-items: center;
font: 22px sans-serif;
}
.mint {
background: #edf6ed;
color: #649970;
}
.violet {
background: #f2eef9;
color: #9880b4;
}
.peach {
background: #fcf0e7;
color: #cfab89;
}
.blue {
background: #ebf2fa;
color: #809fb7;
}
.metrics strong {
display: block;
font-size: 18px;
font-weight: normal;
line-height: 1.5;
}
.metrics small {
display: block;
color: var(--muted);
font-size: 9px;
}
.metric-tail {
color: var(--muted);
font-size: 9px;
margin-right: auto;
}
.metrics .live-dot {
margin-right: auto;
}
.notice {
display: flex;
align-items: center;
gap: 12px;
border: 1px solid #e0e9da;
background: #f0f5e9;
color: #718361;
border-radius: 9px;
padding: 11px 15px;
font-size: 10px;
margin-bottom: 29px;
}
.notice > span {
font: 17px sans-serif;
}
.notice button {
background: none;
margin-right: auto;
font: 19px sans-serif;
min-height: 24px;
}
.section-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
margin: 28px 0 18px;
}
.muted {
color: var(--muted);
}
.section-heading h2 {
font-size: 21px;
font-weight: normal;
margin: 3px 0;
}
.section-heading h2 span {
font-size: 17px;
color: #aab7a1;
margin-right: 6px;
}
.section-heading p {
font-size: 11px;
color: var(--muted);
}
.search {
display: flex;
align-items: center;
border: 1px solid var(--line);
background: var(--panel);
padding: 0 12px;
border-radius: 9px;
width: 260px;
gap: 8px;
}
.search > span {
font: 25px sans-serif;
color: var(--muted);
}
.search input {
background: none;
border: 0;
outline: 0;
color: var(--text);
font-size: 10px;
min-width: 0;
width: 100%;
height: 41px;
}
.search kbd {
border: 1px solid var(--line);
border-radius: 4px;
color: var(--muted);
padding: 0 5px;
font-size: 10px;
}
.filter-row {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 0 18px;
gap: 15px;
}
#filters {
display: flex;
gap: 7px;
flex-wrap: wrap;
}
.filter {
font-size: 10px;
border: 1px solid var(--line);
background: var(--panel);
padding: 3px 13px;
border-radius: 7px;
min-height: 31px;
}
.filter.active {
background: #294d3e;
color: #fff;
border-color: #294d3e;
}
#result-count {
font-size: 10px;
color: var(--muted);
white-space: nowrap;
}
.card-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
align-items: start;
}
.feature-card {
min-width: 0;
background: var(--panel);
border: 1px solid var(--line);
border-radius: 13px;
padding: 20px;
box-shadow: var(--shadow);
height: 100%;
display: flex;
flex-direction: column;
}
.card-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
}
.card-icon {
width: 40px;
height: 40px;
display: grid;
place-items: center;
border-radius: 12px;
font: 23px sans-serif;
}
.tag {
font:
9px Vazir,
sans-serif;
color: var(--muted);
background: var(--bg);
border: 1px solid var(--line);
padding: 2px 8px;
border-radius: 20px;
}
.tag.ready {
color: #64856b;
background: #f0f6ed;
border-color: #e3edde;
}
.feature-card h3 {
font-size: 15px;
font-weight: normal;
margin-bottom: 5px;
}
.card-description {
color: var(--muted);
font-size: 10px;
line-height: 2;
min-height: 40px;
}
.method-line {
margin: 10px 0 14px;
direction: ltr;
color: #8c9a93;
overflow-wrap: anywhere;
font: 10px/1.6 monospace;
}
.controls {
margin-top: auto;
display: flex;
flex-direction: column;
gap: 9px;
}
.button-row {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.lab-button {
background: var(--soft);
border: 1px solid transparent;
border-radius: 7px;
padding: 7px 10px;
color: var(--accent);
font-size: 10px;
min-height: 34px;
flex: 1;
white-space: nowrap;
}
.lab-button:hover {
border-color: #bacbbd;
}
.lab-button.main {
background: #2e5b45;
color: #fff;
}
.lab-button.danger {
color: #bc6e63;
background: #faf0ed;
}
.control-label {
display: flex;
flex-direction: column;
gap: 4px;
font-size: 10px;
color: var(--muted);
}
.control-label input,
.control-label select,
.control-label textarea {
width: 100%;
color: var(--text);
background: var(--bg);
border: 1px solid var(--line);
border-radius: 7px;
padding: 7px 9px;
font-size: 11px;
min-height: 35px;
}
.control-label textarea {
resize: vertical;
min-height: 75px;
line-height: 1.8;
}
.control-label input[type="color"] {
height: 35px;
padding: 3px;
width: 100%;
}
.control-label:has(input[type="checkbox"]) {
flex-direction: row;
align-items: center;
gap: 8px;
}
.control-label input[type="checkbox"] {
width: 15px;
min-height: 15px;
accent-color: var(--accent);
}
.field-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 9px;
}
.result {
font:
10px/1.8 Vazir,
sans-serif;
border: 1px dashed var(--line);
background: var(--bg);
color: var(--muted);
padding: 9px 11px;
border-radius: 7px;
overflow-wrap: anywhere;
white-space: pre-wrap;
max-height: 230px;
overflow: auto;
}
.result.error {
color: #b46257;
border-color: #e5b6aa;
}
.result.success {
color: var(--accent);
}
.result:empty {
display: none;
}
.details {
margin: 8px 0;
font-size: 10px;
}
.details summary {
cursor: pointer;
color: var(--accent);
}
pre.inspector {
direction: ltr;
text-align: left;
font-size: 10px;
white-space: pre-wrap;
overflow-wrap: anywhere;
max-height: 300px;
overflow: auto;
background: var(--bg);
border: 1px solid var(--line);
padding: 12px;
border-radius: 8px;
}
.theme-swatches {
display: flex;
gap: 6px;
flex-wrap: wrap;
margin: 10px 0;
}
.swatch {
width: 25px;
height: 25px;
border-radius: 7px;
border: 1px solid var(--line);
}
.sensor-stage {
height: 110px;
border: 1px solid var(--line);
border-radius: 9px;
position: relative;
overflow: hidden;
background:
linear-gradient(var(--line) 1px, transparent 1px),
linear-gradient(90deg, var(--line) 1px, transparent 1px), var(--bg);
background-size: 22px 22px;
}
.sensor-stage:before,
.sensor-stage:after {
content: "";
position: absolute;
border: 1px solid #a8bbab;
border-radius: 50%;
height: 70px;
width: 70px;
top: 19px;
left: calc(50% - 35px);
}
.sensor-stage:after {
height: 36px;
width: 36px;
top: 36px;
left: calc(50% - 18px);
}
.sensor-ball {
position: absolute;
height: 17px;
width: 17px;
top: calc(50% - 8px);
left: calc(50% - 8px);
background: #86b685;
border: 3px solid #cbe0bd;
border-radius: 50%;
box-shadow: 0 0 15px #8eb572;
z-index: 1;
transition: transform 0.15s;
}
.sensor-readout {
font: 10px monospace;
direction: ltr;
text-align: center;
color: var(--muted);
padding-top: 6px;
}
.helper {
font-size: 9px;
color: var(--muted);
}
.empty {
text-align: center;
padding: 60px;
color: var(--muted);
}
.event-panel {
margin-top: 30px;
border: 1px solid var(--line);
background: var(--panel);
border-radius: 12px;
overflow: hidden;
}
.event-heading {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 20px;
border-bottom: 1px solid var(--line);
gap: 10px;
}
.event-heading > div {
display: flex;
align-items: center;
gap: 10px;
}
.event-heading h2 {
font-size: 13px;
font-weight: normal;
}
.event-heading .muted {
font-size: 9px;
}
.text-button {
background: none;
color: var(--muted);
font-size: 10px;
min-height: 28px;
}
.event-log {
max-height: 220px;
overflow: auto;
min-height: 96px;
padding: 9px 20px;
direction: ltr;
text-align: left;
}
.log-empty {
direction: rtl;
text-align: center;
color: var(--muted);
font-size: 10px;
padding: 26px 0;
}
.log-row {
display: grid;
grid-template-columns: 64px 1fr;
gap: 10px;
padding: 6px 0;
border-bottom: 1px solid var(--line);
font: 10px/1.8 monospace;
overflow-wrap: anywhere;
}
.log-row time {
color: #9aaba1;
}
.log-row strong {
color: #649476;
font-weight: normal;
}
.log-row.error strong {
color: #bd7767;
}
.log-row p {
color: var(--muted);
white-space: pre-wrap;
}
.event-footer {
padding: 9px 20px;
background: var(--bg);
display: flex;
justify-content: space-between;
gap: 10px;
color: var(--muted);
font-size: 9px;
}
.footer {
padding: 26px 0;
display: flex;
justify-content: space-between;
color: var(--muted);
font-size: 10px;
}
.footer b {
font-size: 13px;
color: #6c7e70;
font-weight: normal;
}
.footer-spark {
font-size: 20px;
vertical-align: middle;
color: #afbe9c;
margin-right: 7px;
}
.toast {
position: fixed;
bottom: 25px;
left: 50%;
transform: translateX(-50%);
background: #213e33;
color: #f2f9ed;
box-shadow: 0 6px 24px #14332833;
padding: 12px 22px;
border-radius: 11px;
z-index: 100;
max-width: calc(100vw - 30px);
font-size: 12px;
}
.skip {
position: fixed;
top: -100px;
background: var(--lime);
color: #173e36;
padding: 12px;
z-index: 1000;
}
.skip:focus {
top: 5px;
}
dialog {
background: var(--panel);
color: var(--text);
border: 1px solid var(--line);
border-radius: 18px;
max-width: 400px;
width: calc(100vw - 40px);
padding: 28px;
text-align: center;
}
dialog::backdrop {
background: #112d296b;
backdrop-filter: blur(4px);
}
.dialog-icon {
font-size: 32px;
color: #72976a;
background: var(--soft);
width: 62px;
height: 62px;
border-radius: 18px;
margin: 0 auto 16px;
}
dialog h2 {
font-size: 19px;
}
dialog p {
font-size: 12px;
color: var(--muted);
margin: 12px 0 24px;
}
#dialog-buttons {
display: flex;
gap: 10px;
}
#dialog-buttons button {
flex: 1;
}
.noscript {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #fee1ab;
padding: 20px;
text-align: center;
z-index: 500;
}
body.dark {
--bg: #17231f;
--panel: #202e27;
--text: #e0e9de;
--muted: #a0afa5;
--line: #35473b;
--accent: #bddda4;
--soft: #314735;
color-scheme: dark;
}
body.dark .notice {
background: #2b3c27;
border-color: #425537;
color: #c0d0ac;
}
body.dark .nav-item.active {
background: #364b36;
color: #dbebcc;
}
body.dark .tag.ready {
background: #31472f;
color: #c3d4b1;
border-color: #475b3c;
}
body.dark .filter.active {
background: #cce4af;
color: #233820;
}
body.dark .card-icon,
body.dark .metric-icon {
filter: brightness(0.8);
}
@media (min-width: 1600px) {
.hero {
min-height: 360px;
}
.hero h1 {
font-size: 43px;
}
.sidebar {
width: 265px;
}
.page {
margin-right: 265px;
}
.card-grid {
gap: 22px;
}
}
@media (max-width: 1200px) {
.sidebar {
width: 210px;
padding-inline: 18px;
}
.page {
margin-right: 210px;
}
main {
padding-inline: 25px;
}
.topbar {
padding-inline: 25px;
}
.metrics {
gap: 10px;
}
.metrics > div {
padding: 13px 10px;
gap: 8px;
}
.metric-tail {
display: none;
}
.card-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero {
padding: 30px;
}
.hero h1 {
font-size: 33px;
}
.orbital {
transform: scale(0.9);
transform-origin: left center;
width: 48%;
}
}
@media (max-height: 860px) and (min-width: 901px) {
.sidebar-note {
padding: 12px;
}
.sidebar-note p {
display: none;
}
.nav-caption {
margin-top: 27px;
}
.nav-item {
padding-block: 7px;
min-height: 37px;
}
.sidebar-footer {
margin-top: 15px;
}
}
@media (max-width: 900px) {
.sidebar {
position: static;
width: auto;
padding: 16px 20px 10px;
border-left: 0;
border-bottom: 1px solid var(--line);
}
.brand {
font-size: 24px;
}
.brand-mark {
width: 38px;
height: 40px;
font-size: 30px;
}
.brand small {
font-size: 9px;
}
.nav-caption,
.sidebar-note,
.sidebar-footer {
display: none;
}
#navigation {
display: flex;
overflow-x: auto;
gap: 5px;
margin-top: 18px;
padding-bottom: 4px;
}
.nav-item {
width: auto;
flex-shrink: 0;
margin: 0;
font-size: 10px;
gap: 6px;
padding: 8px 12px;
min-height: 35px;
}
.nav-item .nav-icon {
font-size: 17px;
width: 18px;
}
.nav-number {
display: none;
}
.page {
margin: 0;
}
.topbar {
height: 62px;
}
.metrics strong {
font-size: 16px;
}
.hero {
min-height: 320px;
}
}
@media (max-width: 600px) {
main {
padding: 20px 16px 0;
}
.topbar {
padding: 0 18px;
}
.top-actions {
gap: 8px;
}
.breadcrumb {
gap: 9px;
font-size: 10px;
}
.avatar {
display: none;
}
.pill {
font-size: 9px;
padding: 3px 8px;
}
.hero {
min-height: 344px;
padding: 25px 22px;
}
.hero-copy {
width: 76%;
}
.hero h1 {
font-size: 30px;
}
.hero .eyebrow {
font-size: 8px;
}
.hero p {
font-size: 10px;
}
.orbital {
left: -74px;
width: 210px;
opacity: 0.5;
transform: scale(0.7);
transform-origin: left center;
}
.hero-actions {
gap: 13px;
}
.primary {
padding: 9px 13px;
font-size: 11px;
gap: 12px;
}
.hero-link {
font-size: 10px;
}
.hero-foot {
font-size: 8px;
}
.metrics {
grid-template-columns: 1fr 1fr;
margin: 16px 0;
gap: 9px;
}
.metrics > div {
padding: 12px;
}
.notice {
margin-bottom: 20px;
align-items: start;
font-size: 9px;
}
.section-heading {
flex-direction: column;
align-items: stretch;
gap: 16px;
}
.section-heading h2 {
font-size: 21px;
}
.search {
width: 100%;
}
.filter-row {
align-items: start;
}
.card-grid {
grid-template-columns: 1fr;
gap: 14px;
}
.feature-card {
padding: 20px;
}
.card-description {
min-height: 0;
font-size: 11px;
}
.lab-button {
font-size: 11px;
min-height: 40px;
}
.method-line {
margin-bottom: 16px;
}
.event-heading {
padding: 12px;
align-items: start;
}
.event-heading .muted {
display: none;
}
.event-heading > div {
gap: 6px;
}
.event-heading h2 {
font-size: 12px;
}
.event-footer {
padding: 8px 12px;
font-size: 8px;
}
.event-footer code {
font-size: 9px;
}
.event-log {
padding: 8px 12px;
}
.footer {
font-size: 8px;
}
.footer-spark {
font-size: 16px;
}
}
body {
padding-top: var(--tg-safe-area-inset-top, env(safe-area-inset-top, 0px));
padding-bottom: var(
--tg-safe-area-inset-bottom,
env(safe-area-inset-bottom, 0px)
);
padding-left: calc(
var(--tg-safe-area-inset-left, env(safe-area-inset-left, 0px)) +
var(--tg-content-safe-area-inset-left, 0px)
);
padding-right: calc(
var(--tg-safe-area-inset-right, env(safe-area-inset-right, 0px)) +
var(--tg-content-safe-area-inset-right, 0px)
);
}
@media (prefers-reduced-motion: reduce) {
*,
*:before,
*:after {
transition: none !important;
scroll-behavior: auto !important;
}
}
/* The identity is a vector orbit, independent of font rendering. */
.brand-mark { background: transparent; border-radius: 0; object-fit: contain; }
.planet { background: #163e37; }
.planet img { width: 100%; height: 100%; object-fit: contain; }