/* TEMPORARY preview of the new look, loaded by kit.html only (Stage 1 of plans/build/brand-look-from-price-page.md, round 2 brief).
   Every rule sits under [data-look="packages"]; choosing «الحالي» (data-look="current") shows today's look unchanged.
   Raw values on purpose: Stage 2 moves the approved ones into tokens.css and deletes this file. */

/* Font: Alexandria for everything, numbers and prices included (lift measured on 8 Nov 2026, see plans/build/brand-look-report.md).
   Weights 400 and 700 only; "medium" is 400 so it looks like today (Almarai has no 500).
   Sizes about 5% smaller because Alexandria looks bigger; the input size stays 16 px (the iPhone zooms in below that). */
:root[data-look="packages"] {
  --font-main: "Alexandria", "Almarai", "Tajawal", system-ui, sans-serif;
  --font-num: var(--font-main);
  --lift-main: 0.02em;
  --fw-medium: 400;
  --fs-xs: 0.7125rem; --fs-sm: 0.83125rem; --fs-md: 0.95rem; --fs-lg: 1.06875rem;
  --fs-xl: 1.30625rem; --fs-2xl: 1.6625rem; --fs-3xl: 2.1375rem;
  --fs-figure: clamp(1.30625rem, 8.55vw, 2.1375rem);
  --fs-foot: clamp(0.653rem, 0.589rem + 0.285vw, 0.772rem);
  /* Dark mode: no mocha anywhere, so the slogan and the gradient use the brand rose. */
  --c-slogan: #cb998d;
  --grad-brand: linear-gradient(100deg, #cb998d 0%, #efc2b2 50%, #cb998d 100%);
}

/* Colours: light mode, and the bride frames (tokens.css repeats the light set on [data-bride]).
   Text and secondary text are black; the main action, outlines and dividers are the brand rose family; no mocha. */
:root[data-look="packages"]:not([data-scheme="dark"]),
[data-look="packages"] [data-bride] {
  --c-text: #0a0b09; --c-text-muted: #0a0b09; --c-on-nav: #0a0b09;
  --c-line: #efc2b2; --c-line-strong: #cb998d;
  --c-accent: #cb998d; --c-action: #cb998d; --c-on-action: #0a0b09;
  --c-hl-mocha: #cb998d; --c-slogan: #855948;
  --grad-brand: linear-gradient(100deg, #cb998d 0%, #efc2b2 50%, #cb998d 100%);
}

/* The PDF samples keep today's colours exactly (their weights are the same 400 / 700). */
[data-look="packages"] .pdf-page[data-bride] {
  --c-text-muted: #5e5a54; --c-line: #cdc2b6; --c-line-strong: #8a7f73;
  --c-accent: #b18978; --c-action: #b18978;
  --grad-brand: linear-gradient(100deg, #b18978 0%, #efc2b2 50%, #cb998d 100%);
}

/* The palette sheet lists mocha as a colour; this look has none, so that chip is hidden here (the section file is outside this job). */
[data-look="packages"] .sw:has(.bg-mocha) { display: none; }

/* Secondary button («رجوع»): white, 1 px rose outline, black text. */
:is(:root[data-look="packages"]:not([data-scheme="dark"]), [data-look="packages"] [data-bride]) .btn-secondary {
  background: #ffffff; color: #0a0b09; border-color: #cb998d;
}
:is(:root[data-look="packages"]:not([data-scheme="dark"]), [data-look="packages"] [data-bride]) .btn-secondary:hover:not(:disabled) { background: var(--c-hl-blush); }
/* «مسح الكل» is a quiet button on purpose (form-side.css): it stays quiet. */
:is(:root[data-look="packages"]:not([data-scheme="dark"]), [data-look="packages"] [data-bride]) .is-two .form-side .save-bar .btn-secondary {
  background: transparent; border-color: transparent; color: var(--c-accent-text);
}

/* Steps: white circles with a rose outline and connectors; the current one is filled pale rose with a bold black number. */
:is(:root[data-look="packages"]:not([data-scheme="dark"]), [data-look="packages"] [data-bride]) .step-dot { background: #ffffff; border-color: #cb998d; color: #0a0b09; }
:is(:root[data-look="packages"]:not([data-scheme="dark"]), [data-look="packages"] [data-bride]) .step.is-done .step-dot { background: var(--c-accent); }
:is(:root[data-look="packages"]:not([data-scheme="dark"]), [data-look="packages"] [data-bride]) .step.is-current .step-dot { background: #efc2b2; font-weight: var(--fw-strong); }
:is(:root[data-look="packages"]:not([data-scheme="dark"]), [data-look="packages"] [data-bride]) .step:not(:last-child)::after { background: #cb998d; }

/* A quiet button inside a warning notice (create-form): the muted brown on pale rose is only 4.0:1 (also today), so it uses the card's own text colour. */
[data-look="packages"] .notice-warn .btn-quiet { color: var(--c-on-hl); }

/* The bride page's header title and LV number sit straight on the cream page. */
[data-look="packages"] .hd-box { background: transparent; box-shadow: none; }

/* Alexandria runs wider than Almarai: the amounts table's figures column gets a little less (45% today) so the labels wrap less. */
[data-look="packages"] .amounts td { inline-size: 36%; }
