:root {
  --ink: #142033;
  --muted: #607086;
  --line: #d9e3ed;
  --soft: #f5f8fb;
  --white: #ffffff;
  --navy: #07345b;
  --blue: #0a70b8;
  --aqua: #dff6f5;
  --green: #087a52;
  --green-soft: #e8f6ef;
  --gold: #f7c948;
  --gold-dark: #c89514;
  --red: #be2b2b;
  --violet-soft: #eeeafd;
  --shadow: 0 18px 44px rgba(20, 32, 51, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-size: 16px;
}

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

button {
  border: 0;
}

a {
  color: inherit;
}

svg {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 227, 237, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 28px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 2px solid currentColor;
  border-radius: var(--radius);
}

.brand-copy {
  display: grid;
  gap: 3px;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: 0;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

.header-actions,
.toolbar,
.detail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
.whatsapp-button,
.facebook-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.primary-button {
  color: #102033;
  background: var(--gold);
  box-shadow: 0 10px 18px rgba(200, 149, 20, 0.18);
}

.secondary-button,
.ghost-button {
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
}

.ghost-button {
  background: transparent;
}

.danger-button {
  color: var(--red);
  border: 1px solid rgba(190, 43, 43, 0.25);
  background: #fff5f5;
}

.whatsapp-button {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 18px rgba(8, 122, 82, 0.16);
}

.facebook-button {
  color: var(--white);
  background: #1877f2;
  box-shadow: 0 10px 18px rgba(24, 119, 242, 0.14);
}

.full-button {
  width: 100%;
}

.small-button {
  min-height: 36px;
  padding: 0 11px;
  font-size: 12px;
}

.session-chip,
.cash-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.session-chip {
  color: var(--navy);
  background: var(--aqua);
}

.cash-pill {
  color: #5b4100;
  background: #fff0b5;
}

.customer-main {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 68px;
}

.customer-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(410px, 1.04fr);
  gap: 18px;
  align-items: start;
}

.customer-hero .order-card {
  grid-column: 2;
  grid-row: 1;
}

.hero-panel {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  gap: 16px;
}

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

.action-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 9px;
  min-height: 108px;
  padding: 13px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 22px rgba(20, 32, 51, 0.06);
}

.action-card span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  grid-row: span 2;
  color: var(--blue);
  border-radius: 7px;
  background: #e7f4ff;
}

.action-card strong {
  align-self: end;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.15;
}

.action-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.action-card.active {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue), 0 12px 28px rgba(10, 112, 184, 0.12);
}

.hero-copy {
  padding: 28px 0 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.panel-heading h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 560px;
  margin: 16px 0 20px;
  color: #43536a;
  font-size: 18px;
  line-height: 1.5;
}

.launch-offer {
  display: grid;
  gap: 4px;
  max-width: 560px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(247, 201, 72, 0.7);
  border-radius: var(--radius);
  background: #fff7cf;
  color: #5b4100;
}

.launch-offer strong {
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.launch-offer span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

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

.hero-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.hero-photo {
  margin: 0;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.order-card,
.info-panel,
.login-card,
.detail-card,
.tool-card,
.admin-order {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(20, 32, 51, 0.08);
}

.order-card {
  overflow: hidden;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.card-header h2,
.info-panel h2,
.tool-card h2,
.detail-card h2 {
  margin: 0;
  color: inherit;
  font-size: 22px;
  letter-spacing: 0;
}

.card-header p,
.muted {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.card-header p {
  color: rgba(255, 255, 255, 0.8);
}

.stacked-form,
.detail-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

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

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.field {
  display: grid;
  gap: 6px;
}

.field.span-2,
.span-2 {
  grid-column: 1 / -1;
}

.field span,
.check-row span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.field b {
  color: var(--red);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  outline: none;
}

textarea {
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
  line-height: 1.4;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 112, 184, 0.12);
}

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

.form-note {
  padding: 11px 12px;
  color: #415067;
  border: 1px solid rgba(10, 112, 184, 0.16);
  border-radius: 6px;
  background: #f2f8ff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
}

.promo-strip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(8, 122, 82, 0.22);
  border-radius: 6px;
  background: var(--green-soft);
}

.promo-strip > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  color: var(--white);
  border-radius: 7px;
  background: var(--green);
}

.promo-strip strong {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
}

.promo-strip p {
  margin: 3px 0 0;
  color: #42556b;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

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

.mode-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.mode-tabs button.active {
  border-color: var(--blue);
  background: #e9f5ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.segment-button {
  min-height: 44px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  font-weight: 850;
}

.segment-button.active {
  border-color: var(--blue);
  background: #e9f5ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.inline-lookup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.order-card .inline-lookup {
  grid-template-columns: minmax(0, 1fr) auto;
}

.estimate-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(8, 122, 82, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-soft), #ffffff);
}

.estimate-box span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.estimate-box strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.estimate-box p {
  margin: 7px 0 0;
  color: #506079;
  font-size: 12px;
  line-height: 1.35;
}

.jackson-estimator {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(10, 112, 184, 0.18);
  border-radius: 7px;
  background: #f7fbff;
}

.jackson-head,
.jackson-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jackson-head strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 16px;
}

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

.item-count-field input {
  min-height: 40px;
}

.jackson-result {
  display: grid;
  gap: 4px;
}

.jackson-result span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.jackson-result strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.jackson-result p {
  margin: 0;
  color: #506079;
  font-size: 12px;
  line-height: 1.35;
}

.order-breakdown {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(10, 112, 184, 0.18);
  border-radius: 7px;
  background: #f7fbff;
}

.order-breakdown strong {
  color: var(--navy);
}

.order-breakdown p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.breakdown-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.breakdown-tags span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 8px;
  color: #284158;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.form-error {
  display: none;
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.form-error.show {
  display: block;
}

.confirmation-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(8, 122, 82, 0.28);
  border-radius: var(--radius);
  background: var(--green-soft);
}

.success-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--white);
  border-radius: 50%;
  background: var(--green);
}

.confirmation-card h3,
.history-list h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.confirmation-card p {
  margin: 0;
  color: #415067;
  line-height: 1.4;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.customer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 14px;
  margin-top: 18px;
}

.business-info {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.85fr;
  gap: 14px;
  margin-top: 18px;
}

.active-promos {
  margin-top: 18px;
}

.section-title {
  margin-bottom: 10px;
}

.section-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.1;
}

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

.promo-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(20, 32, 51, 0.07);
  text-decoration: none;
}

.promo-card strong {
  font-size: 19px;
  font-weight: 950;
}

.promo-card span {
  color: #47586f;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.promo-card em {
  align-self: end;
  width: fit-content;
  padding: 7px 9px;
  color: #5b4100;
  border-radius: 6px;
  background: #fff0b5;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.sticky-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(217, 227, 237, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 42px rgba(20, 32, 51, 0.18);
  backdrop-filter: blur(12px);
}

.info-panel {
  padding: 18px;
}

.service-list,
.check-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-list div,
.check-list span {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdff;
}

.service-list div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 9px;
  padding: 10px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  grid-row: span 2;
  color: var(--blue);
  border-radius: 7px;
  background: #e7f4ff;
}

.service-list strong,
.check-list span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.check-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 10px;
}

.check-list svg {
  color: var(--green);
}

.contact-panel h2 {
  color: var(--navy);
  font-size: 31px;
  line-height: 1;
}

.contact-panel .whatsapp-button,
.contact-panel .facebook-button {
  margin-top: 10px;
}

.contact-panel .mini-list span {
  justify-content: flex-start;
  line-height: 1.35;
}

.contact-panel .mini-list svg {
  margin-top: 1px;
}

.panel-title-row,
.detail-top,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tracking-results {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.track-card {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.track-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.track-head strong,
.track-head span,
.track-head em {
  display: block;
}

.track-head span,
.track-head em {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.track-head em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.timeline li span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--line);
  border-radius: 50%;
}

.timeline li.done {
  color: var(--navy);
}

.timeline li.done span {
  border-color: var(--green);
  background: var(--green);
}

.mini-list,
.price-list,
.employee-list {
  display: grid;
  gap: 9px;
  margin: 14px 0;
}

.mini-list span,
.price-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdff;
  color: var(--muted);
  font-size: 13px;
}

.price-list strong {
  color: var(--navy);
}

.login-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(7, 52, 91, 0.9), rgba(10, 112, 184, 0.72)),
    url("./assets/laundromat-hero.png") center / cover;
}

.login-card {
  width: min(430px, 100%);
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
}

.login-brand {
  margin-bottom: 12px;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(7, 28, 47, 0.48);
}

.auth-dialog {
  width: min(540px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(7, 28, 47, 0.25);
}

.auth-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.auth-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
}

.icon-button {
  width: 38px;
  min-height: 38px;
  padding: 0;
  font-size: 18px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 18px 0;
}

.auth-tabs button {
  min-height: 42px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.auth-tabs button.active {
  border-color: var(--blue);
  background: #e9f5ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.auth-form {
  padding-top: 14px;
}

.account-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 18px 0;
  padding: 13px;
  border: 1px solid rgba(10, 112, 184, 0.16);
  border-radius: var(--radius);
  background: #f2f8ff;
}

.account-summary strong,
.account-summary span {
  display: block;
}

.account-summary strong {
  color: var(--navy);
  font-size: 16px;
}

.account-summary span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.past-orders {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.past-orders h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.past-order-list {
  display: grid;
  gap: 8px;
}

.past-order {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdff;
}

.past-order strong,
.past-order span,
.past-order em {
  display: block;
}

.past-order em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.past-order div span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 70px;
}

.admin-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  align-content: start;
  gap: 7px;
  height: calc(100vh - 108px);
  padding: 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.sidebar-title {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-sidebar button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
}

.admin-sidebar button.active,
.admin-sidebar button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.mobile-status-strip {
  display: none;
}

.admin-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.panel-heading {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.panel-heading h1 {
  font-size: clamp(30px, 3.4vw, 48px);
}

.search-box {
  position: relative;
  display: block;
  width: min(360px, 36vw);
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 12px;
  color: var(--muted);
  transform: translateY(-50%);
}

.search-box input {
  padding-left: 38px;
}

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

.stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.stat strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.86fr) minmax(440px, 1.14fr);
  gap: 14px;
  align-items: start;
}

.orders-panel {
  display: grid;
  gap: 9px;
}

.admin-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 14px;
  cursor: pointer;
}

.admin-order.active {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.admin-order h3 {
  margin: 5px 0 4px;
  color: var(--navy);
  font-size: 17px;
}

.admin-order p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.admin-order .marketing-line {
  color: var(--green);
  font-weight: 900;
}

.receipt-line {
  color: var(--green) !important;
  font-weight: 900;
}

.order-card-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.order-status-control {
  display: none;
}

.detail-card {
  position: sticky;
  top: 88px;
}

.status-select {
  min-width: 190px;
  font-weight: 850;
}

.history-list {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.history-list p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.history-list strong {
  color: var(--navy);
}

.owner-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tool-card {
  padding: 18px;
}

.counter-tool {
  display: grid;
  gap: 14px;
}

.counter-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.employee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.employee-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.success-message {
  margin: 10px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.empty-state {
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.status-Pendiente,
.status-Pedido-recibido {
  color: var(--green);
  background: var(--green-soft);
}

.status-En-camino-a-recoger,
.status-En-camino-a-entregar {
  color: var(--blue);
  background: #e7f4ff;
}

.status-Recibido-en-lavanderia {
  color: #075f63;
  background: var(--aqua);
}

.status-Lavando {
  color: #7a5600;
  background: #fff1bd;
}

.status-Listo {
  color: #4b3595;
  background: var(--violet-soft);
}

.status-Entregado {
  color: #4c5a6f;
  background: #edf1f5;
}

@media (max-width: 1020px) {
  .customer-hero,
  .business-info,
  .promo-grid,
  .customer-grid,
  .dashboard-layout,
  .work-grid,
  .owner-tools {
    grid-template-columns: 1fr;
  }

  .customer-hero .order-card,
  .hero-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .admin-sidebar,
  .detail-card {
    position: static;
    height: auto;
  }

  .admin-sidebar {
    display: none;
  }

  .mobile-status-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
  }

  .mobile-status-strip::-webkit-scrollbar {
    display: none;
  }

  .mobile-status-strip button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    color: var(--navy);
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-status-strip button.active {
    color: var(--white);
    border-color: var(--navy);
    background: var(--navy);
  }

  .search-box {
    width: min(380px, 100%);
  }
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 12px 0;
  }

  .header-actions {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .admin-link {
    display: none;
  }

  .customer-main,
  .dashboard-layout {
    width: min(100% - 20px, 680px);
    padding-top: 12px;
    padding-bottom: 94px;
  }

  .hero-copy {
    padding-top: 4px;
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.03;
  }

  .hero-text {
    margin: 10px 0 12px;
    font-size: 15px;
  }

  .launch-offer {
    padding: 11px;
  }

  .launch-offer span {
    font-size: 13px;
  }

  .hero-cta-row {
    display: none;
  }

  .sticky-cta {
    display: grid;
  }

  .hero-badges,
  .action-hub,
  .service-list,
  .promo-grid,
  .form-grid,
  .compact-grid,
  .item-breakdown-grid,
  .inline-lookup,
  .estimate-box,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .jackson-head,
  .jackson-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-photo {
    min-height: 190px;
  }

  .hero-photo img {
    min-height: 190px;
  }

  .card-header,
  .panel-heading,
  .counter-heading,
  .detail-top,
  .track-head,
  .employee-row,
  .account-summary,
  .past-order {
    align-items: flex-start;
    flex-direction: column;
  }

  .stacked-form,
  .detail-card,
  .info-panel,
  .tool-card {
    padding: 14px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy span {
    font-size: 11px;
  }

  .header-actions .ghost-button,
  .header-actions .secondary-button,
  .header-actions .whatsapp-button,
  .header-actions .facebook-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .auth-overlay {
    padding: 10px;
  }

  .auth-dialog {
    max-height: calc(100vh - 20px);
  }

  .auth-head,
  .account-summary,
  .past-orders {
    margin-left: 14px;
    margin-right: 14px;
    padding-left: 0;
    padding-right: 0;
  }

  .auth-head {
    padding-left: 14px;
    padding-right: 14px;
  }

  .auth-tabs {
    padding-left: 14px;
    padding-right: 14px;
  }

  .account-summary,
  .past-order {
    padding: 12px;
  }

  .panel-heading h1 {
    font-size: 30px;
  }

  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    padding: 12px;
  }

  .stat strong {
    font-size: 24px;
  }

  .admin-order {
    grid-template-columns: 1fr;
    padding: 13px;
  }

  .order-card-actions {
    justify-items: stretch;
  }

  .admin-order .status-pill {
    display: none;
  }

  .order-status-control {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .history-list p {
    flex-direction: column;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
