#mobile-dock {display:none}
.camera-choices {display:grid;gap:8px}
.camera-choice {
  display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;
  width:100%;padding:12px;border:1px solid #cbded7;border-radius:12px;
  background:white;text-align:left;color:#193e34;font:inherit;cursor:pointer
}
.camera-choice:focus-visible,.quick-document button:focus-visible {outline:3px solid var(--teal,#076254);outline-offset:1px}
.camera-choice:hover {background:#eff7f3}
.camera-choice strong,.camera-choice small {display:block}
.camera-choice small {margin-top:3px;color:#49655b;font-size:.84rem}
.choice-icon {display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#e3f3eb;color:var(--teal,#076254)}
.choice-icon svg {width:24px;height:24px}
.quick-document {display:grid;gap:10px;padding:14px;margin-bottom:16px;border:1px solid #bedacd;border-radius:10px;background:#eef7f2}
.quick-document label {display:grid;gap:6px}
@media screen and (max-width:780px) {
  :root {--dock-safe:env(safe-area-inset-bottom,0px);--dock-space:calc(102px + var(--dock-safe))}
  body:has(.shell:not([hidden])) #notice {bottom:var(--dock-space);pointer-events:none}
  html {scroll-padding-bottom:var(--dock-space)}
  .workspace>main {padding-bottom:var(--dock-space)}
  .workspace .gov-foot {bottom:var(--dock-space)}
  body.badge-verify {padding-bottom:var(--dock-space)}
  .workspace>header #department-notices,.workspace>header .account-shortcut {display:none}
  #mobile-dock {
    display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:stretch;
    position:fixed;z-index:6;inset:auto max(8px,env(safe-area-inset-right)) calc(6px + var(--dock-safe)) max(8px,env(safe-area-inset-left));
    width:auto;max-width:560px;height:62px;box-sizing:border-box;margin-inline:auto;padding:0 3px;
    border-radius:19px;background:var(--teal,#076254);color:white;box-shadow:0 5px 20px #10382b35;
    font-family:system-ui,-apple-system,"Segoe UI",sans-serif;overflow:visible
  }
  /* Balance the three shortcuts to the left against the two to the right of the shutter. */
  #mobile-dock.dock-six {grid-template-columns:repeat(3,minmax(0,2fr)) clamp(44px,14%,64px) repeat(2,minmax(0,3fr))}
  @media (max-width:359px) {
    #mobile-dock {inset-inline:max(2px,env(safe-area-inset-left)) max(2px,env(safe-area-inset-right));padding-inline:0}
  }
  #mobile-dock button {
    position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;
    min-height:44px;min-width:0;width:auto;max-width:none;height:100%;margin:0;padding:3px 0 10px;
    border:0;border-radius:12px;background:transparent;color:#f0faf5;box-shadow:none;
    font:500 clamp(10px,2.9vw,13px)/1.15 system-ui,-apple-system,"Segoe UI",sans-serif;
    cursor:pointer;-webkit-tap-highlight-color:transparent
  }
  #mobile-dock button[hidden],#mobile-dock [hidden] {display:none}
  #mobile-dock button:focus-visible {outline:2px solid white;outline-offset:-3px}
  #mobile-dock .dock-icon {position:relative;display:grid;place-items:center;width:27px;height:27px}
  #mobile-dock svg {display:block;width:24px;height:24px}
  #mobile-dock [aria-current="page"] {color:white;font-weight:700}
  #mobile-dock [aria-current="page"] .dock-icon {color:var(--mint,#8fe5c5)}
  #mobile-dock [aria-current="page"]::after {
    content:"";position:absolute;bottom:3px;width:25px;height:3px;border-radius:4px;background:var(--mint,#8fe5c5)
  }
  #mobile-dock [data-dock="camera"] .dock-icon {
    position:absolute;bottom:27px;width:52px;height:52px;box-sizing:border-box;border:3px solid #fff;border-radius:50%;
    background:linear-gradient(160deg,#159477,#075b4c);color:white;box-shadow:0 3px 8px #103a2c40
  }
  #mobile-dock [data-dock="camera"] svg {width:28px;height:28px}
  #mobile-dock .dock-count {
    position:absolute;top:-3px;left:17px;min-width:16px;box-sizing:border-box;border:1px solid var(--teal,#076254);border-radius:12px;
    padding:1px 4px;background:#be263f;color:white;font:700 10px/14px system-ui;text-align:center
  }
  body.navopen aside {height:calc(100dvh - 56px - var(--dock-space));inset-block-end:auto}
  .formfoot {padding-bottom:max(14px,var(--dock-safe))}
  #dialog:has(.camera-choices),#dialog:has(#quick-owner) {
    position:fixed;inset:auto 0 0;width:min(100%,520px);max-width:100%;margin:0 auto;
    max-height:86dvh;box-sizing:border-box;border-radius:18px 18px 0 0;padding-bottom:var(--dock-safe)
  }
  #dialog:has(.camera-choices) .dlgcontent {padding-top:0}
}
