/* Account pages share the original green, gray, and IRANYekan design tokens. */
/* Four equal metrics retain two readable columns on tablets and phones. */
.wizard{scroll-margin-top:110px}
.ui-icon{width:22px;height:22px;flex:0 0 auto;vertical-align:middle}
.workspace-stage{display:block;padding:32px clamp(12px,3vw,40px) 56px}
.workspace{display:grid;grid-template-columns:246px minmax(0,1fr);gap:30px;max-width:1376px;margin:auto;align-items:start}
.workspace-content{min-width:0}
.account-nav{position:sticky;top:110px;border:1px solid var(--line);border-radius:24px;background:#2b3c4e;padding:22px 16px;overflow:hidden}
.account-identity{display:flex;gap:12px;align-items:center;padding:0 2px 23px;text-decoration:none;border-bottom:1px solid var(--line)}
.avatar{width:46px;height:46px;display:grid;place-items:center;flex-shrink:0;border:1px solid #486684;border-radius:16px;background:#364c62;color:#e0c48c;font-size:1.3rem;font-weight:800}
.account-identity strong{display:block;font-size:.95rem;overflow-wrap:anywhere}
.account-identity small{display:block;font-size:.8rem;color:var(--mute);text-align:right;margin-top:3px}
.account-links{display:grid;gap:7px;margin:21px 0}
.account-links a{display:flex;align-items:center;gap:11px;padding:12px;border-radius:12px;text-decoration:none;color:#cdd1d5;font-size:.94rem}
.account-links a:hover{background:#32465b;color:white}.account-links a.selected{background:#354b61;color:#e0c48c;font-weight:700}
.nav-note{color:#aeb4bb;font-size:.86rem;line-height:2.1;padding:24px 12px 34px}
.account-logout{border-top:1px solid var(--line);padding-top:14px}.account-logout button{display:flex;align-items:center;gap:10px;background:none;border:0;color:#c9ccd0;padding:10px 12px;font:inherit;font-size:.88rem;cursor:pointer}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:2px 0 25px}.page-heading h1{font-size:clamp(1.35rem,2.5vw,1.8rem);font-weight:800;line-height:1.8;margin-bottom:3px}.muted{color:var(--mute);font-size:.91rem;line-height:1.9}
.eyebrow{display:block;color:#586b4c;font-size:.79rem;font-weight:700;letter-spacing:0;margin-bottom:5px}
.quiet-tag{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);padding:7px 12px;border-radius:12px;white-space:nowrap;font-size:.78rem;color:var(--mute)}
.welcome-banner{position:relative;display:flex;justify-content:space-between;align-items:center;gap:22px;padding:32px 36px;border:1px solid #edf1ea;border-radius:24px;background:linear-gradient(115deg,#f9faf7,#fbfcfa 65%,#fdfdfc);overflow:hidden}
.welcome-banner h2{font-size:clamp(1.65rem,3vw,2.4rem);font-weight:900;line-height:1.7;margin-bottom:8px}.welcome-banner p{color:#414950;font-size:1rem;line-height:1.95;margin-bottom:23px}.welcome-banner small{display:block;color:#4d565e;font-size:.78rem;margin-top:12px}.welcome-banner .btn{padding:12px 21px;border-radius:13px;font-size:.99rem}
.stat-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0 32px}.stat-card{display:flex;align-items:center;gap:15px;padding:20px 23px;background:#fefefd;border:1px solid var(--line);border-radius:18px}.stat-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#f9f9f7;color:#586b4c;flex-shrink:0}.stat-icon.warm{background:#f9f8f7;color:#8a6a2e}.stat-card strong{display:block;font-size:1.4rem;font-weight:800;line-height:1.4}.stat-card div>span{color:var(--mute);font-size:.82rem}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-heading h2{font-size:1.2rem;font-weight:800}.section-heading p{font-size:.81rem;margin-top:3px}
.empty-state{text-align:center;border:1px dashed #f1efeb;border-radius:22px;background:#ffffff;padding:37px 20px}.empty-leaf{display:grid;place-items:center;margin:0 auto 15px;width:70px;height:70px;border-radius:22px;background:#faf9f8;color:#586b4c}.empty-leaf svg{width:48px;height:48px}.empty-state h3{font-size:1.1rem}.empty-state p{max-width:410px;margin:8px auto 20px;color:var(--mute);font-size:.9rem}
.btn-outline{background:#fbfbf9;color:#323d2b;border:1px solid #edeae5;box-shadow:none;padding:10px 17px;font-size:.94rem;border-radius:12px}.btn-outline:hover{background:#f8f7f5}.text-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:none;font:inherit;font-size:.9rem;font-weight:500;color:#556749;text-decoration:none;cursor:pointer;padding:7px 1px}.text-action:hover{text-decoration:underline}.text-action .ui-icon{width:19px;height:19px}
.memorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.memorial-card{border:1px solid var(--line);border-radius:20px;background:#fdfdfd;overflow:hidden}.memorial-cover{height:150px;background:linear-gradient(135deg,#f5f7f3,#fbfbfa);display:grid;place-items:center;position:relative}.memorial-cover>svg{width:85px;height:85px;color:#586b4c}.memorial-cover>img{width:100%;height:100%;object-fit:cover}.status-badge{position:absolute;top:14px;right:14px;display:inline-flex;padding:3px 11px;border-radius:30px;border:1px solid #eae6e0;background:#f8faf7;color:#46553c;font-size:.73rem}.status-badge.draft{background:#fcfbf6;color:#87682d;border-color:#f4ecd9}.memorial-card-body{padding:20px}.memorial-card h3{font-size:1.18rem;font-weight:800;margin:1px 0 8px;overflow-wrap:anywhere}.memorial-card .muted{font-size:.8rem}.card-actions{display:flex;gap:18px;align-items:center;border-top:1px solid var(--line);margin-top:17px;padding-top:16px}.card-actions .btn{font-size:.83rem;padding:8px 15px}.simple-pagination{display:flex;gap:15px;justify-content:center;margin:25px 0}
.notice{display:flex;align-items:flex-start;gap:10px;padding:15px 18px;border-radius:13px;margin-bottom:22px;font-size:.91rem;line-height:1.9}.notice-success{background:#f9faf7;border:1px solid #e5ebdf;color:#44533b}.notice-error{background:#faf9f8;border:1px solid #f6d0cc;color:#631c17}.notice .ui-icon{margin-top:4px}.notice ul{margin:6px 0 0;padding-inline-start:20px}
.panel{background:#fefefd;border:1px solid var(--line);border-radius:22px;padding:30px}.profile-panel{max-width:850px}.panel-heading{display:flex;gap:14px;align-items:center;margin-bottom:28px}.panel-heading h2{font-size:1.17rem}.panel-heading p{font-size:.83rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.full{grid-column:1/-1}.form-field{display:grid;align-content:start;gap:9px;min-width:0}.form-field>span,.gender-field legend,.date-field legend{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.95rem;margin-bottom:0}.form-field input,.form-field textarea,.form-field select,.date-parts input,.date-parts select{width:100%;min-width:0;max-width:100%;border-radius:11px;background:#ffffff;border:1px solid #edebe5;color:#2d3237;font:inherit;font-size:1rem;padding:11px 14px;min-height:52px;outline-offset:3px;color-scheme:light}.form-field textarea{resize:vertical;line-height:1.9}.form-field input:focus,.form-field textarea:focus,.form-field select:focus,.date-parts input:focus,.date-parts select:focus{border-color:#586b4c;outline:2px solid #e1e8db}.form-field input::placeholder,.date-parts input::placeholder,.form-field textarea::placeholder{color:#6c7884;font-size:.88rem}.form-field small,.field-help{color:#525b64;font-size:.79rem;line-height:1.9}.form-field .field-error,.field-error{display:block;color:#7f241e;font-size:.83rem;margin-top:5px}.required-label,.optional-label{font-size:.7rem;font-weight:500;line-height:1.8;padding:1px 8px;border-radius:20px;white-space:nowrap}.required-label{color:#415038;background:#f7f5f3}.optional-label{color:#4b535b;background:#f6f5f2}.phone-info{display:flex;gap:13px;align-items:center;border-radius:13px;background:#fbfaf9;padding:16px 18px;margin:26px 0;color:#4a525a}.phone-info span{font-size:.83rem}.phone-info strong{display:block;text-align:right;color:#35412e;letter-spacing:.06em;margin-top:5px}.form-actions{display:flex;align-items:center;gap:25px;margin-top:27px}.form-actions .btn{font-size:1rem;border-radius:12px;padding:12px 24px}
.wizard-progress{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:0 0 26px;border:1px solid var(--line);border-radius:18px;background:#fefefe;overflow:hidden}.wizard-progress li{min-width:0}.wizard-progress button{display:flex;align-items:center;gap:11px;width:100%;background:none;border:0;border-inline-end:1px solid var(--line);text-align:right;color:#57606a;cursor:pointer;padding:17px 19px;font:inherit}.wizard-progress li:last-child button{border:0}.wizard-progress button>span{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid #eae7e0;border-radius:50%;font-size:.95rem}.wizard-progress strong{display:block;font-size:.88rem;font-weight:700}.wizard-progress small{display:block;font-size:.7rem;color:#5a646e}.wizard-progress button[aria-current=step]{background:#f9f8f7;color:#44533b}.wizard-progress button[aria-current=step]>span{background:#4c5c42;color:#2d3134;border-color:#586b4c}.wizard-progress .complete>span{border-color:#dbe3d4;color:#586b4c}
.step-intro{margin-bottom:28px}.step-intro h2,.optional-intro h2{font-size:1.3rem;font-weight:800;margin-bottom:6px}.gender-field,.date-field{min-width:0;border:0;padding:0;margin:0}.gender-field legend,.date-field legend{margin-bottom:12px}.gender-options{display:flex;gap:14px;max-width:410px}.gender-options label{display:flex;align-items:center;gap:11px;flex:1;padding:13px 17px;border:1px solid #edebe6;background:#ffffff;border-radius:12px;cursor:pointer}.gender-options label:has(input:checked){border-color:#586b4c;background:#f6f8f4}.gender-options input,.checkbox-field input{accent-color:var(--green);width:20px;height:20px;flex-shrink:0}.soft-note{display:flex;align-items:flex-start;gap:11px;margin-top:26px;padding:16px 17px;border-radius:13px;background:#fbfaf9;color:#454d55;font-size:.84rem}.soft-note .ui-icon{margin-top:3px}
.optional-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:5px 1px 23px}.optional-intro p{color:#4b535c;font-size:.88rem;max-width:530px}.optional-intro .btn{flex-shrink:0}.optional-section{border:1px solid #f1efeb;border-radius:16px;background:#fdfdfc;margin-bottom:14px;overflow:hidden}.optional-section summary{list-style:none;display:flex;align-items:center;gap:13px;padding:18px 19px;cursor:pointer}.optional-section summary::-webkit-details-marker{display:none}.summary-icon{display:grid;place-items:center;width:40px;height:40px;background:#f8f7f5;border-radius:12px;color:#586b4c;flex-shrink:0}.optional-section summary>span:nth-child(2){flex:1;min-width:0}.optional-section summary strong{display:block;font-size:1rem;font-weight:700}.optional-section summary small{display:block;font-size:.76rem;color:#515a63;margin-top:2px}.optional-section[open] summary{border-bottom:1px solid var(--line)}.optional-section[open] summary>.ui-icon{transform:rotate(180deg)}.optional-body{padding:23px}.optional-body>.form-field{margin-bottom:20px}.optional-body>.form-field:last-child{margin-bottom:0}.date-field+.date-field{margin-top:23px}.date-parts{display:grid;grid-template-columns:.85fr 1.25fr 1fr;gap:12px}.date-parts label{min-width:0}.date-parts label>span{display:block;font-size:.81rem;color:var(--mute);margin-bottom:7px}.date-field{margin-top:16px}.date-parts select{padding:10px 8px}.upload-area{display:flex;align-items:center;gap:23px;flex-wrap:wrap;padding:20px;background:#ffffff;border:1px dashed #e5e1d9;border-radius:15px;cursor:pointer}.upload-preview{display:grid;place-items:center;width:100px;height:108px;border-radius:14px;overflow:hidden;background:#f8f7f5;flex-shrink:0}.upload-preview img{width:100%;height:100%;object-fit:cover}.upload-preview svg{width:68px;height:68px;color:#586b4c}.upload-area strong{display:block;font-size:1rem}.upload-area small{display:block;color:var(--mute);font-size:.76rem;margin-top:8px}.upload-area input{font:inherit;max-width:100%;font-size:.8rem}.checkbox-field{display:flex;align-items:center;gap:10px;margin-top:15px;font-size:.85rem}.suggestion{margin:-8px 0 22px;font-size:.82rem;text-decoration:underline}.wizard-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding:25px 0 0;margin-top:25px}.primary-actions{display:flex;gap:14px;align-items:center}.primary-actions .btn{font-size:1rem;padding:12px 22px;border-radius:12px}.save-draft{font-size:.8rem}.review-card{border:1px solid #efece7;border-radius:19px;padding:27px;background:linear-gradient(160deg,#f8f9f6,#fdfdfc);text-align:center}.review-portrait{display:grid;place-items:center;width:128px;height:145px;border-radius:70px 70px 17px 17px;background:#f2f5f0;overflow:hidden;margin:0 auto 20px}.review-portrait>img{width:100%;height:100%;object-fit:cover}.review-portrait>svg{width:87px;height:87px;color:#546749}.review-card h3{font-size:1.65rem;font-weight:800;overflow-wrap:anywhere}.review-details{text-align:right;max-width:560px;margin:22px auto 0}.review-details div{padding:12px 0;border-bottom:1px solid var(--line)}.review-details dt{font-size:.76rem;color:#525b65}.review-details dd{font-size:.95rem;white-space:pre-wrap;overflow-wrap:anywhere}.review-card>.muted{margin-top:18px}.review-edit{display:flex;justify-content:center;gap:25px;margin-top:18px}
.memorial-public-stage{display:block;padding:30px 16px 60px}.memorial-public{max-width:900px;margin:auto}.public-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.memorial-page{background:#fdfdfc;border:1px solid #f0eee9;border-radius:25px;overflow:hidden;text-align:center}.memorial-page header{padding:35px 25px;background:radial-gradient(ellipse at top,#f5f4f1,#fdfdfc 80%)}.public-portrait{display:grid;place-items:center;width:190px;height:216px;background:#f3f5f0;margin:22px auto;border-radius:110px 110px 20px 20px;overflow:hidden;border:1px solid #88939d}.public-portrait img{width:100%;height:100%;object-fit:cover}.public-portrait svg{width:130px;height:130px;color:#57694b}.memorial-honor{color:#506145;font-size:1rem;margin-bottom:6px}.memorial-page h1{font-size:clamp(1.65rem,4vw,2.7rem);font-weight:900;overflow-wrap:anywhere;line-height:1.7}.memorial-subtitle{color:#505962;font-size:.92rem;margin-top:9px}.life-dates{display:flex;justify-content:center;gap:30px;margin-top:25px;flex-wrap:wrap}.life-dates span{font-size:.78rem;color:#4b535b}.life-dates b{display:block;font-size:1rem;color:#333f2c;margin-top:4px}.memorial-description,.memorial-place{margin:0 35px;padding:27px 0;border-top:1px solid var(--line)}.memorial-page h2{font-size:1.1rem;color:#586b4c;margin-bottom:12px}.memorial-description p{white-space:pre-wrap;line-height:2.2;text-align:right;overflow-wrap:anywhere}.memorial-place p{color:#3f474e;overflow-wrap:anywhere}.dedication{margin:15px 25px 0;color:#4b545c;font-size:.93rem;overflow-wrap:anywhere}.memorial-prayer{padding:30px 20px;color:#44533b}.memorial-prayer svg{width:43px;height:43px;display:block;margin:0 auto 10px;color:#586b4c}.share-panel{margin-top:22px;padding:27px;border:1px solid var(--line);border-radius:20px;background:#fdfdfc}.share-panel h2{font-size:1.15rem;margin-bottom:6px}.share-actions{display:flex;gap:12px;margin:20px 0}.share-actions .btn{padding:12px 20px;font-size:.95rem;border-radius:12px}.share-url span{display:block;font-size:.79rem;color:var(--mute);margin-bottom:8px}.share-url input{background:#ffffff;border:1px solid #edeae4;border-radius:9px;color:#425039;width:100%;min-width:0;max-width:100%;padding:11px 13px;font:inherit;font-size:.85rem}.share-panel .field-help{margin-top:8px}
@media(min-width:1550px){.welcome-banner{padding:38px 44px}}
@media(max-width:1150px){.workspace{grid-template-columns:210px minmax(0,1fr);gap:20px}.account-nav{padding:18px 12px}.welcome-banner{padding:25px}.page-heading .quiet-tag{display:none}.wizard-progress button{padding:14px 10px;gap:8px}.wizard-progress strong{font-size:.79rem}.wizard-progress small{font-size:.64rem}.wizard-actions{flex-wrap:wrap}.optional-intro{align-items:start;flex-direction:column}}
@media(max-width:850px){.workspace{grid-template-columns:minmax(0,1fr);gap:24px}.workspace-stage{padding-top:20px}.account-nav{position:static;padding:14px 17px;display:flex;align-items:center;gap:20px;flex-wrap:wrap;border-radius:17px}.account-identity{border:0;padding:0}.account-links{display:flex;flex:1;justify-content:flex-end;gap:4px;margin:0}.account-links a{padding:9px 11px;font-size:.84rem;white-space:nowrap}.account-links .ui-icon{width:18px;height:18px}.nav-note{display:none}.account-logout{border:0;padding:0;margin-inline-start:auto}.account-logout button{font-size:.75rem;padding:4px}.wizard-progress strong{font-size:.87rem}.wizard-progress small{font-size:.72rem}.optional-intro{flex-direction:row;align-items:center}.account-identity strong{font-size:.84rem}}
@media(max-width:560px){.workspace-stage{padding:16px 12px 35px}.workspace{gap:20px}.account-nav{padding:14px 12px;gap:12px}.account-identity{flex:1}.account-identity small{font-size:.75rem}.account-links{order:3;justify-content:space-between;flex-basis:100%;border-top:1px solid var(--line);padding-top:12px;gap:4px}.account-links a{font-size:.77rem;padding:10px 7px;gap:5px}.account-logout{margin:0}.account-logout .ui-icon{width:18px;height:18px}.page-heading{margin-bottom:19px;align-items:start;gap:12px;flex-wrap:wrap}.page-heading h1{font-size:1.4rem}.page-heading .muted{font-size:.86rem}.page-heading .text-action{font-size:.77rem}.welcome-banner{padding:23px 21px;gap:8px;border-radius:20px}.welcome-banner h2{font-size:1.85rem}.welcome-banner p{font-size:.9rem}.welcome-banner .eyebrow{font-size:.7rem}.welcome-banner .btn{padding:12px 16px;font-size:.91rem}.welcome-banner small{font-size:.73rem}.stat-row{gap:10px;margin:15px 0 26px}.stat-card{padding:15px 12px;gap:10px;border-radius:14px}.stat-card .stat-icon{width:34px;height:34px;border-radius:10px}.stat-card strong{font-size:1.3rem}.stat-card div>span{font-size:.69rem}.section-heading p{font-size:.78rem}.memorial-grid{grid-template-columns:1fr;gap:17px}.empty-state{padding:27px 17px}.empty-state p{font-size:.88rem}.panel{padding:23px 18px;border-radius:18px}.panel-heading{align-items:start;gap:12px}.panel-heading h2{font-size:1.1rem}.form-grid{grid-template-columns:1fr;gap:20px}.form-field input,.form-field select,.date-parts input,.date-parts select{min-height:52px;font-size:1rem}.form-field>span{font-size:1rem}.form-actions{flex-wrap:wrap;gap:12px}.form-actions .btn{width:100%}.form-actions .text-action{margin:auto}.wizard-progress{margin-bottom:20px;border-radius:14px}.wizard-progress button{flex-direction:column;align-items:center;text-align:center;padding:13px 3px;gap:7px}.wizard-progress strong{font-size:.75rem}.wizard-progress small{font-size:.63rem;line-height:1.6}.wizard-progress button>span{width:29px;height:29px;font-size:.85rem}.step-intro h2,.optional-intro h2{font-size:1.2rem}.step-intro{margin-bottom:24px}.gender-options{max-width:none}.soft-note{font-size:.85rem;padding:14px 12px}.optional-intro{display:block;padding:2px 1px 20px}.optional-intro .btn{margin-top:17px;width:100%;font-size:1rem;min-height:49px}.optional-section summary{padding:16px 13px;gap:9px}.summary-icon{width:33px;height:33px;border-radius:10px}.summary-icon .ui-icon{width:20px;height:20px}.optional-section summary strong{font-size:.94rem}.optional-section summary small{font-size:.69rem}.optional-section summary>.ui-icon{width:18px;height:18px}.optional-section summary .optional-label{font-size:.64rem;padding:1px 6px}.optional-body{padding:19px 15px}.date-parts{gap:8px;grid-template-columns:.8fr 1.2fr 1fr}.date-parts select,.date-parts input{padding:10px 6px;font-size:.88rem}.date-parts input::placeholder{font-size:.72rem}.date-field legend{font-size:.96rem}.upload-area{padding:15px;gap:14px}.upload-area strong{font-size:.9rem}.upload-preview{width:85px;height:95px}.upload-area small{font-size:.69rem}.wizard-actions{gap:17px;display:grid;grid-template-columns:1fr}.primary-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.primary-actions .btn{font-size:.92rem;padding:12px 14px;min-height:51px}.save-draft{font-size:.86rem;min-height:46px}.review-card{padding:22px 15px}.review-card h3{font-size:1.5rem}.review-edit{gap:15px;flex-wrap:wrap}.review-edit .text-action{font-size:.82rem}.notice{padding:13px;font-size:.86rem}.memorial-public-stage{padding:22px 12px 35px}.memorial-page header{padding:27px 17px}.public-portrait{width:165px;height:190px}.life-dates{gap:25px}.memorial-description,.memorial-place{margin:0 22px}.memorial-description p{font-size:1rem}.share-panel{padding:22px 18px}.share-panel h2{font-size:1.08rem}.share-actions{flex-wrap:wrap}.share-actions .btn{width:100%;min-height:50px}.public-toolbar .btn{font-size:.82rem;padding:9px 12px}}
@media(prefers-reduced-motion:reduce){.optional-section summary>.ui-icon{transition:none}}
@media(max-width:359px){.account-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0}.account-links a{white-space:normal;flex-direction:column;justify-content:center;text-align:center;padding:8px 3px;font-size:.74rem}}

.stat-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.stat-card{padding:18px 16px;gap:12px;min-width:0;align-items:flex-start}
.stat-card>div{min-width:0}.stat-card strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:1.4rem;line-height:1.6}
.stat-card div>span{display:block;line-height:1.8;font-size:.78rem}
.card-actions{flex-wrap:wrap;gap:12px}
@media(max-width:1200px){.stat-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.stat-row{gap:10px}.stat-card{padding:14px 12px;gap:9px}.stat-card div>span{font-size:.72rem}.stat-card strong{font-size:1.2rem}}
@media(max-width:380px){.stat-card{flex-direction:column;gap:7px}.stat-card .stat-icon{width:30px;height:30px}.stat-card .ui-icon{width:19px;height:19px}}

/* Errors must be seen (client, 6 Dec 2026): strong red box with a warning mark; a new one flashes three times. */
.notice.notice-error{position:relative;padding-inline-start:46px;border:2px solid #d93025;background:#fdecea;color:#8a1c12;font-weight:600;box-shadow:0 8px 22px -14px rgba(217,48,37,.7)}
.notice.notice-error::before{content:"!";position:absolute;inset-inline-start:14px;top:14px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#d93025;color:#fff;font-weight:800;font-size:14px;line-height:1}
.notice.notice-error strong{color:#7a1409}
.notice-error.notice-flash,.notice-error[data-flash]{animation:notice-flash .55s ease-in-out 3}
@keyframes notice-flash{0%,100%{background:#fdecea;transform:none}50%{background:#f9c6c0;transform:translateX(-3px)}}
@media (prefers-reduced-motion:reduce){.notice-error.notice-flash,.notice-error[data-flash]{animation:none}}
