/* iPorse brand palette (approved by the marketing team, 2026-11-08). Loaded after every other stylesheet.
   Navy #2C3E50 · gold #C5A059 · sage #5D7052 · page #F2EDE3 · cards #FFFFFF · text #2D3134.
   2026-11-10: page cream deepened from the approved #F8F7F4 to #F2EDE3 (looked white on many screens; 1.17:1 against the
   white cards instead of 1.07:1), and gold text from #8A6A2C to #7A5D24 so it stays above 4.5:1 on the new cream.
   Gold is a background/border colour only: as text on white it is too faint (2.4:1), so gold-looking links use
   --iporse-gold-text, and text on gold buttons is a deep navy (5.4:1) instead of white (2.4:1). */
:root{
  --iporse-primary:#C5A059; --iporse-primary-hover:#B38D47; --iporse-on-gold:#1F2D3A; --iporse-gold-on-navy:#D9BC85; --iporse-gold-text:#7A5D24; --iporse-gold-soft:#F6EFE0;
  --iporse-navy:#2C3E50; --iporse-navy-2:#34495E; --iporse-sage:#5D7052; --iporse-sage-soft:#EBEFE6;
  --iporse-bg:#F2EDE3; --iporse-surface:#FFFFFF; --iporse-text:#2D3134; --iporse-muted:#5C636B;
  --iporse-border:rgba(44,62,80,.10); --iporse-shadow:0 4px 12px rgba(44,62,80,.04); --iporse-shadow-lift:0 10px 24px -12px rgba(44,62,80,.18);
  /* the original token names used by app.css and the page stylesheets */
  --bg:var(--iporse-bg); --ink:var(--iporse-text); --mute:var(--iporse-muted); --green:var(--iporse-sage); --green-d:#4A5A41;
  --glass:var(--iporse-surface); --glass-2:rgba(255,255,255,.94); --line:rgba(44,62,80,.12); --bad:#B3261E;
}
/* navy areas: navbar, account sidebar, footer */
.nav,.account-nav,.foot{--ink:#F2F4F6; --mute:#C3CCD6; --line:rgba(255,255,255,.14); --green:var(--iporse-gold-on-navy); --glass:rgba(255,255,255,.08); --iporse-focus:var(--iporse-gold-on-navy); color:var(--ink)}

body{background:var(--iporse-bg);color:var(--iporse-text)}
.ambient{display:none}
:focus-visible{outline-color:var(--iporse-focus,var(--iporse-navy))}

/* navbar */
.nav-in::before{background:var(--iporse-navy);border-color:rgba(255,255,255,.06);box-shadow:0 12px 28px -16px rgba(44,62,80,.55)}
.brand,.menu a:hover{color:#fff}
.menu a{color:#E4E9EE}
.menu a:hover{background:rgba(255,255,255,.08)}
.drawer{background:var(--iporse-navy);border-color:rgba(255,255,255,.1);box-shadow:0 24px 50px -24px rgba(44,62,80,.6)}
.drawer a:not(.btn):hover{background:rgba(255,255,255,.08)}
.scrim{background:rgba(44,62,80,.35)}

/* buttons */
.btn{color:var(--iporse-navy)}
.btn-primary{background:var(--iporse-primary);color:var(--iporse-on-gold);box-shadow:0 8px 18px -10px rgba(197,160,89,.9);border-radius:12px}
.btn-primary:hover{background:var(--iporse-primary-hover);filter:none}
.btn-outline{background:var(--iporse-surface);color:var(--iporse-navy);border:1px solid rgba(44,62,80,.22)}
.btn-outline:hover{background:var(--iporse-bg);border-color:rgba(44,62,80,.4)}
.spin{border-color:rgba(44,62,80,.25);border-top-color:var(--iporse-navy)}
.text-action,.link{color:var(--iporse-gold-text)}
.eyebrow{color:var(--iporse-sage)}

/* account sidebar */
.account-nav{background:var(--iporse-navy);border-color:transparent;box-shadow:var(--iporse-shadow-lift)}
.account-identity small{color:#C3CCD6}
.avatar{background:var(--iporse-sage-soft);border-color:transparent;color:var(--iporse-navy);border-radius:50%}
.account-links a{color:#E4E9EE}
.account-links a:hover{background:rgba(255,255,255,.08);color:#fff}
.account-links a.selected{background:var(--iporse-primary);color:var(--iporse-on-gold)}
.account-logout button{color:#E4E9EE}

/* cards: white, 12px corners, very soft navy shadow */
.panel,.stat-card,.memorial-card,.share-panel,.empty-state,.optional-section,.wizard-progress{background:var(--iporse-surface);border-color:var(--iporse-border);box-shadow:var(--iporse-shadow)}
.stat-card,.memorial-card{border-radius:12px}
.stat-icon{background:var(--iporse-sage-soft);color:var(--iporse-sage);border-radius:50%}
.stat-icon.warm{background:var(--iporse-gold-soft);color:var(--iporse-gold-text)}
.page-heading h1,.section-heading h2,.panel-heading h2,.welcome-banner h2,.memorial-card h3,.step-intro h2,.optional-intro h2{color:var(--iporse-navy)}
.welcome-banner{background:linear-gradient(115deg,#FFFFFF,#F4F1E8 60%,#EEF1EA);border-color:var(--iporse-border);box-shadow:var(--iporse-shadow)}
.welcome-banner p{color:var(--iporse-muted)}

/* forms */
.form-field input,.form-field textarea,.form-field select,.date-parts input,.date-parts select,.field input{background:var(--iporse-surface);border-color:rgba(44,62,80,.22);color:var(--iporse-text)}
.form-field input:focus,.form-field textarea:focus,.form-field select:focus,.date-parts input:focus,.date-parts select:focus,.field input:focus{border-color:var(--iporse-primary);outline:2px solid rgba(197,160,89,.45);box-shadow:none}
.field input::placeholder{color:#8A9199}
.wizard-progress button[aria-current=step]>span{background:var(--iporse-navy);border-color:var(--iporse-navy);color:#fff}

/* login card */
.card{background:var(--iporse-surface);border-color:var(--iporse-border);box-shadow:var(--iporse-shadow-lift)}
.card-head{background:var(--iporse-navy);border-bottom:3px solid var(--iporse-primary)}
.card-head h1{color:#fff}
.demo{color:var(--iporse-gold-text);background:var(--iporse-gold-soft);border-color:rgba(197,160,89,.6)}
.demo b{color:var(--iporse-navy)}

/* footer */
.foot{background:var(--iporse-navy);border-top-color:var(--iporse-primary)}
.foot h3,.quick .on a{color:var(--iporse-gold-on-navy)}
.foot h3{border-bottom-color:rgba(197,160,89,.45)}
.logo-tile{background:#fff;box-shadow:none}

/* public memorial: navy name plaque with gold ornaments, gold-framed portrait (as in the approved mockup) */
header.memorial-hero{background:radial-gradient(ellipse at top,#FFFFFF,var(--iporse-bg) 85%)}
.hero-verse{color:var(--iporse-navy)}
.memorial-plaque{background:var(--iporse-surface);border:1px solid rgba(197,160,89,.45);box-shadow:var(--iporse-shadow)}
.memorial-plaque::before,.memorial-plaque::after{border-color:var(--iporse-primary);opacity:1}
.plaque-ornament{color:var(--iporse-primary)}
.plaque-ornament i{background:linear-gradient(90deg,transparent,var(--iporse-primary))}
.plaque-ornament i:last-child{background:linear-gradient(90deg,var(--iporse-primary),transparent)}
.memorial-plaque h1{padding:8px clamp(16px,3vw,30px);border-radius:12px;background:var(--iporse-navy);color:#fff;box-shadow:inset 0 0 0 2px rgba(197,160,89,.65),0 10px 22px -14px rgba(44,62,80,.7)}
.memorial-plaque .memorial-subtitle{color:var(--iporse-sage)}
.memorial-plaque .life-dates span{background:var(--iporse-sage-soft);border-color:transparent;color:var(--iporse-muted)}
.memorial-plaque .life-dates b{color:var(--iporse-navy)}
.hero-stats>div{background:var(--iporse-bg);border-color:var(--iporse-border)}
.hero-stats dd{color:var(--iporse-navy)}
.memorial-hero .public-portrait{background:var(--iporse-gold-soft);border:2px solid var(--iporse-primary);box-shadow:0 0 0 6px #fff,0 0 0 7px rgba(197,160,89,.5),0 18px 40px rgba(44,62,80,.16)}
.memorial-page{background:var(--iporse-surface);border-color:var(--iporse-border);box-shadow:var(--iporse-shadow)}
.memorial-page h2,.share-panel h2{color:var(--iporse-navy)}

/* navbar account menu: gold pill like the approved dashboard mockup */
.account-dropdown{background:var(--iporse-navy-2);border-color:rgba(255,255,255,.12)}

/* buttons over memorial photos stay dark and readable */
.memorial-cover::after{background:linear-gradient(transparent,rgba(44,62,80,.6))}
.workspace .cover-actions .btn{background:rgba(44,62,80,.82);border-color:rgba(255,255,255,.28);color:#fff}
.workspace .cover-actions .btn:hover{background:var(--iporse-navy)}

/* 2026-11-10: memorial hero — small verse, the full name as a plain h1 (no box), then one centred box
   holding the photo with the memorial code right under it, followed by dates, stats and actions */
.memorial-hero .hero-verse{margin:0 0 2px;color:var(--iporse-navy);font-size:clamp(.95rem,2.4vw,1.1rem);line-height:2}
.memorial-hero .memorial-name{margin:0 0 20px;padding:0;background:none;box-shadow:none;border-radius:0;color:var(--iporse-navy);font-size:clamp(1.5rem,4vw,2.3rem);font-weight:800;line-height:1.6;overflow-wrap:anywhere}
.memorial-hero>.memorial-plaque{width:min(100%,560px);margin-inline:auto;gap:12px;padding:48px 22px 26px}
.memorial-hero>.memorial-plaque .public-portrait{width:min(calc(100% - 44px),420px);margin:0 auto}
.memorial-hero>.memorial-plaque .memorial-code{margin:0;color:var(--iporse-muted);font-size:12px;line-height:1.6}
.memorial-hero>.memorial-plaque .memorial-code b{color:var(--iporse-navy)}
@media(min-width:768px){.memorial-hero>.memorial-plaque{width:min(100%,660px);padding:36px 40px 32px}}
/* the wizard preview mirrors it */
.preview-head .hero-verse{font-size:clamp(.95rem,2.4vw,1.1rem)}

/* 2026-11-10 (b): prayer buttons inside the hero box; each opens one shared dialog to enter how many times */
.hero-prayers{width:100%;margin-top:8px;padding-top:16px;border-top:1px solid var(--iporse-border)}
.hero-prayer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hero-prayer-grid.cols-1,.hero-prayer-grid.is-odd>.prayer-button:first-child{grid-column:1/-1}
.hero-prayer-grid.cols-1{grid-template-columns:minmax(0,1fr)}
@media(min-width:768px){
 .hero-prayer-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero-prayer-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
 .hero-prayer-grid.is-odd>.prayer-button:first-child{grid-column:auto}
 .hero-prayer-grid.lead-full>.prayer-button:first-child{grid-column:1/-1}
 .hero-prayer-grid.cols-1{max-width:320px;margin-inline:auto}
}
.memorial-hero>.memorial-plaque:has(.hero-prayers){padding-bottom:48px} /* keep the gold corner ornament clear of the buttons */
/* buttons look pressable for elderly visitors: gold frame, raised edge and a pressed state; the whole card opens the count dialog */
.prayer-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:84px;padding:14px 10px;border:2px solid rgba(197,160,89,.75);border-radius:16px;background:var(--iporse-surface);color:var(--iporse-navy);font:inherit;line-height:1.5;cursor:pointer;box-shadow:0 2px 0 rgba(197,160,89,.35),0 6px 12px -10px rgba(44,62,80,.22);transition:transform .12s,box-shadow .12s,background .15s}
a.prayer-button{text-decoration:none}
.prayer-button-label{font-size:1.05rem;font-weight:800;overflow-wrap:anywhere}
.prayer-button-total{font-size:.82rem;color:var(--iporse-muted)}
.prayer-button-total b{font-size:.95rem;font-weight:800;color:var(--iporse-navy)}
.prayer-button:hover{background:var(--iporse-gold-soft);transform:translateY(-1px)}
.prayer-button:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(197,160,89,.3),0 3px 6px -6px rgba(44,62,80,.2)}
.prayer-button:focus-visible{outline:3px solid var(--iporse-navy);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.prayer-button,.prayer-button:hover,.prayer-button:active{transition:none;transform:none}}
.hero-prayers-status{min-height:1.6em;margin:10px 0 0;color:var(--iporse-sage);font-size:.88rem}
.hero-prayers-status:empty{display:none}
.prayer-dialog{width:min(420px,calc(100% - 24px));margin:auto;padding:20px;border:1px solid var(--iporse-border);border-radius:16px;background:var(--iporse-surface);color:var(--iporse-text);box-shadow:var(--iporse-shadow-lift);text-align:center}
.prayer-dialog::backdrop{background:rgba(44,62,80,.16);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.prayer-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.prayer-dialog-head h2{margin:0;font-size:1.2rem;color:var(--iporse-navy)}
.prayer-dialog-close{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--iporse-border);border-radius:50%;background:var(--iporse-surface);color:var(--iporse-navy);font-size:1.4rem;cursor:pointer}
.prayer-dialog-text{margin:0 0 14px;color:var(--iporse-text);line-height:2;white-space:pre-line}
.prayer-dialog .prayer-form{display:grid;gap:12px}
.prayer-amount-label{font-weight:600;color:var(--iporse-navy)}
.prayer-quick{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.prayer-quick button{min-width:44px;min-height:44px;padding:4px 5px;border:1px solid rgba(44,62,80,.22);border-radius:12px;background:var(--iporse-surface);color:var(--iporse-navy);font:inherit;font-weight:700;cursor:pointer}
.prayer-quick button:hover{background:var(--iporse-gold-soft)}
.prayer-quick button[aria-pressed="true"]{background:var(--iporse-navy);border-color:var(--iporse-navy);color:var(--iporse-surface)}
.prayer-quick button:focus-visible{outline:3px solid var(--iporse-primary);outline-offset:2px}
.prayer-amount-help{margin:0;color:var(--iporse-muted);font-size:.82rem}
.prayer-dialog .btn-primary{min-height:50px;width:100%}
.prayer-dialog .prayer-status{min-height:1.5em;margin:0;color:var(--iporse-sage);font-size:.9rem}
@media(prefers-reduced-motion:no-preference){.prayer-dialog[open]{animation:tool-dialog-in .22s ease-out}}

/* share button: a bar fixed to the bottom on phones, a floating round icon at the bottom-right on desktop */
.share-fab{position:fixed;z-index:35;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--iporse-primary);color:var(--iporse-on-gold);font-weight:700;text-decoration:none;box-shadow:0 10px 24px -8px rgba(44,62,80,.45)}
.share-fab:hover{background:var(--iporse-primary-hover)}
.share-fab:focus-visible{outline:3px solid var(--iporse-navy);outline-offset:3px}
.share-fab .ui-icon{width:22px;height:22px}
@media(max-width:767px){
 .share-fab{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));min-height:52px;border-radius:14px;font-size:.95rem}
 body:has(.share-fab){padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}
@media(min-width:768px){
 .share-fab{right:24px;bottom:24px;height:54px;padding:0 22px 0 20px;border-radius:999px;font-size:.95rem;white-space:nowrap} /* icon + «اشتراک‌گذاری» */
 .share-fab:hover{transform:translateY(-2px)}
}

/* 2026-11-10 (c): surahs & prayers — compact cards, two per row from 768px; read count as a badge beside the title */
.readings-section{margin-block:28px;scroll-margin-top:120px}
.readings-heading{margin:0 0 14px;color:var(--iporse-navy);font-size:1.2rem;text-align:right}
.reading-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
@media(min-width:768px){.reading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.reading-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
/* every card: header (name + read count) and a list of equal-height rows [type label | control] */
.reading-grid .reading-card{display:flex;flex-direction:column;margin:0;padding:0!important;border:1px solid var(--iporse-border);border-radius:14px;background:var(--iporse-surface);box-shadow:var(--iporse-shadow);overflow:hidden}
.reading-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:7px 12px;border-bottom:1px solid var(--iporse-border);background:var(--iporse-bg)}
.reading-card-head h3{margin:0;color:var(--iporse-navy);font-size:.95rem;font-weight:800;line-height:1.6;overflow-wrap:anywhere}
.reading-count{display:inline-flex;align-items:baseline;gap:4px;padding:2px 10px;border-radius:999px;background:var(--iporse-sage-soft);color:var(--iporse-sage);font-size:.74rem;font-weight:600;white-space:nowrap}
.reading-count b{color:var(--iporse-navy);font-size:.92rem;font-weight:800}
.reading-rows{list-style:none;margin:0;padding:2px 12px 6px}
.reading-row{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:8px;min-height:46px;padding:5px 0;border-bottom:1px dashed var(--iporse-border)}
.reading-row:last-child{border-bottom:0}
.reading-row-type{display:inline-flex;align-items:center;gap:6px;min-width:0;color:var(--iporse-muted);font-size:.8rem;line-height:1.5;overflow-wrap:anywhere}
.reading-row-type .ui-icon{width:17px;height:17px;flex-shrink:0;color:var(--iporse-sage)}
.reading-grid .reading-row audio{display:block;width:100%;min-width:0;height:44px;margin:0}
.reading-open,.reading-vow-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;padding:4px 10px;border-radius:9px;font:inherit;font-size:.9rem;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}
.reading-open{border:1px solid rgba(44,62,80,.22);background:var(--iporse-surface);color:var(--iporse-navy)}
.reading-open:hover{background:var(--iporse-bg);border-color:rgba(44,62,80,.4)}
.reading-vow{margin:0}
.reading-vow-button{border:1px solid var(--iporse-primary);background:var(--iporse-gold-soft);color:var(--iporse-gold-text)}
.reading-vow-button:hover{background:var(--iporse-primary);color:var(--iporse-on-gold)}
.reading-vow-button.is-done{border-color:var(--iporse-sage);background:var(--iporse-sage-soft);color:var(--iporse-sage)}
.reading-vow-button .ui-icon{width:16px;height:16px;flex-shrink:0}
.reading-open:focus-visible,.reading-vow-button:focus-visible{outline:3px solid var(--iporse-navy);outline-offset:2px}
.prayer-dialog .sr-only,.reading-vow .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:400px){.reading-row{grid-template-columns:92px minmax(0,1fr)}.reading-vow-button{padding:4px 8px}.reading-vow-button .ui-icon{display:none}}
/* one reading window for texts and videos */
.reading-dialog{width:min(760px,calc(100% - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--iporse-border);border-radius:16px;background:var(--iporse-surface);color:var(--iporse-text);box-shadow:var(--iporse-shadow-lift);overflow:hidden}
.reading-dialog[open]{display:flex;flex-direction:column}
.reading-dialog::backdrop{background:rgba(0,0,0,.93);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.reading-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--iporse-border);background:var(--iporse-bg)}
.reading-dialog-head h2{margin:0;color:var(--iporse-navy);font-size:1.1rem}
.reading-dialog-body{overflow:auto;padding:12px 16px 18px;overscroll-behavior:contain}
.reading-dialog-body video{display:block;width:100%;max-height:70dvh;border-radius:10px;background:#000}
.reading-dialog-body .quran-text{margin:0 auto;color:var(--iporse-text)}

/* 2026-11-10 (d): service dialogs — the dedication («… به نیت شادی روح {name}») is part of the dialog title, which stays
   above the scrolling body; long titles wrap */
.commerce-dialog-heading h2{overflow-wrap:anywhere}

/* 2026-11-10 (e): wizard step 1 — title, first and last name in one row; birth/death dates side by side, compact */
.name-row{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
@media(min-width:768px){.name-row{grid-template-columns:minmax(0,.8fr) minmax(0,1fr) minmax(0,1fr);gap:16px}}
.date-row{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.date-row .date-field,.date-row .date-field+.date-field{margin-top:0}
@media(min-width:768px){.date-row{grid-template-columns:repeat(2,minmax(0,280px));gap:24px;margin-top:12px}}
/* share page: smaller label above the link; SMS invitations live inside the "where to send" box */
.share-memorial .share-copy>label{font-size:.82rem;font-weight:600;color:var(--iporse-muted)}
.share-subsection{margin:24px 0 0;padding-top:20px;border-top:1px solid var(--iporse-border)}
.share-subsection.invitation-panel{margin-bottom:0}
.share-subsection h3{margin:0;color:var(--iporse-navy);font-size:1.12rem}

/* public memorial: the hero stays open on the page; "به یاد او", burial place and dedication sit in their own
   white card, rounded on every corner (before, the card's top merged into the hero and looked square) */
.memorial-page{background:transparent;border:0;box-shadow:none;overflow:visible}
.memorial-public .memorial-page{padding-bottom:0}
.memorial-page header.memorial-hero{border-radius:25px 25px 0 0}
.memorial-about{margin:18px 0 0;padding:4px clamp(18px,3vw,35px);border:1px solid var(--iporse-border);border-radius:22px;background:var(--iporse-surface);box-shadow:var(--iporse-shadow)}
.memorial-about .memorial-description,.memorial-about .memorial-place{margin:0}
.memorial-about>:first-child{border-top:0}
.memorial-about .dedication{margin:0;padding:18px 0 22px;border-top:1px solid var(--line)}
.memorial-about>.dedication:first-child{border-top:0}

/* surah / prayer cards: a clearer edge and a tinted header, so each card reads as its own box on the cream page */
/* 2026-11-11: one even gold border on every side (was a gold top edge only). */
.reading-grid .reading-card{border:2px solid rgba(197,160,89,.65);box-shadow:0 6px 16px -10px rgba(44,62,80,.35)}
.reading-card-head{background:#EDF1F4;border-bottom-color:rgba(44,62,80,.16)}

/* wizard step 1: the full name as the memorial page will show it */
.name-preview{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:-6px 0 0;padding:12px 16px;border:1px dashed rgba(197,160,89,.7);border-radius:12px;background:var(--iporse-gold-soft);font-size:.86rem;color:var(--iporse-muted)}
.name-preview strong{color:var(--iporse-gold-text);font-size:1.15rem;font-weight:800;line-height:1.7;overflow-wrap:anywhere}
.name-preview strong.is-empty{color:#76664A;font-weight:600}

/* count dialog: rak'at choice for «نماز قضا» (2, 3 or 4 rak'ats, one counter each) */
.prayer-rakat-buttons{display:grid;gap:10px}.prayer-rakat-buttons[hidden],.prayer-form[hidden]{display:none}
.prayer-rakat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.prayer-rakat-button{display:grid;gap:4px;justify-items:center;min-height:84px;padding:12px 6px;border:1.5px solid var(--iporse-primary);border-radius:14px;background:var(--iporse-gold-soft);color:var(--iporse-navy);font:inherit;cursor:pointer;transition:transform .15s,background .2s,border-color .2s}
.prayer-rakat-button strong{font-size:1rem;font-weight:800}
.prayer-rakat-button small{font-size:.76rem;color:var(--iporse-muted)}.prayer-rakat-button small b{color:var(--iporse-navy)}
.prayer-rakat-button:hover{background:#F1E4C6}.prayer-rakat-button:active{transform:scale(.97)}
.prayer-rakat-button:focus-visible{outline:3px solid var(--iporse-primary);outline-offset:2px}
.prayer-rakat-button[aria-busy="true"]{opacity:.7;cursor:progress}
.prayer-rakat-hint{margin:0;text-align:center;font-size:.8rem;color:var(--iporse-muted)}
.prayer-rakat-buttons .prayer-status{margin:0;min-height:1.6em;text-align:center}
@media(max-width:380px){.prayer-rakat-grid{gap:6px}.prayer-rakat-button{min-height:76px}.prayer-rakat-button strong{font-size:.92rem}}
@media(prefers-reduced-motion:reduce){.prayer-rakat-button{transition:none}}

/* login: the 5-digit code stays centred in every state (empty, focused, typing, placeholder). The old text-indent,
   which balanced the letter-spacing after the last digit, made some browsers (mobile Safari, some Android
   browsers) place the cursor and dots at the left; extra start padding does the same balancing without it. */
.field input.code{text-align:center!important;text-indent:0;padding-inline:calc(16px + .5em) 16px}
.field input.code::placeholder{text-align:center;letter-spacing:.5em}
.field input.code:focus,.field input.code:not(:placeholder-shown){text-align:center!important}

/* 2026-11-10: the leaf mark is gone; the logo is «آی‌پُرسه» with a gold butterfly on the «ی» (partials/logo). */
.logo{display:inline-block;white-space:nowrap}
.logo-i{position:relative;display:inline-block}
.logo-fly{position:absolute;left:-.14em;top:.04em;width:.62em;height:.62em;color:var(--iporse-primary);transform:rotate(-18deg);pointer-events:none}
.brand .logo-fly{color:var(--iporse-gold-on-navy)}
.empty-leaf{color:var(--iporse-primary)}
.empty-leaf svg{width:44px;height:44px}

/* 2026-11-11 · «انتخاب همه» bar above the wizard's readings list. */
.reading-bulk{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:0 0 12px;padding:8px 16px;border:1px solid var(--iporse-border);border-radius:16px;background:var(--iporse-gold-soft)}
.reading-bulk[hidden]{display:none}
.reading-chip.reading-all{font-weight:700;color:var(--iporse-navy);border-color:rgba(197,160,89,.45)}
.reading-bulk-count{font-size:.85rem;color:var(--iporse-muted)}

/* 2026-11-11 · Birth/death year only: calendar mode switch and the hint on the form. */
.calendar-mode{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 10px;padding:4px;border:1px solid var(--iporse-border);border-radius:14px;background:var(--iporse-bg)}
.calendar-mode label{position:relative;display:block;cursor:pointer}
.calendar-mode input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.calendar-mode span{display:flex;align-items:center;justify-content:center;min-height:40px;border-radius:10px;font-weight:700;font-size:.92rem;color:var(--iporse-muted)}
.calendar-dialog:not([data-mode="year"]) .calendar-mode input[value="full"]+span,.calendar-dialog[data-mode="year"] .calendar-mode input[value="year"]+span{background:var(--iporse-surface);color:var(--iporse-navy);box-shadow:0 1px 4px rgba(44,62,80,.14)}
.calendar-mode input:focus-visible+span{outline:2px solid var(--iporse-primary);outline-offset:2px}
.calendar-dialog[data-mode="year"] .calendar-month,.calendar-dialog[data-mode="year"] .calendar-week,.calendar-dialog[data-mode="year"] .calendar-days{display:none}
.calendar-dialog[data-mode="year"] .calendar-selectors{grid-template-columns:1fr}
.date-year-hint{display:flex;align-items:flex-start;gap:8px;margin:0 0 14px;padding:10px 14px;border-radius:12px;background:var(--iporse-gold-soft);color:var(--iporse-gold-text);font-size:.88rem;line-height:1.8}
.date-year-hint svg{flex:0 0 auto;width:18px;height:18px;margin-top:4px}
.date-edit-dialog .date-year-hint{margin:4px 0 12px}

/* 2026-11-11 · Share page photo of a «باغ زیتون» memorial: the template's gold frame at the photo's own aspect ratio.
   Large on desktop; width/height auto never enlarge a photo beyond its own pixels. */
.share-photo.share-photo-olive{width:fit-content;max-width:calc(100% - 24px);margin:12px auto;overflow:hidden;border-radius:16px;background:var(--iporse-gold-soft);
  box-shadow:0 0 0 6px rgba(197,160,89,.55),0 0 0 8px var(--iporse-primary),0 0 0 11px var(--iporse-gold-soft),0 0 0 12px rgba(197,160,89,.65),0 26px 44px -22px rgba(44,62,80,.55)}
.share-photo-olive img{display:block;width:auto;height:auto;max-width:100%;max-height:min(420px,60vh)}
@media(min-width:900px){.share-photo-olive img{max-height:min(720px,78vh)}}

/* 2026-11-11 · Gift boxes: the text button reads «باز کردن» when closed and «بستن» when open. */
details[open]>summary .expand-when-closed,details:not([open])>summary .expand-when-open{display:none}

/* 2026-11-11 · Wizard Next/Previous on desktop: the action bar sticks to the bottom of the screen while a long step
   (e.g. the surahs) scrolls, and settles in place at the end of the form. Phones keep their fixed bar (refinements). */
@media(min-width:768px){
  .wizard-footer{position:sticky;bottom:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding:12px 18px;border:1px solid var(--iporse-border);border-bottom:0;border-radius:16px 16px 0 0;background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 -10px 24px -14px rgba(44,62,80,.3)}
  .wizard-footer .wizard-save-heading{margin:0;flex:0 0 auto}
  .wizard-footer .wizard-actions{flex:1 1 auto;justify-content:flex-end}
}

/* 2026-11-11 · General pages from the navbar (resources/views/site/page.blade.php). */
.site-page{width:100%;max-width:880px;margin:32px auto 48px;padding:0 4px}
.site-page-hero{display:grid;justify-items:center;gap:6px;text-align:center;padding:28px 20px 30px;margin-bottom:20px;border:1px solid var(--iporse-border);border-radius:22px;background:linear-gradient(180deg,var(--iporse-gold-soft),var(--iporse-surface));box-shadow:var(--iporse-shadow)}
.site-page-hero h1{margin:0;color:var(--iporse-navy);font-size:clamp(1.5rem,4vw,2.1rem)}
.site-page-intro{max-width:560px;margin:4px 0 0;color:var(--iporse-muted);line-height:2}
.site-page-section{margin-top:14px;padding:20px 22px;border:1px solid var(--iporse-border);border-radius:18px;background:var(--iporse-surface);box-shadow:var(--iporse-shadow)}
.site-page-section h2{margin:0 0 8px;color:var(--iporse-navy);font-size:1.12rem}
.site-page-section p{margin:0;line-height:2;color:var(--iporse-text)}
.site-contact-people{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:6px 0 0;padding:0}
.site-contact-people li{display:grid;gap:2px;padding:14px 16px;border:1px solid var(--iporse-border);border-radius:14px;background:var(--iporse-bg)}
.site-contact-role{color:var(--iporse-muted);font-size:.85rem}
.site-contact-people strong{color:var(--iporse-navy)}
.site-contact-people a,.site-contact-office a{display:inline-flex;align-items:center;min-height:44px;color:var(--iporse-gold-text);font-weight:700;text-underline-offset:3px;justify-self:start}
.site-contact-messengers{margin-top:16px!important;color:var(--iporse-muted)!important}
.site-contact-apps{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0}
.site-contact-apps li{padding:4px 12px;border:1px solid rgba(93,112,82,.3);border-radius:999px;background:var(--iporse-sage-soft);color:var(--iporse-sage);font-size:.85rem}
.site-contact-office{display:grid;gap:6px;margin:16px 0 0;padding-top:14px;border-top:1px dashed var(--iporse-border)}
.site-contact-office div{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}
.site-contact-office dt{color:var(--iporse-muted);min-width:80px}
.site-contact-office dd{margin:0}
.site-page-cta{display:grid;justify-items:center;gap:8px;margin-top:20px;padding:24px 20px;text-align:center;border-radius:18px;background:var(--iporse-navy);color:#fff}
.site-page-cta h2{margin:0;font-size:1.15rem;color:#fff}
.site-page-cta p{margin:0;color:rgba(255,255,255,.82)}
.site-page-more{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px}
.site-page-more a{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 14px;border:1px solid var(--iporse-border);border-radius:999px;background:var(--iporse-surface);color:var(--iporse-navy);font-size:.88rem;text-decoration:none}
.site-page-more a:hover{border-color:var(--iporse-primary)}
.site-page-more .ui-icon{width:16px;height:16px;color:var(--iporse-sage)}
.menu>a:not(:first-child)[aria-current="page"],.drawer>a:not(:first-child)[aria-current="page"],.nav-more a[aria-current="page"],.nav-account a[aria-current="page"]{color:var(--iporse-gold-on-navy)}

/* 2026-11-11 · Footer: the client's "we are on these messengers" line under the contacts. */
.contact-apps{margin:12px 0 0;font-size:.8rem;line-height:1.9;opacity:.85}

/* 2026-11-11 · Memorial pages (both templates): a smaller type scale, about 10–20% below the previous one.
   Scoped to .memorial-public so the navbar and footer keep the site-wide sizes. */
.memorial-public{font-size:clamp(14.5px,.9rem,15.5px);--reading-size:23px}
.memorial-public .hero-verse{font-size:clamp(14px,2.2vw,16px)}
.memorial-public .memorial-name{font-size:clamp(1.35rem,3.6vw,1.9rem)}
.memorial-public .t2-banner h1{font-size:clamp(1.1rem,2.6vw,1.3rem)}
.memorial-public .t2-dates{font-size:.95rem}
.memorial-public .prayer-button-label{font-size:.92rem}
.memorial-public .t2-card strong{font-size:.88rem}
.memorial-public .t2-card small{font-size:.76rem}
.memorial-public .memorial-about{font-size:.9rem}
.memorial-public .section-intro h2{font-size:clamp(1.15rem,3vw,1.45rem)}
.memorial-public .gift-quran summary strong{font-size:1.05rem}
.memorial-public .gift-quran summary small{font-size:.82rem}
.memorial-public .expand-label{font-size:.8rem}
.memorial-public .readings-heading{font-size:1.1rem}
.memorial-public .reading-card-head h3{font-size:.88rem}
.memorial-public .reading-row-type{font-size:.76rem}
.memorial-public .reading-open{font-size:.8rem}
.memorial-public #sharing h2,.memorial-public .share-panel h2{font-size:clamp(1.1rem,2.6vw,1.35rem)}
.memorial-public .memorial-create-cta h2{font-size:1.15rem}
@media(max-width:600px){.memorial-public{--reading-size:21px}}

/* 2026-11-11 · Wizard photo field: one tidy card (photo box + remove option). The label stays the file-picker hit area;
   the remove checkbox sits in the same card under the text column instead of floating below it. */
.photo-card{border:1px dashed rgba(44,62,80,.18);border-radius:16px;background:var(--iporse-surface);padding:16px}
.photo-card .upload-area{padding:0;border:0;border-radius:12px;background:none}
.photo-remove{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:14px;padding-top:12px;border-top:1px dashed var(--iporse-border)}
.photo-remove .checkbox-field{margin:0}
@media(min-width:768px){
  .photo-card .upload-area{display:grid;grid-template-columns:168px minmax(0,1fr);align-items:center;gap:22px}
  .photo-card .upload-preview.portrait-frame{width:168px;max-width:168px;margin:0;border-radius:12px}
  .photo-card .upload-preview .portrait-photo{max-height:200px}
  .photo-remove{margin-inline-start:190px}
}

/* 2026-11-11 · Ways back to the share page: «اشتراک‌گذاری» button on the dashboard photo (same style as the other photo
   buttons), invite count / nudge on the card, owner-only bar on the memorial page, come-back hint on the share page. */
.workspace .cover-actions .btn{white-space:nowrap}
.workspace .cover-actions .btn:disabled{cursor:not-allowed;opacity:.7;background:rgba(44,62,80,.82)}
.workspace .cover-actions:has(.cover-share){flex-wrap:nowrap;gap:6px;inset-inline:10px;bottom:12px}
.workspace .cover-actions:has(.cover-share) .btn{flex:1 1 0;min-width:0;max-width:112px;flex-direction:column;gap:4px;min-height:58px;padding:7px 2px;font-size:.9rem;line-height:1.4}
.workspace .cover-actions:has(.cover-share) .ui-icon{width:19px;height:19px;flex-shrink:0}
.card-share{justify-content:space-between;flex-wrap:wrap;gap:6px 14px}
.invite-status{display:inline-flex;align-items:center;gap:6px;margin:0;color:var(--iporse-sage);font-size:.84rem}
.invite-status.is-empty{color:var(--iporse-gold-text)}
.invite-status .ui-icon{width:17px;height:17px;flex-shrink:0}
.owner-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;max-width:760px;margin:18px auto 6px;padding:12px 16px;border:1px dashed rgba(197,160,89,.6);border-radius:16px;background:var(--iporse-gold-soft)}
.owner-bar p{display:flex;align-items:flex-start;gap:8px;margin:0;flex:1 1 280px;color:var(--iporse-gold-text);font-size:.85rem;line-height:1.9}
.owner-bar p .ui-icon{width:18px;height:18px;flex-shrink:0;margin-top:4px}
.owner-bar-actions{display:flex;flex-wrap:wrap;gap:8px}
.owner-bar-actions .btn{min-height:44px;padding:6px 14px;font-size:.9rem}
.owner-bar-actions .btn .ui-icon{width:16px;height:16px}
.owner-bar-actions .btn{white-space:nowrap}
@media(max-width:600px){.owner-bar-actions{width:100%}.owner-bar-actions .btn{flex:1 1 auto}}
.share-return-hint{display:flex;align-items:flex-start;gap:8px;margin:0 0 16px;padding:10px 14px;border-radius:12px;background:var(--iporse-gold-soft);color:var(--iporse-gold-text);font-size:.88rem;line-height:1.9}
.share-return-hint .ui-icon{width:18px;height:18px;flex-shrink:0;margin-top:5px}
.share-return-hint a{color:var(--iporse-navy);font-weight:700}

/* 2026-11-12 · Client round: hollow suggestion dots, one info box in the wizard preview, smaller verse. */
.suggestion-dots{gap:5px}
.suggestion-dots i{width:8px;height:8px;box-sizing:border-box;background:transparent;border:2px solid var(--iporse-sage)}
.suggestion-dots i.active{background:var(--iporse-sage);border-color:var(--iporse-sage)}
.preview-info{text-align:center;padding:2px clamp(16px,3vw,26px);border:1px solid var(--iporse-border);border-radius:18px;background:var(--iporse-surface);box-shadow:var(--iporse-shadow)}
.preview-info:not(:has(>:not([hidden]))){display:none}
.preview-info-item{margin:0;padding:16px 0}
.preview-info>:not([hidden])~:not([hidden]){border-top:1px solid var(--iporse-border)}
.preview-info-item h4{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 6px;font-size:.95rem;color:var(--iporse-sage)}
.preview-info-item h4 .ui-icon{width:18px;height:18px}
.preview-info-item p{margin:0;white-space:pre-line;line-height:2;overflow-wrap:anywhere}
.preview-info .preview-dedication{color:var(--iporse-muted);font-size:.9rem}
.preview-block{border:1px solid var(--iporse-border);border-radius:18px;background:var(--iporse-surface);box-shadow:var(--iporse-shadow)}
.preview-head .hero-verse,.memorial-public .hero-verse{font-size:clamp(13px,1.8vw,14.5px)}
/* Classic template gifts box: same box and «باز کردن / بستن» button as the Quran gift (and the Olive Garden box). */
.gift-quran.optional-gifts{padding:0}
.optional-gifts>summary{list-style:none}
.optional-gifts>summary::-webkit-details-marker{display:none}
.optional-gifts .gift-mark-icon{display:inline-flex;color:var(--iporse-sage)}
.optional-gifts .gift-mark-icon .ui-icon{width:44px;height:44px}

/* 2026-11-12 · Loading indicator (js/page-loader.js): thin gold bar at the top, growing from the right (RTL), and a
   navy note with a fluttering butterfly when a page takes more than a moment; busy state on the pressed button. */
.page-loader{position:fixed;inset-block-start:0;inset-inline:0;z-index:3000;height:3px;pointer-events:none;opacity:0;transition:opacity .25s ease}
.page-loader i{display:block;width:100%;height:100%;transform-origin:right center;transform:scaleX(var(--progress,0));background:linear-gradient(to left,var(--iporse-primary),var(--iporse-gold-on-navy) 70%,#F3E3C2);border-radius:0 0 3px 3px;box-shadow:0 0 12px rgba(197,160,89,.75),0 0 3px rgba(197,160,89,.9);transition:transform .35s cubic-bezier(.2,.7,.3,1)}
.page-loader.is-active{opacity:1}
.page-loader.is-done{opacity:0;transition:opacity .35s ease .2s}
.page-loader-note{position:fixed;inset-inline:0;bottom:calc(22px + env(safe-area-inset-bottom,0px));z-index:3000;display:flex;align-items:center;gap:10px;width:max-content;max-width:calc(100% - 32px);margin-inline:auto;padding:10px 18px 10px 16px;border-radius:999px;background:rgba(44,62,80,.94);color:#fff;font-size:.86rem;line-height:1.6;box-shadow:0 14px 30px -12px rgba(44,62,80,.55);opacity:0;transform:translateY(12px);transition:opacity .3s ease,transform .3s ease;pointer-events:none}
.page-loader-note.is-visible{opacity:1;transform:none}
.page-loader-note svg{width:22px;height:22px;flex-shrink:0;color:var(--iporse-gold-on-navy);animation:loader-flutter 1s ease-in-out infinite}
@keyframes loader-flutter{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.45)}}
.btn.is-loading{pointer-events:none;opacity:.88}
.btn.is-loading::after{content:"";width:15px;height:15px;flex-shrink:0;box-sizing:border-box;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:loader-spin .7s linear infinite}
@keyframes loader-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.page-loader i,.page-loader-note{transition:none}.page-loader-note svg,.btn.is-loading::after{animation:none}}

/* 2026-11-12 · Placeholder text everywhere is light and faded (client), so it never reads like a filled-in value.
   Lists the earlier, more specific placeholder rules so this one wins; opacity:1 stops Firefox fading it twice. */
input::placeholder,textarea::placeholder,.field input::placeholder,.form-field input::placeholder,.form-field textarea::placeholder,.date-parts input::placeholder,.date-picker-field input::placeholder{color:rgba(44,62,80,.36);opacity:1}
#mobile::placeholder{color:var(--iporse-muted)}
/* Every page opens with the bar already running (pure CSS, visible with the first paint); page-loader.js takes it
   over and completes it on load. Without the script it simply fades out after 12 s. */
.page-loader.is-booting{opacity:1;animation:loader-boot-fade .4s ease 12s forwards}
.page-loader.is-booting i{transition:none;animation:loader-boot 8s cubic-bezier(.08,.7,.2,1) forwards}
@keyframes loader-boot{from{transform:scaleX(.06)}to{transform:scaleX(.88)}}
@keyframes loader-boot-fade{to{opacity:0}}
@media(prefers-reduced-motion:reduce){.page-loader.is-booting i{animation:none;transform:scaleX(.5)}}

/* 2026-11-12 · Juz-based Quran completion (memorials/khatm, js/memorial-khatm.js). */
/* The card itself is a .reading-card in the «سوره‌ها و دعاها» grid (2026-11-12, like the employer's previous site). */
.khatm-card{scroll-margin-top:90px}
.khatm-meter{height:9px;border-radius:999px;background:rgba(44,62,80,.08);overflow:hidden}
.khatm-meter i{display:block;height:100%;width:100%;transform-origin:right center;transform:scaleX(var(--khatm,0));border-radius:inherit;background:linear-gradient(to left,var(--iporse-primary),var(--iporse-sage));transition:transform .5s ease}
.khatm-row-value{font-size:.84rem;line-height:1.8;color:var(--iporse-text)}.khatm-row-value b{color:var(--iporse-navy)}
.khatm-card [data-khatm-completed-wrap][hidden]{display:none}
.khatm-dialog{margin:auto;width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:20px;background:var(--iporse-surface);color:var(--iporse-text);box-shadow:0 24px 60px -20px rgba(44,62,80,.45)}
.khatm-dialog::backdrop{background:rgba(20,28,36,.6)}
.khatm-dialog-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--iporse-border);background:var(--iporse-surface)}
.khatm-dialog-head h2{margin:0;font-size:1.02rem;color:var(--iporse-navy)}
.khatm-suggest{display:flex;align-items:flex-start;gap:8px;margin:16px 20px 12px;padding:10px 12px;border-radius:12px;background:var(--iporse-gold-soft);color:var(--iporse-gold-text);font-size:.86rem;line-height:1.9}
.khatm-suggest .ui-icon{width:18px;height:18px;flex-shrink:0;margin-top:4px}
.khatm-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 20px}
.khatm-juz{display:grid;place-items:center;gap:0;min-height:58px;padding:6px 2px;border:1px solid var(--iporse-border);border-radius:12px;background:var(--iporse-surface);color:var(--iporse-navy);font:inherit;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.khatm-juz b{font-size:1.05rem;line-height:1.3}
.khatm-juz small{min-height:1.3em;font-size:.62rem;color:var(--iporse-muted);line-height:1.15;text-align:center;word-break:break-word;white-space:normal}
.khatm-juz:hover{border-color:var(--iporse-primary)}
.khatm-juz.is-read{background:var(--iporse-sage-soft);border-color:rgba(93,112,82,.35)}
.khatm-juz.is-read small{color:var(--iporse-sage)}
.khatm-juz.is-suggested{border:2px dashed var(--iporse-primary);background:var(--iporse-gold-soft)}
.khatm-juz.is-suggested small{color:var(--iporse-gold-text)}
.khatm-juz[aria-pressed="true"]{border:2px solid var(--iporse-navy);box-shadow:0 0 0 3px rgba(44,62,80,.12)}
.khatm-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 20px 0;font-size:.74rem;color:var(--iporse-muted)}
.khatm-legend span::before{content:"";display:inline-block;width:10px;height:10px;margin-inline-end:6px;border-radius:3px;vertical-align:-1px}
.khatm-legend .is-read::before{background:var(--iporse-sage-soft);border:1px solid rgba(93,112,82,.35)}
.khatm-legend .is-suggested::before{background:var(--iporse-gold-soft);border:1.5px dashed var(--iporse-primary)}
.khatm-selected{display:grid;gap:10px;margin:16px 20px 20px;padding:16px;border:1px solid var(--iporse-border);border-radius:16px;background:#FCFAF6}
.khatm-selected h3{margin:0;font-size:1.1rem;color:var(--iporse-navy)}
.khatm-selected .muted{margin:-6px 0 0;font-size:.84rem}
.khatm-option{display:grid;gap:4px;font-size:.84rem}
.khatm-option select{min-height:44px;padding:6px 10px;border:1px solid var(--iporse-border);border-radius:10px;background:var(--iporse-surface);font:inherit}
.khatm-reciter{margin:0;font-size:.82rem;color:var(--iporse-muted)}
.khatm-audio{width:100%}
.khatm-no-audio{margin:0;padding:8px 10px;border-radius:10px;background:rgba(44,62,80,.05);font-size:.82rem;color:var(--iporse-muted);line-height:1.9}
.khatm-submit{justify-self:start}
.khatm-accept{display:grid;gap:10px;padding:12px 14px;border:1px dashed rgba(197,160,89,.6);border-radius:12px;background:var(--iporse-gold-soft)}
.khatm-accept p{margin:0;font-size:.88rem;line-height:1.9;color:var(--iporse-text)}
.khatm-accept-button{justify-self:start}
.khatm-reading{display:grid;gap:10px}.khatm-reading[hidden]{display:none}.khatm-accept[hidden]{display:none}
.khatm-status{margin:0;min-height:1.6em;font-size:.86rem;color:var(--iporse-sage)}
.khatm-result{padding:6px 12px 10px}
.khatm-result:empty{display:none}
@media(max-width:560px){.khatm-submit,.khatm-accept-button{justify-self:stretch}.khatm-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-inline:14px}.khatm-suggest,.khatm-legend{margin-inline:14px}.khatm-selected{margin:14px}}
@media(prefers-reduced-motion:reduce){.khatm-meter i,.khatm-juz{transition:none}}
.khatm-text{border:1px solid var(--iporse-border);border-radius:12px;background:var(--iporse-surface)}
.khatm-text>summary{display:flex;align-items:center;gap:8px;min-height:46px;padding:8px 12px;list-style:none;cursor:pointer;font-weight:700;color:var(--iporse-navy)}
.khatm-text>summary::-webkit-details-marker{display:none}
.khatm-text>summary .ui-icon{width:18px;height:18px;color:var(--iporse-sage)}
.khatm-translation{display:flex;align-items:center;gap:8px;margin:0 12px 8px;font-size:.82rem;color:var(--iporse-muted)}
.khatm-text-body{max-height:min(52vh,460px);overflow:auto;padding:8px 16px 18px;border-top:1px solid var(--iporse-border);overscroll-behavior:contain}
.khatm-surah{margin:16px 0 8px;padding:8px 12px;border:1px solid rgba(197,160,89,.35);border-radius:12px;background:var(--iporse-gold-soft);color:var(--iporse-navy);font-size:.96rem;font-weight:700;text-align:center}
.khatm-bismillah{margin:8px 0 12px;font-family:'Amiri Quran','Amiri','Scheherazade New','Noto Naskh Arabic','Traditional Arabic','Times New Roman',serif;font-size:1.35rem;line-height:2;text-align:center;color:var(--iporse-navy)}
.khatm-ayah{margin:0;padding:12px 0;border-bottom:1px solid rgba(197,160,89,.18)}
.khatm-ayah:last-child{border-bottom:none}
.khatm-ar{margin:0;font-family:'Amiri Quran','Amiri','Scheherazade New','Noto Naskh Arabic','Traditional Arabic','Times New Roman',serif;font-size:var(--khatm-ar-size,1.48rem);line-height:2.35;text-align:justify;text-align-last:right;color:#1F2A33;word-spacing:.04em;overflow-wrap:normal;word-break:normal;hyphens:none;-webkit-hyphens:none}
.khatm-num{display:inline-grid;place-items:center;min-width:1.85em;height:1.85em;margin-inline-start:5px;padding:0 4px;border:1.5px solid var(--iporse-primary);border-radius:50%;font-family:'IRANYekan',sans-serif;font-size:.5em;line-height:1;font-weight:700;color:var(--iporse-gold-text);vertical-align:middle;background:var(--iporse-surface)}
.khatm-fa{display:none;align-items:flex-start;gap:8px;margin:8px 0 2px;padding:8px 12px;border-inline-start:3px solid rgba(197,160,89,.6);border-radius:10px;background:rgba(246,239,224,.6);font-size:.88rem;line-height:1.95;color:#4A5158;text-align:right}
.khatm-fa-num{flex:none;font-size:.76rem;font-weight:700;color:var(--iporse-gold-text);margin-top:2px}
.khatm-text-body.show-fa .khatm-fa{display:flex}
.khatm-text-note{margin:12px 0;font-size:.86rem;color:var(--iporse-muted);text-align:center}
/* «هدیه یک صفحه قرآن» — group Quran completion card and page window (memorials/quran-gift, js/group-khatm.js) */
.group-khatm{display:grid;gap:14px}
.gk-lead{margin:0;line-height:1.9;color:var(--iporse-text)}
.gk-progress{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--iporse-border);border-radius:14px;background:var(--iporse-gold-soft)}
.gk-progress-text{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:.88rem;color:var(--iporse-gold-text)}
.gk-progress-text b{color:var(--iporse-navy)}
.gk-meter{height:8px;border-radius:999px;background:rgba(197,160,89,.22);overflow:hidden}
.gk-meter i{display:block;height:100%;width:calc(var(--gk,0) * 100%);min-width:4px;border-radius:inherit;background:linear-gradient(90deg,var(--iporse-primary),var(--iporse-sage))}
.gk-open{justify-self:center;min-width:min(100%,260px)}
.gk-shared,.gk-member{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:.85rem;line-height:1.85;color:var(--iporse-muted)}
.gk-shared svg,.gk-member svg{flex:none;width:18px;height:18px;margin-top:3px;color:var(--iporse-primary)}
.gk-member.is-in{padding:8px 12px;border-radius:12px;background:var(--iporse-sage-soft);color:var(--iporse-sage)}
.gk-member.is-in svg{color:var(--iporse-sage)}
.gk-member a{color:var(--iporse-gold-text);font-weight:700}
.gk-dialog{margin:auto;width:min(760px,calc(100% - 20px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:22px;background:var(--iporse-surface);color:var(--iporse-text);box-shadow:0 24px 60px -20px rgba(44,62,80,.45);overflow:hidden}
.gk-dialog[open]{display:flex;flex-direction:column}
.gk-dialog::backdrop{background:rgba(20,28,36,.62)}
.gk-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--iporse-border);background:linear-gradient(180deg,var(--iporse-gold-soft),var(--iporse-surface))}
.gk-dialog-head h2{margin:0;font-size:1.05rem;color:var(--iporse-navy);line-height:1.6}
.gk-dialog-eyebrow{margin:0;font-size:.74rem;font-weight:700;color:var(--iporse-gold-text)}
.gk-dialog-body{flex:1;overflow:auto;padding:16px 20px 20px;overscroll-behavior:contain}
.gk-dialog-body:focus{outline:none}
.gk-loading{padding:40px 0;text-align:center;color:var(--iporse-muted)}
.gk-error{margin:16px 0;padding:12px;border-radius:12px;background:#FBEAEA;color:#8A2C2C;text-align:center}
.gk-reading{display:grid;gap:12px}
.gk-reading[hidden],.gk-loading[hidden],.gk-error[hidden]{display:none}
.gk-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.gk-chip{padding:4px 12px;border-radius:999px;background:var(--iporse-navy);color:#fff;font-size:.78rem;font-weight:700}
.gk-chip-soft{background:var(--iporse-gold-soft);color:var(--iporse-gold-text)}
.gk-range{margin:0;text-align:center;font-weight:700;color:var(--iporse-navy);line-height:1.8}
.gk-kept{margin:0;text-align:center;font-size:.8rem;color:var(--iporse-muted)}
.gk-audio{width:100%}
.gk-no-audio{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:8px 12px;border-radius:12px;background:#F7F5F0;font-size:.82rem;color:var(--iporse-muted)}
.gk-no-audio[hidden],.gk-audio[hidden]{display:none}
.gk-no-audio svg{width:16px;height:16px;flex:none}
.gk-view{display:inline-flex;justify-self:center;padding:3px;border:1px solid var(--iporse-border);border-radius:999px;background:#F7F5F0}
.gk-view button{min-height:44px;padding:5px 14px;border:0;border-radius:999px;background:transparent;color:var(--iporse-muted);font:inherit;font-size:.88rem;cursor:pointer}
.gk-view button[aria-pressed="true"]{background:var(--iporse-surface);color:var(--iporse-navy);font-weight:700;box-shadow:var(--iporse-shadow)}
.gk-view button:focus-visible{outline:2px solid var(--iporse-primary);outline-offset:1px}
.gk-page{padding:6px 18px 10px;border:1px solid rgba(197,160,89,.45);border-radius:18px;background:#FFFCF5;box-shadow:inset 0 0 0 5px #FFFCF5,inset 0 0 0 6px rgba(197,160,89,.25)}
.gk-surah{margin:14px 0 4px;padding:8px 12px;border-radius:12px;background:linear-gradient(90deg,transparent,var(--iporse-gold-soft) 20%,var(--iporse-gold-soft) 80%,transparent);text-align:center}
.gk-surah-name{font-weight:800;color:var(--iporse-gold-text)}
.gk-surah-name::before,.gk-surah-name::after{content:'۞';margin-inline:10px;color:var(--iporse-primary);font-weight:400}
.gk-bismillah{margin:8px 0 2px;text-align:center;font-family:'Amiri Quran','Amiri','Scheherazade New','Noto Naskh Arabic','Traditional Arabic','Times New Roman',serif;font-size:1.6rem;color:var(--iporse-navy)}
.gk-ayah{padding:12px 0;border-bottom:1px solid rgba(197,160,89,.22)}
.gk-ayah:last-child{border-bottom:0}
.gk-ar{margin:0;font-family:'Amiri Quran','Amiri','Scheherazade New','Noto Naskh Arabic','Traditional Arabic','Times New Roman',serif;font-size:var(--gk-ar-size,1.5rem);line-height:2.25;text-align:justify;text-align-last:right;color:#1F2A33;word-spacing:.04em}
.gk-num{display:inline-grid;place-items:center;min-width:1.9em;height:1.9em;margin-inline-start:4px;padding:0 4px;border:1.5px solid var(--iporse-primary);border-radius:50%;font-family:'IRANYekan',sans-serif;font-size:.5em;line-height:1;font-weight:700;color:var(--iporse-gold-text);vertical-align:middle;background:var(--iporse-surface)}
.gk-fa{display:flex;gap:8px;margin:6px 0 0;padding:8px 12px;border-inline-start:3px solid rgba(197,160,89,.6);border-radius:10px;background:rgba(246,239,224,.6);font-size:.9rem;line-height:1.95;color:#4A5158}
.gk-fa-num{flex:none;font-size:.74rem;font-weight:700;color:var(--iporse-gold-text);margin-top:2px}
.gk-page.is-arabic-only .gk-fa{display:none}
.gk-shared-dialog{justify-content:center;text-align:center}
.gk-dialog-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border-top:1px solid var(--iporse-border);background:var(--iporse-surface)}
.gk-dialog-foot .btn{white-space:nowrap}
/* The reading dialog's long dedication title, and the «not in this cycle» dialog (memorials.group-khatm-dialog). */
.gk-dialog-head h2.gk-dialog-title{font-size:.95rem;line-height:1.9;font-weight:700}
.gk-join-dialog{max-width:460px}
.gk-join-body{display:grid;justify-items:center;gap:10px;padding:24px 22px;text-align:center}
.gk-join-body p{margin:0;font-size:.98rem;line-height:2;color:var(--iporse-text)}
.gk-join-image{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin:0 0 4px;border-radius:14px}
.gk-status{flex-basis:100%;margin:0;min-height:0;text-align:center;font-size:.85rem;color:var(--iporse-sage)}
.gk-status:empty{display:none}
@media(max-width:600px){.gk-dialog{width:100%;max-height:100dvh;border-radius:18px 18px 0 0;margin-bottom:0}.gk-dialog-body{padding:14px 12px 18px}.gk-page{padding:4px 12px 8px}.gk-ar{--gk-ar-size:1.35rem}.gk-dialog-foot{padding:10px 12px}.gk-dialog-foot .btn{flex:1;padding-inline:10px;font-size:.9rem}}
/* Support request pop-up and «ساخت صفحهٔ یادبود رایگانه» (memorials/support-prompt, MemorialSupportService) */
.support-prompt{position:fixed;max-height:calc(100dvh - 24px);overflow:auto;width:min(440px,calc(100% - 24px));margin:auto;padding:30px 24px 22px;border:0;border-radius:22px;background:linear-gradient(180deg,var(--iporse-gold-soft),var(--iporse-surface) 45%);color:var(--iporse-text);box-shadow:0 24px 60px -20px rgba(44,62,80,.45);text-align:center}
.support-prompt::backdrop{background:rgba(20,28,36,.6)}
.support-prompt-close{position:absolute;top:10px;inset-inline-end:10px}
.support-prompt-mark{display:inline-grid;place-items:center;width:58px;height:58px;margin-bottom:6px;border-radius:50%;background:var(--iporse-surface);color:var(--iporse-primary);box-shadow:0 6px 18px -8px rgba(197,160,89,.7)}
.support-prompt-mark svg{width:28px;height:28px}
.support-prompt h2{margin:6px 0 8px;font-size:1.15rem;color:var(--iporse-navy);line-height:1.7}
.support-prompt p{margin:0 0 10px;line-height:1.95;font-size:.92rem}
.support-prompt-note{padding:8px 12px;border-radius:12px;background:var(--iporse-sage-soft);color:var(--iporse-sage);font-size:.84rem !important}
.support-prompt-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}
.support-prompt-actions .btn{flex:1;min-width:140px;white-space:nowrap}
.free-badge{display:inline-flex;align-items:center;gap:6px;margin:0 auto 12px;padding:6px 14px;border:1px solid rgba(93,112,82,.35);border-radius:999px;background:var(--iporse-sage-soft);color:var(--iporse-sage);font-size:.84rem;text-decoration:none;transition:background .2s}
.free-badge svg{width:16px;height:16px;flex:none}
.free-badge b{color:var(--iporse-navy)}
.free-badge:hover{background:#DFE6D8}
.free-badge:focus-visible{outline:2px solid var(--iporse-sage);outline-offset:2px}
.memorial-plaque>.free-badge,.t2-hero>.free-badge{align-self:center;justify-self:center}
.memorial-plaque>.free-badge{order:-2}
.memorial-hero>.free-badge{display:flex;width:max-content;max-width:100%}
.memorial-plaque>.memorial-plaque-title{order:-1;width:100%}
.memorial-plaque-title .memorial-name{margin-bottom:4px}
/* 2026-11-16: one fixed bar at the bottom of memorial pages, split down the middle: «اشتراک‌گذاری» (gold, the main
   action) and «ساخت یادبود رایگان» (cream half of the same bar). A full-width bar on phones, a compact pill on desktop. */
.memorial-fabs{position:fixed;z-index:35;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid rgba(197,160,89,.65);background:var(--iporse-surface);box-shadow:0 12px 28px -10px rgba(44,62,80,.45)}
.memorial-fabs>a{position:static;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;border-radius:0;box-shadow:none;font-weight:700;text-decoration:none;white-space:nowrap;transform:none;transition:background .2s,color .2s}
.memorial-fabs>a .ui-icon{flex:none;width:20px;height:20px}
.memorial-fabs .share-fab{order:-1;background:var(--iporse-primary);color:var(--iporse-on-gold)}
.memorial-fabs .share-fab:hover{background:var(--iporse-primary-hover);transform:none}
.memorial-fabs .create-fab{background:#FFFCF5;color:var(--iporse-navy);border-inline-start:1px solid rgba(197,160,89,.45)}
.memorial-fabs .create-fab .ui-icon{color:var(--iporse-gold-text)}
.memorial-fabs .create-fab:hover{background:var(--iporse-gold-soft)}
.memorial-fabs>a:focus-visible{outline:3px solid var(--iporse-navy);outline-offset:-3px}
@media(max-width:767px){
 html:has(.memorial-fabs){scroll-padding-block-end:calc(76px + env(safe-area-inset-bottom))}
 .memorial-fabs{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));height:56px;border-radius:16px}
 .memorial-fabs>a{padding:0 6px;font-size:.88rem}
}
@media(max-width:340px){.memorial-fabs>a{gap:5px;font-size:.8rem}.memorial-fabs>a .ui-icon{width:17px;height:17px}}
@media(min-width:768px){
 .memorial-fabs{right:24px;bottom:24px;height:54px;border-radius:999px;grid-template-columns:auto}
 .memorial-fabs>a{padding:0 22px;font-size:.92rem}
 .memorial-fabs .create-fab{display:none} /* desktop: only «اشتراک‌گذاری»; creating is in the navbar */
}
/* Dashboard card: memorial code, template label, «مشاهده» beside the name, «خیرات» dialog */
.memorial-card-stats>.stat-code{grid-column:1/-1;background:var(--iporse-navy);color:#fff}
.memorial-card-stats>.stat-code dt{color:var(--iporse-gold-on-navy);font-weight:700}
.memorial-card-stats>.stat-code dd{color:#fff;font-size:1.05rem;letter-spacing:.06em}
.card-title-row .memorial-full-name a{color:inherit;text-decoration:none}
.card-title-row .memorial-full-name a:hover{color:var(--iporse-gold-text)}
.card-view-link{font-size:.82rem}
.template-chip{--chip:var(--iporse-gold-text);--chip-soft:var(--iporse-gold-soft);display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;margin:0;padding-block:3px;padding-inline:4px 12px;border:1px solid color-mix(in srgb,var(--chip) 22%,transparent);border-radius:999px;background:color-mix(in srgb,var(--chip-soft) 55%,#fff);font-size:.78rem;color:var(--iporse-muted)}
.template-chip-row{flex-basis:100%;margin-top:2px}
.template-chip-icon{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:var(--chip-soft);color:var(--chip)}
.template-chip .ui-icon{width:15px;height:15px}
.template-chip b{font-weight:700;color:var(--chip)}
.memorial-card.template-olive{border-top:3px solid var(--iporse-sage)}
.memorial-card.template-olive .template-chip{--chip:var(--iporse-sage);--chip-soft:#E8EEE2}
.memorial-card.template-classic{border-top:3px solid var(--iporse-primary)}
.memorial-card.template-classic .template-chip{--chip:var(--iporse-gold-text);--chip-soft:var(--iporse-gold-soft)}
.khayrat-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.khayrat-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--iporse-border);border-radius:14px;background:var(--iporse-surface);color:var(--iporse-text);text-decoration:none;transition:border-color .2s,background .2s}
a.khayrat-item:hover{border-color:var(--iporse-primary);background:var(--iporse-gold-soft)}
a.khayrat-item:focus-visible{outline:2px solid var(--iporse-primary);outline-offset:2px}
.khayrat-item>span:nth-child(2){display:grid;gap:2px;flex:1;min-width:0}
.khayrat-item strong{font-size:.92rem;color:var(--iporse-navy)}
.khayrat-item small{font-size:.78rem;color:var(--iporse-muted);line-height:1.7}
.khayrat-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--iporse-gold-soft);color:var(--iporse-gold-text)}
.khayrat-icon .ui-icon{width:20px;height:20px}
.khayrat-arrow{flex:none;width:18px;height:18px;color:var(--iporse-muted)}
.khayrat-item.is-soon{opacity:.6;cursor:not-allowed}
/* Each gift's picture (public_html/images/services/<key>.svg, or the product's `image` in config/memorial_services.php). */
.khayrat-image{flex:none;width:56px;height:56px;border-radius:14px;object-fit:cover;background:var(--iporse-gold-soft)}
.memorial-cover .cover-actions button{pointer-events:auto} /* «خیرات» is a button; the row itself lets clicks through to the photo link */
.memorial-card-stats:has(.stat-code)>div:last-child{grid-column:auto} /* code row + 6 stats: «پیام‌ها» stays beside «ختم قرآن» */
/* 2026-11-24: «شرکت در مراسم ختم» above the prayer buttons (both memorial templates) */
.ceremony-label{display:grid;gap:3px;justify-items:center;margin:16px 0 12px;text-align:center}
.ceremony-label strong{display:flex;align-items:center;gap:10px;font-size:1.05rem;font-weight:800;color:var(--iporse-navy)}
.ceremony-label strong::before,.ceremony-label strong::after{content:'';width:28px;height:1px;background:var(--iporse-primary)}
.ceremony-label small{font-size:.84rem;color:var(--iporse-muted)}
.t2-group>.ceremony-label{margin-top:0}
/* 2026-11-24 dashboard card: missing dates in red, creation time, grid lines between the statistics */
.card-dates b.is-missing{color:#B42318;font-weight:700}
.memorial-card .memorial-card-stats{gap:1px;padding:0;background:#E3DED3;border:1px solid #E3DED3;border-radius:12px;overflow:hidden}
.memorial-card .memorial-card-stats>div{border-radius:0;background:#fff}
.memorial-card .memorial-card-stats>.stat-code{background:var(--iporse-navy)}
.memorial-card .memorial-card-stats .stat-datetime{display:inline-block;white-space:nowrap;font-size:.86em;letter-spacing:-.01em;unicode-bidi:isolate} /* 1404/08/24-12:00 on one line */
@media(max-width:480px){.memorial-card .memorial-card-stats .stat-datetime{font-size:.8em}}
@media(max-width:360px){.memorial-card .memorial-card-stats .stat-datetime{font-size:.72em}}
.memorial-card .memorial-card-stats>.stat-created dd{direction:rtl}
/* a draft's code row: same place and height as the published card's code, muted (2026-11-24) */
.memorial-card .memorial-card-stats>.stat-code.is-pending{background:repeating-linear-gradient(135deg,#f7f3ea 0 10px,#f2ecdf 10px 20px)}
.memorial-card .memorial-card-stats>.stat-code.is-pending dt{color:#8a6a2e}
.memorial-card .memorial-card-stats>.stat-code.is-pending dd{color:var(--iporse-muted);font-size:.85rem;font-weight:700;letter-spacing:0;direction:rtl}
/* 2026-11-24: one tap to the dashboard where the account menu lives in the drawer (narrow screens, collapsed menu) */
.nav-dashboard{display:none;align-items:center;gap:6px;min-height:44px;padding:0 14px 0 12px;border-radius:999px;border:1px solid var(--line);background:var(--glass);color:#fff;font-size:.85rem;font-weight:700;text-decoration:none;white-space:nowrap}
.nav-dashboard .ui-icon{width:18px;height:18px}
.nav-dashboard[aria-current="page"]{border-color:var(--iporse-primary)}
.nav-dashboard:focus-visible{outline:3px solid var(--iporse-primary);outline-offset:2px}
@media(max-width:1099px){.nav-dashboard{display:inline-flex}}
.nav.collapsed .nav-dashboard{display:inline-flex}
@media(max-width:380px){.nav-dashboard{width:44px;padding:0;justify-content:center}.nav-dashboard span{display:none}}

/* Quran pages read for the memorial under its Quran button (GroupKhatmService::pagesReadFor), like the salawat counts */
.prayer-button-read{display:block;margin-top:2px}
