:root {
  --gls-blue: #003f72;
  --gls-blue-dark: #002f5c;
  --gls-yellow: #ffd100;
  --gls-light-blue: #dceff4;
  --gls-success: #188a5a;
  --gls-warning: #9a5c0d;
  --gls-danger: #b72f34;
  --ink: #14171a;
  --muted: #667085;
  --surface: #fff;
  --canvas: #f5f7fa;
  --line: #d8dee8;
  --shadow: 0 18px 45px rgba(0, 30, 60, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font: Inter, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  background: var(--canvas);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: var(--gls-blue);
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
h2 {
  line-height: 1.15;
  letter-spacing: -0.025em;
}
small {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.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;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  background: var(--gls-yellow);
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus {
  transform: none;
}
:focus-visible {
  outline: 3px solid var(--gls-yellow);
  outline-offset: 3px;
}
.eyebrow {
  margin-bottom: 7px;
  color: var(--gls-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.lead {
  color: var(--muted);
  font-size: 1.1rem;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.18s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button:active {
  transform: translateY(0);
}
.button-primary {
  background: var(--gls-yellow);
  color: #191919;
  box-shadow: 0 7px 18px rgba(145, 115, 0, 0.2);
}
.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--gls-blue);
}
.button-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}
.button-quiet {
  color: var(--gls-blue);
  background: transparent;
}
.button-wide {
  width: 100%;
}
.button-large {
  padding: 15px 25px;
}
.gls-logo {
  width: 123px;
  aspect-ratio: 1621 / 970;
  display: inline-flex;
  overflow: hidden;
}
.gls-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.flash {
  max-width: 1180px;
  margin: 0 auto 18px;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.flash-action {
  flex: 0 0 auto;
  color: inherit;
  font-weight: 900;
}
.save-error-summary {
  margin: 0 0 20px;
  padding: 20px 22px;
  border: 2px solid var(--gls-danger);
  border-radius: 16px;
  background: #fff2f3;
  color: #7f2027;
}
.save-error-summary strong {
  display: block;
  font-size: 1.15rem;
}
.save-error-summary p {
  margin: 5px 0 10px;
}
.save-error-summary ul {
  margin: 0;
  padding-left: 21px;
}
.shipment-highlight {
  position: relative;
  background: #fffbe6 !important;
  box-shadow: inset 5px 0 0 var(--gls-yellow);
}
.shipment-highlight:after {
  content: 'New';
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gls-yellow);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}
.flash-success {
  background: #e1f5ec;
  color: #116944;
}
.flash-error {
  background: #fdebed;
  color: #92262d;
}
.login-page {
  min-height: 100vh;
  background: #000;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}
.login-form {
  width: min(100%, 320px);
}
.login-form input[type='password'] {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  outline: none;
  background: #0b0b0b;
  color: #fff;
  caret-color: #fff;
}
.login-form input[type='password']:focus {
  border-color: #777;
}
.login-form input[aria-invalid='true'] {
  border-color: #9a2c2c;
}
.field {
  font-size: 0.85rem;
  font-weight: 750;
}
.field input,
.field select,
.field textarea,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1.5px solid #bfc8d4;
  border-radius: 10px;
  background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gls-blue);
  outline: 3px solid rgba(0, 63, 114, 0.13);
}
.admin-page {
  background: var(--canvas);
}
.admin-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: var(--gls-blue);
  color: #fff;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.admin-brand .gls-logo {
  width: 94px;
}
.admin-brand .gls-logo img {
  mix-blend-mode: lighten;
}
.admin-main {
  max-width: 1240px;
  margin: auto;
  padding: 45px 30px 80px;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}
.page-heading h1 {
  margin-bottom: 4px;
}
.page-heading .lead {
  margin-bottom: 0;
}
.page-heading.compact {
  align-items: center;
}
.back-link {
  font-weight: 800;
  text-decoration: none;
}
.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1.8fr) repeat(5, minmax(120px, 1fr)) auto auto;
  gap: 10px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 18px;
}
.filter-bar select,
.filter-bar input {
  min-height: 44px;
  padding: 8px 10px;
}
.search-field {
  position: relative;
}
.search-field > span:not(.sr-only) {
  position: absolute;
  left: 14px;
  top: 8px;
  font-size: 1.3rem;
  color: var(--muted);
}
.search-field input {
  padding-left: 40px;
}
.shipment-list {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 30, 60, 0.06);
}
.shipment-list-head,
.shipment-row {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.1fr 1.15fr 0.8fr;
  gap: 18px;
  align-items: center;
}
.shipment-list-head {
  padding: 14px 20px;
  background: #f1f4f8;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 18px 18px 0 0;
}
.shipment-row {
  padding: 20px;
  border-top: 1px solid #e8ebef;
}
.shipment-row > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.shipment-row strong {
  font-size: 0.93rem;
}
.shipment-row small {
  display: block;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shipment-identity {
  flex-direction: row !important;
  align-items: center;
  gap: 13px;
}
.country-code {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gls-light-blue);
  color: var(--gls-blue);
  font-weight: 900;
}
.tracking-link {
  color: var(--gls-blue);
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
}
.state-badge {
  display: inline-flex;
  width: max-content;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.state-published {
  background: #dcf4e9;
  color: #116b46;
}
.state-draft {
  background: #e8eef6;
  color: #4d5c70;
}
.state-disabled {
  background: #fff1db;
  color: #8b530d;
}
.state-archived {
  background: #f2e9ec;
  color: #74404d;
}
.row-actions {
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.email-row-download svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 50%;
  color: var(--gls-blue);
  font-weight: 900;
  text-decoration: none;
}
.icon-button:hover {
  background: #eef3f8;
}
.action-menu {
  position: relative;
}
.action-menu summary {
  list-style: none;
}
.action-menu summary::-webkit-details-marker {
  display: none;
}
.menu-popover {
  position: absolute;
  z-index: 10;
  right: 0;
  top: 50px;
  width: 190px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.menu-popover button {
  width: 100%;
  padding: 10px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  text-align: left;
}
.menu-popover button:hover {
  background: #f1f4f8;
}
.danger-text {
  color: var(--gls-danger) !important;
}
.button-danger {
  background: var(--gls-danger);
  color: #fff;
}
.danger-zone {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #e6b9bd;
  border-radius: 12px;
  background: #fff7f7;
}
.danger-zone p {
  margin: 4px 0 14px;
  color: var(--muted);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}
.empty-state {
  text-align: center;
  padding: 70px 30px;
  border: 1px dashed #b8c2cf;
  border-radius: 18px;
  background: #fff;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: var(--gls-light-blue);
  color: var(--gls-blue);
  font-size: 2rem;
}
.form-main {
  padding-bottom: 140px;
}
.unsaved-indicator {
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff2bf;
  color: #6f5900;
  font-weight: 800;
}
.form-tabs {
  display: flex;
  max-width: 700px;
  margin-bottom: 22px;
  background: #e7ecf2;
  padding: 5px;
  border-radius: 999px;
}
.form-tab {
  flex: 1;
  min-height: 48px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 850;
}
.form-tab.active {
  background: #fff;
  color: var(--gls-blue);
  box-shadow: 0 3px 12px rgba(0, 30, 60, 0.1);
}
.form-section {
  padding: 28px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.section-highlight {
  border-top: 5px solid var(--gls-blue);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin: 4px 0 0;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.field-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field textarea {
  resize: vertical;
}
.field small {
  font-weight: 500;
}
.country-selection-confirmation {
  color: var(--muted);
}
.country-selection-confirmation strong {
  display: inline-flex;
  min-width: 30px;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--gls-light-blue);
  color: var(--gls-blue);
  font-weight: 900;
  letter-spacing: 0.05em;
}
.field-error {
  color: var(--gls-danger) !important;
}
.span-2 {
  grid-column: span 2;
}
.span-3 {
  grid-column: span 3;
}
.span-4 {
  grid-column: span 4;
}
.copy-field > div {
  display: flex;
}
.copy-field > div input {
  border-radius: 10px 0 0 10px;
}
.copy-field > div button {
  border-radius: 0 10px 10px 0;
  border-color: #bfc8d4;
}
.split-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.split-sections fieldset {
  padding: 0;
  border: 0;
}
.split-sections legend {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 18px;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 700;
}
.check-field input {
  width: 20px;
  height: 20px;
  accent-color: var(--gls-blue);
}
.advanced {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.advanced summary {
  cursor: pointer;
  color: var(--gls-blue);
  font-weight: 850;
  margin-bottom: 18px;
}
.status-editor {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
}
.status-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 14px;
  background: var(--gls-light-blue);
}
.status-preview-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gls-blue);
  color: #fff;
  font-size: 1.4rem;
}
.status-preview div {
  display: flex;
  flex-direction: column;
}
.status-preview strong {
  font-size: 1.15rem;
}
.event-editor {
  display: grid;
  gap: 12px;
}
.event-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbfc;
}
.drag-handle {
  color: #9ba6b3;
  font-size: 1.2rem;
  padding-top: 35px;
}
.event-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}
.sticky-actions {
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(25px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px rgba(0, 30, 60, 0.08);
  backdrop-filter: blur(12px);
}
.sticky-actions > div {
  display: flex;
  gap: 10px;
}
.message-page {
  max-width: 660px;
  margin: 13vh auto;
  padding: 50px;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* Simplified shipment editor */
.simplified-admin-main {
  max-width: 1120px;
}
.simplified-form-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.simplified-form-heading h1 {
  margin: 4px 0 8px;
}
.simplified-form-heading .lead {
  max-width: 720px;
  margin: 0;
}
.unsaved-badge {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff2bf;
  color: #6f5900;
  font-size: 0.82rem;
  font-weight: 850;
}
.single-form-tab {
  width: min(100%, 420px);
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 1px solid #b8c8e5;
  border-radius: 14px;
  background: #fff;
  color: var(--gls-blue);
  box-shadow: 0 8px 22px rgba(6, 34, 125, 0.07);
}
.single-form-tab > span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gls-blue);
  color: #fff;
  font-weight: 900;
}
.single-form-tab strong {
  line-height: 1.1;
}
.single-form-tab small {
  color: var(--muted);
}
.fixed-shipment-status {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 22px 24px;
  border: 1px solid #a9c9e8;
  border-radius: 18px;
  background: linear-gradient(120deg, #edf9ff 0%, #d9f2ff 100%);
}
.fixed-shipment-status h2,
.fixed-shipment-status p {
  margin: 0;
}
.fixed-shipment-status h2 {
  margin-bottom: 4px;
  color: var(--gls-blue);
}
.fixed-shipment-status p:not(.eyebrow) {
  color: #50627a;
}
.fixed-status-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--gls-blue);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 900;
}
.fixed-status-stage {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--gls-blue);
}
.fixed-status-stage span {
  font-size: 1.45rem;
  font-weight: 900;
}
.fixed-status-stage small {
  max-width: 44px;
  line-height: 1.1;
  color: #5f6e82;
}
.simplified-section {
  padding: 30px;
  border-color: #d7e0ea;
  box-shadow: 0 8px 25px rgba(0, 30, 60, 0.04);
}
.simplified-section .section-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid #e5eaf0;
}
.tracking-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0;
  border: 0;
}
.tracking-choice legend {
  margin-bottom: 9px;
  font-weight: 800;
}
.tracking-choice label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px;
  border: 1px solid #cbd5e0;
  border-radius: 13px;
  background: #f9fbfd;
  cursor: pointer;
}
.tracking-choice label:has(input:checked) {
  border-color: var(--gls-blue);
  background: #eef5ff;
  box-shadow: inset 0 0 0 1px var(--gls-blue);
}
.tracking-choice input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--gls-blue);
}
.tracking-choice span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tracking-choice small {
  color: var(--muted);
  font-weight: 500;
}
.manual-tracking-field {
  padding: 16px;
  border-radius: 13px;
  background: #eef5ff;
}
.readonly-field {
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #c8d2dd;
  border-radius: 10px;
  background: #f4f7fa;
}
.paid-delivery-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #e4f7ee;
  color: #116b46;
}
.paid-delivery-note > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #18885a;
  color: #fff;
  font-weight: 900;
}
.paid-delivery-note p {
  margin: 3px 0 0;
  color: #3d6b59;
}
.email-export-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid #b9cbea;
  border-radius: 18px;
  background: linear-gradient(120deg, #f4f8ff 0%, #e5f1ff 100%);
  box-shadow: 0 9px 28px rgba(0, 48, 105, 0.07);
}
.email-export-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--gls-blue);
  color: #fff;
  box-shadow: 0 7px 16px rgba(0, 63, 114, 0.2);
}
.email-export-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.email-export-copy h2 {
  margin: 0 0 5px;
  color: var(--gls-blue);
  font-size: 1.25rem;
}
.email-export-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: #50627a;
}
.email-export-url {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  color: #53667f;
  font-size: 0.78rem;
  font-weight: 750;
}
.email-export-url code {
  min-width: 0;
  overflow: hidden;
  padding: 5px 9px;
  border: 1px solid rgba(0, 63, 114, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--gls-blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.email-export-copy .email-export-hint {
  margin-top: 9px;
  color: #7a5e13;
  font-size: 0.76rem;
  line-height: 1.4;
}
.email-export-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
}
.email-export-actions .button {
  white-space: nowrap;
}
.email-export-state {
  padding: 8px 13px;
  border-radius: 999px;
  background: #e5eaf0;
  color: #5b6878;
  font-size: 0.8rem;
  font-weight: 850;
}
.email-export-locked {
  border-color: #d6dde7;
  background: #f4f6f8;
  box-shadow: none;
}
.email-export-locked .email-export-icon {
  background: #768395;
  box-shadow: none;
}
.simplified-filter-bar {
  grid-template-columns: minmax(280px, 2fr) minmax(180px, 1fr) auto auto;
}

@media (max-width: 920px) {
  .admin-main {
    padding: 32px 20px 120px;
  }
  .field-grid.cols-4,
  .field-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field-grid.cols-4 > .span-3,
  .field-grid.cols-4 > .span-4 {
    grid-column: span 2;
  }
  .shipment-list-head,
  .shipment-row {
    grid-template-columns: 1.7fr 1fr 1fr auto;
  }
  .shipment-list-head > :nth-child(4),
  .shipment-row > :nth-child(4) {
    display: none;
  }
}

@media (max-width: 680px) {
  .admin-header {
    height: auto;
    min-height: 72px;
    padding: 12px 16px;
  }
  .admin-brand span {
    display: none;
  }
  .page-heading,
  .simplified-form-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .filter-bar,
  .simplified-filter-bar {
    grid-template-columns: 1fr;
  }
  .field-grid,
  .field-grid.cols-3,
  .field-grid.cols-4,
  .tracking-choice {
    grid-template-columns: 1fr;
  }
  .field-grid > .span-2,
  .field-grid > .span-3,
  .field-grid > .span-4,
  .field-grid.cols-4 > .span-2,
  .field-grid.cols-4 > .span-3,
  .field-grid.cols-4 > .span-4,
  .tracking-choice.span-4 {
    grid-column: span 1;
  }
  .fixed-shipment-status {
    grid-template-columns: 54px 1fr;
    padding: 18px;
  }
  .fixed-status-icon {
    width: 50px;
    height: 50px;
  }
  .fixed-status-stage {
    grid-column: span 2;
    justify-self: start;
  }
  .email-export-card {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 18px;
  }
  .email-export-icon {
    width: 50px;
    height: 50px;
  }
  .email-export-actions {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .email-export-state {
    width: max-content;
  }
  .email-export-url {
    align-items: flex-start;
    flex-direction: column;
  }
  .email-export-url code {
    width: 100%;
  }
  .simplified-section,
  .form-section {
    padding: 20px;
  }
  .shipment-list-head {
    display: none;
  }
  .shipment-row {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }
  .shipment-row > :nth-child(2),
  .shipment-row > :nth-child(3),
  .shipment-row > :nth-child(4) {
    display: none;
  }
  .sticky-actions {
    align-items: stretch;
    flex-direction: column;
    padding: 10px 16px;
  }
  .sticky-actions > div {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }
}
