:root {
    --are-bg: #f6f8ff;
    --are-surface: #ffffff;
    --are-surface-soft: #f9fbff;
    --are-border: #e7ecf7;
    --are-text: #172033;
    --are-muted: #6b7893;
    --are-muted-2: #93a0b8;
    --are-blue: #2563eb;
    --are-blue-soft: #eaf1ff;
    --are-purple: #7c3aed;
    --are-purple-soft: #f1eafd;
    --are-green: #10b981;
    --are-green-soft: #e8fbf4;
    --are-amber: #f59e0b;
    --are-amber-soft: #fff6dd;
    --are-rose: #f43f5e;
    --are-rose-soft: #fff0f3;
    --are-shadow: 0 18px 50px rgba(30, 41, 59, 0.08);
    --are-shadow-sm: 0 10px 24px rgba(30, 41, 59, 0.07);
    --are-radius: 24px;
    --are-radius-sm: 16px;
    --are-sidebar-width: 248px;
    --are-header-height: 74px;
    --are-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --are-ink: var(--are-text);
    --are-shadow-soft: var(--are-shadow-sm);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--are-bg); }
body {
    min-height: 100%;
    margin: 0;
    font-family: var(--are-font);
    color: var(--are-text);
    background:
        radial-gradient(circle at 20% 10%, rgba(37, 99, 235, 0.10), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(124, 58, 237, 0.11), transparent 24%),
        var(--are-bg);
}
a { color: var(--are-blue); text-decoration: none; }
a:hover { text-decoration: none; }
button, input { font: inherit; }

.are-app-shell { min-height: 100vh; }
.are-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--are-sidebar-width);
    height: var(--are-header-height);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 30px;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(231, 236, 247, 0.9);
    backdrop-filter: blur(18px);
    z-index: 20;
}
.are-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--are-sidebar-width);
    padding: 22px 18px;
    background: rgba(255, 255, 255, 0.92);
    border-right: 1px solid rgba(231, 236, 247, 0.95);
    display: flex;
    flex-direction: column;
    z-index: 30;
    backdrop-filter: blur(18px);
}
.are-main {
    margin-left: var(--are-sidebar-width);
    padding: calc(var(--are-header-height) + 34px) 34px 44px;
    min-height: 100vh;
}
.are-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    margin-bottom: 28px;
}
.are-brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--are-blue), var(--are-purple));
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}
.are-brand strong { display: block; font-size: 13px; letter-spacing: -0.02em; }
.are-brand span { display: block; color: var(--are-muted); font-size: 12px; margin-top: 2px; }
.are-nav { display: grid; gap: 6px; }
.are-nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    color: #5c6880;
    font-weight: 700;
    font-size: 14px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.are-nav-link:hover { background: var(--are-surface-soft); color: var(--are-blue); }
.are-nav-link.is-active {
    color: var(--are-blue);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.08));
}
.are-nav-link.is-disabled {
    opacity: .56;
    cursor: not-allowed;
}
.are-nav-link small {
    margin-left: auto;
    font-size: 10px;
    color: var(--are-muted-2);
    background: #f1f5fb;
    padding: 3px 7px;
    border-radius: 999px;
}
.are-nav-icon {
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}
.are-nav-icon svg, .are-stat-icon svg { width: 20px; height: 20px; fill: currentColor; }
.are-sidebar-spacer { flex: 1; }
.are-sidebar-card {
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(145deg, #f7f5ff, #eef5ff);
    border: 1px solid #e5e9ff;
    box-shadow: var(--are-shadow-sm);
}
.are-sidebar-card-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #fff; margin-bottom: 10px; }
.are-sidebar-card strong { display: block; font-size: 13px; }
.are-sidebar-card p { margin: 7px 0 12px; color: var(--are-muted); font-size: 12px; line-height: 1.45; }
.are-sidebar-card a { font-weight: 800; font-size: 12px; }
.are-help-link { color: var(--are-muted); margin: 16px 8px 0; font-size: 13px; font-weight: 700; }

.are-search {
    width: min(440px, 100%);
    height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    background: var(--are-surface-soft);
    border: 1px solid var(--are-border);
    border-radius: 999px;
    color: var(--are-muted-2);
}
.are-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--are-text);
}
.are-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.are-view-switch {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid var(--are-border);
    border-radius: 999px;
    background: #fff;
    color: var(--are-text);
    font-size: 13px;
    font-weight: 800;
}
.are-icon-button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--are-border);
    background: #fff;
    border-radius: 999px;
    cursor: pointer;
}
.are-user-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 10px 5px 5px;
    border: 1px solid var(--are-border);
    background: #fff;
    border-radius: 999px;
}
.are-avatar-mini {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #fb7185, #f59e0b);
    font-size: 11px;
    font-weight: 900;
}
.are-user-name { color: var(--are-muted); font-size: 13px; font-weight: 700; }
.are-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--are-border); background: #fff; border-radius: 13px; padding: 10px; }
.are-menu-toggle span { display: block; height: 2px; background: var(--are-text); margin: 4px 0; border-radius: 999px; }
.are-sidebar-backdrop { display: none; }

.are-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}
.are-page-head h1 {
    margin: 6px 0 6px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.are-page-head p { margin: 0; color: var(--are-muted); font-size: 16px; line-height: 1.6; max-width: 720px; }
.are-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--are-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.are-page-actions, .are-card-actions, .are-summary-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.are-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 900;
    font-size: 14px;
}
.are-btn-primary { color: #fff; background: linear-gradient(135deg, var(--are-blue), var(--are-purple)); box-shadow: 0 14px 26px rgba(37, 99, 235, .22); }
.are-btn-soft { color: var(--are-blue); background: var(--are-blue-soft); border-color: #d7e5ff; }
.are-btn-ghost { color: var(--are-muted); background: #fff; border-color: var(--are-border); }

.are-grid { display: grid; gap: 20px; }
.are-grid-welcome { grid-template-columns: minmax(0, 1.6fr) minmax(320px, .75fr); align-items: stretch; }
.are-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.are-grid-dashboard-top { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); margin-bottom: 20px; }
.are-grid-dashboard-main { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr) minmax(280px, .75fr); }
.are-admin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.are-span-2 { grid-column: span 2; }
.are-card {
    position: relative;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(231, 236, 247, 0.95);
    border-radius: var(--are-radius);
    box-shadow: var(--are-shadow);
    padding: 22px;
    overflow: hidden;
}
.are-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
}
.are-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.are-card-head h2, .are-card h2, .are-card h3 { margin: 4px 0 0; letter-spacing: -0.03em; }
.are-card-head a { font-weight: 900; font-size: 13px; }
.are-card p { color: var(--are-muted); line-height: 1.6; }

.are-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 25px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.are-badge-blue { color: var(--are-blue); background: var(--are-blue-soft); }
.are-badge-purple { color: var(--are-purple); background: var(--are-purple-soft); }
.are-badge-green { color: #047857; background: var(--are-green-soft); }
.are-badge-amber { color: #a16207; background: var(--are-amber-soft); }
.are-badge-rose { color: #be123c; background: var(--are-rose-soft); }

.are-checklist { display: grid; gap: 12px; }
.are-check-row {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 13px;
    border: 1px solid var(--are-border);
    background: var(--are-surface-soft);
    border-radius: 17px;
}
.are-check-row > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff;
    color: var(--are-blue);
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(30, 41, 59, .06);
}
.are-check-row.is-done > span { color: #fff; background: var(--are-green); }
.are-check-row strong { display: block; }
.are-check-row p { margin: 4px 0 0; font-size: 13px; }
.are-hero-card .are-card-actions { margin-top: 18px; }

.are-avatar-preview-card { text-align: center; background: linear-gradient(180deg, #ffffff, #f6f4ff); }
.are-avatar-large {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    color: #fff;
    font-size: 46px;
    font-weight: 900;
    box-shadow: 0 18px 34px rgba(124, 58, 237, .14);
    flex: 0 0 auto;
}
.are-avatar-large img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}
.are-avatar-sofia { background: radial-gradient(circle at 35% 24%, #fed7aa, transparent 28%), linear-gradient(135deg, #fb7185, #7c3aed); }
.are-audio-wave { display: flex; justify-content: center; align-items: center; gap: 5px; height: 36px; margin: 15px 0; }
.are-audio-wave span {
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--are-blue), var(--are-purple));
}
.are-audio-wave span:nth-child(1) { height: 14px; }
.are-audio-wave span:nth-child(2) { height: 24px; }
.are-audio-wave span:nth-child(3) { height: 32px; }
.are-audio-wave span:nth-child(4) { height: 20px; }
.are-audio-wave span:nth-child(5) { height: 12px; }
.are-mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; text-align: left; }
.are-mini-list li { display: flex; gap: 8px; color: var(--are-muted); font-size: 14px; }
.are-mini-list span { color: var(--are-green); font-weight: 900; }
.are-empty-card { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.are-empty-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 20px; background: var(--are-blue-soft); margin-bottom: 10px; font-size: 26px; }
.are-empty-card p { max-width: 440px; margin: 4px auto 15px; }

.are-receptionist-card { display: flex; align-items: center; gap: 24px; background: linear-gradient(135deg, #fff, #f7f4ff); }
.are-receptionist-card .are-avatar-large { margin: 0; flex: 0 0 auto; }
.are-receptionist-info p { max-width: 580px; margin-bottom: 16px; }
.are-progress-card .are-progress { margin-bottom: 16px; }
.are-step-list { display: grid; gap: 10px; }
.are-step-item { display: flex; align-items: center; gap: 9px; color: var(--are-muted); font-size: 14px; }
.are-step-item span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: #f0f4fb; color: var(--are-muted); font-weight: 900; font-size: 12px; }
.are-step-item.is-done span { background: var(--are-green); color: #fff; }
.are-stat-grid { display: grid; gap: 16px; margin-bottom: 20px; }
.are-stat-grid-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.are-stat-grid-six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.are-stat-card { display: flex; gap: 13px; align-items: flex-start; padding: 18px; border-radius: 20px; }
.are-stat-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 14px; flex: 0 0 auto; }
.are-tone-blue .are-stat-icon { color: var(--are-blue); background: var(--are-blue-soft); }
.are-tone-purple .are-stat-icon { color: var(--are-purple); background: var(--are-purple-soft); }
.are-tone-green .are-stat-icon { color: #047857; background: var(--are-green-soft); }
.are-tone-amber .are-stat-icon { color: #a16207; background: var(--are-amber-soft); }
.are-tone-rose .are-stat-icon { color: #be123c; background: var(--are-rose-soft); }
.are-muted { color: var(--are-muted); }
.are-stat-label { margin: 0 0 6px; font-size: 12px; font-weight: 800; }
.are-stat-value { display: block; font-size: 24px; line-height: 1; letter-spacing: -0.04em; }
.are-stat-detail { display: block; color: var(--are-muted-2); font-size: 12px; margin-top: 7px; }
.are-table-wrap { overflow-x: auto; }
.are-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.are-table th, .are-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--are-border); font-size: 14px; }
.are-table th { color: var(--are-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.are-table tr:last-child td { border-bottom: 0; }
.are-score { display: inline-flex; width: 40px; height: 30px; align-items: center; justify-content: center; border-radius: 999px; background: var(--are-blue-soft); color: var(--are-blue); font-weight: 900; }
.are-donut {
    --value: 72;
    width: 138px;
    height: 138px;
    margin: 4px auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--are-blue) calc(var(--value) * 1%), #eef2fb 0);
    position: relative;
}
.are-donut::after { content: ""; position: absolute; inset: 12px; background: #fff; border-radius: 50%; }
.are-donut span, .are-donut small { position: relative; z-index: 1; grid-area: 1/1; }
.are-donut span { font-size: 28px; font-weight: 900; letter-spacing: -0.04em; transform: translateY(-6px); }
.are-donut small { color: var(--are-muted); font-weight: 800; transform: translateY(20px); }
.are-legend-list, .are-status-list, .are-watch-list { display: grid; gap: 12px; }
.are-legend-list div, .are-status-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--are-muted);
    font-size: 14px;
}
.are-legend-list strong { margin-left: auto; color: var(--are-text); }
.are-dot { width: 9px; height: 9px; border-radius: 999px; flex: 0 0 auto; }
.are-dot-blue { background: var(--are-blue); }
.are-dot-purple { background: var(--are-purple); }
.are-dot-green { background: var(--are-green); }
.are-dot-amber { background: var(--are-amber); }
.are-dot-rose { background: var(--are-rose); }
.are-summary-card p { margin-top: 0; }

.are-progress { height: 9px; width: 100%; background: #eef2fb; border-radius: 999px; overflow: hidden; }
.are-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--are-blue), var(--are-purple)); }
.are-usage-row { display: grid; gap: 8px; min-width: 160px; }
.are-usage-row span { color: var(--are-muted); font-size: 12px; font-weight: 800; }
.are-watch-item {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 17px;
    background: var(--are-surface-soft);
    border: 1px solid var(--are-border);
}
.are-watch-item strong { display: block; }
.are-watch-item p { margin: 4px 0 0; font-size: 13px; }
.are-status-item { padding: 12px 0; border-bottom: 1px solid var(--are-border); }
.are-status-item:last-child { border-bottom: 0; }
.are-status-item strong { color: var(--are-text); margin-right: auto; }
.are-timeline { display: grid; gap: 0; }
.are-timeline-row { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--are-border); }
.are-timeline-row:last-child { border-bottom: 0; }
.are-timeline-row span { color: var(--are-muted); font-size: 13px; font-weight: 800; }
.are-timeline-row p { margin: 0; }

@media (max-width: 1280px) {
    .are-stat-grid-five, .are-stat-grid-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .are-grid-dashboard-main, .are-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    :root { --are-sidebar-width: 0px; }
    .are-topbar { left: 0; padding: 14px 18px; }
    .are-menu-toggle { display: inline-block; }
    .are-sidebar {
        transform: translateX(-105%);
        transition: transform .22s ease;
        width: 280px;
    }
    body.is-menu-open .are-sidebar { transform: translateX(0); }
    body.is-menu-open .are-sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, .35); z-index: 25; }
    .are-main { margin-left: 0; padding: calc(var(--are-header-height) + 26px) 18px 32px; }
    .are-grid-welcome, .are-grid-dashboard-top, .are-grid-dashboard-main, .are-admin-grid { grid-template-columns: 1fr; }
    .are-span-2 { grid-column: auto; }
    .are-page-head { align-items: flex-start; flex-direction: column; }
    .are-stat-grid-five, .are-stat-grid-six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .are-topbar { gap: 10px; }
    .are-search { display: none; }
    .are-topbar-actions { width: 100%; justify-content: flex-end; }
    .are-view-switch, .are-user-name { display: none; }
    .are-stat-grid-five, .are-stat-grid-six, .are-grid-two { grid-template-columns: 1fr; }
    .are-card { padding: 18px; border-radius: 20px; }
    .are-receptionist-card { flex-direction: column; align-items: flex-start; }
    .are-receptionist-card .are-avatar-large { margin: 0; }
    .are-page-head h1 { font-size: 30px; }
    .are-timeline-row { grid-template-columns: 1fr; gap: 4px; }
}


/* PATCH 002 — Client Setup Wizard demo UI */
.are-setup-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.are-setup-step {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid var(--are-border);
    border-radius: 18px;
    background: rgba(255,255,255,.78);
    color: var(--are-muted);
    box-shadow: 0 12px 28px rgba(30, 41, 59, .05);
}
.are-setup-step span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--are-surface-soft);
    color: var(--are-blue);
    font-weight: 900;
    flex: 0 0 auto;
}
.are-setup-step strong { font-size: 13px; line-height: 1.25; }
.are-setup-step.is-active {
    color: var(--are-blue);
    border-color: rgba(37,99,235,.26);
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.08));
}
.are-setup-step.is-active span { color: #fff; background: linear-gradient(135deg, var(--are-blue), var(--are-purple)); }
.are-setup-grid { grid-template-columns: minmax(0, 1.9fr) minmax(300px, .9fr); }
.are-side-stack { display: grid; gap: 20px; align-content: start; }
.are-card-head.compact { margin-bottom: 14px; }
.are-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.are-form-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.are-form-spaced { margin-top: 22px; }
.are-field { display: grid; gap: 8px; }
.are-field span {
    color: var(--are-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.are-field input,
.are-field select,
.are-field textarea {
    width: 100%;
    border: 1px solid var(--are-border);
    background: #fff;
    border-radius: 16px;
    padding: 13px 14px;
    color: var(--are-text);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.are-field textarea { resize: vertical; line-height: 1.55; }
.are-field input:focus,
.are-field select:focus,
.are-field textarea:focus {
    border-color: rgba(37,99,235,.45);
    box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}
.are-field-full { grid-column: 1 / -1; }
.are-field-narrow { max-width: 420px; margin-bottom: 16px; }
.are-card-actions-border {
    border-top: 1px solid var(--are-border);
    margin-top: 22px;
    padding-top: 18px;
}
.are-avatar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.are-avatar-card {
    border: 1px solid var(--are-border);
    background: var(--are-surface-soft);
    border-radius: 20px;
    padding: 16px;
    text-align: left;
    cursor: pointer;
    color: var(--are-text);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.are-avatar-card:hover { transform: translateY(-2px); box-shadow: var(--are-shadow-sm); }
.are-avatar-card.is-selected { border-color: rgba(37,99,235,.58); background: linear-gradient(135deg, #fff, #f6f3ff); box-shadow: 0 16px 34px rgba(37,99,235,.10); }
.are-avatar-card strong { display: block; margin-top: 10px; font-size: 16px; }
.are-avatar-card small { display: block; color: var(--are-muted); margin-top: 5px; line-height: 1.35; }
.are-avatar-medium {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    box-shadow: 0 14px 26px rgba(30,41,59,.12);
}
.are-avatar-maya { background: linear-gradient(135deg, #38bdf8, #7c3aed); }
.are-avatar-leo { background: linear-gradient(135deg, #2563eb, #0f766e); }
.are-avatar-emma { background: linear-gradient(135deg, #fb7185, #f59e0b); }
.are-avatar-omar { background: linear-gradient(135deg, #10b981, #2563eb); }
.are-avatar-chloe { background: linear-gradient(135deg, #a855f7, #ec4899); }
.are-pill-select { display: flex; flex-wrap: wrap; gap: 10px; }
.are-pill-select button,
.are-chip {
    border: 1px solid var(--are-border);
    background: #fff;
    color: var(--are-muted);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 800;
}
.are-pill-select button.is-selected,
.are-chip.is-selected { color: var(--are-blue); border-color: rgba(37,99,235,.34); background: var(--are-blue-soft); }
.are-audio-player-card {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr minmax(120px, 240px) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--are-blue-soft), var(--are-purple-soft));
    border: 1px solid #e2e9ff;
}
.are-audio-player-card p { margin: 5px 0 0; font-size: 13px; }
.are-audio-line { height: 10px; border-radius: 999px; background: rgba(255,255,255,.9); overflow: hidden; }
.are-audio-line span { display: block; width: 62%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--are-blue), var(--are-purple)); }
.are-icon-circle {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--are-blue), var(--are-purple));
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(37,99,235,.22);
}
.are-section-gap { margin-top: 28px; }
.are-service-list, .are-faq-list { display: grid; gap: 12px; }
.are-service-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 15px;
    border: 1px solid var(--are-border);
    border-radius: 18px;
    background: var(--are-surface-soft);
}
.are-service-row p { margin: 5px 0 0; font-size: 13px; }
.are-row-actions { display: flex; gap: 8px; align-items: center; }
.are-row-actions button {
    border: 1px solid var(--are-border);
    background: #fff;
    color: var(--are-blue);
    border-radius: 999px;
    padding: 8px 10px;
    font-weight: 800;
    cursor: pointer;
}
.are-faq-item {
    border: 1px solid var(--are-border);
    border-radius: 18px;
    padding: 14px 16px;
    background: var(--are-surface-soft);
}
.are-faq-item summary { cursor: pointer; font-weight: 900; }
.are-faq-item p { margin: 10px 0 0; }
.are-conversation-card { display: grid; gap: 10px; }
.are-chat-bubble {
    max-width: 94%;
    border-radius: 17px;
    padding: 12px 13px;
    font-size: 13px;
    line-height: 1.45;
}
.are-chat-ai { background: var(--are-blue-soft); color: #1e3a8a; }
.are-chat-user { background: var(--are-surface-soft); border: 1px solid var(--are-border); margin-left: auto; }
.are-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.are-choice-card {
    min-height: 134px;
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 16px;
    border: 1px solid var(--are-border);
    border-radius: 20px;
    background: var(--are-surface-soft);
    cursor: pointer;
}
.are-choice-card.is-selected { border-color: rgba(37,99,235,.48); background: linear-gradient(135deg, #fff, #f4f7ff); }
.are-choice-card input { accent-color: var(--are-blue); }
.are-choice-card span { font-weight: 900; }
.are-choice-card small { color: var(--are-muted); line-height: 1.45; }
.are-divider { height: 1px; background: var(--are-border); margin: 24px 0; }
.are-chip-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.are-option-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.are-check-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    color: var(--are-text);
    font-weight: 700;
}
.are-check-option input { accent-color: var(--are-blue); width: 17px; height: 17px; }
.are-fallback-card {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #fff, var(--are-green-soft));
    border: 1px solid #d9f6ea;
}
.are-fallback-card h3 { margin: 4px 0 5px; }
.are-fallback-card p { margin: 0; font-size: 13px; }
.are-hours-box {
    padding: 15px;
    border-radius: 18px;
    border: 1px solid var(--are-border);
    background: var(--are-surface-soft);
}
.are-hours-box p { margin-bottom: 0; }
.are-flow-card { display: grid; gap: 12px; }
.are-flow-step { display: flex; gap: 12px; align-items: flex-start; }
.are-flow-step span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--are-blue), var(--are-purple));
    font-weight: 900;
    flex: 0 0 auto;
}
.are-flow-step p { margin: 4px 0 0; font-size: 13px; }
.are-launch-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 20px; }
.are-launch-hero .are-avatar-large { margin: 0; flex: 0 0 auto; }
.are-greeting-card {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--are-blue-soft), #fff);
    border: 1px solid #dde7ff;
    margin-bottom: 20px;
}
.are-greeting-card p { margin: 8px 0 0; font-size: 18px; line-height: 1.55; color: var(--are-text); }
.are-test-panel {
    padding: 18px;
    border: 1px solid var(--are-border);
    border-radius: 20px;
    background: var(--are-surface-soft);
    display: grid;
    gap: 14px;
}
.are-demo-note {
    margin: 0;
    color: var(--are-muted);
    font-size: 13px;
    font-weight: 700;
}
.are-btn-demo { box-shadow: 0 16px 30px rgba(37,99,235,.14); }
.are-launch-section {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff, #f7f4ff);
    border: 1px solid #e6e7ff;
}
.are-demo-toast {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 80;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 18px;
    color: #1e3a8a;
    background: #fff;
    border: 1px solid rgba(37,99,235,.18);
    box-shadow: var(--are-shadow);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
    font-weight: 800;
}
.are-demo-toast.is-visible { transform: translateY(0); opacity: 1; }

@media (max-width: 1180px) {
    .are-setup-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .are-setup-grid { grid-template-columns: 1fr; }
    .are-span-2 { grid-column: auto; }
}
@media (max-width: 820px) {
    .are-form-grid,
    .are-form-grid-three,
    .are-avatar-grid,
    .are-choice-grid,
    .are-option-columns { grid-template-columns: 1fr; }
    .are-setup-nav { grid-template-columns: 1fr; }
    .are-audio-player-card { grid-template-columns: 1fr; }
    .are-service-row,
    .are-fallback-card,
    .are-launch-section,
    .are-launch-hero { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .are-row-actions { flex-wrap: wrap; }
    .are-pill-select button,
    .are-chip { width: 100%; }
}


/* PATCH 040 — lightweight UI cleanup and demo-noise reduction */
.are-main {
    max-width: 1440px;
}
.are-page-head p,
.are-muted {
    color: var(--are-muted);
}
.are-lite-stat-grid {
    margin-top: 20px;
}
.are-btn[data-demo-action],
.are-table-actions button[data-demo-action],
.are-row-actions button[data-demo-action],
.are-demo-action-buttons button[data-demo-action] {
    background: #fff;
    color: var(--are-muted);
    border-color: var(--are-border);
    box-shadow: none;
}
.are-btn[data-demo-action]:hover,
.are-table-actions button[data-demo-action]:hover,
.are-row-actions button[data-demo-action]:hover,
.are-demo-action-buttons button[data-demo-action]:hover {
    color: var(--are-blue);
    border-color: #d7e5ff;
    background: var(--are-blue-soft);
}
.are-table-actions,
.are-row-actions,
.are-card-actions,
.are-page-actions {
    row-gap: 8px;
}
.are-table-actions button[data-demo-action],
.are-row-actions button[data-demo-action] {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 800;
}
.are-demo-note,
.are-helper-note {
    color: var(--are-muted);
}
.are-card-head.compact h3,
.are-card-head h2 {
    letter-spacing: -0.02em;
}
.are-card.are-tip-card .are-btn[data-demo-action],
.are-demo-action-area .are-btn[data-demo-action] {
    width: auto;
}
.are-table td[data-label="Actions"] .are-table-actions,
.are-table td[data-label="Actions"] .are-row-actions {
    justify-content: flex-start;
}
@media (min-width: 980px) {
    .are-stat-grid-five.are-lite-stat-grid,
    .are-stat-grid-four.are-lite-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* PATCH 059K — avatar image containment */
.are-avatar-medium {
    overflow: hidden;
    border-radius: 999px;
}
.are-avatar-medium img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}


/* PATCH 059K — avatar image display size/layout fix */
.are-avatar-preview-card .are-avatar-large {
    width: 88px;
    height: 88px;
    border-radius: 999px;
}

.are-launch-hero .are-avatar-large {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    overflow: hidden;
}

.are-receptionist-card .are-avatar-large {
    overflow: hidden;
}

@media (max-width: 720px) {
    .are-avatar-preview-card .are-avatar-large,
    .are-launch-hero .are-avatar-large {
        width: 82px;
        height: 82px;
    }
}

/* PATCH 084 — My Account profile and header chip polish */
a.are-user-chip {
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
a.are-user-chip:hover,
a.are-user-chip:focus-visible {
    border-color: rgba(37,99,235,.30);
    box-shadow: 0 10px 24px rgba(37,99,235,.10);
    transform: translateY(-1px);
    outline: none;
}
.are-account-head {
    align-items: flex-start;
}
.are-account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}
.are-account-main-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
    align-items: start;
}
.are-account-profile-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: linear-gradient(135deg, #ffffff, #f7f4ff);
}
.are-account-avatar {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #fb7185, #7c3aed);
    box-shadow: 0 18px 38px rgba(124,58,237,.16);
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -.05em;
    flex: 0 0 auto;
}
.are-account-profile-copy h2,
.are-account-safety-card h2,
.are-account-note-card h2 {
    margin: 8px 0 6px;
}
.are-account-profile-copy p {
    margin: 0;
    color: var(--are-muted);
    word-break: break-word;
}
.are-account-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.are-account-check-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 10px;
}
.are-account-check-list li {
    display: flex;
    gap: 9px;
    color: var(--are-muted);
    font-size: 14px;
    line-height: 1.45;
}
.are-account-check-list span {
    color: var(--are-green);
    font-weight: 950;
}
.are-account-facts {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}
.are-account-facts div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--are-border);
}
.are-account-facts div:last-child {
    border-bottom: 0;
}
.are-account-facts span {
    color: var(--are-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.are-account-facts strong {
    color: var(--are-text);
    text-align: right;
    font-size: 14px;
}
.are-account-note-card {
    background: linear-gradient(135deg, #ffffff, #f0f7ff);
}
.are-alert {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--are-border);
    background: #fff;
    box-shadow: var(--are-shadow-sm);
    color: var(--are-text);
}
.are-alert-success {
    border-color: rgba(16,185,129,.25);
    background: #ecfdf5;
}
.are-alert-error {
    border-color: rgba(244,63,94,.25);
    background: #fff1f2;
}
@media (max-width: 980px) {
    .are-account-grid,
    .are-account-main-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .are-account-profile-card {
        align-items: flex-start;
        flex-direction: column;
    }
    .are-account-avatar {
        width: 72px;
        height: 72px;
        border-radius: 24px;
        font-size: 24px;
    }
    .are-account-facts div {
        display: grid;
        justify-content: stretch;
    }
    .are-account-facts strong {
        text-align: left;
    }
}


/* PATCH 092O: real lightweight notification bell panel */
.are-notification-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.are-notification-button {
    position: relative;
}

.are-notification-dot {
    position: absolute;
    right: 7px;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 2px #fff;
}

.are-notification-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(340px, calc(100vw - 28px));
    z-index: 80;
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .18);
    padding: 14px;
}

.are-notification-panel[hidden] {
    display: none !important;
}

.are-notification-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 4px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.are-notification-panel-head strong {
    color: var(--are-text);
    font-size: .95rem;
}

.are-notification-panel-head span {
    color: var(--are-muted);
    font-size: .78rem;
    font-weight: 800;
}

.are-notification-item {
    margin-top: 10px;
    border-radius: 16px;
    padding: 11px 12px;
    border: 1px solid rgba(59, 130, 246, .18);
    background: rgba(239, 246, 255, .72);
}

.are-notification-item span {
    display: inline-flex;
    margin-bottom: 5px;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #2563eb;
}

.are-notification-item p {
    margin: 0;
    color: #334155;
    font-size: .86rem;
    line-height: 1.45;
    font-weight: 700;
}

.are-notification-item-amber {
    border-color: rgba(245, 158, 11, .24);
    background: rgba(255, 251, 235, .9);
}

.are-notification-item-amber span {
    color: #b45309;
}

.are-notification-item-green {
    border-color: rgba(34, 197, 94, .24);
    background: rgba(240, 253, 244, .9);
}

.are-notification-item-green span {
    color: #15803d;
}

.are-notification-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    border-radius: 999px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .22);
}

.are-notification-link:hover {
    transform: translateY(-1px);
}

/* PATCH 095C1: Uploaded global app logo in sidebar brand mark. */
.are-brand-mark.has-image {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
    border: 1px solid var(--are-border);
}
.are-brand-mark.has-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

/* PATCH 095C2: keep uploaded app/white-label logos contained inside fixed logo boxes. */
.are-brand-mark {
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 38px;
    min-height: 38px;
    max-height: 38px;
    overflow: hidden;
}
.are-brand-mark.has-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: #fff;
}
.are-brand-mark.has-image img,
.are-brand-logo-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 9px;
}
.are-settings-brand-card-preview {
    display: flex;
    align-items: center;
    gap: 14px;
}
.are-settings-brand-mark {
    flex: 0 0 56px;
    width: 56px;
    min-width: 56px;
    max-width: 56px;
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--are-blue), var(--are-purple));
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}
.are-settings-brand-mark.has-image {
    background: #fff;
    padding: 5px;
    border: 1px solid var(--are-border);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}
.are-settings-brand-mark.has-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 11px !important;
}


/* PATCH 095H4: Unified brand lockup for sidebar/app chrome. */
.are-brand-lockup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.06;
}
.are-brand-primary,
.are-brand-secondary {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: .035em;
}
.are-brand-primary {
    color: var(--are-blue);
    font-size: 12px;
    font-weight: 900;
}
.are-brand-secondary {
    color: #334155;
    font-size: 12px;
    font-weight: 650;
    margin-top: 2px;
}
