:root {
  color-scheme: light;
  --aws-navy-950: #0f141a;
  --aws-navy-900: #161d26;
  --aws-navy-800: #232f3e;
  --aws-navy-700: #354150;
  --aws-orange: #ff9900;
  --aws-orange-soft: #fff3d6;
  --background: #f2f3f3;
  --surface: #ffffff;
  --surface-subtle: #f8f9fa;
  --surface-hover: #f1f8ff;
  --text: #000716;
  --muted: #414d5c;
  --muted-light: #687078;
  --primary: #0972d3;
  --primary-dark: #033160;
  --primary-hover: #033160;
  --primary-soft: #e9f3fc;
  --border: #b6bec9;
  --border-light: #e9ebed;
  --danger: #d91515;
  --danger-dark: #7d2105;
  --danger-soft: #ffeaea;
  --success: #037f0c;
  --success-dark: #065f46;
  --success-soft: #e7f7e9;
  --warning: #8d6605;
  --warning-soft: #fff7d6;
  --info-soft: #e9f3fc;
  --radius-container: 16px;
  --radius-control: 8px;
  --radius-button: 20px;
  --shadow-container: 0 1px 4px rgb(0 7 22 / 12%);
  --shadow-popover: 0 12px 36px rgb(0 7 22 / 24%);
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #0972d3;
  --font-sans: "Open Sans", Helvetica, Arial, sans-serif;
  --font-mono: Monaco, Menlo, Consolas, "Courier Prime", Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  margin: 0;
  min-width: 320px;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  border-radius: 2px;
  box-shadow: var(--focus-ring);
  outline: none;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 8px;
}

h2 {
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 16px;
}

h3 {
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 12px;
}

h4 {
  font-size: 16px;
  line-height: 20px;
}

small {
  font-size: 12px;
  line-height: 16px;
}

code,
pre {
  font-family: var(--font-mono);
}

.sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  background: var(--surface);
  border-radius: 0 0 8px 0;
  left: 0;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

.container {
  margin-inline: auto;
  max-width: 1440px;
  padding-inline: clamp(20px, 3vw, 40px);
  width: 100%;
}

.site-header {
  position: relative;
  z-index: 20;
}

.global-bar {
  background: var(--aws-navy-900);
  border-bottom: 1px solid #414d5c;
  color: #ffffff;
}

.global-nav {
  align-items: center;
  display: flex;
  gap: 18px;
  min-height: 52px;
}

.brand {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 9px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand:hover {
  color: #ffffff;
  text-decoration: none;
}

.brand-mark {
  background:
    linear-gradient(var(--aws-orange) 0 0) 0 0 / 7px 7px,
    linear-gradient(var(--aws-orange) 0 0) 8px 4px / 7px 7px,
    linear-gradient(var(--aws-orange) 0 0) 16px 8px / 7px 7px;
  background-repeat: no-repeat;
  display: inline-block;
  height: 18px;
  position: relative;
  width: 24px;
}

.brand-mark::after {
  border-bottom: 2px solid var(--aws-orange);
  border-radius: 50%;
  bottom: 0;
  content: "";
  height: 7px;
  left: 2px;
  position: absolute;
  transform: rotate(2deg);
  width: 22px;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.console-label {
  border-left: 1px solid #5f6b7a;
  color: #d1d5db;
  font-size: 13px;
  padding-left: 18px;
  white-space: nowrap;
}


.services-grid {
  background:
    radial-gradient(circle, currentcolor 2px, transparent 3px) 0 0 / 7px 7px;
  display: inline-block;
  height: 16px;
  width: 16px;
}

.global-search {
  flex: 1 1 420px;
  margin: 0 auto;
  max-width: 620px;
  position: relative;
}

.global-search input[type="search"] {
  background: #ffffff;
  border: 1px solid #8793a2;
  border-radius: var(--radius-control);
  color: var(--text);
  height: 34px;
  padding: 6px 12px 6px 38px;
  width: 100%;
}

.global-search input::placeholder {
  color: #5f6b7a;
}

.search-icon {
  border: 2px solid #5f6b7a;
  border-radius: 50%;
  height: 13px;
  left: 14px;
  pointer-events: none;
  position: absolute;
  top: 10px;
  width: 13px;
  z-index: 1;
}

.search-icon::after {
  background: #5f6b7a;
  content: "";
  height: 2px;
  position: absolute;
  right: -5px;
  top: 9px;
  transform: rotate(45deg);
  width: 6px;
}

.nav-tools {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  margin-left: auto;
}

.region-chip,
.account-menu > summary,
.global-sign-in {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  font-size: 12px;
  gap: 7px;
  min-height: 36px;
  padding: 7px 10px;
  white-space: nowrap;
}

.global-sign-in {
  font-weight: 700;
}

.region-chip:hover,
.account-menu > summary:hover,
.global-sign-in:hover {
  background: var(--aws-navy-700);
  color: #ffffff;
  text-decoration: none;
}

.pin-icon {
  border: 2px solid #d1d5db;
  border-radius: 50% 50% 50% 0;
  display: inline-block;
  height: 10px;
  transform: rotate(-45deg);
  width: 10px;
}

.account-menu {
  position: relative;
}

.account-menu > summary {
  cursor: pointer;
  list-style: none;
}

.account-menu > summary::-webkit-details-marker {
  display: none;
}

.account-menu > summary::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #d1d5db;
  content: "";
  margin-left: 2px;
}

.user-icon {
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  height: 10px;
  position: relative;
  width: 10px;
}

.user-icon::after {
  border: 1.5px solid #d1d5db;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
  height: 6px;
  left: -4px;
  position: absolute;
  top: 10px;
  width: 14px;
}

.account-popover {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-popover);
  color: var(--text);
  display: grid;
  gap: 10px;
  min-width: 220px;
  padding: 16px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
}

.account-popover small {
  color: var(--muted);
  margin-top: -8px;
  overflow-wrap: anywhere;
}

.account-popover form {
  border-top: 1px solid var(--border-light);
  margin: 2px 0 0;
  padding-top: 10px;
}

.service-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 2px rgb(0 7 22 / 6%);
}

.service-nav {
  align-items: stretch;
  display: flex;
  gap: 4px;
  min-height: 45px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.service-nav a,
.service-nav span {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  padding: 0 14px;
  position: relative;
  white-space: nowrap;
}

.service-nav a:first-child,
.service-nav span:first-child {
  padding-left: 0;
}

.service-nav a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.service-nav a.is-active {
  color: var(--text);
  font-weight: 700;
}

.service-nav a.is-active::after {
  background: var(--aws-orange);
  bottom: 0;
  content: "";
  height: 3px;
  left: 12px;
  position: absolute;
  right: 12px;
}

.service-nav a.is-active:first-child::after {
  left: 0;
}

.main-content {
  min-height: calc(100vh - 157px);
  padding-block: 32px 56px;
}

.main-content:focus {
  box-shadow: none;
}

.flashbar {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.message {
  align-items: flex-start;
  background: var(--info-soft);
  border: 1px solid #75b6e7;
  border-radius: var(--radius-control);
  color: var(--text);
  display: flex;
  gap: 10px;
  padding: 12px 16px;
}

.message.success {
  background: var(--success-soft);
  border-color: #29ad32;
}

.message.warning {
  background: var(--warning-soft);
  border-color: #c7a13b;
}

.message.error {
  background: var(--danger-soft);
  border-color: #ff8a8a;
}

.message-icon {
  align-items: center;
  background: var(--primary);
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  margin-top: 1px;
  width: 18px;
}

.page-heading {
  align-items: flex-end;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.page-heading > div:first-child {
  min-width: 0;
}

.page-heading h1,
.form-card h1 {
  font-size: 24px;
  line-height: 30px;
  margin: 3px 0 0;
}

.page-heading .lead {
  margin: 8px 0 0;
}

.eyebrow {
  color: var(--muted);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 16px;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  max-width: 760px;
}

.actions,
.note-meta,
.pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero {
  background:
    linear-gradient(110deg, rgb(15 20 26 / 98%), rgb(35 47 62 / 94%)),
    radial-gradient(circle at 78% 20%, #0972d3 0, transparent 35%);
  border-radius: var(--radius-container);
  box-shadow: var(--shadow-container);
  color: #ffffff;
  margin-bottom: 24px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  position: relative;
}

.hero::after {
  border: 1px solid rgb(255 153 0 / 35%);
  border-radius: 50%;
  content: "";
  height: 260px;
  position: absolute;
  right: -90px;
  top: -150px;
  width: 260px;
}

.hero .eyebrow {
  color: #ffb84d;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 48px;
  margin: 8px 0 16px;
  max-width: 820px;
}

.hero .lead {
  color: #d1d5db;
  margin-bottom: 24px;
}

.hero .button-secondary {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.hero .button-secondary:hover {
  background: rgb(255 255 255 / 12%);
  color: #ffffff;
}

.feature-grid,
.note-list,
.widget-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.note-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.card,
.form-card,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-container);
  box-shadow: var(--shadow-container);
  padding: 24px;
}

.card {
  min-width: 0;
}

.feature-grid .card {
  border-top: 4px solid var(--primary);
  padding-top: 20px;
}

.feature-grid .card:nth-child(2) {
  border-top-color: var(--aws-orange);
}

.feature-grid .card:nth-child(3) {
  border-top-color: var(--success);
}

.card h2:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.form-card {
  margin-inline: auto;
  max-width: 720px;
}

.form-card > .eyebrow + h1 {
  margin-bottom: 24px;
}

.empty-state {
  color: var(--muted);
  margin-top: 24px;
  padding-block: 48px;
  text-align: center;
}

.empty-state h2 {
  color: var(--text);
}

.button {
  align-items: center;
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-button);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  line-height: 18px;
  min-height: 34px;
  padding: 6px 18px;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
  text-decoration: none;
}

.button:active {
  background: #001f3f;
}

.button-secondary {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--primary);
}

.button-secondary:hover {
  background: var(--primary-soft);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.button-danger {
  background: var(--danger);
  border-color: var(--danger);
}

.button-danger:hover {
  background: var(--danger-dark);
  border-color: var(--danger-dark);
}

.link-button {
  background: none;
  border: 0;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0;
}

.link-button:hover {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.danger-link,
.error {
  color: var(--danger);
}

.badge {
  align-items: center;
  background: var(--primary-soft);
  border-radius: 12px;
  color: var(--primary-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  line-height: 16px;
  min-height: 22px;
  padding: 3px 9px;
}

.badge::before {
  background: currentcolor;
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.note-meta {
  color: var(--muted);
  font-size: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

label {
  color: var(--text);
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

form p {
  margin-bottom: 18px;
}

input[type="text"],
input[type="password"],
input[type="search"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="url"],
input[type="file"],
select,
textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  color: var(--text);
  font: inherit;
  min-height: 36px;
  padding: 7px 10px;
  width: 100%;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #687078;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--primary);
  height: 16px;
  margin-right: 6px;
  width: 16px;
}

.helptext {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 16px;
  margin-top: 5px;
}

.errorlist {
  color: var(--danger);
  font-size: 12px;
  line-height: 16px;
  margin: 6px 0 0;
  padding-left: 18px;
}

.pagination {
  justify-content: center;
  margin-top: 24px;
}

.pagination a,
.pagination span {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  display: inline-flex;
  min-height: 34px;
  padding: 6px 14px;
}

.site-footer {
  background: var(--aws-navy-900);
  color: #d1d5db;
}

.footer-content {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 60px;
}

.status-dot {
  background: #29ad32;
  border: 2px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  margin-right: 7px;
  width: 10px;
}

.alert {
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-control);
  margin-bottom: 20px;
  padding: 14px 16px;
}

.alert-danger {
  background: var(--danger-soft);
  border-color: var(--danger);
  color: var(--danger-dark);
}

.auth-shell {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  margin: 40px auto;
  max-width: 920px;
}

.auth-intro {
  background:
    linear-gradient(145deg, rgb(22 29 38 / 98%), rgb(35 47 62 / 94%)),
    var(--aws-navy-900);
  border-radius: var(--radius-container) 0 0 var(--radius-container);
  color: #ffffff;
  padding: clamp(32px, 5vw, 52px);
}

.auth-intro .eyebrow {
  color: #ffb84d;
}

.auth-intro h1 {
  font-size: 32px;
  font-weight: 300;
  line-height: 40px;
  margin: 10px 0 16px;
}

.auth-intro p {
  color: #d1d5db;
}

.auth-form {
  border-radius: 0 var(--radius-container) var(--radius-container) 0;
  margin: 0;
  max-width: none;
  padding: clamp(32px, 5vw, 52px);
}

@media (max-width: 1000px) {
  .global-search {
    max-width: none;
  }

  .region-chip {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    padding-inline: 16px;
  }

  .global-nav {
    gap: 12px;
  }

  .console-label,
  .global-search {
    display: none;
  }

  .brand {
    margin-right: auto;
  }

  .service-nav {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .service-nav a:first-child,
  .service-nav span:first-child {
    padding-left: 10px;
  }

  .service-nav a.is-active:first-child::after {
    left: 10px;
  }

  .main-content {
    padding-block: 24px 40px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 38px;
  }

  .feature-grid,
  .note-list,
  .widget-grid {
    grid-template-columns: 1fr;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    margin-block: 16px;
  }

  .auth-intro {
    border-radius: var(--radius-container) var(--radius-container) 0 0;
  }

  .auth-form {
    border-radius: 0 0 var(--radius-container) var(--radius-container);
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 15px;
  }

  .account-menu > summary {
    max-width: 150px;
  }

  .account-menu > summary span:last-of-type {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .card,
  .form-card,
  .empty-state {
    border-radius: 12px;
    padding: 20px;
  }

  .button {
    width: 100%;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.service-nav .nav-new-badge {
  background: var(--aws-orange-soft);
  border: 1px solid #c45500;
  border-radius: 10px;
  color: #7d2105;
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
  margin-left: 7px;
  min-height: 18px;
  padding: 1px 6px;
  text-transform: uppercase;
}

.site-footer a {
  color: #ffffff;
}
.app-switcher {
  flex: 0 0 auto;
  position: relative;
}

.app-switcher > summary {
  align-items: center;
  border-left: 1px solid #5f6b7a;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  gap: 8px;
  list-style: none;
  min-height: 36px;
  padding: 7px 12px 7px 18px;
  white-space: nowrap;
}

.app-switcher > summary::-webkit-details-marker {
  display: none;
}

.app-switcher > summary::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #d1d5db;
  content: "";
  margin-left: 2px;
}

.app-switcher > summary:hover,
.app-switcher[open] > summary {
  background: var(--aws-navy-700);
}

.app-popover {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-popover);
  color: var(--text);
  display: grid;
  left: 0;
  min-width: 360px;
  overflow: hidden;
  padding: 8px;
  position: absolute;
  top: calc(100% + 8px);
  z-index: 30;
}

.app-popover-heading {
  border-bottom: 1px solid var(--border-light);
  display: grid;
  gap: 2px;
  margin: 0 6px 6px;
  padding: 8px 6px 12px;
}

.app-popover-heading small,
.app-option-copy small {
  color: var(--muted);
  font-weight: 400;
}

.app-option {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  min-width: 0;
  padding: 10px;
}

.app-option:hover {
  background: var(--surface-hover);
  border-color: #75b6e7;
  color: var(--text);
  text-decoration: none;
}

.app-option.is-current {
  background: var(--primary-soft);
}

.app-option-icon {
  align-items: center;
  background: var(--primary);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  letter-spacing: -0.02em;
  width: 36px;
}

.app-option-icon.rfq {
  background: #0972d3;
}

.app-option-icon.ai {
  background: #8d6605;
}

.app-option-icon.skills {
  background: #6554c0;
}

.app-option-icon.releases {
  background: #c45500;
}

.app-option-icon.notes {
  background: #414d5c;
}

.app-option-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.app-option-copy strong,
.app-option-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-current,
.app-option .nav-new-badge {
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
  padding: 2px 7px;
  text-transform: uppercase;
}

.app-current {
  background: #ffffff;
  border: 1px solid #75b6e7;
  color: var(--primary-dark);
}

.app-option .nav-new-badge {
  background: var(--aws-orange-soft);
  border: 1px solid #c45500;
  color: #7d2105;
}

.current-app-label {
  border-left: 1px solid #5f6b7a;
  color: #d1d5db;
  font-size: 13px;
  padding-left: 18px;
  white-space: nowrap;
}

.service-nav .is-context {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 1000px) {
  .current-app-label {
    display: none;
  }
}

@media (max-width: 760px) {
  .app-switcher-label {
    display: none;
  }

  .app-switcher > summary {
    border-left: 0;
    padding: 7px 9px;
  }

  .app-popover {
    max-width: calc(100vw - 32px);
    min-width: min(350px, calc(100vw - 32px));
  }
}

@media (max-width: 480px) {
  .global-nav {
    gap: 6px;
  }

  .account-menu > summary {
    max-width: 112px;
  }

  .app-popover {
    left: 16px;
    max-width: none;
    min-width: 0;
    position: fixed;
    right: 16px;
    top: 60px;
    width: auto;
  }
}
