:root {
  --license-ink: #141923;
  --license-muted: #687083;
  --license-line: #e6e9ef;
  --license-soft: #f6f7fa;
  --license-orange: #ff6508;
  --license-orange-deep: #d94700;
  --license-navy: #17233c;
  --license-green: #16825d;
  --license-red: #c73d45;
  --license-blue: #2765d9;
}

.license-view {
  color: var(--license-ink);
}

.license-view h1,
.license-view h2,
.license-view p {
  margin-top: 0;
}

.license-hero,
.my-license-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding: 30px 34px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(255, 111, 22, .42) 0 13%, transparent 14%),
    linear-gradient(120deg, #182641, #111722 58%, #73320f);
  box-shadow: 0 24px 60px rgba(20, 30, 48, .16);
}

.my-license-hero {
  background:
    radial-gradient(circle at 91% 14%, rgba(255, 255, 255, .1) 0 12%, transparent 13%),
    linear-gradient(125deg, #124d3a, #173b35 58%, #15233e);
}

.license-hero::after,
.my-license-hero::after {
  content: '';
  position: absolute;
  inset: auto -44px -70px auto;
  width: 210px;
  height: 210px;
  border: 42px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
  pointer-events: none;
}

.license-hero > *,
.my-license-hero > * {
  position: relative;
  z-index: 1;
}

.license-hero h1,
.my-license-hero h1 {
  margin: 7px 0 6px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -.045em;
}

.license-hero p,
.my-license-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .76);
}

.license-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ff8a43;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.my-license-hero .license-kicker {
  color: #8ee0bd;
}

.license-hero-actions,
.license-record-head-actions,
.license-create-success-actions,
.license-document-actions,
.license-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.license-hero-actions .btn,
.my-license-hero .btn {
  min-height: 46px;
  font-weight: 800;
  white-space: nowrap;
}

.license-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.license-metric {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--license-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(27, 35, 52, .06);
}

.license-metric > i {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--license-orange);
  background: #fff0e8;
  font-size: 19px;
}

.license-metric.success > i { color: var(--license-green); background: #e8f8f1; }
.license-metric.warning > i { color: #b56a00; background: #fff5dc; }
.license-metric.info > i { color: var(--license-blue); background: #e9f0ff; }
.license-metric.danger > i { color: var(--license-red); background: #fff0f1; }
.license-metric div { min-width: 0; }
.license-metric span { display: block; color: var(--license-muted); font-size: 10px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.license-metric strong { display: block; margin-top: 2px; font-size: 25px; font-weight: 900; }

.license-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 240px);
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
}

.license-toolbar label > span {
  display: block;
  margin: 0 0 6px 4px;
  color: var(--license-muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.license-search {
  position: relative;
  align-self: end;
}

.license-search i {
  position: absolute;
  top: 50%;
  left: 15px;
  color: var(--license-muted);
  transform: translateY(-50%);
}

.license-search input,
.license-toolbar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dde1e8;
  border-radius: 14px;
  background: #fff;
}

.license-search input { padding: 0 15px 0 43px; }
.license-toolbar select { padding: 0 38px 0 13px; }

.license-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(105px, 1fr));
  gap: 6px;
  margin-bottom: 16px;
  padding: 7px;
  overflow-x: auto;
  border: 1px solid var(--license-line);
  border-radius: 18px;
  background: #fff;
  scrollbar-width: thin;
}

.license-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 105px;
  min-height: 46px;
  padding: 8px 12px;
  border: 0;
  border-radius: 13px;
  color: var(--license-muted);
  background: transparent;
  font-size: 12px;
  font-weight: 850;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.license-tabs button:hover,
.license-tabs button:focus-visible {
  color: var(--license-ink);
  background: var(--license-soft);
  outline: none;
}

.license-tabs button.active {
  color: #fff;
  background: var(--license-ink);
  box-shadow: 0 8px 20px rgba(20, 25, 35, .18);
}

.license-panel { display: none; }
.license-panel.active { display: block; }

.license-panel > div {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--license-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(27, 35, 52, .05);
}

.license-migration-conflicts { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); gap: 18px; margin-bottom: 18px; padding: 20px; border: 1px solid #f2a25f; border-radius: 20px; background: linear-gradient(135deg, #fff6ed, #fffaf5); }
.license-migration-conflicts > div:first-child span { color: #c2410c; font-size: 10px; font-weight: 900; letter-spacing: .09em; }
.license-migration-conflicts h2 { margin: 4px 0 7px; color: #7c2d12; font-size: 18px; font-weight: 900; }
.license-migration-conflicts p { margin: 0; color: #7b4a2c; font-size: 11px; line-height: 1.55; }
.license-conflict-list { display: grid; gap: 8px; }
.license-conflict-list article { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 11px 12px; border: 1px solid rgba(194, 65, 12, .16); border-radius: 14px; background: rgba(255, 255, 255, .82); }
.license-conflict-list article > span { min-width: 0; }
.license-conflict-list strong, .license-conflict-list small { display: block; overflow-wrap: anywhere; }
.license-conflict-list small { margin-top: 3px; color: var(--license-muted); font-size: 10px; }

.license-summary-grid,
.my-license-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 18px;
}

.license-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--license-line);
  border-radius: 20px;
  background: #fff;
}

.license-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}

.license-card-heading span,
.license-next-steps > span,
.my-license-help > span {
  display: block;
  margin-bottom: 4px;
  color: var(--license-orange-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.license-card-heading h2,
.license-next-steps h2,
.my-license-help h2 {
  margin-bottom: 0;
  font-size: 19px;
  font-weight: 900;
}

.license-card-heading > strong,
.license-card-heading > i {
  color: var(--license-orange);
  font-size: 26px;
  font-weight: 900;
}

.license-compact-list {
  display: grid;
  gap: 8px;
}

.license-compact-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid var(--license-line);
  border-radius: 14px;
  text-align: left;
  background: var(--license-soft);
}

.license-compact-list button:hover,
.license-compact-list button:focus-visible { border-color: #ffb488; outline: none; }
.license-compact-list span:first-child { min-width: 0; }
.license-compact-list strong,
.license-compact-list small { display: block; }
.license-compact-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.license-compact-list small { color: var(--license-muted); }

.license-next-steps {
  color: #fff;
  border: 0;
  background: linear-gradient(145deg, #17243e, #111722);
}

.license-next-steps > span { color: #ff9d61; }
.license-next-steps ol { display: grid; gap: 12px; padding: 0; margin: 18px 0 0; list-style: none; }
.license-next-steps li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .78); font-size: 12px; }
.license-next-steps li > strong { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 10px; color: #fff; background: var(--license-orange); }

.license-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--license-line);
  border-radius: 16px;
}

.license-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.license-table th {
  padding: 12px 14px;
  color: #737b8c;
  background: #f8f9fb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .045em;
  text-align: left;
  text-transform: uppercase;
}

.license-table td {
  padding: 14px;
  border-top: 1px solid var(--license-line);
  vertical-align: middle;
  font-size: 12px;
}

.license-table td strong,
.license-table td small { display: block; }
.license-table td small { margin-top: 3px; color: var(--license-muted); }
.license-row-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.license-plan-action { color: #9a3f06; border: 1px solid #ffbd94; background: #fff3eb; font-weight: 850; }
.license-plan-action:hover,
.license-plan-action:focus-visible { color: #7c2d00; border-color: #ff8a45; background: #ffe6d6; }

.license-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  color: #9b5d00;
  background: #fff3d5;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.license-status.is-success { color: #0d7653; background: #e6f7ef; }
.license-status.is-danger { color: #b52f39; background: #ffebed; }
.license-status.is-info { color: #245cc1; background: #e8efff; }
.license-status.is-warning { color: #9b5d00; background: #fff3d5; }
.license-status.is-muted { color: #616a78; background: #edf0f4; }

.license-document-grid,
.license-contract-grid,
.license-upload-grid,
.license-payment-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.license-document-card,
.license-contract-card,
.license-upload-card,
.license-payment-cards > article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--license-line);
  border-radius: 17px;
  background: #fff;
}

.license-document-card > div:first-child,
.license-upload-card > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.license-document-card > div:first-child > i,
.license-upload-card > div:first-child > i {
  display: grid;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  color: var(--license-orange);
  background: #fff0e8;
}

.license-document-card strong,
.license-document-card small,
.license-upload-card strong,
.license-upload-card small { display: block; }
.license-document-card small,
.license-upload-card small { margin-top: 3px; color: var(--license-muted); font-size: 10px; }
.license-document-actions { margin-top: auto; }
.license-document-versions { width: 100%; border-top: 1px solid var(--license-line); padding-top: 10px; }
.license-document-versions summary { cursor: pointer; color: var(--license-orange-deep); font-size: 11px; font-weight: 900; }
.license-document-versions > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--license-line); }
.license-document-versions > div:last-child { border-bottom: 0; padding-bottom: 0; }
.license-document-versions > div > span { min-width: 0; }

.license-contract-card { flex-direction: row; }
.license-contract-card > i { color: #e44242; font-size: 32px; }
.license-contract-card h2 { margin: 3px 0 6px; font-size: 16px; font-weight: 900; }
.license-contract-card p { margin-bottom: 8px; color: var(--license-muted); font-size: 11px; }
.license-contract-card span,
.license-contract-card small { color: var(--license-orange-deep); font-size: 9px; font-weight: 900; letter-spacing: .05em; }

.license-timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 920px;
}

.license-timeline::before {
  content: '';
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 17px;
  width: 2px;
  background: #e5e8ee;
}

.license-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
}

.license-timeline article > i {
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--license-green);
}

.license-timeline strong { font-size: 13px; }
.license-timeline p { margin: 2px 0; color: var(--license-muted); font-size: 11px; }
.license-timeline small { color: #8b92a1; font-size: 10px; }

.license-empty,
.license-error,
.license-loading {
  display: grid;
  min-height: 180px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  color: var(--license-muted);
  text-align: center;
}

.license-empty > i,
.license-error > i { color: #b4bac6; font-size: 34px; }
.license-empty strong,
.license-error strong,
.license-loading strong { color: var(--license-ink); }
.license-empty p,
.license-error p { max-width: 520px; margin-bottom: 0; font-size: 12px; }
.license-error > i { color: var(--license-red); }

.license-modal-card { width: min(720px, calc(100vw - 30px)); max-width: 720px; }
.license-record-card { width: min(1120px, calc(100vw - 30px)); max-width: 1120px; max-height: calc(100vh - 30px); overflow-y: auto; }
.license-confirm-card { width: min(480px, calc(100vw - 30px)); max-width: 480px; text-align: center; }
.license-password-card { width: min(520px, calc(100vw - 30px)); max-width: 520px; }

.license-modal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.license-modal-heading h2 { margin: 4px 0; font-size: 25px; font-weight: 900; }
.license-modal-heading p { margin-bottom: 0; color: var(--license-muted); font-size: 12px; }
.license-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.license-form-grid label,
.license-form-grid .license-form-field,
.license-inline-form,
.license-payment-form,
.license-notification-form label,
.license-confirm-card label { min-width: 0; }
.license-form-grid label > span,
.license-form-field > label,
.license-notification-form label > span,
.license-confirm-card label > span { display: block; margin: 0 0 6px 2px; font-size: 11px; font-weight: 850; }
.license-form-field > small,
.license-form-grid label > small { display: block; margin-top: 5px; color: var(--license-muted); font-size: 10px; line-height: 1.4; }
.license-form-wide { grid-column: 1 / -1; }
.license-form-grid .form-control,
.license-form-grid .form-select { min-height: 46px; border-radius: 13px; }
.license-form-message { min-height: 22px; margin-top: 12px; font-size: 12px; font-weight: 800; }
.license-form-message.is-error { color: var(--license-red); }
.license-form-message.is-success { color: var(--license-green); }
.license-modal-actions { justify-content: flex-end; margin-top: 18px; }
.license-modal-actions .btn { min-height: 44px; }

.license-password-target {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--license-line);
  border-radius: 15px;
  background: var(--license-soft);
}

.license-password-target > i {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--license-orange), #ff9a55);
  font-size: 19px;
}

.license-password-target span,
.license-password-target strong,
.license-password-target small { display: block; min-width: 0; }
.license-password-target strong { color: var(--license-ink); font-size: 13px; font-weight: 900; }
.license-password-target small { margin-top: 2px; overflow-wrap: anywhere; color: var(--license-muted); font-size: 10px; }
.license-password-card form > label { display: block; margin-top: 12px; }
.license-password-card form > label > span { display: block; margin: 0 0 6px 2px; font-size: 11px; font-weight: 850; }
.license-password-card form > label .form-control { min-height: 48px; border-radius: 13px; }
.license-password-card form > small { display: block; margin: 6px 2px 0; color: var(--license-muted); font-size: 10px; line-height: 1.45; }
.license-password-card .license-password-username-locked {
  color: #555f73;
  background: #f1f3f7;
  cursor: not-allowed;
}
.license-password-card form > .license-password-change-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--license-line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}
.license-password-change-option > input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--license-orange); }
.license-password-change-option > span,
.license-password-change-option strong,
.license-password-change-option small { display: block; min-width: 0; }
.license-password-change-option > span { margin: 0 !important; }
.license-password-change-option strong { color: var(--license-ink); font-size: 11px; font-weight: 900; }
.license-password-change-option small { margin-top: 3px; color: var(--license-muted); font-size: 10px; font-weight: 600; line-height: 1.4; }
.license-password-notice { display: flex; align-items: flex-start; gap: 9px; margin-top: 15px; padding: 11px 12px; border-radius: 13px; color: #754c00; background: #fff4d7; font-size: 10px; font-weight: 750; line-height: 1.45; }
.license-password-notice i { margin-top: 1px; color: #c37a00; font-size: 16px; }
.license-password-activation-alternative { display: flex; align-items: flex-start; gap: 7px; margin: 10px 2px 0; color: var(--license-muted); font-size: 10px; font-weight: 650; line-height: 1.45; }
.license-password-activation-alternative i { margin-top: 1px; color: var(--license-orange); font-size: 14px; }

.license-city-select-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.license-city-select-action .btn {
  min-height: 46px;
  padding-inline: 13px;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.license-city-catalog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
  padding: 20px;
  border: 1px solid #dae0e8;
  border-radius: 19px;
  background: linear-gradient(135deg, #f8fafc, #fff7f0);
}

.license-city-catalog-head > div { max-width: 720px; }
.license-city-catalog-head span { color: var(--license-orange-deep); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.license-city-catalog-head h2 { margin: 5px 0 4px; font-size: 22px; font-weight: 900; }
.license-city-catalog-head p { margin: 0; color: var(--license-muted); font-size: 11px; line-height: 1.55; }
.license-city-catalog-head .btn { min-height: 44px; white-space: nowrap; }

.license-city-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 15px;
}

.license-city-metrics > span {
  display: grid;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid var(--license-line);
  border-radius: 15px;
  background: #fff;
}

.license-city-metrics strong { color: var(--license-ink); font-size: 22px; font-weight: 900; }
.license-city-metrics small { color: var(--license-muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }

.license-city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.license-city-card {
  display: grid;
  gap: 13px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dde2e9;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 35, 49, .05);
}

.license-city-card.is-inactive { background: #f7f8fa; }
.license-city-card.is-locked { border-color: #d8dde5; }
.license-city-card-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.license-city-pin { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #ff6500, #ff9a55); font-size: 20px; box-shadow: 0 8px 18px rgba(255, 101, 0, .2); }
.license-city-card-head > div { min-width: 0; }
.license-city-card-head small { display: block; overflow: hidden; color: var(--license-orange-deep); font-size: 9px; font-weight: 900; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.license-city-card-head h3 { margin: 2px 0 0; overflow-wrap: anywhere; font-size: 17px; font-weight: 900; }
.license-city-card-head p { margin: 1px 0 0; color: var(--license-muted); font-size: 10px; }
.license-city-coverage { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; color: #18533f; background: #eaf8f1; }
.license-city-coverage.is-missing { color: #8e5b00; background: #fff4da; }
.license-city-coverage > i { font-size: 20px; }
.license-city-coverage > div { display: grid; min-width: 0; }
.license-city-coverage strong { font-size: 12px; font-weight: 900; }
.license-city-coverage small { font-size: 9px; line-height: 1.4; }
.license-city-usage-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.license-city-usage-chips > span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid #e3e7ec; border-radius: 999px; color: #626b79; background: #f8f9fb; font-size: 9px; font-weight: 800; }
.license-city-usage-chips i { color: var(--license-orange); }
.license-city-card-state { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.license-city-card-state > small { color: var(--license-muted); font-size: 9px; text-align: right; }
.license-city-card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.license-city-card-actions .btn:only-child { grid-column: 1 / -1; }
.license-city-card-actions .btn { min-height: 43px; justify-content: center; font-size: 10px; font-weight: 850; }

.license-city-backdrop { border: 0; }
.license-city-modal-card { width: min(1040px, calc(100vw - 30px)); max-width: 1040px; }
.license-city-editor-layout { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(420px, 1.18fr); align-items: start; gap: 18px; }
.license-city-fields { display: grid; gap: 14px; min-width: 0; }
.license-city-search-box { display: grid; gap: 6px; }
.license-city-search-box > label,
.license-city-coordinate-grid label > span { display: block; margin-left: 2px; font-size: 10px; font-weight: 850; }
.license-city-search-box .input-group { flex-wrap: nowrap; }
.license-city-search-box .input-group-text { color: var(--license-orange); background: #fff8f3; }
.license-city-search-box .btn { white-space: nowrap; }
.license-city-coordinate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.license-city-coordinate-grid label:last-child { grid-column: 1 / -1; }
.license-city-coordinate-grid label { min-width: 0; }
.license-city-coordinate-grid .form-control,
.license-city-coordinate-grid .input-group-text { min-height: 44px; }
.license-city-map-section { min-width: 0; overflow: hidden; border: 1px solid #dfe3e9; border-radius: 19px; background: #f7f8fa; }
.license-city-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; background: #fff; }
.license-city-map-heading > div { display: grid; min-width: 0; }
.license-city-map-heading strong { font-size: 13px; font-weight: 900; }
.license-city-map-heading > div > span { color: var(--license-muted); font-size: 9px; line-height: 1.4; }
.license-city-map { position: relative; width: 100%; height: 410px; overflow: hidden; touch-action: none; pointer-events: auto; background: #e9edf1; }
.license-city-map .gm-style { touch-action: none; pointer-events: auto; }
.license-city-map-legend { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 13px; color: #5c6572; background: #fff; font-size: 9px; font-weight: 750; }
.license-city-map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.license-city-map-legend i { color: var(--license-orange); }
.license-city-map-legend.is-readonly { justify-content: flex-start; color: #7b4d00; background: #fff8e8; }
.license-city-map-section > .license-form-message { min-height: 36px; margin: 0; padding: 9px 13px; border-top: 1px solid #e2e6eb; background: #fff; }
.license-city-usage { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 11px; border: 1px solid #dfe3e9; border-radius: 14px; color: #4e5865; background: #f8f9fb; }
.license-city-usage > i { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: #fff; background: #5f6977; }
.license-city-usage strong { display: block; color: var(--license-ink); font-size: 11px; font-weight: 900; }
.license-city-usage p { margin: 2px 0 8px; font-size: 9px; line-height: 1.45; }
.license-city-conflicts { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; margin-top: 14px; padding: 13px; border: 1px solid #f1a8b1; border-radius: 15px; color: #8e2432; background: #fff0f2; }
.license-city-conflicts > i { font-size: 25px; }
.license-city-conflicts strong { font-size: 12px; font-weight: 900; }
.license-city-conflicts p { margin: 2px 0 5px; font-size: 10px; }
.license-city-conflicts ul { display: grid; gap: 3px; margin: 0; padding-left: 17px; font-size: 9px; }

.license-create-success {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
  padding: 15px;
  border: 1px solid #a8dfc8;
  border-radius: 16px;
  color: #155c45;
  background: #ecfaf4;
}

.license-create-success > i { font-size: 28px; }
.license-create-success strong,
.license-create-success p { display: block; margin-bottom: 5px; }
.license-create-success label { display: block; margin: 10px 0; font-size: 10px; font-weight: 900; }

.license-confirm-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 18px;
  color: #a76000;
  background: #fff2cf;
  font-size: 27px;
}

.license-confirm-card h2 { font-size: 23px; font-weight: 900; }
.license-confirm-card p { color: var(--license-muted); }
.license-confirm-card label { margin-top: 14px; text-align: left; }

.license-record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 15px;
  background: var(--license-soft);
}

.license-simple-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #ffd2b5;
  border-radius: 16px;
  background: linear-gradient(120deg, #fff8f3, #fff);
}
.license-simple-control > div:first-child { min-width: 0; }
.license-simple-control span:first-child { display: block; color: #c64a0a; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.license-simple-control strong { display: block; margin-top: 3px; font-size: 16px; }
.license-simple-control p { margin: 4px 0 0; color: var(--license-muted); font-size: 11px; }
.license-simple-control-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }

.license-contract-independent-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px !important;
  padding: 12px 14px;
  border: 1px solid #b9d9ff;
  border-radius: 14px;
  color: #174a87;
  background: #eef6ff;
}
.license-contract-independent-note > i { flex: 0 0 auto; font-size: 20px; }
.license-contract-independent-note strong,
.license-contract-independent-note small { display: block; }
.license-contract-independent-note strong { font-size: 12px; }
.license-contract-independent-note small { margin-top: 2px; color: #466b96; font-size: 10px; }

.license-record-sections { display: grid; gap: 10px; }
.license-record-sections details { overflow: hidden; border: 1px solid var(--license-line); border-radius: 16px; background: #fff; }
.license-record-sections summary { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 15px; cursor: pointer; font-size: 13px; font-weight: 900; list-style: none; }
.license-record-sections summary::-webkit-details-marker { display: none; }
.license-record-sections summary > i { color: var(--license-orange); font-size: 18px; }
.license-record-sections summary > span { flex: 1; }
.license-record-sections summary > strong { display: grid; min-width: 27px; height: 27px; padding: 0 7px; place-items: center; border-radius: 999px; color: var(--license-muted); background: var(--license-soft); font-size: 10px; }
.license-record-sections details > :not(summary) { margin: 0 15px 15px; }
.license-record-form { padding-top: 4px; }
.license-record-form > .btn { margin-top: 14px; }

.license-record-tool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px;
  border: 1px solid #ffe0cf;
  border-radius: 15px;
  background: #fff8f3;
}

.license-record-tool strong { display: block; font-size: 13px; }
.license-record-tool p { margin: 2px 0 0; color: var(--license-muted); font-size: 10px; }
.license-inline-form { display: flex; flex-wrap: wrap; gap: 8px; min-width: min(100%, 390px); }
.license-inline-form .form-select { flex: 1 1 180px; }
.license-inline-check { display: flex; flex: 1 1 210px; align-items: center; gap: 7px; min-height: 42px; padding: 7px 10px; border: 1px solid var(--license-line); border-radius: 12px; background: #fff; font-size: 10px; font-weight: 800; line-height: 1.25; }
.license-inline-check input { flex: 0 0 18px; width: 18px; height: 18px; accent-color: var(--license-orange); }
.license-payment-confirm-form { align-items: flex-start; flex-direction: column; }
.license-payment-form { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 9px; width: 100%; }
.license-payment-form label > span { display: block; margin: 0 0 5px 2px; font-size: 10px; font-weight: 850; }
.license-payment-form .license-payment-notes { grid-column: span 2; }
.license-payment-form > .btn { align-self: end; min-height: 46px; }
.license-version-list { display: grid; gap: 8px; margin-top: 12px !important; }
.license-version-list article { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--license-line); border-radius: 13px; }
.license-version-list article > div { flex: 1; min-width: 0; }
.license-version-list strong,
.license-version-list small { display: block; }
.license-version-list small { color: var(--license-muted); font-size: 10px; }
.license-acceptance-evidence { flex: 1 0 100%; padding-top: 10px; border-top: 1px dashed var(--license-line); }
.license-acceptance-evidence summary { cursor: pointer; color: var(--license-primary); font-size: 11px; font-weight: 850; }
.license-acceptance-evidence dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; }
.license-acceptance-evidence dl > div { min-width: 0; padding: 8px; border-radius: 9px; background: #f8fafc; }
.license-acceptance-evidence dt { color: var(--license-muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.license-acceptance-evidence dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 11px; }
.license-acceptance-evidence > p { margin: 10px 0 0; color: var(--license-muted); font-size: 11px; }
.license-review-note { width: 100%; margin: 0; padding: 9px; border-radius: 10px; color: #a02b36; background: #fff0f1; font-size: 10px; }

.license-notification-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 10px; }
.license-notification-form label:nth-of-type(3) { grid-column: 1 / -1; }
.license-notification-form > .btn { justify-self: end; }
.license-notification-form > small { grid-column: 1 / -1; color: var(--license-muted); }
.license-notification-channels { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.license-notification-channels label { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 11px; border: 1px solid var(--license-line); border-radius: 12px; font-size: 11px; font-weight: 850; }
.license-notification-channels input { width: 18px; height: 18px; accent-color: var(--license-orange); }

.license-switch-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 62px;
  padding: 11px;
  border: 1px solid var(--license-line);
  border-radius: 13px;
  background: var(--license-soft);
}
.license-switch-field > input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--license-orange); }
.license-switch-field strong,
.license-switch-field small { display: block; }
.license-switch-field strong { font-size: 11px; }
.license-switch-field small { margin-top: 3px; color: var(--license-muted); font-size: 9px; }
.license-sensitive-field { border-color: #ffd4ba; background: #fff8f4; }
.license-lifetime-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px; border: 1px solid #ffd8bf; border-radius: 14px; background: #fff8f3; }

.license-locked-hidden { display: none !important; }
body.license-access-pending .superadmin-header,
body.license-access-pending .panel-actions { display: none !important; }

.my-license-gate {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #ffd19f;
  border-radius: 20px;
  color: #653100;
  background: linear-gradient(120deg, #fff8e9, #fff1df);
}

.my-license-gate > i { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 17px; color: #fff; background: #d97000; font-size: 24px; }
.my-license-gate span { color: #b15800; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.my-license-gate h2 { margin: 3px 0; font-size: 19px; font-weight: 900; }
.my-license-gate p { margin-bottom: 0; font-size: 11px; }
.my-license-gate ul { margin: 8px 0 0; padding-left: 18px; font-size: 11px; }
.my-license-gate.is-legacy-notice { color: #1d4e72; border-color: #add8f2; background: linear-gradient(120deg, #eef8ff, #e7f4ff); }
.my-license-gate.is-legacy-notice > i { background: #2475aa; }
.my-license-gate.is-legacy-notice span { color: #246893; }

.my-license-status { margin-bottom: 16px; }
.my-license-due-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 18px 20px; border: 1px solid #f59e0b; border-radius: 18px; background: linear-gradient(135deg, #fff7ed, #fffbeb); box-shadow: 0 12px 28px rgba(180, 83, 9, .09); }
.my-license-due-banner > div:first-child { min-width: 0; }
.my-license-due-banner span { display: block; color: #c2410c; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.my-license-due-banner strong { display: block; margin-top: 3px; color: #7c2d12; font-size: 17px; overflow-wrap: anywhere; }
.my-license-due-banner p { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 7px 0 0; color: #78350f; font-size: 12px; }
.my-license-due-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.my-license-founder-banner { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; padding: 18px 20px; overflow: hidden; border: 1px solid #d7ad43; border-radius: 18px; background: linear-gradient(135deg, #17140c, #493615 58%, #8a621c); color: #fff; box-shadow: 0 14px 32px rgba(93, 62, 10, .2); }
.my-license-founder-banner > span { display: grid; flex: 0 0 52px; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255, 233, 166, .46); border-radius: 16px; background: linear-gradient(145deg, #fbd56c, #c18413); font-size: 27px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .48); }
.my-license-founder-banner div { min-width: 0; }
.my-license-founder-banner small { display: block; color: #ffe59d; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.my-license-founder-banner strong { display: block; margin-top: 3px; overflow-wrap: anywhere; font-size: 18px; letter-spacing: .02em; }
.my-license-founder-banner p { margin: 4px 0 0; color: #fff4c6; font-size: 12px; font-weight: 800; }
.my-license-status article { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--license-line); border-radius: 18px; background: #fff; }
.my-license-status article > div { min-width: 0; padding: 15px 18px; border-right: 1px solid var(--license-line); }
.my-license-status article > div:last-child { border-right: 0; }
.my-license-status span:not(.license-status) { display: block; color: var(--license-muted); font-size: 9px; font-weight: 900; letter-spacing: .06em; }
.my-license-status strong:not(.license-status) { display: block; margin-top: 5px; overflow-wrap: anywhere; font-size: 14px; }
.my-license-tabs { grid-template-columns: repeat(5, minmax(120px, 1fr)); }
.my-license-profile .license-form-grid { margin-bottom: 16px; }
.license-city-locked { background: #f3f5f7 !important; }
.license-city-locked + small { display: block; margin-top: 5px; color: var(--license-muted); font-size: 10px; }
.license-legal-locked { background: #f5f6f8 !important; color: #4b5563; cursor: not-allowed; }
.license-legal-note { margin: 0; padding: 12px 14px; border: 1px solid #f1c27d; border-radius: 13px; background: #fff8eb; color: #7a4814; font-size: 12px; line-height: 1.45; }
.my-license-help { color: #fff; border: 0; background: linear-gradient(150deg, #15223b, #111722); }
.my-license-help > span { color: #ff9d61; }
.my-license-help p { color: rgba(255, 255, 255, .72); font-size: 12px; }
.my-license-help .btn { width: 100%; margin-top: 8px; min-height: 44px; }

.license-file-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 9px 12px;
  border: 1px dashed #ff9a5d;
  border-radius: 13px;
  color: #b54200;
  background: #fff7f2;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.license-file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.license-file-picker:focus-within { outline: 3px solid rgba(255, 101, 8, .2); }
.license-security-note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: var(--license-muted); font-size: 10px; }
.license-security-note i { color: var(--license-green); }

.my-license-contract-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(230px, .75fr);
  align-items: center;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--license-line);
  border-radius: 20px;
}

.my-license-contract-icon { display: grid; width: 70px; height: 70px; place-items: center; border-radius: 20px; color: #d53c3c; background: #fff0f0; font-size: 32px; }
.my-license-contract-card > div:nth-child(2) > span:first-child { color: var(--license-orange-deep); font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.my-license-contract-card h2 { margin: 4px 0; font-size: 20px; font-weight: 900; }
.my-license-contract-card p { color: var(--license-muted); font-size: 11px; }
.my-license-contract-actions { display: grid; gap: 9px; }
.my-license-contract-actions > p { margin: 0; color: var(--license-green); font-weight: 800; }
.license-accept-check { display: flex; align-items: flex-start; gap: 8px; font-size: 10px; font-weight: 750; }
.license-accept-check input { flex: 0 0 18px; width: 18px; height: 18px; accent-color: var(--license-orange); }

.license-payment-cards > article > div:first-child span,
.license-payment-cards > article > div:first-child strong,
.license-payment-cards > article > div:first-child small { display: block; }
.license-payment-cards > article > div:first-child span { color: var(--license-muted); font-size: 10px; font-weight: 900; }
.license-payment-cards > article > div:first-child strong { margin: 3px 0; font-size: 21px; }
.license-payment-cards > article > div:first-child small { color: var(--license-muted); font-size: 10px; }
.my-license-payment-whatsapp { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 13px; margin-bottom: 14px; padding: 15px; border: 1px solid #98dcc0; border-radius: 17px; color: #0d694b; background: #ecfaf4; }
.my-license-payment-whatsapp > i { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: #fff; background: #16a66c; font-size: 24px; }
.my-license-payment-whatsapp strong { display: block; font-size: 14px; font-weight: 900; }
.my-license-payment-whatsapp p { margin: 2px 0 0; color: #34765f; font-size: 10px; }

@media (max-width: 1280px) {
  .license-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .license-document-grid,
  .license-contract-grid,
  .license-upload-grid,
  .license-payment-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .license-hero,
  .my-license-hero { align-items: flex-start; flex-direction: column; padding: 24px; }
  .license-migration-conflicts { grid-template-columns: 1fr; }
  .license-summary-grid,
  .my-license-summary-grid { grid-template-columns: 1fr; }
  .my-license-status article { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .my-license-status article > div:nth-child(2) { border-right: 0; }
  .my-license-status article > div:nth-child(-n+2) { border-bottom: 1px solid var(--license-line); }
  .my-license-contract-card { grid-template-columns: 60px minmax(0, 1fr); }
  .my-license-contract-actions { grid-column: 1 / -1; }
  .license-record-tool { align-items: stretch; flex-direction: column; }
  .license-inline-form { min-width: 0; width: 100%; }
  .license-payment-form { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .license-payment-form .btn { grid-column: 1 / -1; }
  .license-notification-form { grid-template-columns: 1fr; }
  .license-notification-form label:nth-of-type(3) { grid-column: auto; }
  .license-notification-form > small { grid-column: auto; }
  .license-notification-form > .btn { width: 100%; justify-self: stretch; }
  .license-lifetime-grid { grid-template-columns: 1fr; }
  .license-city-editor-layout { grid-template-columns: 1fr; }
  .license-city-map { height: 350px; }
}

@media (max-width: 650px) {
  .my-license-due-banner { align-items: stretch; flex-direction: column; padding: 16px; }
  .my-license-due-actions { display: grid; grid-template-columns: 1fr; }
  .my-license-due-actions .btn { min-height: 46px; width: 100%; }
  .license-acceptance-evidence dl { grid-template-columns: 1fr; }
  .license-hero,
  .my-license-hero { gap: 18px; margin-bottom: 16px; padding: 21px 18px; border-radius: 21px; }
  .license-hero h1,
  .my-license-hero h1 { font-size: 31px; }
  .license-hero-actions,
  .license-hero-actions .btn,
  .my-license-hero .btn { width: 100%; }
  .license-hero-actions .btn,
  .my-license-hero .btn { justify-content: center; }
  .license-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .license-metric { padding: 14px; }
  .license-metric > i { flex-basis: 37px; width: 37px; height: 37px; }
  .license-metric strong { font-size: 21px; }
  .license-toolbar { grid-template-columns: 1fr; }
  .license-tabs { grid-template-columns: repeat(7, 104px); scroll-snap-type: x proximity; }
  .my-license-tabs { grid-template-columns: repeat(5, 118px); }
  .license-tabs button { scroll-snap-align: start; }
  .license-panel > div { padding: 13px; border-radius: 18px; }
  .license-card { padding: 16px; }
  .license-migration-conflicts { padding: 15px; }
  .license-conflict-list article { align-items: stretch; flex-direction: column; }
  .license-conflict-list .btn { width: 100%; }
  .license-document-grid,
  .license-contract-grid,
  .license-upload-grid,
  .license-payment-cards { grid-template-columns: 1fr; }
  .license-form-grid { grid-template-columns: 1fr; }
  .license-form-wide { grid-column: auto; }
  .license-city-select-action { grid-template-columns: 1fr; }
  .license-city-select-action .btn { width: 100%; }
  .license-city-catalog-head { align-items: stretch; flex-direction: column; padding: 15px; }
  .license-city-catalog-head .btn { width: 100%; }
  .license-city-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .license-city-grid { grid-template-columns: 1fr; }
  .license-city-card-state { align-items: flex-start; flex-direction: column; }
  .license-city-card-state > small { text-align: left; }
  .license-modal-card,
  .license-record-card,
  .license-confirm-card,
  .license-password-card { width: calc(100vw - 16px); max-height: calc(100vh - 16px); padding: 18px; }
  .license-city-modal-card { width: calc(100vw - 12px); max-height: calc(100vh - 12px); padding: 16px; }
  .license-city-coordinate-grid { grid-template-columns: 1fr; }
  .license-city-coordinate-grid label:last-child { grid-column: auto; }
  .license-city-search-box .input-group { display: grid; grid-template-columns: 42px minmax(0, 1fr); }
  .license-city-search-box .btn { grid-column: 1 / -1; min-height: 44px; margin-top: 7px; border-radius: 12px !important; }
  .license-city-map { height: min(42vh, 300px); }
  .license-city-map-heading { align-items: flex-start; flex-direction: column; }
  .license-city-map-legend { align-items: flex-start; flex-direction: column; }
  .license-modal-actions { display: grid; grid-template-columns: 1fr; }
  .license-modal-actions .btn { width: 100%; }
  .license-create-success { grid-template-columns: 1fr; }
  .license-create-success-actions { display: grid; grid-template-columns: 1fr; }
  .license-create-success-actions .btn { width: 100%; }
  .license-record-head { align-items: stretch; flex-direction: column; }
  .license-record-head-actions { display: grid; grid-template-columns: 1fr; }
  .license-record-head-actions .btn { width: 100%; }
  .license-simple-control { align-items: stretch; flex-direction: column; }
  .license-simple-control-actions { display: grid; grid-template-columns: 1fr; }
  .license-simple-control-actions .btn,
  .license-simple-control-actions .license-status { width: 100%; min-height: 46px; }
  .license-record-sections details > :not(summary) { margin-right: 10px; margin-left: 10px; }
  .license-inline-form { flex-direction: column; }
  .license-payment-form { grid-template-columns: 1fr; }
  .license-payment-form .btn { grid-column: auto; }
  .license-payment-form .license-payment-notes { grid-column: auto; }
  .license-version-list article { align-items: stretch; flex-direction: column; }
  .my-license-gate { grid-template-columns: 46px minmax(0, 1fr); padding: 14px; }
  .my-license-gate > i { width: 46px; height: 46px; }
  .my-license-gate > .btn { grid-column: 1 / -1; width: 100%; }
  .my-license-status article { grid-template-columns: 1fr; }
  .my-license-status article > div { border-right: 0; border-bottom: 1px solid var(--license-line); }
  .my-license-status article > div:last-child { border-bottom: 0; }
  .my-license-contract-card { grid-template-columns: 52px minmax(0, 1fr); gap: 13px; padding: 15px; }
  .my-license-contract-icon { width: 52px; height: 52px; border-radius: 16px; font-size: 24px; }
  .my-license-payment-whatsapp { grid-template-columns: 42px minmax(0, 1fr); }
  .my-license-payment-whatsapp > i { width: 42px; height: 42px; }
  .my-license-payment-whatsapp > .btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 360px) {
  .license-hero h1,
  .my-license-hero h1 { font-size: 27px; }
  .license-hero p,
  .my-license-hero p { font-size: 12px; }
  .license-metric-grid { grid-template-columns: 1fr; }
  .license-metric { min-height: 68px; }
  .license-tabs { margin-right: -5px; margin-left: -5px; border-radius: 14px; }
  .license-panel > div { margin-right: -4px; margin-left: -4px; padding: 10px; }
  .license-modal-heading h2 { font-size: 21px; }
  .license-record-sections summary { padding: 10px; }
  .license-record-sections summary > i { font-size: 16px; }
  .license-city-metrics { grid-template-columns: 1fr 1fr; }
  .license-city-metrics > span { padding: 10px; }
  .license-city-card { padding: 12px; }
  .license-city-card-head { grid-template-columns: 38px minmax(0, 1fr); }
  .license-city-card-head > .license-status { grid-column: 1 / -1; }
  .license-city-pin { width: 38px; height: 38px; }
  .license-city-card-actions { grid-template-columns: 1fr; }
  .license-city-card-actions .btn { grid-column: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .license-tabs button { transition: none; }
  .license-city-card { scroll-behavior: auto; }
}
