/* Axis theme: add-place page. Compact form card beside a live preview, Google-style stepper and type chips. Loaded after forms.css; tokens only. */
.ap-head{margin:8px 0 0}
.ap-head h1{margin:0;font-size:28px;font-weight:500;line-height:1.35;letter-spacing:0}
.ap-head p{margin:6px 0 0;max-width:62ch;color:var(--muted);font-size:15px;line-height:1.6}
.ap-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;margin-top:24px;align-items:start;max-width:1040px}
.ap-main{min-width:0}
@media (max-width:960px){.ap-grid{grid-template-columns:minmax(0,1fr);max-width:720px}}

/* stepper: three dots joined by a line, label beside each dot */
.ap-steps{position:relative;gap:0;margin:0 0 16px}
.ap-steps li{display:flex;align-items:center;flex:1 1 0}
.ap-steps li:not(:last-child)::after{content:"";flex:1;height:1px;margin:0 12px;background:var(--line)}
.ap-steps button{width:auto;flex:0 1 auto;padding:6px 4px;border:0;border-radius:999px;font-size:14px}
.ap-steps button[aria-current=step],.ap-steps button.done{border:0}
.ap-steps .n{flex:0 0 24px;width:24px;height:24px;font-size:12px}
.ap-steps button[aria-current=step] .t{font-weight:600}
@media (max-width:480px){.ap-steps li:not(:last-child)::after{margin:0 8px}}

/* the step card */
.ap-card{border:1px solid var(--line);border-radius:16px;padding:24px;background:var(--bg);min-width:0}
.ap-card.fm-panel + .ap-card.fm-panel{margin-top:16px}
.fm-wz .ap-card.fm-panel + .ap-card.fm-panel{margin-top:0}
.ap-h{margin:0;font-size:20px;font-weight:500;line-height:1.4}
.ap-h:focus{outline:0}
.ap-d{margin:4px 0 20px;color:var(--muted);font-size:14px;line-height:1.6}
.ap-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.ap .fm-grid2{gap:20px 16px}
.ap .fm-input{min-height:48px;padding:11px 14px;font-size:15px}
.ap textarea.fm-input{min-height:112px}
.ap .fm-label{font-size:13px;font-weight:500;color:var(--muted);margin-bottom:6px}
.ap .fm-field.has-error > .fm-label{color:var(--red)}
@media (max-width:600px){.ap-card{padding:20px 16px;border-radius:14px}.ap-head h1{font-size:24px}}

/* actions: back on the start side, next/send on the end side */
.ap-actions{display:flex;align-items:center;gap:8px;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
.ap-actions .btn{height:44px;padding:0 24px;border-radius:999px;font-size:15px}
.ap-actions .btn-fill{margin-inline-start:auto}
.ap-actions .btn-text{padding:0 16px}
@media (max-width:600px){.ap-actions .btn-fill{flex:1}}

/* map tools and map */
.ap-maptools{display:flex;flex-wrap:wrap;gap:8px}
.ap-maptools .btn{height:40px;padding:0 16px;border-radius:999px;font-size:14px;background:transparent;border:1px solid var(--line)}
.ap-maptools .btn:hover{background:var(--surface);box-shadow:none}
.ap-map{height:280px;border-radius:12px}

/* optional groups folded away */
.ap-more{border:1px solid var(--line);border-radius:12px;padding:0 14px}
.ap-more summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;list-style:none;font-size:14px;font-weight:500;color:var(--primary)}
.ap-more summary::-webkit-details-marker{display:none}
.ap-more summary svg{transition:transform .15s}
.ap-more[open] summary svg{transform:rotate(180deg)}
.ap-more[open]{padding-bottom:14px}
.ap-more summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:8px}

/* submitter (guests only) */
.ap-you{padding:16px;border-radius:12px;background:var(--surface)}
.ap-you-t{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-weight:500;font-size:14px}
.ap-you-t svg{color:var(--primary)}
.ap-you .fm-input{background:var(--bg)}

/* side: live preview and what happens next */
.ap-side{display:grid;gap:16px;position:sticky;top:84px}
.ap-prev{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--bg)}
.ap-prev-top{height:96px;display:grid;place-items:center;background:var(--soft,var(--surface));transition:background-color .2s}
.ap-prev-ic{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--bg);color:var(--c,var(--primary));box-shadow:var(--shadow)}
.ap-prev-body{display:grid;gap:4px;padding:14px 16px 16px}
.ap-prev-lbl{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.ap-prev b{font-size:17px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.ap-prev b.is-empty{color:var(--muted);font-weight:400}
.ap-prev-type{font-size:14px;color:var(--c,var(--muted))}
.ap-prev-loc{font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.ap-prev-type:empty,.ap-prev-loc:empty{display:none}
.ap-how{padding:16px;border-radius:16px;background:var(--surface)}
.ap-how h2{margin:0 0 10px;font-size:15px;font-weight:500}
.ap-how ol{margin:0;padding:0;list-style:none;counter-reset:ap;display:grid;gap:10px}
.ap-how li{counter-increment:ap;display:flex;gap:10px;font-size:14px;line-height:1.55;color:var(--muted)}
.ap-how li::before{content:counter(ap);flex:0 0 22px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--bg);color:var(--text);font:500 12px "Roboto",var(--font)}
@media (max-width:960px){.ap-side{position:static}.ap-prev{display:none}}

.ap-done-card{max-width:720px;margin-top:24px;border:1px solid var(--line);border-radius:16px}

/* ===== SUNDIAL add-place: a mosque facade. Three arched bays in one row (the central iwan taller and wider), the plinth with the send button under them ===== */
.apz-head{text-align:center;max-width:760px;margin:8px auto 0}
.apz-head h1{font-size:clamp(28px,4vw,40px)}
html:lang(ur) .apz-head h1{line-height:2}
.apz-head p{margin-inline:auto}
.apz-main{max-width:1240px;margin:0 auto}
.apz-facade{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr);gap:14px;align-items:stretch;margin-top:84px}
.apz .apz-bay{position:relative;margin:0;padding:6px 20px 22px;border:0;border-radius:0;background:var(--surface)}
.apz .apz-bay::before{content:"";position:absolute;inset-inline:0;bottom:100%;height:46px;background:var(--surface);-webkit-mask:var(--sd-arch) center/100% 100% no-repeat;mask:var(--sd-arch) center/100% 100% no-repeat;pointer-events:none}
.apz .apz-bay2::before{height:78px}
.apz .apz-bay2{margin-top:-32px}
.apz .ap-card.fm-panel + .ap-card.fm-panel{margin-top:0}
.apz-num{position:absolute;top:-30px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--primary);color:var(--on-primary);font:700 17px var(--sd-num)}
.apz .apz-bay2 .apz-num{top:-58px}
.apz .ap-h{margin-top:14px;text-align:center;font-family:var(--sd-head);font-size:21px;font-weight:700}
html:lang(ur) .apz .ap-h{line-height:2}
.apz .ap-d{text-align:center}
.apz .fm-grid2{grid-template-columns:minmax(0,1fr)}
.apz .apz-bay2 .ap-map{height:340px}
.apz .fm-input{background:var(--bg)}
/* the plinth: a sandstone base across the whole facade */
.apz-plinth{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 28px;margin-top:0;padding:18px 24px;background:var(--surface-2);border-top:4px solid var(--sd-sand)}
.apz-plinth .ap-how{flex:1 1 520px;padding:0;background:transparent}
.apz-plinth .apz-how-h{margin:0 0 8px;font-size:16px}
.apz-plinth .ap-how ol{display:flex;flex-wrap:wrap;gap:6px 22px}
.apz-plinth .ap-how li::before{background:var(--surface)}
.apz-plinth .btn-fill{height:50px;padding:0 30px;font-size:16px}
@media (max-width:1100px){
  .apz-facade{grid-template-columns:minmax(0,1fr);gap:64px;margin-top:64px;max-width:720px;margin-inline:auto}
  .apz .apz-bay2{margin-top:0}
  .apz .apz-bay2::before{height:46px}
  .apz .apz-bay2 .apz-num{top:-30px}
  .apz-plinth{max-width:720px;margin-inline:auto}
}
@media (min-width:640px) and (max-width:1100px){.apz .fm-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.apz .apz-bay{padding:6px 14px 18px}.apz-plinth{padding:16px 14px}.apz-plinth .btn-fill{width:100%;justify-content:center}}
