:root {
  --ink: #0b0d10;
  --sidebar: #111318;
  --sidebar-soft: #191c22;
  --paper: #f4f3ef;
  --card: #fff;
  --line: #deddd7;
  --muted: #6e706f;
  --coral: #f17459;
  --coral-dark: #d75d43;
  --violet: #8072dd;
  --green: #5ea97c;
  --shadow: 0 16px 44px rgba(17, 19, 24, .07);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.shell { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 236px; z-index: 20; display: flex; flex-direction: column; padding: 24px 15px 18px; color: #f6f4ee; background: var(--sidebar); border-right: 1px solid #24272d; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px 29px; }
.brand strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 2px; color: #898d95; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.brand-mark { position: relative; width: 31px; height: 31px; flex: 0 0 auto; transform: rotate(45deg); }
.brand-mark span { position: absolute; display: block; width: 13px; height: 13px; border: 2px solid var(--coral); }
.brand-mark span:nth-child(1) { inset: 0 auto auto 0; }
.brand-mark span:nth-child(2) { inset: 9px auto auto 9px; border-color: #fff; }
.brand-mark span:nth-child(3) { inset: auto 0 0 auto; border-color: var(--violet); }
.brand-mark.large { width: 48px; height: 48px; margin-bottom: 22px; }
.brand-mark.large span { width: 21px; height: 21px; }
.brand-mark.large span:nth-child(2) { inset: 13px auto auto 13px; border-color: var(--ink); }

nav { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 13px; width: 100%; padding: 11px 13px; border: 0; border-radius: 7px; color: #9da0a7; background: transparent; text-align: left; font-size: 13px; font-weight: 650; transition: .18s ease; }
.nav-item i { width: 18px; color: #747880; font-size: 16px; font-style: normal; text-align: center; }
.nav-item:hover { color: #fff; background: #171a20; }
.nav-item.active { color: #fff; background: #22252c; box-shadow: inset 2px 0 var(--coral); }
.nav-item.active i { color: var(--coral); }
.sidebar-foot { margin-top: auto; padding: 17px 10px 0; border-top: 1px solid #262930; }
.status-line { display: flex; align-items: center; gap: 9px; color: #b5b8bd; font-size: 11px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #65c48a; box-shadow: 0 0 0 4px rgba(101, 196, 138, .1); }
.text-button { margin-top: 14px; padding: 0; border: 0; color: #747880; background: none; font-size: 11px; }
.text-button:hover { color: #fff; }

main { grid-column: 2; min-width: 0; }
.topbar { height: 78px; position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; background: rgba(244, 243, 239, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar h2 { margin: 3px 0 0; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.eyebrow { margin: 0; color: #8b8d8a; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.accent { color: var(--coral-dark); }
.top-actions { display: flex; align-items: center; gap: 13px; }
.environment { display: flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; color: #4e514f; background: rgba(255,255,255,.55); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.environment span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.icon-button, .mobile-menu { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #5f6260; }
.mobile-menu { display: none; }
.content { padding: 36px 38px 60px; max-width: 1500px; margin: 0 auto; }
.view { display: none; animation: enter .28s ease; }
.view.active { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(4px); } }

.hero { min-height: 252px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin: -36px -38px 28px; padding: 48px 48px 41px; color: #eeece7; overflow: hidden; position: relative; background: #17191e; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -80px; top: -340px; border: 1px solid rgba(241,116,89,.23); border-radius: 50%; box-shadow: 0 0 0 65px rgba(128,114,221,.035), 0 0 0 130px rgba(241,116,89,.025); }
.hero::after { content: ""; position: absolute; width: 220px; height: 1px; right: 60px; top: 87px; transform: rotate(-36deg); background: linear-gradient(90deg, transparent, var(--coral), transparent); }
.hero > * { position: relative; z-index: 1; }
.hero h1 { margin: 13px 0 11px; font-family: Georgia, serif; font-size: clamp(32px, 4vw, 49px); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
.hero h1 em { color: #b7b1da; font-weight: 400; }
.hero p:not(.eyebrow) { max-width: 660px; margin: 0; color: #93969c; font-size: 13px; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 40px; padding: 0 17px; border: 1px solid transparent; border-radius: 6px; font-size: 12px; font-weight: 750; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--coral); box-shadow: 0 7px 18px rgba(241,116,89,.18); }
.button.primary:hover { background: var(--coral-dark); }
.button.light { color: var(--ink); background: #f7f5ef; }
.button.outline { color: #313432; background: #fff; border-color: var(--line); }
.button.ghost { color: #646663; background: transparent; }
.button.full { width: 100%; justify-content: space-between; }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; }
kbd { padding: 2px 5px; border: 1px solid rgba(255,255,255,.4); border-radius: 3px; font: 11px inherit; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.stat-card { display: flex; align-items: flex-start; gap: 15px; min-height: 122px; padding: 23px; background: var(--card); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 4px 16px rgba(20,22,25,.025); }
.stat-card small { display: block; color: #929490; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.stat-card strong { display: block; margin: 8px 0 5px; font-family: Georgia, serif; font-size: 29px; font-weight: 500; }
.stat-card p { margin: 0; color: #838581; font-size: 10px; }
.stat-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 7px; font-size: 15px; }
.stat-icon.coral { color: #d95e44; background: #fff0ec; }
.stat-icon.violet { color: #7768cf; background: #f0edff; }
.stat-icon.green { color: #478e65; background: #edf8f1; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); gap: 15px; margin-top: 15px; }
.operations-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr); gap: 15px; margin-top: 15px; }
.ops-panel { padding: 25px; min-width: 0; }
.usage-table { margin-top: 18px; overflow-x: auto; }
.usage-row { display: grid; grid-template-columns: minmax(120px, 1.4fr) repeat(3, minmax(65px, .7fr)) 72px; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid #eceae5; font-size: 9px; }
.usage-row.header { color: #959792; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.usage-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alerts-list { display: grid; gap: 9px; margin-top: 18px; }
.alert-item { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid #e8d6d1; border-radius: 6px; background: #fff8f6; }
.alert-item.warning { border-color: #eadfc7; background: #fffaf0; }
.alert-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.alert-item.warning .alert-dot { background: #d9a84c; }
.alert-item p { margin: 0; color: #5e605d; font-size: 9px; line-height: 1.45; }
.alert-item button { border: 0; color: #8d8f8b; background: transparent; font-size: 14px; }
.ops-empty { padding: 28px 0; color: #999b97; font-size: 10px; text-align: center; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 5px 20px rgba(20,22,25,.03); }
.quick-panel, .topology-panel, .result-panel, .api-panel, .library-grid > .panel { padding: 25px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.panel h3 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.step-pill, .live-badge, .run-state, .method { padding: 5px 8px; border-radius: 4px; color: #737670; background: #f3f2ed; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.live-badge { color: #448762; background: #edf8f1; }
.steps { margin: 22px 0 20px; padding: 0; list-style: none; }
.steps li { display: flex; gap: 13px; position: relative; padding-bottom: 19px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 25px; bottom: 2px; left: 12px; width: 1px; background: #e3e1db; }
.steps li > span { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--coral-dark); background: #fff0ec; font-size: 9px; font-weight: 800; }
.steps strong { font-size: 12px; }
.steps p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.topology { display: flex; align-items: center; justify-content: center; padding: 46px 0 37px; }
.node { min-width: 67px; padding: 11px 8px; border: 1px solid #d9d8d2; border-radius: 7px; background: #faf9f6; text-align: center; font-size: 11px; font-weight: 800; }
.node small { display: block; margin-top: 4px; color: #949691; font-size: 8px; font-weight: 500; }
.route-node { border-color: #d7cffc; background: #f5f2ff; }
.ssc-node { border-color: #f5cabe; background: #fff5f2; }
.flow-line { width: 26px; height: 1px; position: relative; background: #cecdc7; }
.flow-line::after { content: ""; position: absolute; right: 0; top: -2px; border-width: 3px 0 3px 4px; border-style: solid; border-color: transparent transparent transparent #aaa; }
.guardrail { display: flex; gap: 11px; padding: 13px; color: #5f625f; background: #f6f5f1; border-radius: 6px; }
.guardrail > span { color: var(--coral); }
.guardrail p { margin: 0; font-size: 10px; line-height: 1.55; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.section-heading h1 { margin: 7px 0 6px; font-family: Georgia, serif; font-size: 36px; font-weight: 500; letter-spacing: -.03em; }
.section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 12px; }
.playground-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr); gap: 16px; }
.composer { padding: 26px; }
label, .label-text { display: grid; gap: 7px; color: #505350; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.source-note { min-height: 24px; color: #949690; font-size: 8px; font-weight: 500; line-height: 1.45; text-transform: none; letter-spacing: 0; }
input, select, textarea { width: 100%; border: 1px solid #d8d7d1; border-radius: 6px; outline: none; color: #202320; background: #fbfaf7; font-size: 12px; text-transform: none; letter-spacing: 0; transition: .16s ease; }
input, select { height: 41px; padding: 0 12px; }
textarea { padding: 13px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(241,116,89,.1); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-bottom: 15px; }
.composer > label { position: relative; }
.char-count { position: absolute; right: 10px; bottom: 9px; padding: 3px 6px; color: #989a96; background: rgba(251,250,247,.9); font-size: 9px; }
.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; }
.switch { display: flex; grid-template: none; align-items: center; gap: 9px; color: #5d605d; text-transform: none; letter-spacing: 0; }
.switch input { display: none; }
.switch span { width: 32px; height: 18px; position: relative; border-radius: 20px; background: #d0d0cb; transition: .2s; }
.switch span::after { content: ""; width: 12px; height: 12px; position: absolute; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: .2s; }
.switch input:checked + span { background: var(--coral); }
.switch input:checked + span::after { transform: translateX(14px); }
.run-state.ready { color: #42815e; background: #eaf6ef; }
.run-state.running { color: #9d672c; background: #fff3df; }
.run-state.error { color: #b94c42; background: #fff0ee; }
.waveform { height: 94px; display: flex; align-items: center; justify-content: center; gap: 4px; margin: 24px 0 13px; overflow: hidden; border-radius: 6px; background: #f5f3ef; }
.waveform i { width: 3px; height: calc(8px + var(--n, 16) * 1px); border-radius: 4px; background: #d4d2cc; }
.waveform i:nth-child(3n) { --n: 30; }.waveform i:nth-child(4n) { --n: 46; }.waveform i:nth-child(5n) { --n: 22; }.waveform i:nth-child(7n) { --n: 59; }
.waveform.playing i { background: var(--coral); animation: wave .75s ease-in-out infinite alternate; animation-delay: calc(var(--n) * -10ms); }
@keyframes wave { to { transform: scaleY(.35); } }
audio { width: 100%; height: 38px; }
.metric-list { margin-top: 20px; border-top: 1px solid #eceae4; }
.metric-list > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid #eceae4; font-size: 10px; }
.metric-list span { color: #777a76; }
.metric-list strong { max-width: 160px; overflow: hidden; color: #343734; text-overflow: ellipsis; white-space: nowrap; }
.result-note { margin: 15px 0 0; color: #9a9c98; font-size: 9px; line-height: 1.55; }

.notice { display: flex; gap: 12px; max-width: 780px; margin: -7px 0 22px; padding: 13px 15px; color: #5d5f5c; background: #eeece5; border-left: 2px solid var(--violet); }
.notice span { color: var(--violet); }
.notice p { margin: 0; font-size: 10px; line-height: 1.55; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 15px; }
.connection-card { min-height: 218px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(20,22,25,.025); }
.connection-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.provider-logo { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: #16181d; font-family: Georgia, serif; font-size: 19px; }
.connection-title { flex: 1; }
.connection-title h3 { margin: 2px 0 3px; font-family: Georgia, serif; font-size: 17px; font-weight: 500; }
.connection-title p { margin: 0; color: #959792; font-size: 9px; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 99px; color: #42815e; background: #edf8f1; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.status-badge.off { color: #858782; background: #f0efeb; }
.connection-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.connection-meta small { display: block; color: #9a9c97; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.connection-meta strong { display: block; margin-top: 5px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.quota-block { margin: 17px 0; }
.quota-copy { display: flex; justify-content: space-between; margin-bottom: 6px; color: #858783; font-size: 8px; }
.quota-copy strong { color: #4c4f4c; }
.quota-track { height: 5px; overflow: hidden; border-radius: 9px; background: #eceae5; }
.quota-fill { height: 100%; border-radius: inherit; background: var(--green); }
.quota-fill.warning { background: #d4a447; }
.quota-fill.critical { background: var(--coral); }
.card-actions { display: flex; gap: 7px; padding-top: 14px; border-top: 1px solid #eceae5; }
.mini-button { min-height: 30px; padding: 0 10px; border: 1px solid #deddd7; border-radius: 5px; color: #5e615d; background: #fff; font-size: 9px; font-weight: 700; }
.mini-button:hover { border-color: #bbb9b2; }
.mini-button.danger { margin-left: auto; color: #bc5c50; }
.empty-state { padding: 70px 25px; border: 1px dashed #cfcdc5; border-radius: 9px; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-glyph { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; color: var(--coral); background: #fff0ec; font-size: 22px; }
.empty-state h3 { margin: 0; font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.empty-state p { margin: 7px 0 18px; color: var(--muted); font-size: 11px; }

.routes-list { display: grid; gap: 12px; }
.route-card { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 25px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.route-card h3 { margin: 0 0 4px; font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.route-card p { margin: 0; color: #929490; font: 9px ui-monospace, monospace; }
.route-flow { display: flex; align-items: center; min-width: 0; gap: 7px; overflow-x: auto; }
.target-pill { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #deddd7; border-radius: 5px; color: #50534f; background: #faf9f6; font-size: 9px; }
.target-arrow { color: #aaa; font-size: 10px; }
.route-flags { display: flex; align-items: center; gap: 8px; }

.library-grid { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(420px, 1.2fr); gap: 16px; }
.provider-row { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #eceae5; }
.provider-row:last-child { border: 0; }
.provider-row h4 { margin: 0 0 3px; font-size: 11px; }
.provider-row p { margin: 0; color: #939590; font-size: 9px; }
.provider-row .provider-logo { width: 34px; height: 34px; font-size: 15px; }
.method { color: #a84936; background: #fff0ec; }
pre { margin: 23px 0 14px; padding: 20px; overflow: auto; border-radius: 7px; color: #dfded8; background: #17191e; font: 11px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-note { color: var(--muted); font-size: 10px; line-height: 1.6; }

.auth-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; overflow: hidden; background: #e9e7e0; }
.auth-gate::before { content: ""; position: absolute; width: 720px; height: 720px; top: -540px; right: -100px; border: 1px solid rgba(241,116,89,.5); border-radius: 50%; box-shadow: 0 0 0 90px rgba(128,114,221,.04), 0 0 0 180px rgba(241,116,89,.04); }
.auth-card { width: min(410px, 100%); position: relative; z-index: 1; padding: 38px; background: #fff; border: 1px solid #d9d7d0; border-radius: 10px; box-shadow: var(--shadow); }
.auth-card h1 { margin: 9px 0 8px; font-family: Georgia, serif; font-size: 31px; font-weight: 500; }
.muted { margin: 0 0 23px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.auth-card label { margin-bottom: 15px; }
.form-error { min-height: 14px; margin: 10px 0 0; color: #b84f44; font-size: 10px; text-transform: none; }

dialog { width: min(620px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 10px; box-shadow: 0 28px 80px rgba(12,14,17,.25); }
dialog::backdrop { background: rgba(11,13,16,.58); backdrop-filter: blur(3px); }
.dialog-form { padding: 28px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.dialog-head h2 { margin: 6px 0 0; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.dialog-close { width: 32px; height: 32px; border: 0; border-radius: 50%; color: #858782; background: #f1f0eb; font-size: 19px; }
.dialog-form > label { margin-bottom: 15px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 23px; padding-top: 19px; border-top: 1px solid #e8e6e0; }
.target-builder { display: grid; gap: 7px; margin-top: 8px; }
.target-option { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid #deddd7; border-radius: 6px; }
.target-option input { width: 15px; height: 15px; }
.target-option strong { font-size: 10px; }
.target-option button { width: 25px; height: 25px; border: 1px solid #deddd7; border-radius: 4px; background: #fff; font-size: 9px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: 360px; padding: 13px 16px; transform: translateY(20px); opacity: 0; pointer-events: none; color: #fff; background: #25282d; border-left: 3px solid var(--green); border-radius: 6px; box-shadow: var(--shadow); font-size: 11px; transition: .22s ease; }
.toast.show { opacity: 1; transform: none; }
.toast.error { border-color: var(--coral); }

@media (max-width: 1040px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
  .overview-grid, .operations-grid, .playground-grid { grid-template-columns: 1fr; }
  .topology-panel { min-height: 300px; }
}

@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { transform: translateX(-100%); transition: transform .22s ease; box-shadow: 20px 0 50px rgba(0,0,0,.24); }
  .sidebar.open { transform: none; }
  main { min-width: 0; }
  .mobile-menu { display: block; }
  .topbar { height: 68px; padding: 0 17px; }
  .topbar > div:first-of-type { flex: 1; margin-left: 12px; }
  .environment { display: none; }
  .content { padding: 25px 16px 45px; }
  .hero { min-height: 340px; align-items: flex-start; flex-direction: column; margin: -25px -16px 20px; padding: 38px 23px 28px; }
  .hero .button { margin-top: auto; }
  .stat-grid, .card-grid, .library-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading .button { width: 100%; }
  .route-card { grid-template-columns: 1fr; gap: 15px; }
  .topology { transform: scale(.88); margin: 0 -30px; }
  .composer-foot { align-items: stretch; flex-direction: column; }
  .composer-foot .button { width: 100%; }
  .dialog-form { padding: 22px; }
  .auth-card { padding: 29px 24px; }
}
