/* Mabroor Essentials — "Rejected? Here's how to fix it." A plain, responsive tutorial page: a notice, a short intro, four
   accordions. Mabroor Essentials colours (navy, gold, light blue-grey, red only as the rejection accent); Fraunces for
   headlines, Manrope for text. No simulated pages, no tour, no modals. */
:root{
  --navy:#14264f; --navy-2:#1f3a7a; --gold:#c9a227; --gold-light:#f3d98a; --gold-soft:#fff8dc; --gold-text:#6b3f00;
  --bg:#f4f6fa; --bg-2:#e9edf3; --card:#ffffff;
  --text:#1b2230; --muted:#5b6474; --line:#dde3ec; --line-2:#c3ccd9;
  --danger:#c0392b; --danger-2:#a12f22; --danger-soft:#fbe9e7; --green:#2e7d4f; --green-soft:#e3f3e8;
  --radius:16px; --ease:cubic-bezier(.4,0,.2,1);
  --font:"Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif; --serif:"Fraunces",Georgia,"Times New Roman",serif;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:16px}
body{font-family:var(--font);font-weight:500;color:var(--text);background:var(--bg);line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--navy-2);text-decoration-thickness:1px;text-underline-offset:2px}
a:hover{color:var(--navy)}
button{font:inherit;color:inherit}
button,a,select,label,input{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em;background:var(--bg-2);padding:0 .3em;border-radius:4px}
img{max-width:100%}
h1,h2,h3{margin:0;line-height:1.2}
p{margin:0 0 .75em}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:6px}
.skip{position:absolute;left:12px;top:-60px;background:var(--navy);color:#fff;padding:10px 14px;border-radius:999px;z-index:100;font-weight:700}
.skip:focus{top:12px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* ---------- top bar ---------- */
.top{background:var(--navy);color:#fff}
.top-inner{max-width:1080px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;gap:14px}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800;letter-spacing:.2px;min-width:0}
.brand:hover .brand-name{text-decoration:underline}
.brand-logo{width:34px;height:34px;border-radius:8px;background:#fff;padding:2px;object-fit:contain;flex:none}
.top-note{margin-left:auto;font-size:.8rem;font-weight:700;color:var(--gold-light);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:5px 12px;white-space:nowrap}
.top-real{color:#fff;text-decoration:none;font-weight:700;font-size:.85rem;background:rgba(255,255,255,.1);padding:7px 12px;border-radius:999px;white-space:nowrap}
.top-real:hover{background:rgba(255,255,255,.2);color:#fff}
body.is-embedded .top{display:none}

/* ---------- page ---------- */
.page{max-width:1080px;margin:0 auto;padding:0 20px 56px}
.hero{padding:36px 0 22px;max-width:760px}
.kicker{margin:0 0 8px;font-size:.74rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--danger)}
.title{font-family:var(--serif);font-weight:700;font-size:clamp(2.1rem,5.2vw,3.4rem);line-height:1.02;color:var(--navy);letter-spacing:-.015em}
.title em{font-style:italic;font-weight:600;color:var(--danger)}
.lead{margin:16px 0 0;font-size:1.08rem;color:var(--muted);max-width:62ch}
.lead strong{color:var(--text)}
.eyebrow{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}

/* the admin notice */
.admin-notice{display:flex;gap:16px;align-items:flex-start;background:linear-gradient(135deg,var(--gold-soft),#fff);border:1.5px solid var(--gold);border-left-width:8px;border-radius:var(--radius);padding:18px 20px;margin:8px 0 18px;box-shadow:0 10px 30px rgba(201,162,39,.12)}
.an-ico{flex:none;width:52px;height:52px;border-radius:14px;background:var(--navy);color:var(--gold-light);display:grid;place-items:center}
.admin-notice h2{font-family:var(--serif);font-weight:700;font-size:1.35rem;color:var(--navy);margin-bottom:6px}
.admin-notice p{margin:0;color:#3d3522}
.admin-notice strong{color:var(--navy)}

/* cards */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px;box-shadow:0 8px 30px rgba(20,38,79,.06)}
.card h2{font-family:var(--serif);font-weight:700;font-size:1.4rem;color:var(--navy);margin-bottom:10px}
.card h2 a{color:var(--navy-2)}
.mini{margin:0;padding-left:22px}
.mini li{margin:0 0 8px}
.safety{margin:14px 0 0;padding:10px 14px;border-radius:10px;background:var(--bg);color:var(--muted);font-size:.9rem}
.intro{margin-bottom:26px}

/* ---------- accordions ---------- */
.how{color:var(--muted);margin:0 0 12px}
.how .how-link{color:var(--navy);font-weight:800}
.how .how-link.plain{font-weight:500;color:var(--navy-2)}
.acc{background:var(--card);border:1.5px solid var(--line);border-radius:var(--radius);margin:0 0 14px;box-shadow:0 8px 30px rgba(20,38,79,.06);transition:border-color .3s var(--ease),box-shadow .3s var(--ease)}
.acc:hover{border-color:var(--line-2)}
.acc.is-open{border-color:var(--navy);box-shadow:0 18px 50px rgba(20,38,79,.12)}
.acc-h{margin:0}
.acc-btn{width:100%;display:flex;align-items:center;gap:16px;padding:18px 20px;background:none;border:0;text-align:left;cursor:pointer;border-radius:var(--radius);min-height:72px}
.acc-btn:focus-visible{outline-offset:-3px}
.acc-no{flex:none;width:44px;height:44px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-family:var(--serif);font-weight:700;font-size:1.3rem;transition:background .3s var(--ease),color .3s var(--ease)}
.acc.is-open .acc-no{background:var(--gold);color:var(--navy)}
.acc-t{display:flex;flex-direction:column;gap:3px;min-width:0}
.acc-title{font-family:var(--serif);font-weight:700;font-size:1.32rem;color:var(--navy);line-height:1.15}
.acc-sub{font-size:.9rem;color:var(--muted)}
.acc-chev{flex:none;margin-left:auto;width:12px;height:12px;border-right:2.5px solid var(--navy);border-bottom:2.5px solid var(--navy);transform:rotate(45deg) translate(-2px,-2px);transition:transform .35s var(--ease)}
.acc.is-open > .acc-h .acc-chev{transform:rotate(-135deg) translate(-2px,-2px)}
/* the smooth open/close: a grid row that goes from 0fr to 1fr, so no fixed heights are needed */
.acc-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--ease)}
.acc-inner{min-height:0;overflow:hidden;visibility:hidden;transition:visibility 0s linear .45s}
.acc.is-open .acc-panel{grid-template-rows:1fr}
.acc.is-open .acc-inner{visibility:visible;transition-delay:0s}
.acc-body{padding:4px 24px 26px 80px;border-top:1px solid var(--line);margin-top:2px}
.acc-lead{margin:18px 0 6px;font-size:1.02rem}
.sub-h{font-family:var(--serif);font-weight:700;font-size:1.15rem;color:var(--navy);margin:22px 0 4px}

/* the contact part: same card look as the accordions, always open */
.static-sec{background:var(--card);border:1.5px solid var(--line);border-radius:var(--radius);margin:0 0 14px;box-shadow:0 8px 30px rgba(20,38,79,.06)}
.sec-head{display:flex;align-items:center;gap:16px;padding:18px 20px;border-bottom:1px solid var(--line)}
.sec-head .acc-no{background:var(--gold);color:var(--navy)}
.sec-head .acc-title{margin:0}
.sec-body{padding:4px 24px 26px 80px}

/* the quick arrow summary at the top of a section */
.path{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:16px 0 2px;padding:10px 12px;border-radius:12px;background:var(--gold-soft);border:1.5px solid var(--gold);font-weight:700;font-size:.92rem;color:var(--navy)}
.path span:not(.arr):not(.path-lbl){background:#fff;border:1px solid var(--gold-light);padding:5px 10px;border-radius:999px;line-height:1.2}
.path .path-lbl{flex-basis:100%;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-text);font-weight:800;margin-bottom:-2px}
.path .arr{color:var(--gold-text);font-weight:800;font-size:1.05rem}
.path + .acc-lead{margin-top:14px}
.path + .sub-h{margin-top:18px}
.sub-h + .acc-lead{margin-top:6px}
.path .path-link{margin-left:auto;background:var(--navy);color:#fff;border:0;border-radius:999px;padding:7px 13px;font-weight:800;font-size:.88rem;cursor:pointer;line-height:1.2}
.path .path-link:hover{background:var(--navy-2)}
@media (max-width:640px){.path .path-link{margin-left:0}}

/* a sub drop-down inside a section (the click-by-click steps) */
.sub-acc{border:1.5px solid var(--line);border-radius:14px;margin-top:22px;background:#fbfcfe;transition:border-color .3s var(--ease)}
.sub-acc.is-open{border-color:var(--navy)}
.sub-acc-h{margin:0}
.sub-acc-btn{width:100%;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 16px;background:none;border:0;text-align:left;cursor:pointer;border-radius:14px;min-height:56px}
.sub-acc-btn:focus-visible{outline-offset:-3px}
.sub-acc-title{font-family:var(--serif);font-weight:700;font-size:1.15rem;color:var(--navy)}
.sub-acc-sub{font-size:.88rem;color:var(--muted)}
.sub-acc-btn .acc-chev{margin-left:auto}
.sub-acc.is-open .sub-acc-btn .acc-chev{transform:rotate(-135deg) translate(-2px,-2px)}
.sub-acc-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--ease)}
.sub-acc-inner{min-height:0;overflow:hidden;visibility:hidden;transition:visibility 0s linear .45s}
.sub-acc.is-open .sub-acc-panel{grid-template-rows:1fr}
.sub-acc.is-open .sub-acc-inner{visibility:visible;transition-delay:0s}
.sub-acc-body{padding:0 16px 12px;border-top:1px solid var(--line)}

/* steps */
.steps{list-style:none;margin:0;padding:0;counter-reset:step}
.step{counter-increment:step;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px 28px;padding:18px 0;border-top:1px solid var(--line);align-items:start}
.step:first-child{border-top:0}
.step.step-wide{grid-template-columns:minmax(0,1fr)}
.step-text h3{display:flex;align-items:flex-start;gap:10px;font-family:var(--serif);font-weight:700;font-size:1.12rem;color:var(--navy);margin-bottom:8px}
.step-text h3::before{content:counter(step);flex:none;width:28px;height:28px;border-radius:50%;background:var(--bg-2);color:var(--navy);font-family:var(--font);font-weight:800;font-size:.86rem;display:inline-grid;place-items:center;margin-top:1px}
.step-text h3.plain::before{content:"";background:none;width:28px}
.step-text h3.plain{margin-top:4px}
.step-text p{margin:0 0 8px}
.step-text p:last-child{margin-bottom:0}
.step-text > p,.step-text > .tip,.step-text > .notices,.step-text > .ways,.step-text > .nc,.step-text > .phone-box,.step-text > .no-wa,.step-text > .store-links,.step-text > .store-note,.step-text > .script{margin-left:38px}
.tip{background:var(--gold-soft);border-left:3px solid var(--gold);padding:10px 12px;border-radius:8px;color:var(--gold-text);font-size:.92rem;margin:8px 0}
.tip strong{color:#4a2c00}
.tip.warn{background:var(--danger-soft);border-left-color:var(--danger);color:#7a1f14}
.tip.warn strong{color:var(--danger-2)}
.link{background:none;border:0;padding:0;color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:pointer}

/* screenshot slots: a dashed card until the file exists in shots/ */
.shot{margin:0;min-width:0}
.shot-frame{position:relative;border-radius:12px;overflow:hidden;background:#fff;aspect-ratio:16/10}
.shot.has-img .shot-frame{aspect-ratio:auto;border:1px solid var(--line);box-shadow:0 8px 24px rgba(20,38,79,.08)}
.shot img{display:block;width:100%;height:auto}
.shot img[hidden]{display:none}   /* Safari and others: the hidden attribute must beat display:block */
.shot-ph{position:absolute;top:0;right:0;bottom:0;left:0;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:16px 20px;border:2px dashed var(--line-2);border-radius:12px;color:var(--muted);font-size:.86rem;line-height:1.4;background:repeating-linear-gradient(135deg,#f7f9fc 0 12px,#f1f4f9 12px 24px)}
.shot-ph::before{content:"";width:34px;height:34px;opacity:.55;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6474' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='16' rx='2'/><circle cx='9' cy='10' r='2'/><path d='m21 16-5-5-8 8'/></svg>") center/contain no-repeat}
.shot-ph .tag{font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:var(--gold-text);background:var(--gold-soft);padding:3px 9px;border-radius:999px}
.shot.has-img .shot-ph{display:none}
.shot figcaption{margin-top:8px;font-size:.84rem;color:var(--muted)}
.shot.compact{margin-top:10px}
.shot.compact .shot-frame{aspect-ratio:16/7}
.shot.compact.has-img .shot-frame{aspect-ratio:auto}
.shot.compact figcaption{font-size:.8rem}

/* the notices list (section 1) */
.notices{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.notice{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .1s}
.notice:hover{border-color:var(--navy-2);box-shadow:0 4px 14px rgba(20,38,79,.10)}
.notice:active{transform:scale(.995)}
.n-ico{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:.9rem;color:#fff}
.n-ico.photo{background:var(--danger)}.n-ico.passport{background:var(--navy-2);font-family:ui-monospace,Menlo,monospace;font-size:.72rem}.n-ico.validity{background:var(--gold);font-size:.95rem}.n-ico.garbled{background:#6c737f;font-family:ui-monospace,Menlo,monospace}.n-ico.name{background:#b54708;font-size:.78rem}.n-ico.other{background:var(--navy)}
.notice q{display:block;font-weight:700;quotes:"“" "”";color:var(--text)}
.notice q.mono{font-family:ui-monospace,Menlo,monospace;font-size:.78rem;font-weight:500;color:#384250;overflow-wrap:anywhere}
.n-mean{display:block;font-size:.9rem;color:var(--muted);margin-top:3px}
.go{display:inline-flex;align-items:center;gap:6px;border:1.5px solid var(--navy);color:#fff;background:var(--navy);border-radius:999px;padding:9px 14px;font-weight:700;font-size:.84rem;cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s}
.go .chev{font-size:1.15em;line-height:1;margin-top:-1px}
.go:hover,.notice:hover .go{background:var(--navy-2);border-color:var(--navy-2)}
.next-up{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:18px 0 0 38px;padding:14px 16px;border-radius:12px;background:var(--bg)}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:10px 18px;font-weight:700;border:1.5px solid var(--navy);color:var(--navy);background:#fff;cursor:pointer;text-decoration:none;line-height:1.1;transition:background .2s,color .2s}
.btn:hover{background:var(--bg-2);color:var(--navy)}
.btn.primary{background:var(--navy);color:#fff}
.btn.primary:hover{background:var(--navy-2);color:#fff}
.btn.sm{padding:7px 13px;font-size:.86rem}
.btn.wa{border-color:#128c7e;background:#25d366;color:#0b3d35;margin-top:6px}
.btn.wa:hover{background:#1fbf5a;color:#0b3d35}

/* section 2: the two tutorials */
.sub{border:1.5px solid var(--line);border-radius:14px;padding:6px 18px 10px;margin:22px 0 0;background:#fbfcfe}
.sub h3{font-family:var(--serif)}
.sub > h3{display:flex;align-items:center;gap:12px;font-size:1.3rem;color:var(--navy);margin:12px 0 6px}
.sub-tag{flex:none;width:34px;height:34px;border-radius:10px;background:var(--navy);color:#fff;display:grid;place-items:center;font-family:var(--font);font-weight:800;font-size:1rem}
.sub.passport .sub-tag{background:var(--gold);color:var(--navy)}
.sub-lead{color:var(--muted);font-size:.94rem;margin:0 0 6px}
.sub .steps{counter-reset:step}
.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-self:stretch}
.guide-card{margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.guide-card img{display:block;width:100%;height:auto}
.guide-card figcaption{padding:8px 12px;font-size:.84rem;font-weight:700;border-top:1px solid var(--line);color:var(--navy)}
.guide-card figcaption a{font-weight:600}
.guide-card.single{max-width:420px}
.guide-grid.three{grid-template-columns:repeat(3,1fr);margin:8px 0 14px}
.rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 6px}
.rule-card{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fbfcfe}
.rule-card h4{margin:0 0 6px;font-family:var(--serif);font-weight:700;font-size:1.05rem;color:var(--navy)}
.rule-card ul{margin:0;padding-left:18px;font-size:.92rem}
.rule-card li{margin-bottom:4px}
.rule-card .tip{margin:10px 0 0}
.limits{margin-top:22px}
.spec-table{width:100%;border-collapse:collapse;margin:8px 0 14px;font-size:.92rem;background:#fff;border-radius:12px;overflow:hidden;border:1px solid var(--line)}
.spec-table th,.spec-table td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line)}
.spec-table th{background:var(--bg);font-weight:800;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.spec-table tr:last-child td{border-bottom:0}
.fine{font-size:.82rem;color:var(--muted);margin:10px 0 0}

/* the file checker (light version of the walkthrough widget) */
.w{border:1.5px dashed var(--line-2);border-radius:12px;padding:14px 16px;background:#fff;font-size:.92rem}
.w .w-title{font-weight:700;margin-bottom:8px;color:var(--navy)}
.w .w-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.w .w-sel{flex:1;min-width:180px;padding:8px 10px;border:1px solid var(--line-2);border-radius:8px;font:inherit;background:#fff;color:var(--text)}
.w .w-file{display:inline-block;padding:8px 14px;border-radius:999px;background:var(--navy);color:#fff;font-weight:700;cursor:pointer}
.w .w-file:hover{background:var(--navy-2)}
.w .w-out{margin-top:10px;color:var(--muted);font-size:.86rem}
.w .w-ok{color:var(--green)}.w .w-bad{color:var(--danger)}
.w .w-ok span,.w .w-bad span{color:var(--muted)}
.w .w-verdict{margin-top:6px;font-weight:800}.w .w-verdict.ok{color:var(--green)}.w .w-verdict.bad{color:var(--danger)}

/* section 3: the two outputs, and the name checker */
.ways{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0}
.way{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff}
.way.alt{border-color:var(--gold);background:#fffdf5}
.way p{font-size:.92rem;margin:0 0 8px}
.ex{display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;font-size:.86rem;color:var(--muted)}
.ex b{background:var(--bg-2);color:var(--navy);padding:3px 8px;border-radius:6px;font-family:ui-monospace,Menlo,monospace;font-size:.8rem}
.way.alt .ex b{background:var(--gold-soft);color:var(--gold-text)}
.card-eyebrow{display:flex;align-items:center;gap:8px;font-size:.74rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--navy);margin:0 0 8px}
.card-eyebrow .n{width:22px;height:22px;border-radius:50%;background:var(--navy);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.76rem;flex:none}
.card-eyebrow.alt{color:#7a5a00}.card-eyebrow.alt .n{background:var(--gold);color:var(--navy)}
.restricted{margin-top:6px}
.restricted .mini li{margin-bottom:10px}

.nc{margin-top:12px}
.nc-pills{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 14px}
.nc-pills .lbl{font-size:.84rem;color:var(--muted);margin-right:2px}.nc-pills .sep{flex-basis:100%;height:0}
.cty-pill{border:1px solid var(--line-2);background:#fff;border-radius:999px;padding:6px 11px;font:inherit;font-size:.86rem;font-weight:700;cursor:pointer;color:var(--text)}
.cty-pill:hover{border-color:var(--navy)}
.cty-pill.is-on{background:var(--navy);border-color:var(--navy);color:#fff}
.nc-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.nc-outs{display:grid;gap:14px}
.nk-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.nk-card.alt{border-color:var(--gold);background:#fffdf5}
.nk-sub{font-size:.84rem;color:var(--muted);margin:0 0 10px}
.nk-field{margin:0 0 10px}
.nk-label{font-size:.84rem;font-weight:700;color:var(--text);margin-bottom:5px}.nk-label .req{color:var(--danger);margin-right:3px}
.nk-box{display:flex;align-items:center;gap:8px;min-height:42px;border:1px solid var(--line-2);border-radius:8px;background:var(--bg);padding:6px 12px}
.nk-val{flex:1;min-width:0;font-weight:700;overflow-wrap:anywhere}.nk-box.is-empty .nk-val{color:#9da4ae;font-weight:500}
.nk-box.is-over{border-color:var(--danger);background:#fff1ef}.nk-count{font-size:.78rem;color:var(--muted);flex:none}
.nc-note{padding:8px 10px;border-radius:8px;margin:6px 0;font-size:.84rem;border-left:4px solid var(--green);background:var(--green-soft);overflow-wrap:anywhere}
.nc-note.flag{border-left-color:var(--danger);background:#fff1ef}.nc-note.rule{border-left-color:var(--gold);background:var(--gold-soft)}
.nc-tools{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 6px}
.pp-card{background:linear-gradient(180deg,#f8f6ef,#f0ede2);border:1px solid #e1dccb;border-radius:14px;padding:16px 18px}
.pp-field{display:block;margin:10px 0 0}
.pp-label{display:block;font-size:.8rem;color:#4a5f8a;font-style:italic}
.pp-sub{display:block;font-size:.8rem;color:var(--muted);margin-top:1px}
.pp-input{width:100%;margin-top:4px;border:1.5px dashed #a9a28f;border-radius:8px;background:#fff;font-family:"Courier New",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:20px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:8px 10px;color:var(--text);outline:none}
.pp-input:focus{border-style:solid;border-color:var(--navy);box-shadow:0 0 0 3px rgba(20,38,79,.12)}
.pp-input::placeholder{color:#8a8370;font-family:var(--font);font-weight:500;font-size:15px;letter-spacing:0;text-transform:none}
.pp-tag{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:var(--navy);color:#fff;font-size:.7rem;font-weight:800;margin-right:6px;vertical-align:middle;font-style:normal}
.pp-family{margin-top:12px}.pp-family label{display:block;font-size:.84rem;color:var(--muted);margin-bottom:4px}
.pp-select{font:inherit;padding:7px 8px;border:1px solid var(--line-2);border-radius:8px;background:#fff;width:100%}
.pp-note{margin:10px 0 0;font-size:.84rem;color:var(--muted)}
.pp-sketch{display:block;width:100%;height:auto;margin:4px 0 10px;border-radius:12px;box-shadow:0 2px 10px rgba(20,38,79,.08)}
.pp-sketch .sk-page{fill:#f5f2e8;stroke:#e1dccb;stroke-width:1.5}
.pp-sketch .sk-title{fill:#8a97ad;font-size:11px;font-weight:700;letter-spacing:1.5px;text-anchor:middle;font-family:system-ui,sans-serif}
.pp-sketch .sk-photo{fill:#e3dfd3}.pp-sketch .sk-sil{fill:#cfcabd}
.pp-sketch .sk-lab{fill:#8593ab;font-size:7px;font-style:italic;font-family:system-ui,sans-serif}
.pp-sketch .sk-bar{fill:#d9d5c8}.pp-sketch .sk-name{fill:#c6bfa9}
.pp-sketch .sk-hi{fill:rgba(201,162,39,.16);stroke:#c9a227;stroke-width:1.5}
.pp-sketch .sk-tag{fill:#14264f}.pp-sketch .sk-tag-t{fill:#fff;font-size:9.5px;font-weight:800;text-anchor:middle;font-family:system-ui,sans-serif}
.pp-sketch .sk-mrz{fill:#aab1c0;font-size:9.5px;font-family:"Courier New",ui-monospace,monospace;letter-spacing:1px}
.pp-sketch .sk-wm{fill:#14264f;opacity:.12;font-size:16px;font-weight:800;text-anchor:middle;letter-spacing:2px;font-family:system-ui,sans-serif}

/* section 4: the call */
.store-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.store-links{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center}
.store-btn{display:inline-flex;align-items:center;border-radius:8px;line-height:0}
.store-btn img{display:block;height:44px;width:auto}
.store-btn.android img{height:66px;margin:-11px}   /* Google's badge file carries its own transparent margin */
.store-btn:focus-visible{outline:2px solid var(--accent,#0a7d5a);outline-offset:3px}
.store-note{font-size:.9rem;color:inherit;opacity:.8;margin:8px 0 0}
.phone-box{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:6px 0 8px;padding:12px 14px;border:1.5px dashed var(--danger);border-radius:12px;background:#fff8f6}
.phone-box .phone-label{flex:0 0 100%;font-size:.76rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75}
.phone-box .num{font-family:ui-monospace,Menlo,monospace;font-size:1.55rem;font-weight:700;letter-spacing:1px;color:var(--text)}
.no-wa{display:flex;gap:10px;align-items:flex-start;margin:8px 0 0;padding:10px 12px;border-radius:10px;background:var(--danger-soft);border:1px solid #e9b8b1;color:#7a1f14;font-size:.92rem;line-height:1.45}
.no-wa .no-wa-ico{flex:none;display:inline-flex;align-items:center;gap:4px;font-size:18px;line-height:1.2}
.no-wa .wa-ico{display:block}
.no-wa strong{color:var(--danger-2)}
.script{margin:10px 0;padding:14px 16px;border-left:4px solid var(--navy);background:var(--bg);border-radius:0 12px 12px 0;font-size:.96rem;color:var(--text)}
.script em{color:var(--navy-2);font-style:italic;font-weight:700}
.write-box{border:1px solid var(--line);border-radius:14px;padding:4px 18px 16px;background:#fff;margin:22px 0 0}
.write-box .sub-h{margin-top:14px}
.wb-lead{margin:0 0 12px;font-size:.92rem;color:var(--muted)}
.write-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.write-opt{border:1.5px dashed var(--line-2);border-radius:12px;padding:12px 14px;background:var(--bg)}
.wo-k{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:4px;font-weight:800}
.wo-main{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:1.02rem;font-weight:700;word-break:break-all}
.write-opt p{margin:8px 0 0;font-size:.88rem;line-height:1.5;color:var(--muted)}
.community{margin:18px 0 0;font-size:.92rem;color:var(--muted)}

/* the photo-guide viewer */
.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;inset:0;z-index:200;background:rgba(10,18,40,.9);display:flex;align-items:center;justify-content:center;padding:24px;cursor:zoom-out}
.lightbox[hidden]{display:none}
.lb-close{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;border:1.5px solid rgba(255,255,255,.5);background:rgba(255,255,255,.12);color:#fff;font-size:1.15rem;cursor:pointer;display:grid;place-items:center}
.lb-close:hover{background:rgba(255,255,255,.28)}
.lb-body{margin:0;max-width:min(1100px,100%);max-height:100%;display:flex;flex-direction:column;align-items:center;gap:10px}
.lb-body img{display:block;max-width:100%;max-height:calc(100vh - 120px);max-height:calc(100dvh - 120px);width:auto;height:auto;border-radius:12px;box-shadow:0 30px 80px rgba(0,0,0,.5);background:#fff}
.lb-body figcaption{color:#dfe6f3;font-size:.9rem;text-align:center}
.lb-body figcaption a{color:var(--gold-light);font-weight:700;cursor:pointer}
body.lb-open{overflow:hidden;position:fixed;width:100%}   /* position:fixed is what actually stops the page behind the viewer scrolling on iOS */
.guide-card a{cursor:zoom-in;display:block}

/* after + footer */
.after{margin-top:26px}
.foot{max-width:1080px;margin:0 auto;padding:22px 20px 44px;color:var(--muted);font-size:.84rem;border-top:1px solid var(--line)}
.foot a{color:var(--navy-2)}
.foot-links{margin-top:8px}

/* ---------- phones and narrow screens ---------- */
@media (max-width:900px){
  .step,.ways,.nc-grid,.write-grid,.rules-grid{grid-template-columns:minmax(0,1fr)}
  .acc-body{padding:4px 18px 22px}
  .sec-body{padding:4px 18px 22px}
  .step-text > p,.step-text > .tip,.step-text > .notices,.step-text > .ways,.step-text > .nc,.step-text > .phone-box,.step-text > .no-wa,.step-text > .store-links,.step-text > .script,.next-up{margin-left:0}
  .notice{grid-template-columns:30px minmax(0,1fr)}
  .notice .go{grid-column:2;justify-self:start;white-space:normal;text-align:left}
}
@media (max-width:640px){
  .top-inner{padding:8px 14px;gap:10px}
  .top-note{display:none}
  .brand-name{font-size:.95rem}
  .page{padding:0 16px 40px}
  .lightbox{padding:10px}
  .lb-close{top:calc(10px + env(safe-area-inset-top));right:10px}
  .lb-body img{max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px)}
  .go,.btn.sm,.cty-pill,.written-toggle{min-height:42px}
  .hero{padding:26px 0 16px}
  .lead{font-size:1rem}
  .admin-notice{padding:14px 14px;gap:12px}
  .an-ico{width:44px;height:44px}
  .card{padding:18px 16px}
  .acc-btn{padding:14px 14px;gap:12px}
  .acc-no{width:38px;height:38px;font-size:1.1rem}
  .acc-title{font-size:1.12rem}
  .acc-sub{font-size:.84rem}
  .acc-body{padding:2px 14px 18px}
  .sec-body{padding:2px 14px 18px}
  .sec-head{padding:14px 14px;gap:12px}
  .sub{padding:4px 12px 8px}
  .guide-grid,.guide-grid.three{grid-template-columns:1fr}
  .pp-input{font-size:16px;letter-spacing:.08em}
  .phone-box .num{font-size:1.3rem}
  .spec-table{font-size:.84rem}
  .spec-table th,.spec-table td{padding:8px}
}
