/* src/styles.css */
:root {
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
body {
  margin: 0;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
:root {
  --bg:#F3F5FA;
  --surface:#FFFFFF;
  --sunk:#E9EDF5;
  --ink:#0E1730;
  --muted:#57627E;
  --line:#D9DFEB;
  --brand-l:#1B3FA6;
  --brand-d:#86A2FF;
  --brand:var(--brand-l);
  --on-brand:#FFFFFF;
  --sun:#F6C90E;
  --sun-ink:#3A2E00;
  --ok:#1C7C54;
  --ok-bg:#E3F3EA;
  --warn:#A85F00;
  --warn-bg:#FCEFD9;
  --crit:#B4232B;
  --crit-bg:#FBE3E4;
  --info:#1B5FC1;
  --info-bg:#E2ECFB;
  --idle:#5D6782;
  --idle-bg:#ECEFF5;
  --wa:#DCF8C6;
  --wa-ink:#11251A;
  --paper:#FFFFFF;
  --paper-ink:#0E1730;
  --paper-line:#C9D0DE;
  --f-head:"Plus Jakarta Sans",Inter,system-ui,sans-serif;
  --f-body:Inter,system-ui,-apple-system,sans-serif;
  --f-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --r:10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg:#0B1020;
    --surface:#131A2E;
    --sunk:#0F1527;
    --ink:#E7ECF7;
    --muted:#98A3BF;
    --line:#263050;
    --brand:var(--brand-d);
    --on-brand:#0B1020;
    --ok:#5DD39E;
    --ok-bg:#12301F;
    --warn:#F2B35B;
    --warn-bg:#35260C;
    --crit:#FF8F8F;
    --crit-bg:#3A1518;
    --info:#8DB6FF;
    --info-bg:#14254A;
    --idle:#A3ACC6;
    --idle-bg:#1D2540;
    --wa:#1F3B2A;
    --wa-ink:#E3F5E8;
    color-scheme: dark;
  }
}
:root[data-theme=dark] {
  --bg:#0B1020;
  --surface:#131A2E;
  --sunk:#0F1527;
  --ink:#E7ECF7;
  --muted:#98A3BF;
  --line:#263050;
  --brand:var(--brand-d);
  --on-brand:#0B1020;
  --ok:#5DD39E;
  --ok-bg:#12301F;
  --warn:#F2B35B;
  --warn-bg:#35260C;
  --crit:#FF8F8F;
  --crit-bg:#3A1518;
  --info:#8DB6FF;
  --info-bg:#14254A;
  --idle:#A3ACC6;
  --idle-bg:#1D2540;
  --wa:#1F3B2A;
  --wa-ink:#E3F5E8;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 var(--f-body);
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--f-head);
  text-wrap: balance;
  margin: 0;
  line-height: 1.2;
}
h2 {
  font-size: 1.25rem;
}
h3 {
  font-size: 1rem;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.mono {
  font-family: var(--f-mono);
  font-size: .85em;
  letter-spacing: .01em;
}
.muted {
  color: var(--muted);
}
.label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.wrap {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.inner {
  max-width: 1120px;
  margin: 0 auto;
}
.phone {
  max-width: 460px;
  margin: 0 auto;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--surface);
}
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 9;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.top .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding-block: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-right: auto;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand);
  position: relative;
  flex: none;
}
.mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 4px;
  background: var(--sun);
}
.brand b {
  font-family: var(--f-head);
  font-size: 1.05rem;
  display: block;
  line-height: 1.1;
}
.brand small {
  color: var(--muted);
  font-size: .78rem;
}
.chip-demo {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  background: var(--sun);
  color: var(--sun-ink);
  padding: 2px 7px;
  border-radius: 99px;
  margin-left: 6px;
  vertical-align: 2px;
}
.roles {
  display: flex;
  background: var(--sunk);
  border-radius: 99px;
  padding: 3px;
  gap: 2px;
}
.roles button {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 99px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--muted);
}
.roles button[aria-pressed=true] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px #0E173022;
}
.flow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-block: 12px 4px;
}
.flow button {
  flex: 1 1 200px;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--r);
  padding: 8px 12px;
  color: var(--muted);
  font-size: .85rem;
}
.flow button b {
  display: block;
  color: var(--ink);
  font-size: .9rem;
}
.flow .n {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sunk);
  font-weight: 700;
  font-size: .8rem;
  flex: none;
}
.flow button[aria-current=step] {
  border-color: var(--brand);
  background: var(--surface);
}
.flow button[aria-current=step] .n {
  background: var(--brand);
  color: var(--on-brand);
}
@media (max-width: 560px) {
  .flow {
    flex-wrap: nowrap;
  }
  .flow button {
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px;
    font-size: 0;
  }
  .flow button b {
    font-size: .78rem;
    line-height: 1.25;
  }
}
main {
  padding-block: 16px 96px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px;
}
.stack {
  display: grid;
  gap: 12px;
}
.row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.btn.block {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: 1rem;
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--brand);
  padding-inline: 6px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 99px;
  white-space: nowrap;
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.st-planned {
  background: var(--idle-bg);
  color: var(--idle);
}
.st-enroute {
  background: var(--info-bg);
  color: var(--info);
}
.st-progress {
  background: var(--warn-bg);
  color: var(--warn);
}
.st-done {
  background: var(--ok-bg);
  color: var(--ok);
}
.lv-none,
.lv-low {
  background: var(--ok-bg);
  color: var(--ok);
}
.lv-medium {
  background: var(--warn-bg);
  color: var(--warn);
}
.lv-high {
  background: var(--crit-bg);
  color: var(--crit);
}
.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
}
.kpi b {
  font-family: var(--f-head);
  font-size: 1.7rem;
  display: block;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.kpi span {
  font-size: .82rem;
  color: var(--muted);
}
.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.col h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.job {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  background: none;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  text-align: left;
  width: 100%;
  color: inherit;
}
.job:first-of-type {
  border-top: 0;
}
.job .t {
  font-family: var(--f-mono);
  font-size: .85rem;
  color: var(--muted);
  padding-top: 1px;
  font-variant-numeric: tabular-nums;
}
.job .c {
  font-weight: 600;
  min-width: 0;
}
.job .s {
  grid-column: 2;
  font-size: .82rem;
  color: var(--muted);
}
.job .p {
  grid-column: 2;
  margin-top: 4px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.field {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.field label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}
.field.wide {
  grid-column: 1/-1;
}
input[type=text],
input[type=time],
input[type=number],
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  padding: 9px 10px;
  min-height: 42px;
}
textarea {
  min-height: 84px;
  resize: vertical;
}
.list {
  display: grid;
}
.li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.li:first-child {
  border-top: 0;
}
.li .when {
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.swatches {
  display: flex;
  gap: 8px;
}
.swatches button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
.swatches button[aria-pressed=true] {
  box-shadow: 0 0 0 2px var(--ink);
}
.note {
  font-size: .85rem;
  color: var(--muted);
}
.hello {
  padding-block: 4px 12px;
}
.hello h2 {
  font-size: 1.4rem;
}
.tjob {
  display: grid;
  gap: 8px;
}
.tjob .head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}
.tjob .time {
  font-family: var(--f-mono);
  font-size: 1.1rem;
  font-weight: 500;
}
.tjob .who {
  font-weight: 700;
  font-size: 1.05rem;
}
.tjob.dim {
  opacity: .72;
}
.back {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 0;
  background: none;
  color: var(--brand);
  font-weight: 600;
  padding: 4px 0;
  margin-bottom: 8px;
}
.office-note {
  background: var(--warn-bg);
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: .9rem;
}
.office-note b {
  color: var(--warn);
}
.step h3 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.step h3 .n {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  display: grid;
  place-items: center;
  font-size: .75rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips button {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 99px;
  padding: 8px 14px;
  font-weight: 500;
  min-height: 40px;
}
.chips button[aria-pressed=true] {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.seg button {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  padding: 10px 4px;
  font-weight: 600;
  font-size: .88rem;
  min-height: 44px;
}
.seg button[aria-pressed=true].lv-none,
.seg button[aria-pressed=true].lv-low {
  background: var(--ok);
  border-color: var(--ok);
  color: var(--surface);
}
.seg button[aria-pressed=true].lv-medium {
  background: var(--warn);
  border-color: var(--warn);
  color: var(--surface);
}
.seg button[aria-pressed=true].lv-high {
  background: var(--crit);
  border-color: var(--crit);
  color: var(--surface);
}
.seg button:not([aria-pressed=true]) {
  background: var(--bg);
  color: var(--ink);
}
.stations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.stn {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  background: var(--bg);
  min-height: 56px;
}
.stn b {
  display: block;
  font-family: var(--f-mono);
  font-size: .8rem;
}
.stn span {
  font-size: .72rem;
  font-weight: 600;
}
.stn.ok span {
  color: var(--ok);
}
.stn.act {
  background: var(--crit-bg);
  border-color: var(--crit);
}
.stn.act span {
  color: var(--crit);
}
.stn.replaced {
  background: var(--info-bg);
  border-color: var(--info);
}
.stn.replaced span {
  color: var(--info);
}
.stn.missing {
  background: var(--warn-bg);
  border-color: var(--warn);
}
.stn.missing span {
  color: var(--warn);
}
.map {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.map svg {
  display: block;
  width: 100%;
  height: auto;
  touch-action: manipulation;
}
.map.placing {
  outline: 3px dashed var(--brand);
  outline-offset: -3px;
  cursor: crosshair;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 8px;
}
.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: -1px;
}
.devs {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.dev {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.dev.sel {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}
.dev-h {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: none;
  padding: 10px 12px;
  text-align: left;
  color: inherit;
  flex-wrap: wrap;
}
.dev-h .id {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .85rem;
}
.dev-h .meta {
  flex: 1;
  min-width: 0;
  font-size: .85rem;
  color: var(--muted);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
  border: 2px solid var(--ink);
  background: var(--surface);
}
.dot.clear {
  background: var(--ok);
  border-color: var(--ok);
}
.dot.hit {
  background: var(--crit);
  border-color: var(--crit);
}
.dot.cage {
  border-radius: 3px;
}
.dev-b {
  padding: 0 12px 12px;
  display: grid;
  gap: 12px;
}
.mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mini button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: .86rem;
  font-weight: 500;
  min-height: 40px;
  color: var(--ink);
}
.mini button[aria-pressed=true] {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.mini button.hit[aria-pressed=true] {
  background: var(--crit);
  border-color: var(--crit);
  color: var(--surface);
}
.mini button.clear[aria-pressed=true] {
  background: var(--ok);
  border-color: var(--ok);
  color: var(--surface);
}
.acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.acts label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .88rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 8px 10px;
  min-height: 44px;
}
.acts input {
  width: 20px;
  height: 20px;
  flex: none;
}
@media (max-width: 380px) {
  .acts {
    grid-template-columns: 1fr;
  }
}
.prod {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px auto;
  gap: 6px;
  align-items: center;
}
.prod .u {
  font-size: .82rem;
  color: var(--muted);
  width: 30px;
}
.photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ph {
  aspect-ratio: 1;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--sunk) 0 10px,
      var(--bg) 10px 20px);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph small {
  position: relative;
  background: #0E1730CC;
  color: #fff;
  font-size: .68rem;
  padding: 3px 6px;
  width: 100%;
  line-height: 1.3;
}
.addph {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  color: var(--brand);
  font-weight: 600;
  font-size: .85rem;
  text-align: center;
  cursor: pointer;
  background: var(--bg);
}
.addph input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.sigpad {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  position: relative;
}
.sigpad canvas {
  display: block;
  width: 100%;
  height: 150px;
  touch-action: none;
}
.sigpad .line {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 34px;
  border-top: 1px dashed var(--paper-line);
  pointer-events: none;
}
.sigpad .hint {
  position: absolute;
  left: 16px;
  bottom: 10px;
  font-size: .75rem;
  color: #7A849C;
  pointer-events: none;
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .9rem;
}
.check input {
  width: 20px;
  height: 20px;
}
.err {
  color: var(--crit);
  font-weight: 600;
  font-size: .9rem;
}
.sticky-cta {
  position: sticky;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
}
.wa {
  background: var(--wa);
  color: var(--wa-ink);
  border-radius: 12px 12px 12px 2px;
  padding: 10px 12px;
  font-size: .92rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.success {
  border-color: var(--ok);
}
.success h2 {
  color: var(--ok);
}
.rep {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.rep-head {
  background: var(--brand);
  color: var(--on-brand);
  padding: 18px 16px 16px;
  position: relative;
}
.rep-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--sun);
}
.rep-head .co {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.25rem;
}
.rep-head .ttl {
  opacity: .85;
  font-size: .9rem;
}
.rep-body {
  padding: 16px;
  display: grid;
  gap: 18px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}
.facts div {
  min-width: 0;
}
.facts dt {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.sec h3 {
  font-size: .95rem;
  margin-bottom: 8px;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.tbl th {
  text-align: left;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.tbl td {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.tbl td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tbl th + th,
.tbl td + td {
  padding-left: 10px;
}
.sig-out {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  padding: 6px;
  max-width: 260px;
}
.sig-out img {
  display: block;
  width: 100%;
  height: auto;
}
.next {
  background: var(--sunk);
  border-radius: var(--r);
  padding: 14px;
  display: grid;
  gap: 10px;
}
.next .d {
  font-family: var(--f-head);
  font-size: 1.3rem;
  font-weight: 700;
}
.langs {
  display: flex;
  gap: 4px;
  background: var(--sunk);
  border-radius: 99px;
  padding: 3px;
}
.langs button {
  border: 0;
  background: transparent;
  border-radius: 99px;
  padding: 6px 11px;
  font-weight: 700;
  font-size: .8rem;
  color: var(--muted);
}
.langs button[aria-pressed=true] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px #0E173022;
}
.opened {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.opened i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
}
.powered {
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  padding: 4px 0 2px;
}
.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 99px;
  font-weight: 600;
  font-size: .9rem;
  z-index: 20;
  max-width: calc(100% - 32px);
  text-align: center;
}
@media (prefers-reduced-motion: no-preference) {
  .toast {
    animation: up .25s ease-out;
  }
  @keyframes up {
    from {
      transform: translate(-50%, 8px);
      opacity: 0;
    }
  }
}
