.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body {
    background:
        radial-gradient(circle at 82% 12%, rgba(127, 111, 238, .09), transparent 30rem),
        radial-gradient(circle at 12% 88%, rgba(79, 174, 222, .07), transparent 28rem),
        linear-gradient(145deg, #fcfdff 0%, #f8f8fe 52%, #f8fbff 100%);
}
.guest-mailbox-copy p,
.inbox-header p,
.inbox-empty p,
.field-hint { font-weight: 400; }
.workspace::before, .workspace::after { display: none; }
.mailer-content { width: min(92%, 1320px); padding-top: 26px; padding-bottom: 48px; }
.mailer-heading { margin-bottom: 18px; }
.mailer-heading .eyebrow { margin-bottom: 5px; }
.mailer-heading h1 { font-size: clamp(28px, 3.2vw, 37px); }

.guest-workspace { display: block; padding-top: 68px; overflow: visible; }
.guest-topbar { position: fixed; z-index: 10; inset: 0 0 auto; height: 68px; border-bottom: 1px solid #e9e8f3; background: rgba(255,255,255,.98); box-shadow: 0 8px 24px -24px rgba(40,45,90,.32); }
.guest-topbar-inner { width: min(calc(100% - 48px), 1180px); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.guest-topbar .brand { padding: 0; }
.guest-topbar nav { display: flex; align-items: center; gap: 22px; color: var(--ink-500); font-size: 14px; line-height: 1.4; font-weight: 700; }
.guest-topbar nav a:hover { color: var(--purple-700); }
.guest-register { padding: 9px 14px; border: 1px solid #dedafa; border-radius: 10px; color: var(--purple-700); background: #f6f4ff; }
.guest-workspace .mailer-content { width: min(calc(100% - 48px), 1180px); max-width: none; }

.mailer-builder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 16px; align-items: stretch; }
.application-panel, .preview-panel, .inbox-preview, .guest-mailbox-card { border: 1px solid #e5e4ef; border-radius: 22px; box-shadow: 0 18px 44px -34px rgba(55,48,116,.28); }
.application-panel { padding: 24px 26px; background: #fff; }
.section-heading { margin-bottom: 19px; }
.section-heading span { display: block; color: var(--ink-950); font-size: 18px; font-weight: 700; letter-spacing: -.012em; }
.section-heading small { display: block; margin-top: 4px; color: #626980; font-size: 12px; line-height: 1.5; }
.field-block { margin-top: 18px; }
.field-block:first-of-type { margin-top: 0; }
.field-label { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.field-label label, .duration-field legend { color: var(--ink-700); font-size: 14px; line-height: 1.4; font-weight: 700; }
.random-address-link { color: var(--purple-700); font-size: 12px; line-height: 1.4; font-weight: 600; text-decoration: none; }
.random-address-link:hover { color: #5744c7; text-decoration: underline; text-underline-offset: 3px; }
.random-address-link[aria-disabled="true"] { opacity: .52; pointer-events: none; }
.address-input { margin-top: 8px; min-height: 50px; display: grid; grid-template-columns: minmax(120px, 1fr) auto minmax(160px, .9fr); align-items: center; gap: 10px; padding: 0 15px; border: 1px solid #dcdbe8; border-radius: 14px; background: #fcfcff; transition: border-color .18s, box-shadow .18s, background .18s; }
.address-input:focus-within { border-color: rgba(104,82,229,.58); background: #fff; box-shadow: 0 0 0 4px rgba(104,82,229,.08); }
.address-input > input { width: 100%; min-width: 0; padding: 14px 0; border: 0; outline: 0; color: var(--ink-900); background: transparent; font: inherit; font-size: 15px; line-height: 1.4; font-weight: 600; }
.address-input > span { color: #aaa6bd; font-size: 15px; }
.domain-picker { position: relative; min-width: 0; }
.domain-toggle { width: 100%; min-height: 48px; padding: 0 3px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 0; color: var(--ink-900); background: transparent; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.domain-toggle span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.domain-toggle i { width: 8px; height: 8px; flex: 0 0 auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .18s; }
.domain-toggle[aria-expanded="true"] i { transform: translateY(2px) rotate(225deg); }
.domain-options { position: absolute; z-index: 20; top: calc(100% + 8px); right: -12px; width: max(100%, 230px); padding: 7px; border: 1px solid #dfdced; border-radius: 14px; background: #fff; box-shadow: 0 18px 44px -24px rgba(47,40,96,.42); }
.domain-options[hidden] { display: none; }
.domain-options button { width: 100%; min-height: 40px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-radius: 9px; color: #495069; background: transparent; font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.domain-options button:hover { color: var(--purple-700); background: #f7f5ff; }
.domain-options button[aria-selected="true"] { color: var(--purple-700); background: linear-gradient(120deg,#f2f5ff,#f5f0ff); font-weight: 700; }
.domain-options button i { width: 7px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: 0; transform: rotate(45deg); }
.domain-options button[aria-selected="true"] i { opacity: 1; }
.domain-option-copy { min-width: 0; display: flex; flex: 1 1 auto; align-items: center; gap: 7px; }
.domain-option-copy strong { min-width: 0; overflow: hidden; color: inherit; font-size: inherit; font-weight: inherit; text-overflow: ellipsis; white-space: nowrap; }
.domain-option-copy small { flex: 0 0 auto; font-size: 10.5px; line-height: 1; font-weight: 500; }
.domain-access-free { color: #4c5262; }
.domain-access-login { color: #23866d; }
.domain-access-member { color: #d34848; }
.domain-access-private { color: #a23fa7; }
.field-hint { margin: 6px 2px 0; color: #747b91; font-size: 12px; line-height: 1.45; }
.duration-field { padding: 0; border: 0; }
.duration-grid { margin-top: 8px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.duration-option { position: relative; min-width: 0; cursor: pointer; }
.duration-option input { position: absolute; opacity: 0; pointer-events: none; }
.duration-option > span { height: 84px; box-sizing: border-box; padding: 10px 11px; display: flex; flex-direction: column; align-items: stretch; border: 1px solid #e0dfeb; border-radius: 13px; background: #fdfdff; transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; }
.duration-option:hover > span { transform: translateY(-1px); border-color: #cfc9f8; background: #faf9ff; }
.duration-option input:checked + span { border-color: #a99cf2; background: linear-gradient(145deg, #f3f0ff, #fdfdff); box-shadow: 0 10px 22px -18px rgba(90,67,214,.55); }
.duration-name { min-width: 0; color: var(--ink-900); font-size: 13px; line-height: 18px; white-space: nowrap; }
.duration-price-stack { width: 100%; min-height: 34px; margin-top: auto; display: grid; grid-template-rows: repeat(2,15px); align-content: end; justify-items: end; gap: 3px; color: #626980; font-size: 10.5px; line-height: 15px; white-space: nowrap; }
.duration-price-stack > * { display: block; margin: 0; font: inherit; white-space: nowrap; }
.duration-standard-price { color: #bd3f7e; font-weight: 650; }
.duration-original-price { color: #565b68; text-decoration-line: line-through; text-decoration-thickness: 1px; text-decoration-color: #565b68; }
.duration-member-price { color: #7452df; background: linear-gradient(105deg,#7452df 8%,#d98343 92%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-style: normal; font-weight: 700; }
.duration-free-price { color: #555b68; font-weight: 600; }
.duration-price-placeholder { visibility: hidden; }
.form-status { min-height: 18px; margin: 9px 2px -8px; color: var(--purple-700); font-size: 12px; line-height: 1.45; }
.form-status:empty { display: none; }

.preview-panel { position: relative; padding: 24px 25px; overflow: hidden; color: var(--ink-900); border-color: #dedaf3; background: linear-gradient(145deg, #ffffff 0%, #f8f6ff 100%); box-shadow: 0 20px 46px -34px rgba(76,59,164,.38); }
.preview-panel::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #80b9f2, #8a70eb 62%, #c5b8fa); }
.preview-panel > * { position: relative; z-index: 1; }
.preview-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.preview-topline > span { font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .04em; }
.preview-topline i { padding: 5px 8px; border: 1px solid #ddd8f7; border-radius: 999px; color: var(--purple-700); background: #f1eeff; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.preview-panel > p { margin: 25px 0 7px; color: #626980; font-size: 12px; }
.preview-address { min-width: 0; padding: 12px 0 15px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #e5e2f1; }
.preview-address strong { min-width: 0; flex: 1 1 auto; overflow: hidden; font-size: clamp(14px, 1.1vw, 16px); font-weight: 600; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.preview-address button { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid #d8d3f2; border-radius: 9px; color: var(--purple-700); background: #f6f4ff; cursor: pointer; }
.preview-address button:disabled { opacity: .35; cursor: default; }
.preview-address button span::before, .preview-address button span::after { content: ""; position: absolute; width: 10px; height: 12px; border: 1.4px solid currentColor; border-radius: 3px; }
.preview-address button span::before { top: 6px; left: 7px; opacity: .48; }
.preview-address button span::after { top: 10px; left: 11px; background: #f6f4ff; }
.copy-success-mark { color: #27836c; font-size: 15px; line-height: 1; font-weight: 800; }
.copy-success-label { color: #27836c; font: inherit; font-weight: 700; white-space: nowrap; }
.preview-panel dl { margin: 18px 0 19px; display: grid; gap: 11px; }
.preview-panel dl div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.preview-panel dt { color: #626980; font-size: 12px; }
.preview-panel dd { margin: 0; color: var(--ink-700); font-size: 13px; line-height: 1.4; font-weight: 700; }
.ready-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #67d6bc; box-shadow: 0 0 0 4px rgba(103,214,188,.12); vertical-align: 1px; }
.primary-action { width: 100%; min-height: 42px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(111,91,220,.78); border-radius: 11px; color: #fff; background: linear-gradient(112deg, #6f75eb, #8166e8); box-shadow: 0 11px 23px -19px rgba(91,68,204,.72); font: inherit; font-size: 13px; line-height: 1.35; font-weight: 750; cursor: pointer; }
.primary-action:disabled { opacity: .72; cursor: default; }
.primary-action i { font-size: 17px; font-style: normal; font-weight: 400; }
.application-actions { width: min(100%, 340px); margin: 18px 0 0 auto; display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 8px; }
.random-application { min-height: 42px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d8d3f2; border-radius: 11px; color: var(--purple-700); background: #faf9ff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.random-application:hover { transform: translateY(-1px); border-color: #bdb3f2; background: #f1eeff; }
.random-application:disabled { opacity: .55; cursor: default; transform: none; }
.random-application-icon { position: relative; width: 14px; height: 14px; border: 1.6px solid currentColor; border-left-color: transparent; border-radius: 50%; }
.random-application-icon::after { content: ""; position: absolute; top: -2px; left: -1px; width: 5px; height: 5px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(18deg); }
.preview-note { display: block; margin-top: 9px; color: #626980; font-size: 11px; line-height: 1.55; text-align: center; }

.score-confirm[hidden] { display: none; }
.score-confirm { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 22px; }
.score-confirm-backdrop { position: absolute; inset: 0; border: 0; background: rgba(25,25,48,.28); cursor: default; }
.score-confirm-card { position: relative; width: min(100%, 430px); padding: 25px; border: 1px solid rgba(221,217,241,.95); border-radius: 22px; color: var(--ink-900); background: rgba(255,255,255,.99); box-shadow: 0 28px 70px -30px rgba(44,35,105,.42); }
.score-confirm-head { display: grid; grid-template-columns: 44px minmax(0,1fr) 34px; align-items: center; gap: 12px; }
.score-confirm-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--purple-700); background: linear-gradient(145deg,#eef5ff,#f1ebff); font-size: 14px; font-weight: 850; }
.score-confirm-head p { margin: 0 0 2px; color: var(--purple-700); font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.score-confirm-head h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.score-confirm-close { width: 34px; height: 34px; border: 1px solid #e1dfeb; border-radius: 10px; color: #697087; background: #fafaff; font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.score-confirm-description { margin: 18px 0 12px; color: #626980; font-size: 13px; line-height: 1.6; }
.score-confirm-cost { padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #e2def7; border-radius: 15px; background: linear-gradient(135deg,#fafcff,#f7f3ff); }
.score-confirm-cost > span { color: #626980; font-size: 13px; }
.score-confirm-cost strong { color: var(--purple-700); font-size: 28px; letter-spacing: -.04em; }
.score-confirm-cost small { font-size: 13px; letter-spacing: 0; }
.score-confirm-details { margin: 15px 0 20px; display: grid; gap: 9px; }
.score-confirm-details div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.score-confirm-details dt { color: #747b91; font-size: 12px; }
.score-confirm-details dd { max-width: 65%; margin: 0; overflow: hidden; color: var(--ink-700); font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.score-confirm-actions { display: grid; grid-template-columns: .72fr 1.28fr; gap: 9px; }
.score-confirm-actions button { min-height: 44px; border-radius: 12px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.score-confirm-cancel { border: 1px solid #dfddea; color: #596078; background: #fafaff; }
.score-confirm-submit { border: 1px solid #7d68e8; color: #fff; background: linear-gradient(112deg,#6f75eb,#8166e8); box-shadow: 0 13px 25px -20px rgba(91,68,204,.8); }
.score-confirm-open { overflow: hidden; }

.turnstile-dialog[hidden] { display: none; }
.turnstile-dialog { position: fixed; z-index: 155; inset: 0; display: grid; place-items: center; padding: 22px; }
.turnstile-dialog-backdrop { position: absolute; inset: 0; border: 0; background: rgba(25,25,48,.34); backdrop-filter: blur(3px); }
.turnstile-dialog-card { position: relative; width: min(100%,390px); padding: 24px; border: 1px solid #dfdcf0; border-radius: 20px; color: var(--ink-900); background: #fff; box-shadow: 0 30px 78px -30px rgba(40,32,96,.55); }
.turnstile-dialog-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.turnstile-dialog-card header span { color: var(--purple-700); font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.turnstile-dialog-card h2 { margin: 4px 0 0; font-size: 20px; }
.turnstile-dialog-card header button { width: 32px; height: 32px; border: 1px solid #e1dfeb; border-radius: 9px; color: #697087; background: #fafaff; font: inherit; font-size: 20px; cursor: pointer; }
.turnstile-dialog-card > p { margin: 16px 0; color: #626980; font-size: 12px; line-height: 1.6; }
.turnstile-widget { min-height: 65px; display: grid; place-items: center; }
.turnstile-status { display: block; margin-top: 10px; color: #777d91; font-size: 11px; text-align: center; }
.turnstile-status[hidden] { display: none; }
.turnstile-cancel { width: 100%; min-height: 40px; margin-top: 15px; border: 1px solid #dfddea; border-radius: 10px; color: #596078; background: #fafaff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.turnstile-dialog-open { overflow: hidden; }

.guest-mailbox-card { padding: 30px 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); align-items: center; gap: clamp(34px, 6vw, 72px); background: #fff; }
.intro-label { display: inline-flex; align-items: center; gap: 9px; color: var(--purple-700); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.intro-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-500); box-shadow: 0 0 0 5px rgba(128,103,238,.12); }
.guest-mailbox-copy h2 { margin: 11px 0 0; color: var(--ink-950); font-size: clamp(23px, 2.5vw, 34px); font-weight: 700; letter-spacing: -.012em; }
.guest-mailbox-copy p { max-width: 560px; margin: 11px 0 0; color: #626980; font-size: 14px; line-height: 1.65; }
.guest-usage-facts { max-width: 560px; margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.guest-usage-facts div { min-width: 0; padding: 10px 12px; border: 1px solid #e7e5f1; border-radius: 11px; background: #fbfbfe; }
.guest-usage-facts span, .guest-usage-facts strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guest-usage-facts span { color: #7b8094; font-size: 10px; line-height: 1.4; }
.guest-usage-facts strong { margin-top: 3px; color: var(--ink-700); font-size: 12px; line-height: 1.4; }
.guest-usage-facts strong[data-guest-stock-state] { color: #268e73; }
.guest-usage-facts strong[data-guest-stock-state].is-empty { color: #a56b20; }
.guest-address-panel { position: relative; min-width: 0; padding: 6px 0 6px clamp(28px,4vw,54px); border-left: 1px solid #e7e5f0; color: var(--ink-900); }
.guest-address-panel > small { color: #626980; font-size: 12px; }
.guest-domain-field { margin-bottom: 12px; display: block; }
.guest-domain-field > span { display: block; margin-bottom: 7px; color: var(--ink-700); font-size: 12px; font-weight: 700; }
.guest-domain-picker { width: 100%; }
.guest-domain-toggle { min-height: 48px; padding: 0 14px; border: 1px solid #dcd9ec; border-radius: 13px; color: var(--ink-900); background: linear-gradient(180deg, #fff, #fbfbfe); font-size: 14px; font-weight: 600; transition: border-color .18s, box-shadow .18s, background .18s; }
.guest-domain-toggle:hover:not(:disabled) { border-color: #c9c3ed; background: #fff; }
.guest-domain-toggle:focus-visible,
.guest-domain-toggle[aria-expanded="true"] { outline: 0; border-color: rgba(104,82,229,.62); box-shadow: 0 0 0 4px rgba(104,82,229,.08); }
.guest-domain-toggle:disabled { color: #8b90a3; cursor: default; }
.guest-domain-options { top: calc(100% + 7px); right: 0; left: 0; width: auto; padding: 6px; border-color: #e1deef; border-radius: 13px; box-shadow: 0 20px 48px -24px rgba(43,36,91,.42), 0 6px 18px rgba(43,36,91,.08); }
.guest-domain-options button { min-height: 48px; padding: 7px 11px; font-weight: 600; }
.guest-domain-options button > span { justify-content: space-between; gap: 14px; }
.guest-domain-options button strong { overflow: hidden; color: inherit; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.guest-domain-options button small { flex: 0 0 auto; font-size: 10.5px; font-weight: 500; }
.guest-domain-options button:disabled { color: #969aac; background: transparent; cursor: default; }
.guest-domain-options button:disabled small { color: #a16b2d; }
.guest-domain-options button:disabled .domain-access-free { color: #4c5262; }
.guest-domain-options button:disabled:hover { color: #969aac; background: transparent; }
.guest-expiry { margin: 8px 0 0; color: #626980; font-size: 12px; line-height: 1.45; }
.guest-action { margin-top: 0; }
.guest-action[hidden], .guest-action-note[hidden] { display: none; }
.guest-action-note { display: block; margin-top: 10px; color: #737990; text-align: center; }
.guest-recovery { margin-top: 12px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border: 1px solid #ecddb8; border-radius: 12px; background: #fffaf1; }
.guest-recovery[hidden] { display: none; }
.guest-recovery > div:first-child { min-width: 0; }
.guest-recovery strong, .guest-recovery span { display: block; }
.guest-recovery strong { color: #6e5128; font-size: 12px; }
.guest-recovery span { margin-top: 2px; color: #856d4c; font-size: 11px; line-height: 1.45; }
.guest-recovery-actions { display: flex; gap: 7px; }
.guest-recovery-actions button { min-height: 34px; padding: 0 10px; border: 1px solid #dfd4ba; border-radius: 9px; color: #68532f; background: #fff; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.guest-recovery-actions button:last-child { color: #fff; border-color: #7865e4; background: #7865e4; }
.guest-created-row { min-width: 0; display: flex; align-items: center; gap: 10px; }
.guest-created-row[hidden] { display: none; }
.guest-created-address { min-width: 0; flex: 1 1 auto; overflow: hidden; color: var(--ink-950); font-size: clamp(14px,1.1vw,16px); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.guest-copy-button { flex: 0 0 auto; min-height: 30px; padding: 0 9px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #d9d5f3; border-radius: 9px; color: var(--purple-700); background: #f7f5ff; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.guest-copy-button span { position: relative; width: 14px; height: 14px; }
.guest-copy-button span::before, .guest-copy-button span::after { content: ""; position: absolute; width: 8px; height: 10px; border: 1.3px solid currentColor; border-radius: 2px; }
.guest-copy-button span::before { top: 0; left: 0; opacity: .5; }
.guest-copy-button span::after { right: 0; bottom: 0; background: #f7f5ff; }
.guest-toolbar { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.guest-toolbar[hidden] { display: none; }
.guest-toolbar button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dedaf3; border-radius: 11px; color: var(--purple-700); background: #f8f7ff; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.guest-toolbar button:hover { border-color: #cfc8f6; background: #f3f0ff; }
.guest-toolbar button:disabled { opacity: .5; cursor: default; }
.toolbar-refresh { width: 13px; height: 13px; border: 1.5px solid currentColor; border-left-color: transparent; border-radius: 50%; }
.toolbar-random { font-size: 17px; line-height: 1; }
.guest-address-panel .form-status { color: var(--purple-700); }
.guest-duration-field { min-width: 0; grid-column: 1 / -1; margin: 0; padding: 18px 0 0; border: 0; border-top: 1px solid #eceaf3; }
.guest-duration-field legend { padding: 0; color: var(--ink-700); font-size: 12px; font-weight: 750; }
.guest-duration-grid { margin-top: 9px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.guest-duration-option { position: relative; min-width: 0; cursor: pointer; }
.guest-duration-option input { position: absolute; opacity: 0; pointer-events: none; }
.guest-duration-option > span { height: 72px; box-sizing: border-box; padding: 10px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; border: 1px solid #e1dfeb; border-radius: 12px; background: #fdfdff; transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; }
.guest-duration-option:hover > span { transform: translateY(-1px); border-color: #cfc9f8; background: #faf9ff; }
.guest-duration-option input:checked + span { border-color: #a99cf2; background: linear-gradient(145deg,#f3f0ff,#fdfdff); box-shadow: 0 10px 22px -18px rgba(90,67,214,.55); }
.guest-duration-option .duration-name { font-size: 13px; }
.guest-duration-option .duration-price-stack { min-width: 62px; }

.inbox-preview { margin-top: 14px; overflow: hidden; background: rgba(255,255,255,.97); }
.inbox-header { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid #e8e7f0; background: #fff; }
.inbox-header > div:first-child { min-width: 0; flex: 1 1 auto; }
.section-kicker { color: var(--purple-700); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.inbox-header h2 { margin: 3px 0 0; color: var(--ink-950); font-size: 18px; font-weight: 700; letter-spacing: -.012em; }
.inbox-header p { margin: 4px 0 0; color: #626980; font-size: 12px; }
.inbox-waiting { flex: 0 0 auto; padding: 7px 11px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e4e0f8; border-radius: 999px; color: #6157b8; background: #faf9ff; font-size: 11px; font-weight: 700; white-space: nowrap; }
.inbox-waiting i { width: 7px; height: 7px; border-radius: 50%; background: #7a6ce7; box-shadow: 0 0 0 4px rgba(122,108,231,.11); animation: waiting-pulse 1.8s ease-in-out infinite; }
.refresh-button { min-height: 38px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dedaf3; border-radius: 10px; color: var(--purple-700); background: #f8f7ff; font: inherit; font-size: 12px; line-height: 1.4; font-weight: 700; white-space: nowrap; cursor: pointer; }
.refresh-button span { width: 12px; height: 12px; border: 1.5px solid currentColor; border-left-color: transparent; border-radius: 50%; }
.refresh-button.is-loading span { animation: spin .55s linear infinite; }
.refresh-button:disabled { opacity: .48; cursor: default; }
.inbox-tools { min-height: 62px; padding: 12px 24px; display: flex; align-items: center; justify-content: flex-end; gap: 18px; border-bottom: 1px solid #e8e7f0; background: rgba(250,249,255,.72); }
.inbox-search { width: min(430px,100%); min-width: 0; }
.inbox-search-field { position: relative; min-width: 0; }
.inbox-search input { width: 100%; min-height: 38px; padding: 0 68px 0 12px; border: 1px solid #dedbea; border-radius: 10px; outline: 0; color: var(--ink-900); background: #fff; font: inherit; font-size: 12px; }
.inbox-search input::placeholder { color: #999eae; font-weight: 450; }
.inbox-search input:focus { border-color: rgba(104,82,229,.48); box-shadow: 0 0 0 3px rgba(104,82,229,.08); }
.inbox-search button, .inbox-pagination button { min-height: 34px; padding: 0 12px; border: 1px solid #dedaf3; border-radius: 9px; color: var(--purple-700); background: #f8f7ff; font: inherit; font-size: 11.5px; font-weight: 720; cursor: pointer; }
.inbox-search button { position: absolute; top: 4px; right: 4px; min-height: 30px; padding: 0 13px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(120deg,var(--blue-600),var(--purple-600)); box-shadow: 0 5px 12px -7px rgba(87,66,210,.72); }
.inbox-columns { min-height: 42px; padding: 0 24px; display: grid; grid-template-columns: minmax(180px,1fr) minmax(190px,1.15fr) minmax(130px,.58fr) 112px 88px; align-items: center; gap: 18px; border-bottom: 1px solid #e8e7f0; color: #858a9e; background: #fcfcff; font-size: 11px; font-weight: 700; }
.inbox-columns[hidden], .inbox-list[hidden], .inbox-empty[hidden], .inbox-waiting[hidden], .inbox-tools[hidden], .inbox-pagination[hidden] { display: none; }
.inbox-count { margin-right: 4px; color: #626980; font-size: 11.5px; white-space: nowrap; }
.inbox-pagination { min-height: 58px; padding: 12px 24px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; border-top: 1px solid #e8e7f0; }
.inbox-pagination > span { min-width: 82px; color: #626980; text-align: center; font-size: 11.5px; }
.inbox-pagination button:disabled { opacity: .45; cursor: default; }
.inbox-empty { min-height: 62px; padding: 0 24px; display: flex; align-items: center; justify-content: center; color: #9297a8; background: #fff; font-size: 12px; text-align: center; }
.inbox-list { display: grid; }
.inbox-item { min-width: 0; min-height: 68px; padding: 10px 24px; display: grid; grid-template-columns: minmax(180px,1fr) minmax(190px,1.15fr) minmax(130px,.58fr) 112px 88px; align-items: center; gap: 18px; border-bottom: 1px solid rgba(218,216,237,.58); background: #fff; transition: background .16s; }
.inbox-item:hover { background: #fcfbff; }
.inbox-item.is-unread { background: #fdfcff; box-shadow: inset 3px 0 #7a6ce7; }
.inbox-item:last-child { border-bottom: 0; }
.inbox-item span, .inbox-item strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-item span, .inbox-item time { color: #626980; font-size: 12px; }
.inbox-item strong { color: var(--ink-900); font-size: 14px; line-height: 1.4; }
.inbox-sender { min-width: 0; display: flex; align-items: center; gap: 10px; }
.inbox-sender i { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: #6557d4; background: #f0edff; font-size: 12px; font-style: normal; font-weight: 800; }
.inbox-subject { min-width: 0; display: flex; align-items: center; gap: 8px; }
.inbox-subject strong { min-width: 0; }
.inbox-item:not(.is-unread) .inbox-subject strong { color: #464b57; font-weight: 550; }
.inbox-subject small { flex: 0 0 auto; padding: 3px 6px; border-radius: 999px; color: #7a718f; background: #f1eff6; font-size: 9px; font-weight: 700; }
.inbox-item.is-unread .inbox-subject small { color: #6557d4; background: #eeebff; }
.inbox-keyword { min-width: 0; display: flex; align-items: center; gap: 7px; }
.inbox-keyword strong { color: #5445c6; letter-spacing: .06em; }
.inbox-keyword > span { color: #b1b4c0; }
.inbox-keyword-copy { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 1px solid #dedaf4; border-radius: 8px; background: #f8f7ff; cursor: pointer; transition: border-color .16s, background .16s, transform .16s; }
.inbox-keyword-copy:hover, .inbox-keyword-copy:focus-visible { outline: 0; border-color: #bfb6ef; background: #f0edff; }
.inbox-keyword-copy:active { transform: scale(.93); }
.inbox-keyword-copy.is-copied { border-color: rgba(54,166,134,.35); background: #eaf8f3; }
.inbox-keyword-copy img { width: 13px; height: 13px; display: block; }
.inbox-read-button { min-height: 32px; padding: 0 10px; border: 1px solid #d9d4f4; border-radius: 9px; color: var(--purple-700); background: #faf9ff; font: inherit; font-size: 11px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.inbox-read-button:hover, .inbox-read-button:focus-visible { outline: 0; border-color: #bdb4ee; background: #f1eeff; }

.application-loading[hidden], .mail-reader[hidden] { display: none; }
.application-loading { position: fixed; z-index: 140; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(25,25,48,.31); backdrop-filter: blur(2px); }
.application-loading > div { width: min(100%, 300px); padding: 28px 24px; display: grid; justify-items: center; border: 1px solid #e4e0f5; border-radius: 19px; background: #fff; box-shadow: 0 28px 70px -28px rgba(44,35,105,.46); text-align: center; }
.application-loading i, .mail-reader-loading i { width: 30px; height: 30px; border: 3px solid #e8e5fa; border-top-color: #715ee0; border-radius: 50%; animation: spin .72s linear infinite; }
.application-loading strong { margin-top: 15px; color: var(--ink-900); font-size: 16px; }
.application-loading span { margin-top: 7px; color: #72788e; font-size: 12px; }
.application-loading-open, .mail-reader-open { overflow: hidden; }

.mail-reader { position: fixed; z-index: 130; inset: 0; display: grid; place-items: center; padding: 24px; }
.mail-reader-backdrop { position: absolute; inset: 0; border: 0; background: rgba(25,25,48,.34); backdrop-filter: blur(2px); }
.mail-reader-card { position: relative; width: min(100%, 860px); max-height: min(88vh, 820px); overflow: hidden; display: grid; grid-template-rows: auto auto minmax(180px,1fr) auto auto; border: 1px solid #e2def3; border-radius: 22px; color: var(--ink-900); background: #fff; box-shadow: 0 34px 90px -34px rgba(38,31,91,.55); }
.mail-reader-head { min-height: 76px; padding: 15px 20px; display: grid; grid-template-columns: 42px minmax(0,1fr) 34px; align-items: center; gap: 12px; border-bottom: 1px solid #eceaf4; background: #fcfcff; }
.mail-reader-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: #7463df; font-size: 15px; font-weight: 850; }
.mail-reader-head > div:nth-child(2) { min-width: 0; }
.mail-reader-head span, .mail-reader-head strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-reader-head span { color: #8a8fa1; font-size: 10px; font-weight: 750; letter-spacing: .07em; }
.mail-reader-head strong { margin-top: 3px; font-size: 13px; }
.mail-reader-close { width: 34px; height: 34px; border: 1px solid #e0ddec; border-radius: 10px; color: #676d83; background: #fff; font: inherit; font-size: 21px; line-height: 1; cursor: pointer; }
.mail-reader-summary { padding: 20px 22px; border-bottom: 1px solid #eceaf4; }
.mail-reader-type { display: inline-flex; padding: 4px 8px; border-radius: 999px; color: #6557d4; background: #f0edff; font-size: 10px; font-weight: 750; }
.mail-reader-summary h2 { margin: 10px 0 15px; color: var(--ink-950); font-size: clamp(20px,2.3vw,27px); line-height: 1.3; overflow-wrap: anywhere; }
.mail-reader-summary dl { margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.mail-reader-summary dl div { min-width: 0; padding: 9px 11px; border: 1px solid #eceaf4; border-radius: 10px; background: #fbfbfe; }
.mail-reader-summary dt { color: #9296a6; font-size: 10px; }
.mail-reader-summary dd { margin: 4px 0 0; overflow: hidden; color: #555c73; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.mail-reader-body { min-height: 220px; overflow: auto; background: #fff; }
.mail-reader-loading { min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 12px; color: #777d91; font-size: 12px; }
.mail-reader-frame { width: 100%; min-height: 360px; display: block; border: 0; background: #fff; }
.mail-reader-text { min-height: 220px; box-sizing: border-box; margin: 0; padding: 22px; color: #34384a; font: 13px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.mail-reader-attachments { padding: 16px 22px; border-top: 1px solid #eceaf4; background: #fcfcff; }
.mail-reader-attachments[hidden] { display: none; }
.mail-reader-attachments h3 { margin: 0 0 10px; font-size: 12px; }
.mail-reader-attachments h3 span { color: #7667dd; }
.mail-reader-attachments > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.mail-reader-attachments > div > div { min-width: 0; padding: 10px; display: flex; align-items: center; gap: 9px; border: 1px solid #e7e4f1; border-radius: 10px; background: #fff; }
.mail-reader-attachments i { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: #6557d4; background: #f0edff; font-size: 10px; font-style: normal; font-weight: 800; }
.mail-reader-attachments strong, .mail-reader-attachments small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-reader-attachments strong { font-size: 11px; }
.mail-reader-attachments small { margin-top: 3px; color: #888da0; font-size: 10px; }
.mail-reader-card > footer { min-height: 56px; padding: 10px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #eceaf4; color: #8a8fa1; background: #fcfcff; font-size: 10px; }
.mail-reader-card > footer button { min-height: 34px; padding: 0 16px; border: 1px solid #7865e4; border-radius: 9px; color: #fff; background: #7865e4; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes waiting-pulse { 0%,100% { opacity: .45; transform: scale(.82); } 50% { opacity: 1; transform: scale(1); } }
@media (max-width: 1120px) { .mailer-builder { grid-template-columns: 1fr; } .guest-mailbox-card { grid-template-columns: 1fr; } .guest-address-panel { padding: 22px 0 0; border-top: 1px solid #e7e5f0; border-left: 0; } .guest-duration-field { grid-column: auto; } }
@media (max-width: 760px) {
    .mailer-content { width: 100%; padding-top: 22px; padding-bottom: 42px; }
    .guest-workspace { padding-top: 64px; }
    .guest-topbar { height: 68px; padding-inline: 20px; }
    .guest-topbar-inner, .guest-workspace .mailer-content { width: min(calc(100% - 36px), 1180px); }
    .guest-topbar nav { gap: 12px; }
    .application-panel, .preview-panel, .guest-mailbox-card { padding: 21px 19px; border-radius: 19px; }
    .duration-grid, .guest-duration-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .application-actions { grid-template-columns: 1fr; }
    .address-input { grid-template-columns: minmax(90px,1fr) auto minmax(120px,1fr); padding-inline: 12px; }
    .inbox-header { padding: 17px 19px; gap: 12px; }
    .inbox-header p { display: none; }
    .inbox-waiting { margin-left: auto; }
    .inbox-tools { padding: 12px 19px; }
    .inbox-search { width: 100%; }
    .inbox-columns { display: none; }
    .inbox-pagination { flex-wrap: wrap; justify-content: center; padding-inline: 19px; }
    .inbox-pagination .inbox-count { width: 100%; margin: 0; text-align: center; }
    .inbox-item { grid-template-columns: minmax(0,1fr) auto; gap: 8px 14px; padding: 14px 19px; }
    .inbox-sender { grid-column: 1; }
    .inbox-subject { grid-column: 1 / -1; }
    .inbox-keyword { grid-column: 1; }
    .inbox-item time { grid-column: 2; grid-row: 1; }
    .inbox-read-button { grid-column: 2; grid-row: 3; }
    .mail-reader { padding: 12px; }
    .mail-reader-card { max-height: 94vh; border-radius: 17px; }
    .mail-reader-summary dl { grid-template-columns: 1fr; }
    .mail-reader-frame { min-height: 300px; }
    .mail-reader-attachments > div { grid-template-columns: 1fr; }
}
@media (max-width: 440px) { .guest-register { display: none; } .address-input { display: flex; flex-wrap: wrap; padding-block: 4px; } .address-input > input { flex: 1 1 120px; } .domain-picker { flex: 1 1 150px; border-top: 1px solid rgba(218,216,237,.6); } .domain-options { right: 0; left: auto; width: min(82vw, 280px); } .duration-grid, .guest-duration-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .score-confirm-card { padding: 21px 18px; border-radius: 19px; } .guest-usage-facts { grid-template-columns: 1fr; } .guest-recovery { grid-template-columns: 1fr; } .guest-recovery-actions { display: grid; grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .refresh-button.is-loading span { animation: none; } }
