/* ==========================================================================
   Sanskriti Home — Resident registration form
   Extends assets/css/styles.css. Same palette, same fonts.
   ========================================================================== */

.reg-body{background:var(--cream-2)}

/* `hidden` must win over the display values set further down. */
[hidden]{display:none!important}

/* ---------- Header ---------- */
.reg-head{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}
.reg-head-in{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:66px}
.reg-brand{display:flex;align-items:center;gap:.65rem;text-decoration:none}
.reg-mark{
  width:36px;height:36px;border-radius:10px;background:var(--green);color:#fff;flex:none;
  display:grid;place-items:center;font-family:"Lora",Georgia,serif;font-size:1.2rem;font-weight:600;
}
.reg-brand-t{font-family:"Lora",Georgia,serif;font-weight:600;font-size:1.05rem;line-height:1.1;display:block}
.reg-brand-t small{display:block;font-family:"Inter",sans-serif;font-size:.68rem;font-weight:500;
  letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-top:.15rem}
.reg-help{font-size:.85rem;font-weight:600;color:var(--green);text-decoration:none;white-space:nowrap;flex:none}
.help-short{display:none}
.reg-help:hover{text-decoration:underline}

/* ---------- Progress ---------- */
.reg-progress-wrap{background:var(--surface);border-bottom:1px solid var(--line);
  position:sticky;top:66px;z-index:39;padding:.9rem 0 0}
.reg-progress{list-style:none;display:flex;gap:.3rem;margin:0 0 .85rem;padding:0;overflow-x:auto;scrollbar-width:none}
.reg-progress::-webkit-scrollbar{display:none}
.reg-progress li{display:flex;align-items:center;gap:.45rem;flex:none;padding:.2rem .6rem .2rem .2rem;
  border-radius:100px;transition:background .2s}
.reg-progress .pn{
  width:24px;height:24px;border-radius:50%;flex:none;display:grid;place-items:center;
  font-size:.75rem;font-weight:700;background:var(--cream-2);color:var(--muted);
  border:1px solid var(--line);transition:all .2s var(--ease);
}
.reg-progress .pl{font-size:.8rem;font-weight:500;color:var(--muted);white-space:nowrap}
.reg-progress li.is-done .pn{background:var(--green-tint);color:var(--green);border-color:#C5D8CC}
.reg-progress li.is-done .pn::before{content:"✓";font-size:.8rem}
.reg-progress li.is-done .pn>*{display:none}
.reg-progress li.is-on{background:var(--green-tint)}
.reg-progress li.is-on .pn{background:var(--green);color:#fff;border-color:var(--green)}
.reg-progress li.is-on .pl{color:var(--green);font-weight:600}
.reg-bar{height:3px;background:var(--line-soft);border-radius:3px;overflow:hidden}
.reg-bar i{display:block;height:100%;width:16.6%;background:var(--green);
  border-radius:3px;transition:width .34s var(--ease)}

/* ---------- Layout ---------- */
.reg-main{padding:clamp(1.8rem,4vw,3rem) 0 4rem}
.reg-wrap{width:min(100% - 2.2rem,760px)}
.rstep-head{margin-bottom:1.7rem}
.rstep-head h1{font-size:clamp(1.6rem,4vw,2.2rem);margin-bottom:.4rem}
.rstep-head .lede{font-size:.97rem}

/* ---------- Sections on the one-page form ---------- */
.fsec{margin-bottom:clamp(2rem,4vw,2.8rem);scroll-margin-top:150px}
.fsec-head{display:flex;gap:.9rem;align-items:flex-start;margin-bottom:1.1rem}
.fsec-n{
  width:30px;height:30px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:var(--green);color:#fff;font-size:.88rem;font-weight:700;margin-top:.1rem;
}
.fsec-head h2{font-size:1.32rem;margin:0 0 .18rem}
.fsec-head p{margin:0;font-size:.9rem;color:var(--muted);max-width:62ch}
.fsec + .fsec{padding-top:clamp(1.6rem,3vw,2.2rem);border-top:1px solid var(--line)}

.rstep-nav--end{justify-content:flex-end;padding-top:.4rem}
.rstep-nav--end .btn{min-width:210px}

.reg-progress--3 li{flex:1;justify-content:center}
.reg-progress--3 .pl{font-size:.84rem}

.panel{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:clamp(1.15rem,3vw,1.7rem);margin-bottom:1.1rem;box-shadow:var(--shadow-sm);
}
.panel-t{font-size:1.02rem;margin:0 0 .25rem}
.panel-t + .grid2,.panel-t + .grid3,.panel-t + .fld,.panel-t + .up,.panel-t + .up-pair{margin-top:1.1rem}
.reg-meta{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;
  padding:.65rem .9rem;margin:0 0 1.2rem;border-radius:10px;background:var(--cream-2);
  border:1px solid var(--line-soft);font-size:.85rem}
.reg-meta span{color:var(--muted);font-weight:500}
.reg-meta b{font-weight:600;color:var(--ink)}
.panel--office{background:var(--cream);border-style:dashed}
.radio-cards--2 .rc-in{padding:.72rem 1rem;text-align:center}

.terms-declare{margin:0 0 1.1rem;padding-bottom:1.1rem;border-bottom:1px solid var(--line);
  font-style:italic;color:var(--ink)}
.terms-list{margin:0;padding:0 0 0 1.1rem;display:grid;gap:.75rem}
.terms-list li{padding-left:.25rem}
.terms-list li::marker{color:var(--clay)}
.terms-list b{font-weight:600;color:var(--ink)}

.panel-note{font-size:.84rem;color:var(--muted);margin:0 0 1.1rem;max-width:60ch}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 .9rem}
.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 .9rem}
.fld-hint{font-size:.76rem;color:var(--muted);margin:.35rem 0 0}

/* ---------- Inputs ---------- */
.fld input[type=text],.fld input[type=tel],.fld input[type=email],
.fld input[type=date],.fld select,.fld textarea{background:#fff}
.fld input::placeholder,.fld textarea::placeholder{color:#AFA79A}
.fld select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7264' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .9rem center;padding-right:2.2rem}
.fld select:disabled{background-color:var(--cream-2);color:var(--muted);cursor:not-allowed}

.phone-in,.rupee-in{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:10px;
  overflow:hidden;background:#fff;transition:border-color .16s,box-shadow .16s}
.phone-in span,.rupee-in span{display:grid;place-items:center;padding:0 .75rem;background:var(--cream-2);
  font-size:.9rem;font-weight:600;color:var(--muted);border-right:1px solid var(--line);flex:none}
.phone-in input,.rupee-in input{border:none;border-radius:0;background:transparent;flex:1;min-width:0}
.phone-in input:focus,.rupee-in input:focus{box-shadow:none}
.phone-in:focus-within,.rupee-in:focus-within{border-color:var(--green);box-shadow:0 0 0 3px rgba(63,93,78,.12)}
.sign-in{font-family:"Lora",Georgia,serif!important;font-size:1.15rem!important;font-style:italic}

/* Validation */
.fld.err input,.fld.err select,.fld.err textarea{border-color:#C0553F;background:#FDF5F3}
.fld.err .phone-in,.fld.err .rupee-in{border-color:#C0553F}
.err-msg{display:none;font-size:.77rem;color:#C0553F;font-weight:500;margin:.32rem 0 0}
.fld.err .err-msg{display:block}

/* ---------- Radio cards ---------- */
.radio-cards{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:.1rem}
.rcard{position:relative;cursor:pointer}
.rcard input{position:absolute;opacity:0;width:0;height:0}
.rc-in{display:block;padding:.85rem 1rem;border:1.5px solid var(--line);border-radius:12px;background:#fff;
  transition:all .17s var(--ease)}
.rc-in b{display:block;font-size:.93rem;font-weight:600}
.rc-in small{display:block;font-size:.77rem;color:var(--muted);margin-top:.1rem}
.rcard:hover .rc-in{border-color:#C9BFAE}
.rcard input:checked + .rc-in{border-color:var(--green);background:var(--green-tint);
  box-shadow:0 0 0 3px rgba(63,93,78,.1)}
.rcard input:focus-visible + .rc-in{outline:2px solid var(--green);outline-offset:2px}
.fld.err .radio-cards .rc-in{border-color:#C0553F}

/* ---------- Checkboxes ---------- */
.chk{display:flex;gap:.7rem;align-items:flex-start;font-size:.89rem;color:var(--ink-soft);
  cursor:pointer;padding:.5rem 0;line-height:1.5}
.chk input{width:19px;height:19px;flex:none;margin-top:.13rem;accent-color:var(--green);cursor:pointer}
.chk input:disabled{cursor:not-allowed;opacity:.45}
.chk input:disabled ~ span{opacity:.5}
.chk em{font-style:normal;color:var(--muted);font-size:.85em}
.chk--inline{margin-top:.2rem}
.chk--big{font-size:.95rem;font-weight:500;color:var(--ink);align-items:center;padding:0 0 1.1rem}
.chk--big input{width:22px;height:22px;margin-top:0}

/* ---------- Conditional blocks ---------- */
.cond{border-top:1px dashed var(--line);margin-top:1.1rem;padding-top:1.2rem}

/* ---------- Uploads ---------- */
.up-pair{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.up{margin-bottom:.2rem}
.up-drop{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;
  min-height:130px;padding:1.2rem;text-align:center;cursor:pointer;
  border:1.5px dashed var(--line);border-radius:14px;background:var(--cream);
  transition:all .17s var(--ease);
}
.up-drop:hover,.up-drop.drag{border-color:var(--green);background:var(--green-tint)}
.up-drop b{font-size:.9rem;font-weight:600}
.up-drop small{font-size:.77rem;color:var(--muted)}
.up-ic{width:24px;height:24px;color:var(--green);margin-bottom:.3rem}
.up.err .up-drop{border-color:#C0553F;background:#FDF5F3}
.up-done{display:flex;align-items:center;gap:.85rem;padding:.75rem;border:1px solid var(--line);
  border-radius:14px;background:var(--surface)}
.up-thumb{width:56px;height:56px;border-radius:9px;object-fit:cover;flex:none;border:1px solid var(--line);
  background:var(--cream-2)}
.up-thumb--file{display:grid;place-items:center}
.up-thumb--file svg{width:22px;height:22px;color:var(--clay)}
.up-meta{flex:1;min-width:0}
.up-meta b{display:block;font-size:.85rem;font-weight:600;white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
.up-meta small{font-size:.76rem;color:var(--muted)}
.up-meta .ok{color:var(--green);font-weight:600}
.up-del{width:30px;height:30px;flex:none;border-radius:50%;border:1px solid var(--line);background:#fff;
  display:grid;place-items:center;cursor:pointer;color:var(--muted);transition:all .16s}
.up-del:hover{border-color:#C0553F;color:#C0553F;background:#FDF5F3}
.up-del svg{width:13px;height:13px}

/* ---------- Terms ---------- */
.panel--terms{padding-bottom:1.2rem}
.terms-box{
  max-height:330px;overflow-y:auto;padding:1.2rem 1.35rem;border:1px solid var(--line);
  border-radius:14px;background:var(--cream);font-size:.885rem;line-height:1.62;color:var(--ink-soft);
  scroll-behavior:smooth;
}
.terms-box:focus{outline:2px solid var(--green);outline-offset:2px}
.terms-box h4{font-family:"Inter",sans-serif;font-size:.86rem;font-weight:700;color:var(--ink);
  margin:1.35rem 0 .35rem;letter-spacing:-.005em}
.terms-box h4:first-child{margin-top:0}
.terms-box p{margin:0 0 .2rem}
.terms-end{text-align:center;color:var(--muted);font-size:.8rem;margin-top:1.6rem!important;
  padding-top:.9rem;border-top:1px solid var(--line)}
.terms-hint{font-size:.79rem;color:var(--clay);font-weight:600;margin:.7rem 0 0;text-align:center}
.terms-hint.done{color:var(--green)}
.agree{margin-top:1.1rem;padding-top:1rem;border-top:1px solid var(--line-soft);transition:opacity .25s}
.agree[aria-disabled="true"]{opacity:.55}
.agree.err{border-radius:12px;background:#FDF5F3;padding:.8rem .9rem;border:1px solid #E8C4B9}

/* ---------- Preview ---------- */
/* The preview is a facsimile of the printed registration form, so the guest
   confirms the document itself rather than a list of what they typed. The
   print stylesheet turns this straight into their record copy. */
.pv-editbar{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-bottom:.9rem;
  padding:.6rem .85rem;background:var(--cream);border:1px solid var(--line);border-radius:100px}
.pv-editbar span{font-size:.82rem;color:var(--muted);font-weight:500;margin-right:.15rem}
.pv-editbar .pv-edit{font-size:.8rem;padding:.3rem .7rem;border-radius:100px;
  border:1px solid var(--line);background:var(--surface)}
.pv-editbar .pv-edit:hover{background:var(--green-tint);border-color:#C5D8CC}

.sheet{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(1.3rem,3.5vw,2.4rem);margin-bottom:1.1rem;box-shadow:var(--shadow-sm);
  color:#1c1a15;
}
.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1.2rem;
  margin-bottom:1.5rem}
.sheet-brand{font-family:"Lora",Georgia,serif;font-size:1.5rem;line-height:1;color:var(--green);
  display:flex;flex-direction:column;gap:.15rem}
.sheet-brand svg{width:46px;height:23px;margin-bottom:.2rem}
.sheet-brand b{font-weight:600}
.sheet-brand span{font-family:"Inter",sans-serif;font-size:.82rem;font-weight:600;
  letter-spacing:.22em;color:var(--ink-soft)}
.sheet-photo{width:104px;height:128px;flex:none;border:1px solid var(--ink-soft);
  display:grid;place-items:center;overflow:hidden;background:var(--cream)}
.sheet-photo img{width:100%;height:100%;object-fit:cover}
.sheet-photo span{font-size:.72rem;color:var(--muted);text-align:center}

.sheet-body{display:grid;gap:.1rem}
.srow{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.4rem 1.4rem}
.scell{display:flex;align-items:flex-end;gap:.6rem;min-width:0;padding:.42rem 0}
.scell.grow{flex:1 1 260px}
.slabel{font-size:.83rem;color:var(--ink-soft);white-space:nowrap;flex:none;padding-bottom:.08rem}
.sval{flex:1;min-width:90px;border-bottom:1px solid #9c968a;padding:0 .3rem .1rem;
  font-size:.96rem;font-weight:600;font-family:"Lora",Georgia,serif;
  overflow-wrap:anywhere}
.sval--blank{color:#b9b2a5;font-weight:400}
.scell.nolabelval .sval{display:none}
.scell.nolabelval .slabel{font-style:italic}

.sheet-terms{margin-top:1.8rem;padding-top:1.1rem;border-top:1px solid var(--line)}
.sheet-terms h4{font-family:"Inter",sans-serif;font-size:.92rem;font-weight:700;
  margin:0 0 .8rem;text-decoration:underline;text-underline-offset:3px}
.sheet-terms .terms-declare{font-size:.8rem;line-height:1.55;margin-bottom:.8rem;
  padding-bottom:.8rem}
.sheet-terms .terms-list{font-size:.79rem;line-height:1.5;gap:.42rem}

.sheet-sign{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;
  margin-top:2rem;flex-wrap:wrap}
.sheet-place,.sheet-sig{text-align:center}
.sheet-place span,.sheet-sig span{display:block;padding:0 1.2rem .25rem;
  border-bottom:1px solid #9c968a;min-width:150px}
.sheet-sig span{font-family:"Lora",Georgia,serif;font-style:italic;font-size:1.3rem}
.sheet-place span{font-size:.95rem;font-weight:500}
.sheet-place small,.sheet-sig small{display:block;margin-top:.32rem;font-size:.7rem;
  letter-spacing:.09em;color:var(--muted);text-transform:uppercase;font-weight:600}

.preview{margin-bottom:1.1rem}
.pv-block{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:clamp(1.15rem,3vw,1.6rem);margin-bottom:.9rem;box-shadow:var(--shadow-sm)}
.pv-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--line-soft)}
.pv-head h3{margin:0;font-size:1rem}
.pv-edit{display:inline-flex;align-items:center;gap:.35rem;background:none;border:none;cursor:pointer;
  font-family:inherit;font-size:.8rem;font-weight:600;color:var(--green);padding:.25rem .5rem;
  border-radius:7px;transition:background .15s}
.pv-edit:hover{background:var(--green-tint)}
.pv-edit svg{width:13px;height:13px}
.pv-rows{display:grid;grid-template-columns:auto 1fr;gap:.6rem 1.4rem;font-size:.9rem}
.pv-rows dt{color:var(--muted);font-size:.82rem;padding-top:.08rem}
.pv-rows dd{margin:0;font-weight:500;color:var(--ink);word-break:break-word}
.pv-rows dd.empty{color:#B6AEA1;font-weight:400;font-style:italic}
.pv-docs{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.75rem}
.pv-doc{margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--cream)}
.pv-doc img{width:100%;height:104px;object-fit:cover;display:block;background:var(--cream-2)}
.pv-doc .pv-pdf{height:104px;display:grid;place-items:center;background:var(--clay-tint)}
.pv-doc .pv-pdf svg{width:26px;height:26px;color:var(--clay)}
.pv-doc figcaption{padding:.5rem .6rem;font-size:.76rem;line-height:1.35}
.pv-doc figcaption b{display:block;font-weight:600;color:var(--ink)}
.pv-doc figcaption small{color:var(--muted)}
.pv-terms{display:grid;gap:.5rem;font-size:.87rem;color:var(--ink-soft)}
.pv-terms li{display:flex;gap:.6rem;align-items:flex-start;list-style:none}
.pv-terms svg{width:15px;height:15px;flex:none;margin-top:.2rem;color:var(--green)}
.pv-terms li.no svg{color:var(--muted);opacity:.4}
.pv-sign{margin-top:1rem;padding-top:.9rem;border-top:1px dashed var(--line);
  display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap}
.pv-sign-name{font-family:"Lora",Georgia,serif;font-style:italic;font-size:1.2rem;color:var(--ink)}
.pv-sign small{display:block;font-family:"Inter",sans-serif;font-style:normal;font-size:.75rem;
  color:var(--muted);margin-top:.2rem;font-weight:500}

/* ---------- Confirm ---------- */
.panel--confirm{background:var(--green-tint);border-color:#C5D8CC}
.confirm-row{display:grid;grid-template-columns:auto 1fr;gap:.7rem}
.btn--submit{font-size:1rem;padding:1rem 1.6rem}
.btn:disabled{opacity:.45;cursor:not-allowed;transform:none!important;box-shadow:none}
.note-lock{width:13px;height:13px;vertical-align:-2px;margin-right:.2rem;color:var(--muted)}

/* ---------- Step nav ---------- */
.rstep-nav{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.5rem}
.rstep-nav .btn{min-width:130px}

/* ---------- Success ---------- */
.rstep--done{padding:1rem 0 2rem}
.done-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:clamp(1.8rem,5vw,3rem);text-align:center;box-shadow:var(--shadow-md)}
.done-tick{width:64px;height:64px;border-radius:50%;background:var(--green);color:#fff;
  display:grid;place-items:center;margin:0 auto 1.3rem;animation:pop .45s var(--ease) both}
.done-tick svg{width:30px;height:30px}
@keyframes pop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}
.done-card h1{font-size:clamp(1.55rem,4vw,2.1rem)}
.done-card .lede{margin-inline:auto}
.done-ref{display:inline-block;margin:1.5rem 0;padding:.85rem 1.8rem;border-radius:14px;
  background:var(--cream-2);border:1px dashed var(--line)}
.done-ref small{display:block;font-size:.74rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--muted);font-weight:600;margin-bottom:.25rem}
.done-ref b{font-family:"Lora",Georgia,serif;font-size:1.45rem;color:var(--green);letter-spacing:.02em}
.done-next{list-style:none;margin:0 auto 1.4rem;padding:0;display:grid;gap:.7rem;
  max-width:44ch;text-align:left}
.done-next li{display:flex;gap:.7rem;font-size:.91rem;color:var(--ink-soft)}
.done-next svg{width:17px;height:17px;flex:none;margin-top:.2rem;color:var(--green)}
.done-note{font-size:.84rem;color:var(--muted);max-width:48ch;margin-inline:auto}
.done-btns{display:flex;gap:.7rem;justify-content:center;flex-wrap:wrap;margin-top:1.4rem}

/* ---------- Footer ---------- */
.reg-foot{background:var(--surface);border-top:1px solid var(--line);padding:1.5rem 0;text-align:center}
.reg-foot p{margin:0;font-size:.83rem;color:var(--muted)}
.reg-foot a{color:var(--green);font-weight:500}

/* ---------- Overlay ---------- */
.overlay{position:fixed;inset:0;z-index:100;background:rgba(35,32,25,.55);
  backdrop-filter:blur(3px);display:grid;place-items:center;padding:1.5rem}
.overlay-in{background:var(--surface);border-radius:var(--radius-lg);padding:2.2rem 2.6rem;
  text-align:center;box-shadow:var(--shadow-md);max-width:340px}
.overlay-in b{display:block;font-size:.98rem;margin-top:1rem}
.overlay-in small{display:block;font-size:.83rem;color:var(--muted);margin-top:.3rem}
.spinner{width:34px;height:34px;margin:0 auto;border-radius:50%;
  border:3px solid var(--line);border-top-color:var(--green);animation:spin .75s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* ---------- Toast ---------- */
.toast{position:fixed;left:50%;bottom:1.6rem;transform:translateX(-50%) translateY(140%);
  z-index:110;background:var(--ink);color:#fff;padding:.8rem 1.3rem;border-radius:100px;
  font-size:.88rem;font-weight:500;box-shadow:var(--shadow-md);transition:transform .32s var(--ease);
  max-width:calc(100% - 2rem);text-align:center}
.toast.show{transform:translateX(-50%) translateY(0)}

/* ---------- Responsive ---------- */
@media (max-width:720px){
  .grid2,.grid3,.radio-cards,.up-pair{grid-template-columns:1fr}
  .reg-progress .pl{display:none}
  .reg-progress li.is-on .pl{display:inline}
  .reg-progress--3 .pl{display:none}
  .reg-progress--3 li.is-on .pl{display:inline}
  .fsec-head h2{font-size:1.15rem}
  .rstep-nav--end .btn{min-width:0;width:100%}
  .reg-progress{gap:.45rem}
  .reg-progress-wrap{top:60px}
  .reg-head-in{height:60px}
  .reg-brand-t{font-size:.97rem;white-space:nowrap}
  .help-long{display:none}
  .help-short{display:inline}
  .confirm-row{grid-template-columns:1fr}
  .rstep-nav{gap:.6rem}
  .rstep-nav .btn{min-width:0;flex:1}
  .pv-rows{grid-template-columns:1fr;gap:.1rem .5rem}
  .pv-rows dt{padding-top:.5rem}
  .pv-rows dd{padding-bottom:.35rem;border-bottom:1px solid var(--line-soft)}
  .terms-box{max-height:260px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* ---------- Print: the preview becomes the record copy ---------- */
@media print{
  .reg-head,.reg-progress-wrap,.reg-foot,.rstep-nav,.panel--confirm,.overlay,.toast,
  .rstep-head .eyebrow,.done-btns,.reg-help,.pv-editbar,.rstep-head .lede{display:none!important}
  /* the sheet prints as the filled registration form */
  .sheet{border:none;box-shadow:none;padding:0;break-inside:auto}
  .sheet-terms,.sheet-sign{break-inside:avoid}
  body,.reg-body{background:#fff}
  .reg-main{padding:0}
  .reg-wrap{width:100%}
  .pv-block,.done-card{box-shadow:none;border-color:#CCC;break-inside:avoid;page-break-inside:avoid}
  .pv-edit{display:none}
  .pv-doc img,.pv-doc .pv-pdf{height:150px}
  a[href]::after{content:""}
}
