:root {
  --navy: #0b2c55;
  --navy-deep: #061a34;
  --blue: #2458c6;
  --cyan: #27addd;
  --green: #2bb642;
  --red: #ed1c24;
  --ink: #102944;
  --muted: #60758c;
  --line: #d8e2ec;
  --soft: #f2f6fa;
  --white: #fff;
  --shadow: 0 22px 65px rgba(6, 26, 52, .14);
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--soft);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100vh; background: var(--soft); }
button, input, select, textarea { font: inherit; }
button { letter-spacing: 0; }
[hidden] { display: none !important; }
.eyebrow { display: block; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, .82fr) minmax(560px, 1.18fr); background: white; }
.auth-brand { position: relative; min-height: 100vh; padding: 48px clamp(38px, 5vw, 84px); display: flex; flex-direction: column; color: white; background: linear-gradient(155deg, rgba(6,26,52,.96), rgba(11,44,85,.9)), url("assets/hero-gas-caribe-real.png") center/cover; overflow: hidden; }
.auth-brand::after { content: ""; position: absolute; inset: auto 0 0; height: 7px; background: linear-gradient(90deg, #35349b 0 24%, #24afe0 24% 49%, #2bbb43 49% 73%, #ed1c24 73%); }
.brand-pair { display: flex; align-items: center; gap: 13px; }
.brand-tile { min-width: 0; height: 104px; display: flex; align-items: center; justify-content: center; overflow: visible; }
.brand-tile-caribe { flex: .96; }
.brand-tile-antillano { flex: 1.04; height: 86px; }
.brand-pair img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; flex: 0 1 auto; }
.brand-separator { width: 1px; height: 42px; flex: 0 0 auto; background: rgba(255,255,255,.32); }
.brand-link { position: relative; z-index: 1; width: min(560px,100%); min-height: 108px; text-decoration: none; }
.auth-story { position: relative; z-index: 1; margin: auto 0; max-width: 620px; }
.auth-story .eyebrow { color: #79d9f3; }
.auth-story h1 { margin: 14px 0 22px; font-family: "Source Serif 4", serif; font-size: clamp(44px, 5vw, 76px); line-height: .98; }
.auth-story p { max-width: 540px; margin: 0; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.8; }
.trust-line { position: relative; z-index: 1; display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.68); font-size: 12px; }
.trust-line span { width: 9px; height: 9px; border-radius: 50%; background: #4ee56b; box-shadow: 0 0 0 5px rgba(78,229,107,.13); }
.auth-main { min-height: 100vh; padding: 42px clamp(30px, 6vw, 100px); display: grid; place-items: center; overflow-y: auto; }
.auth-panel { width: min(680px, 100%); }
.back-link { color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 700; }
.auth-tabs { margin: 36px 0 40px; display: flex; border-bottom: 1px solid var(--line); }
.auth-tabs button { padding: 14px 4px; margin-right: 30px; color: var(--muted); border: 0; border-bottom: 3px solid transparent; background: none; cursor: pointer; font-weight: 800; }
.auth-tabs button.active { color: var(--navy); border-color: var(--red); }
.auth-view { display: none; }
.auth-view.active { display: block; }
.section-heading h2 { margin: 8px 0 8px; font-family: "Source Serif 4", serif; font-size: 42px; line-height: 1.1; }
.section-heading p { margin: 0 0 28px; color: var(--muted); line-height: 1.65; }
.form-stack, .form-grid { display: grid; gap: 18px; }
.form-grid { grid-template-columns: 1fr 1fr; }
.form-grid .wide { grid-column: 1 / -1; }
label { display: grid; gap: 8px; color: #304d68; font-size: 12px; font-weight: 800; }
label > span { margin-left: 5px; color: #8092a4; font-size: 10px; font-weight: 600; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: white; border: 1px solid #bdcddd; border-radius: 4px; outline: none; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,88,198,.1); }
.field-help { justify-self: start; padding: 0; color: var(--blue); border: 0; background: none; cursor: pointer; font-size: 11px; font-weight: 800; }
.password-note { margin: -5px 0 0; color: var(--muted); font-size: 11px; }
.forgot-password, .auth-back-action { justify-self: start; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 800; cursor: pointer; }
.forgot-password:hover, .auth-back-action:hover { color: var(--red); text-decoration: underline; }
.primary-action, .secondary-action, .light-action, .danger-action { min-height: 48px; padding: 0 22px; border: 0; border-radius: 4px; cursor: pointer; font-weight: 800; }
.primary-action { color: white; background: var(--blue); box-shadow: 0 10px 24px rgba(36,88,198,.2); }
.primary-action:hover { background: #1749b3; }
.secondary-action { color: var(--navy); background: white; border: 1px solid #bfcddd; }
.light-action { color: var(--navy); background: white; }
.danger-action { color: white; background: #bd2027; }
.danger-action:hover { background: #9f171d; }
.form-message { margin-top: 20px; padding: 14px 16px; color: #0f6530; background: #edf9f1; border-left: 4px solid var(--green); line-height: 1.55; font-size: 13px; font-weight: 700; }
.form-message.error { color: #a9161c; background: #fff1f1; border-color: var(--red); }
.code-dialog { width: min(560px, calc(100vw - 28px)); padding: 34px; border: 0; border-top: 5px solid var(--red); border-radius: 6px; color: var(--ink); box-shadow: var(--shadow); }
.code-dialog::backdrop { background: rgba(5,20,41,.72); backdrop-filter: blur(3px); }
.code-dialog h2 { margin: 6px 0; font-family: "Source Serif 4", serif; font-size: 32px; }
.code-dialog p { color: var(--muted); line-height: 1.6; }
.dialog-x { position: absolute; top: 12px; right: 15px; width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 26px; color: var(--muted); }
.invoice-sample { margin: 24px 0; padding: 25px; display: grid; gap: 7px; border: 1px solid var(--line); background: #fbfdff; color: #425d76; font-family: monospace; font-size: 12px; }
.sample-brand { color: var(--navy); font-size: 20px; font-weight: 900; }
.sample-highlight { margin: 8px -8px 0; padding: 10px 8px; color: var(--navy); background: #eaf2ff; border-left: 4px solid var(--blue); }

.portal-shell { min-height: 100vh; display: grid; grid-template: 78px 1fr / 235px 1fr; }
.portal-header { position: sticky; z-index: 20; top: 0; grid-column: 1 / -1; padding: 0 28px; display: grid; grid-template-columns: 305px 1fr auto; align-items: center; color: white; background: var(--navy-deep); border-bottom: 5px solid transparent; border-image: linear-gradient(90deg,#34339b 0 25%,#27addd 25% 50%,#2bb642 50% 75%,#ed1c24 75%) 1; }
.portal-logo { width: 286px; height: 62px; text-decoration: none; }
.portal-logo.brand-pair { gap: 8px; }
.portal-logo .brand-tile { height: 54px; }
.portal-logo .brand-tile-antillano { height: 46px; }
.portal-logo .brand-separator { height: 42%; }
.portal-customer { min-width: 0; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.2); }
.portal-customer span, .portal-customer strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.portal-customer span { color: rgba(255,255,255,.58); font-size: 10px; text-transform: uppercase; }
.portal-customer strong { margin-top: 3px; font-size: 14px; }
.profile-trigger { display: flex; gap: 10px; align-items: center; color: white; border: 0; background: none; cursor: pointer; }
.profile-trigger span, .profile-identity > span { display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-weight: 800; }
.profile-trigger span { width: 36px; height: 36px; font-size: 11px; }
.profile-trigger b { font-size: 12px; }
.portal-nav { position: sticky; top: 78px; height: calc(100vh - 78px); padding: 24px 14px; display: flex; flex-direction: column; gap: 5px; background: white; border-right: 1px solid var(--line); }
.portal-nav button { width: 100%; min-height: 46px; padding: 0 14px; display: flex; gap: 12px; align-items: center; color: #526a80; border: 0; border-left: 3px solid transparent; border-radius: 3px; background: transparent; cursor: pointer; text-align: left; font-size: 12px; font-weight: 800; }
.portal-nav button span { width: 18px; color: var(--blue); font-size: 18px; text-align: center; }
.portal-nav button.active { color: var(--navy); background: #edf3fb; border-left-color: var(--blue); }
.portal-nav .logout { margin-top: auto; color: #b01c23; }
.portal-content { min-width: 0; padding: 34px clamp(22px, 3vw, 50px) 60px; }
.portal-view { display: none; }
.portal-view.active { display: block; }
.page-heading { margin-bottom: 26px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.page-heading h1 { margin: 5px 0 5px; font-family: "Source Serif 4", serif; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
.page-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.metric-card { min-height: 138px; padding: 22px; display: flex; flex-direction: column; justify-content: center; background: white; border: 1px solid var(--line); border-top: 4px solid var(--cyan); box-shadow: 0 8px 26px rgba(9,38,70,.045); }
.metric-card.attention { border-top-color: var(--red); }
.metric-card span { color: var(--muted); font-size: 11px; font-weight: 800; }
.metric-card strong { margin: 9px 0 6px; font-size: clamp(21px, 2vw, 29px); }
.metric-card small { color: #7d90a2; font-size: 10px; }
.content-grid { margin-top: 20px; display: grid; grid-template-columns: minmax(0,1fr) 315px; gap: 20px; }
.surface { padding: 22px; background: white; border: 1px solid var(--line); box-shadow: 0 8px 26px rgba(9,38,70,.045); }
.surface-head { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.surface-head h2 { margin: 3px 0 0; font-size: 19px; }
.surface-head button { color: var(--blue); border: 0; background: none; cursor: pointer; font-size: 11px; font-weight: 800; }
.quick-request { padding: 30px; color: white; background: linear-gradient(145deg, var(--navy), #174b7c); }
.quick-request .eyebrow { color: #74daf4; }
.quick-request h2 { margin: 50px 0 12px; font-family: "Source Serif 4", serif; font-size: 34px; }
.quick-request p { color: rgba(255,255,255,.72); line-height: 1.7; font-size: 13px; }
.quick-request button { margin-top: 18px; width: 100%; }
.responsive-table { width: 100%; overflow-x: auto; }
.invoice-line-list { min-width: 210px; display: grid; gap: 5px; }
.invoice-line-list span { display: grid; grid-template-columns: minmax(64px, auto) 1fr; gap: 7px; align-items: start; white-space: normal; }
.invoice-line-list b { color: var(--navy); font-size: 10px; }
.invoice-line-list.quantities { min-width: 82px; }
.invoice-line-list.quantities span { display: block; text-align: right; white-space: nowrap; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th { padding: 11px 10px; color: #60758a; background: #eef3f8; text-align: left; white-space: nowrap; }
td { padding: 13px 10px; border-bottom: 1px solid #e4ebf2; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.status { display: inline-flex; padding: 5px 8px; border-radius: 20px; color: #11652d; background: #e3f7e9; font-size: 9px; font-weight: 900; }
.status.pending, .status.received { color: #9d6610; background: #fff1cf; }
.status.reviewing { color: #155894; background: #e3f1ff; }
.status.approved, .status.scheduled { color: #11652d; background: #e3f7e9; }
.status.rejected, .status.canceled { color: #a9161c; background: #ffe5e6; }
.empty-row td { padding: 35px 12px; color: var(--muted); text-align: center; }
.filter-bar { margin-bottom: 16px; padding: 14px; display: flex; gap: 12px; align-items: end; background: white; border: 1px solid var(--line); }
.filter-bar label { min-width: 175px; }
.filter-bar input { min-height: 42px; }
.filter-bar button { min-height: 42px; }
.request-layout { display: grid; grid-template-columns: minmax(380px,.82fr) minmax(420px,1.18fr); gap: 20px; align-items: start; }
.request-form { display: grid; gap: 18px; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.request-item { padding: 15px 0; display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; border-bottom: 1px solid var(--line); }
.request-item:last-child { border-bottom: 0; }
.request-item strong { font-size: 12px; }
.request-item p { margin: 0; color: var(--muted); font-size: 10px; }
.request-main { min-width: 0; display: grid; gap: 5px; }
.request-comments { padding-left: 9px; border-left: 2px solid var(--cyan); }
.request-side { display: flex; flex-direction: column; gap: 9px; align-items: flex-end; }
.request-cancel-action { padding: 0; color: #b01c23; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; font-size: 10px; font-weight: 800; }
.request-cancellation { margin-top: 5px; padding: 9px 11px; color: #8e2025; background: #fff4f4; border-left: 3px solid var(--red); font-size: 10px; line-height: 1.5; }
.request-cancellation strong { font-size: 10px; }
.request-cancellation small { display: block; margin-top: 3px; color: #927277; }
.request-cancel-dialog { width: min(620px, calc(100vw - 28px)); padding: 0; border: 0; border-top: 5px solid var(--red); border-radius: 6px; color: var(--ink); box-shadow: var(--shadow); }
.request-cancel-dialog::backdrop { background: rgba(5,20,41,.76); backdrop-filter: blur(4px); }
.cancel-dialog-heading { padding: 28px 30px 20px; border-bottom: 1px solid var(--line); }
.cancel-dialog-heading h2 { margin: 6px 0; font-family: "Source Serif 4", serif; font-size: 34px; }
.cancel-dialog-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.request-cancel-form { padding: 24px 30px 30px; display: grid; gap: 22px; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; }
.profile-form { max-width: 900px; padding: 0; overflow: hidden; }
.profile-identity { padding: 25px; display: flex; gap: 16px; align-items: center; color: white; background: var(--navy); }
.profile-identity > span { width: 58px; height: 58px; font-size: 16px; background: rgba(255,255,255,.16); }
.profile-identity strong, .profile-identity small { display: block; }
.profile-identity small { margin-top: 3px; color: rgba(255,255,255,.66); }
.profile-fields { padding: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.profile-addresses { padding: 0 25px 25px; }
.profile-addresses h2 { margin: 5px 0 4px; font-size: 19px; }
.profile-addresses p, .review-dialog-heading p, .review-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.address-list { margin-top: 14px; display: grid; gap: 9px; }
.address-item { padding: 13px 15px; display: grid; gap: 3px; background: #f6f9fc; border: 1px solid var(--line); border-left: 4px solid var(--cyan); }
.address-item strong { color: var(--navy); font-size: 12px; }
.address-item span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.address-list-empty { padding: 18px; color: var(--muted); background: #f6f9fc; border: 1px dashed #b9cad9; font-size: 11px; text-align: center; }
.address-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.address-heading > div { display: grid; gap: 4px; }
.address-heading button, .tank-actions button { border: 1px solid #b9cae2; background: #fff; color: var(--navy); min-height: 34px; padding: 7px 12px; font: inherit; font-weight: 800; cursor: pointer; }
.address-heading button { background: #edf4ff; border-color: #9ab8e1; white-space: nowrap; }
.tank-list { display: grid; gap: 8px; margin-top: 12px; }
.tank-empty { margin: 0; color: var(--muted); font-size: 11px; }
.tank-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 11px; border: 1px solid #d8e2ef; background: #fff; }
.tank-row > div:first-child { display: grid; gap: 3px; }
.tank-actions { display: flex; gap: 7px; }
.tank-actions button { min-height: 30px; padding: 5px 9px; font-size: 10px; }
.tank-actions .danger { border-color: #efb4b8; color: #b51d29; }
.tank-dialog { position: relative; width: min(560px, calc(100vw - 28px)); border: 0; padding: 0; border-top: 5px solid var(--cyan); border-radius: 6px; color: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.tank-dialog::backdrop { background: rgba(5,20,41,.76); backdrop-filter: blur(4px); }
.tank-dialog-heading { padding: 28px 30px 18px; border-bottom: 1px solid var(--line); }
.tank-dialog-heading h2 { margin: 4px 0 7px; }
.tank-dialog-heading p { margin: 0; color: var(--muted); }
.tank-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 30px 28px; }
.tank-form label { display: grid; gap: 7px; color: var(--navy); font-weight: 800; }
.tank-form label span { color: var(--muted); font-size: 10px; font-weight: 600; }
.tank-form input { width: 100%; min-height: 44px; border: 1px solid #b7c8df; padding: 9px 11px; color: var(--navy); font: inherit; }
.tank-form input[readonly] { background: #edf3fb; color: #496079; }
.tank-form .dialog-actions { grid-column: 1 / -1; margin-top: 5px; }
.tank-dialog.is-saving .tank-form,
.tank-dialog.is-saving .tank-dialog-heading,
.tank-dialog.is-saving .dialog-x { pointer-events: none; user-select: none; }
.tank-saving-layer { position: absolute; z-index: 5; inset: 0; display: grid; place-items: center; padding: 26px; background: rgba(255,255,255,.84); backdrop-filter: blur(2px); }
.tank-saving-card { width: min(330px, 100%); min-height: 176px; display: grid; gap: 10px; place-items: center; text-align: center; color: var(--navy); background: #fff; border: 1px solid #cfe0f1; border-top: 5px solid var(--cyan); box-shadow: var(--shadow); padding: 24px; }
.tank-saving-card strong { font-size: 16px; }
.tank-saving-card small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.tank-spinner { width: 38px; height: 38px; border: 4px solid #d8e8f8; border-top-color: var(--blue); border-right-color: var(--green); border-radius: 50%; animation: tankSpin .8s linear infinite; }
@keyframes tankSpin { to { transform: rotate(360deg); } }
.profile-review-dialog { width: min(760px, calc(100vw - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-top: 5px solid var(--green); border-radius: 6px; color: var(--ink); box-shadow: var(--shadow); overflow-y: auto; }
.profile-review-dialog::backdrop { background: rgba(5,20,41,.76); backdrop-filter: blur(4px); }
.review-dialog-heading { padding: 28px 30px 20px; border-bottom: 1px solid var(--line); }
.review-dialog-heading h2 { margin: 6px 0; font-family: "Source Serif 4", serif; font-size: 34px; }
.review-profile-form { display: grid; }
.review-fields { padding-bottom: 20px; }
.review-addresses { margin: 0 30px; padding: 20px; background: #fbfdff; border: 1px solid var(--line); }
.review-addresses h3 { margin: 5px 0 0; font-size: 16px; }
.review-note { padding: 17px 30px 0; }
.review-profile-form > .primary-action { margin: 20px 30px 30px; }
.profile-footer { padding: 18px 25px; display: flex; gap: 20px; align-items: center; justify-content: space-between; background: #f6f9fc; border-top: 1px solid var(--line); }
.profile-footer p { max-width: 560px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.portal-toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 40px)); padding: 15px 18px; color: white; background: var(--navy-deep); border-left: 5px solid var(--green); box-shadow: var(--shadow); font-size: 12px; font-weight: 700; }
.portal-toast.error { border-left-color: var(--red); }
.loading-layer { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; background: rgba(242,246,250,.86); backdrop-filter: blur(3px); }
.loading-mark { width: min(360px,calc(100vw - 36px)); padding: 24px; display: grid; gap: 16px; place-items: center; color: var(--navy); background: white; box-shadow: var(--shadow); font-size: 12px; font-weight: 800; }
.loading-brands { width: 300px; max-width: 100%; }
.loading-brands .brand-separator { height: 36px; background: var(--line); }

@media (max-width: 1050px) {
  .auth-shell { grid-template-columns: 1fr 1.15fr; }
  .auth-brand { padding: 35px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .content-grid, .request-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .auth-shell { display: block; background: var(--soft); }
  .auth-brand { min-height: 220px; padding: 24px; }
  .brand-link { width: min(310px,100%); min-height: 64px; gap: 8px; }
  .brand-link .brand-tile { height: 66px; }
  .brand-link .brand-tile-antillano { height: 58px; }
  .brand-link .brand-separator { height: 40%; }
  .auth-story { margin: auto 0 4px; }
  .auth-story h1 { max-width: 470px; margin: 7px 0 0; font-size: 34px; }
  .auth-story p, .trust-line { display: none; }
  .auth-main { min-height: 0; padding: 27px 18px 45px; align-items: start; }
  .auth-tabs { margin: 24px 0 28px; }
  .section-heading h2 { font-size: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .portal-shell { display: block; padding-bottom: 68px; }
  .portal-header { position: sticky; height: 72px; padding: 0 12px; display: grid; grid-template-columns: 160px minmax(0,1fr) auto; }
  .portal-logo { width: 152px; height: 55px; gap: 4px !important; }
  .portal-logo .brand-tile { height: 42px; padding: 4px 5px; }
  .portal-logo .brand-tile-antillano { height: 36px; }
  .portal-logo .brand-separator { height: 32%; }
  .portal-customer { padding-left: 10px; }
  .portal-customer span { display: none; }
  .profile-trigger b { display: none; }
  .portal-nav { position: fixed; z-index: 30; inset: auto 0 0; height: 64px; padding: 5px 6px; display: grid; grid-template-columns: repeat(4,1fr); border: 0; border-top: 1px solid var(--line); }
  .portal-nav button { min-height: 52px; padding: 3px; display: grid; gap: 1px; place-items: center; border: 0; font-size: 8px; }
  .portal-nav button span { font-size: 17px; }
  .portal-nav .logout { display: none; }
  .portal-content { padding: 25px 14px 40px; }
  .page-heading { align-items: start; }
  .page-heading h1 { font-size: 35px; }
  .metric-grid { gap: 9px; }
  .metric-card { min-height: 120px; padding: 16px 13px; }
  .metric-card strong { font-size: 18px; }
  .surface { padding: 14px; }
  .content-grid { margin-top: 12px; gap: 12px; }
  .quick-request { padding: 22px; }
  .quick-request h2 { margin-top: 22px; }
  .filter-bar { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-bar label { min-width: 0; }
  .filter-bar button { grid-column: 1 / -1; }
  .request-layout { display: block; }
  .request-history { margin-top: 14px; }
  .request-item { grid-template-columns: 1fr; }
  .request-side { flex-direction: row; justify-content: space-between; align-items: center; }
  .request-cancel-dialog { max-height: calc(100vh - 28px); overflow-y: auto; }
  .address-heading, .tank-row { align-items: stretch; flex-direction: column; }
  .tank-actions, .tank-actions button, .address-heading button { width: 100%; }
  .tank-form { grid-template-columns: 1fr; padding: 22px; }
  .cancel-dialog-heading { padding: 22px 20px 16px; }
  .request-cancel-form { padding: 20px; }
  .dialog-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .two-fields, .profile-fields { grid-template-columns: 1fr; }
  .review-dialog-heading { padding: 22px 20px 16px; }
  .review-dialog-heading h2 { font-size: 29px; }
  .review-addresses { margin: 0 20px; padding: 16px; }
  .review-note { padding: 15px 20px 0; }
  .review-profile-form > .primary-action { margin: 18px 20px 22px; }
  .profile-footer { align-items: stretch; flex-direction: column; }
}
