:root {
  --navy: #001a41;
  --navy-soft: #44474e;
  --pink: #fe4e83;
  --pink-dark: #b90f52;
  --line: #e5e7eb;
  --wash: #f8f9ff;
  --surface-low: #eff4ff;
  --green: #16a34a;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: #eef3fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #f9fbff 0%, #eef3fb 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.icon-glyph {
  width: 1.35em;
  height: 1.35em;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.app-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
}

.portal-page {
  min-height: 100vh;
  padding: 18px 20px calc(150px + env(safe-area-inset-bottom));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -18px -20px 22px;
  padding: 18px 20px 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 1.72rem;
  line-height: 1.05;
  letter-spacing: 0;
  font-family: "Hanken Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

.brand span {
  color: rgba(68, 71, 78, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.company-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 26, 65, 0.07);
  overflow: hidden;
}

.company-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.page-title {
  margin-bottom: 14px;
}

.page-title h1 {
  margin-bottom: 4px;
  font-size: clamp(1.05rem, 5vw, 1.35rem);
  line-height: 1;
  letter-spacing: 0;
  font-family: "Hanken Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

.access-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 10vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
  font-family: "Hanken Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

.access-hero h1 {
  font-size: clamp(2.45rem, 12vw, 3.6rem);
}

.access-hero h1 span {
  color: var(--pink);
}

.page-title p,
.access-hero p,
.access-card p,
.privacy-note {
  color: var(--navy-soft);
  line-height: 1.55;
}

.page-title p {
  font-size: 0.82rem;
}

.card,
.metric-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 26, 65, 0.08);
}

.preview-strip {
  display: flex;
  gap: 14px;
  margin: 24px -20px 8px;
  padding: 0 20px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.preview-strip::-webkit-scrollbar {
  display: none;
}

.preview-card {
  flex: 0 0 160px;
  min-height: 164px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 26, 65, 0.05);
  padding: 14px;
}

.preview-heading {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: var(--pink);
}

.preview-heading strong {
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.15;
}

.preview-card p {
  margin-bottom: 8px;
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.35;
}

.preview-card small {
  color: var(--navy-soft);
  font-size: 0.72rem;
}

.privacy-note {
  margin: 0 0 26px;
  font-size: 0.78rem;
}

.access-card {
  border-radius: 30px;
  padding: 24px;
}

.access-card h2 {
  margin-bottom: 6px;
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: 0;
  font-family: "Hanken Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

.access-card label {
  display: block;
  margin: 24px 0 10px;
  font-size: 0.9rem;
  font-weight: 900;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--wash);
  padding: 0 16px;
}

.input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
}

.tip {
  margin: 14px 0 0;
  font-size: 0.83rem;
}

.primary-action,
.outline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  font-weight: 900;
}

.primary-action {
  margin-top: 22px;
  border: 0;
  background: var(--pink);
  color: white;
  box-shadow: 0 12px 28px rgba(254, 78, 131, 0.24);
}

.primary-action:disabled,
.primary-action.disabled {
  cursor: not-allowed;
  background: #d9dde7;
  color: var(--navy-soft);
  box-shadow: none;
}

.primary-action.compact {
  margin-top: 6px;
  min-height: 50px;
}

.outline-action {
  border: 2px solid var(--navy);
  background: white;
  color: var(--navy);
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  color: var(--navy-soft);
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

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

.metric-card {
  display: grid;
  gap: 14px;
  min-height: 155px;
  padding: 18px;
}

.icon-bubble {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-low);
}

.metric-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.metric-card span {
  display: block;
  min-height: 32px;
  color: var(--navy-soft);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.18;
}

.metric-card button,
.section-title button,
.text-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--pink);
  padding: 0;
  font-size: 0.82rem;
  font-weight: 900;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 26px 4px 14px;
}

.section-title h2,
.recent-card h2,
.reorder-summary-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-card {
  overflow: hidden;
}

.featured-card .product-image {
  min-height: 270px;
  background: var(--surface-low);
  padding: 18px;
}

.featured-details {
  display: grid;
  gap: 13px;
  padding: 20px;
}

.featured-details h3 {
  margin: 0;
  font-size: 1.3rem;
}

.detail-cell,
.status-row,
.summary-line,
.selected-staff span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.detail-cell {
  color: var(--navy-soft);
  font-size: 0.9rem;
}

.status-row {
  color: var(--green);
  font-weight: 900;
}

.qty-stepper {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  min-height: 58px;
  border: 2px solid #cbd7ea;
  border-radius: 16px;
  background: var(--surface-low);
  overflow: hidden;
}

.qty-stepper button {
  border: 0;
  background: #fff;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 900;
}

.qty-stepper strong {
  display: grid;
  place-items: center;
  border-inline: 2px solid #cbd7ea;
  background: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.quick-actions {
  display: flex;
  gap: 10px;
  margin: 22px -4px 0;
  padding: 0 4px 6px;
  overflow-x: auto;
}

.reminder-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 18px;
}

.reminder-card h2 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.reminder-card p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.reminder-card .text-action {
  grid-column: 1 / -1;
}

.setup-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 18px;
}

.setup-card h2,
.empty-panel h2 {
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.setup-card p,
.empty-panel p,
.empty-inline p,
.uniform-notice {
  color: var(--navy-soft);
  line-height: 1.45;
}

.setup-card p,
.empty-panel p,
.empty-inline p {
  margin-bottom: 0;
}

.setup-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.quick-action {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  color: var(--navy);
  padding: 0 18px;
  font-weight: 900;
}

.quick-action.filled {
  border-color: var(--pink);
  background: var(--pink);
  color: white;
}

.dashboard-message-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  border-color: rgba(254, 78, 131, 0.22);
  background: linear-gradient(180deg, #fff9fb 0%, #ffffff 100%);
  padding: 11px;
}

.message-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffe8f0;
  color: var(--navy);
}

.message-badge .icon-glyph {
  width: 19px;
  height: 19px;
}

.dashboard-message-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
  font-family: "Hanken Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

.dashboard-message-card p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.6rem;
  line-height: 1.36;
}

.dashboard-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.dashboard-action-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  justify-items: center;
  align-items: start;
  width: 100%;
  min-height: 98px;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 9px 8px 8px;
  text-align: center;
}

.dashboard-action-card span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.dashboard-action-card strong {
  font-size: 0.68rem;
  line-height: 1.12;
}

.dashboard-action-card small {
  color: var(--navy-soft);
  font-size: 0.54rem;
  line-height: 1.35;
}

.dashboard-action-card:first-child {
  border-color: rgba(254, 78, 131, 0.35);
  box-shadow: 0 10px 28px rgba(254, 78, 131, 0.13);
}

.action-visual {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffe8f0;
  color: var(--navy);
}

.action-visual .icon-glyph {
  width: 19px;
  height: 19px;
}

.action-arrow {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
}

.dashboard-section {
  margin-top: 13px;
}

.compact-title {
  margin: 0 4px 7px;
}

.compact-title h2 {
  font-size: 0.64rem;
}

.compact-title button {
  font-size: 0.6rem;
}

.recent-request-card {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 8px;
  text-align: left;
}

.request-main,
.request-meta,
.saved-setup-row {
  display: flex;
  align-items: center;
}

.request-main {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.request-thumb .product-image {
  width: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-low);
  padding: 5px;
  overflow: hidden;
}

.request-thumb .product-image img {
  max-height: 40px;
}

.request-main h3 {
  margin: 0 0 4px;
  font-size: 0.68rem;
  line-height: 1.15;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  background: #fff4dc;
  color: #b96800;
  padding: 4px 6px;
  font-size: 0.5rem;
  font-weight: 900;
}

.request-arrow {
  color: var(--navy);
}

.request-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  border-top: 1px solid var(--line);
  padding-top: 7px;
}

.request-meta strong,
.request-meta span,
.request-meta em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--navy-soft);
  font-size: 0.49rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
}

.request-meta em {
  color: #b96800;
}

.saved-setup-list {
  overflow: hidden;
}

.saved-setup-row {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  background: white;
  color: var(--navy);
  gap: 7px;
  padding: 7px 10px;
  text-align: left;
}

.saved-setup-row:last-child {
  border-bottom: 0;
}

.saved-setup-row .icon-bubble {
  width: 24px;
  height: 24px;
}

.saved-setup-row .icon-bubble .icon-glyph {
  width: 13px;
  height: 13px;
}

.saved-setup-row span:nth-child(2) {
  flex: 1;
  color: var(--navy-soft);
  font-size: 0.56rem;
  font-weight: 900;
}

.saved-setup-row strong {
  font-size: 0.68rem;
}

.need-new-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: 13px;
  padding: 10px;
}

.need-new-card .icon-bubble {
  width: 30px;
  height: 30px;
}

.need-new-card .icon-bubble .icon-glyph {
  width: 15px;
  height: 15px;
}

.need-new-card h2 {
  margin-bottom: 2px;
  font-size: 0.64rem;
}

.need-new-card p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.54rem;
  line-height: 1.42;
}

.need-new-card button {
  grid-column: 1 / -1;
}

.product-image {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 120px;
}

.product-image.small {
  min-height: 74px;
}

.product-image img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
}

.product-placeholder {
  color: var(--navy-soft);
  font-weight: 900;
}

.approved-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-weight: 900;
}

.roster-table,
.employee-list,
.reorder-summary-card {
  padding: 0;
  overflow: hidden;
}

.roster-row,
.employee-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  padding: 0 16px;
}

.roster-row:last-child,
.employee-row:last-of-type {
  border-bottom: 0;
}

.employee-row {
  grid-template-columns: 32px 42px minmax(0, 1fr) auto 32px;
  min-height: 74px;
}

.employee-row.roster {
  grid-template-columns: 42px minmax(0, 1fr) auto 32px;
}

.employee-row.selectable.selected {
  background: #fff5f8;
}

.employee-row.highlight .avatar,
.employee-row.highlight .size-pill {
  background: #ffd9df;
  color: var(--pink-dark);
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #dce9ff;
  color: var(--navy);
  font-weight: 900;
}

.employee-row > span:nth-child(3) {
  display: grid;
}

.employee-row.roster > span:nth-child(2) {
  display: grid;
}

.employee-row small {
  color: var(--navy-soft);
}

.size-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
}

.editable-size {
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.size-pill.missing {
  color: var(--pink-dark);
  background: #fff1f5;
}

.size-update-link {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: #fff1f5;
  color: var(--pink-dark);
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.remove-action {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy-soft);
}

.select-check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #aeb8ca;
  border-radius: 50%;
  background: #fff;
  color: #fff;
}

.select-check.selected {
  border-color: var(--pink);
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(254, 78, 131, 0.12);
}

.add-employee-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  padding: 0 14px;
  font-size: 0.85rem;
  font-weight: 900;
  white-space: nowrap;
  margin: 0;
}

.list-footer {
  margin: 0;
  border-top: 1px solid var(--line);
  background: rgba(239, 244, 255, 0.55);
  padding: 14px 16px;
  font-weight: 900;
}

.recent-card,
.reorder-summary-card {
  margin-top: 16px;
  padding: 18px;
}

.recent-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.recent-row h3 {
  margin-bottom: 4px;
}

.recent-row p {
  margin-bottom: 4px;
  color: var(--navy-soft);
  font-weight: 800;
}

.recent-row button {
  grid-column: 1 / -1;
  min-height: 42px;
  border: 1px solid var(--pink);
  border-radius: 10px;
  background: white;
  color: var(--pink);
  font-weight: 900;
}

.recent-row > span {
  color: var(--navy-soft);
  font-weight: 900;
}

.uniform-title {
  margin-bottom: 12px;
}

.uniform-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--wash);
  color: var(--navy-soft);
  padding: 0 14px;
}

.uniform-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
}

.uniform-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 12px 0 14px;
  border-bottom: 1px solid var(--line);
}

.uniform-tabs button {
  min-height: 38px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: #fff;
  color: var(--navy-soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.uniform-tabs button.active {
  border-bottom-color: var(--pink);
  background: #fff;
  color: var(--pink);
}

.uniform-catalog-list {
  display: grid;
  gap: 12px;
}

.uniform-catalog-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 14px;
  text-align: left;
}

.uniform-catalog-thumb .product-image {
  min-height: 92px;
  border-radius: 14px;
  background: var(--surface-low);
  padding: 8px;
  overflow: hidden;
}

.uniform-catalog-thumb .product-image img {
  max-height: 78px;
  object-fit: contain;
}

.uniform-catalog-item h2 {
  margin-bottom: 4px;
  font-size: 0.98rem;
  line-height: 1.15;
}

.uniform-catalog-item p {
  margin-bottom: 8px;
  color: var(--navy-soft);
  font-size: 0.78rem;
}

.approved-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: #ecfdf3;
  color: var(--green);
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

.catalog-arrow,
.request-arrow {
  color: var(--navy);
}

.uniform-request-action {
  margin-top: 14px;
  margin-bottom: 18px;
  border-color: var(--pink);
  color: var(--pink);
}

.request-page-title {
  margin-top: 6px;
  margin-bottom: 20px;
}

.request-details-form,
.review-section,
.request-card-list {
  display: grid;
  gap: 18px;
}

.request-form-section,
.review-section {
  display: grid;
  gap: 12px;
}

.request-form-section h2,
.review-section h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: 900;
}

.request-form-section h2 .icon-glyph,
.review-section h2 .icon-glyph {
  color: var(--pink);
}

.floating-field {
  position: relative;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 12px;
}

.floating-field span {
  color: var(--navy-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.floating-field input,
.floating-field select,
.floating-field textarea {
  min-height: 44px;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
}

.floating-field textarea {
  min-height: 68px;
  padding: 11px 0;
  resize: vertical;
  line-height: 1.45;
}

.fulfillment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fulfillment-option {
  position: relative;
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--navy-soft);
  padding: 12px 8px;
  text-align: center;
}

.fulfillment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fulfillment-option.selected {
  border-color: var(--pink);
  background: #fff5f8;
  color: var(--pink);
}

.fulfillment-option:has(input:checked) {
  border-color: var(--pink);
  background: #fff5f8;
  color: var(--pink);
}

.fulfillment-option.maxim-option > .icon-glyph,
.maxim-rider-icon {
  color: #ffc400;
}

.maxim-rider-icon {
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fulfillment-option.maxim-option.selected,
.fulfillment-option.maxim-option:has(input:checked) {
  border-color: rgba(255, 196, 0, 0.48);
  background: #fffbed;
  color: var(--navy);
}

.fulfillment-option span {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
}

.fulfillment-option i {
  position: absolute;
  top: -10px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
}

.radio-label {
  margin: 2px 0 0;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.radio-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--pink);
}

.request-flow-button {
  min-height: 58px;
  margin-top: 4px;
}

.request-back {
  margin-bottom: 14px;
}

.review-item-list {
  display: grid;
  gap: 12px;
}

.review-item-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.review-item-thumb .product-image {
  min-height: 82px;
  border-radius: 13px;
  background: var(--surface-low);
  padding: 8px;
}

.review-item-card h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
  line-height: 1.18;
  font-weight: 900;
}

.review-item-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 850;
}

.review-item-card p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.76rem;
  line-height: 1.35;
}

.selected-staff-review {
  display: grid;
  gap: 9px;
  border-color: rgba(254, 78, 131, 0.18);
  background: #fff9fb;
  padding: 11px 12px;
}

.selected-staff-review span {
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
}

.selected-staff-review div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.selected-staff-review em {
  border-radius: 999px;
  background: #fff;
  color: var(--navy-soft);
  padding: 5px 8px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.request-summary-table {
  overflow: hidden;
  padding: 2px 12px;
  box-shadow: 0 3px 18px rgba(0, 26, 65, 0.055);
}

.request-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid rgba(229, 231, 235, 0.72);
  padding: 8px 0;
}

.request-summary-row:last-child {
  border-bottom: 0;
}

.request-summary-row span {
  color: rgba(68, 71, 78, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.request-summary-row strong {
  justify-self: end;
  max-width: 100%;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.42;
  text-align: right;
  overflow-wrap: anywhere;
}

.submitted-page {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 58px 0 20px;
  text-align: center;
}

.submitted-check {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 5px solid #12aa22;
  border-radius: 50%;
  color: #12aa22;
}

.submitted-check .icon-glyph {
  width: 58px;
  height: 58px;
  stroke-width: 2.6;
}

.submitted-page h1 {
  margin: 10px 0 0;
  font-size: 1.68rem;
  line-height: 1.06;
}

.submitted-page p {
  max-width: 310px;
  margin: 0;
  color: var(--navy-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.request-number-card {
  display: grid;
  gap: 10px;
  width: min(100%, 310px);
  border: 1px solid #bbefc0;
  border-radius: 16px;
  background: #f3fff5;
  padding: 22px;
}

.request-number-card span {
  color: var(--navy);
  font-weight: 900;
}

.request-number-card strong {
  color: #10a51d;
  font-size: 2rem;
  font-weight: 900;
}

.text-action {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--pink);
  font-size: 1rem;
  font-weight: 900;
}

.orders-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}

.orders-tabs button {
  min-height: 40px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.orders-tabs button.active {
  border-bottom-color: var(--pink);
  color: var(--pink);
}

.request-history-card {
  padding: 18px;
}

.request-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.request-card-top time {
  color: var(--navy-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.request-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.request-status.pending {
  background: #ffe3ee;
  color: var(--pink);
}

.request-status.approved {
  background: #dcf8d8;
  color: var(--green);
}

.request-history-card h2 {
  margin-bottom: 14px;
  font-size: 1.08rem;
}

.request-items-lines {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.request-item-line {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
}

.request-item-line:last-child {
  border-bottom: 0;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-low);
  color: var(--navy);
}

.request-item-line span:nth-child(2),
.request-item-line strong {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.request-info-grid {
  display: grid;
  gap: 14px;
  margin: 16px 0;
}

.request-info-line {
  display: grid;
  grid-template-columns: 28px minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 8px;
  align-items: start;
}

.request-info-line .icon-glyph {
  color: var(--navy);
}

.request-info-line span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.request-info-line strong {
  justify-self: end;
  color: var(--navy-soft);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: right;
}

.request-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.request-card-footer strong {
  font-size: 0.82rem;
}

.request-card-footer button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-orders-page {
  padding-bottom: 32px;
}

.admin-order-list {
  display: grid;
  gap: 14px;
}

.admin-order-card {
  display: grid;
  gap: 14px;
}

.admin-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-order-head h2 {
  margin: 8px 0 0;
  font-size: 1rem;
  line-height: 1.1;
}

.admin-order-head select {
  max-width: 152px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-order-grid div {
  min-width: 0;
  border-radius: 12px;
  background: var(--wash);
  padding: 9px;
}

.admin-order-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--navy-soft);
  font-size: 0.68rem;
  font-weight: 700;
}

.admin-order-grid strong {
  display: block;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.admin-details-action {
  justify-self: start;
  padding: 0;
}

.admin-order-details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.size-guide-card {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
}

.size-guide-card.collapsible {
  gap: 10px;
  padding: 0;
  overflow: hidden;
}

.size-guide-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  border: 0;
  background: #fff;
  color: var(--navy);
  padding: 0 14px;
  text-align: left;
}

.size-guide-toggle span {
  font-size: 14px;
  font-weight: 700;
}

.size-guide-toggle i {
  display: grid;
  place-items: center;
  color: var(--navy-soft);
  font-style: normal;
  transition: transform 160ms ease;
}

.size-guide-toggle i .icon-glyph {
  width: 16px;
  height: 16px;
}

.size-guide-toggle i.open {
  transform: rotate(90deg);
}

.size-guide-card.collapsible .size-table-wrap {
  margin: 0 12px;
}

.size-guide-card.collapsible .size-guide-notes {
  margin: 0 12px 12px;
}

.size-guide-heading h2 {
  margin-bottom: 4px;
  font-size: 0.98rem;
  line-height: 1.15;
}

.size-guide-heading p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.76rem;
  line-height: 1.35;
}

.size-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.size-guide-table {
  width: 100%;
  min-width: 352px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.72rem;
  text-align: center;
}

.size-guide-table th,
.size-guide-table td {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 9px 7px;
  white-space: nowrap;
}

.size-guide-table tr:last-child th,
.size-guide-table tr:last-child td {
  border-bottom: 0;
}

.size-guide-table th:last-child,
.size-guide-table td:last-child {
  border-right: 0;
}

.size-guide-table thead th,
.size-guide-table tbody th {
  color: var(--navy);
  font-weight: 900;
}

.size-guide-table thead th {
  background: var(--wash);
}

.size-guide-table td {
  color: var(--navy-soft);
  font-weight: 800;
}

.size-guide-notes {
  display: grid;
  gap: 6px;
  border-left: 3px solid var(--pink);
  padding-left: 10px;
}

.size-guide-notes p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.72rem;
  line-height: 1.32;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--pink);
  padding: 0;
  font-size: 0.84rem;
  font-weight: 900;
}

.back-link .icon-glyph {
  transform: rotate(180deg);
}

.uniform-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  gap: 12px;
  align-items: stretch;
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 10px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.uniform-detail-hero h1 {
  margin: 0 0 6px;
  font-size: 1.65rem;
  line-height: 1.05;
  letter-spacing: 0;
  font-family: "Hanken Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}

.uniform-detail-hero > .product-image {
  min-height: 158px;
  height: 100%;
  border-radius: 14px;
  background: #f7f7f6;
  padding: 0;
  overflow: hidden;
}

.uniform-detail-hero > .product-image img {
  display: block;
  border-radius: inherit;
  object-fit: contain;
}

.uniform-detail-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 2px 2px 2px 0;
}

.product-detail-table {
  display: grid;
  gap: 0;
  margin-top: 8px;
  overflow: hidden;
  padding: 0;
}

.product-detail-table div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  padding: 6px 0;
}

.product-detail-table div:last-child {
  border-bottom: 0;
}

.product-detail-table dt {
  color: var(--navy-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-detail-table dd {
  margin: 0;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 360px) {
  .uniform-detail-hero {
    grid-template-columns: 1fr;
  }

  .uniform-detail-hero > .product-image {
    min-height: 176px;
  }

  .uniform-detail-info {
    padding: 2px;
  }
}

.staff-reorder-section {
  margin-top: 22px;
}

.staff-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.staff-reorder-section h2 {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.staff-section-heading span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff1f5;
  color: var(--pink-dark);
  padding: 5px 9px;
  font-size: 0.68rem;
  font-weight: 900;
}

.staff-picker-tools {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
}

.staff-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--wash);
  color: var(--navy-soft);
  padding: 0 12px;
}

.staff-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.staff-bulk-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.staff-bulk-actions button,
.role-select-action {
  min-height: 34px;
  border: 1px solid rgba(254, 78, 131, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 900;
}

.role-select-action {
  min-height: 28px;
  border-color: rgba(0, 26, 65, 0.1);
  color: var(--navy-soft);
  padding: 0 10px;
  font-weight: 600;
}

.detail-staff-list {
  overflow: hidden;
}

.detail-staff-list.grouped {
  display: grid;
  gap: 10px;
  overflow: visible;
}

.staff-role-group {
  overflow: hidden;
  padding: 0;
}

.staff-role-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  padding: 10px 12px;
}

.staff-role-header > button:first-child {
  display: grid;
  gap: 2px;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: var(--navy);
  padding: 0;
  text-align: left;
}

.staff-role-header span {
  font-size: 0.86rem;
  font-weight: 900;
}

.staff-role-header small {
  color: var(--navy-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

.staff-role-list {
  display: grid;
}

.detail-staff-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 30px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  background: #fff;
  color: var(--navy);
  padding: 11px 14px;
  text-align: left;
}

.detail-staff-row:last-child {
  border-bottom: 0;
}

.detail-staff-row.selected {
  background: #fff5f8;
  border-color: rgba(254, 78, 131, 0.35);
}

.detail-staff-row.disabled {
  color: var(--navy-soft);
  cursor: not-allowed;
}

div.detail-staff-row.disabled {
  cursor: default;
}

.detail-staff-row.disabled .size-update-link {
  cursor: pointer;
}

.staff-initials {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
}

.detail-staff-row.disabled .staff-initials {
  background: #e6eaf2;
  color: var(--navy-soft);
}

.detail-staff-row span {
  display: grid;
  gap: 3px;
}

.detail-staff-row strong {
  font-size: 0.92rem;
}

.detail-staff-row small {
  color: var(--navy-soft);
  font-size: 0.76rem;
}

.detail-staff-row em,
.detail-staff-row b {
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.detail-staff-row b {
  color: var(--pink);
}

.detail-staff-row i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  font-style: normal;
}

.detail-summary-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  padding: 0;
}

.reorder-sticky-panel {
  position: sticky;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  gap: 8px;
  margin: 16px -2px 0;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 28px rgba(0, 26, 65, 0.08);
  backdrop-filter: blur(14px);
  padding: 10px;
}

.reorder-sticky-panel p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.reorder-sticky-panel .detail-add-action {
  margin: 0;
}

.detail-summary-box div {
  display: grid;
  gap: 4px;
  background: var(--wash);
  padding: 14px;
}

.detail-summary-box span {
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.detail-summary-box strong {
  font-size: 1.35rem;
}

.detail-add-action {
  margin-top: 18px;
}

.detail-helper {
  margin: 10px 0 0;
  color: var(--navy-soft);
  font-size: 0.84rem;
  text-align: center;
}

.uniform-list,
.history-list {
  display: grid;
  gap: 18px;
}

.uniform-card {
  overflow: hidden;
  padding: 20px;
  text-align: center;
}

.uniform-card .product-image {
  min-height: 285px;
  border-radius: 12px;
  background: var(--surface-low);
  margin-bottom: 14px;
  overflow: hidden;
}

.uniform-card h2 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.uniform-card dl {
  display: grid;
  gap: 4px;
  margin: 16px 0;
}

.uniform-card dl div {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--navy-soft);
}

.uniform-card dt {
  color: var(--navy);
  font-weight: 900;
}

.uniform-card dd {
  margin: 0;
}

.quantity-panel {
  display: grid;
  gap: 10px;
  margin: 24px 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcff;
  padding: 16px;
  text-align: left;
}

.quantity-heading {
  display: grid;
  gap: 3px;
}

.quantity-heading strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.quantity-heading span,
.quantity-total {
  color: var(--navy-soft);
  font-size: 0.84rem;
  line-height: 1.35;
}

.quantity-total {
  margin: 0;
  font-weight: 900;
}

.quantity-panel.employee-based {
  border-color: #d6e1f3;
  background: #f8fbff;
}

.quantity-rule {
  border: 2px dashed #cbd7ea;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.uniform-notice {
  margin: 8px 0 0;
  border-radius: 12px;
  background: var(--wash);
  padding: 10px 12px;
  font-size: 0.84rem;
}

.mode-helper {
  margin-top: 12px;
  border-radius: 14px;
  background: var(--wash);
  padding: 12px 14px;
  font-size: 0.92rem;
}

.selection-count-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: #ffd9df;
  color: var(--pink-dark);
  padding: 0 14px;
  font-size: 0.84rem;
  font-weight: 900;
  margin: -8px 0 16px;
}

.text-action {
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  min-height: 38px;
}

.text-action.inline {
  justify-content: flex-start;
  width: auto;
}

.sticky-action {
  position: sticky;
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 12;
  margin-top: 18px;
}

.selection-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 18px;
}

.selection-summary h2 {
  margin: 0;
  font-size: 1rem;
}

.selection-summary p {
  margin: 0;
  color: var(--navy-soft);
  line-height: 1.45;
}

.selection-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  background: var(--wash);
  padding: 10px 12px;
}

.selection-summary span {
  color: var(--navy-soft);
}

.cap-upsell {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
}

.cap-upsell h2 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.cap-upsell h2 span {
  color: var(--navy-soft);
  font-size: 0.88rem;
}

.cap-upsell p {
  margin: 0;
  color: var(--navy-soft);
  line-height: 1.4;
}

.cap-product-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.cap-product-row .product-image {
  min-height: 78px;
  border-radius: 12px;
  background: var(--surface-low);
  padding: 8px;
}

.cap-product-row h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.compact-panel {
  margin: 0;
}

.summary-line {
  justify-content: space-between;
  min-height: 42px;
}

.summary-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  padding: 16px 0;
}

.summary-item:last-of-type {
  border-bottom: 0;
}

.summary-thumb .product-image {
  width: 82px;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-low);
  padding: 8px;
  overflow: hidden;
}

.summary-thumb .product-image img {
  max-height: 68px;
}

.summary-copy {
  min-width: 0;
}

.summary-copy h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  line-height: 1.2;
}

.summary-copy p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

.summary-qty {
  justify-self: end;
  color: var(--navy);
  font-size: 1.05rem;
  white-space: nowrap;
}

.empty-copy {
  margin: 14px 0 0;
  color: var(--navy-soft);
}

.empty-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.empty-inline {
  padding: 22px;
}

.empty-inline strong {
  display: block;
  margin-bottom: 5px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  background: rgba(0, 26, 65, 0.35);
  padding: 18px 16px max(18px, env(safe-area-inset-bottom));
}

.employee-form {
  display: grid;
  gap: 14px;
  width: min(100%, 390px);
  border-radius: 24px;
  padding: 22px;
}

.employee-form h2 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.employee-form p {
  margin-bottom: 0;
  color: var(--navy-soft);
  line-height: 1.45;
}

.employee-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.employee-form input,
.employee-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--wash);
  color: var(--navy);
  padding: 0 12px;
  outline: 0;
}

.employee-form input:focus,
.employee-form select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(254, 78, 131, 0.12);
}

.form-error {
  border-radius: 12px;
  background: #fff1f5;
  color: var(--pink-dark) !important;
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 800;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.summary-line span {
  color: var(--navy-soft);
}

.selected-staff {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 16px;
}

.selected-staff span {
  color: var(--navy);
  font-weight: 900;
}

.selected-staff p {
  margin: 8px 0 0;
  color: var(--navy-soft);
}

.total-box {
  display: grid;
  place-items: center;
  min-height: 96px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-low);
}

.total-box span {
  align-self: end;
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.total-box strong {
  align-self: start;
  font-size: 2.35rem;
  letter-spacing: 0;
}

.submit-reorder-area {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-bottom: 8px;
}

.submit-reorder-area p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.submit-confirmation {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 18px;
  border-radius: 16px;
  background: #fff5f8;
  padding: 18px;
  text-align: center;
}

.submit-confirmation h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0;
  text-transform: none;
}

.submit-confirmation p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.submit-confirmation > strong {
  color: var(--navy);
  font-size: 0.92rem;
}

.confirmation-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.order-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-left: 4px solid var(--line);
  padding: 18px;
}

.order-card.pending {
  border-left-color: var(--pink);
}

.order-card p {
  margin-bottom: 5px;
  color: var(--pink);
  font-size: 0.76rem;
  font-weight: 900;
}

.order-card h3 {
  margin-bottom: 5px;
}

.order-card span {
  color: var(--navy-soft);
}

.order-card div:last-child {
  display: grid;
  justify-items: end;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 22px rgba(0, 26, 65, 0.08);
  backdrop-filter: blur(14px);
  padding: 10px 8px max(10px, env(safe-area-inset-bottom));
}

.bottom-nav button {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 56px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
}

.bottom-nav button.active {
  color: var(--pink);
}

.bottom-nav button.active::after {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: var(--pink);
}

.empty-state {
  padding: 40px 20px;
}

@media (min-width: 700px) {
  body {
    padding: 28px;
  }

  .app-shell {
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0, 26, 65, 0.12);
    overflow: hidden;
  }

  .bottom-nav {
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 18px 18px 28px 28px;
    overflow: hidden;
  }
}

/* Final typography scale */
body,
button,
input,
select,
textarea,
.brand strong,
.page-title h1,
.access-hero h1,
.access-card h2,
.dashboard-message-card h2,
.uniform-detail-hero h1 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}

.page-title h1,
.access-hero h1,
.submitted-page h1,
.uniform-detail-hero h1 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.08;
}

.dashboard-message-card h2 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.12;
}

.access-card h2,
.employee-form h2,
.submit-confirmation h2,
.section-title h2,
.request-form-section h2,
.review-section h2,
.staff-reorder-section h2,
.size-guide-heading h2,
.need-new-card h2,
.selection-summary h2,
.cap-upsell h2,
.empty-panel h2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.uniform-catalog-item h2,
.review-item-card h3,
.request-history-card h2,
.summary-copy h3,
.request-main h3,
.preview-card p,
.employee-row strong,
.detail-staff-row strong,
.cap-product-row h3,
.order-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

body,
button,
input,
select,
textarea,
.page-title p,
.access-hero p,
.access-card p,
.privacy-note,
.floating-field input,
.floating-field select,
.floating-field textarea,
.review-item-card strong,
.review-item-card p,
.request-summary-row strong,
.request-item-line span:nth-child(2),
.request-item-line strong,
.request-info-line span,
.request-info-line strong,
.selected-staff p,
.submit-reorder-area p,
.submit-confirmation p,
.submitted-page p,
.employee-row small,
.detail-staff-row small,
.uniform-catalog-item p,
.size-guide-heading p,
.cap-upsell p,
.quantity-heading span,
.quantity-total,
.mode-helper {
  font-size: 14px;
  font-weight: 500;
}

.primary-action,
.outline-action,
.text-action,
.quick-action,
.recent-row button,
.employee-form .primary-action,
.employee-form .outline-action {
  font-size: 14px;
  font-weight: 600;
}

.brand span,
.floating-field span,
.employee-form label,
.radio-label,
.radio-row,
.request-summary-row span,
.selected-staff-review span,
.selected-staff-review em,
.review-item-card p,
.preview-card small,
.detail-cell,
.product-detail-table dt,
.product-detail-table dd,
.staff-role-header small,
.staff-search input,
.form-error,
.empty-copy,
.list-footer,
.detail-helper {
  font-size: 12px;
  font-weight: 500;
}

.bottom-nav button,
.approved-chip,
.approved-label,
.status-pill,
.request-status,
.size-pill,
.selection-count-badge,
.staff-section-heading span,
.saved-setup-row span:nth-child(2),
.saved-setup-row strong,
.role-select-action,
.staff-bulk-actions button,
.size-update-link,
.request-card-top time,
.request-card-footer strong,
.request-card-footer button {
  font-size: 11px;
  font-weight: 600;
}

.request-number-card strong,
.total-box strong {
  font-size: 24px;
  font-weight: 800;
}

.request-number-card span,
.total-box span {
  font-size: 12px;
  font-weight: 600;
}

.request-summary-table {
  padding: 2px 12px;
}

.request-summary-row {
  padding: 8px 0;
}

.request-summary-row strong {
  font-weight: 500;
}
