/* Design tokens: copied verbatim from branding/tokens.css (blue accent
 * family, GATE M0). Dark mode deliberately deferred to v1.5
 * (docs/DEVIATIONS.md) -- token names are still dark-mode-ready so turning
 * it on later needs no renaming, just a @media block. */
:root {
  --bg: #fbfbf9;
  --surface: #fcfcfb;
  --text: #1c1917;
  --text-muted: #666e7d;
  --border: #e2e5ea;

  --accent: #2f6fed;
  --accent-weak: #eaf1ff;

  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
  --radius: 20px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --sp-1: 8px;
  --sp-2: 13px;
  --sp-3: 21px;
  --sp-4: 34px;
  --sp-5: 55px;
  --sp-6: 89px;

  --danger: #d1332b;
  --ok: #1a8917;

  --dur: 180ms;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.5;
}

@media (min-width: 640px) {
  html, body {
    font-size: 17px;
  }
}


.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================== shell */

.shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ============================================================== topbar */

.topbar {
  /* No max-width here -- it comes from the same .col-narrow/.col-normal/
     .col-wide class as <main> and <footer> (shell() passes all three the
     same colClass), so the logo, the input/button column, and the footer
     text always share one left/right edge instead of each picking its own
     width. */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  width: 100%;
  margin: 0 auto;
  padding: 16px 20px;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.topbar--minimal {
  /* Logo stays left, the optional back-link (topbar-link) sits at the
     opposite edge instead of crowding right next to the logo. */
  justify-content: space-between;
}

.topbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.topbar-logo {
  display: block;
  width: 24px;
  height: 24px;
  /* --text-muted, not --text -- full near-black read as too heavy/eye-
     catching for a corner mark that's just a way back to the hub. */
  background-color: var(--text-muted);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: url("/logo.svg");
  mask-image: url("/logo.svg");
  /* The header mark is the 45°-clockwise variant everywhere in the repo
     (vote/public/style.css .topbar-logo does the same) -- the unrotated
     source SVG is the raw letterform, not the shipped presentation. */
  transform: rotate(45deg);
}

.topbar-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.topbar-link:hover {
  color: var(--text);
}

/* --- hamburger: 2 bars morphing into an X, Apple.com style. Not used by
   any page yet (GATE M0: minimize nav links) -- ready for M5's /me. ---- */

.menu-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

.menu-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  /* Centred with margin, not translate(-50%,-50%) -- combined with the open
     state's rotate() that produces a lopsided chevron, not an X. */
  margin: -0.75px 0 0 -8px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.menu-bar--top {
  transform: translateY(-3px);
}

.menu-bar--bottom {
  transform: translateY(3px);
}

.menu-btn[aria-expanded="true"] .menu-bar--top {
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-bar--bottom {
  transform: rotate(-45deg);
}

.menu-panel {
  position: absolute;
  top: 56px;
  right: 20px;
  z-index: 50;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  /* No border (GATE M0, explicit request) -- shadow alone separates the
     panel from the page, matching the plan's own "no border except focus
     state" principle (§9.2.1). Differs from vote/public/style.css, which
     still has `border: 1px solid var(--line)` here. */
  box-shadow: var(--shadow);
}

.menu-panel[hidden] {
  display: none;
}

.menu-panel-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.menu-panel-item:hover {
  background: var(--accent-weak);
}

.menu-panel-item.active {
  background: var(--accent-weak);
  color: var(--accent);
}

.menu-panel-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 4px;
}

/* ================================================================ main */

main {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: var(--sp-4) 20px var(--sp-6);
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.col-narrow { max-width: 440px; }
.col-normal { max-width: 560px; }
.col-wide { max-width: 720px; }

/* ============================================================== footer */

.footer {
  /* max-width comes from .col-narrow/.col-normal/.col-wide, same as
     .topbar/main -- see the comment on .topbar. */
  margin: auto auto 0;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  flex-wrap: wrap;
  padding: 20px 20px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  background: var(--bg);
}

.footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.btn-ico {
  width: 14px;
  height: 14px;
}

/* ============================================================= buttons */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary.btn-inline {
  width: auto;
}

.btn-link {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: var(--sp-2);
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  /* --surface sits only ~1-3 RGB units from --bg, which read as an
     essentially invisible pill on its own (a real button reading as flat
     text) -- border gives it a boundary the same way the other --surface
     blocks (.editor-sheet, .me-row, etc) already got. */
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.pill-btn:hover {
  background: var(--accent-weak);
}

.pill-btn:active {
  transform: scale(0.98);
}

.pill-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pill-btn--danger {
  color: var(--danger);
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- switch (on/off toggle) -------------------------------------------- */

.switch {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--border);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease);
}

.switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform var(--dur) var(--ease);
}

.switch[aria-checked="true"] {
  background: var(--accent);
}

.switch[aria-checked="true"]::before {
  transform: translateX(18px);
}

/* =============================================================== editor */

.editor-sheet {
  background: var(--surface);
  /* --surface (#fcfcfb) sits a hair above --bg (#fbfbf9) -- too close to
     read as a distinct card on its own, so the main input gets a border
     like every other field on the page (.opt-input, .field input). */
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-3);
  margin-bottom: var(--sp-2);
}

.editor-sheet:focus-within {
  border-color: var(--accent);
}

.editor-textarea {
  display: block;
  width: 100%;
  min-height: 40vh;
  border: none;
  background: transparent;
  resize: vertical;
  font: inherit;
  color: var(--text);
  outline: none;
}

.editor-textarea::placeholder {
  color: var(--text-muted);
}

.editor-textarea:focus-visible {
  /* The parent .editor-sheet already shows focus via border-color
     (:focus-within) -- a second ring directly on the textarea would double
     up the emphasis. */
  outline: none;
}

.editor-more {
  margin-bottom: var(--sp-2);
}

.editor-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.editor-more-btn svg {
  width: 12px;
  height: 12px;
  transition: transform var(--dur) var(--ease);
}

.editor-more-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.editor-more-panel[hidden] {
  display: none;
}

.editor-more-inner {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-2);
}

.opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: var(--sp-2) 0;
}

/* No divider line between rows -- with the card's own border, the control
   borders (select/input/button), AND a rule between every row, the panel
   read as boxes-inside-boxes-inside-boxes. The icon + label + sub-label
   block already separates one row from the next; padding alone carries
   that the rest of the way. (This also sidesteps the border-bottom-except-
   last-child bug the old rule had: "Ảnh" is followed by .image-thumbs, a
   sibling div present even when empty, so it was never truly :last-child.) */
.opt-row + .opt-row {
  margin-top: var(--sp-1);
}

/* Icon + label(+sub) as one block, matching vote/public/create.css's
   .vc-opt-main -- keeps each row at exactly two flex items so the mobile
   stack (below) only has the control to push onto its own line. */
.opt-main {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-width: 0;
}

.opt-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.opt-label {
  font-size: 14px;
  font-weight: 500;
}

.opt-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.opt-input {
  min-height: 36px;
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  width: 160px;
  max-width: 50%;
}

.pick-wrap {
  position: relative;
}

.pick {
  appearance: none;
  -webkit-appearance: none;
  min-height: 36px;
  padding: 6px 30px 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.opt-row--images {
  flex-wrap: wrap;
}

.image-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: var(--sp-2) 0;
}

.image-thumbs:empty {
  display: none;
}

.image-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
}

.image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(28, 25, 23, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.image-thumb-remove svg {
  width: 12px;
  height: 12px;
}

.note-images {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

.note-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.form-error {
  color: var(--danger);
  font-size: 13px;
  margin: var(--sp-1) 0 0;
}

.form-error[hidden] {
  display: none;
}

/* --- created overlay ---------------------------------------------------- */

.created-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(28, 25, 23, 0.4);
  padding: 0;
}

@media (min-width: 640px) {
  .created-overlay {
    align-items: center;
  }
}

.created-overlay[hidden] {
  display: none;
}

.created-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: var(--sp-4) var(--sp-3) calc(var(--sp-3) + env(safe-area-inset-bottom));
  text-align: center;
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .created-card {
    border-radius: var(--radius);
  }
}

.created-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-muted);
}

.created-close svg {
  width: 18px;
  height: 18px;
}

.created-check {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-2);
  border-radius: 50%;
  background: var(--accent-weak);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.created-check svg {
  width: 28px;
  height: 28px;
}

.created-sub {
  color: var(--text-muted);
  margin: 0 0 var(--sp-3);
}

.link-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-1);
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.link-copy.copied {
  background: var(--accent-weak);
  border-color: var(--accent);
}

.link-copy-url {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-copy-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.ico-copy, .ico-done {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.ico-done {
  opacity: 0;
  color: var(--ok);
  transform: scale(0.6);
}

.link-copy.copied .ico-copy {
  opacity: 0;
}

.link-copy.copied .ico-done {
  opacity: 1;
  transform: scale(1);
}

.link-copy-hint {
  color: var(--text-muted);
  font-size: 13px;
  margin: 6px 0 var(--sp-3);
}

.created-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: var(--sp-2);
}

.created-actions .btn-primary,
.created-actions .pill-btn {
  flex-shrink: 0;
  min-height: 48px;
}

.edit-code-block {
  margin-top: var(--sp-2);
  padding: var(--sp-2);
  border-radius: var(--radius-sm);
  background: #fff7e6;
  text-align: left;
}

.edit-code-block[hidden] {
  display: none;
}

.edit-code-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
}

.edit-code-value {
  margin: 0 0 var(--sp-1);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.edit-code-warning {
  margin: var(--sp-1) 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* ================================================================= view */

.note-meta-row {
  margin-bottom: var(--sp-2);
}

.note-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.note-content {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.note-content p {
  margin: 0 0 1em;
}

.note-content--mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  white-space: pre-wrap;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--sp-2);
}

.note-actions {
  display: flex;
  gap: 8px;
  margin-top: var(--sp-3);
  flex-wrap: wrap;
}

/* --- locked / burn cards ------------------------------------------------ */

.locked-card, .burn-card {
  text-align: center;
  padding-top: var(--sp-4);
}

.locked-icon, .burn-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--sp-2);
  color: var(--text-muted);
}

.locked-icon svg, .burn-icon svg {
  width: 100%;
  height: 100%;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}

@media (min-width: 640px) {
  .page-title { font-size: 28px; }
}

.page-sub {
  color: var(--text-muted);
  margin: 0 0 var(--sp-3);
}

.field {
  display: block;
  text-align: left;
  margin-bottom: var(--sp-2);
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.field input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

.shake {
  animation: shake var(--dur) var(--ease);
}

.edit-form-actions {
  display: flex;
  gap: 8px;
  margin-top: var(--sp-2);
}

.edit-form[hidden], .edit-gate[hidden] {
  display: none;
}

/* ==================================================================== me */

.me-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
}

.me-head .page-title {
  margin: 0;
}

.me-head .btn-link {
  width: auto;
  margin: 0;
}

.me-list {
  list-style: none;
  margin: var(--sp-3) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.me-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: var(--sp-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.me-row-id {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.me-row-meta {
  color: var(--text-muted);
  font-size: 12px;
  flex: 1;
}

/* ================================================================= toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  box-shadow: var(--shadow);
}

/* iOS Safari auto-zooms the whole page on focus for any input/select/
   textarea rendering under 16px, and never zooms back out on blur -- every
   control needs to clear that floor on a touch device (not on desktop,
   where 14px reads better in the compact options rows). Same gotcha noted
   in vote/DECISIONS.md #17. Placed at the end of the file deliberately:
   this has to out-rank .opt-input/.pick/.field input by source order,
   since it matches with the same specificity (one class) and an earlier
   position lost the cascade tie silently -- caught by computed-style
   inspection during iPhone 14 Pro testing, not by eye. */
@media (pointer: coarse) {
  .opt-input,
  .pick,
  .field input,
  .editor-textarea,
  #editcode-input,
  #edit-content {
    font-size: 16px;
  }
}

/* Below 640px, .opt-row's label+control no longer fit on one line without
   squeezing the control into a narrow, truncating box (the password
   placeholder used to clip to "Để trống nếu không c..."). Stack them and
   let the control take the row's full width instead -- same fix as
   vote/public/create.css's .vc-opt-row at its own narrow breakpoint. The
   burn-after-read and images rows are the exception: a 42px switch or a
   short "Thêm ảnh" button don't need a line of their own, and dropping
   them below the label just adds height for no legibility gain. */
@media (max-width: 639px) {
  .opt-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-1);
  }

  .opt-row:has(.switch),
  .opt-row:has(.pill-btn) {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .opt-row .pick-wrap,
  .opt-row .opt-input {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
  }
}
