/* PICKDOME — the setup wizard.
   Same collision rule as doc.css: styles.css styles generic class names for the
   landing page, so everything here is prefixed wz- and the reset below returns
   lists to plain behaviour. --wz-accent is rewritten live from the colour picker,
   which is why the accents below all read from it rather than the gold token. */

.wz-body { --wz-accent: var(--pd-gold); }

.wz ol, .wz ul { display: block; }
.wz li { display: list-item; background: none; border: 0; padding: 0; margin: 0; }
.wz li::before { content: none; }

.wz { max-width: 720px; margin: 0 auto; padding: 0 clamp(18px, 5vw, 40px) 90px; }

.wz-intro { padding: clamp(36px, 7vw, 78px) 0 22px; }
.wz-intro h1 { font-size: clamp(34px, 7.5vw, 66px); letter-spacing: -.015em; }
.wz-lede { font-size: clamp(16px, 2.2vw, 20px); color: #cfd6de; max-width: 60ch; margin-top: 16px; line-height: 1.55; }
.wz-fine { font-size: 13px; color: var(--pd-muted); margin-top: 12px; }

/* ---- progress rail: dots that also say where you are ---- */
ol.wz-rail { display: flex; gap: 6px; list-style: none; padding: 0; margin: 26px 0 30px; flex-wrap: wrap; }
ol.wz-rail li { flex: 1 1 60px; }
.wz-rail button {
  width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--pd-body); color: var(--pd-muted); font-size: 11px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
}
.wz-rail .bar { display: block; height: 4px; border-radius: 3px; background: var(--pd-line); margin-bottom: 7px; }
.wz-rail li.done .bar { background: var(--wz-accent); }
.wz-rail li.now .bar { background: var(--pd-gradient); }
.wz-rail li.now button { color: #fff; }
.wz-rail button:disabled { cursor: default; }

/* ---- steps ----
   styles.css gives every <section> the landing page's huge hero padding. Inside
   the wizard that reads as a rendering fault: 150px of dead air above and below
   a short form. Reset it here rather than changing the element, so the marketing
   sections keep their air. */
.wz-step { padding: 0; }
.wz-step h2 { font-size: clamp(26px, 5vw, 42px); margin: 0 0 8px; }
.wz-sub { color: #b9c2cc; line-height: 1.6; margin: 0 0 22px; max-width: 60ch; }

.wz-field { display: block; margin: 20px 0; }
.wz-field > span { display: block; font-size: 13px; font-weight: 800; letter-spacing: .05em;
                   text-transform: uppercase; color: #cfd6de; margin-bottom: 8px; }
.wz-field > span i { font-style: normal; color: var(--pd-muted); text-transform: none; letter-spacing: 0; font-weight: 600; }
.wz-hint { display: block; font-style: normal; font-size: 13px; color: var(--pd-muted); margin-top: 7px; line-height: 1.5; }

.wz input[type="text"], .wz input[type="date"], .wz input[type="time"], .wz input[type="file"] {
  width: 100%; background: #0d1219; border: 1px solid var(--pd-line); border-radius: var(--pd-radius);
  color: #fff; font-family: inherit; font-size: 16px; padding: 13px 14px;
}
.wz input[type="text"]:focus, .wz input[type="date"]:focus, .wz input[type="time"]:focus {
  outline: none; border-color: var(--wz-accent);
}
.wz input[type="color"] { width: 72px; height: 44px; padding: 3px; background: #0d1219;
                          border: 1px solid var(--pd-line); border-radius: 10px; }
.wz-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 20px; }

.wz-stepper { display: inline-flex; align-items: center; gap: 4px; background: #0d1219;
              border: 1px solid var(--pd-line); border-radius: var(--pd-radius); padding: 5px; }
.wz-stepper button { width: 42px; height: 40px; border: 0; border-radius: 9px; background: rgba(255,255,255,.07);
                     color: #fff; font-size: 21px; font-family: inherit; cursor: pointer; }
.wz-stepper button:hover { background: rgba(255,255,255,.15); }
.wz-stepper b { min-width: 54px; text-align: center; font-family: var(--pd-display);
                font-size: 26px; color: var(--wz-accent); }

/* ---- theme chips ---- */
.wz-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 24px; }
.wz-theme { border: 1px solid var(--pd-line); border-radius: var(--pd-radius); padding: 12px;
            background: var(--pd-surface); cursor: pointer; text-align: left; font-family: inherit; color: #fff; }
.wz-theme[aria-pressed="true"] { border-color: var(--wz-accent); box-shadow: 0 0 0 1px var(--wz-accent) inset; }
.wz-theme .sw { display: flex; gap: 4px; margin-bottom: 9px; }
.wz-theme .sw i { width: 100%; height: 16px; border-radius: 4px; }
.wz-theme b { font-size: 14px; font-weight: 800; }

/* ---- board preview ---- */
.wz-preview { margin-top: 6px; }
.wz-pv-board { display: flex; align-items: center; gap: 14px; background: #0d1219;
               border: 1px solid var(--pd-line); border-top: 4px solid var(--wz-accent);
               border-radius: var(--pd-radius); padding: 18px 20px; }
.wz-pv-board img { width: 40px; height: 40px; object-fit: contain; }
.wz-pv-name { font-family: var(--pd-display); font-weight: 900; font-size: clamp(20px, 4vw, 30px);
              letter-spacing: .02em; color: #fff; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz-pv-clock { font-family: var(--pd-display); font-weight: 900; font-size: clamp(22px, 4.5vw, 34px);
               color: var(--wz-accent); }

/* ---- managers ---- */
.wz-mgrs { display: flex; flex-direction: column; gap: 9px; }
.wz-mgr { display: grid; grid-template-columns: 26px 1fr 1fr; gap: 9px; align-items: center; }
.wz-mgr .n { font-family: var(--pd-display); font-weight: 900; color: var(--pd-muted); font-size: 17px; text-align: right; }
@media (max-width: 560px) {
  .wz-mgr { grid-template-columns: 26px 1fr; }
  .wz-mgr .n { grid-row: span 2; }
}

/* ---- choices ---- */
.wz-choice { border: 0; padding: 0; margin: 26px 0; }
.wz-choice legend { font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
                    color: #cfd6de; padding: 0; margin-bottom: 10px; }
.wz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 9px; }
.wz-opt { border: 1px solid var(--pd-line); border-radius: var(--pd-radius); background: var(--pd-surface);
          padding: 14px; text-align: left; cursor: pointer; font-family: inherit; color: #fff; }
.wz-opt[aria-pressed="true"] { border-color: var(--wz-accent); box-shadow: 0 0 0 1px var(--wz-accent) inset; }
.wz-opt b { display: block; font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.wz-opt span { font-size: 13px; color: var(--pd-muted); line-height: 1.45; }

.wz-toggles { display: flex; flex-direction: column; gap: 10px; }
.wz-tog { display: flex; align-items: center; gap: 11px; font-size: 15px; color: #cfd6de; cursor: pointer; }
.wz-tog input { width: 20px; height: 20px; accent-color: var(--wz-accent); }

/* ---- material ---- */
.wz-tip { border-left: 0; border: 1px solid var(--pd-line); background: var(--pd-surface);
          border-radius: var(--pd-radius); padding: 17px 19px; margin: 0 0 20px;
          font-size: 15px; color: #cfd6de; line-height: 1.6; }
.wz-tip b { color: #fff; }
.wz-tip em { color: var(--wz-accent); font-style: italic; }
.wz-collect { margin-bottom: 26px; }
.wz-material { display: flex; flex-direction: column; gap: 12px; }
.wz-card { border: 1px solid var(--pd-line); border-radius: var(--pd-radius);
           background: var(--pd-surface); overflow: hidden; }
.wz-card > summary { padding: 15px 18px; cursor: pointer; font-weight: 800; color: #fff;
                     display: flex; align-items: center; gap: 10px; list-style: none; }
.wz-card > summary::-webkit-details-marker { display: none; }
.wz-card > summary::before { content: "▸"; color: var(--wz-accent); font-size: 13px; }
.wz-card[open] > summary::before { content: "▾"; }
.wz-card .cnt { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--pd-muted); }
.wz-card .cnt.has { color: var(--wz-accent); }
.wz-card-in { padding: 4px 18px 18px; }
.wz-card-in label { display: block; margin: 14px 0 0; }
.wz-card-in label span { display: block; font-size: 13px; color: #cfd6de; margin-bottom: 7px; line-height: 1.45; }
.wz-card-in textarea {
  width: 100%; min-height: 62px; resize: vertical; background: #0d1219;
  border: 1px solid var(--pd-line); border-radius: 10px; color: #fff;
  font-family: inherit; font-size: 15px; padding: 11px 12px; line-height: 1.5;
}
.wz-card-in textarea:focus { outline: none; border-color: var(--wz-accent); }

/* ---- packet ---- */
.wz-packet { display: flex; flex-direction: column; gap: 11px; }
.wz-pk { border: 1px solid var(--pd-line); border-radius: var(--pd-radius);
         background: var(--pd-surface); padding: 17px 19px; }
.wz-pk h3 { font-size: 19px; margin: 0 0 9px; color: #fff; }
.wz-pk dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.wz-pk dt { font-size: 13px; color: var(--pd-muted); font-weight: 700; }
.wz-pk dd { margin: 0; font-size: 15px; color: #fff; }
.wz-pk .big { font-family: var(--pd-display); font-weight: 900; font-size: 40px;
              color: var(--wz-accent); line-height: 1; }
.wz-pk ul { margin: 8px 0 0; padding-left: 20px; }
.wz-pk ul li { display: list-item; list-style: disc; color: #b9c2cc; font-size: 14px; margin: 5px 0; }
.wz-warn { color: var(--pd-warn); }
.wz-done { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 10px; }

/* ---- nav ---- */
.wz-nav { display: flex; gap: 12px; align-items: center; margin-top: 34px;
          padding-top: 22px; border-top: 1px solid var(--pd-line); flex-wrap: wrap; }
#btn-reset { margin-left: auto; }
.wz-nav .btn[hidden] { display: none; }

/* The step rail is real navigation — give it a thumb-height hit area. */
ol.wz-rail button { padding: 8px 0 10px; }
