/* New client site (pages/newsite.js): the steps across the top, the step's fields, and beside them what Clutchy will
   build with the one action at its foot, as the Studio mock's screen 4 */
[data-page="newsite"] { max-width: 1240px; }
.nw-steps { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 0 0 18px; list-style: none; border-bottom: 1px solid var(--line); }
.nw-steps li { display: flex; align-items: center; gap: 12px; }
.nw-steps li + li::before { content: ""; width: 36px; height: 1px; background: var(--line2); }
.nw-steps button { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; color: var(--text3); }
.nw-steps button:disabled { cursor: default; opacity: 1; } .nw-steps .done button:hover { color: var(--head); }
.nw-steps button > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line2); font-size: 12px; font-weight: 600; }
.nw-steps [aria-current] button { color: var(--head); font-weight: 600; } .nw-steps [aria-current] button > span { background: var(--red); border-color: var(--red); color: #fff; }
.nw-steps .done button { color: var(--ok); } .nw-steps .done button > span { border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.nw-steps .done svg.i { width: 13px; height: 13px; }
.nw { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0; min-height: 560px; }
.nw-main { display: grid; align-content: start; gap: 26px; padding: 26px 32px 32px 0; min-width: 0; }
.nw-side { display: flex; flex-direction: column; gap: 16px; padding: 26px 0 8px 28px; border-left: 1px solid var(--line); }
.nw-side h3 { margin: 0; font: 600 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text3); }
.nw-plan { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.nw-plan li { display: grid; grid-template-columns: 28px minmax(0, 1fr); font-size: 14px; line-height: 1.45; color: var(--head); }
.nw-plan li span { font: 13px/1.6 var(--mono); color: var(--text3); }
.nw-note { display: flex; gap: 8px; margin: 4px 0 0; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--amber) 35%, var(--line)); border-radius: 10px; background: var(--warn-bg); font-size: 13px; line-height: 1.5; color: var(--warn); }
.nw-note svg.i { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.nw-go { margin-top: auto; display: grid; gap: 10px; justify-items: center; padding-top: 24px; }
.nw-go .btn { width: 100%; height: 46px; justify-content: center; font-size: 15px; font-weight: 600; border-radius: 10px; }
.nw-go small { font-size: 12.5px; color: var(--text3); }
.nw-field { display: grid; gap: 10px; min-width: 0; }
.nw-lbl { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--head); }
.nw-lbl small { font-size: 12.5px; font-weight: 400; color: var(--text3); }
.nw-field .search { margin: 0; width: 100%; }
.nw-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; max-height: 330px; overflow: auto; }
.nw-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--raise); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.nw-row:hover:not(.has) { border-color: var(--line2); }
.nw-row:has(input:checked) { border-color: var(--red); background: color-mix(in srgb, var(--red) 9%, var(--raise)); }
.nw-row input { accent-color: var(--red); margin: 0; }
.nw-row > span { flex: 1; display: grid; min-width: 0; } .nw-row b { font-size: 13.5px; font-weight: 600; color: var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nw-row small { font-size: 12px; color: var(--text3); text-transform: capitalize; } .nw-row > .spkg { flex: none; font-size: 12px; }
.nw-row.has { cursor: default; } .nw-row.has > span { opacity: .6; }
.nw-has { display: flex; align-items: center; gap: 2px; font-size: 12px; white-space: nowrap; } .nw-has svg.i { width: 12px; height: 12px; }
.nw-pkgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nw-pkg { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--raise); color: var(--text2); }
.nw-pkg i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line2); } .nw-pkg b { font-weight: 600; color: var(--head); } .nw-pkg small { color: var(--text3); }
.nw-pkg.on { border-color: var(--red); background: color-mix(in srgb, var(--red) 9%, var(--raise)); } .nw-pkg.on i { border: 4px solid var(--wait); background: #fff; }
.nw-sub { height: 46px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 10px; background: var(--raise); font-size: 14px; color: var(--head); }
.nw-sub:focus { outline: none; border-color: var(--text3); }
.nw-gives { display: flex; flex-wrap: wrap; gap: 10px; }
.nw-gives span { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--text2); }
.nw-gives svg.i { width: 15px; height: 15px; color: var(--text3); }
.nw-sum { display: grid; grid-template-columns: 140px minmax(0, 1fr); margin: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--raise); overflow: hidden; }
.nw-sum dt, .nw-sum dd { margin: 0; padding: 12px 16px; font-size: 13.5px; border-top: 1px solid var(--line); }
.nw-sum dt:first-of-type, .nw-sum dt:first-of-type + dd { border-top: 0; }
.nw-sum dt { color: var(--text3); } .nw-sum dd { color: var(--head); overflow-wrap: anywhere; }
.nw-err { margin: 0; }
/* step 1's template line; step 2's submissions to pick, the line said when none names the client, and the typed id */
.nw-tpl { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: var(--text2); }
.nw-tpl > svg.i { width: 15px; height: 15px; flex: none; color: var(--text3); }
.nw-tpl > span { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; } .nw-tpl b { color: var(--head); font-weight: 600; }
.nw-tpl small { font-size: 12.5px; color: var(--warn); }
.nw-tpl a { display: flex; align-items: center; gap: 2px; font-size: 12.5px; white-space: nowrap; } .nw-tpl a svg.i { width: 12px; height: 12px; }
.nw-forms { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.nw-form small { text-transform: none; } .nw-form small .mono { font-size: 11.5px; }
.nw-none { display: flex; gap: 8px; margin: 0; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--amber) 35%, var(--line)); border-radius: 10px; background: var(--warn-bg); font-size: 13px; line-height: 1.5; color: var(--warn); }
.nw-none svg.i { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.nw-other summary { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); cursor: pointer; list-style: none; }
.nw-other summary::-webkit-details-marker { display: none; }
.nw-other summary svg.i { width: 12px; height: 12px; transition: transform var(--t-fast); } .nw-other[open] summary svg.i { transform: rotate(90deg); }
.nw-other summary:hover { color: var(--head); } .nw-other .nw-sub { width: min(100%, 420px); margin-top: 10px; }
@media (max-width: 900px) {
  .nw { grid-template-columns: 1fr; } .nw-main { padding-right: 0; } .nw-side { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .nw-pkgs { grid-template-columns: 1fr; } .nw-steps { gap: 8px; } .nw-steps li { gap: 8px; } .nw-steps li + li::before { width: 14px; }
  .nw-sum { grid-template-columns: 110px minmax(0, 1fr); }
}
