/* ============================================================
   Wedding photo shot list builder - /wedding-photo-shot-list
   Imported design: claude.ai/design "Shot List Builder".

   Uses the newer Outfit/Playfair system rather than the older
   site styles. Tokens are scoped to .slb so nothing leaks, the
   same arrangement dashboard-new.css uses for .dnew.
   ============================================================ */

@font-face {
  font-family: "Outfit";
  src: url("/vendor/fonts/outfit/Outfit-VariableFont_wght.ttf") format("truetype-variations"),
       url("/vendor/fonts/outfit/Outfit-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body.shot-list-page {
  font-family: "Outfit", "Inter", -apple-system, "Helvetica Neue", sans-serif;
  background: #F5F3F0;
}

/* The site chrome (header bar, logo, nav, pill buttons, hamburger) used to be
   copied in here because dashboard-new.css was not loaded on this page. It now
   lives in css/site-chrome.css, which header.php loads on every non-admin page,
   so this page gets it for free. The copy that stood here was identical: the
   sage it hardcoded is --color-primary, the hover shade is --color-primary-dark,
   and .btn carries no box-shadow for its "box-shadow: none" to cancel. */

.slb {
  --sage:          #8B9D83;
  --sage-dark:     #6B7D63;
  --sage-wash:     #E2E8DE;
  --sage-mist:     #EDF1EA;

  --off-white:     #F5F3F0;
  --soft-bg:       #FEFDFB;

  --fg-1:          #2C2C2C;
  --fg-2:          #57534E;
  --fg-3:          #78716C;
  --fg-4:          #8A857E;

  --border:        #E7E3DD;
  --border-soft:   #F1EFEA;
  --input-border:  #E0DBD4;

  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  --shadow-card: 0 8px 24px rgba(44, 44, 44, 0.08);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  font-family: "Outfit", "Inter", -apple-system, "Helvetica Neue", sans-serif;
  color: var(--fg-1);
  background: var(--off-white);
}

.slb *, .slb *::before, .slb *::after { box-sizing: border-box; }

/* The UA's [hidden] rule is only display:none, so any author display value
   below silently beats it. Several elements here are flex containers that get
   hidden by attribute, so restate it with enough weight to win. */
.slb [hidden] { display: none !important; }

.slb-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

.slb h1, .slb h2 {
  font-family: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  color: var(--fg-1);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}

.slb p { margin: 0; color: var(--fg-2); line-height: 1.55; }

.slb .eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-4);
}

/* Buttons ---------------------------------------------------- */
.slb .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--ease-out) 220ms, color var(--ease-out) 220ms;
}

.slb .btn-brand { background: var(--sage); color: #fff; }
.slb .btn-outline { background: none; border-color: #C9D2C4; color: var(--sage-dark); }
.slb .btn:disabled { opacity: 0.45; pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .slb .btn-brand:hover { background: var(--sage-dark); color: #fff; }
  .slb .btn-outline:hover { background: var(--sage-mist); }
}

/* Intro ------------------------------------------------------ */
.slb-intro { padding: 56px 0 40px; background: var(--soft-bg); border-bottom: 1px solid var(--border); }
.slb-intro h1 { font-size: clamp(30px, 4vw, 38px); margin: 12px 0; }
.slb-intro .lede { font-size: 17px; font-weight: 300; color: var(--fg-2); max-width: 620px; }
.slb-intro-note { font-size: 15px; color: var(--fg-3); margin-top: 12px !important; }
.slb-intro-note a { color: var(--sage-dark); text-decoration: underline; }

/* Builder shell ---------------------------------------------- */
.slb-builder { padding: 40px 0 72px; }

.slb-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 0 20px;
  align-items: start;
}

/* Rail ------------------------------------------------------- */
.slb-rail { position: sticky; top: 92px; padding-bottom: 20px; }

.slb-rail-heading { margin: 22px 0 14px; }

.slb-rail-list { display: flex; flex-direction: column; gap: 2px; }

.slb-rail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: none;
  border-radius: 10px;
  background: none;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.3;
  color: var(--fg-2);
  text-align: left;
  cursor: pointer;
  transition: background 180ms var(--ease-out);
}

.slb-rail-item.is-current { background: var(--sage-wash); color: var(--fg-1); font-weight: 500; }
.slb-rail-label { flex: 1; }
.slb-rail-count { font-size: 12px; color: var(--fg-4); }
.slb-rail-foot {
  margin-top: 24px !important;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-3);
}

.slb-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #D8D3CC; }
.slb-dot.is-on { background: var(--sage); }

@media (hover: hover) and (pointer: fine) {
  .slb-rail-item:hover { background: var(--border-soft); }
  .slb-rail-item.is-current:hover { background: var(--sage-wash); }
}

/* Panes ------------------------------------------------------ */
.slb-panes { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.slb-card {
  background: var(--soft-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 30px;
}

.slb-pane h2 { font-size: 26px; margin: 8px 0 5px; }
.slb-pane-hint { font-size: 14px; color: var(--fg-3); }

.slb-pane-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.slb-pane-meta { font-size: 13px; color: var(--sage-dark); white-space: nowrap; padding-top: 26px; }

/* Details fields --------------------------------------------- */
.slb-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.slb-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.slb-field-wide { grid-column: 1 / -1; gap: 10px; }
.slb-field-label { font-size: 13px; font-weight: 500; color: var(--fg-2); }
.slb-field-hint { font-size: 13px; color: var(--fg-3); margin-top: -4px; }

.slb input[type="text"],
.slb input[type="date"] {
  width: 100%;
  /* Fixed rather than intrinsic: a date input and a text input never agree on
     their own height. Chrome adds the picker button, iOS adds its own padding,
     and the two fields end up visibly different sizes side by side. */
  height: 46px;
  font-family: inherit;
  font-size: 15px;
  color: var(--fg-1);
  background: var(--off-white);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  outline: none;
}

.slb input:focus { border-color: var(--sage); background: var(--soft-bg); }

/* iOS gives date inputs their own intrinsic height and centres the value, so
   next to a plain text field it comes out a different size with the date
   floating in the middle. Strip the native appearance, pin the height to match
   the text inputs, and pull the value back to the left. */
.slb input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.2;
  text-align: left;
}

.slb input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
  min-height: 1.4em;
}

.slb input[type="date"]::-webkit-datetime-edit {
  text-align: left;
  padding: 0;
}

.slb input[type="date"]::-webkit-calendar-picker-indicator {
  margin-left: auto;
  cursor: pointer;
  opacity: 0.55;
}

/* People chips ----------------------------------------------- */
.slb-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.slb-chips:empty { display: none; }

.slb-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sage-mist);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--fg-1);
}

.slb-chip button {
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  color: var(--sage-dark);
  cursor: pointer;
}

/* Add-a-row -------------------------------------------------- */
.slb-add { display: flex; gap: 10px; margin-top: 18px; }
.slb-add input { flex: 1; min-width: 0; }
.slb-add .btn { flex: none; padding: 11px 22px; font-size: 14px; }
.slb-field-wide .slb-add { margin-top: 0; }

/* Owner picker ----------------------------------------------- */
.slb-owners {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--off-white);
  border-radius: var(--radius-md);
}

.slb-owners-label { font-size: 13px; color: var(--fg-2); }
.slb-owner-options { display: flex; gap: 8px; flex-wrap: wrap; }

.slb-owner {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--input-border);
  background: var(--soft-bg);
  color: var(--fg-2);
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}

.slb-owner.is-on { background: var(--sage); border-color: var(--sage); color: #fff; }

/* Shots ------------------------------------------------------ */
.slb-pane-tools { margin: 22px 0 16px; }
.slb-pane-tools .btn { padding: 9px 18px; font-size: 13px; }

.slb-shots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }

.slb-shot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 180ms var(--ease-out);
}

.slb-shot input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex: none;
  margin: 0;
  border-radius: 7px;
  accent-color: var(--sage);
  cursor: pointer;
}

.slb-shot label {
  flex: 1;
  font-size: 15px;
  line-height: 1.35;
  color: var(--fg-4);
  cursor: pointer;
}

.slb-shot input:checked + label { color: var(--fg-1); }

@media (hover: hover) and (pointer: fine) {
  .slb-shot:hover { background: var(--border-soft); }
}

/* Per-shot assignment ---------------------------------------- */
.slb-assign {
  flex: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--off-white);
  color: var(--fg-3);
  white-space: nowrap;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}

.slb-assign.is-set { background: var(--sage); border-color: var(--sage); color: #fff; }

.slb-assign-menu {
  position: absolute;
  right: 10px;
  top: 44px;
  z-index: 5;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(44, 44, 44, 0.14);
}

.slb-assign-menu button {
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  background: none;
  color: var(--fg-2);
  cursor: pointer;
}

.slb-assign-menu button.is-on { background: var(--sage-mist); color: var(--fg-1); font-weight: 500; }

@media (hover: hover) and (pointer: fine) {
  .slb-assign-menu button:hover { background: var(--border-soft); }
}

/* Summary ---------------------------------------------------- */
.slb-summary { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

.slb-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
}

.slb-summary-row.is-secondary { background: none; border: 1px solid var(--border); }

.slb-summary-text { min-width: 0; }
.slb-summary-name { font-size: 16px; font-weight: 500; color: var(--fg-1); }
.slb-summary-meta { font-size: 13px; color: var(--fg-3); margin-top: 2px; }
.slb-summary-row .btn { flex: none; }

.slb-summary-note {
  margin-top: 14px !important;
  font-size: 13px;
  color: var(--fg-3);
}

.slb-summary-print { font-size: 13px; color: var(--fg-3); text-align: right; }

.slb-rail-finish { margin-top: 6px; }

/* Pane foot -------------------------------------------------- */
.slb-pane-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.slb-pane-foot-end { justify-content: flex-end; }

.slb-back {
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--fg-3);
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .slb-back:hover { color: var(--fg-1); }
}

/* After the wedding ------------------------------------------ */
.slb-after {
  margin-top: 18px;
  padding: 32px;
  background: var(--sage-mist);
  border-radius: 20px;
}

.slb-after .eyebrow { color: var(--sage-dark); }
.slb-after h2 { font-size: 24px; line-height: 1.25; margin: 12px 0 10px; max-width: 520px; }
.slb-after > p { font-size: 15px; max-width: 520px; }

.slb-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin: 22px 0 26px;
}

.slb-after-grid p { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.45; color: var(--fg-1); }
.slb-after-grid strong { font-weight: 500; }
.slb-after-grid a { color: var(--sage-dark); text-decoration: underline; }

.slb-bullet {
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.slb-after-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Rail progress --------------------------------------------- */
.slb-rail-progress { margin-top: 20px; }

.slb-rail-status { font-size: 13px; color: var(--fg-3); line-height: 1.4; }

.slb-fallback { margin-top: 20px !important; font-size: 14px; color: var(--fg-3); text-align: center; }
.slb-fallback a { color: var(--sage-dark); text-decoration: underline; }

.slb-linkish {
  border: none;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: var(--sage-dark);
  text-decoration: underline;
  cursor: pointer;
}

/* FAQ -------------------------------------------------------- */
.slb-faq { padding: 8px 0 80px; }
.slb-faq h2 { font-size: 26px; margin-bottom: 20px; }
.slb-faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }

.slb-faq-item {
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.slb-faq-item summary {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-1);
  cursor: pointer;
  list-style: none;
}

.slb-faq-item summary::-webkit-details-marker { display: none; }
.slb-faq-item p { margin-top: 10px !important; font-size: 15px; }

/* One part at a time ----------------------------------------- */
/* Only applied once the script is running. Without JavaScript every
   part stays visible, which is both the crawlable and the usable state. */
.slb.is-live .slb-pane { display: none; }
.slb.is-live .slb-pane.is-current { display: block; }

/* Responsive ------------------------------------------------- */
@media (max-width: 900px) {
  .slb-wrap { padding: 0 20px; }

  .slb-shell { grid-template-columns: 1fr; gap: 20px; }

  .slb-rail {
    position: static;
    padding: 16px 18px;
    background: var(--soft-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
  }

  .slb-rail-list { display: grid; grid-template-columns: 1fr 1fr; }

  .slb-card { padding: 22px 20px; }
  .slb-pane h2 { font-size: 22px; }
  .slb-pane-head { flex-direction: column; gap: 8px; }
  .slb-pane-meta { padding-top: 0; }

  .slb-after-grid { grid-template-columns: 1fr; }


}

@media (max-width: 560px) {
  .slb-rail-list { grid-template-columns: 1fr; }
  .slb-shot { gap: 12px; min-height: 56px; }
  .slb-shot label { font-size: 16px; }
  /* Kept side by side rather than stacked, as the design has it: an Add button
     the full width of the card reads like the step's primary action. */
  .slb-add .btn { padding: 11px 18px; }
  .slb-pane-foot { flex-direction: column-reverse; align-items: stretch; }
  .slb-pane-foot .btn { width: 100%; }
  .slb-summary-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .slb-summary-row .btn { width: 100%; }
  .slb-summary-print { text-align: left; }
  .slb-assign-menu { right: 0; left: 0; }
}
