/* Apply form and confirmation page. Built on the --jh-* tokens and the jc- vocabulary in circle.css. */
.jc .jc-ap{padding-block:24px 32px}
.jc .jc-ap h1{max-width:none;margin:0 0 12px;font-size:clamp(32px,8.6vw,48px);line-height:1.05}
.jc-ap__head{max-width:760px;margin:0 0 16px}
.jc-lede{max-width:62ch;margin:0;color:var(--jh-muted);font-size:16px;line-height:1.65}
.jc-lede a,.jc-ap a:not(.jc-card):not(.jc-button){color:var(--jh-gold-soft);text-underline-offset:4px}
.jc-ap__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}
.jc-banner{max-width:760px;margin:0 0 18px;padding:14px 16px;border:1px solid #F2B8A8;border-radius:var(--jc-r-s);background:var(--jh-panel);font-size:15px;line-height:1.5}
.jc-banner--note{border-color:rgba(200,150,43,.55)}
@media(min-width:900px){
  .jc .jc-ap{padding-block:56px 96px}
  .jc-ap__grid{grid-template-columns:minmax(0,1fr) 300px;gap:clamp(32px,5vw,72px)}
  .jc-side{position:sticky;top:96px}
}

/* fields */
.jc-ap form{display:block;max-width:none}
.jc-ap .field{display:grid;gap:6px;margin:0 0 18px}
.jc-ap label,.jc-ap .field>legend{font-size:15px;font-weight:600;color:var(--jh-text)}
.jc-ap .hint{color:var(--jh-muted);font-size:13px;font-weight:400;line-height:1.5}
.jc-ap input:not([type=checkbox]),.jc-ap select,.jc-ap textarea{width:100%;min-height:48px;padding:11px 14px;border:1px solid rgba(244,236,217,.35);border-radius:var(--jc-r-s);background:var(--jh-panel);color:var(--jh-text);font:400 16px/1.4 Inter,system-ui,sans-serif}
.jc-ap textarea{min-height:128px;resize:vertical}
.jc-ap input::placeholder{color:var(--jh-faint)}
.jc-ap input:focus-visible,.jc-ap select:focus-visible,.jc-ap textarea:focus-visible{outline:3px solid var(--jh-gold-soft);outline-offset:2px;border-color:var(--jh-gold)}
.jc-ap .cols2{display:grid;gap:0 18px}
@media(min-width:640px){.jc-ap .cols2{grid-template-columns:1fr 1fr}}
.jc-ap .field:has(+ .jc-error:not(:empty)){margin-bottom:6px}
.jc-ap .jc-error{margin:0 0 18px}
.err{margin:0;color:#F2B8A8;font-size:14px;line-height:1.45}
.jc-posts{display:grid;gap:8px;min-width:0;margin:0 0 18px;padding:0;border:0}
.jc-posts legend{padding:0;margin:0 0 8px;font-size:15px;font-weight:600}
.jc-posts .err{margin-top:2px}
.jc-ap .hp{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}

/* other platforms repeater */
.jc-other{display:grid;gap:10px;min-width:0;margin:0 0 18px;padding:0;border:0}
.jc-other>legend{padding:0;margin:0 0 2px;font:600 15px/1.4 Inter,system-ui,sans-serif;color:var(--jh-text)}
.jc-other>legend .hint{font:400 13px/1.5 Inter,system-ui,sans-serif}
.jc-other__rows{display:grid;gap:14px}
.jc-other__row{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:12px 14px 4px;border:1px solid var(--jc-hair);border-radius:var(--jc-r-s)}
.jc-other__f.field{margin:0 0 12px}
.jc-other__remove,.jc-other__add{min-height:44px;padding:0 14px;border:1px solid rgba(244,236,217,.35);border-radius:var(--jc-r-s);background:transparent;color:var(--jh-gold-soft);font:600 15px/1.2 Inter,system-ui,sans-serif;cursor:pointer}
.jc-other__remove{justify-self:start;margin:0 0 12px;border-color:transparent;padding-inline:0;text-decoration:underline;text-underline-offset:4px}
.jc-other__add{justify-self:start}
.jc-other__add:hover,.jc-other__remove:hover{color:var(--jh-text)}
.jc-other__add:focus-visible,.jc-other__remove:focus-visible{outline:3px solid var(--jh-gold-soft);outline-offset:2px}
.jc-other__add[hidden],.jc-other__remove[hidden]{display:none}
@media(min-width:640px){
  .jc-other__row{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;gap:0 14px;align-items:start}
  .jc-other__remove{align-self:start;margin:24px 0 12px;min-width:44px}
}

/* optional fold for invited visitors */
.jc-ap details.more{margin:2px 0 18px;border-top:1px solid var(--jc-hair);padding-top:4px}
.jc-ap details.more>summary{display:flex;align-items:center;gap:10px;min-height:48px;cursor:pointer;color:var(--jh-gold-soft);font-weight:600;font-size:15px;list-style:none}
.jc-ap details.more>summary::-webkit-details-marker{display:none}
.jc-ap details.more>summary::before{content:"+";display:inline-grid;place-items:center;flex:none;width:22px;height:22px;border:1px solid currentColor;border-radius:50%;font-size:15px;line-height:1}
.jc-ap details.more[open]>summary::before{content:"\2212"}
.jc-ap details.more>summary:focus-visible{outline:3px solid var(--jh-gold-soft);outline-offset:2px;border-radius:6px}
.jc-ap details.more[open]>summary{margin-bottom:10px}

/* consent boxes: the real input is a 44 px hit area, the drawn box sits inside it */
.jc-ap .chk{position:relative;display:block;min-height:48px;padding:10px 0 10px 56px;font-weight:400;font-size:15px;line-height:1.55;color:var(--jh-text);cursor:pointer}
.jc-ap .chk input{position:absolute;left:0;top:2px;width:44px;height:44px;margin:0;opacity:0;cursor:pointer}
.jc-ap .chk>span::before{content:"";position:absolute;left:10px;top:12px;width:24px;height:24px;border:2px solid rgba(244,236,217,.55);border-radius:6px;background:var(--jh-panel)}
.jc-ap .chk>span::after{content:"";position:absolute;left:18px;top:17px;width:7px;height:12px;border:solid var(--jh-page);border-width:0 2px 2px 0;transform:rotate(45deg);opacity:0}
.jc-ap .chk input:checked+span::before{background:var(--jh-gold);border-color:var(--jh-gold)}
.jc-ap .chk input:checked+span::after{opacity:1}
.jc-ap .chk input:focus-visible+span::before{outline:3px solid var(--jh-gold-soft);outline-offset:2px}
.jc-ap .chk input[aria-invalid=true]+span::before{border-color:#F2B8A8}
.jc-joining{margin:0 0 0 56px}

/* step 3 */
.jc-sum{margin:0 0 14px}
.jc-sum[hidden]{display:none}
.jc .jc-sum h2,.jc .jc-next h2{max-width:none;margin:0 0 10px;font-size:19px;line-height:1.2}
.jc-sum dl{margin:0;border-top:1px solid var(--jc-hair)}
.jc-sum__row{display:grid;grid-template-columns:minmax(0,6.5rem) minmax(0,1fr) auto;column-gap:10px;align-items:center;min-height:44px;border-bottom:1px solid var(--jc-hair)}
.jc-sum__row[hidden]{display:none}
.jc-sum dt{margin:0;font-size:13px;line-height:1.3;color:var(--jh-muted)}
.jc-sum dd{margin:0;min-width:0;padding-block:4px;font-size:15px;line-height:1.4;overflow-wrap:anywhere;color:var(--jh-text)}
.jc-sum dd.is-empty{color:var(--jh-faint)}
.jc-sum__blank{margin:10px 0 0;color:var(--jh-muted);font-size:14px;line-height:1.5}
.jc-sum__blank[hidden]{display:none}
.jc-sum__edit a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 6px;font-size:14px;font-weight:600}
.jc-next{margin:0 0 14px}
.jc-next .jc-strip__track>*{flex-basis:90vw}
.jc-next .jc-card{padding:14px 16px}
@media(min-width:760px){.jc-next .jc-strip__track>*{flex-basis:auto}}
.jc-next .jc-card h3{font-size:18px}
.jc-submit{margin:0 0 14px}
.jc-submit .jc-button{width:100%}
@media(min-width:640px){.jc-submit .jc-button{width:auto;min-width:260px}}
.jc-honest{margin:0}

/* side panel */
.jc-side{padding:0 20px;border:1px solid var(--jc-hair);border-radius:var(--jc-r);background:var(--jh-panel)}
.jc-side>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;cursor:pointer;list-style:none;font:600 20px/1.2 Fraunces,Georgia,serif;color:var(--jh-text)}
.jc-side>summary::-webkit-details-marker{display:none}
.jc-side>summary::after{content:"";width:9px;height:9px;margin-top:-5px;border-right:2px solid var(--jh-gold);border-bottom:2px solid var(--jh-gold);transform:rotate(45deg)}
.jc-side[open]>summary::after{transform:rotate(225deg)}
.jc-side>summary:focus-visible{outline:3px solid var(--jh-gold-soft);outline-offset:2px;border-radius:6px}
.jc-side ul{margin:0 0 12px;padding-left:20px;color:var(--jh-muted);font-size:15px;line-height:1.6}
.jc-side li{margin:0 0 6px}
.jc-side__reply{margin:0 0 18px;font-size:14px;line-height:1.5;color:var(--jh-text)}
@media(min-width:900px){.jc-side{padding-top:6px}.jc-side>summary{pointer-events:none}.jc-side>summary::after{display:none}}

/* confirmation */
.jc-thanks__sec{padding-block:18px}
.jc .jc-thanks__sec h2{max-width:none;margin:0 0 14px;font-size:clamp(24px,6vw,32px)}
.jc-thanks .jc-card{min-height:100%}
.jc-thanks__shop{margin:18px 0 0}
@media(min-width:1024px){.jc-thanks__go .jc-strip{--jc-cols:5}}
.jc-thanks__go .jc-card h3{font-size:18px}

.jc-stepper__progress{margin-bottom:14px}
@media(min-width:760px){.jc-stepper__progress{margin-bottom:20px}}
.jc-ap .jc-stepper legend{margin-bottom:8px}
.jc .jc-sum h2,.jc .jc-next h2{margin-bottom:6px}

/* email code step */
.jc-ap input[readonly]{border-style:dashed}
.jc-start__form{max-width:480px}
.jc-code__form{max-width:420px}
.jc-ap #code{font:600 26px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.3em;text-align:center}
.jc-code__more{display:flex;flex-wrap:wrap;gap:4px 24px;margin:6px 0 14px}
.jc-code__more form{margin:0}
.jc-code__act{min-height:44px;padding:0;border:0;background:none;color:var(--jh-gold-soft);font:400 15px/1.4 Inter,system-ui,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer;touch-action:manipulation}
.jc-code__act:focus-visible{outline:3px solid var(--jh-gold-soft);outline-offset:2px;border-radius:4px}
.jc-code__act:disabled{color:var(--jh-muted);text-decoration:none;cursor:not-allowed}
.jc-code__tip{max-width:46ch}

/* account check: the code, our account and the steps (thank-you page) */
.jc-check__code{display:flex;flex-direction:column;gap:4px;margin:0 0 14px;padding:16px 20px;border:1px solid var(--jc-gold-60);border-radius:var(--jc-r);background:var(--jh-panel)}
.jc-check__code b{-webkit-user-select:all;user-select:all;display:block;overflow-wrap:anywhere;font:600 clamp(22px,6vw,30px)/1.25 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em;color:var(--jh-gold-soft)}
.jc-check__acct{margin:0 0 10px}
.jc-check__steps{margin:0 0 12px;padding-left:22px;max-width:60ch;line-height:1.6;color:var(--jh-muted)}
.jc-check__steps li{margin:0 0 6px}
