:root {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #173354;
  background: #f4f7fb;
  font-size: 16px;
  font-synthesis: none;
  --navy: #0d3157;
  --blue: #0968b2;
  --blue-hover: #075994;
  --blue-pale: #e7f1fa;
  --border: #d6e3ee;
  --muted: #526d84;
  --surface: #fff;
  --danger: #9a3d36;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: var(--blue); text-underline-offset: 3px; }
::selection { background: #cbe4fa; color: #12395e; }
:focus-visible { outline: 3px solid #3893dd; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 10; top: -70px; left: 12px; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.boot, .loading { padding: 48px 20px; color: var(--muted); }

.login-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 520px); min-height: 100vh; }
.login-brand { background: var(--navy); color: #eff7ff; padding: clamp(36px, 7vw, 110px); display: flex; flex-direction: column; justify-content: space-between; gap: 42px; }
.login-logo { background: #fff; border-radius: 12px; overflow: hidden; width: min(100%, 600px); }
.login-logo img, .brand img { display: block; width: 100%; height: auto; }
.login-brand p { max-width: 36ch; line-height: 1.8; margin: 0; }
.login-form { align-self: center; width: 100%; padding: 48px clamp(28px, 5vw, 80px); }
.login-form h1 { font-size: 1.75rem; margin: 0 0 32px; line-height: 1.4; }

.shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--navy); color: #edf5fc; display: flex; flex-direction: column; gap: 24px; padding: 28px 18px; }
.brand { background: #fff; border-radius: 9px; overflow: hidden; min-height: 75px; display: flex; align-items: center; }
.sidebar nav { display: grid; gap: 4px; }
.sidebar nav button { width: 100%; border: 0; background: transparent; color: #d3e2f0; text-align: left; padding: 12px; border-radius: 8px; font-weight: 600; }
.sidebar nav button:hover, .sidebar nav button[aria-current="page"] { background: #19598e; color: #fff; }
.sidebar-note { margin: auto 12px 0; color: #bed3e5; font-size: .8rem; line-height: 1.7; }
.main { min-width: 0; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(22px, 4vw, 56px); background: #fff; border-bottom: 1px solid var(--border); }
.topbar strong { overflow-wrap: anywhere; }
.content { max-width: 1540px; margin: auto; padding: 38px clamp(22px, 4vw, 56px) 90px; }
#screen { min-width: 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 8px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { font-size: 2rem; line-height: 1.35; letter-spacing: -.025em; margin: 0; }
h2 { font-size: 1.2rem; line-height: 1.4; margin: 0; }
h3 { font-size: 1rem; line-height: 1.5; margin: 24px 0 10px; }
.page-intro { color: var(--muted); margin: 0 0 24px; line-height: 1.7; }
.list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 28px 0 12px; }
.list-heading span, .subtext, .helper { color: var(--muted); font-size: .84rem; line-height: 1.6; }
.subtext { display: block; font-variant-numeric: tabular-nums; }
.helper { margin: 8px 0; max-width: 72ch; }
.info-bar { background: var(--blue-pale); color: #28537a; border-radius: 9px; padding: 13px 16px; line-height: 1.6; margin: 0 0 22px; }
.feedback { padding: 12px 16px; border-radius: 8px; margin: 0 0 18px; line-height: 1.6; }
.feedback-success { background: #e5f3ea; color: #245e3a; }
.feedback-error { background: #fae9e6; color: #853b32; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 44px; padding: 9px 16px; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; line-height: 1.3; white-space: normal; text-align: center; }
.button:hover:not(:disabled) { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button-outline { background: #fff; color: var(--blue); }
.button-outline:hover:not(:disabled) { background: #eaf3fb; color: var(--blue); border-color: var(--blue); }
.button-danger { background: #fff; color: var(--danger); border-color: #cba8a4; }
.button-danger:hover:not(:disabled) { background: #f9eae8; color: var(--danger); border-color: var(--danger); }
.button-small { min-height: 40px; padding: 7px 11px; font-size: .82rem; }
.text-button { min-height: 40px; background: transparent; border: 0; color: var(--blue); font-weight: 700; padding: 7px 8px; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: var(--blue-hover); }
.action-row { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.action-row.compact { gap: 7px; }

.field { display: grid; gap: 7px; min-width: 0; }
.field label { color: #385b78; font-size: .87rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; border: 1px solid #adc4d9; border-radius: 8px; background: #fff; color: #173354; padding: 10px 12px; }
.field input::placeholder, .field textarea::placeholder { color: #5d6d82; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field-grow { flex: 1 1 300px; }
.form-stack { display: grid; gap: 19px; }
.form-panel, .detail-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: clamp(20px, 3vw, 30px); margin: 22px 0 28px; }
.form-panel { max-width: 860px; }
.form-panel.narrow { max-width: 720px; }
.form-panel h2 { margin-bottom: 18px; }
.target-summary { margin: 0 0 24px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.search-bar, .inline-form { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; }
.search-bar > .field:not(.field-grow) { flex: 0 1 220px; }
.search-bar > .button { margin-bottom: 0; }
.check-row { display: flex; align-items: start; gap: 10px; line-height: 1.6; cursor: pointer; }
.check-row input { width: 19px; height: 19px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--blue); }
.detail-panel { scroll-margin-top: 18px; }
.detail-heading, .detail-heading-actions { display: flex; align-items: start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.detail-heading { margin-bottom: 22px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 0 0 16px; }
.facts div { min-width: 0; }
.facts dt { color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.facts dd { margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
.detail-links { display: flex; gap: 16px; flex-wrap: wrap; margin: 18px 0; }
.detail-links:empty { display: none; }
.message-preview { max-width: 76ch; white-space: pre-wrap; line-height: 1.75; overflow-wrap: anywhere; }
.result-panel { max-width: 760px; }
.result-panel .field + .field { margin-top: 16px; }
.result-panel .action-row { margin-top: 20px; }
.quote-summary { display: flex; flex-direction: column; gap: 5px; background: #f2f7fc; border-radius: 9px; padding: 16px; margin: 20px 0; font-variant-numeric: tabular-nums; }
.quote-summary span { color: var(--muted); font-size: .85rem; }
.quote-form, .approve-box { border-top: 1px solid var(--border); margin: 22px 0; padding-top: 18px; }
.approve-box { display: grid; justify-items: start; gap: 14px; }

.table-wrap { background: #fff; border: 1px solid var(--border); border-radius: 11px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 740px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid #e8eef4; font-size: .88rem; }
th { background: #f7fafd; color: #4b6880; font-size: .77rem; font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f8fbfe; }
td strong { display: block; font-weight: 700; }
.cell-main { min-width: 180px; }
.cell-actions { text-align: right; }
.cell-actions .action-row { justify-content: flex-end; }
.cell-quote { font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge { display: inline-block; border-radius: 6px; padding: 5px 8px; color: #1d5a8c; background: #e6f0fa; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.badge-needs_review, .badge-unknown, .badge-requested, .badge-quoted { color: #76551d; background: #fff0d9; }
.badge-draft, .badge-suppressed, .badge-failed, .badge-cancelled, .badge-unverified { color: #566c7e; background: #edf1f5; }
.badge-confirmed, .badge-shipped, .badge-verified { color: #276044; background: #e3f3e9; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 14px; color: var(--muted); margin-top: 18px; }
.empty { padding: 46px 20px; text-align: center; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 11px; }
.empty p { margin: 0 0 16px; }
.empty p:last-child { margin-bottom: 0; }
.retry-panel { max-width: 640px; margin: 10vh auto; padding: 30px; }
.retry-panel p { line-height: 1.7; }
.connection-state { display: grid; gap: 4px; background: #fff4e6; color: #6b4b20; padding: 16px; border-radius: 9px; max-width: 720px; }
.connection-state.connected { background: #e5f3ea; color: #245e3a; }

@media (max-width: 540px) {
  .shell { display: block; }
  .sidebar { padding: 12px 18px; gap: 12px; }
  .brand { width: 220px; min-height: 65px; }
  .sidebar nav { display: flex; overflow-x: auto; padding-bottom: 3px; }
  .sidebar nav button { flex: 0 0 auto; width: auto; white-space: nowrap; }
  .sidebar-note { display: none; }
  .topbar { height: 58px; }
  .content { padding-top: 30px; }
}
@media (max-width: 540px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { min-height: 270px; padding: 32px; }
  .login-logo { max-width: 360px; }
  .login-brand p { font-size: .94rem; }
  .login-form { padding: 38px 26px 60px; }
  .login-form h1 { font-size: 1.55rem; }
  .page-heading { align-items: start; flex-direction: column; }
  h1 { font-size: 1.75rem; }
  .content { padding: 28px 16px 80px; }
  .search-bar > .field, .search-bar > .field:not(.field-grow), .search-bar > .button { flex: 1 1 100%; width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .action-row > .button { flex: 1 1 auto; }
  .mobile-cards { background: transparent; border: 0; overflow: visible; }
  .mobile-cards table, .mobile-cards tbody { display: block; min-width: 0; }
  .mobile-cards thead { display: none; }
  .mobile-cards tbody { display: grid; gap: 11px; }
  .mobile-cards tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 11px; }
  .mobile-cards td { display: block; border: 0; padding: 0; min-width: 0; }
  .mobile-cards .cell-main { grid-column: 1 / -1; }
  .mobile-cards .cell-hide { display: none; }
  .mobile-cards .cell-status { grid-column: 1; align-self: center; }
  .mobile-cards .cell-quote { grid-column: 1; }
  .mobile-cards .cell-actions { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
  .mobile-cards.target-cards .cell-actions { grid-column: 1 / -1; grid-row: auto; text-align: left; }
  .mobile-cards.target-cards .cell-actions .action-row { justify-content: flex-start; }
  .mobile-cards tbody tr:hover { background: #fff; }
}
@media (max-width: 480px) {
  .sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .sidebar nav button { width: 100%; white-space: normal; font-size: .82rem; }
  .brand { width: min(100%, 270px); min-height: 60px; }
  .topbar { padding: 0 16px; }
  .detail-heading { gap: 10px; }
  .detail-panel, .form-panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:active:not(:disabled) { transform: none; }
}

/* Compact workspace layout based on the supplied interface reference. */
:root {
  color: #1e293b;
  background: #f5f7fa;
  font-size: 14px;
  --navy: #123c69;
  --blue: #0864bd;
  --blue-hover: #0755a1;
  --blue-pale: #eaf3ff;
  --border: #dce4ee;
  --muted: #5d6d82;
  --surface: #fff;
}
.icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 auto; vertical-align: middle; }
.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; }
.shell { display: grid; grid-template-columns: 184px minmax(0, 1fr); grid-template-rows: 55px minmax(0, 1fr); min-height: 100vh; }
.topbar { grid-column: 1 / -1; grid-row: 1; height: 55px; padding: 0 24px; border-bottom: 1px solid var(--border); background: #fff; }
.brand { width: 172px; height: 50px; min-height: 0; border: 0; background: transparent; border-radius: 0; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.environment-label { display: inline-flex; align-items: center; gap: 6px; color: #5d6d82; font-size: .73rem; white-space: nowrap; }
.environment-dot { width: 5px; height: 5px; border-radius: 50%; background: #67778b; }
.mobile-logout { display: none; border: 0; background: none; color: var(--blue); font-size: .74rem; font-weight: 700; }
.sidebar { grid-column: 1; grid-row: 2; position: sticky; top: 0; height: calc(100vh - 55px); min-height: 540px; padding: 18px 11px 12px; gap: 0; background: #fff; color: #34445a; border-right: 1px solid var(--border); }
.sidebar nav { display: grid; align-content: start; gap: 19px; }
.nav-group { display: grid; gap: 3px; }
.nav-label { padding: 0 9px 6px; color: #5d6d82; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.sidebar nav button { display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 7px 9px; color: #263448; font-size: .85rem; font-weight: 600; line-height: 1.35; border-radius: 5px; }
.sidebar nav button .icon { width: 15px; height: 15px; }
.sidebar nav button:hover, .sidebar nav button[aria-current="page"] { background: #eaf3ff; color: #075db5; }
.sidebar-account { display: grid; grid-template-columns: 27px minmax(0, 1fr); align-items: center; gap: 5px 8px; margin-top: auto; padding: 12px 6px 2px; border-top: 1px solid var(--border); }
.account-avatar { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--border); border-radius: 6px; color: #375674; font-size: .8rem; font-weight: 700; }
.account-copy { display: grid; grid-column: 2; min-width: 0; }
.account-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1e293b; font-size: .74rem; }
.account-copy small { color: #5d6d82; font-size: .65rem; }
.logout-button { grid-column: 2; justify-self: start; padding: 3px 0; border: 0; background: none; color: #55708a; font-size: .71rem; text-decoration: underline; text-underline-offset: 2px; }
.logout-button:hover { color: var(--blue); }
.content { grid-column: 2; grid-row: 2; width: 100%; max-width: 1280px; padding: 22px 26px 70px; }
.page-heading { margin-bottom: 6px; }
h1 { color: #182330; font-size: 1.65rem; letter-spacing: -.025em; }
h2 { color: #202d3b; font-size: 1rem; }
h3 { font-size: .95rem; }
.page-intro { margin-bottom: 20px; color: #5d6d82; font-size: .86rem; line-height: 1.65; }
.list-heading { margin: 22px 0 10px; }
.list-heading h2 { font-size: .98rem; }
.list-heading > span { color: #5d6d82; font-size: .75rem; }
.result-number { margin-left: 3px; color: #53677d; font-weight: 500; }
.subtext, .helper { color: #5d6d82; font-size: .77rem; }
.button { min-height: 36px; padding: 7px 12px; border-radius: 5px; font-size: .82rem; }
.button-small { min-height: 31px; padding: 5px 9px; font-size: .73rem; }
.button .icon { width: 14px; height: 14px; }
.text-button { min-height: 30px; font-size: .8rem; }
.field label { color: #5c6f84; font-size: .75rem; }
.field input, .field select, .field textarea { min-height: 36px; border-color: #d3deea; border-radius: 5px; padding: 7px 10px; color: #27384a; font-size: .83rem; }
.field textarea { min-height: 110px; }
.form-panel, .detail-panel { border-radius: 8px; padding: 22px; margin: 18px 0 24px; }
.info-bar { padding: 10px 13px; border-radius: 5px; font-size: .84rem; }
.badge { padding: 4px 7px; border-radius: 4px; font-size: .71rem; }
.pagination { font-size: .78rem; }

.company-search { padding: 17px; border: 1px solid var(--border); border-radius: 7px; background: #fff; }
.search-main { display: flex; gap: 9px; align-items: stretch; }
.search-main > .button { min-width: 75px; }
.search-input { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; padding: 0 12px; border: 1px solid #d5deea; border-radius: 5px; color: #8493a7; background: #fff; }
.search-input:focus-within { border-color: #3687d3; outline: 2px solid #d8eaff; }
.search-input .icon { width: 15px; height: 15px; }
.search-input input { width: 100%; min-width: 0; height: 35px; padding: 0; border: 0; outline: 0; color: #26374a; font: inherit; font-size: .82rem; }
.search-input input::placeholder { color: #5d6d82; }
.search-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-top: 14px; }
.search-filters .field { gap: 5px; }
.search-filters select { width: 100%; cursor: pointer; }
.company-table { overflow: hidden; border-radius: 7px; }
.company-table table { min-width: 0; }
.company-table th, .company-table td { padding: 10px 13px; border-bottom-color: #e5ebf2; font-size: .78rem; }
.company-table th { background: #f8fafc; color: #56687d; font-size: .68rem; }
.company-table tbody tr { height: 56px; }
.company-table tbody tr.is-selected { background: #f0f6ff; }
.company-table tbody tr:hover { background: #f6f9ff; }
.company-table .cell-check { width: 39px; min-width: 39px; text-align: center; padding-left: 10px; padding-right: 4px; }
.company-table input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.company-table .cell-main { min-width: 200px; }
.company-table .cell-main strong { color: #263243; font-size: .8rem; line-height: 1.4; }
.company-table .cell-main .subtext { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 42ch; }
.company-table .cell-channel { min-width: 72px; }
.channel-icons { display: inline-flex; align-items: center; gap: 4px; }
.channel-icon { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 4px; background: #eaf3ff; color: #0663bd; }
.channel-icon .icon { width: 14px; height: 14px; }
.muted-dash { color: #9aabbc; }
.company-table .cell-status { white-space: nowrap; }
.company-table .cell-actions { width: 35px; padding-left: 2px; padding-right: 8px; }
.row-open { display: inline-grid; place-items: center; width: 29px; height: 29px; border: 0; border-radius: 4px; color: #6c87a1; background: transparent; }
.row-open:hover { color: var(--blue); background: #eaf3ff; }
.row-open .icon { width: 13px; height: 13px; }
.selection-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 11px; background: #eaf3ff; border-bottom: 1px solid #c8dcf6; }
.selection-toolbar strong { color: #0962b9; font-size: .82rem; white-space: nowrap; }
.selection-actions { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.selection-toolbar .text-button { padding: 4px 6px; text-decoration: none; }
.selection-toolbar .button { white-space: nowrap; }

@media (max-width: 900px) and (min-width: 541px) {
  .shell { grid-template-columns: 138px minmax(0, 1fr); }
  .topbar { padding: 0 20px; }
  .brand { width: 150px; }
  .sidebar { padding-left: 7px; padding-right: 7px; }
  .sidebar nav button { gap: 6px; padding: 6px 7px; font-size: .73rem; }
  .sidebar nav button .icon { width: 14px; height: 14px; }
  .nav-label { padding-left: 7px; font-size: .66rem; }
  .content { padding: 20px 16px 60px; }
  .company-table .cell-hide { display: none; }
  .company-table table { width: 100%; table-layout: fixed; }
  .company-table th:nth-child(1) { width: 28px; }
  .company-table th:nth-child(4) { width: 47px; }
  .company-table th:nth-child(5) { width: 64px; }
  .company-table th:nth-child(6) { width: 27px; }
  .company-table .cell-main { min-width: 0; }
  .company-table th, .company-table td { padding: 8px 6px; font-size: .7rem; }
  .company-table .cell-main strong { font-size: .72rem; }
  .company-table .cell-check { width: 28px; min-width: 28px; padding-left: 6px; }
  .company-table .cell-channel { min-width: 50px; }
  .company-table .cell-actions { width: 27px; padding-right: 3px; }
  .company-table .badge { font-size: .65rem; padding: 3px 4px; }
  .search-filters { gap: 7px; }
  .search-filters .field label { font-size: .69rem; }
  .search-filters select { padding: 6px; font-size: .74rem; }
}
@media (max-width: 540px) {
  .shell { display: block; }
  .topbar { height: 54px; padding: 0 14px; }
  .brand { width: 148px; height: 48px; }
  .environment-label { font-size: .58rem; }
  .environment-label { display: none; }
  .mobile-logout { display: inline-block; }
  .sidebar { position: static; height: auto; min-height: 0; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--border); }
  .sidebar nav { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 1px; }
  .nav-group { display: flex; gap: 5px; flex: 0 0 auto; }
  .nav-label, .sidebar-account { display: none; }
  .sidebar nav button { width: auto; min-height: 33px; white-space: nowrap; padding: 6px 9px; font-size: .73rem; }
  .sidebar nav button .icon { width: 13px; height: 13px; }
  .content { padding: 20px 14px 65px; }
  .page-heading { flex-direction: row; align-items: center; }
  h1 { font-size: 1.4rem; }
  .page-intro { font-size: .8rem; }
  .company-search { padding: 12px; }
  .search-main > .button { min-width: 64px; }
  .search-filters { grid-template-columns: 1fr 1fr; gap: 9px; }
  .search-filters .field:last-child { grid-column: 1 / -1; }
  .selection-toolbar { align-items: stretch; }
  .selection-actions { width: 100%; }
  .selection-toolbar .button { flex: 1 1 auto; }
  .company-table.mobile-cards { overflow: visible; }
  .company-table.mobile-cards tr { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 7px 9px; padding: 12px; }
  .company-table.mobile-cards tbody tr { height: auto; min-height: 95px; }
  .company-table.mobile-cards td { padding: 0; }
  .company-table.mobile-cards .cell-check { grid-column: 1; grid-row: 1; width: 22px; min-width: 22px; padding: 2px 0 0; }
  .company-table.mobile-cards .cell-main { grid-column: 2 / -1; grid-row: 1; }
  .company-table.mobile-cards .cell-main .subtext { max-width: 34ch; }
  .company-table.mobile-cards .cell-channel { grid-column: 2; grid-row: 2; }
  .company-table.mobile-cards .cell-status { grid-column: 2; grid-row: 3; }
  .company-table.mobile-cards .cell-actions { grid-column: 3; grid-row: 2 / 4; align-self: center; }
  .company-table.mobile-cards .cell-hide { display: none; }
  .company-table .cell-main strong { font-size: .85rem; }
}
