:root {
    --bg: #f6f7f4;
    --surface: #ffffff;
    --ink: #17201c;
    --muted: #5d6a64;
    --line: #dfe4df;
    --brand: #0f6b57;
    --brand-ink: #ffffff;
    --brand-soft: #e3f1ec;
    --ok: #1d7a46;
    --ok-soft: #e4f4ea;
    --warn: #9a5b00;
    --warn-soft: #fbf0dc;
    --bad: #b3261e;
    --bad-soft: #fbe6e4;
    --radius: 10px;
    --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font-family: Inter, system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
}
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 1.9rem; margin: 0 0 .4rem; }
h1:focus { outline: none; }
h2 { font-size: 1.2rem; margin: 0 0 .8rem; }
.lead { color: var(--muted); margin: 0 0 1.5rem; max-width: 60ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .85em; word-break: break-all; }

.topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: .9rem clamp(16px, 4vw, 40px);
    background: var(--surface); border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 10;
}
.brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--ink); }

.page { max-width: 1120px; margin: 0 auto; padding: 2rem clamp(16px, 4vw, 40px) 4rem; }

.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.25rem 1.4rem; margin-bottom: 1.25rem;
}
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.stat .num { font-size: 1.6rem; font-weight: 700; }
.stat .label { color: var(--muted); font-size: .85rem; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 42px; border: 1px solid var(--brand); background: var(--brand); color: var(--brand-ink);
    border-radius: 10px; padding: .55rem 1.1rem; font: inherit; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 107, 87, .22), inset 0 -1px 0 rgba(0, 0, 0, .12);
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .06s;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover:not(:disabled) { background: #0c5a49; border-color: #0c5a49; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(15, 107, 87, .35); outline-offset: 2px; }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-ghost { background: var(--surface); color: var(--brand); border-color: #c5d6ce; box-shadow: none; }
.btn-ghost:hover:not(:disabled) { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.btn-sm { min-height: 34px; padding: .3rem .75rem; font-size: .85rem; border-radius: 8px; gap: .35rem; }
.btn-lg { min-height: 48px; padding: .7rem 1.4rem; font-size: 1rem; }
.btn-danger { background: var(--surface); border-color: #e4b6b1; color: var(--bad); box-shadow: none; }
.btn-danger:hover:not(:disabled) { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.row-actions { display: flex; gap: .4rem; flex-wrap: wrap; }

label { display: block; font-weight: 600; font-size: .88rem; margin: .8rem 0 .3rem; }
input, select {
    width: 100%; padding: .55rem .7rem; font: inherit; border: 1px solid var(--line);
    border-radius: 8px; background: #fff; color: var(--ink);
}
input:focus, select:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.input-suffix { display: flex; align-items: center; gap: .4rem; }
.input-suffix span { color: var(--muted); white-space: nowrap; }
.form-narrow { max-width: 560px; }
.checkbox { display: flex; gap: .5rem; align-items: center; font-weight: 500; }
.checkbox input { width: auto; }

.alert { border-radius: 8px; padding: .7rem .9rem; margin: .8rem 0; }
.alert-error { background: var(--bad-soft); color: var(--bad); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-info { background: var(--brand-soft); color: var(--brand); }

.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: .15rem .55rem; border-radius: 99px; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-neutral { background: #eef0ee; color: var(--muted); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }

.steps { display: flex; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; flex-wrap: wrap; }
.steps li { padding: .35rem .8rem; border-radius: 99px; background: #eef0ee; color: var(--muted); font-size: .85rem; font-weight: 600; }
.steps li.done { background: var(--ok-soft); color: var(--ok); }
.steps li.current { background: var(--brand); color: #fff; }

.plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.plan .price { font-size: 1.8rem; font-weight: 700; margin: .3rem 0; }
.plan .price small { font-size: .85rem; color: var(--muted); font-weight: 500; }
.plan ul { padding-left: 1.1rem; margin: .6rem 0 1.2rem; color: var(--muted); flex: 1; }
.plan ul li { margin: .2rem 0; }


.pw-box { font-family: var(--mono); background: var(--brand-soft); padding: .4rem .6rem; border-radius: 6px; display: inline-block; }

@media (max-width: 640px) {
    th.hide-sm, td.hide-sm { display: none; }
}

.blazor-error-boundary { background: var(--bad); padding: 1rem; color: white; }
.blazor-error-boundary::after { content: "An error has occurred." }

/* ---------- Webmail ---------- */
textarea { width: 100%; padding: .6rem .7rem; font: inherit; border: 1px solid var(--line); border-radius: 8px; resize: vertical; }
.wm-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.wm { display: grid; grid-template-columns: 180px minmax(260px, 340px) 1fr; gap: 1rem; align-items: start; }
.wm-folders, .wm-list, .wm-reader { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; }
.wm-list { padding: .6rem; max-height: 78vh; overflow-y: auto; }
.wm-reader { min-height: 60vh; padding: 1rem 1.2rem; }
.wm-folder { display: flex; justify-content: space-between; width: 100%; border: 0; background: none; padding: .5rem .6rem; border-radius: 8px; font: inherit; cursor: pointer; color: var(--ink); text-align: left; }
.wm-folder.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.wm-item { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: .6rem .5rem; font: inherit; color: var(--ink); cursor: pointer; }
.wm-item.active { background: var(--brand-soft); }
.wm-item.unread .wm-from, .wm-item.unread .wm-subject { font-weight: 700; }
.wm-item-top { display: flex; justify-content: space-between; gap: .5rem; }
.wm-from { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-date { font-size: .8rem; white-space: nowrap; }
.wm-subject { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-preview { font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wm-msg { border-top: 1px solid var(--line); padding: 1rem 0; }
.wm-msg-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wm-text { white-space: pre-wrap; font-family: inherit; margin: .8rem 0 0; }
.wm-html { margin-top: .8rem; overflow-x: auto; }
.wm-html img { max-width: 100%; height: auto; }
.wm-ai { padding: .7rem .9rem; margin: .4rem 0 .6rem; background: #fbfcfa; }
.wm-ai-out { white-space: pre-wrap; margin-top: .6rem; padding: .6rem .8rem; background: var(--brand-soft); border-radius: 8px; }
.wm-chip { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: .45rem .7rem; font: inherit; cursor: pointer; }
.wm-chip:hover { border-color: var(--brand); }
.wm-body { min-height: 220px; }
.wm-back { display: none; }
@media (max-width: 900px) {
    .wm { grid-template-columns: 1fr; }
    .wm-folders { display: flex; gap: .3rem; overflow-x: auto; padding: .5rem; }
    .wm-folders .btn { width: auto !important; margin: 0 !important; }
    .wm-folder { width: auto; white-space: nowrap; }
    .wm.wm-reading .wm-folders, .wm.wm-reading .wm-list { display: none; }
    .wm:not(.wm-reading) .wm-reader { display: none; }
    .wm-back { display: block; margin-bottom: .5rem; }
    .wm-list { max-height: none; }
}
.wm-attach { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .6rem; }
.wm-file { display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--line); border-radius: 99px; padding: .2rem .65rem; font-size: .85rem; background: #fff; }
.wm-file-dl { cursor: pointer; font: inherit; font-size: .85rem; color: var(--ink); }
.wm-file-dl:hover { border-color: var(--brand); }
.wm-file-x { border: 0; background: none; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--muted); padding: 0 .1rem; }
.wm-phones { list-style: none; padding: 0; margin: .4rem 0 0; }
.wm-phones li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .45rem 0; border-top: 1px solid var(--line, #e3e8e7); flex-wrap: wrap; }

/* ---------- Site chrome ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
.topbar { gap: 1rem; }
.site-nav { display: flex; gap: 1.2rem; align-items: center; }
.site-nav a, .nav-link { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .nav-link:hover { color: var(--brand); }
.topbar-actions { display: flex; gap: 1rem; align-items: center; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; font-size: 1.3rem; padding: .1rem .5rem; border: 1px solid var(--line); border-radius: 8px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(23,32,28,.12); padding: .5rem; display: flex; flex-direction: column; min-width: 230px; }
.mobile-menu nav a { padding: .55rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
.mobile-menu nav a:hover { background: var(--brand-soft); }
@media (max-width: 1000px) { .site-nav { display: none; } .mobile-menu { display: block; } }
@media (max-width: 560px) { .topbar-actions .nav-link { display: none; } }

.site-footer { background: #10201b; color: #c9d6d0; margin-top: 2rem; }
.footer-grid { max-width: 1120px; margin: 0 auto; padding: 3rem clamp(16px, 4vw, 40px) 2rem; display: grid; gap: 2rem;
    grid-template-columns: 1.4fr repeat(5, 1fr); }
.footer-grid h3 { color: #fff; font-size: .95rem; margin: 0 0 .8rem; }
.footer-grid a { display: block; color: #c9d6d0; text-decoration: none; margin: .35rem 0; font-size: .92rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { font-size: .92rem; max-width: 40ch; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: .82rem; padding: 1rem 16px 1.5rem; color: #93a59d; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Marketing pages ---------- */
.mk h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .6rem; }
.mk h3 { font-size: 1.08rem; margin: 0 0 .35rem; }
.mk p { margin: 0 0 .8rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand);
    background: var(--brand-soft); padding: .25rem .65rem; border-radius: 99px; margin-bottom: .8rem; }
.section { padding: 3.2rem 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section-head { max-width: 70ch; margin-bottom: 1.8rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.hero2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; padding: 2.5rem 0 3rem; }
.hero2 h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); letter-spacing: -0.025em; margin-bottom: 1rem; }
.hero2 h1 em { font-style: normal; color: var(--brand); }
.hero2 .lead { font-size: 1.12rem; max-width: 52ch; }
.hero-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.btn-lg { padding: .75rem 1.3rem; font-size: 1rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.hero-points li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: .35rem; }
@media (max-width: 900px) { .hero2 { grid-template-columns: 1fr; } }

/* faux product shot built from HTML */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(15,107,87,.14); overflow: hidden; font-size: .82rem; }
.mock-bar { display: flex; gap: .35rem; padding: .6rem .8rem; border-bottom: 1px solid var(--line); background: #fbfcfa; align-items: center; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9dfda; display: inline-block; }
.mock-bar span { margin-left: .6rem; color: var(--muted); font-family: var(--mono); font-size: .75rem; }
.mock-body { display: grid; grid-template-columns: 34% 1fr; min-height: 300px; }
.mock-list { border-right: 1px solid var(--line); }
.mock-item { padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.mock-item b { display: block; }
.mock-item small { color: var(--muted); }
.mock-item.on { background: var(--brand-soft); }
.mock-read { padding: .9rem 1rem; }
.mock-read h4 { margin: 0 0 .3rem; font-size: .95rem; }
.mock-ai { background: var(--brand-soft); border-radius: 8px; padding: .55rem .7rem; margin: .7rem 0; color: #0b4d3f; }
.mock-warn { background: var(--warn-soft); color: var(--warn); border-radius: 8px; padding: .5rem .7rem; margin-top: .6rem; }
.mock-line { height: 8px; background: #eef1ee; border-radius: 4px; margin: .45rem 0; }

.logos-note { color: var(--muted); font-size: .9rem; }
.kpis { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.kpi strong { display: block; font-size: 1.5rem; color: var(--brand); }
.kpi span { color: var(--muted); font-size: .9rem; }

.features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.35rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
.feature a { font-weight: 600; font-size: .92rem; display: inline-block; margin-top: .6rem; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
    font-size: 1.2rem; margin-bottom: .8rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 1rem 0; }
.checklist li { padding: .4rem 0 .4rem 1.8rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: .35rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.5rem; }
.panel-dark { background: #10201b; color: #dce7e2; border-color: #10201b; }
.panel-dark h3 { color: #fff; }
.code { background: #0d1a16; color: #cfe8df; font-family: var(--mono); font-size: .82rem; border-radius: 10px; padding: 1rem 1.1rem; overflow-x: auto; white-space: pre; line-height: 1.6; }
.code .k { color: #7fd1b8; } .code .s { color: #f2c98a; } .code .c { color: #7d948b; }

.steps2 { counter-reset: s; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; padding: 0; margin: 0; }
.steps2 li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.steps2 li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand);
    color: #fff; font-weight: 700; margin-bottom: .7rem; }
.steps2 p { color: var(--muted); margin: 0; font-size: .95rem; }

.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: center; font-size: .92rem; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: #fbfcfa; color: var(--ink); text-transform: none; font-size: .95rem; letter-spacing: 0; }
.compare .yes { color: var(--brand); font-weight: 700; }
.compare .no { color: #b8c2bd; }
.compare tr.group td { background: #f3f6f3; font-weight: 700; text-align: left; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 1.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -.1rem; font-size: 1.3rem; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: .7rem 0 .1rem; }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin: 3rem 0 1rem;
    background: linear-gradient(120deg, #0f6b57, #0b4d3f); color: #fff; border-radius: 16px; padding: 2rem 2.2rem; }
.cta-band h2 { color: #fff; margin: 0 0 .4rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.cta-band p { margin: 0; color: #d6ece4; max-width: 60ch; }
.cta-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.note { font-size: .88rem; color: var(--muted); }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; background: var(--surface); font-size: .88rem; }
.toc a:hover { border-color: var(--brand); }
.page-hero { padding: 2.2rem 0 2rem; max-width: 75ch; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -0.02em; margin-bottom: .8rem; }
.page-hero .lead { font-size: 1.1rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.crumbs a { color: var(--muted); }
section[id], h2[id], div[id] { scroll-margin-top: 80px; }

/* ---------- Brand ---------- */
:root { --display: Sora, Inter, system-ui, sans-serif; --saffron: #F4A93B; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand-mark-svg { flex: none; display: block; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; color: #14201B; }
.brand-word span { color: #0F7A62; }
.brand-dark .brand-word { color: #fff; }
.brand-dark .brand-word span { color: #7FD9BC; }
.mk h1, .mk h2, .page-hero h1 { font-family: var(--display); letter-spacing: -0.025em; }
.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; }
body { overflow-x: clip; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #7FD9BC; outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero3 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.2rem; align-items: center;
    margin-top: -2rem; padding: 4rem 0 4rem; }
.hero3::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw);
    background:
      radial-gradient(60% 70% at 85% 35%, rgba(20,132,107,.16), transparent 70%),
      radial-gradient(40% 50% at 8% 100%, rgba(244,169,59,.12), transparent 70%),
      linear-gradient(180deg, #F1F7F3 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line); }
.hero3-kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.1rem; padding: .3rem .8rem .3rem .55rem;
    background: #fff; border: 1px solid var(--line); border-radius: 99px; font-size: .88rem; color: var(--muted); font-weight: 500; }
.hero3-kicker .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 3px rgba(244,169,59,.22); }
.hero3 h1 { font-size: clamp(2.3rem, 4.6vw, 3.35rem); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 1.1rem; max-width: 15ch; color: #10201b; }
.hero3-lead { font-size: 1.14rem; color: #3f4c46; max-width: 50ch; margin: 0 0 1.6rem; }

.domain-cta { display: flex; align-items: center; background: #fff; border: 1.5px solid #cfd9d3; border-radius: 14px; padding: .35rem .35rem .35rem 1rem;
    max-width: 540px; box-shadow: 0 10px 30px rgba(15,107,87,.10); }
.domain-cta:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15,107,87,.14), 0 10px 30px rgba(15,107,87,.10); }
.domain-at { color: var(--muted); font-weight: 600; font-size: 1.02rem; }
.domain-cta input { border: 0; padding: .7rem .2rem; font-size: 1.02rem; font-weight: 600; min-width: 0; flex: 1; background: transparent; outline: none; }
.domain-cta input:focus { outline: none; }
.domain-cta .btn { flex: none; border-radius: 10px; }
.domain-note { font-size: .88rem; color: var(--muted); margin: .65rem 0 1.4rem; }
.hero3-links { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.text-link { font-weight: 600; margin-left: .3rem; }

.hero3-art { min-width: 0; margin-right: calc(-1 * clamp(0px, 3vw, 48px)); }
.route-map { width: 100%; height: auto; display: block; overflow: visible; font-family: Inter, system-ui, sans-serif; }
.route-map .zone { font-size: 11.5px; font-weight: 600; fill: #4f6a5f; }
.route-map .ini { font-size: 11px; font-weight: 700; fill: #0F6B57; text-anchor: middle; }
.route-map .nm { font-size: 13.5px; font-weight: 600; fill: #17201C; }
.route-map .ad { font-size: 11.5px; fill: #66756e; }
.route-map .bang { font-size: 12px; font-weight: 800; fill: #fff; text-anchor: middle; }
.route-map .held { font-size: 11.5px; font-weight: 600; fill: #8A5200; text-anchor: middle; }
.route-map .hub-t { font-size: 11px; fill: #A6E6D1; text-anchor: middle; }
.route-map .hub-b { font-family: var(--display); font-size: 16px; font-weight: 700; fill: #fff; text-anchor: middle; }
.route-map .checks text { font-size: 11.5px; fill: #E1F3EC; }
.route-map .checks .ok { fill: #A6E6D1; font-weight: 700; text-anchor: end; }
.route-map .checks .warn { fill: #3d2600; font-weight: 800; text-anchor: middle; font-size: 11.5px; }
.route-map .route { stroke: #9DC9B9; }
.route-map .route-held { stroke: #F0B65A; stroke-dasharray: 5 6; }

.pkt { opacity: 0; offset-rotate: 0deg; }
.p1 { offset-path: path("M168 118 C200 118 205 236 232 236 L368 236 C396 236 400 118 432 118"); }
.p2 { offset-path: path("M168 236 L432 236"); }
.p3 { offset-path: path("M168 354 C200 354 205 236 232 236 L368 236 C396 236 400 354 424 354"); }
@media (prefers-reduced-motion: no-preference) {
    .pkt { animation: travel 5.4s cubic-bezier(.45,.05,.35,1) infinite; }
    .p2 { animation-delay: 1.4s; }
    .p3 { animation-delay: 2.8s; animation-name: travel-held; }
    .held-tag { animation: held-pulse 5.4s ease-in-out 2.8s infinite; }
}
@keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes travel-held { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 70% { offset-distance: 100%; opacity: 1; } 92% { offset-distance: 100%; opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes held-pulse { 0%, 60% { opacity: .55; } 72%, 92% { opacity: 1; } 100% { opacity: .55; } }

@media (max-width: 960px) {
    .hero3 { grid-template-columns: 1fr; padding-top: 2.6rem; gap: 2rem; }
    .hero3-art { margin-right: 0; }
    .hero3 h1 { max-width: 16ch; }
}
@media (max-width: 520px) {
    .domain-cta { flex-wrap: wrap; padding: .5rem; }
    .domain-at { padding-left: .5rem; }
    .domain-cta input { flex-basis: 60%; }
    .domain-cta .btn { width: 100%; margin-top: .4rem; }
}
.footer-grid a.brand { display: inline-flex; margin: 0 0 .6rem; }

/* =========================================================
   Brand refresh (Nov 2026): route-line language, product screens,
   quieter labels, dark bands for healthcare and security.
   ========================================================= */
:root { --route: #9DC9B9; --deep: #0B2620; --deep-2: #0F3A31; --tint: #EAF3EF; }

/* Labels: no pills, no capitals */
.eyebrow { display: block; background: none; padding: 0; border-radius: 0; text-transform: none; letter-spacing: 0;
    font-size: .92rem; font-weight: 600; color: var(--brand); margin-bottom: .5rem; }
.plan-tag { font-size: .85rem; font-weight: 600; color: var(--brand); margin-bottom: .2rem; }
.plan.featured .plan-tag { color: #8A5200; }

/* Feature lists: points on a line instead of boxed cards */
.mk .features { gap: 1.6rem 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mk .feature { background: none; border: 0; border-top: 2px solid var(--line); border-radius: 0; padding: 1.1rem 0 0; position: relative; }
.mk .feature::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--brand); }
.mk .feature .icon { display: none; }
.mk .feature h3 { font-size: 1.02rem; }

/* At-a-glance facts under the hero */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 1rem; border-bottom: 1px solid var(--line); }
.facts p { margin: 0; padding: 1.4rem 1.2rem 1.4rem 0; color: var(--muted); font-size: .92rem; }
.facts p + p { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--display); font-size: 1.3rem; color: #10201b; letter-spacing: -0.02em; margin-bottom: .15rem; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .facts p:nth-child(3) { border-left: 0; padding-left: 0; }
    .facts p:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* The message journey */
.journey { list-style: none; margin: 0; padding: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2.5px; background: var(--route); border-radius: 2px; }
.j-stage { display: grid; grid-template-columns: 44px minmax(0, 220px) minmax(0, 1fr); gap: 1.4rem; padding: 0 0 2.6rem; position: relative; }
.j-stage:last-child { padding-bottom: 0; }
.j-node { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2.5px solid var(--brand); color: var(--brand);
    display: grid; place-items: center; font-family: var(--display); font-weight: 700; position: relative; z-index: 1; }
.j-check .j-node { background: linear-gradient(135deg, #14846B, #0A4A3C); color: #fff; border-color: #0A4A3C; box-shadow: 0 0 0 5px rgba(244,169,59,.25); }
.j-head h3 { font-family: var(--display); font-size: 1.35rem; margin: .45rem 0 .25rem; }
.j-head p { color: var(--muted); margin: 0; }
.j-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 1.8rem; margin: .5rem 0 0; }
.j-items dt a { color: var(--ink); font-weight: 650; text-decoration: none; border-bottom: 1.5px solid var(--route); }
.j-items dt a:hover { color: var(--brand); border-color: var(--brand); }
.j-items dd { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
.j-check .j-items { background: #fff; border: 1px solid #F0D7A8; border-radius: 14px; padding: 1rem 1.2rem; }
@media (max-width: 760px) {
    .j-stage { grid-template-columns: 44px minmax(0, 1fr); gap: .4rem 1rem; }
    .j-items { grid-column: 2; }
}

/* Setup steps as a route with the wizard beside it */
.steps-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.5rem; align-items: center; }
.mk .steps2 { grid-template-columns: 1fr; gap: 0; position: relative; }
.mk .steps2::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2.5px; background: var(--route); }
.mk .steps2 li { background: none; border: 0; border-radius: 0; padding: 0 0 1.4rem 3.2rem; position: relative; }
.mk .steps2 li::before { position: absolute; left: 0; top: -.15rem; margin: 0; z-index: 1; box-shadow: 0 0 0 4px var(--bg); }
@media (max-width: 900px) { .steps-wrap { grid-template-columns: 1fr; } }

/* Product screens */
.shot { margin: 0; background: #fff; border: 1px solid #d5e0da; border-radius: 16px; overflow: hidden; font-size: .8rem;
    box-shadow: 0 30px 60px -20px rgba(11,38,32,.28), 0 2px 6px rgba(11,38,32,.06); }
.shot-bar { display: flex; gap: .35rem; align-items: center; padding: .55rem .8rem; background: #F4F7F5; border-bottom: 1px solid #e1e8e4; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3dbd6; display: inline-block; }
.shot-bar span { margin-left: .6rem; color: #6b7a73; font-family: var(--mono); font-size: .72rem; background: #fff; border: 1px solid #e1e8e4;
    border-radius: 6px; padding: .1rem .6rem; flex: 1; max-width: 330px; }
.shot figcaption { font-size: .82rem; color: var(--muted); padding: .65rem .9rem; border-top: 1px solid #e1e8e4; background: #FAFCFB; }
.shot-inbox { display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1.35fr); min-height: 300px; }
.si-folders { padding: .7rem .5rem; border-right: 1px solid #e8eeea; display: flex; flex-direction: column; gap: .15rem; background: #FAFCFB; }
.si-folders span { padding: .3rem .5rem; border-radius: 6px; color: #3f4c46; display: flex; justify-content: space-between; }
.si-folders .on { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.si-folders em { font-style: normal; font-weight: 700; }
.si-compose { background: var(--brand) !important; color: #fff !important; font-weight: 600; justify-content: center !important; margin-bottom: .4rem; }
.si-list { border-right: 1px solid #e8eeea; }
.si-item { padding: .55rem .7rem; border-bottom: 1px solid #eef2ef; }
.si-item b { display: block; font-weight: 500; color: #17201c; }
.si-item small { color: #6b7a73; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.si-item.unread b, .si-item.unread small { font-weight: 700; color: #17201c; }
.si-item.on { background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.si-read { padding: .9rem 1rem; }
.si-read h4 { margin: 0 0 .15rem; font-size: .92rem; }
.si-read > small { color: #6b7a73; }
.si-ai { background: var(--brand-soft); color: #0b4d3f; border-radius: 10px; padding: .55rem .7rem; margin: .7rem 0; line-height: 1.45; }
.si-ai b { display: block; font-size: .72rem; color: var(--brand); margin-bottom: .1rem; }
.si-line { height: 7px; background: #eef1ee; border-radius: 4px; margin: .5rem 0; }
.si-line.short { width: 60%; }
.si-reply { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin-top: .9rem; }
.si-reply span { color: #6b7a73; width: 100%; font-size: .72rem; }
.si-reply i { font-style: normal; border: 1px solid #cfe1d9; border-radius: 99px; padding: .2rem .6rem; color: var(--brand); background: #fff; }
.shot-compose { padding: .9rem 1rem 1rem; position: relative; min-height: 300px; }
.sc-row { display: flex; gap: .6rem; align-items: center; padding: .35rem 0; border-bottom: 1px solid #eef2ef; flex-wrap: wrap; }
.sc-row span { color: #6b7a73; width: 52px; }
.sc-ext { font-style: normal; font-size: .7rem; color: #8A5200; background: var(--warn-soft); border-radius: 99px; padding: .05rem .5rem; }
.sc-text { padding: .7rem 0 4.8rem; color: #3f4c46; }
.sc-text p { margin: 0 0 .5rem; line-height: 1.55; }
.sc-text mark { background: #FBE3B6; color: #5b3500; border-radius: 3px; padding: 0 .15rem; }
.sc-file { display: inline-block; border: 1px solid #e1e8e4; border-radius: 99px; padding: .15rem .6rem; }
.sc-dialog { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: #fff; border: 1.5px solid #F0B65A; border-radius: 12px;
    padding: .75rem .9rem; box-shadow: 0 14px 30px -10px rgba(138,82,0,.35); }
.sc-dialog strong { color: #8A5200; }
.sc-dialog p { margin: .2rem 0 .6rem; color: #3f4c46; }
.sc-actions { display: flex; gap: .4rem; }
.sc-btn { border: 1px solid #d5e0da; border-radius: 7px; padding: .25rem .7rem; color: #3f4c46; }
.sc-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.shot-dns { padding: .9rem 1rem 1rem; }
.sd-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.sd-head b { font-size: .95rem; }
.sd-prog { font-size: .72rem; color: #8A5200; background: var(--warn-soft); border-radius: 99px; padding: .1rem .55rem; }
.sd-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 62px; gap: .6rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid #eef2ef; }
.sd-t { font-weight: 700; }
.sd-row code { font-family: var(--mono); font-size: .7rem; color: #3f4c46; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-s { font-size: .72rem; font-weight: 700; text-align: right; }
.sd-row.ok .sd-s { color: var(--ok); }
.sd-row.wait .sd-s { color: #8A5200; }
.sd-foot { color: #6b7a73; font-size: .74rem; padding-top: .6rem; }
@media (max-width: 560px) { .shot-inbox { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } .si-folders { display: none; } }

.showcase .shot, .hc-band .shot { transform: rotate(0deg); }
.hc-shot { max-width: 620px; margin: 0 0 2.2rem; }

/* Tinted band for the healthcare section on the home page */
.hc-band { position: relative; border-top: 0; }
.hc-band::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--tint); }

/* Dark bands: healthcare and security heroes */
.hero-dark, .page-hero-dark { position: relative; color: #DCEBE5; }
.hero-dark::before, .page-hero-dark::before { content: ""; position: absolute; z-index: -1; inset: -2rem calc(50% - 50vw) 0;
    background: radial-gradient(55% 80% at 90% 20%, rgba(20,132,107,.45), transparent 70%),
                radial-gradient(35% 60% at 0% 100%, rgba(244,169,59,.14), transparent 70%), var(--deep); }
.hero-dark { padding: 3.5rem 0 3.8rem; margin-bottom: 1rem; }
.page-hero-dark { max-width: none; padding: 3.2rem 0 3rem; margin-bottom: 1rem; }
.page-hero-dark > * { max-width: 75ch; }
.hero-dark h1, .page-hero-dark h1 { color: #fff; }
.hero-dark .lead, .page-hero-dark .lead { color: #B9D3C9; }
.hero-dark .crumbs, .hero-dark .crumbs a, .page-hero-dark .crumbs, .page-hero-dark .crumbs a { color: #8FB3A6; }
.hero-dark .hero-points { color: #B9D3C9; }
.hero-dark .hero-points li::before { color: var(--saffron); }
.hero-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero-dark .panel { color: var(--ink); }
.page-hero-dark .toc a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #E1F3EC; }
.page-hero-dark .toc a:hover { border-color: var(--saffron); }

/* CTA band with the dotted map texture */
.cta-band { background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 1.5px) 0 0 / 18px 18px,
    linear-gradient(120deg, #0f6b57, #0B2620); }

/* Telic parent lockup */
.telic-lockup { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--muted); font-size: .85rem; }
.telic-lockup strong { font-family: var(--display); color: #4F46E5; font-weight: 700; letter-spacing: -0.01em; }
.telic-lockup svg { flex: none; }
.telic-lockup-dark { color: #93a59d; }
.telic-lockup-dark strong { color: #fff; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; max-width: 1120px;
    margin: 0 auto; padding: 1rem clamp(16px, 4vw, 40px) 1.5rem; text-align: left; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; align-items: start; border-top: 0; padding-top: 1rem; }
.contact-form { max-width: 640px; }
.contact-form textarea { min-height: 150px; }
.contact-form .btn { margin-top: .4rem; }
.contact-form .validation-message { color: var(--bad); font-size: .85rem; margin-top: .25rem; }
.cf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-ways { border-left: 2.5px solid var(--route); padding-left: 1.6rem; display: flex; flex-direction: column; gap: 1.3rem; }
.cw { position: relative; }
.cw::before { content: ""; position: absolute; left: calc(-1.6rem - 7px); top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--brand); }
.cw h3 { font-size: .95rem; margin: 0 0 .2rem; }
.cw a { font-weight: 600; font-size: 1.02rem; }
.cw p { margin: .15rem 0 0; }
.contact-done h2 { font-size: 1.4rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .cf-two { grid-template-columns: 1fr; } }

/* About */
.about-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; }
.about-story { border-top: 0; padding-top: 1rem; }
.about-facts { margin: 0; border-left: 2.5px solid var(--route); padding-left: 1.6rem; }
.about-facts div { padding: .2rem 0 1rem; }
.about-facts dt { font-size: .85rem; color: var(--muted); }
.about-facts dd { margin: .1rem 0 0; font-weight: 600; }
.family { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 2rem; }
.fam { display: block; padding: 1rem 0; border-top: 2px solid var(--line); text-decoration: none; color: var(--ink); }
.fam:hover { border-color: #4F46E5; }
.fam b { display: block; font-family: var(--display); }
.fam span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .about-cols { grid-template-columns: 1fr; } }

/* Legal pages */
.legal .page-hero { max-width: 72ch; }
.legal-body { max-width: 72ch; padding-bottom: 2rem; }
.legal-body h2 { font-size: 1.2rem !important; margin: 2rem 0 .5rem; }
.legal-body p, .legal-body li { color: #33403a; line-height: 1.65; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin: .35rem 0; }
.legal-table { margin: .6rem 0 1rem; }
.legal-table td { color: #33403a; }

/* ---------- Webmail settings, imports (Nov 2026) ---------- */
.wm-settings section { border-top: 1px solid var(--line); padding: 1.1rem 0 .4rem; }
.wm-settings section:first-of-type { border-top: 0; padding-top: .4rem; }
.wm-settings h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.wm-settings .muted { font-size: .9rem; margin: 0 0 .5rem; }
.wm-settings .cf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .wm-settings .cf-two { grid-template-columns: 1fr; } }
.wm-ooo { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.sig-preview { background: var(--brand-soft); border-radius: 8px; padding: .6rem .8rem; font-family: inherit; white-space: pre-wrap; margin: .3rem 0 0; }
.import-problem { color: var(--bad); font-size: .88rem; }

/* ---------- Groups, reports, pickers (Nov 2026) ---------- */
.group-row { border-top: 1px solid var(--line); padding: .8rem 0; }
.group-head { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; }
.group-head h2 { margin: 0; }
.group-new { margin-top: 1rem; border: 1px dashed var(--line); border-radius: var(--radius); padding: .8rem 1rem; }
.group-new summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.picker { border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; background: #fff; margin-top: .4rem; }
.picker-filter { margin-bottom: .4rem; }
.picker-list { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: .1rem; margin-bottom: .3rem; }
.picker-item { margin: 0; font-weight: 400; padding: .25rem .2rem; border-radius: 6px; }
.picker-item:hover { background: var(--brand-soft); }
.picker-item .mono { font-size: .78rem; margin-left: .3rem; }
.report-facts { margin-bottom: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1rem; }
.meter { height: 7px; background: #eef1ee; border-radius: 99px; overflow: hidden; margin: .25rem 0 .2rem; }
.meter span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.meter .meter-warn { background: #E08E1B; }
.meter .meter-bad { background: var(--bad); }

/* ---------- Webmail: rules, contacts, suggestions (Nov 2026) ---------- */
.wm-section-label { font-size: .8rem; color: var(--muted); margin: .9rem .6rem .2rem; }
.rule-row { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.rule-row select, .rule-row input { width: auto; flex: 1 1 8rem; }
.rule-row > span { color: var(--muted); font-size: .9rem; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.contact-form { margin-top: 1rem; background: #fbfcfa; border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; }
.contact-form h4 { margin: 0 0 .3rem; }
.addr-input { position: relative; }
.addr-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 2px); background: #fff; border: 1px solid var(--line); border-radius: 8px;
    box-shadow: 0 12px 30px rgba(23,32,28,.14); list-style: none; margin: 0; padding: .25rem; }
.addr-list li { padding: .4rem .6rem; border-radius: 6px; cursor: pointer; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.addr-list li.on, .addr-list li:hover { background: var(--brand-soft); }

/* ---------- Calendar (Nov 2026) ---------- */
.wm-file-link { border-style: dashed; }
@media (max-width: 1000px) {
    .cal-body.with-panel { grid-template-columns: 1fr; }
    .cal-panel { position: static; }
    .cal-week { grid-template-columns: 1fr; }
    .cal-day { min-height: 0; }
}

/* ---- round 4: two-step, app passwords, Telic ID, spam, signatures, calendar sharing ---- */
.ts-setup { display: flex; gap: 1.2rem; align-items: flex-start; flex-wrap: wrap; margin-top: .4rem; }
.ts-qr { width: 180px; height: 180px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.ts-qr svg { width: 100%; height: 100%; display: block; }
.ts-key { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; word-break: break-all; }
.ts-codes { background: #fff; border: 1px dashed var(--line); border-radius: 8px; padding: .6rem .9rem; columns: 2; font-family: ui-monospace, Consolas, monospace; margin: .4rem 0; }
.ap-list { list-style: none; padding: 0; margin: .4rem 0; }
.ap-list li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.btn-telicid { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; margin: .6rem 0 .2rem; }
.btn-telicid img { border-radius: 4px; }
.or-rule { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .85rem; margin: .8rem 0 .2rem; }
.or-rule::before, .or-rule::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.sig-rich { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .2rem .9rem .8rem; margin-top: .3rem; overflow-x: auto; }
.filter-row { display: flex; gap: .8rem; align-items: center; margin: .4rem 0 .6rem; }
.filter-row input { max-width: 22rem; }
@media (max-width: 600px) { .ts-qr { width: 150px; height: 150px; } .ts-codes { columns: 1; } }

/* ---------- Free email tools (/tools) ---------- */
.tl-hero { padding: 2.2rem 0 1.6rem; max-width: 78ch; }
.tl-hero h1 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -0.025em; margin-bottom: .7rem; }
.tl-hero .lead { font-size: 1.08rem; color: var(--muted); max-width: 68ch; }
.tl-query { margin-top: 1.4rem; }
.tl-bar { display: flex; gap: 0; background: var(--surface); border: 2px solid var(--deep); border-radius: 12px; overflow: hidden; max-width: 760px; }
.tl-bar input, .tl-bar select { border: 0; border-radius: 0; margin: 0; background: transparent; font-size: 1.05rem; padding: .85rem 1rem; min-width: 0; }
.tl-bar input[name] { flex: 1 1 auto; font-family: var(--mono); font-size: .98rem; }
.tl-bar input:focus, .tl-bar select:focus { outline: none; box-shadow: inset 0 -3px 0 var(--saffron); }
.tl-bar .tl-port, .tl-bar .tl-sel { flex: 0 0 auto; border-left: 1px solid var(--line); width: auto; max-width: 15rem; font-size: .92rem; color: var(--ink); }
.tl-bar .tl-sel { font-family: var(--mono); font-size: .88rem; }
.tl-bar .btn { border-radius: 0; margin: 0; white-space: nowrap; background: var(--deep); border-color: var(--deep); }
.tl-bar .btn:hover { background: var(--brand); }
.tl-try { font-size: .88rem; color: var(--muted); margin: .55rem 0 0; }
.tl-try a { font-family: var(--mono); font-size: .85rem; }
@media (max-width: 640px) {
    .tl-bar { flex-wrap: wrap; }
    .tl-bar input[name] { flex-basis: 100%; }
    .tl-bar .tl-port, .tl-bar .tl-sel { flex: 1 1 auto; max-width: none; border-left: 0; border-top: 1px solid var(--line); }
    .tl-bar .btn { flex: 1 1 100%; }
}

.tl-results { border-top: 1px solid var(--line); padding: 2rem 0 1rem; }
.tl-working { display: flex; align-items: center; gap: .7rem; color: var(--muted); padding: 1rem 0; }
.tl-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--route); border-top-color: var(--deep); animation: tl-spin .8s linear infinite; }
@keyframes tl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tl-spin { animation-duration: 3s; } }

.tl-verdict { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem;
    padding: 0 0 1.2rem 1.1rem; border-left: 5px solid var(--line); margin-bottom: 1.4rem; }
.tl-verdict h2 { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0; }
.tl-verdict .muted { margin: .35rem 0 0; font-size: .92rem; }
.tl-subject { font-family: var(--mono); font-size: .9rem; color: var(--muted); margin: 0 0 .2rem; word-break: break-all; }
.tl-v-pass { border-color: var(--ok); } .tl-v-warn { border-color: #d48a1c; } .tl-v-fail { border-color: var(--bad); } .tl-v-info { border-color: var(--route); }
.tl-tally { list-style: none; display: flex; gap: 1.2rem; margin: 0; padding: 0; font-size: .9rem; color: var(--muted); }
.tl-tally b { font-family: var(--display); font-size: 1.35rem; margin-right: .25rem; }
.tl-tally .tl-pass b { color: var(--ok); } .tl-tally .tl-warn b { color: var(--warn); } .tl-tally .tl-fail b { color: var(--bad); }

/* Findings as stops on a route line, echoing the delivery route on the home page */
.tl-route { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; position: relative; max-width: 80ch; }
.tl-route::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2.5px; background: var(--route); }
.tl-route li { position: relative; padding: 0 0 1.1rem 2.6rem; }
.tl-route li:last-child { padding-bottom: 0; }
.tl-route strong { display: block; line-height: 1.35; padding-top: .1rem; }
.tl-route p { margin: .25rem 0 0; color: var(--muted); font-size: .94rem; overflow-wrap: anywhere; }
.tl-dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
    font-size: .78rem; font-weight: 700; color: #fff; box-shadow: 0 0 0 4px var(--bg); font-family: var(--display); }
.tl-pass .tl-dot { background: var(--ok); } .tl-warn .tl-dot { background: #d48a1c; } .tl-fail .tl-dot { background: var(--bad); }
.tl-info .tl-dot { background: var(--surface); color: var(--deep-2); border: 2px solid var(--route); }

.tl-table { margin: 0 0 1rem; }
.tl-table td { vertical-align: top; }
.tl-wrap { overflow-wrap: anywhere; word-break: break-word; }
.tl-tag { display: inline-block; margin-left: .45rem; font-family: Inter, system-ui, sans-serif; font-size: .78rem; color: var(--deep-2); background: var(--tint); border-radius: 4px; padding: .05rem .4rem; }
.tl-tag-warn { background: var(--warn-soft); color: var(--warn); }
.tl-h3 { margin: 1.6rem 0 .6rem; font-size: 1.02rem; }
.tl-next, .tl-small { font-size: .94rem; }
.tl-record { margin: 0 0 1.2rem; }
.tl-record figcaption { font-size: .88rem; color: var(--muted); margin-bottom: .3rem; }
.tl-record pre, .tl-pre, .tl-transcript pre { background: var(--deep); color: #d9ede5; border-radius: 10px; padding: .9rem 1rem; font-family: var(--mono);
    font-size: .84rem; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 1rem; }
.tl-transcript { margin: 1.2rem 0; }
.tl-transcript summary, .tl-how summary { cursor: pointer; font-weight: 600; color: var(--brand); margin-bottom: .6rem; }
.tl-dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.2rem; margin: 0 0 1.2rem; font-size: .95rem; }
.tl-dl dt { color: var(--muted); }
.tl-dl dd { margin: 0; min-width: 0; }
@media (max-width: 560px) { .tl-dl { grid-template-columns: 1fr; } .tl-dl dd { margin-bottom: .5rem; } }

.tl-lists { list-style: none; padding: 0; margin: 0 0 1rem; columns: 2 18rem; column-gap: 2rem; }
.tl-lists li { break-inside: avoid; display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: baseline; padding: .32rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.tl-state { font-size: .8rem; font-weight: 600; min-width: 5.6rem; }
.tl-l-clean .tl-state { color: var(--ok); } .tl-l-listed .tl-state { color: var(--bad); } .tl-l-notchecked .tl-state { color: var(--muted); }
.tl-l-listed { background: var(--bad-soft); padding-left: .4rem !important; }

.tl-score-row { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; margin-bottom: .6rem; }
.tl-score-row .tl-verdict { flex: 1 1 22rem; margin-bottom: 0; }
.tl-score { width: 104px; height: 104px; border-radius: 50%; border: 7px solid var(--line); display: grid; place-content: center; text-align: center; flex: 0 0 auto; }
.tl-score b { font-family: var(--display); font-size: 2.1rem; line-height: 1; }
.tl-score span { font-size: .72rem; color: var(--muted); }
.tl-score.tl-v-pass b { color: var(--ok); } .tl-score.tl-v-warn b { color: var(--warn); } .tl-score.tl-v-fail b { color: var(--bad); }
.tl-jump { display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin: 1.2rem 0 .4rem; }
.tl-jump a { font-size: .86rem; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-left-width: 4px; border-radius: 6px; padding: .25rem .6rem; background: var(--surface); }
.tl-section { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.4rem; scroll-margin-top: 80px; }
.tl-section h3 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 .6rem; }

.tl-paste label { font-weight: 600; display: block; margin-bottom: .35rem; }
.tl-paste textarea { font-family: var(--mono); font-size: .84rem; border: 2px solid var(--deep); border-radius: 12px; width: 100%; max-width: 900px; }
.tl-paste-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: .6rem; }
.tl-paste-row .note { margin: 0; max-width: 52ch; }
.tl-paste .btn { background: var(--deep); border-color: var(--deep); }
.tl-how { margin-top: 1rem; max-width: 75ch; font-size: .94rem; }
.tl-how ul { margin: 0; padding-left: 1.2rem; } .tl-how li { margin: .3rem 0; }
tr.tl-slow td { background: var(--warn-soft); }

.tl-grid, .tl-catalog { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem 2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tl-grid a, .tl-catalog a { display: block; text-decoration: none; color: var(--ink); border-top: 2px solid var(--line); padding-top: .9rem; position: relative; }
.tl-grid a::before, .tl-catalog a::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--route); }
.tl-grid a:hover, .tl-catalog a:hover { border-top-color: var(--brand); }
.tl-grid a:hover::before, .tl-catalog a:hover::before { background: var(--saffron); }
.tl-grid strong { display: block; margin-bottom: .2rem; }
.tl-grid span { font-size: .9rem; color: var(--muted); }
.tl-catalog h2 { font-size: 1.15rem !important; margin: 0 0 .35rem !important; }
.tl-catalog p { color: var(--muted); font-size: .95rem; }
.tl-go { font-weight: 600; color: var(--brand); font-size: .92rem; }
.tl-catalog li:first-child { grid-column: 1 / -1; }
.tl-catalog li:first-child a { border-top-color: var(--deep); }
.tl-catalog li:first-child h2 { font-size: 1.45rem !important; }
.tl-explain { max-width: 75ch; }
.tl-explain h3 { margin-top: 1.2rem; }
.tl-jump a.tl-v-pass { border-color: var(--line); border-left-color: var(--ok); }
.tl-jump a.tl-v-warn { border-color: var(--line); border-left-color: #d48a1c; }
.tl-jump a.tl-v-fail { border-color: var(--line); border-left-color: var(--bad); }
.tl-jump a.tl-v-info { border-color: var(--line); border-left-color: var(--route); }
.tl-score.tl-v-pass { border-color: var(--ok); } .tl-score.tl-v-warn { border-color: #d48a1c; } .tl-score.tl-v-fail { border-color: var(--bad); }
.tl-share { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: .4rem 0 0; }
.tl-share-label { font-size: .88rem; color: var(--muted); margin-right: .3rem; }
.tl-monthly { margin: 2.2rem 0 .6rem; padding: 1.4rem 1.5rem; background: var(--deep); color: #DCEBE5; border-radius: 14px;
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem 2rem; align-items: center; }
.tl-monthly h3 { color: #fff; font-family: var(--display); font-size: 1.2rem; margin: 0 0 .35rem; }
.tl-monthly p { margin: 0; color: #B9D3C9; font-size: .95rem; }
.tl-mo-form { display: flex; gap: 0; background: #fff; border-radius: 10px; overflow: hidden; }
.tl-mo-form input { border: 0; margin: 0; flex: 1 1 auto; min-width: 0; border-radius: 0; }
.tl-mo-form input:focus { outline: none; box-shadow: inset 0 -3px 0 var(--saffron); }
.tl-mo-form .btn { border-radius: 0; margin: 0; background: var(--saffron); border-color: var(--saffron); color: var(--deep); white-space: nowrap; }
.tl-mo-msg { color: #fff !important; font-weight: 600; }
@media (max-width: 720px) { .tl-monthly { grid-template-columns: 1fr; } }
.tl-small-hero { padding-bottom: 3rem; }
.wm-org { display: flex; align-items: center; gap: .7rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.wm-org img { height: 44px; width: auto; max-width: 160px; object-fit: contain; }
.wm-org span { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.wm-powered { font-size: .8rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }
.wm-powered a { color: var(--muted); }

/* ---------- Proof: trust facts, our own move ---------- */
.trust-facts { margin: 1.4rem 0 0; border-top: 1px solid var(--line); }
.trust-facts strong { font-size: 1.1rem; }
.trust-facts a { color: inherit; }
@media (max-width: 800px) { .facts.trust-facts { grid-template-columns: 1fr 1fr; } .facts.trust-facts p:nth-child(3) { border-left: 0; padding-left: 0; } }
.dogfood { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem 3rem; align-items: center; }
.df-copy p { color: var(--muted); max-width: 60ch; }
.df-domains { list-style: none; margin: 0; padding: 0; border-left: 2.5px solid var(--route); }
.df-domains li { position: relative; padding: .7rem 0 .7rem 1.4rem; display: flex; flex-direction: column; gap: .15rem; }
.df-domains li::before { content: ""; position: absolute; left: -7px; top: 1.05rem; width: 11px; height: 11px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--bg); }
.df-domains .mono { font-size: .98rem; color: var(--ink); }
.df-domains a { font-size: .9rem; }
@media (max-width: 760px) { .dogfood { grid-template-columns: 1fr; } }
.story-grid { display: grid; grid-template-columns: 300px 1fr; gap: 2rem 3.5rem; align-items: start; }
.story-facts { margin: 0; position: sticky; top: 90px; border-top: 3px solid var(--deep); }
.story-facts div { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.story-facts dt { font-size: .82rem; color: var(--muted); }
.story-facts dd { margin: .15rem 0 0; font-weight: 600; }
.story-body { max-width: 68ch; }
.story-body h2 { font-size: 1.35rem !important; margin-top: 1.8rem; }
.story-body h2:first-child { margin-top: 0; }
.steps-plain { padding-left: 1.2rem; } .steps-plain li { margin: .5rem 0; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } .story-facts { position: static; } }

/* ---------- Telic family bar ---------- */
.suite-bar { background: var(--deep); color: #9DBFB3; display: flex; align-items: center; gap: .2rem 1.1rem; flex-wrap: wrap;
    padding: .38rem clamp(16px, 4vw, 40px); font-size: .8rem; }
.suite-by { display: inline-flex; align-items: center; gap: .45rem; color: #DCEBE5; font-weight: 600; margin-right: .3rem; }
.suite-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); }
.suite-bar a { color: #C9DED6; text-decoration: none; }
.suite-bar a span { color: #7FA697; margin-left: .2rem; }
.suite-bar a:hover { color: #fff; }
.suite-bar a[aria-current] { color: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 var(--saffron); }
.suite-id { margin-left: auto; color: #7FA697; }
@media (max-width: 760px) { .suite-bar a span, .suite-id { display: none; } .suite-bar { gap: .2rem .8rem; } }
.suite-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem 2rem; }
.suite-list a { display: block; text-decoration: none; color: var(--ink); border-top: 2px solid var(--line); padding-top: .9rem; position: relative; }
.suite-list a::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--route); }
.suite-list a[aria-current] { border-top-color: var(--brand); } .suite-list a[aria-current]::before { background: var(--saffron); }
.suite-list b { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: .25rem; }
.suite-list span { color: var(--muted); font-size: .92rem; }

/* ---------- Comparisons ---------- */
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cmp-table thead th { font-family: var(--display); font-size: 1.05rem; border-bottom: 2px solid var(--deep); }
.cmp-table thead th:nth-child(2) { color: var(--brand); }
.cmp-table tbody th { font-weight: 600; width: 24%; color: var(--ink); }
.cmp-table td:nth-child(2) { background: var(--tint); }
.cmp-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; }
.cmp-pick h2 { font-size: 1.3rem !important; }
@media (max-width: 760px) { .cmp-pick { grid-template-columns: 1fr; } .cmp-table tbody th { width: auto; } }
.cmp-catalog li:first-child { grid-column: auto; }
.cmp-catalog li:first-child a { border-top-color: var(--line); }
.cmp-catalog li:first-child h2 { font-size: 1.15rem !important; }

/* ---------- Status page ---------- */
.st-head { display: flex; align-items: center; gap: .8rem; }
.st-light { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 6px var(--ok-soft); background: var(--ok); }
.st-bad .st-light { background: var(--bad); box-shadow: 0 0 0 6px var(--bad-soft); }
.st-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1.5rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.st-name h2 { font-size: 1.08rem !important; margin: 0 0 .2rem !important; }
.st-name p { margin: 0; color: var(--muted); font-size: .9rem; }
.st-now { font-weight: 600; font-size: .92rem; align-self: start; }
.st-now.st-ok { color: var(--ok); } .st-now.st-bad { color: var(--bad); } .st-now.st-none { color: var(--muted); }
.st-bars { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 34px; }
.st-bars span { border-radius: 2px; background: var(--line); }
.st-bars .b-ok { background: #3BB273; } .st-bars .b-part { background: #E0A43A; } .st-bars .b-bad { background: var(--bad); }
.st-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
@media (max-width: 600px) { .st-bars { grid-template-columns: repeat(90, 1fr); gap: 1px; height: 28px; } }
.ar-block { font-family: "Noto Sans Arabic", Tahoma, sans-serif; max-width: 72ch; }
.ar-block h2 { font-family: "Noto Sans Arabic", Tahoma, sans-serif !important; letter-spacing: 0 !important; line-height: 1.5; }
.ar-block p, .ar-block li { font-size: 1.05rem; line-height: 1.9; }
.ar-block ul { padding-right: 1.2rem; padding-left: 0; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.6rem; }
.team li { display: flex; flex-direction: column; gap: .2rem; }
.team img, .team-ini { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: .6rem; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--route); }
.team-ini { display: grid; place-items: center; background: var(--tint); color: var(--deep-2); font-family: var(--display); font-weight: 700; font-size: 1.8rem; }
.team b { font-family: var(--display); } .team span { color: var(--muted); font-size: .92rem; }

/* ---------- Product film ---------- */
.film { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem 2.5rem; align-items: center; }
.film-copy p { color: var(--muted); }
.film-video { width: 100%; height: auto; border-radius: 14px; background: var(--deep); box-shadow: 0 18px 50px rgba(11,38,32,.25); }
@media (max-width: 860px) { .film { grid-template-columns: 1fr; } }

/* TelicMail Android app: webmail without the website around it */
.in-app .topbar, .in-app .site-footer, .in-app .suite-bar { display: none !important; }

/* /app — Android download page */
.app-get { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.4rem; align-items: start; }
.app-get .btn-lg { font-size: 1.05rem; padding: .85rem 1.4rem; }
.app-meta { margin: .6rem 0 1.4rem; font-size: .92rem; }
.app-steps { padding-left: 1.2rem; max-width: 62ch; }
.app-steps li { margin: .45rem 0; }
.app-qr { margin: 0; text-align: center; max-width: 200px; }
.app-qr svg { width: 176px; height: 176px; border: 1px solid var(--line); border-radius: 10px; }
.app-qr figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.app-facts { max-width: 760px; }
.app-fp { word-break: break-all; font-size: .82rem; }
.wm-getapp { display: none; margin-top: 1rem; font-size: .9rem; text-align: center; }
.android-browser .wm-getapp { display: block; }
@media (max-width: 720px) { .app-get { grid-template-columns: 1fr; } .app-qr { display: none; } }
.wm-appbrand { display: none; }
.in-app .wm-appbrand { display: block; height: 34px; width: auto; margin-bottom: 1.2rem; }



/* ---------- Premium site chrome: header, footer, home motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes shine { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(230%) skewX(-18deg); } }
@keyframes art-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

.topbar { transition: box-shadow .25s, background-color .25s, border-color .25s; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.topbar.is-scrolled { box-shadow: 0 10px 30px rgba(16, 32, 27, .08); border-bottom-color: rgba(16, 32, 27, .06); }
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand .brand-mark-svg { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.brand:hover .brand-mark-svg { transform: rotate(-6deg) scale(1.05); }
.site-nav { gap: .25rem; }
.site-nav a { position: relative; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .7rem; border-radius: 10px; color: #4a5751; font-weight: 500; font-size: .94rem; transition: color .2s, background-color .2s; }
.site-nav a .nav-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #eef2ef; color: var(--brand); transition: background-color .25s, color .25s, transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.site-nav a .nav-txt::after { content: ""; position: absolute; left: 2.5rem; right: .7rem; bottom: .35rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--saffron)); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); background: #f3f6f4; }
.site-nav a:hover .nav-ic, .site-nav a:focus-visible .nav-ic { background: var(--brand); color: #fff; transform: translateY(-2px) rotate(-6deg); box-shadow: 0 6px 14px rgba(15, 107, 87, .28); }
.site-nav a:hover .nav-txt::after, .site-nav a:focus-visible .nav-txt::after { transform: scaleX(1); }
.site-nav a.active { color: var(--brand); font-weight: 600; }
.site-nav a.active .nav-ic { background: var(--brand); color: #fff; }
.site-nav a:focus-visible { outline: 3px solid rgba(15, 107, 87, .35); outline-offset: 1px; }
.nav-link { display: inline-flex; align-items: center; gap: .35rem; }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translateX(-130%) skewX(-18deg); }
.btn-shine:hover::after { animation: shine .7s ease-out; }
.btn .ic { transition: transform .25s; }
.btn:hover .ic:last-child { transform: translateX(3px); }
.burger { display: inline-flex; flex-direction: column; gap: 4px; padding: 4px 0; }
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.mobile-menu[open] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu[open] .burger i:nth-child(2) { opacity: 0; }
.mobile-menu[open] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu summary { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 10px; }
.mobile-menu nav { animation: rise .2s ease-out; min-width: 260px; padding: .4rem; }
.mobile-menu nav a { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; }
.mobile-menu nav a .nav-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #eef2ef; color: var(--brand); transition: background-color .2s, color .2s; }
.mobile-menu nav a:hover .nav-ic { background: var(--brand); color: #fff; }

.site-footer { position: relative; margin-top: 4rem; background: radial-gradient(80% 60% at 100% 0%, rgba(20, 132, 107, .18), transparent 60%), #10201b; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(166, 230, 209, .5), transparent); }
.footer-grid h3 { display: flex; align-items: center; gap: .45rem; letter-spacing: .01em; }
.footer-grid h3 .ic { color: #7ad3a8; }
.footer-grid { grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.footer-grid a { display: flex; align-items: flex-start; gap: .5rem; margin: .1rem 0; padding: .3rem .5rem; margin-left: -.5rem; border-radius: 8px; color: #b9c7c0; font-size: .88rem; line-height: 1.35; transition: color .2s, background-color .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.footer-grid a .ic { color: #6f8f82; flex: none; margin-top: .1rem; transition: color .2s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.footer-grid a .f-arrow { margin-left: auto; opacity: 0; transform: translateX(-6px); color: #7ad3a8; }
.footer-grid a:hover, .footer-grid a:focus-visible { color: #fff; background: rgba(255, 255, 255, .06); transform: translateX(3px); }
.footer-grid a:hover .ic:first-child { color: #7ad3a8; transform: scale(1.15) rotate(-6deg); }
.footer-grid a:hover .f-arrow { opacity: 1; transform: none; }
.footer-grid a:focus-visible { outline: 2px solid #7ad3a8; outline-offset: 1px; }
.footer-grid a.brand { padding: 0; margin: 0 0 .6rem; background: none; transform: none; }
.footer-trust { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; }
.footer-trust li { display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: #a7b7af; }
.footer-trust li .ic { color: #7ad3a8; flex: none; }
.footer-base .to-top { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); color: #c9d6d0; transition: background-color .2s, transform .25s; }
.footer-base .to-top:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--brand); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 26px rgba(16, 32, 27, .16); animation: rise .25s ease-out; transition: transform .2s, background-color .2s; }
.back-top:hover { transform: translateY(-3px); background: #fff; }
.back-top[hidden] { display: none; }
body:has(.wm-shell) .back-top { display: none; }

/* Hero entrance: one orchestrated reveal on load */
.js .hero3-copy > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.js .hero3-copy > :nth-child(1) { animation-delay: .05s; }
.js .hero3-copy > :nth-child(2) { animation-delay: .15s; }
.js .hero3-copy > :nth-child(3) { animation-delay: .25s; }
.js .hero3-copy > :nth-child(4) { animation-delay: .35s; }
.js .hero3-copy > :nth-child(5) { animation-delay: .45s; }
.js .hero3-copy > :nth-child(6) { animation-delay: .55s; }
.js .hero3-art { animation: art-in .9s cubic-bezier(.2, .8, .2, 1) .25s both; }
.domain-cta .btn { position: relative; overflow: hidden; background: linear-gradient(160deg, #15806a, var(--brand)); }
.domain-cta .btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translateX(-130%) skewX(-18deg); }
.domain-cta .btn:hover::after { animation: shine .7s ease-out; }

/* Sections reveal as you scroll (only when JS is on; the content is always there for search engines) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .facts.reveal p { opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s; }
.js .facts.reveal.in p { opacity: 1; transform: none; }
.js .facts.reveal.in p:nth-child(2) { transition-delay: .08s; } .js .facts.reveal.in p:nth-child(3) { transition-delay: .16s; } .js .facts.reveal.in p:nth-child(4) { transition-delay: .24s; }
.facts strong [data-count] { font-variant-numeric: tabular-nums; }

/* Why teams move: three cards with icon badges */
.why { padding-top: 1rem; }
.why-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.why-card { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem 1.4rem 1.3rem; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #fff, #f8fbf9); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; }
.why-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 100% 0%, rgba(20, 132, 107, .12), transparent 70%); opacity: 0; transition: opacity .3s; }
.why-card:hover, .why-card:focus-visible { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(16, 32, 27, .12); border-color: #cfe3da; }
.why-card:hover::before { opacity: 1; }
.why-ic { position: relative; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, #15806a, #0a4a3c); color: #fff; box-shadow: 0 8px 18px rgba(15, 107, 87, .28); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.why-card:hover .why-ic { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.why-card h3 { margin: .4rem 0 0; font-size: 1.12rem; }
.why-card p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.55; flex: 1; }
.why-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .4rem; font-weight: 600; color: var(--brand); font-size: .92rem; }
.why-more .ic { transition: transform .25s; }
.why-card:hover .why-more .ic { transform: translateX(4px); }

/* Existing cards and plans get a lift too */
.plan { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 32, 27, .10); }
.plan.featured:hover { box-shadow: 0 0 0 1px var(--brand), 0 18px 40px rgba(15, 107, 87, .18); }
.steps2 li { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.steps2 li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16, 32, 27, .08); }

@media (prefers-reduced-motion: reduce) {
    .js .hero3-copy > *, .js .hero3-art, .mobile-menu nav, .back-top { animation: none; }
    .js .reveal, .js .facts.reveal p { opacity: 1; transform: none; transition: none; }
    .site-nav a .nav-ic, .footer-grid a, .why-card, .plan, .steps2 li { transition: none; }
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 1200px) { .site-nav a { padding: .45rem .5rem; font-size: .9rem; } .site-nav a .nav-txt::after { left: 2.3rem; right: .5rem; } }
@media (max-width: 1080px) { .site-nav a .nav-ic { display: none; } .site-nav a .nav-txt::after { left: .5rem; } }

/* ---------- Home: hero tabs + quick health check ---------- */
.hero-tabs { display: inline-flex; gap: .2rem; padding: .25rem; margin: 0 0 .7rem; border-radius: 12px; background: rgba(16, 32, 27, .06); }
.hero-tabs button { border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 600; color: var(--muted); padding: .45rem .9rem; border-radius: 9px; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.hero-tabs button.on { background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(16, 32, 27, .1); }
.hero-tabs button:hover:not(.on) { color: var(--ink); }
.hero-tabs button:focus-visible { outline: 3px solid rgba(15, 107, 87, .35); outline-offset: 2px; }
[role=tabpanel] { animation: rise .25s ease-out; }
.hc-form .hc-ic { color: var(--brand); flex: none; margin-right: .3rem; }
.btn.busy .ic, .btn.busy { cursor: progress; }
.hc-result:empty { display: none; }
.hc-result { max-width: 540px; margin: -.6rem 0 1.4rem; }
.hc-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 1rem 1.1rem; box-shadow: 0 14px 34px rgba(16, 32, 27, .10); animation: rise .3s ease-out; }
.hc-card.loading { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .92rem; }
.hc-card.err { color: var(--bad); background: var(--bad-soft); border-color: #f0c9c4; }
.hc-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--brand-soft); border-top-color: var(--brand); animation: wm-spin .8s linear infinite; flex: none; }
.hc-top { display: flex; align-items: center; gap: .9rem; margin-bottom: .7rem; }
.hc-top > div:last-child { display: flex; flex-direction: column; min-width: 0; }
.hc-score { --p: 0; --c: var(--brand); flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), #e8eeeb 0); position: relative; }
.hc-score::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.hc-score span { position: relative; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.hc-card.ok .hc-score { --c: #e08e1b; }
.hc-card.bad .hc-score { --c: #c6342b; }
.hc-dom { font-size: 1.02rem; overflow-wrap: anywhere; }
.hc-head { font-size: .9rem; color: #3b4842; }
.hc-prov { font-size: .8rem; color: var(--muted); }
.hc-list { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; }
.hc-list li { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: .45rem .5rem; border-radius: 10px; background: #f5f8f6; font-size: .72rem; color: var(--muted); }
.hc-list li strong { font-size: .82rem; color: var(--ink); }
.hc-dot { width: 9px; height: 9px; border-radius: 50%; background: #b6c3bc; margin-bottom: .1rem; }
.hc-list li.pass .hc-dot { background: #1d7a46; } .hc-list li.pass { background: #eaf6ef; }
.hc-list li.warn .hc-dot { background: #e08e1b; } .hc-list li.warn { background: #fdf3e1; }
.hc-list li.fail .hc-dot { background: #c6342b; } .hc-list li.fail { background: #fbe9e7; }
.hc-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 560px) { .hc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero-tabs button { padding: .45rem .7rem; font-size: .85rem; } }

/* ---------- Home: trust badges ---------- */
.trust-row { list-style: none; padding: 0; margin: 1.4rem 0 .4rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; }
.trust-row a { display: flex; align-items: center; gap: .65rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fff, #f8fbf9); color: var(--ink); text-decoration: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.trust-row a:hover, .trust-row a:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16, 32, 27, .09); border-color: #cfe3da; }
.trust-row a > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.trust-row strong { font-size: .86rem; line-height: 1.25; }
.trust-row small { font-size: .74rem; color: var(--muted); }
.trust-ic { position: relative; flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.trust-row a:hover .trust-ic { transform: rotate(-8deg) scale(1.08); }
.live-dot { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: #1d7a46; border: 2px solid #fff; }
.live-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #1d7a46; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
@media (max-width: 1000px) { .trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .trust-row { grid-template-columns: 1fr 1fr; } .trust-row li:last-child { grid-column: 1 / -1; } }

/* ---------- Home: comparison table ---------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 14px 34px rgba(16, 32, 27, .06); }
.cmp-wrap:focus-visible { outline: 3px solid rgba(15, 107, 87, .35); outline-offset: 2px; }
.cmp-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.cmp-table th, .cmp-table td { padding: .8rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid #edf1ee; }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-table thead th { position: sticky; top: 0; background: #fbfcfb; font-size: .9rem; font-weight: 700; }
.cmp-table thead th a { color: var(--ink); text-decoration: none; border-bottom: 1px dashed #b6c3bc; }
.cmp-table thead th a:hover { color: var(--brand); border-color: var(--brand); }
.cmp-table tbody th { font-weight: 600; color: #2c3833; width: 22%; }
.cmp-table .us { background: linear-gradient(180deg, rgba(15, 107, 87, .07), rgba(15, 107, 87, .04)); }
.cmp-table thead .us { background: linear-gradient(160deg, #15806a, var(--brand)); color: #fff; border-radius: 0; }
.cmp-table thead th.us, .cmp-table thead th.us .cmp-brand { color: #fff; }
.cmp-table thead th.us img { background: #fff; border-radius: 6px; padding: 2px; }
.cmp-brand { display: inline-flex; align-items: center; gap: .45rem; }
.cmp-brand img { border-radius: 6px; background: #fff; }
.cmp-cell { display: inline-flex; align-items: flex-start; gap: .4rem; line-height: 1.4; }
.cmp-cell .ic { flex: none; margin-top: .15rem; }
.cmp-cell.yes .ic { color: #1d7a46; }
.cmp-cell.no { color: var(--muted); } .cmp-cell.no .ic { color: #b3261e; }
.cmp-cell.part .ic { color: #c27a12; }
.cmp-table td.us .cmp-cell { font-weight: 600; color: #10201b; }
.cmp-table tbody tr { transition: background-color .15s; }
.cmp-table tbody tr:hover td:not(.us), .cmp-table tbody tr:hover th { background: #f7faf8; }

/* ---------- Home: price calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 1.4rem; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(16, 32, 27, .08); }
.calc-in { padding: 1.5rem 1.6rem; background: #fff; }
.calc-in h3 { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font-size: 1.2rem; font-family: var(--display); }
.calc-in h3 .ic { color: var(--brand); }
.calc-in > label { font-weight: 600; font-size: .92rem; }
.calc-users { display: flex; align-items: center; gap: .8rem; margin: .5rem 0 1.2rem; }
.calc-users input[type=range] { flex: 1; accent-color: var(--brand); height: 6px; }
.calc-users input[type=number] { width: 6.5rem; font-weight: 700; font-size: 1.05rem; text-align: center; }
.calc-plans { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.calc-plans legend { font-weight: 600; font-size: .92rem; margin-bottom: .5rem; padding: 0; }
.calc-plan { position: relative; display: block; cursor: pointer; margin: 0; }
.calc-plan input { position: absolute; opacity: 0; }
.calc-plan > span { display: flex; flex-direction: column; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .15s; }
.calc-plan > span small { color: var(--muted); font-size: .8rem; }
.calc-plan:hover > span { border-color: #b9d3c8; }
.calc-plan input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(15, 107, 87, .12); }
.calc-plan input:focus-visible + span { outline: 3px solid rgba(15, 107, 87, .35); outline-offset: 2px; }
.calc-out { padding: 1.5rem 1.6rem; color: #e7f0eb; background: radial-gradient(80% 70% at 100% 0%, rgba(244, 169, 59, .18), transparent 60%), linear-gradient(160deg, #13362c, #0a2a21); }
.calc-total { display: flex; flex-direction: column; gap: .15rem; margin-bottom: 1rem; }
.calc-label { font-size: .82rem; color: #a7c4b8; font-weight: 600; }
.calc-total strong { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 2.9rem); line-height: 1.05; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-total strong.tick { animation: tick .3s ease-out; }
@keyframes tick { from { transform: translateY(4px); opacity: .5; } to { transform: none; opacity: 1; } }
.calc-detail { font-size: .84rem; color: #a7c4b8; }
.calc-vs { margin: 0 0 1rem; display: grid; gap: .35rem; }
.calc-vs > div { display: flex; justify-content: space-between; gap: .8rem; padding: .5rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.calc-vs dt { color: #c9d6d0; }
.calc-vs dd { margin: 0; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-vs > div:first-child dd { color: #7ad3a8; }
.calc-save { font-size: .95rem; padding: .65rem .8rem; border-radius: 12px; background: rgba(122, 211, 168, .12); border: 1px solid rgba(122, 211, 168, .25); margin: 0 0 1rem; }
.calc-save strong { color: #7ad3a8; }
.calc-warn { font-size: .88rem; padding: .55rem .8rem; border-radius: 10px; background: rgba(244, 169, 59, .15); color: #ffd99a; margin: 0 0 1rem; }
.calc-out .btn { background: #fff; color: var(--brand); border-color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.calc-out .btn:hover:not(:disabled) { background: #eafff5; color: var(--brand); border-color: #eafff5; }
.calc-out .note { color: #93ada3; font-size: .78rem; margin: .8rem 0 0; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Webmail video loop ---------- */
.loop-shot { margin: 0; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0f1c17; box-shadow: 0 24px 60px rgba(16, 32, 27, .16); }
.loop-shot video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.loop-shot figcaption { position: absolute; left: .8rem; bottom: .8rem; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 99px; background: rgba(16, 32, 27, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: .78rem; font-weight: 600; }
.loop-toggle { position: absolute; right: .8rem; bottom: .8rem; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(16, 32, 27, .6); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.loop-toggle:hover { background: rgba(16, 32, 27, .85); }

/* ---------- WhatsApp button and the phone's sticky bar ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: inline-flex; align-items: center; gap: .5rem; height: 54px; padding: 0 1.05rem 0 .9rem; border-radius: 99px; background: linear-gradient(160deg, #2fd366, #1faa4f); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; box-shadow: 0 12px 28px rgba(31, 170, 79, .38), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; animation: rise .4s ease-out .8s both; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(31, 170, 79, .45), inset 0 1px 0 rgba(255, 255, 255, .35); color: #fff; }
.wa-float .ic { flex: none; }
.wa-float .wa-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s cubic-bezier(.2, .8, .2, 1); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 10rem; }
.wa-float:focus-visible { outline: 3px solid rgba(31, 170, 79, .45); outline-offset: 3px; }
body:has(.wa-float) .back-top { bottom: 86px; }
.m-cta { display: none; }
@media (max-width: 760px) {
    .wa-float { display: none; }
    body:has(.wa-float) .back-top { bottom: 92px; right: 14px; width: 42px; height: 42px; }
    .m-cta { display: flex; gap: .5rem; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 56; padding: .45rem; border-radius: 18px;
        background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border: 1px solid rgba(255, 255, 255, .9);
        box-shadow: 0 14px 34px rgba(16, 32, 27, .18); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
    .m-cta.show { transform: none; }
    .m-cta-wa { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, #2fd366, #1faa4f); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
    .m-cta-main { flex: 1; min-height: 48px; border-radius: 14px; font-size: 1rem; }
    .site-footer { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float, .hc-card, [role=tabpanel] { animation: none; } .live-dot::after { animation: none; } .m-cta { transition: none; } }
/* ---------- Webmail: toolbar, list, reader, compose (all sizes) ---------- */
.wm-mhead, .wm-bnav, .wm-fab, .wm-only-m, .wm-send-top { display: none; }
.wm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wm-compose-side { width: 100%; margin-bottom: .8rem; }
.wm-icon-btn {
    flex: none; width: 42px; height: 42px; display: inline-grid; place-items: center; border: 0; border-radius: 50%;
    background: transparent; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s;
}
.wm-icon-btn:hover:not(:disabled) { background: #e9efec; }
.wm-icon-btn:focus-visible, .wm-tool:focus-visible, .wm-rb:focus-visible, .wm-chipbtn:focus-visible, .wm-folder:focus-visible,
.wm-item:focus-visible, .wm-bnav button:focus-visible, .wm-sheet-row:focus-visible, .wm-acc:focus-visible, .wm-fab:focus-visible {
    outline: 3px solid rgba(15, 107, 87, .35); outline-offset: 2px;
}
.wm-icon-btn:disabled { opacity: .45; }
.wm-icon-btn.wm-only-m, .btn.wm-only-m { display: none; }
.wm-search-close { display: none; }
@media (min-width: 901px) and (max-width: 1560px) {
    .wm-tool:not(.primary):not(.wm-tool-d) span { display: none; }
    .wm-tool:not(.primary):not(.wm-tool-d) { padding: .4rem .55rem; }
    .wm-bulk .wm-tool span { display: inline; }
}
.ic { flex: none; display: block; }

.wm-av {
    --h: 160; flex: none; width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center;
    background: hsl(var(--h) 36% 90%); color: hsl(var(--h) 48% 25%); font-weight: 600; font-size: .82rem; letter-spacing: .02em;
}
.wm-av-lg { width: 44px; height: 44px; font-size: .95rem; }

.wm-search {
    display: flex; align-items: center; gap: .45rem; border: 1px solid var(--line); border-radius: 10px;
    padding: 0 .3rem 0 .75rem; background: #fff; margin-bottom: .5rem; color: var(--muted);
}
.wm-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.wm-search input { border: 0; padding: .55rem 0; background: transparent; outline: none; box-shadow: none; min-width: 0; }
.wm-search input:focus { outline: none; }

.wm-item { display: flex; align-items: flex-start; gap: .7rem; position: relative; padding: .75rem .6rem; }
@media (hover: hover) { .wm-item:hover { background: #f5f8f6; } }
.wm-item.active { background: var(--brand-soft); }
.wm-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .12rem; }
.wm-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.wm-from, .wm-subject { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-from { font-size: .95rem; }
.wm-subject { font-size: .9rem; }
.wm-date { flex: none; font-size: .76rem; color: var(--muted); }
.wm-item.unread .wm-date { color: var(--brand); font-weight: 600; }
.wm-item:not(.unread) .wm-from { color: #34413b; }
.wm-preview { font-size: .83rem; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wm-tag { display: inline-block; font-size: .7rem; font-weight: 600; padding: .02rem .45rem; border-radius: 99px; background: var(--brand-soft); color: var(--brand); margin-right: .35rem; vertical-align: 1px; }
.wm-flag { color: #b86e00; display: inline-flex; vertical-align: -2px; margin-right: .25rem; }
.wm-dot { position: absolute; right: .75rem; top: 2.35rem; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.wm-item.unread .wm-preview { padding-right: 1rem; }
.wm-empty { display: grid; justify-items: center; gap: .3rem; padding: 2.4rem 1rem; color: var(--muted); text-align: center; }
.wm-empty .ic { color: #a9b8b1; }
.wm-empty p { margin: 0; }
.wm-more-row { display: flex; justify-content: center; padding: .7rem; }

.wm-bar { display: flex; align-items: center; gap: .5rem; }
.wm-rbar { justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: .55rem; margin-bottom: .2rem; }
.wm-tools { display: flex; gap: .2rem; flex-wrap: wrap; align-items: center; }
.wm-tool {
    display: inline-flex; align-items: center; gap: .38rem; min-height: 38px; padding: .4rem .7rem; border: 0; border-radius: 9px;
    background: transparent; color: #2c3833; font: inherit; font-size: .87rem; font-weight: 500; cursor: pointer;
    -webkit-tap-highlight-color: transparent; transition: background-color .15s, color .15s;
}
.wm-tool .ic { color: var(--muted); transition: color .15s; }
.wm-tool:hover { background: #eef3f0; }
.wm-tool:hover .ic { color: var(--ink); }
.wm-tool.danger:hover, .wm-tool.danger:hover .ic { background: var(--bad-soft); color: var(--bad); }
.wm-tool.on, .wm-tool.on .ic { color: #b86e00; }
.wm-menu-wrap { position: relative; }
.wm-menu-scrim { position: fixed; inset: 0; z-index: 29; }
.wm-menu {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 210px; padding: .35rem; background: #fff;
    border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 36px rgba(20, 32, 27, .16);
}
.wm-menu button {
    display: flex; align-items: center; gap: .65rem; width: 100%; padding: .65rem .75rem; border: 0; border-radius: 8px;
    background: none; font: inherit; font-size: .92rem; color: var(--ink); text-align: left; cursor: pointer; min-height: 44px;
}
.wm-menu button:hover { background: #f1f5f3; }
.wm-menu .ic { color: var(--muted); }
.wm-read-subject { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.015em; margin: .85rem 0 .75rem; overflow-wrap: anywhere; }
.wm-replybar { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 .9rem; }
.wm-rb {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 40px; padding: .45rem 1rem;
    border: 1px solid #c5d6ce; border-radius: 10px; background: #fff; color: var(--brand); font: inherit; font-weight: 600; font-size: .9rem;
    cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s, border-color .15s;
}
.wm-rb:hover { background: var(--brand-soft); border-color: var(--brand); }
.wm-rb.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(15, 107, 87, .22); }
.wm-rb.primary:hover { background: #0c5a49; }
.wm-rb:active { transform: translateY(1px); }

.wm-ai { padding: .55rem .7rem; margin: 0 0 .8rem; background: #f9fbfa; border: 1px solid var(--line); border-radius: 12px; }
.wm-chips { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; margin: .5rem 0; }
.wm-ai .wm-chips { margin: 0; }
.wm-chips-label { display: inline-flex; align-items: center; gap: .3rem; font-size: .84rem; font-weight: 600; color: var(--brand); margin-right: .15rem; white-space: nowrap; }
.wm-chipbtn {
    flex: none; min-height: 34px; padding: .3rem .85rem; border: 1px solid #cfdcd5; border-radius: 999px; background: #fff;
    color: var(--ink); font: inherit; font-size: .84rem; font-weight: 500; cursor: pointer; white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s; -webkit-tap-highlight-color: transparent;
}
.wm-chipbtn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.wm-chipbtn:disabled { opacity: .5; cursor: not-allowed; }
.wm-translate { display: inline-flex; gap: .3rem; flex: none; }
.wm-translate select { width: auto; min-height: 34px; padding: .25rem .7rem; border-radius: 999px; font-size: .84rem; border-color: #cfdcd5; }

.wm-msg-head { display: flex; gap: .75rem; align-items: flex-start; }
.wm-msg-who { flex: 1; min-width: 0; }
.wm-msg-line { display: flex; justify-content: space-between; align-items: baseline; gap: .2rem .6rem; flex-wrap: wrap; }
.wm-msg-line time { font-size: .8rem; color: var(--muted); }
.wm-msg-addr { font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.wm-msg-to { font-size: .8rem; color: var(--muted); margin-top: .15rem; overflow-wrap: anywhere; }

.wm-cbar { margin-bottom: .7rem; }
.wm-cbar h2 { flex: 1; margin: 0; }
.wm-cbar .wm-icon-btn { margin-left: -.5rem; }
.wm-cfields { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.wm-field { display: flex; align-items: center; gap: .6rem; padding: .1rem .85rem; border-bottom: 1px solid var(--line); }
.wm-field:last-child { border-bottom: 0; }
.wm-field > label { flex: none; width: 4.4rem; margin: 0; color: var(--muted); font-size: .88rem; font-weight: 500; }
.wm-field > .addr-input { flex: 1; min-width: 0; }
.wm-field input { border: 0; border-radius: 0; padding: .65rem 0; background: transparent; box-shadow: none; }
.wm-field input:focus { outline: none; }
.wm-field:focus-within { box-shadow: inset 3px 0 0 var(--brand); }
.wm-body { margin-top: .7rem; min-height: 260px; padding: .8rem .9rem; border-radius: 12px; line-height: 1.55; }
.wm-body:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.wm-attach-btn { margin: 0; cursor: pointer; }
.wm-send-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.wm-schedule { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .3rem .2rem .65rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); }
.wm-schedule input { width: auto; border: 0; padding: .35rem .2rem; background: transparent; font-size: .88rem; }
.wm-discard { margin-left: auto; }
.wm-signin-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.wm-signin-actions .btn { flex: 1 1 10rem; }

/* Accounts sheet */
.wm-sheet-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(16, 28, 24, .4); animation: wm-fade .18s ease-out; }
.wm-sheet {
    position: fixed; z-index: 61; top: 76px; right: 24px; width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow-y: auto;
    background: #fff; border-radius: 18px; padding: .9rem 1rem 1rem; box-shadow: 0 24px 60px rgba(20, 32, 27, .28); animation: wm-fade .18s ease-out;
}
.wm-sheet-grip { display: none; }
.wm-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .2rem; }
.wm-sheet-head h2 { margin: 0; font-family: var(--display); font-size: 1.15rem; }
.wm-sheet-head .wm-icon-btn { margin-right: -.4rem; }
.wm-acclist { list-style: none; padding: 0; margin: .4rem 0; display: grid; gap: .2rem; }
.wm-acclist li { display: flex; align-items: center; gap: .7rem; padding: .55rem .55rem; border-radius: 14px; }
.wm-acclist li.current { background: var(--brand-soft); }
.wm-acclist li:not(.current):hover { background: #f3f6f4; }
.wm-acc { flex: 1; min-width: 0; display: flex; align-items: center; gap: .7rem; padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; border-radius: 10px; }
.wm-acc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wm-acc-text strong, .wm-acc-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-acc-text span { font-size: .84rem; color: var(--muted); }
.wm-acc-check { color: var(--brand); flex: none; padding-right: .3rem; }
.wm-acc-remove { color: var(--muted); }
.wm-acc-remove:hover { color: var(--bad); background: var(--bad-soft) !important; }
.wm-sheet-actions { border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .35rem; display: grid; gap: .1rem; }
.wm-sheet-row {
    display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 54px; padding: .5rem .55rem; border: 0; border-radius: 14px;
    background: none; font: inherit; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.wm-sheet-row:hover { background: #f3f6f4; }
.wm-sheet-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #ecf2ef; color: var(--brand); }
.wm-sheet-row.danger { color: var(--bad); }
.wm-sheet-row.danger .wm-sheet-ic { background: var(--bad-soft); color: var(--bad); }
.wm-sheet-note { margin: .4rem .55rem 0; font-size: .8rem; color: var(--muted); }
@keyframes wm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wm-rise { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Webmail on a desktop: three panes, like Outlook on the web ---------- */
@keyframes wm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes wm-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@keyframes wm-toast { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes wm-slide-right { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wm-sheen { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(230%) skewX(-18deg); } }
@keyframes wm-spin { to { transform: rotate(360deg); } }

.wm-shell { --wm-top: 64px; }
.wm-icon-btn.on { background: var(--brand-soft); color: var(--brand); }
.wm-icon-btn.wm-icon-sm { width: 34px; height: 34px; }
.wm-icon-btn .ic { transition: transform .15s; }
.wm-icon-btn:hover:not(:disabled) .ic { transform: scale(1.1); }
.wm-icon-btn.on-flag { color: #b86e00; }
.wm-link { border: 0; background: none; padding: 0; font: inherit; font-size: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: transparent; transition: text-decoration-color .15s; display: inline-flex; align-items: center; gap: .3rem; }
.wm-link:hover { text-decoration-color: currentColor; }
.wm-pill { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .6rem; border-radius: 99px; background: #eef2ef; color: #3b4842; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.wm-pill.ok { background: var(--ok-soft); color: var(--ok); }
.wm-pill.flag { background: #fdf0dc; color: #8a5200; }
kbd { display: inline-block; min-width: 1.5em; padding: .05em .4em; border: 1px solid #cdd6d1; border-bottom-width: 2px; border-radius: 5px; background: #fff; font: 600 .78em var(--mono); color: #3b4842; text-align: center; line-height: 1.5; }

/* Toasts and alerts */
.wm-toast {
    position: fixed; right: 24px; bottom: 24px; z-index: 70; display: flex; align-items: center; gap: .6rem; max-width: min(460px, calc(100vw - 32px));
    padding: .7rem .8rem .7rem 1rem; border-radius: 14px; background: #16231e; color: #e7f0eb; box-shadow: 0 16px 40px rgba(10, 20, 16, .35);
    animation: wm-toast .28s cubic-bezier(.2, .8, .2, 1); font-size: .93rem;
}
.wm-toast > .ic:first-child { color: #7ad3a8; flex: none; }
.wm-toast span { flex: 1; }
.wm-toast .wm-icon-btn { color: #c9d6d0; }
.wm-toast .wm-icon-btn:hover { background: rgba(255, 255, 255, .1); }
.wm-toast kbd { background: #2a3a33; border-color: #3f5249; color: #fff; }
.wm-toast.wm-tip { bottom: 84px; background: var(--brand); color: #fff; }
.wm-toast.wm-tip > .ic:first-child { color: var(--saffron); }
.wm-toast.wm-tip .btn { background: #fff; color: var(--brand); border-color: #fff; box-shadow: none; }
.wm-alert { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }

/* App bar */
.wm-top { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(280px, 640px) minmax(200px, 1fr); align-items: center; gap: 1rem; margin: 0 0 .75rem; padding: .5rem 0; }
.wm-top-brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; min-width: 0; }
.wm-top-brand img { border-radius: 9px; flex: none; }
.wm-top-brand span { display: flex; flex-direction: column; min-width: 0; }
.wm-top-brand strong { font-family: var(--display); font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-top-brand small { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-top-search { display: flex; align-items: center; gap: .5rem; height: 42px; padding: 0 .6rem 0 .9rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--muted); transition: box-shadow .15s, border-color .15s; }
.wm-top-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.wm-top-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 0; box-shadow: none; font-size: .95rem; }
.wm-top-search input:focus { outline: none; }
.wm-top-search input::-webkit-search-cancel-button { display: none; }
.wm-top-search kbd { opacity: .7; }
.wm-top-search:focus-within kbd { display: none; }
.wm-top-actions { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; }
.wm-top-actions .wm-avatar-btn { margin-left: .3rem; border: 0; background: none; padding: 0; border-radius: 50%; cursor: pointer; }
.wm-top-actions .wm-avatar-btn .wm-av { width: 36px; height: 36px; font-size: .85rem; transition: box-shadow .15s; }
.wm-top-actions .wm-avatar-btn:hover .wm-av { box-shadow: 0 0 0 3px var(--brand-soft); }

/* Three panes */
.wm-list { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.wm-list-head { display: flex; align-items: center; gap: .3rem; padding: .7rem .5rem .2rem .6rem; }
.wm-list-sub { display: flex; align-items: center; gap: .5rem; padding: .2rem .6rem .55rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.wm-list-sub .wm-pill .wm-link { margin-left: .1rem; color: inherit; }
.wm-list-head h2 { flex: 1; margin: 0 .3rem 0 .2rem; font-family: var(--display); font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-list-head h2 small { font-weight: 500; color: var(--muted); font-size: .8rem; margin-left: .3rem; }
.wm-filters { display: inline-flex; gap: .15rem; padding: .18rem; border-radius: 99px; background: #eef2ef; }
.wm-filters button { border: 0; background: none; padding: .25rem .65rem; border-radius: 99px; font: inherit; font-size: .8rem; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; transition: background-color .15s, color .15s; }
.wm-filters button.on { background: #fff; color: var(--brand); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.wm-filters button:hover:not(.on) { color: var(--ink); }
.wm-list .wm-search { display: none; }
.wm-items { flex: 1; overflow-y: auto; }

.wm-check { position: relative; flex: none; width: 22px; height: 22px; display: inline-grid; place-items: center; cursor: pointer; }
.wm-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.wm-check span { width: 18px; height: 18px; border: 1.6px solid #b6c3bc; border-radius: 5px; background: #fff; display: grid; place-items: center; transition: background-color .12s, border-color .12s, transform .12s; }
.wm-check span::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .12s; }
.wm-check input:checked + span { background: var(--brand); border-color: var(--brand); animation: wm-pop .2s; }
.wm-check input:checked + span::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.wm-check input:focus-visible + span { outline: 3px solid rgba(15, 107, 87, .35); outline-offset: 2px; }
.wm-check-all { margin-right: .1rem; }

.wm-item { display: flex; align-items: flex-start; gap: .55rem; position: relative; padding: .7rem .6rem .7rem .55rem; border-bottom: 1px solid #edf1ee; cursor: default; transition: background-color .12s; }
.wm-item .wm-check { margin-top: .5rem; opacity: 0; transition: opacity .12s; }
.wm-item:hover .wm-check, .wm-item.checked .wm-check, .has-selection .wm-item .wm-check, .wm-item .wm-check:focus-within { opacity: 1; }
.wm-item .wm-av { margin-top: .05rem; }
.wm-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .12rem; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.wm-item.active { background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.wm-item.checked { background: #eef6f2; }
.wm-item.unread .wm-from, .wm-item.unread .wm-subject { font-weight: 700; }
.wm-item .wm-clip { color: var(--muted); display: inline-flex; vertical-align: -2px; margin-right: .3rem; }
.wm-quick { position: absolute; right: .5rem; top: .45rem; display: flex; gap: .05rem; padding: .1rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(20, 32, 27, .12); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .12s, transform .12s; }
.wm-item:hover .wm-quick, .wm-item:focus-within .wm-quick { opacity: 1; transform: none; pointer-events: auto; }
.wm-item:hover .wm-date, .wm-item:hover .wm-dot { opacity: 0; }
.wm-quick .wm-icon-btn { width: 30px; height: 30px; }

.wm-bulk { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; padding: .4rem .5rem .4rem .75rem; margin: 0 .5rem .3rem; border-radius: 12px; background: var(--brand-soft); animation: wm-in .18s ease-out; }
.wm-bulk strong { font-size: .88rem; margin-right: .35rem; color: var(--brand); }
.wm-bulk .wm-tool { min-height: 32px; padding: .25rem .5rem; font-size: .82rem; }
.wm-bulk .wm-tool span { display: inline; }
.wm-bulk > .wm-icon-btn { margin-left: auto; }
.wm-confirm { margin: .3rem .6rem .5rem; padding: .7rem .85rem; border-radius: 12px; background: var(--bad-soft); animation: wm-in .18s ease-out; }
.wm-confirm p { margin: 0 0 .5rem; font-size: .9rem; }

.wm-section-label { font-size: .74rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin: .9rem .6rem .25rem; }
.wm-nav { display: flex; flex-direction: column; gap: .05rem; }
.wm-nav-apps { margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.wm-folder { align-items: center; gap: .6rem; padding: .48rem .6rem; position: relative; transition: background-color .12s, color .12s, transform .12s; }
.wm-folder > .ic { color: var(--muted); flex: none; transition: color .12s, transform .15s; }
.wm-folder > span:first-of-type { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-folder:hover { background: #eef2ef; }
.wm-folder:hover > .ic { transform: translateX(1px); color: var(--ink); }
.wm-folder.active { background: var(--brand-soft); color: var(--brand); }
.wm-folder.active > .ic { color: var(--brand); }
.wm-folder.active::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 3px; border-radius: 3px; background: var(--brand); }
.wm-count { font-size: .75rem; font-weight: 700; color: var(--brand); background: #fff; border: 1px solid #cfe3da; padding: .02rem .45rem; border-radius: 99px; min-width: 1.5rem; text-align: center; }
.wm-count.muted { color: var(--muted); border-color: var(--line); font-weight: 600; }
.wm-folder.active .wm-count { background: #fff; }
.wm-folder-new { color: var(--muted); font-size: .92rem; }
.wm-folder-new:hover { color: var(--brand); }
.wm-folder-row { display: flex; align-items: center; gap: .1rem; border-radius: 8px; position: relative; }
.wm-folder-row .wm-folder { flex: 1; min-width: 0; }
.wm-folder-row .wm-folder-more { opacity: 0; transition: opacity .12s; color: var(--muted); }
.wm-folder-row:hover .wm-folder-more, .wm-folder-row:focus-within .wm-folder-more, .wm-folder-row .wm-folder-more[aria-expanded="true"] { opacity: 1; }
.wm-folder-edit { display: flex; align-items: center; gap: .3rem; padding: .25rem .3rem .25rem .6rem; border-radius: 8px; background: #fff; border: 1px solid var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); animation: wm-in .15s; }
.wm-folder-edit > .ic { color: var(--brand); flex: none; }
.wm-folder-edit input { flex: 1; min-width: 0; border: 0; padding: .3rem 0; background: none; box-shadow: none; font-size: .92rem; }
.wm-folder-edit input:focus { outline: none; }
.wm-folder[draggable], .wm-folder-row { -webkit-user-drag: none; }
.wm-nav-foot { margin-top: auto; padding: .9rem .6rem 0; display: flex; gap: .9rem; flex-wrap: wrap; font-size: .8rem; }
.wm-nav-foot a, .wm-nav-foot .wm-link { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; }
.wm-nav-foot a:hover, .wm-nav-foot .wm-link:hover { color: var(--brand); }
.wm-compose-side { position: relative; overflow: hidden; min-height: 44px; border-radius: 12px; margin-bottom: 1rem; }
.wm-compose-side::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: translateX(-130%) skewX(-18deg); }
.wm-compose-side:hover::after { animation: wm-sheen .7s ease-out; }

.wm-menu button.danger { color: var(--bad); }
.wm-menu button.danger .ic { color: var(--bad); }
.wm-menu-left { left: 0; right: auto; }
.wm-menu-move { min-width: 240px; max-height: 60vh; overflow-y: auto; }
.wm-menu-title { padding: .4rem .75rem .2rem; font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.wm-menu-new { border-top: 1px solid var(--line) !important; margin-top: .2rem; border-radius: 0 0 8px 8px !important; color: var(--brand) !important; }
.wm-menu { animation: wm-in .14s ease-out; }
.wm-menu button .ic { transition: transform .15s; }
.wm-menu button:hover .ic { transform: scale(1.12); }
.wm-only-m-flex { display: none !important; }

/* Reading pane */
.wm-reader { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.wm-reader > .wm-read, .wm-reader > .wm-settings, .wm-reader > .wm-people, .wm-reader > .wm-empty-reader, .wm-reader > .wm-cfields, .wm-reader > .wm-body, .wm-reader > .wm-attach, .wm-reader > .wm-chips, .wm-reader > .wm-send-row, .wm-reader > .alert { margin-left: 1.25rem; margin-right: 1.25rem; }
.wm-reader > .wm-bar { margin: 0; padding: .55rem 1rem; }
.wm-reader > .wm-empty-reader { flex: 1; }
.wm-read { display: flex; flex-direction: column; min-height: 100%; animation: wm-in .22s ease-out; margin: 0 !important; }
.wm-read > .wm-rbar { position: sticky; top: 0; z-index: 12; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin: 0; padding: .5rem 1rem; border-bottom: 1px solid var(--line); }
.wm-read > :not(.wm-rbar) { margin-left: 1.5rem; margin-right: 1.5rem; }
.wm-tool { transition: background-color .15s, color .15s, transform .08s; }
.wm-tool .ic { transition: transform .15s, color .15s; }
.wm-tool:hover .ic { transform: translateY(-1px) scale(1.08); }
.wm-tool:active { transform: scale(.96); }
.wm-tool.primary { background: var(--brand); color: #fff; padding-right: .85rem; box-shadow: 0 1px 2px rgba(15, 107, 87, .25); }
.wm-tool.primary .ic { color: #fff; }
.wm-tool.primary:hover { background: #0c5a49; }
.wm-tool-sep { width: 1px; height: 22px; background: var(--line); margin: 0 .3rem; }
.wm-read-title { margin-top: 1.1rem; }
.wm-read-subject { font-size: 1.5rem; margin: 0 0 .35rem; line-height: 1.25; }
.wm-read-meta { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; font-size: .82rem; margin-bottom: .9rem; }
.wm-replybar { display: none; }
.wm-ai { margin-bottom: 1rem; }
.wm-replies { margin-top: .5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.wm-chip { display: inline-flex; align-items: center; gap: .35rem; border-radius: 99px; transition: border-color .15s, background-color .15s, transform .08s; }
.wm-chip:hover { background: var(--brand-soft); }
.wm-chip:active { transform: scale(.97); }

.wm-thread { display: flex; flex-direction: column; gap: .7rem; padding-bottom: .5rem; }
.wm-msg { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; background: #fff; transition: box-shadow .15s, border-color .15s; animation: wm-in .22s ease-out; }
.wm-msg.last { box-shadow: 0 6px 22px rgba(20, 32, 27, .06); }
.wm-msg.collapsed { padding: .6rem 1.15rem; background: #fbfcfb; cursor: pointer; }
.wm-msg.collapsed:hover { border-color: #b9cfc6; background: #fff; }
.wm-msg-head { display: flex; gap: .8rem; align-items: flex-start; }
.wm-msg-head[role="button"] { cursor: pointer; border-radius: 8px; }
.wm-msg-head .wm-av { width: 42px; height: 42px; font-size: .9rem; }
.wm-msg.collapsed .wm-msg-head .wm-av { width: 32px; height: 32px; font-size: .75rem; }
.wm-msg-who { flex: 1; min-width: 0; }
.wm-msg-line { display: flex; justify-content: space-between; align-items: baseline; gap: .2rem .6rem; flex-wrap: wrap; }
.wm-msg-line strong { font-size: 1rem; }
.wm-msg-line time { font-size: .8rem; color: var(--muted); }
.wm-msg-snip { font-size: .85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-msg-addr { font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.wm-msg-to { font-size: .82rem; color: var(--muted); margin-top: .15rem; overflow-wrap: anywhere; display: flex; gap: .4rem; flex-wrap: wrap; align-items: baseline; }
.wm-msg-to .wm-link { font-size: .8rem; }
.wm-msg-clip { color: var(--muted); flex: none; margin-top: .3rem; }
.wm-msg-chev { color: var(--muted); flex: none; margin-top: .25rem; transition: transform .2s; }
.wm-msg.collapsed .wm-msg-chev { transform: rotate(-90deg); }
.wm-headers { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; margin: .5rem 0 0; padding: .6rem .8rem; border-radius: 10px; background: #f6f8f7; font-size: .82rem; animation: wm-in .15s; }
.wm-headers dt { color: var(--muted); font-weight: 600; }
.wm-headers dd { margin: 0; overflow-wrap: anywhere; }
.wm-headers .mono { font-family: var(--mono); font-size: .76rem; }
.wm-msg .wm-text, .wm-msg .wm-html { margin-top: 1rem; font-size: .97rem; line-height: 1.6; }
.wm-files { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; align-items: center; }
.wm-filecard { display: flex; align-items: center; gap: .6rem; width: min(100%, 260px); padding: .45rem .55rem .45rem .45rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .12s; }
.wm-filecard:hover { border-color: var(--brand); box-shadow: 0 6px 18px rgba(20, 32, 27, .1); transform: translateY(-1px); }
.wm-filecard-ic { position: relative; flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: #eef2ef; color: #3b4842; }
.wm-filecard-ic small { position: absolute; bottom: 3px; right: 3px; font-size: .5rem; font-weight: 700; padding: 0 3px; border-radius: 3px; background: #fff; color: inherit; letter-spacing: .02em; }
.wm-filecard-ic.pdf { background: #fde9e6; color: #b3261e; }
.wm-filecard-ic.doc { background: #e3ecfb; color: #1f4e9c; }
.wm-filecard-ic.xls { background: #e3f1ec; color: #0f6b57; }
.wm-filecard-ic.ppt { background: #fdebdc; color: #b4480e; }
.wm-filecard-ic.img { background: #ece7fb; color: #5a3ea6; }
.wm-filecard-ic.zip { background: #f3f0e3; color: #7a6300; }
.wm-filecard-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wm-filecard-text strong { font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-filecard-text span { font-size: .76rem; color: var(--muted); }
.wm-filecard-dl { color: var(--muted); flex: none; transition: color .15s, transform .15s; }
.wm-filecard:hover .wm-filecard-dl { color: var(--brand); transform: translateY(2px); }
.wm-dl-all { font-size: .84rem; margin-left: .2rem; }

.wm-quickreply { display: flex; gap: .7rem; align-items: flex-start; margin: .6rem 0 1.4rem; }
.wm-quickreply > .wm-av { margin-top: .35rem; }
.wm-quickreply-box { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: .55rem .8rem .6rem; transition: border-color .15s, box-shadow .15s; }
.wm-quickreply.open .wm-quickreply-box, .wm-quickreply-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.wm-quickreply-to { display: flex; justify-content: space-between; gap: .5rem; font-size: .8rem; color: var(--muted); margin-bottom: .2rem; }
.wm-quickreply-to .wm-link { font-size: .8rem; }
.wm-quickreply textarea { border: 0; padding: .3rem 0; background: none; box-shadow: none; resize: vertical; min-height: 0; font-size: .95rem; line-height: 1.5; transition: height .15s; }
.wm-quickreply textarea:focus { outline: none; }
.wm-quickreply-actions { display: none; gap: .5rem; align-items: center; margin-top: .4rem; }
.wm-quickreply.open .wm-quickreply-actions, .wm-quickreply-box:focus-within .wm-quickreply-actions { display: flex; }

.wm-empty-reader { justify-content: center; align-content: center; gap: .2rem; }
.wm-empty-art { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #e3f1ec, #f6f7f4); color: var(--brand); margin-bottom: .6rem; box-shadow: inset 0 0 0 1px #d4e6de; }
.wm-empty-art .ic { animation: wm-in .4s ease-out; }
.wm-empty-reader p { margin: .1rem 0; font-size: .95rem; }

/* Settings and People in the reading pane */
.wm-pane-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin: .2rem 0 .4rem; }
.wm-pane-head h2, .wm-pane-head h3 { margin: 0; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); }
.wm-pane-head h2 .ic, .wm-pane-head h3 .ic { color: var(--brand); }
.wm-settings { padding-top: 1rem; overflow-y: auto; }
.wm-settings > h2 { display: none; }
.wm-settings h3 { display: flex; align-items: center; gap: .45rem; }
.wm-settings h3 .ic { color: var(--brand); }
.wm-settings-nav { display: flex; flex-wrap: wrap; gap: .35rem; margin: .3rem 0 .8rem; position: sticky; top: 0; background: #fff; padding: .4rem 0; z-index: 2; }
.wm-settings-nav a { font-size: .8rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: .25rem .65rem; border-radius: 99px; border: 1px solid var(--line); background: #fff; transition: color .15s, border-color .15s; }
.wm-settings-nav a:hover { color: var(--brand); border-color: var(--brand); }
.wm-settings section { scroll-margin-top: 60px; }

.wm-people { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 0; flex: 1; min-height: 0; }
.wm-people-list { border-right: 1px solid var(--line); padding: 1rem .9rem 1rem 0; overflow-y: auto; }
.wm-people-list .wm-search { margin: .4rem 0 .5rem; }
.wm-people-tabs { display: flex; gap: .25rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line); }
.wm-people-tabs button { border: 0; background: none; font: inherit; font-size: .88rem; font-weight: 600; color: var(--muted); padding: .45rem .5rem; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; display: inline-flex; gap: .35rem; align-items: baseline; }
.wm-people-tabs button small { font-weight: 500; font-size: .74rem; color: #8a978f; }
.wm-people-tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }
.wm-letter { font-size: .74rem; font-weight: 700; color: var(--brand); padding: .6rem .5rem .2rem; letter-spacing: .04em; }
.wm-person { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .45rem .5rem; border: 0; border-radius: 10px; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .12s; }
.wm-person:hover { background: #eef2ef; }
.wm-person.active { background: var(--brand-soft); }
.wm-person-text { min-width: 0; display: flex; flex-direction: column; }
.wm-person-text strong, .wm-person-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-person-text span { font-size: .82rem; color: var(--muted); }
.wm-people-detail { padding: 1.2rem 0 1rem 1.4rem; overflow-y: auto; display: flex; flex-direction: column; }
.wm-person-card { animation: wm-in .22s ease-out; max-width: 640px; }
.wm-person-hero { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.wm-person-hero h3 { margin: 0; font-family: var(--display); font-size: 1.4rem; letter-spacing: -.015em; }
.wm-person-hero p { margin: .15rem 0 0; }
.wm-av-xl { width: 72px; height: 72px; font-size: 1.5rem; box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px hsl(var(--h) 38% 72%); }
.wm-person-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.wm-person-facts { margin: 0; display: grid; gap: .3rem; }
.wm-person-facts > div { display: grid; grid-template-columns: 9rem 1fr; gap: .6rem; padding: .55rem .7rem; border-radius: 10px; background: #f8faf9; align-items: center; }
.wm-person-facts dt { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .86rem; font-weight: 600; }
.wm-person-facts dt .ic { color: var(--brand); }
.wm-person-facts dd { margin: 0; overflow-wrap: anywhere; }
.wm-person-card h4 { margin: 1.2rem 0 .4rem; font-size: .95rem; }
.wm-recent { list-style: none; padding: 0; margin: 0; }
.wm-recent li { border-top: 1px solid var(--line); }
.wm-recent .wm-link { width: 100%; justify-content: space-between; padding: .5rem .2rem; text-decoration: none; color: var(--ink); }
.wm-recent .wm-link:hover strong { color: var(--brand); }
.wm-recent span { color: var(--muted); font-size: .8rem; }

/* Help panel and dialogs */
.wm-help { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100vw); background: #fff; box-shadow: -20px 0 60px rgba(20, 32, 27, .2); padding: 1rem 1.3rem 2rem; overflow-y: auto; animation: wm-slide-right .22s cubic-bezier(.2, .8, .2, 1); }
.wm-help h2 { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); }
.wm-help h2 .ic { color: var(--brand); }
.wm-help section { margin-top: 1.1rem; }
.wm-help h3 { font-size: 1rem; margin: 0 0 .5rem; display: flex; align-items: center; gap: .4rem; }
.wm-help-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.wm-help-list li { display: flex; gap: .7rem; font-size: .9rem; line-height: 1.5; }
.wm-help-list li > .ic { flex: none; color: var(--brand); margin-top: .2rem; }
.wm-keys { display: grid; grid-template-columns: auto 1fr; gap: .4rem .9rem; margin: 0; font-size: .9rem; align-items: center; }
.wm-keys dt { white-space: nowrap; }
.wm-keys dd { margin: 0; }
.wm-dialog { position: fixed; z-index: 62; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100vw - 32px)); background: #fff; border-radius: 18px; padding: 1.3rem 1.4rem; box-shadow: 0 30px 80px rgba(20, 32, 27, .35); animation: wm-toast .2s ease-out; }
.wm-dialog h2 { margin: 0 0 .5rem; font-family: var(--display); font-size: 1.25rem; overflow-wrap: anywhere; }
.wm-dialog p { margin: 0 0 1rem; color: #3b4842; }
.wm-acc-text small { font-size: .76rem; color: #8a978f; }
.wm-cc-toggle { font-size: .82rem; margin-left: .5rem; flex: none; }

/* Busy state on primary buttons */
.btn:disabled .ic { animation: wm-spin 1s linear infinite; }
.btn.btn-ghost:disabled .ic, .btn-danger:disabled .ic { animation: none; }

@media (min-width: 901px) {
    main.page:has(.wm-shell) { max-width: none; padding: .6rem clamp(12px, 1.6vw, 24px) 1rem; }
    body:has(.wm-shell) .topbar, body:has(.wm-shell) .site-footer { display: none; }
    .wm { grid-template-columns: 236px minmax(300px, 390px) minmax(0, 1fr); gap: .8rem; align-items: stretch; height: calc(100vh - 118px); min-height: 520px; }
    .wm.wm-wide { grid-template-columns: 236px minmax(0, 1fr); }
    .wm.wm-wide .wm-list { display: none; }
    .wm-folders { display: flex; flex-direction: column; overflow-y: auto; padding: .8rem .6rem; }
    .wm-list { max-height: none; height: 100%; }
    .wm-reader { height: 100%; overflow-y: auto; min-height: 0; }
    .wm-calpane { padding: 1rem 1.2rem; }
    .wm-mhead, .wm-fab, .wm-bnav, .wm-back { display: none !important; }
    .wm-shell { padding-bottom: 0; }
}
@media (min-width: 901px) and (max-width: 1560px) {
    .wm-tool:not(.primary):not(.wm-tool-d) span { display: none; }
    .wm-tool:not(.primary):not(.wm-tool-d) { padding: .4rem .55rem; }
    .wm-bulk .wm-tool span { display: inline; }
}
@media (min-width: 901px) and (max-width: 1240px) {
    .wm { grid-template-columns: 200px minmax(260px, 320px) minmax(0, 1fr); }
    .wm-top { grid-template-columns: minmax(160px, 1fr) minmax(220px, 480px) minmax(160px, 1fr); }
    .wm-tool.primary span { display: inline; }
}
@media print {
    .suite-bar, .topbar, .site-footer, .wm-top, .wm-folders, .wm-list, .wm-rbar, .wm-replybar, .wm-ai, .wm-quickreply, .wm-bnav, .wm-fab, .wm-toast, .wm-read-meta, .alert { display: none !important; }
    main.page { max-width: none; padding: 0; }
    .wm { display: block; height: auto; }
    .wm-reader { border: 0; height: auto; overflow: visible; }
    .wm-msg { break-inside: avoid; box-shadow: none; }
    .wm-msg.collapsed .wm-msg-snip { display: none; }
}


/* ---------- Calendar: day / week / month ---------- */
.cal { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.cal-bar { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .7rem; }
.cal-nav { display: flex; align-items: center; gap: .25rem; }
.cal-nav h2 { margin: 0 0 0 .5rem; font-family: var(--display); font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; }
.cal-views { display: inline-flex; gap: .15rem; padding: .18rem; border-radius: 99px; background: #eef2ef; }
.cal-views button { border: 0; background: none; padding: .3rem .8rem; border-radius: 99px; font: inherit; font-size: .84rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s; }
.cal-views button.on { background: #fff; color: var(--brand); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.cal-actions { align-items: center; }
.cal-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1rem; align-items: stretch; flex: 1; min-height: 0; }
.cal-body.with-panel { grid-template-columns: 220px minmax(0, 1fr) 340px; }
.cal-side { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.cal-mini { border: 1px solid var(--line); border-radius: 12px; padding: .6rem .6rem .5rem; background: #fff; }
.cal-mini-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .3rem; }
.cal-mini-head strong { font-size: .86rem; }
.cal-mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }
.cal-mini-dow { text-align: center; font-size: .66rem; font-weight: 700; color: var(--muted); padding: .2rem 0; }
.cal-mini-day { position: relative; border: 0; background: none; font: inherit; font-size: .78rem; height: 27px; border-radius: 7px; cursor: pointer; color: var(--ink); transition: background-color .12s; }
.cal-mini-day:hover { background: #eef2ef; }
.cal-mini-day.other { color: #b0bbb5; }
.cal-mini-day.inview { background: var(--brand-soft); }
.cal-mini-day.today { background: var(--brand); color: #fff; font-weight: 700; }
.cal-mini-day.busy::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: .7; }
.cal-upcoming h3 { font-size: .9rem; margin: 0 0 .4rem; }
.cal-upcoming ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.cal-upcoming button { display: flex; gap: .6rem; align-items: center; width: 100%; padding: .4rem .45rem; border: 0; border-radius: 10px; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .12s; }
.cal-upcoming button:hover { background: #eef2ef; }
.cal-up-date { flex: none; width: 38px; height: 40px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.cal-up-date strong { font-size: 1rem; }
.cal-up-date small { font-size: .6rem; text-transform: uppercase; letter-spacing: .04em; }
.cal-up-text { min-width: 0; display: flex; flex-direction: column; }
.cal-up-text strong, .cal-up-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .84rem; }
.cal-up-text span { color: var(--muted); font-size: .76rem; }
.cal-side .note { margin: auto 0 0; font-size: .76rem; }

.cal-main { display: flex; flex-direction: column; min-height: 0; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.cal-grid-head, .cal-allday { display: grid; grid-template-columns: 56px repeat(var(--cols), minmax(0, 1fr)); }
.cal-grid-head { border-bottom: 1px solid var(--line); }
.cal-gutter-head { display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 .4rem .3rem 0; }
.cal-gutter-head small { font-size: .66rem; color: var(--muted); }
.cal-day-head { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .5rem .2rem .45rem; border: 0; border-left: 1px solid #edf1ee; background: none; font: inherit; cursor: pointer; color: var(--muted); transition: background-color .12s; min-height: 0; }
.cal-day-head span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cal-day-head strong { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 1.05rem; color: var(--ink); margin: 0; }
.cal-day-head:hover { background: #f4f7f5; }
.cal-day-head.today strong { background: var(--brand); color: #fff; }
.cal-allday { border-bottom: 1px solid var(--line); background: #fbfcfb; }
.cal-allday-cell { border-left: 1px solid #edf1ee; padding: .2rem .25rem; display: flex; flex-direction: column; gap: .15rem; min-height: 30px; }
.cal-grid { display: grid; grid-template-columns: 56px repeat(var(--cols), minmax(0, 1fr)); overflow-y: auto; flex: 1; min-height: 0; position: relative; scroll-behavior: smooth; }
.cal-gutter { position: relative; }
.cal-hour { height: 52px; position: relative; }
.cal-hour span { position: absolute; top: -.55em; right: .45rem; font-size: .68rem; color: var(--muted); }
.cal-col { position: relative; border-left: 1px solid #edf1ee; }
.cal-col.today { background: #fbfdfc; }
.cal-slot { display: block; width: 100%; height: 52px; border: 0; border-top: 1px solid #edf1ee; background: none; cursor: pointer; padding: 0; transition: background-color .12s; }
.cal-slot:hover { background: var(--brand-soft); }
.cal-event {
    position: absolute; left: 2px; right: 2px; overflow: hidden; text-align: left; border: 0; border-left: 3px solid var(--brand); border-radius: 7px; padding: .25rem .4rem;
    background: var(--brand-soft); color: var(--ink); font: inherit; font-size: .78rem; line-height: 1.25; cursor: pointer; display: flex; flex-direction: column; gap: .1rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset; transition: box-shadow .15s, transform .12s, filter .15s; min-height: 0;
}
.cal-event:hover { filter: brightness(.97); box-shadow: 0 6px 16px rgba(15, 107, 87, .18); z-index: 2; }
.cal-event.open { box-shadow: 0 0 0 2px var(--brand), 0 6px 16px rgba(15, 107, 87, .18); z-index: 3; }
.cal-event.pending { border-left-color: #E08E1B; background: var(--warn-soft); }
.cal-event.declined { opacity: .55; text-decoration: line-through; }
.cal-time { font-weight: 700; font-size: .7rem; color: var(--brand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-event.pending .cal-time { color: #8A5200; }
.cal-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-loc { color: var(--muted); font-size: .7rem; display: inline-flex; align-items: center; gap: .2rem; }
.cal-now { position: absolute; left: 0; right: 0; height: 2px; background: #d9382b; z-index: 4; pointer-events: none; }
.cal-now::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #d9382b; }

.cal-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: auto; grid-auto-rows: minmax(108px, 1fr); flex: 1; min-height: 0; overflow-y: auto; }
.cal-month-dow { grid-row: 1; padding: .45rem .5rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 1px solid var(--line); background: #fbfcfb; position: sticky; top: 0; z-index: 2; }
.cal-month-cell { position: relative; border-right: 1px solid #edf1ee; border-bottom: 1px solid #edf1ee; padding: .3rem .35rem 1.4rem; display: flex; flex-direction: column; gap: .15rem; min-width: 0; transition: background-color .12s; }
.cal-month-cell:nth-child(7n + 8) { border-right: 0; }
.cal-month-cell.other { background: #fafbfa; }
.cal-month-cell.other .cal-month-num { color: #b0bbb5; }
.cal-month-cell:hover { background: #f6f9f7; }
.cal-month-num { align-self: flex-start; border: 0; background: none; font: inherit; font-size: .82rem; font-weight: 600; color: var(--ink); padding: .1rem .4rem; border-radius: 99px; cursor: pointer; }
.cal-month-num:hover { background: var(--brand-soft); color: var(--brand); }
.cal-month-cell.today .cal-month-num { background: var(--brand); color: #fff; }
.cal-chip { display: flex; align-items: center; gap: .3rem; width: 100%; border: 0; border-left: 3px solid var(--brand); border-radius: 5px; background: var(--brand-soft); padding: .12rem .35rem; font: inherit; font-size: .74rem; color: var(--ink); text-align: left; cursor: pointer; min-width: 0; transition: filter .12s, transform .1s; }
.cal-chip > span:last-child { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.cal-chip-time { font-weight: 700; color: var(--brand); flex: none; }
.cal-chip:hover { filter: brightness(.96); }
.cal-chip.pending { border-left-color: #E08E1B; background: var(--warn-soft); }
.cal-chip.pending .cal-chip-time { color: #8A5200; }
.cal-chip.declined { opacity: .55; text-decoration: line-through; }
.cal-chip.allday { background: var(--brand); color: #fff; border-left-color: #0a4c3e; }
.cal-more { border: 0; background: none; font: inherit; font-size: .72rem; font-weight: 600; color: var(--brand); text-align: left; padding: .05rem .35rem; cursor: pointer; }
.cal-cell-add { position: absolute; right: .3rem; bottom: .3rem; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .12s, transform .12s; }
.cal-month-cell:hover .cal-cell-add, .cal-cell-add:focus-visible { opacity: 1; }
.cal-cell-add:hover { transform: scale(1.1); }

.cal-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; overflow-y: auto; min-height: 0; animation: wm-in .2s ease-out; position: static; }
.cal-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.cal-panel-head h3 { margin: 0 0 .4rem; font-family: var(--display); font-size: 1.15rem; overflow-wrap: anywhere; }
.cal-panel p { margin: .2rem 0 .5rem; }
.cal-desc { white-space: pre-wrap; background: #fbfcfa; border-radius: 8px; padding: .5rem .6rem; }
.cal-guests { list-style: none; padding: 0; margin: 0 0 .8rem; }
.cal-guests li { display: flex; justify-content: space-between; gap: .5rem; padding: .3rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.cal-share { margin: .6rem 0; }
.cal-share h3 { margin: 0; }
.cal-close { margin-left: .2rem; }

@media (max-width: 1240px) {
    .cal-body, .cal-body.with-panel { grid-template-columns: minmax(0, 1fr); }
    .cal-side { display: none; }
    .cal-body.with-panel .cal-main { display: none; }
}
@media (max-width: 900px) {
    .cal { height: auto; }
    .cal-bar { gap: .5rem; }
    .cal-nav h2 { font-size: 1rem; white-space: normal; }
    .cal-main { border: 0; border-radius: 0; }
    .cal-grid { max-height: 70vh; }
    .cal-grid-head, .cal-allday, .cal-grid { grid-template-columns: 40px repeat(var(--cols), minmax(0, 1fr)); }
    .cal-view-week .cal-day-head span { font-size: .6rem; }
    .cal-view-week .cal-event .cal-time { display: none; }
    .cal-month { grid-auto-rows: minmax(64px, auto); }
    .cal-month-cell { padding: .2rem .15rem .2rem; }
    .cal-chip > span:last-child { display: none; }
    .cal-chip { width: 8px; height: 8px; border-radius: 50%; padding: 0; border: 0; background: var(--brand); display: inline-block; margin: 1px; }
    .cal-month-cell { flex-direction: row; flex-wrap: wrap; align-content: flex-start; }
    .cal-month-num { width: 100%; }
    .cal-more, .cal-cell-add { display: none; }
    .cal-panel { position: fixed; inset: auto 0 0 0; z-index: 61; max-height: 86vh; border-radius: 22px 22px 0 0; box-shadow: 0 -16px 50px rgba(20, 32, 27, .3); animation: wm-rise .24s cubic-bezier(.2, .8, .2, 1); }
}

/* ---------- HTML mail, rich editor, swipe (all sizes) ---------- */
.wm-htmlframe { display: block; width: 100%; border: 0; margin-top: 1rem; min-height: 40px; background: transparent; }
.wm-imgbar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .9rem; padding: .5rem .75rem; border-radius: 10px; background: #f3f6f4; border: 1px solid var(--line); font-size: .82rem; color: #3b4842; }
.wm-imgbar > .ic { color: var(--muted); flex: none; }
.wm-imgbar span { flex: 1; min-width: 12rem; }
.wm-imgbar .wm-link { font-weight: 600; }
.wm-editor-wrap { margin-top: .7rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.wm-editor-wrap:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.wm-etools { display: flex; align-items: center; gap: .1rem; padding: .3rem .4rem; border-bottom: 1px solid var(--line); background: #fafbfa; overflow-x: auto; scrollbar-width: none; }
.wm-etools::-webkit-scrollbar { display: none; }
.wm-etools button { flex: none; width: 36px; height: 34px; display: inline-grid; place-items: center; border: 0; border-radius: 8px; background: none; color: #3b4842; cursor: pointer; transition: background-color .12s, color .12s, transform .08s; -webkit-tap-highlight-color: transparent; }
.wm-etools button:hover { background: #eef2ef; color: var(--brand); }
.wm-etools button:active { transform: scale(.92); }
.wm-etools-sep { width: 1px; height: 20px; background: var(--line); margin: 0 .3rem; flex: none; }
.wm-editor { margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-height: 240px; padding: .85rem 1rem; outline: none; line-height: 1.55; font-size: .97rem; overflow-wrap: anywhere; }
.wm-editor:empty::before, .wm-editor:has(> div:only-child > br:only-child)::before { content: attr(data-placeholder); color: #9aa8a1; position: absolute; pointer-events: none; }
.wm-editor-wrap { position: relative; }
.wm-editor blockquote { border-left: 3px solid #cfdcd5; margin: .5em 0; padding: .1em 0 .1em .8em; color: #4a5751; }
.wm-editor a { color: var(--brand); }
.wm-editor ul, .wm-editor ol { padding-left: 1.4em; margin: .3em 0; }
.wm-editor .wm-sig { margin-top: .4rem; }
.wm-item-body { display: flex; align-items: flex-start; gap: .55rem; flex: 1; min-width: 0; position: relative; }
.wm-swipe-bg { display: none; }
.wm-pull { display: none; }
/* ---------- Webmail on a phone ---------- */
@media (max-width: 900px) {
    .wm-top, .wm-compose-side, .wm-nav-dup, .wm-back-tab, .wm-section-label { display: none !important; }
    .wm-top, .wm-tool-d, .wm-quick, .wm-check, .wm-nav-foot, .wm-nav-apps, .wm-folder-more, .wm-settings-nav, .wm-help kbd { display: none !important; }
    .wm-only-m-flex { display: flex !important; }
    .wm-nav { display: contents; }
    .wm-folder-row { display: contents; }
    .wm-folder-edit { flex: none; min-width: 200px; border-radius: 999px; }
    .wm-folder-new { border-style: dashed; color: var(--muted); }
    .wm-list-head { display: none; }
    .wm-list-sub { padding: .4rem .7rem .2rem; border: 0; }
    .wm-list-sub .wm-filters { flex: 1; justify-content: space-around; }
    .wm-bulk { margin: 0 .6rem .3rem; }
    .wm-item-main { width: 100%; }
    .wm-read > :not(.wm-rbar) { margin-left: 0; margin-right: 0; }
    .wm-read > .wm-rbar { margin: 0 -1rem .2rem; }
    .wm-read-subject { font-size: 1.32rem; }
    .wm-read-meta { margin-bottom: .6rem; }
    .wm-msg { border: 0; border-radius: 0; padding: .9rem 0 .5rem; border-top: 1px solid var(--line); box-shadow: none !important; }
    .wm-msg.collapsed { padding: .6rem 0; background: none; }
    .wm-msg-head .wm-av { width: 38px; height: 38px; font-size: .82rem; }
    .wm-filecard { width: 100%; }
    .wm-quickreply { margin: .4rem 0 1rem; }
    .wm-quickreply > .wm-av { display: none; }
    .wm-people { display: block; }
    .wm-people-list { border: 0; padding: .4rem 0 0; }
    .wm-people.has-detail .wm-people-list { display: none; }
    .wm-people-detail { padding: .4rem 0 1rem; }
    .wm-person-facts > div { grid-template-columns: 1fr; gap: .15rem; }
    .wm-toast { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); max-width: none; }
    .wm-toast.wm-tip { bottom: calc(140px + env(safe-area-inset-bottom)); }
    .is-reading .wm-toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
    .wm-help { width: 100vw; }
    .wm-pane-head { padding: 0 .2rem; }
    .wm-settings { padding-top: .4rem; }
    .wm-settings > .wm-pane-head { display: none; }
    /* ---- glass: the phone's chrome floats over a soft gradient ---- */
    body:has(.wm-shell), body:has(.wm-signin) { background: radial-gradient(1200px 600px at -10% -10%, #d9efe6 0%, transparent 55%), radial-gradient(900px 500px at 110% 10%, #fdeccf 0%, transparent 50%), radial-gradient(900px 700px at 50% 110%, #e2ecf7 0%, transparent 55%), var(--bg); background-attachment: fixed; }
    .wm-shell { --glass: rgba(255, 255, 255, .62); --glass-strong: rgba(255, 255, 255, .78); --glass-line: rgba(255, 255, 255, .85); --glass-shadow: 0 10px 30px rgba(20, 32, 27, .10), inset 0 1px 0 rgba(255, 255, 255, .9); }
    .wm-mhead { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); border-bottom: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 1px 0 rgba(20, 32, 27, .04); margin: -.4rem -12px .45rem; padding: .6rem 12px .55rem; }
    .wm-folder { background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 4px 14px rgba(20, 32, 27, .07), inset 0 1px 0 rgba(255, 255, 255, .95); color: #1f2a25; font-weight: 600; }
    .wm-folder > .ic { color: var(--brand); }
    .wm-folder.active { background: linear-gradient(160deg, #15806a, var(--brand)); border-color: rgba(255, 255, 255, .35); color: #fff; box-shadow: 0 8px 20px rgba(15, 107, 87, .32), inset 0 1px 0 rgba(255, 255, 255, .35); }
    .wm-folder.active > .ic { color: #fff; }
    .wm-folder.active::before { display: none; }
    .wm-folder-new { border-style: dashed; border-color: rgba(15, 107, 87, .35); background: rgba(255, 255, 255, .35); color: var(--brand); }
    .wm-list, .wm-reader { background: var(--glass-strong); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); border-radius: 22px; }
    .wm-list .wm-search { background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 2px rgba(20, 32, 27, .06); }
    .wm-list .wm-search:focus-within { background: #fff; border-color: var(--brand); }
    .wm-filters { background: rgba(20, 32, 27, .06); }
    .wm-filters button.on { background: #fff; box-shadow: 0 2px 6px rgba(20, 32, 27, .12); }
    .wm-item { border-bottom-color: rgba(20, 32, 27, .06); background: transparent; }
    .wm-item .wm-av { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 2px 6px rgba(20, 32, 27, .08); }
    .wm-bnav { background: var(--glass); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%); border-top: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 -8px 30px rgba(20, 32, 27, .08); }
    .wm-bnav button.on .wm-bnav-ic { background: linear-gradient(160deg, rgba(15, 107, 87, .18), rgba(15, 107, 87, .08)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(15, 107, 87, .15); }
    .wm-fab { background: linear-gradient(160deg, #15806a, #0c5a49); border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 12px 30px rgba(15, 107, 87, .38), inset 0 1px 0 rgba(255, 255, 255, .35); position: fixed; overflow: hidden; }
    .wm-fab::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 55%); pointer-events: none; }
    .wm-replybar { background: var(--glass); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%); border-top: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 -8px 30px rgba(20, 32, 27, .10); }
    .wm-rb { background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 3px 10px rgba(20, 32, 27, .08), inset 0 1px 0 #fff; color: var(--brand); }
    .wm-rb.primary { background: linear-gradient(160deg, #15806a, var(--brand)); border-color: rgba(255, 255, 255, .35); color: #fff; box-shadow: 0 8px 20px rgba(15, 107, 87, .3), inset 0 1px 0 rgba(255, 255, 255, .35); }
    .wm-bar.wm-rbar, .wm-bar.wm-cbar { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); border-bottom: 1px solid rgba(255, 255, 255, .7); border-radius: 22px 22px 0 0; }
    .wm-tool { background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 2px 6px rgba(20, 32, 27, .06), inset 0 1px 0 #fff; width: 40px; height: 40px; margin-left: .25rem; }
    .wm-tool.danger .ic { color: var(--bad); }
    .wm-tool.on { background: #fdf0dc; }
    .wm-send-top { background: linear-gradient(160deg, #15806a, var(--brand)); border-color: rgba(255, 255, 255, .35); box-shadow: 0 6px 16px rgba(15, 107, 87, .3), inset 0 1px 0 rgba(255, 255, 255, .35); }
    .wm-chipbtn, .wm-chip { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .95); box-shadow: 0 2px 6px rgba(20, 32, 27, .06), inset 0 1px 0 #fff; }
    .wm-ai { background: rgba(255, 255, 255, .45); border-color: rgba(255, 255, 255, .9); }
    .wm-msg { background: transparent; }
    .wm-filecard { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .95); box-shadow: 0 2px 8px rgba(20, 32, 27, .06), inset 0 1px 0 #fff; }
    .wm-quickreply-box { background: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .95); box-shadow: 0 3px 10px rgba(20, 32, 27, .06), inset 0 1px 0 #fff; }
    .wm-sheet, .wm-help, .wm-dialog, .cal-panel { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); border: 1px solid rgba(255, 255, 255, .9); }
    .wm-sheet-ic { background: rgba(15, 107, 87, .1); box-shadow: inset 0 1px 0 #fff; }
    .wm-menu { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); border-color: rgba(255, 255, 255, .95); }
    .wm-toast { background: rgba(22, 35, 30, .86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, .12); }
    .wm-toast.wm-tip { background: rgba(15, 107, 87, .9); }
    .btn { border-radius: 12px; }
    .btn:not(.btn-ghost):not(.btn-danger) { background: linear-gradient(160deg, #15806a, var(--brand)); border-color: rgba(255, 255, 255, .3); box-shadow: 0 6px 16px rgba(15, 107, 87, .28), inset 0 1px 0 rgba(255, 255, 255, .35); }
    .btn-ghost { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .95); box-shadow: 0 2px 6px rgba(20, 32, 27, .06), inset 0 1px 0 #fff; }
    .wm-icon-btn { background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .85); box-shadow: inset 0 1px 0 #fff; }
    .wm-mhead .wm-icon-btn { width: 40px; height: 40px; }
    .wm-avatar-btn .wm-av { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 4px 12px rgba(20, 32, 27, .14) !important; }
    .wm-signin { background: rgba(255, 255, 255, .78) !important; -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); border: 1px solid rgba(255, 255, 255, .85) !important; box-shadow: 0 10px 30px rgba(20, 32, 27, .10), inset 0 1px 0 rgba(255, 255, 255, .9) !important; border-radius: 22px !important; }
    input, select, textarea { background: rgba(255, 255, 255, .75); }
    .wm-editor-wrap { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .95); }
    .wm-etools { background: rgba(255, 255, 255, .4); }
    .wm-bulk { gap: .25rem; padding: .4rem .5rem; }
    .wm-bulk strong { flex: 1; font-size: .85rem; }
    .wm-bulk .wm-tool { width: 38px; height: 38px; padding: 0; margin: 0; min-height: 0; }
    .wm-bulk .wm-tool span { display: none; }
    .wm-bulk > .wm-icon-btn { margin-left: 0; }
    .wm-toast { z-index: 60; }
    .wm-editor { min-height: 36vh; }
    .wm-empty-art { background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 6px 18px rgba(20, 32, 27, .08); }

    /* ---- swipe to archive / delete, long-press select, pull to refresh ---- */
    .wm-item { position: relative; overflow: hidden; padding: 0; touch-action: pan-y; }
    .wm-item-body { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: .8rem; padding: .85rem .95rem; background: rgba(255, 255, 255, .001); width: 100%; }
    .wm-item.checked .wm-item-body { background: rgba(15, 107, 87, .08); }
    .wm-swipe-bg { position: absolute; inset: 0; display: flex; align-items: center; gap: .4rem; padding: 0 1.2rem; color: #fff; font-weight: 700; font-size: .78rem; opacity: 0; transition: opacity .15s; }
    .wm-swipe-bg.left { justify-content: flex-start; background: linear-gradient(90deg, #0f6b57, #15806a); }
    .wm-swipe-bg.right { justify-content: flex-end; background: linear-gradient(270deg, #c6342b, #d9382b); }
    .wm-item.swiping-left .wm-swipe-bg.left, .wm-item.swiping-right .wm-swipe-bg.right { opacity: 1; }
    .wm-swipe-bg .ic { transition: transform .15s; }
    .wm-item.swipe-commit .wm-swipe-bg .ic { transform: scale(1.25); }
    .wm-item .wm-check { display: none !important; }
    .has-selection .wm-item .wm-check, .wm-item.checked .wm-check { display: inline-grid !important; opacity: 1; margin-top: .6rem; }
    .wm-pull { display: grid; place-items: center; height: 0; overflow: hidden; opacity: 0; color: var(--brand); transition: height .2s, opacity .2s; }
    .wm-pull .ic { transition: transform .2s; }
    .wm-pull.ready .ic { transform: rotate(180deg); }
    .wm-pull.busy .ic { animation: wm-spin .8s linear infinite; }
    .wm-dot { right: 1rem; top: 2.5rem; }
    .wm-quick { display: none; }


    .wm-shell { padding-bottom: 92px; }
    .wm-shell.is-reading { padding-bottom: 86px; }

    .wm-mhead {
        display: flex; align-items: center; gap: .75rem; position: sticky; top: 0; z-index: 20;
        margin: -.4rem -4px .35rem; padding: .55rem 4px .5rem; background: rgba(246, 247, 244, .94);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    }
    .wm-avatar-btn { position: relative; flex: none; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .wm-avatar-btn .wm-av { width: 42px; height: 42px; font-size: .92rem; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px hsl(var(--h) 38% 72%); }
    .wm-avatar-btn:focus-visible { outline: 3px solid rgba(15, 107, 87, .35); outline-offset: 3px; }
    .wm-av-count {
        position: absolute; right: -5px; bottom: -4px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 99px;
        display: grid; place-items: center; background: var(--saffron); color: #3a2400; font-size: .68rem; font-weight: 700; border: 2px solid var(--bg);
    }
    .wm-mhead-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    .wm-mhead-title strong { font-family: var(--display); font-size: 1.3rem; line-height: 1.15; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .wm-mhead-title span { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    .wm { gap: .6rem; grid-template-columns: minmax(0, 1fr); }
    .wm-list, .wm-reader { min-width: 0; }
    .wm-folders {
        display: flex; gap: .45rem; overflow-x: auto; padding: .1rem 2px .35rem; margin: 0 -2px; background: none; border: 0; border-radius: 0;
        scrollbar-width: none; scroll-snap-type: x proximity;
    }
    .wm-folders::-webkit-scrollbar { display: none; }
    .wm-folder {
        flex: none; align-items: center; gap: .45rem; width: auto; min-height: 38px; padding: .4rem .95rem; white-space: nowrap;
        border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9rem; font-weight: 500; scroll-snap-align: start;
    }
    .wm-folder.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
    .wm-folder .badge { background: var(--brand-soft); color: var(--brand); font-size: .72rem; padding: .02rem .45rem; border-radius: 99px; line-height: 1.4; }
    .wm-folder.active .badge { background: rgba(255, 255, 255, .22); color: #fff; }

    .wm-list { padding: .35rem 0 .2rem; border-radius: 18px; border-color: #e6ebe7; }
    .wm-list .wm-search { display: none; margin: .35rem .7rem .3rem; border-radius: 999px; min-height: 46px; background: #f3f6f4; border-color: transparent; animation: wm-in .18s ease-out; }
    .show-search .wm-list .wm-search { display: flex; }
    .wm-search-close { flex: none; }
    .wm-list .wm-search:focus-within { background: #fff; }
    .wm-list .wm-search .btn { display: none; }
    .wm-item { padding: .85rem .95rem; border-bottom-color: #edf1ee; gap: .8rem; }
    .wm-item:last-of-type { border-bottom: 0; }
    .wm-item.active { background: none; }
    .wm-item:active { background: #f1f5f3; }
    .wm-item .wm-av { width: 44px; height: 44px; font-size: .92rem; }
    .wm-from { font-size: 1rem; }
    .wm-subject { font-size: .93rem; }
    .wm-dot { right: 1rem; top: 2.5rem; }

    .wm-reader { padding: 0 1rem 1rem; border-radius: 18px; border-color: #e6ebe7; min-height: auto; }
    .wm-bar.wm-rbar, .wm-bar.wm-cbar {
        position: sticky; top: 0; z-index: 15; margin: 0 -1rem .2rem; padding: .4rem .5rem; background: rgba(255, 255, 255, .96);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); border-radius: 18px 18px 0 0;
    }
    .wm-only-m, .wm-icon-btn.wm-only-m, .wm-search-close { display: inline-grid; }
    .btn.wm-only-m { display: inline-flex; }
    .wm-tools { gap: 0; flex-wrap: nowrap; }
    .wm-tool { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
    .wm-tool span { display: none; }
    .wm-tool .ic { color: #3b4842; }
    .wm-read-subject { font-size: 1.32rem; margin-top: .8rem; }
    .wm-replybar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; flex-wrap: nowrap; gap: .5rem;
        padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 22px rgba(20, 32, 27, .07);
    }
    .wm-rb { flex: 1; min-height: 48px; padding: .4rem .4rem; font-size: .92rem; border-radius: 14px; }
    .wm-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .wm-chips::-webkit-scrollbar { display: none; }
    .wm-ai { margin: 0 -.2rem .9rem; }
    .wm-msg { padding: 1rem 0 .6rem; }
    .wm-msg .wm-text, .wm-msg .wm-html { font-size: 1rem; line-height: 1.6; }

    .wm-cbar h2 { font-size: 1.05rem; }
    .wm-cbar .wm-icon-btn { margin-left: 0; }
    .wm-send-top { display: inline-flex; min-height: 40px; padding: .4rem 1.05rem; border-radius: 999px; }
    .wm-send-bottom { display: none; }
    .wm-cfields { border: 0; border-radius: 0; margin: 0 -1rem; }
    .wm-field { padding: .05rem 1rem; }
    .wm-body { border: 0; border-radius: 0; padding: .9rem 0; min-height: 38vh; margin: 0; font-size: 1rem; }
    .wm-body:focus { box-shadow: none; }
    .wm-body { resize: none; }
    .wm-settings > h2 { display: none; }
    .wm-reader > .wm-back-tab + * { margin-top: .9rem; }
    .wm-attach { border-top: 1px solid var(--line); padding-top: .7rem; }
    .wm-send-row { gap: .5rem; }
    .wm-schedule { flex: 1 1 100%; min-width: 0; }
    .wm-schedule input { flex: 1; min-width: 0; }

    .wm-bnav {
        display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        padding: .3rem .4rem calc(.35rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    }
    .wm-bnav button {
        display: flex; flex-direction: column; align-items: center; gap: .12rem; min-height: 56px; padding: .25rem 0 .1rem; border: 0;
        background: none; font: inherit; font-size: .72rem; font-weight: 600; color: var(--muted); cursor: pointer; -webkit-tap-highlight-color: transparent;
    }
    .wm-bnav-ic { position: relative; display: grid; place-items: center; width: 60px; height: 30px; border-radius: 99px; transition: background-color .2s; }
    .wm-bnav button.on { color: var(--brand); }
    .wm-bnav button.on .wm-bnav-ic { background: var(--brand-soft); }
    .wm-bnav-badge {
        position: absolute; top: -4px; right: 7px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center;
        background: var(--saffron); color: #3a2400; font-size: .66rem; font-weight: 700; border: 2px solid #fff; line-height: 1;
    }
    .wm-fab {
        display: inline-flex; align-items: center; gap: .5rem; position: fixed; right: 16px; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 41;
        height: 56px; padding: 0 1.35rem 0 1.15rem; border: 0; border-radius: 18px; background: var(--brand); color: #fff;
        font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent;
        box-shadow: 0 10px 26px rgba(15, 107, 87, .34), 0 2px 6px rgba(15, 107, 87, .25); transition: transform .1s, background-color .15s;
    }
    .wm-fab:hover { background: #0c5a49; }
    .wm-fab:active { transform: scale(.97); }
    /* Typing (search, a form field): the keyboard needs the room. */
    .wm-shell:has(input:focus, textarea:focus, select:focus) .wm-bnav,
    .wm-shell:has(input:focus, textarea:focus, select:focus) .wm-fab { display: none; }

    .wm-sheet {
        top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 86vh; border-radius: 22px 22px 0 0;
        padding: .45rem 1rem calc(1rem + env(safe-area-inset-bottom)); animation: wm-rise .24s cubic-bezier(.2, .8, .2, 1);
    }
    .wm-sheet-grip { display: block; width: 40px; height: 4px; border-radius: 99px; background: #d3dcd8; margin: .15rem auto .55rem; }
}
@media (prefers-reduced-motion: reduce) {
    .wm-sheet, .wm-sheet-scrim { animation: none; }
    .btn, .wm-fab, .wm-rb { transition: none; }
}

/* Inside the app: a little tighter to the screen edges */
.in-app main.page { padding: .4rem 12px 1rem; }
.in-app .wm-signin { margin: 1rem auto !important; }
