/* Plan 29A: plain drafting-office look. Flat, square, one ink colour. */
:root {
  color-scheme: light;
  --ink: #0f2438;
  --ink-2: #33495f;
  --muted: #687c90;
  --paper: #f3f2ef;
  --card: #ffffff;
  --line: #d4d1ca;
  --line-strong: #a9a59b;
  --sky-50: #eef5fb;
  --sky-300: #9cc5e6;
  --sky-700: #1e5a8f;
  --sun-50: #fff6e0;
  --sun-400: #ffbe3d;
  --sun-500: #f5a524;
  --sun-600: #e08a00;
  --leaf: #2e8b57;
  --leaf-50: #e7f4ec;
  --danger: #c2412d;
  --danger-50: #fbebe7;
  --map-bg: #e6e4df;
  --radius: 3px;
  --radius-sm: 2px;
  --shadow: none;
  --font-body: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-display: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  /* The page fills the whole screen (viewport-fit=cover): keep clear of the notch, the Dynamic
     Island in landscape and the home bar. */
  padding: env(safe-area-inset-top) max(20px, env(safe-area-inset-right)) calc(56px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

.top, .panel, .workspace { max-width: 1280px; margin-left: auto; margin-right: auto; }

/* ---- Header ---- */
.top { padding: 24px 0 16px; display: block; border-bottom: 2px solid var(--ink); margin-bottom: 16px; }
.eyebrow { margin: 0 0 6px; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); }
.foot { max-width: 1280px; margin: 24px auto 0; }
.build { margin: 0; color: var(--muted); font-size: 0.8rem; }
h1, h2 { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
h1 { margin: 0; font-size: clamp(1.75rem, 6.5vw, 2.4rem); line-height: 1.1; letter-spacing: -0.01em; }
/* Two sentences, two lines: the second is the promise, so it gets a line of its own. */
h1 > span { display: block; }
h2 { margin: 0 0 10px; font-size: 1.15rem; line-height: 1.2; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.lede { margin: 10px 0 0; max-width: 62ch; font-size: 1.05rem; color: var(--ink-2); }
.lede-detail { margin: 6px 0 0; max-width: 62ch; color: var(--ink); font-weight: 600; }
.lede, .lede-detail, .help, .preview-sub { text-wrap: pretty; }

/* ---- Cards ---- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }

/* ---- Address bar ---- */
#lookup { padding: 12px; }
#lookup > label { margin-bottom: 6px; }
.row { display: flex; gap: 10px; align-items: stretch; }
.ac { position: relative; flex: 1; min-width: 0; display: flex; }
.ac input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); outline: none; background: #fff; padding: 0 12px; min-height: 46px; font-size: 1.05rem; }
.ac input:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
#lookup .row > button { min-height: 46px; padding: 0 24px; }
.status, .error, .hint { margin: 8px 0 0; font-size: 0.9rem; }
.status { color: var(--ink-2); }
.status:empty, .error:empty, .hint:empty { display: none; }
.error { color: var(--danger); font-weight: 600; }
.hint { color: var(--muted); }
.hint.warn { color: var(--danger); font-weight: 600; }
.hint.ok { color: var(--leaf); font-weight: 600; }
/* What the sheet shows, ticked off one at a time under the bare address box. */
.promise { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; font-size: 0.92rem; color: var(--ink-2); }
.promise[hidden] { display: none; }
.promise li { position: relative; padding-left: 26px; line-height: 1.35; animation: tick-in 260ms ease-out backwards; }
.promise li::before { content: ""; position: absolute; left: 0; top: 0.1em; width: 17px; height: 17px; border-radius: 50%; background: var(--leaf-50); border: 1px solid var(--leaf); }
.promise li::after { content: ""; position: absolute; left: 6px; top: calc(0.1em + 3px); width: 4px; height: 8px; border: solid var(--leaf); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@supports (animation-delay: calc(sibling-index() * 220ms)) {
  .promise li { animation-delay: calc((sibling-index() - 1) * 220ms); }
}
@supports not (animation-delay: calc(sibling-index() * 220ms)) {
  .promise li:nth-child(2) { animation-delay: 220ms; }
  .promise li:nth-child(3) { animation-delay: 440ms; }
  .promise li:nth-child(4) { animation-delay: 660ms; }
}
.price-line { margin: 10px 0 0; font-weight: 600; color: var(--ink); }
.price-line[hidden] { display: none; }
@keyframes tick-in { from { opacity: 0; transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .promise li { animation: none; } }
.recents { font-size: 0.9rem; color: var(--ink-2); margin: 12px 0 0; }
.recents-head { display: flex; justify-content: space-between; align-items: center; }
.recents-head .eyebrow { margin: 0; }
.recents ul { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.recents li { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.recents li a { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 10px; min-height: 44px; color: var(--sky-700); font-weight: 600; text-decoration: none; }
.recents li a:hover { background: var(--sky-50); }
.recents .r-addr { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recents .r-meta { flex: none; color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.recents .r-remove { flex: none; width: 44px; min-height: 44px; padding: 0; background: transparent; color: var(--muted); border: 0; border-left: 1px solid var(--line); border-radius: 0; font-size: 1.1rem; }
.recents .r-remove:hover { background: var(--danger-50); color: var(--danger); }
.recents .fine { margin: 4px 0 0; }
.link-btn { background: none; border: 0; padding: 0 2px; min-height: 0; color: var(--sky-700); font-weight: 600; text-decoration: underline; cursor: pointer; }
.link-btn:hover { background: none; color: var(--ink); }

.suggest { position: absolute; z-index: 30; left: -4px; right: -4px; top: calc(100% + 4px); margin: 0; padding: 0; list-style: none; background: var(--card); border: 1px solid var(--ink); border-radius: var(--radius-sm); }
.suggest li[role="option"] { display: flex; flex-direction: column; gap: 1px; min-height: 44px; justify-content: center; padding: 8px 12px; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; }
.suggest li.active, .suggest li[role="option"]:hover { background: var(--sky-50); }
.suggest .sub { font-weight: 400; font-size: 0.86rem; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.suggest .credit { padding: 6px 12px 2px; text-align: right; font: 500 0.72rem/1 Roboto, Arial, sans-serif; color: var(--muted); cursor: default; }

/* ---- Forms and buttons ---- */
label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
input, select, textarea, button { font: inherit; }
select, textarea, label > input, .measurement input {
  width: 100%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  border-radius: var(--radius-sm); padding: 8px 10px; min-height: 40px;
}
label > input, label > select, label > textarea { display: block; margin-top: 4px; font-weight: 400; }
select:focus, textarea:focus, label > input:focus, .measurement input:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
button {
  border: 1px solid var(--solid, var(--ink)); background: var(--ink); color: #fff;
  border-radius: var(--radius-sm); padding: 0 14px; min-height: 40px; cursor: pointer; font-weight: 600;
}
button:hover { background: var(--ink-2); }
button:active { transform: translateY(1px); }
button:disabled { opacity: 0.55; cursor: not-allowed; }
button.quiet, button.second { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
button.quiet:hover, button.second:hover { background: var(--sky-50); }
button.danger { background: var(--card); color: var(--danger); border-color: #eab4a9; }
button.danger:hover { background: var(--danger-50); }
.square { width: 44px; padding: 0; font-size: 1.2rem; }

/* ---- Workspace: map left, editor column right ---- */
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; margin-top: 20px; align-items: start; }
.map-wrap { min-width: 0; margin: 0; padding: 10px; position: sticky; top: 12px; }
.side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.side > .panel { width: 100%; margin: 0; }

.tabs { display: flex; gap: 0; margin: 0 0 10px; border-bottom: 2px solid var(--ink); }
.tab { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line-strong); border-bottom: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0; min-height: 34px; padding: 0 16px; margin-right: 2px; }
.tab:hover { background: #fff; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.toolbar .spacer { flex: 1; }
.zoom-tools { display: flex; gap: 8px; }
.toolbar button { min-height: 36px; }
.toolbar button[aria-pressed="true"] { background: var(--danger); border-color: var(--danger); color: #fff; }
.check { display: inline-flex; gap: 8px; align-items: center; margin: 0 6px 0 0; font-weight: 600; }

#plan, .gview { display: block; width: 100%; height: clamp(460px, 74vh, 780px); background: var(--map-bg); border-radius: var(--radius-sm); overflow: hidden; }
#plan { touch-action: none; user-select: none; }
#plan text { font-family: var(--font-body); pointer-events: none; paint-order: stroke; stroke: #fff; stroke-linejoin: round; }
#plan .handle { fill: #fff; stroke: var(--ink); cursor: move; }
#plan .handle.on { fill: var(--danger); }
#plan .mid { fill: #fff; stroke: var(--muted); cursor: copy; }
#plan [data-sid] { cursor: pointer; }
.map-note { margin: 10px 2px 0; font-size: 0.9rem; color: var(--muted); }
#footpath-controls { margin-top: 10px; }
#footpath-controls label, .e-length label { margin: 0 0 4px; }
.footpath-adjust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(144px, 176px); align-items: center; gap: 8px; }
#footpath-range { width: 100%; min-width: 0; height: 44px; margin: 0; accent-color: var(--ink); }
.measurement { display: flex; gap: 4px; }
.measurement input { flex: 1; min-width: 0; appearance: textfield; }
.measurement input::-webkit-inner-spin-button, .measurement input::-webkit-outer-spin-button { -webkit-appearance: none; }
.measurement button { flex: 0 0 44px; min-height: 44px; touch-action: manipulation; }
#map3d { position: relative; }
#map3d > gmp-map-3d { width: 100%; height: 100%; display: block; }
.gcontrols { position: absolute; left: 12px; bottom: 30px; display: flex; gap: 8px; z-index: 2; }
.gcontrols button { min-height: 34px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.95); color: var(--ink); border: 1px solid var(--line-strong); padding: 0 14px; }
.gcontrols button:hover { background: #fff; }

/* ---- Editor sections ---- */
.help, .fine, .legend, .note { font-size: 0.9rem; color: var(--ink-2); margin: 0 0 12px; }
.fine { color: var(--muted); font-size: 0.82rem; }
.rows { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.rows > li { padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.rows > li.on { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--ink); background: var(--sky-50); }
.rows label { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-weight: 500; color: var(--ink); }
.s-edit { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 8px; margin: 10px 0 0 28px; }
.s-edit .actions { grid-column: 1 / -1; }
.e-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 176px); gap: 10px; align-items: end; }
.e-row small, .s-head small { display: block; color: var(--muted); font-weight: 400; }
.e-street { display: flex; gap: 8px; align-items: center; }
.e-street label { flex: none; }
.e-street input { min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
#details > label { display: flex; flex-direction: column; justify-content: space-between; }
.test-field { margin: 0 0 14px; }
.test-field label { margin: 0 0 4px; }
.test-field .help { margin: 0 0 6px; }
.inline { margin-top: 4px; }
/* What's left. Colour says how serious, not just "not done": a to-do is plain, a thing to check is
   amber, only a fault that stops the download is red, done is green. */
.checks { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; font-size: 0.95rem; }
.checks li { padding: 8px 10px 8px 12px; border: 1px solid var(--line); border-left: 4px solid var(--line-strong); background: #fff; }
.checks li:has(> .check-go) { padding: 0; }
.checks .ok { border-color: transparent; border-left-color: var(--leaf); background: var(--leaf-50); }
.checks .ok strong { color: var(--leaf); }
.checks .warn { border-color: transparent; border-left-color: var(--sun-600); background: var(--sun-50); }
.checks .warn strong { color: #8a4f00; }
.checks .block { border-color: transparent; border-left-color: var(--danger); background: var(--danger-50); }
.checks .block strong { color: var(--danger); }
.checks .attach { border-color: transparent; border-left-color: var(--sky-700); background: var(--sky-50); }
.checks .check-action { display: inline-block; margin: 6px 0 0; padding: 4px 10px; font-size: 0.85rem; }
/* The whole row is the button, with a chevron to say it goes somewhere. */
.check-go {
  display: block; width: 100%; min-height: 44px; padding: 8px 34px 8px 12px; position: relative;
  background: none; color: var(--ink); border: 0; border-radius: 0; text-align: left; font-weight: 400; line-height: 1.4;
}
.check-go:hover { background: var(--sky-50); }
.check-go::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px;
  border: solid var(--ink-2); border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg);
}
.check-go:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.checks-done summary { cursor: pointer; width: fit-content; min-height: 32px; font-weight: 600; color: var(--leaf); }
.checks-done .checks { margin-top: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.actions > button { flex: 1; }
.saved { margin-bottom: 12px; }
/* The free preview: the sheet as it will print, full screen on a phone. */
dialog.preview { width: min(1100px, 100vw); max-width: 100vw; height: 100vh; max-height: 100vh; margin: auto; padding: 0; border: 0; background: var(--map-bg); }
@supports (height: 100dvh) { dialog.preview { height: 100dvh; max-height: 100dvh; } }
dialog.preview[open] { display: flex; flex-direction: column; }
dialog.preview::backdrop { background: rgba(15, 36, 56, 0.6); }
.preview-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left)); background: var(--card); border-bottom: 1px solid var(--line); }
.preview-sub { grid-column: 1 / -1; margin: 0; font-size: 0.9rem; color: var(--ink-2); }
.preview-head button { min-height: 44px; }
.preview-pages { flex: 1; overflow: auto; padding: 12px max(12px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); display: grid; gap: 12px; align-content: start; }
.preview-pages img { display: block; width: 100%; height: auto; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); }
.preview-pages .status { margin: 0; }
/* Preview, download and share, with how far along the job is. On a wide screen it sits at the foot of
   the editor column; on a phone it is fixed to the bottom of the screen, in thumb reach. */
.actionbar { position: sticky; bottom: 0; z-index: 20; padding: 10px 14px 12px; background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--ink); }
.bar-status { margin: 0 0 8px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.35; }
.bar-status strong { color: var(--ink); }
.actionbar[data-blocked="true"] #download-why { color: var(--danger); font-weight: 600; }
#bar-error { margin: 0 0 8px; }
#bar-error:empty { display: none; }
/* Once a site is open, errors show in the action bar, which is always on screen. */
.has-site #error { display: none; }
.bar-buttons { display: flex; gap: 8px; }
.bar-buttons > button { flex: 1 1 0; min-width: 0; padding: 0 8px; min-height: 48px; }
.bar-buttons > #download { flex-grow: 1.5; }
.nudge-wrap { margin: 4px 0 12px; }
.nudge-wrap > summary { cursor: pointer; width: fit-content; min-height: 32px; font-weight: 600; color: var(--sky-700); }
.nudge-wrap[open] > summary { margin-bottom: 8px; }
.nudge { margin: 4px 0 12px; }
.nudge-pad { display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(3, 44px); gap: 4px; margin: 0 0 8px; }
.nudge-pad [data-nudge="0,1"] { grid-column: 2; grid-row: 1; }
.nudge-pad [data-nudge="-1,0"] { grid-column: 1; grid-row: 2; }
.nudge-pad [data-nudge="1,0"] { grid-column: 3; grid-row: 2; }
.nudge-pad [data-nudge="0,-1"] { grid-column: 2; grid-row: 3; }
#d-description-reset { margin: -4px 0 12px; }
#demolition-draft { margin: 0 0 12px; overflow-wrap: anywhere; }
#d-custom { margin: 0 0 12px; }
#d-custom summary { cursor: pointer; width: fit-content; }
#d-custom label { margin-top: 8px; }
#d-confirm-label { margin: 0 0 14px; }
.update {
  position: fixed; z-index: 50; left: 50%; transform: translateX(-50%);
  bottom: max(16px, env(safe-area-inset-bottom)); width: min(640px, calc(100% - 24px));
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius); font-size: 0.92rem;
}
.update button { flex: none; background: var(--sun-400); border-color: var(--sun-400); color: var(--ink); min-height: 44px; }
.update button:hover { background: var(--sun-500); }
dt { font-size: 0.8rem; color: var(--muted); }
dd { margin: 2px 0 0; font-variant-numeric: tabular-nums; }

/* ---- Narrower screens ---- */
@media (max-width: 1000px) {
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .map-wrap { position: static; }
  /* A site is open: fold the header and the address panel into one slim bar so the plan is on the
     first screen, and keep the actions fixed to the bottom of the screen. */
  .has-site .top, .has-site #status, .has-site #demo-note, .has-site #recents, .has-site .foot { display: none; }
  .has-site { padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: calc(132px + env(safe-area-inset-bottom)); }
  .has-site #lookup { padding: 8px; }
  .has-site #lookup > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .has-site #lookup .row { flex-direction: row; gap: 8px; }
  .has-site #lookup .row > button { width: auto; padding: 0 16px; }
  .has-site .ac input { min-height: 44px; font-size: 16px; padding: 0 10px; }
  .has-site .workspace { margin-top: 8px; }
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; border-width: 2px 0 0;
    padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    box-shadow: 0 -4px 12px rgba(15, 36, 56, 0.12);
  }
  /* While typing, the keyboard needs the room and the bar would float over the field. */
  body:has(input:not([type="checkbox"]):not([type="range"]):focus, textarea:focus) .actionbar { display: none; }
  /* A phone on its side: status and buttons share one row so the plan keeps its height. */
  @media (max-height: 500px) {
    .actionbar { display: flex; align-items: center; gap: 12px; }
    .bar-status { flex: 1; margin: 0; }
    #bar-error:empty { display: none; }
    .bar-buttons { flex: 0 1 460px; }
    .has-site { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  }
  /* The new-version notice moves to the top so it does not cover the bar. */
  .has-site .update { bottom: auto; top: max(12px, env(safe-area-inset-top)); }
}
@media (max-width: 640px) {
  body { padding: env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
  .top { padding: 16px 0 14px; margin-bottom: 12px; }
  .lede { font-size: 1rem; }
  .row { flex-direction: column; }
  #lookup .row > button { width: 100%; }
  .promise { grid-template-columns: 1fr; }
  .recents li a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .recents .r-addr { white-space: normal; overflow-wrap: anywhere; }
  .grid2, .s-edit, .e-row { grid-template-columns: minmax(0, 1fr); }
  .tab { flex: 1; padding-inline: 8px; }
  #plan, .gview { height: 62vh; min-height: 380px; }
  .toolbar .spacer { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---- Phones and touch screens ---- */
/* The plan never fills the whole screen: dragging on it moves corners, not the page, so there is
   always a strip above or below it to scroll by. svh is the height with Safari's bars showing. */
@supports (height: 100svh) {
  #plan, .gview { max-height: calc(100svh - 110px); }
  @media (max-width: 640px) { #plan, .gview { height: 62svh; min-height: min(380px, calc(100svh - 110px)); } }
}
@media (max-height: 500px) {
  #plan, .gview { height: calc(100vh - 110px); min-height: 240px; }
  @supports (height: 100svh) { #plan, .gview { height: calc(100svh - 110px); } }
}
@media (pointer: coarse), (max-width: 640px), (max-height: 500px) {
  /* iPhone Safari zooms the page into any text box under 16px, and it then no longer fits. */
  input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: 16px; }
  /* Finger-sized targets, 44px. */
  button, select, label > input, .measurement input, .e-street input, .tab, .toolbar button, .gcontrols button { min-height: 44px; }
  .gcontrols button { min-width: 44px; }
  .rows label, .check, .e-street label { min-height: 44px; align-items: center; }
  .rows .e-length label { min-height: 0; }
  .link-btn { display: inline-flex; align-items: center; min-height: 44px; }
  .checks .check-action { min-height: 44px; padding: 0 14px; }
}
