/* Webmail dashboard - Gmail-like light theme. No external fonts or CDNs. */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --ink: #1f1f1f;
  --ink-2: #444746;
  --muted: #5f6368;
  --line: #e1e3e1;
  --line-soft: #eceff1;
  --accent: #0b57d0;
  --accent-soft: #d3e3fd;
  --compose: #c2e7ff;
  --hover: #eaebef;
  --row-read: #f2f6fc;
  --row-seen: #f7f9fc;
  --danger: #b3261e;
  --danger-soft: #fce8e6;
  --ok: #146c2e;
  --ok-soft: #e6f4ea;
  --warn: #8a5300;
  --warn-soft: #fef7e0;
  --radius: 16px;
  --sidebar-w: 232px;
  --shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font: 14px/1.45 "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.ic { display: block; flex: 0 0 auto; fill: currentColor; }
code { background: var(--line-soft); padding: 1px 5px; border-radius: 4px; font-size: 12px; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px;
  border-radius: 18px; border: 0; background: none; color: var(--ink-2); cursor: pointer;
  font-weight: 500; white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; background: var(--hover); }
.btn-primary { background: var(--accent); color: #fff; padding: 0 22px; }
.btn-primary:hover { background: #0a4ab5; box-shadow: var(--shadow); }
.btn-outline { border: 1px solid #747775; color: var(--ink-2); }
.btn-outline:hover { background: var(--row-read); }
.btn-ghost { color: var(--ink-2); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: none; color: var(--ink-2); cursor: pointer; flex: 0 0 auto;
}
.icon-btn:hover { background: var(--hover); text-decoration: none; }
.danger-hover:hover { color: var(--danger); background: var(--danger-soft); }
.link-btn { background: none; border: 0; padding: 0 4px; color: var(--accent); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* ---------- App shell ---------- */
.app { display: flex; min-height: 100vh; }
.topbar { display: none; }
.topbar-compose { color: var(--ink-2); }
/* The sidebar is pinned to the viewport; only the page (the message area) scrolls.
   A long mailbox list scrolls inside .nav. */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 10; width: var(--sidebar-w);
  height: 100vh; padding: 8px 10px 12px 8px; background: var(--bg);
  display: flex; flex-direction: column; gap: 4px; overflow: hidden;
}
.brand {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px;
  font-size: 20px; color: var(--ink-2); font-weight: 400;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex; width: 36px; height: 36px; border-radius: 10px; align-items: center;
  justify-content: center; background: var(--accent); color: #fff;
}
.compose-btn {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
  height: 56px; padding: 0 24px 0 18px; margin: 8px 0 12px 4px; border-radius: 16px;
  background: var(--compose); color: #001d35; font-weight: 500; font-size: 14px;
  transition: box-shadow .15s;
}
.compose-btn:hover { text-decoration: none; box-shadow: var(--shadow); }
.nav { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow-y: auto; }
.nav-section {
  font-size: 12px; font-weight: 500; color: var(--muted); padding: 14px 16px 6px;
  text-transform: uppercase; letter-spacing: .04em;
}
.nav-item {
  display: flex; align-items: center; gap: 14px; height: 34px; padding: 0 12px 0 16px;
  border-radius: 17px; color: var(--ink); font-size: 14px; width: 100%; border: 0;
  background: none; cursor: pointer; text-align: left; flex: 0 0 auto;
}
.nav-item .ic { color: var(--ink-2); }
.nav-item:hover { background: var(--hover); text-decoration: none; }
.nav-item.active { background: var(--accent-soft); font-weight: 700; color: #041e49; }
.nav-item.active .ic { color: #041e49; }
.nav-item.open { font-weight: 600; }
.nav-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-count { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.nav-item.active .nav-count { color: #041e49; }
/* Folders of the open mailbox: one row each; the label lines up with the
   mailbox address above it (icon sits under the dot/gap). */
.nav-sub { display: block; margin: 2px 0 6px; }
.nav-sub .nav-folder {
  display: flex; width: 100%; height: 30px; padding: 0 12px 0 28px; gap: 6px;
  font-size: 13px; border-radius: 15px;
}
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; margin: 0 5px; }
.sidebar-foot { border-top: 1px solid var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.logout { margin: 0; }
.scrim { display: none; }

.main {
  flex: 1; min-width: 0; background: var(--surface); border-radius: var(--radius);
  margin: 12px 16px 16px var(--sidebar-w); min-height: calc(100vh - 28px);
  overflow: hidden; overflow: clip;   /* clip keeps position:sticky working inside */
}
.main-pad { padding: 20px 28px 32px; overflow: auto; }

/* ---------- Panels ---------- */
.panel-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px 12px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.panel-title { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 500; margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 64px 16px; color: var(--muted); }
.empty-state .ic { fill: #c4c7c5; }

/* ---------- Message list (Gmail two-line: avatar | from+chip / subject / snippet | date) ---------- */
.msg-list { list-style: none; margin: 0; padding: 0; }
.msg-row { position: relative; border-bottom: 1px solid var(--line-soft); background: var(--row-seen); }
.msg-row.unseen { background: var(--surface); }
.msg-row:hover { box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); z-index: 1; }
.msg-link {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 14px;
  align-items: start; padding: 5px 16px 5px 20px; color: var(--ink);
}
.msg-link:hover { text-decoration: none; }
.msg-avatar {
  width: 36px; height: 36px; margin-top: 7px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500;
}
.msg-text { min-width: 0; display: flex; flex-direction: column; }
.msg-top { display: flex; align-items: center; gap: 8px; min-width: 0; height: 17px; }
.msg-from, .msg-subject, .msg-snippet { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.msg-from { font-size: 14px; line-height: 17px; font-weight: 600; color: var(--ink-2); flex: 0 1 auto; }
.msg-subject { font-size: 13px; line-height: 16px; color: var(--ink-2); }
.msg-snippet { font-size: 12.5px; line-height: 16px; height: 16px; color: var(--muted); }
.unseen .msg-from, .unseen .msg-subject { font-weight: 700; color: var(--ink); }
.msg-top .mb-chip { flex: 0 0 auto; margin: 0; line-height: 16px; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-meta { display: flex; align-items: center; gap: 4px; height: 17px; color: var(--muted); }
.msg-clip { display: flex; color: var(--muted); }
.msg-date { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.unseen .msg-date { font-weight: 700; color: var(--ink); }
.mb-chip {
  display: inline-block; font-size: 11px; font-weight: 500; line-height: 18px; padding: 0 8px;
  border-radius: 4px; margin-right: 6px; vertical-align: 1px;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, white);
}
.row-actions { position: absolute; right: 12px; top: 0; bottom: 0; display: none; align-items: center; margin: 0; }
.row-actions .icon-btn { width: 36px; height: 36px; background: inherit; }
.msg-row:hover .row-actions, .row-actions:focus-within { display: flex; }
.msg-row:hover .msg-meta { visibility: hidden; }

/* ---------- Message view ---------- */
.msg-toolbar {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; background: var(--surface); z-index: 2;
}
.toolbar-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.toolbar-actions form { margin: 0; }
.msg-wrap { padding: 12px 24px 32px 24px; max-width: 1100px; }
.attached-note { display: flex; align-items: center; gap: 6px; color: var(--muted); margin: 4px 0 0 56px; }
.msg-title { font-size: 22px; font-weight: 400; margin: 10px 0 18px 56px; line-height: 1.3; word-wrap: break-word; }
.msg-title .mb-chip { font-size: 12px; margin-left: 6px; vertical-align: 3px; }
.msg-head { display: flex; align-items: flex-start; gap: 16px; }
.avatar {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center; font-weight: 500;
}
.msg-who { flex: 1; min-width: 0; }
.msg-sender { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-sender strong { font-weight: 700; }
.msg-sender .muted { font-size: 12px; }
.msg-when { font-size: 12px; white-space: nowrap; padding-top: 2px; }
.msg-details summary {
  list-style: none; cursor: pointer; color: var(--muted); font-size: 12px; display: inline-flex;
  align-items: center; gap: 2px; max-width: 100%;
}
.msg-details summary::-webkit-details-marker { display: none; }
.msg-details[open] summary .ic { transform: rotate(180deg); }
.msg-details table {
  margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px;
  font-size: 12px; box-shadow: var(--shadow); background: var(--surface); border-collapse: separate;
}
.msg-details th { text-align: right; color: var(--muted); font-weight: 400; padding: 2px 10px 2px 0; vertical-align: top; white-space: nowrap; }
.msg-details td { word-break: break-word; }
.msg-body { margin: 18px 0 0 56px; }
.html-body { display: block; width: 100%; height: 400px; border: 0; background: #fff; }
.text-body { white-space: pre-wrap; word-wrap: break-word; font: 14px/1.55 inherit; margin: 0; font-family: inherit; }
.msg-foot { display: flex; gap: 12px; margin: 28px 0 0 56px; flex-wrap: wrap; }

/* ---------- Attachments ---------- */
.att-strip { margin: 18px 0 0 56px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.att-strip-head { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 10px; font-weight: 500; }
.att-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.att-card {
  position: relative; width: 180px; height: 120px; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; background: var(--row-read); display: flex; flex-direction: column;
}
.att-thumb { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; background: #f1f3f4; }
.att-thumb img { width: 100%; height: 100%; object-fit: cover; }
.att-info { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: var(--surface); border-top: 1px solid var(--line-soft); }
.att-text { min-width: 0; }
.att-name { font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-size { font-size: 11px; }
.att-actions {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  align-items: center; background: rgba(32,33,36,.72); opacity: 0; transition: opacity .12s;
}
.att-card:hover .att-actions, .att-actions:focus-within { opacity: 1; }
.att-actions a {
  display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; font-weight: 500;
  padding: 4px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.7); min-width: 110px; justify-content: center;
}
.att-actions a:hover { background: rgba(255,255,255,.15); text-decoration: none; }
.file-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 36px;
  padding: 0 6px; border-radius: 6px; background: var(--c); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .03em;
}
.file-badge.sm { min-width: 30px; height: 18px; font-size: 9px; border-radius: 3px; padding: 0 3px; flex: 0 0 auto; }
@media (hover: none) {
  .att-actions { position: static; opacity: 1; flex-direction: row; background: none; padding: 4px 6px; gap: 4px; }
  .att-actions a { color: var(--accent); border: 0; min-width: 0; padding: 2px 6px; }
  .att-actions a span { display: none; }
  .att-card { height: auto; }
  .att-thumb { height: 72px; flex: none; }
}

/* ---------- Compose ---------- */
.compose-panel { max-width: 920px; }
.compose-form { padding: 4px 24px 24px; display: flex; flex-direction: column; }
.field { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line-soft); min-height: 44px; }
.field label { width: 56px; flex: 0 0 56px; color: var(--muted); font-size: 14px; }
.field input, .field select {
  flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; padding: 10px 0; background: transparent; color: var(--ink);
}
.field input.readonly { color: var(--muted); }
.field select { cursor: pointer; }
.editor-wrap { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.editor-toolbar { display: flex; align-items: center; gap: 2px; padding: 4px 6px; background: var(--bg); border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.editor-toolbar .icon-btn { width: 32px; height: 32px; border-radius: 6px; }
.editor-toolbar .icon-btn.on { background: var(--accent-soft); color: #041e49; }
.tb-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.editor {
  min-height: 280px; max-height: 60vh; overflow: auto; padding: 14px 16px; outline: 0;
  font: 14px/1.5 Arial, Helvetica, sans-serif; word-wrap: break-word;
}
.editor blockquote { margin: 0 0 0 .8ex; border-left: 1px solid #ccc; padding-left: 1ex; }
.editor img { max-width: 100%; height: auto; }
.editor table { max-width: 100%; }
.fwd-atts, .upload-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.fwd-atts > .muted { flex-basis: 100%; }
.upload-list:empty { display: none; }
.file-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 8px; border-radius: 8px;
  background: var(--row-read); border: 1px solid var(--line); max-width: 100%; font-size: 13px; cursor: pointer;
}
.file-chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; font-weight: 500; }
.file-chip .icon-btn { width: 24px; height: 24px; }
.compose-actions { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.compose-actions .cancel { margin-left: auto; }
.attach-btn { cursor: pointer; }

/* ---------- Notices ---------- */
.error { color: var(--danger); background: var(--danger-soft); padding: 10px 14px; border-radius: 8px; font-size: 13px; margin: 12px 24px 0; }
.notice { color: var(--warn); background: var(--warn-soft); padding: 10px 14px; border-radius: 8px; font-size: 13px; margin: 0 0 12px; }
.notice-ok { background: var(--ok-soft); color: var(--ok); padding: 12px 16px; border-radius: 8px; margin: 0 0 14px; }
.main-pad .error { margin: 0 0 12px; }

/* ---------- Login ---------- */
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 16px; }
.login-card {
  background: var(--surface); border-radius: 24px; padding: 36px 32px 32px; width: 100%; max-width: 380px;
  display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow);
}
.login-brand { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 14px; }
.login-brand .brand-mark { width: 48px; height: 48px; border-radius: 14px; }
.login-brand h1 { margin: 6px 0 0; font-size: 24px; font-weight: 400; }
.login-brand p { margin: 0; }
.login-card label { font-size: 12px; color: var(--muted); }
.login-card input { height: 48px; padding: 0 14px; border: 1px solid #747775; border-radius: 8px; font: inherit; font-size: 16px; }
.login-card input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.login-card .btn { margin-top: 14px; height: 40px; justify-content: center; }
.login-card .error, .login-card .notice { margin: 0 0 4px; }

/* ---------- Admin ---------- */
.content-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.content-head h1 { font-size: 22px; font-weight: 400; margin: 0; }
.sub { font-size: 16px; font-weight: 500; margin: 24px 0 10px; }
.admin-cards { display: flex; gap: 16px; flex-wrap: wrap; }
.admin-card {
  flex: 1 1 260px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px; color: var(--ink); transition: box-shadow .15s;
}
.admin-card:hover { box-shadow: var(--shadow); text-decoration: none; }
.admin-card h2 { margin: 0 0 6px; font-size: 16px; font-weight: 500; }
.admin-card p { margin: 0; color: var(--muted); font-size: 13px; }
.pill { display: inline-block; font-size: 10px; font-weight: 700; vertical-align: middle;
  background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 10px; margin-left: 6px; text-transform: uppercase; }
.pill-muted { background: var(--muted); }
.domain-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.domain-list a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink-2); }
.domain-list a:hover { background: var(--row-read); text-decoration: none; }
.admin-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px; max-width: 640px; display: flex; flex-direction: column; gap: 4px;
}
.admin-form label { font-size: 12px; color: var(--muted); margin-top: 12px; font-weight: 500; }
.admin-form input, .admin-form select {
  font: inherit; padding: 9px 12px; border: 1px solid #c4c7c5; border-radius: 8px; background: var(--surface);
}
.admin-form input:focus, .admin-form select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.admin-form input.readonly { background: var(--bg); color: var(--muted); }
.addr-row { display: flex; align-items: center; gap: 6px; }
.addr-row input, .addr-row select { flex: 1; min-width: 0; }
.addr-row .at { color: var(--muted); }
.hint { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.main-pad .compose-actions button, .confirm-form button {
  display: inline-flex; align-items: center; height: 36px; padding: 0 20px; border-radius: 18px; border: 0;
  background: var(--accent); color: #fff; font-weight: 500; cursor: pointer;
}
.main-pad .compose-actions button:hover, .confirm-form button:hover { box-shadow: var(--shadow); }
.main-pad .compose-actions .cancel { margin-left: 0; color: var(--muted); }
button.danger, .main-pad .compose-actions button.danger { background: var(--danger); }
.confirm-form { margin-top: 16px; }
.plan-table {
  border-collapse: separate; border-spacing: 0; width: 100%; max-width: 900px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 13px;
}
.plan-table th { background: var(--bg); font-weight: 500; color: var(--ink-2); }
.plan-table th, .plan-table td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.plan-table tr:last-child td { border-bottom: 0; }
.plan-table .val { word-break: break-all; }
.plan-table .old { color: var(--danger); }
.plan-table .new { color: var(--ok); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 10px; color: #fff; }
.tag-create { background: #188038; }
.tag-replace { background: #e37400; }
.tag-delete { background: #d93025; }
.tag-skip { background: #9aa0a6; }
.row-delete td { background: #fdf3f2; }
.row-replace td { background: #fffaf0; }
.msg-meta { border-collapse: collapse; font-size: 13px; }
.msg-meta th { text-align: left; color: var(--muted); font-weight: 500; padding: 2px 14px 2px 0; vertical-align: top; }
.smtp2go-block { margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .app { flex-direction: column; }
  .topbar {
    display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 8px;
    position: sticky; top: 0; z-index: 20; background: var(--bg);
  }
  .topbar .brand { padding: 0 6px; font-size: 18px; }
  .topbar .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 40; width: 280px; height: 100%;
    background: var(--bg); transform: translateX(-100%); transition: transform .2s ease;
    box-shadow: var(--shadow);
  }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.32); z-index: 30; }
  .brand-side { display: none; }
  .topbar-compose { margin-left: auto; }
  .main { margin: 0; border-radius: 16px 16px 0 0; min-height: calc(100vh - 56px); }
  .main-pad { padding: 16px; }
  .panel-head { padding: 12px 16px; }

  .msg-link { padding: 8px 12px 8px 14px; column-gap: 12px; }
  .row-actions { display: none !important; }
  .msg-row:hover .msg-meta { visibility: visible; }

  .msg-wrap { padding: 8px 16px 24px; }
  .msg-title { margin: 8px 0 14px; font-size: 20px; }
  .attached-note { margin-left: 0; }
  .msg-body, .att-strip, .msg-foot { margin-left: 0; }
  .toolbar-actions .btn span { display: none; }
  .toolbar-actions .btn { padding: 0 10px; }
  .att-card { width: calc(50% - 6px); }
  .compose-form { padding: 4px 16px 80px; }
  .field label { width: 48px; flex-basis: 48px; }
  .error { margin: 12px 16px 0; }
}
