/* Art Royal identity and photographic hero. Kept separate from functional UI styles. */
:root {
  --bg: #091611;
  --panel: #121f18;
  --panel-light: #1b2d22;
  --line: #2c4033;
  --text: #f5f6f0;
  --muted: #a2b3a7;
  --accent: #b4d7ad;
  --green: #9fd2ae;
}
.customer-notice { margin: 0 0 24px; padding: 20px 24px; border: 1px solid #5a8968; border-radius: 16px; background: #183b25; font-size: 18px; }
.order-choice { margin-top: 12px; text-align: left; white-space: normal; }
.order-choice small { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
[data-time-value] { font-variant-numeric: tabular-nums; }
#search-kind, #washer-kind { margin-bottom: 18px; }
body { background-image: radial-gradient(ellipse at 16% 28%, #17362644, transparent 50%); }
body[data-page="public"] { background: var(--bg); }
.site-header { height: 108px; border-bottom-color: #344a3b80; }
.brand { gap: 12px; letter-spacing: 0; }
.brand img { width: 44px; height: 47px; }
.brand-wordmark { display: flex; flex-direction: column; gap: 6px; }
.brand-wordmark strong { font-size: 24px; font-style: italic; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.brand-wordmark small { font-size: 8px; letter-spacing: .45em; font-weight: 700; padding-left: 3px; }
.header-label { color: #b2c4b4; letter-spacing: .2em; }
.public-shell { padding-top: 55px; padding-bottom: 40px; max-width: 1390px; min-height: calc(100vh - 174px); }
.search-layout { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 70px; }
.intro h1 { font-size: clamp(38px, 3.7vw, 55px); line-height: 1.13; letter-spacing: -.045em; margin-bottom: 23px; }
.muted-heading { color: #9bad9e; }
.intro .eyebrow { color: #b0cdb4; font-size: 10px; letter-spacing: .19em; }
.intro-copy { color: #b3c2b6; font-size: 14px; line-height: 1.8; }
.maybach-scene { position: relative; margin: 26px 0 0; max-width: 520px; isolation: isolate; background: var(--bg); }
.maybach-image {
  display: block;
  width: 100%;
  height: auto;
  /* The studio backdrop is darker than this surface in every RGB channel.
     Lighten makes the entire backdrop match, including every corner. */
  mix-blend-mode: lighten;
}
.maybach-scene figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 18px 12px 0; padding-top: 17px; border-top: 1px solid #405a3d70; color: #a0b49e; font-size: 8px; letter-spacing: .19em; }
.maybach-scene figcaption span:first-child { color: #c6d7bb; }
.search-card { background: linear-gradient(140deg, #1b2c20, #111e16 80%); border-color: #42543d; box-shadow: 0 26px 70px #0003, inset 0 1px #a4bd8520; padding: 38px; border-radius: 20px; }
.search-card .card-topline { margin-bottom: 36px; }
.search-card h2 { font-size: 28px; }
.outline-icon { border-color: #7d9566; color: #c7dbad; }
.primary { background: #c0d5a7; color: #132619; }
.primary:hover { background: #d3e5bf; }
.plate-input-wrap input, input, select, textarea { background-color: #0c1811; border-color: #465d43; }
.plate-input-wrap input { height: 70px; }
.quiet-note { color: #a7bea7; }
.work-status.ready, .detail-dialog .work-status.ready { background: #183b25; border-color: #4a8158; }
.order-card { background: linear-gradient(140deg, #17271c, #101b14); }
.now-tag, .stage.completed .stage-dot { background: #254730; }
.site-footer { border-top-color: #344a3b80; }
.washer-shell { max-width: 660px; margin: 0 auto; padding: 48px 24px 60px; min-height: calc(100vh - 174px); }
.washer-shell > .search-card { margin: 35px auto; }
.washer-current { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.washer-current h2 { font-size: 35px; margin-bottom: 20px; }
.washer-current .stage-facts { font-size: 12px; margin: 24px 0 10px; }
.washer-current .button { min-height: 64px; font-size: 17px; }
.washer-current.ready { background: #183b25; border-color: #4a8158; }
.washer-next { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.washer-timeline { margin-top: 24px; }
.washer-timeline .stage strong { font-size: 14px; }
.washer-timeline .stage div > span { font-size: 12px; }
.washer-shell .rollback-button { font-size: 12px; padding: 14px 8px; }
.washer-shell .status-nav .text-button { min-height: 44px; }
@media (max-width: 1050px) {
  .search-layout { gap: 36px; }
  .search-card { padding: 28px; }
  .intro h1 { font-size: 39px; }
  .maybach-scene figcaption { font-size: 7px; gap: 10px; }
}
@media (max-width: 760px) {
  .washer-shell { padding: 26px 20px 40px; min-height: calc(100vh - 149px); }
  .washer-shell > .search-card { margin: 20px auto; }
  .washer-current { padding: 22px; }
  .washer-current h2 { font-size: 29px; }
  .washer-current .stage-facts { font-size: 11px; }
  .site-header { height: 84px; }
  .brand { gap: 9px; }
  .brand img { width: 35px; height: 39px; }
  .brand-wordmark strong { font-size: 19px; }
  .brand-wordmark small { font-size: 6px; letter-spacing: .4em; }
  .header-label { font-size: 7px; max-width: 105px; }
  .public-shell { padding-top: 32px; min-height: calc(100vh - 149px); }
  .search-layout { grid-template-columns: 1fr; gap: 28px; }
  .intro h1 { font-size: clamp(32px, 8.9vw, 41px); margin-bottom: 16px; }
  .intro .eyebrow { font-size: 8px; margin-bottom: 18px; }
  .intro-copy { font-size: 12px; }
  .maybach-scene { max-width: 290px; margin: 19px auto 0; }
  .maybach-scene figcaption { font-size: 6px; margin-top: 9px; padding-top: 12px; }
  .search-card { padding: 27px; }
  .card-topline .outline-icon { width: 35px; height: 35px; font-size: 22px; }
  .search-card .card-topline { margin-bottom: 23px; }
  .search-card h2 { font-size: 26px; }
  .admin-nav { gap: 13px; }
}
@media (max-width: 360px) {
  .washer-shell { padding-left: 16px; padding-right: 16px; }
  .brand img { width: 29px; height: 33px; }
  .brand-wordmark strong { font-size: 16px; }
  .brand-wordmark small { font-size: 5px; }
  .brand { gap: 7px; }
  .admin-nav { gap: 9px; font-size: 10px; }
  .search-card { padding: 22px; }
  .search-card h2 { font-size: 23px; }
  .maybach-scene { max-width: 245px; }
}

/* A consistent sans-serif face and legible supporting text at every width. */
:root { font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif; }
body { font-family: inherit; font-size: 16px; line-height: 1.5; }
.eyebrow, .intro .eyebrow, .page-heading .eyebrow, .dialog-heading .eyebrow,
.work-status .eyebrow, .internal-note .eyebrow, .qr-shell .eyebrow {
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: .065em; line-height: 1.5;
}
.header-label { font-size: 12px; letter-spacing: .08em; }
.brand-wordmark small { font-size: 10px; letter-spacing: .3em; }
label, .button, .secondary, .intro-copy, .status-subtitle, .admin-nav, .tab { font-size: 16px; }
.field-hint, .status-footnote, .live-label, .status-nav .live-label, .time-estimate > span,
.promised > span, .stage-facts, .washer-current .stage-facts, .detail-dialog .stage-facts,
.washer-next, .internal-note p:last-child, .site-footer, .history li, .history small,
.text-button, .rollback-button, .washer-shell .rollback-button { font-size: 14px; }
.status-nav .text-button, .admin-nav .text-button, .empty-column, .empty-board,
.qr-help, .qr-url, .back-link { font-size: 14px; }
.stage strong, .washer-timeline .stage strong { font-size: 16px; }
.stage div > span, .washer-timeline .stage div > span { font-size: 14px; }
.now-tag { font-size: 10px; letter-spacing: .04em; }
.card-stage, .service-label, .card-bottom, .order-number, .column-heading > span { font-size: 14px; }
.column-heading h2, .history summary { font-size: 16px; }
.maybach-scene figcaption { font-size: 12px; letter-spacing: .06em; }
.work-status .progress { margin-top: 24px; }
.status-subtitle:empty { display: none; }
.staff-note { border-left: 3px solid var(--accent); background: #20362666; }
.staff-note p:last-child { font-size: 16px; }
#edit-order { margin: 0 0 24px; }
#edit-service:disabled { opacity: .75; }
.status-nav { align-items: flex-start; }
.live-label { text-align: right; }
.time-estimate strong { font-size: 26px; }
@media (max-width: 760px) {
  .header-label { font-size: 10px; max-width: 120px; }
  .brand-wordmark small { font-size: 9px; }
  .intro-copy { font-size: 16px; }
  .maybach-scene figcaption { font-size: 11px; }
  .board-toolbar .live-label { max-width: 145px; }
  .board-toolbar { flex-wrap: wrap; padding-bottom: 14px; }
  .tabs { gap: 18px; }
  .admin-nav { font-size: 14px; gap: 10px; }
  .site-header:has(.admin-nav) { height: auto; min-height: 100px; flex-wrap: wrap; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .stage-facts { flex-wrap: wrap; }
  .status-nav { gap: 14px; }
  .status-nav > * { flex: 1; }
  .stage { gap: 10px; }
  .now-tag { display: none; }
}

.order-photos { margin-top: 28px; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.order-photos h2 { margin-bottom: 14px; }
.wash-addons { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 20px 0; min-width: 0; }
.wash-addons legend { font-weight: 600; padding: 0 6px; }
.wash-addons label { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; margin: 12px 0; }
.wash-addons input[type=checkbox] { width: 20px; height: 20px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--accent); }
.wash-addons label span { margin-left: auto; white-space: nowrap; color: var(--accent); }
.wash-addons:disabled label { opacity: .6; }
.wash-addons .field-hint { margin-bottom: 0; }
.addon-row { display: grid; grid-template-columns: minmax(0,1fr) 100px 34px; align-items: end; gap: 10px; margin: 12px 0 18px; }
.wash-addons .addon-row label { display: block; margin: 0; font-size: 13px; }
.addon-row input { margin-top: 6px; width: 100%; }
.addon-row .icon-button { margin-bottom: 8px; }
.addon-row .addon-stage { grid-column: 1 / 3; grid-row: 2; }
.addon-row .addon-stage select { width: 100%; margin-top: 6px; }
.addon-row:has(.addon-stage) > .icon-button { grid-column: 3; grid-row: 1; }
.wash-addons .estimate-row { display: grid; grid-template-columns: minmax(0,1fr) 140px; gap: 16px; align-items: center; }
.estimate-row input { width: 100%; margin: 0; }
.work-total { margin: 20px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.work-total > span { display: block; color: var(--muted); }
.work-total > strong { display: block; font-size: 24px; margin-top: 6px; }
.forecast-alert { margin: 16px 0; }
.timing-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 16px 0 24px; }
.timing-actions .text-button { padding: 8px 0; }
@media(max-width:600px) { .wash-addons .estimate-row { grid-template-columns: minmax(0,1fr) 110px; gap: 10px; } }
.delay-notice { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: #e7d3aa; }
.delay-notice p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; }
@media(max-width:600px) { .addon-row { grid-template-columns: minmax(0,1fr) 80px 30px; gap: 6px; } .addon-row input { padding: 10px; } }
.photo-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.photo-group { min-width: 0; }
.photo-group h3 { margin: 8px 0 14px; font-family: inherit; font-size: 18px; font-weight: 600; letter-spacing: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.photo-grid figure { margin: 0; min-width: 0; }
.photo-grid a { display: block; }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; border-radius: 8px; background: #08120c; }
.photo-remove { font-size: 12px; text-align: left; }
.photo-upload-label { font-size: 14px; }
.photo-group input[type=file] { padding: 12px; font-size: 13px; }
.photo-group input::file-selector-button { background: var(--accent); border: 0; border-radius: 5px; color: #132619; padding: 7px 9px; margin-right: 8px; cursor: pointer; }
#photo-status:empty { display: none; }
.detail-dialog .photo-groups { grid-template-columns: 1fr; }
[data-page="public"] .photo-grid { grid-template-columns: 1fr; gap: 20px; }
[data-page="public"] .photo-grid img { border-radius: 12px; }
@media(max-width:600px) { .photo-groups { grid-template-columns: 1fr; } .order-photos { padding: 20px; } }
@media(max-width:600px) {
  [data-page="public"] .order-photos { padding: 16px; }
  [data-page="public"] .photo-grid img { aspect-ratio: auto; }
}

.overnight-toggle { display:flex; align-items:flex-start; gap:12px; margin:18px 0; }
.overnight-toggle input[type=checkbox] { width:20px; height:20px; flex-shrink:0; margin:2px 0 0; accent-color:var(--accent); }

.button.danger-button { color: #f3b4ad; background: #30201f; border: 1px solid #80524c; }
.button.danger-button:hover { background: #462925; }
.delete-order { margin-top: 28px; }
