:root {
  --ink: #122033;
  --muted: #748195;
  --line: #e2e8f0;
  --line-strong: #d4dde8;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --page: #f3f6fa;
  --navy: #07111f;
  --blue: #0789ef;
  --violet: #4033c9;
  --green: #18734d;
  --green-bg: #edf9f3;
  --amber: #946000;
  --amber-bg: #fff7e4;
  --red: #ad3146;
  --red-bg: #fff0f2;
  --shadow: 0 12px 36px rgba(15, 29, 48, .08);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

/* Login */
.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(520px, 1.2fr) minmax(420px, .8fr); }
.login-brand-panel {
  position: relative; overflow: hidden; min-height: 100vh; padding: clamp(34px, 5vw, 72px);
  display: flex; flex-direction: column; color: #fff; background: var(--navy);
}
.login-logo { width: min(470px, 72%); position: relative; z-index: 2; }
.brand-glow { position: absolute; border-radius: 999px; filter: blur(2px); opacity: .22; pointer-events: none; }
.brand-glow-a { width: 570px; height: 570px; right: -250px; top: -210px; background: radial-gradient(circle, #ff8a00 0, rgba(255,138,0,0) 68%); }
.brand-glow-b { width: 680px; height: 680px; left: -310px; bottom: -380px; background: radial-gradient(circle, #0789ef 0, rgba(7,137,239,0) 68%); }
.login-copy { position: relative; z-index: 2; margin-top: auto; max-width: 760px; }
.eyebrow { color: #86c9ff; font-size: 11px; line-height: 1; letter-spacing: .15em; font-weight: 850; }
.eyebrow.dark { color: #65748a; }
.login-copy h1 { margin: 15px 0 16px; max-width: 720px; font-size: clamp(48px, 5vw, 72px); line-height: .98; letter-spacing: -.055em; }
.login-copy p { margin: 0; max-width: 620px; color: #aab8ca; font-size: 17px; line-height: 1.62; }
.login-feature-list { position: relative; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.login-feature-list span { border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.05); border-radius: 999px; padding: 8px 11px; color: #c8d3df; font-size: 11px; font-weight: 720; }
.login-footer-note { position: relative; z-index: 2; margin-top: 34px; color: #64758a; font-size: 11px; }
.login-form-panel { min-height: 100vh; padding: 28px; display: grid; place-items: center; background: #fff; }
.login-card { width: min(100%, 430px); }
.mobile-logo-wrap { display: none; }
.tiny-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; background: #edf5fd; color: #1870b3; font-size: 9.5px; font-weight: 850; letter-spacing: .08em; }
.login-card h2 { margin: 15px 0 7px; font-size: 34px; letter-spacing: -.04em; }
.login-card > p { margin: 0 0 24px; font-size: 13px; }
.field-label { display: block; margin: 15px 0 7px; font-size: 11px; font-weight: 800; color: #4f5d70; }
.input { width: 100%; height: 46px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; padding: 0 12px; color: var(--ink); outline: none; transition: .15s ease; }
.input:focus { border-color: #73baf2; box-shadow: 0 0 0 4px rgba(7,137,239,.08); }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 63px; }
.text-button { border: 0; background: transparent; color: #5d6b7e; font-size: 11px; font-weight: 800; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.button { min-height: 39px; border: 1px solid transparent; border-radius: 9px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 11.5px; font-weight: 800; line-height: 1; transition: .15s ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: .55; cursor: default; transform: none; }
.button-block { width: 100%; min-height: 46px; margin-top: 19px; }
.button-primary { background: linear-gradient(135deg, #0789ef 0%, #185ad9 52%, #4530c1 100%); color: #fff; box-shadow: 0 8px 18px rgba(19,93,213,.17); }
.button-secondary { border-color: var(--line-strong); color: #526075; background: #fff; }
.button-quiet { border-color: #dce4ee; background: #fff; color: #536176; }
.button-danger { background: #bd384c; color: #fff; }
.form-message { min-height: 18px; margin: 10px 0 0; color: var(--red); font-size: 11.5px; }
.security-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid #edf1f5; display: flex; gap: 9px; color: #8b96a6; font-size: 10.5px; line-height: 1.45; }
.security-dot { width: 7px; height: 7px; margin-top: 4px; flex: 0 0 auto; border-radius: 50%; background: #3eb27a; box-shadow: 0 0 0 4px #e9f7f0; }
.setup-notice { margin: 18px 0; padding: 13px 14px; border: 1px solid #f1d79a; border-radius: 11px; background: #fff9ea; color: #795719; font-size: 12px; line-height: 1.45; }
.setup-notice strong, .setup-notice span { display: block; }
.setup-notice a { display: inline-block; margin-top: 8px; color: #176bb1; font-weight: 800; }

/* Portal shell */
.portal-view { min-height: 100vh; }
.topbar { height: 68px; padding: 0 clamp(16px, 2.4vw, 38px); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.06); position: sticky; top: 0; z-index: 70; }
.brand-inline { display: flex; align-items: center; min-width: 0; }
.brand-inline img { width: 176px; display: block; }
.brand-divider { width: 1px; height: 31px; margin: 0 15px; background: #263448; }
.brand-context { color: #fff; font-size: 12px; font-weight: 800; }
.brand-subcontext { color: #738297; font-size: 10px; margin-top: 2px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar .button-quiet { background: #0e1b2d; border-color: #253448; color: #cdd6e1; }
.lock-mark { font-size: 10px; opacity: .85; }
.live-chip { height: 28px; padding: 0 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: #0e1b2d; border: 1px solid #253448; color: #8292a6; font-size: 9.5px; font-weight: 850; letter-spacing: .04em; }
.live-chip span { width: 6px; height: 6px; border-radius: 50%; background: #42bc7c; box-shadow: 0 0 0 3px rgba(66,188,124,.13); }
.avatar-button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid #2a3b52; background: #122237; color: #dce5ef; font-size: 10px; font-weight: 850; }
.content { width: min(100%, 1760px); margin: 0 auto; padding: 32px clamp(14px, 2.4vw, 38px) 24px; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.hero-row h2 { margin: 7px 0 7px; font-size: clamp(29px, 3vw, 40px); line-height: 1; letter-spacing: -.045em; }
.hero-row p { margin: 0; font-size: 12.5px; }
.hero-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.metric-card { min-height: 108px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 3px 14px rgba(20,38,63,.035); }
.metric-label { color: #6f7c8e; font-size: 10.5px; font-weight: 800; }
.metric-value { margin-top: 7px; color: #132037; font-size: 30px; line-height: 1; font-weight: 840; letter-spacing: -.04em; }
.metric-foot { margin-top: 8px; color: #95a0af; font-size: 9.5px; font-weight: 700; }
.metric-foot.positive { color: #359263; }
.metric-foot.warning { color: #af771a; }

.panel { border: 1px solid #dfe6ee; border-radius: 15px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.panel-toolbar { min-height: 60px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e9eef4; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 8px; }
.search-box { width: min(390px, 35vw); height: 38px; display: flex; align-items: center; gap: 7px; border: 1px solid #dbe3ec; border-radius: 9px; padding: 0 10px; background: #f9fbfd; }
.search-box span { color: #8190a3; font-size: 17px; }
.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #233148; font-size: 11.5px; }
.compact-select { height: 38px; min-width: 150px; border: 1px solid #dbe3ec; border-radius: 9px; padding: 0 29px 0 10px; background: #fff; color: #586679; font-size: 11px; font-weight: 750; outline: none; }
.record-count { color: #778496; font-size: 10.5px; font-weight: 750; white-space: nowrap; }
.autosave-hint { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 0 9px; border-radius: 999px; background: #f5f8fb; color: #798698; font-size: 10px; font-weight: 720; white-space: nowrap; }
.autosave-dot { width: 6px; height: 6px; border-radius: 50%; background: #4caf77; }
.autosave-hint.saving .autosave-dot { background: #e0a43a; animation: pulse 1s infinite; }
.autosave-hint.error .autosave-dot { background: #d55368; }
@keyframes pulse { 50% { opacity: .35; } }
.sheet-note { min-height: 35px; padding: 8px 13px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #ebf0f5; background: #fbfcfe; color: #8290a2; font-size: 9.8px; }
.sheet-note strong { color: #66758a; }

/* Spreadsheet */
.table-wrap { width: 100%; overflow: auto; overscroll-behavior-inline: contain; scrollbar-gutter: stable; }
.data-table { width: 100%; min-width: 1260px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 10.5px; }
.data-table th { position: sticky; top: 0; z-index: 4; height: 38px; padding: 0 7px; border-bottom: 1px solid #dce4ec; border-right: 1px solid #e8edf2; background: #f5f8fb; color: #68778c; text-align: left; text-transform: uppercase; letter-spacing: .055em; font-size: 8.5px; font-weight: 850; white-space: nowrap; }
.data-table td { height: 52px; padding: 6px 7px; border-bottom: 1px solid #edf1f4; border-right: 1px solid #f0f3f6; vertical-align: middle; background: #fff; overflow: hidden; }
.data-table tbody tr:hover td { background: #fbfdff; }
.data-table th:first-child, .data-table td:first-child { position: sticky; left: 0; z-index: 3; box-shadow: 1px 0 0 #e3e9ef; }
.data-table th:first-child { z-index: 6; background: #f5f8fb; }
.data-table td:first-child { background: #fff; }
.data-table tbody tr:hover td:first-child { background: #fbfdff; }
.data-table th:last-child, .data-table td:last-child { border-right: 0; }
.data-table th[data-type="text"] { width: 118px; }
.data-table th[data-key="technicianName"] { width: 145px; }
.data-table th[data-type="tel"] { width: 105px; }
.data-table th[data-type="email"] { width: 145px; }
.data-table th[data-key="rc"] { width: 70px; }
.data-table th[data-key="city"] { width: 88px; }
.data-table th[data-key="state"] { width: 62px; }
.data-table th[data-type="status"] { width: 118px; }
.data-table th[data-type="drug"], .data-table th[data-type="background"] { width: 160px; }
.data-table th[data-type="contact"] { width: 160px; }
.data-table th[data-type="notes"] { width: 145px; }
.data-table th[data-type^="custom_"] { width: 116px; }
.data-table th.action-head { width: 42px; }
.inline-input, .inline-select, .inline-textarea { width: 100%; min-width: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #213049; outline: none; transition: .12s ease; }
.inline-input, .inline-select { height: 31px; padding: 0 7px; }
.inline-textarea { min-height: 35px; max-height: 72px; resize: vertical; padding: 7px; line-height: 1.35; }
.inline-input:hover, .inline-select:hover, .inline-textarea:hover { border-color: #dfe6ee; background: #fff; }
.inline-input:focus, .inline-select:focus, .inline-textarea:focus { border-color: #69b2ee; background: #fff; box-shadow: 0 0 0 3px rgba(7,137,239,.08); }
.primary-input { font-weight: 800; color: #15233a; }
.inline-select { appearance: auto; font-size: 9.8px; padding-right: 2px; }
.checkbox-inline { display: inline-flex; align-items: center; gap: 6px; color: #657287; font-size: 10px; font-weight: 700; }
.checkbox-inline input, .mini-check input { width: 15px; height: 15px; margin: 0; accent-color: #087ee9; }

.compliance-cell { display: grid; grid-template-columns: 1fr auto; gap: 5px 6px; align-items: center; min-width: 0; }
.compliance-cell .yesno { grid-column: 1; }
.compliance-cell .date-mini { grid-column: 1 / -1; height: 28px; font-size: 9.5px; }
.mini-check { display: inline-flex; align-items: center; gap: 5px; min-width: 0; color: #68768a; font-size: 9.5px; font-weight: 750; }
.mini-check span { white-space: nowrap; }
.file-tools { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.file-upload-button, .file-open-button, .file-remove-button { height: 27px; border-radius: 7px; border: 1px solid #dce4ed; background: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0 7px; color: #5d6d82; font-size: 9px; font-weight: 820; white-space: nowrap; }
.file-upload-button { position: relative; overflow: hidden; }
.file-upload-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-open-button { max-width: 79px; color: #106eb4; border-color: #cee1ef; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.file-remove-button { width: 27px; padding: 0; color: #a63c4f; border-color: #efcfd5; background: #fff8f9; }
.file-empty { color: #9aa5b2; font-size: 9px; }

.contact-cell { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.contact-line { display: flex; align-items: center; gap: 6px; }
.contact-line label { display: inline-flex; align-items: center; gap: 5px; color: #607086; font-size: 9.5px; font-weight: 760; white-space: nowrap; }
.contact-line input { width: 15px; height: 15px; margin: 0; accent-color: #087ee9; }
.follow-badge { width: fit-content; max-width: 100%; border-radius: 999px; padding: 3px 6px; background: #f2f5f8; color: #7a8797; font-size: 8.4px; font-weight: 820; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.follow-badge.good { color: #16734a; background: #ecf8f2; }
.follow-badge.warning { color: #996200; background: #fff7e4; }
.follow-badge.overdue { color: #a52e43; background: #fff0f2; }
.action-cell { text-align: center; }
.delete-row-button { width: 28px; height: 28px; border: 1px solid #efcfd5; border-radius: 7px; background: #fff8f9; color: #a53d50; font-size: 15px; font-weight: 800; }
.empty-state { padding: 64px 20px 72px; text-align: center; }
.empty-icon { width: 48px; height: 48px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg,#0789ef,#4530c1); color: #fff; font-size: 22px; }
.empty-state h3 { margin: 0 0 6px; font-size: 18px; }
.empty-state p { margin: 0; color: #8490a0; font-size: 11.5px; }
.footer { width: min(100%, 1760px); margin: 0 auto; padding: 0 clamp(14px,2.4vw,38px) 24px; display: flex; justify-content: space-between; gap: 14px; color: #8b97a6; font-size: 10px; }

/* Modals */
.modal-backdrop { position: fixed; inset: 0; z-index: 120; padding: 18px; display: grid; place-items: center; background: rgba(4,11,20,.58); backdrop-filter: blur(4px); }
.modal { width: min(100%, 760px); max-height: min(88vh, 820px); overflow: auto; position: relative; padding: 25px; border: 1px solid #e5eaf0; border-radius: 17px; background: #fff; box-shadow: 0 28px 90px rgba(3,12,27,.25); }
.small-modal { width: min(100%, 410px); text-align: center; }
.wide-modal { width: min(100%, 860px); }
.modal-close { position: absolute; right: 13px; top: 12px; width: 31px; height: 31px; border: 0; border-radius: 8px; background: #f2f5f8; color: #69778a; font-size: 18px; }
.modal h3 { margin: 7px 0 7px; font-size: 22px; letter-spacing: -.03em; }
.modal p { margin: 0; font-size: 12px; line-height: 1.5; }
.modal-icon { width: 46px; height: 46px; margin: 0 auto 11px; display: grid; place-items: center; border-radius: 13px; background: #edf5fd; color: #1870b3; font-size: 20px; }
.pin-input { width: 100%; height: 60px; margin-top: 19px; padding-left: .55em; border: 1px solid #d3dde8; border-radius: 11px; outline: none; text-align: center; letter-spacing: .55em; font-size: 25px; font-weight: 850; }
.pin-input:focus { border-color: #70b7ef; box-shadow: 0 0 0 4px rgba(7,137,239,.09); }
.modal-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-right: 31px; margin-bottom: 16px; }
.modal-heading-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.column-manager { display: flex; flex-direction: column; gap: 7px; }
.column-row { display: grid; grid-template-columns: 58px minmax(160px,1fr) 110px 92px 72px; gap: 8px; align-items: center; padding: 9px; border: 1px solid #e4eaf1; border-radius: 10px; background: #fafcfe; }
.column-order { display: flex; gap: 4px; }
.column-order button { width: 27px; height: 28px; border: 1px solid #dbe3ec; border-radius: 7px; background: #fff; color: #68778a; }
.column-label-input { width: 100%; height: 34px; border: 1px solid #dbe3ec; border-radius: 8px; padding: 0 9px; outline: none; color: #334157; }
.column-type { color: #8290a2; font-size: 10px; text-transform: capitalize; }
.visibility-label { display: inline-flex; align-items: center; gap: 6px; color: #66758a; font-size: 10px; font-weight: 750; }
.visibility-label input { width: 15px; height: 15px; accent-color: #087ee9; }
.column-delete { height: 31px; border: 1px solid #efcfd5; border-radius: 7px; background: #fff7f8; color: #aa3e52; font-size: 9.5px; font-weight: 800; }
.column-delete:disabled { background: #f3f5f7; color: #aab3bf; border-color: #e3e7eb; cursor: default; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }

/* Toast */
.toast-region { position: fixed; right: 17px; bottom: 17px; z-index: 180; display: flex; flex-direction: column; gap: 7px; }
.toast { max-width: min(360px, calc(100vw - 34px)); padding: 11px 13px; border: 1px solid #24364d; border-radius: 10px; background: #0d1a2b; color: #eef3f8; box-shadow: 0 12px 34px rgba(0,0,0,.22); font-size: 11px; line-height: 1.42; animation: toast-in .18s ease-out; }
.toast.success { border-left: 4px solid #32a66f; }
.toast.error { border-left: 4px solid #d24b61; }
@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1080px) {
  .login-view { grid-template-columns: 1fr 430px; }
  .login-copy h1 { font-size: 52px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .hero-actions { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .login-view { display: block; min-height: 100vh; padding: 17px; background: #f7f9fc; }
  .login-brand-panel { display: none; }
  .login-form-panel { min-height: calc(100vh - 34px); padding: 0; background: transparent; }
  .login-card { padding: 28px 23px; border: 1px solid #e2e8ef; border-radius: 17px; background: #fff; box-shadow: var(--shadow); }
  .mobile-logo-wrap { display: block; margin-bottom: 23px; padding: 10px 13px; border-radius: 12px; background: var(--navy); }
  .mobile-logo-wrap img { width: 205px; display: block; }
  .brand-inline img { width: 145px; }
  .brand-divider, .brand-context, .brand-subcontext { display: none; }
  .topbar { height: 64px; }
  .live-chip { display: none; }
  .button-quiet span:nth-child(2) { display: none; }
  .content { padding-top: 23px; }
  .panel-toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-left, .toolbar-right { width: 100%; }
  .toolbar-right { justify-content: space-between; }
  .search-box { width: 100%; }
  .sheet-note { align-items: flex-start; flex-direction: column; gap: 4px; }
  .column-row { grid-template-columns: 55px 1fr 82px; }
  .column-row .column-type { display: none; }
  .column-row .visibility-label { justify-self: end; }
  .column-row .column-delete { grid-column: 2 / 4; }
}

@media (max-width: 640px) {
  .content { padding-inline: 11px; }
  .hero-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .button { width: 100%; }
  #addTechnicianButton { grid-column: 1 / -1; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .metric-card { min-height: 98px; padding: 13px; }
  .metric-value { font-size: 27px; }
  .panel { border-radius: 12px; }
  .toolbar-left { flex-direction: column; }
  .compact-select { width: 100%; }
  .autosave-hint { padding: 0 7px; }

  .table-wrap { overflow: visible; }
  .data-table { display: block; width: 100%; min-width: 0; table-layout: auto; }
  .data-table thead { display: none; }
  .data-table tbody { display: grid; gap: 10px; padding: 10px; }
  .data-table tr { display: grid; grid-template-columns: 1fr; border: 1px solid #dfe6ed; border-radius: 11px; overflow: hidden; background: #fff; }
  .data-table td, .data-table td:first-child { position: static; display: grid; grid-template-columns: minmax(104px, 35%) 1fr; gap: 9px; align-items: center; height: auto; min-height: 48px; padding: 8px 10px !important; border-right: 0; border-bottom: 1px solid #edf1f4; background: #fff !important; box-shadow: none; overflow: visible; }
  .data-table td::before { content: attr(data-label); align-self: start; padding-top: 8px; color: #7c899a; font-size: 8.5px; line-height: 1.25; text-transform: uppercase; letter-spacing: .055em; font-weight: 850; }
  .data-table td:last-child { border-bottom: 0; }
  .data-table td.action-cell { text-align: left; }
  .data-table td.action-cell .delete-row-button { justify-self: start; }
  .compliance-cell { width: 100%; grid-template-columns: 1fr auto; }
  .contact-cell { width: 100%; }
  .inline-input, .inline-select, .inline-textarea { border-color: #e0e6ed; background: #fff; }
  .footer { padding-inline: 13px; flex-direction: column; align-items: flex-start; }
  .modal { padding: 21px 17px; }
  .modal-heading-row { flex-direction: column; padding-right: 30px; }
  .modal-heading-actions { width: 100%; justify-content: stretch; }
  .modal-heading-actions .button { flex: 1; }
}
