@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    color-scheme: dark;
    --bg: #090b0c;
    --bg-elevated: #0e1112;
    --panel: #111516;
    --panel-soft: #141819;
    --panel-hover: #181d1e;
    --line: rgba(231, 239, 231, .085);
    --line-strong: rgba(231, 239, 231, .14);
    --text: #f2f5f1;
    --muted: #929b95;
    --faint: #626a65;
    --accent: #b9f45f;
    --accent-soft: rgba(185, 244, 95, .12);
    --green: #75d8a4;
    --blue: #66a7ff;
    --purple: #ad8cff;
    --orange: #ffb86b;
    --red: #ff7d75;
    --sidebar: 244px;
    --header: 76px;
    --radius: 16px;
    --shadow: 0 22px 70px rgba(0, 0, 0, .28);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { color: #10130f; background: var(--accent); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2d3430; border: 3px solid transparent; border-radius: 20px; background-clip: padding-box; }

.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-weight: 600; letter-spacing: -.01em; transition: .18s ease; white-space: nowrap; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-primary { color: #0c1108; background: var(--accent); box-shadow: 0 7px 24px rgba(185, 244, 95, .11); }
.button-primary:hover { background: #c5fb70; box-shadow: 0 8px 28px rgba(185, 244, 95, .18); }
.button-secondary { color: var(--text); background: rgba(255,255,255,.025); border-color: var(--line-strong); }
.button-secondary:hover, .button-quiet:hover { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.2); }
.button-quiet { min-height: 36px; color: var(--muted); background: transparent; border-color: var(--line); }
.button-large { width: 100%; min-height: 52px; border-radius: 12px; padding: 0 19px; justify-content: space-between; }
.button-full { width: 100%; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 600; }
.text-button:hover { color: var(--text); }
.icon-button { width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: transparent; display: inline-grid; place-items: center; cursor: pointer; }
.icon-button:hover { background: rgba(255,255,255,.04); border-color: var(--line-strong); }
.icon-button.subtle { border: 0; color: var(--faint); }

.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-size: 20px; font-weight: 700; letter-spacing: -.055em; }
.brand-large { font-size: 25px; }
.brand-mark { width: 22px; height: 22px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; transform: skew(-15deg); }
.brand-mark span { width: 5px; background: var(--accent); border-radius: 4px 4px 2px 2px; box-shadow: 0 0 18px rgba(185, 244, 95, .25); }
.brand-mark span:nth-child(1) { height: 10px; }
.brand-mark span:nth-child(2) { height: 17px; }
.brand-mark span:nth-child(3) { height: 22px; }
.brand-mark-large { width: 33px; height: 34px; gap: 3px; }
.brand-mark-large span { width: 7px; }
.brand-mark-large span:nth-child(1) { height: 15px; }
.brand-mark-large span:nth-child(2) { height: 25px; }
.brand-mark-large span:nth-child(3) { height: 33px; }
.eyebrow, .card-kicker, .kicker { margin-bottom: 9px; color: var(--muted); font-size: 10px; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--accent); box-shadow: 0 0 0 4px rgba(185,244,95,.09), 0 0 13px rgba(185,244,95,.42); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; box-shadow: 0 0 0 6px rgba(185,244,95,.04), 0 0 16px rgba(185,244,95,.25); } }

/* Login */
.auth-page { overflow-x: hidden; background: #090b0c; }
.auth-page::before { content: ""; position: fixed; inset: 0; opacity: .25; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, #000, transparent 75%); }
.auth-orb { position: fixed; width: 520px; height: 520px; border-radius: 50%; filter: blur(120px); opacity: .09; pointer-events: none; }
.auth-orb-one { left: -210px; top: -180px; background: var(--accent); }
.auth-orb-two { right: -280px; bottom: -240px; background: #66a7ff; }
.auth-layout { width: 100%; min-height: 100vh; display: grid; grid-template-columns: minmax(480px, 1.12fr) minmax(460px, .88fr); position: relative; }
.auth-story { padding: clamp(42px, 6vw, 82px); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); position: relative; }
.auth-story > div:nth-child(2) { max-width: 720px; }
.auth-story .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.auth-story h1 { margin-bottom: 24px; color: #f5f8f4; font-size: clamp(45px, 5vw, 78px); line-height: .99; letter-spacing: -.07em; font-weight: 600; }
.auth-story h1 span { color: #8f9992; }
.auth-copy { max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.auth-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 620px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.auth-proof-grid div { padding: 20px; background: rgba(13,16,17,.92); }
.auth-proof-grid strong, .auth-proof-grid span { display: block; }
.auth-proof-grid strong { margin-bottom: 7px; font-size: 21px; letter-spacing: -.04em; }
.auth-proof-grid span { color: var(--muted); font-size: 11px; }
.auth-panel-wrap { padding: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.auth-panel { width: min(100%, 440px); padding: 40px; background: rgba(17,21,22,.8); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.auth-panel-heading { margin-bottom: 30px; }
.auth-panel-heading h2 { margin-bottom: 9px; font-size: 28px; letter-spacing: -.045em; }
.auth-panel-heading > p:last-child { margin: 0; color: var(--muted); line-height: 1.55; }
.mobile-brand { display: none; }
.auth-form { display: grid; gap: 18px; }
.auth-form label > span:first-child, .settings-form label > span, .modal-form label > span, .drawer-section label > span, .control-section label > span { display: block; margin-bottom: 8px; color: #bbc3bd; font-size: 12px; font-weight: 600; }
.auth-form input, .settings-form input, .modal-form input, .modal-form textarea, .drawer-section input, .drawer-section select, .drawer-section textarea, .control-section input, .control-section select, .control-section textarea { width: 100%; min-height: 45px; padding: 0 13px; color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(7,9,10,.72); transition: .16s; }
.auth-form input:focus, .settings-form input:focus, .modal-form input:focus, .modal-form textarea:focus, .drawer-section input:focus, .drawer-section select:focus, .drawer-section textarea:focus, .control-section input:focus, .control-section select:focus, .control-section textarea:focus { outline: none; border-color: rgba(185,244,95,.55); box-shadow: 0 0 0 3px rgba(185,244,95,.07); }
.password-field { display: flex; position: relative; }
.password-field input { padding-right: 62px; }
.password-field button { position: absolute; right: 5px; top: 5px; bottom: 5px; padding: 0 10px; border: 0; color: var(--muted); background: transparent; cursor: pointer; }
.form-row { display: flex; align-items: center; justify-content: space-between; }
.check-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.check-label input { width: 15px; min-height: 15px; accent-color: var(--accent); }
.check-label span { margin: 0 !important; font-weight: 500 !important; color: var(--muted) !important; }
.form-error { margin: -5px 0 0; padding: 11px 13px; color: #ffaaa4; background: rgba(255,125,117,.08); border: 1px solid rgba(255,125,117,.2); border-radius: 9px; font-size: 12px; line-height: 1.5; }
.demo-note { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.demo-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(185,244,95,.18); border-radius: 9px; font-weight: 700; }
.demo-note > span:last-child, .demo-note strong, .demo-note small { display: block; }
.demo-note strong { margin-bottom: 3px; font-size: 12px; }
.demo-note small { color: var(--muted); font-size: 10px; }
.auth-footer { margin: 22px 0 0; color: var(--faint); font-size: 10px; }

/* Application shell */
.app-page { overflow-x: hidden; }
.app-boot { position: fixed; z-index: 1000; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; background: var(--bg); transition: opacity .38s ease, visibility .38s ease; }
.app-boot.is-complete { opacity: 0; visibility: hidden; }
.boot-word { font-size: 22px; font-weight: 700; letter-spacing: -.055em; }
.boot-line { width: 80px; height: 2px; margin-top: 10px; overflow: hidden; background: #1b211d; border-radius: 2px; }
.boot-line i { display: block; width: 40%; height: 100%; background: var(--accent); animation: boot 1.1s ease infinite; }
@keyframes boot { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.boot-error { width: min(420px, calc(100vw - 40px)); text-align: center; }
.boot-error > span, .error-mark { width: 44px; height: 44px; margin: 0 auto 18px; display: grid; place-items: center; color: var(--red); border: 1px solid rgba(255,125,117,.28); background: rgba(255,125,117,.08); border-radius: 50%; font-size: 20px; }
.boot-error h1 { font-size: 26px; }
.boot-error p { color: var(--muted); line-height: 1.6; }
.app-layout { min-height: 100vh; opacity: 0; transition: opacity .35s ease; }
.app-layout.is-ready { opacity: 1; }
.sidebar { width: var(--sidebar); height: 100vh; padding: 20px 14px 15px; position: fixed; z-index: 40; inset: 0 auto 0 0; display: flex; flex-direction: column; background: #0b0e0f; border-right: 1px solid var(--line); overflow-y: auto; }
.sidebar-top { height: 38px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.sidebar-close { display: none; }
.site-picker { height: 58px; margin: 20px 0 17px; padding: 8px 9px; display: flex; align-items: center; gap: 9px; position: relative; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); }
.site-picker select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.site-avatar, .profile-avatar { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; color: #11150d; background: linear-gradient(145deg, var(--accent), #89bb42); border-radius: 9px; font-size: 10px; font-weight: 800; }
.site-avatar.large { width: 48px; height: 48px; font-size: 13px; }
.site-picker-copy { min-width: 0; flex: 1; }
.site-picker-copy strong, .site-picker-copy small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site-picker-copy strong { margin-bottom: 3px; font-size: 11px; }
.site-picker-copy small { color: var(--faint); font-size: 9px; }
.chevron { color: var(--faint); }
.primary-nav { flex: 1; }
.nav-label { margin: 0 10px 6px; color: #505853; font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nav-label-spaced { margin-top: 18px; }
.primary-nav a, .settings-link { height: 36px; padding: 0 10px; display: flex; align-items: center; gap: 10px; position: relative; color: #7d8781; border-radius: 9px; font-size: 11px; font-weight: 500; transition: .15s ease; }
.primary-nav a:hover, .settings-link:hover { color: #cdd3ce; background: rgba(255,255,255,.025); }
.primary-nav a.active, .settings-link.active { color: #eff4ef; background: rgba(255,255,255,.052); }
.primary-nav a.active::before, .settings-link.active::before { content: ""; width: 2px; height: 17px; position: absolute; left: 0; background: var(--accent); border-radius: 0 3px 3px 0; box-shadow: 0 0 12px rgba(185,244,95,.28); }
.nav-icon { width: 17px; text-align: center; color: #69726d; font-size: 14px; }
.active .nav-icon { color: var(--accent); }
.ai-nav-icon { color: #9a7de6; }
.nav-count { margin-left: auto; min-width: 19px; height: 18px; padding: 0 5px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border-radius: 7px; font-size: 8px; }
.unread-dot { width: 5px; height: 5px; margin-left: auto; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px rgba(185,244,95,.45); }
.beta-badge { margin-left: auto; padding: 2px 5px; color: #b89dff; background: rgba(173,140,255,.11); border-radius: 4px; font-size: 7px; font-weight: 800; }
.sidebar-bottom { padding-top: 13px; border-top: 1px solid var(--line); }
.system-status { margin-bottom: 10px; padding: 10px; display: flex; align-items: center; gap: 10px; border-radius: 9px; background: rgba(255,255,255,.018); }
.system-status strong, .system-status small { display: block; }
.system-status strong { margin-bottom: 2px; color: #aeb6b0; font-size: 8px; }
.system-status small { color: #535b56; font-size: 7px; }
.sidebar-overlay { display: none; }
.shell { min-height: 100vh; margin-left: var(--sidebar); }
.app-header { height: var(--header); padding: 0 30px; position: sticky; z-index: 25; top: 0; display: flex; align-items: center; justify-content: space-between; background: rgba(9,11,12,.86); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-left, .header-actions { display: flex; align-items: center; gap: 10px; }
.menu-button { display: none; }
.breadcrumb span, .breadcrumb strong { display: block; }
.breadcrumb span { margin-bottom: 3px; color: var(--faint); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.breadcrumb strong { font-size: 13px; }
.search-button { width: 220px; height: 36px; padding: 0 9px 0 12px; display: flex; align-items: center; gap: 8px; color: #707873; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.014); cursor: pointer; font-size: 10px; }
.search-button span:nth-child(2) { flex: 1; text-align: left; }
kbd { padding: 3px 5px; color: #626a65; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 5px; font-family: inherit; font-size: 8px; box-shadow: none; }
.notification-button { position: relative; color: var(--muted); }
.notification-button i { width: 5px; height: 5px; position: absolute; right: 7px; top: 7px; background: var(--accent); border-radius: 50%; }
.profile-button { height: 40px; padding: 3px 8px 3px 4px; display: flex; align-items: center; gap: 8px; border: 1px solid transparent; background: transparent; cursor: pointer; border-radius: 10px; }
.profile-button:hover { border-color: var(--line); background: rgba(255,255,255,.018); }
.profile-copy { max-width: 130px; text-align: left; }
.profile-copy strong, .profile-copy small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-copy strong { margin-bottom: 2px; font-size: 9px; }
.profile-copy small { color: var(--faint); font-size: 7px; }
.popover { min-width: 230px; padding: 7px; position: absolute; z-index: 70; right: 29px; top: 65px; background: #141819; border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow); }
.popover[hidden] { display: none; }
.popover::before { content: ""; width: 8px; height: 8px; position: absolute; right: 16px; top: -5px; transform: rotate(45deg); background: #141819; border-left: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong); }
.profile-popover { display: grid; gap: 2px; }
.profile-popover a, .profile-popover button { padding: 10px; border: 0; color: #bec5c0; background: transparent; border-radius: 7px; cursor: pointer; text-align: left; font-size: 10px; }
.profile-popover a:hover, .profile-popover button:hover { background: rgba(255,255,255,.04); }
.notifications-popover { width: 340px; }
.notifications-popover header { padding: 8px 8px 12px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.notifications-popover header strong, .notifications-popover header small { display: block; }
.notifications-popover header strong { font-size: 12px; }
.notifications-popover header small { margin-top: 3px; color: var(--faint); font-size: 8px; }
.notification-item { width: 100%; padding: 12px 8px; display: flex; gap: 10px; align-items: flex-start; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.notification-item:hover { background: rgba(255,255,255,.02); }
.notification-item strong, .notification-item small { display: block; }
.notification-item strong { margin-bottom: 4px; font-size: 10px; }
.notification-item small { color: var(--faint); font-size: 8px; }
.notification-tone { width: 7px; height: 7px; margin-top: 3px; border-radius: 50%; background: var(--blue); }
.notification-urgent { background: var(--red); }
.notification-success { background: var(--accent); }
.notifications-popover footer button { width: 100%; padding: 10px; border: 0; color: var(--accent); background: transparent; cursor: pointer; font-size: 9px; font-weight: 600; }
.app-view { min-height: calc(100vh - var(--header)); }
.app-view:focus { outline: none; }
.view-shell { width: min(1540px, 100%); margin: 0 auto; padding: 30px 30px 60px; animation: viewIn .28s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(4px); } }
.view-heading { min-height: 68px; margin-bottom: 25px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.view-heading h1 { margin-bottom: 7px; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; font-weight: 600; letter-spacing: -.055em; }
.view-heading > div:first-child > p:last-child { max-width: 680px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.live-pill, .publish-state { min-height: 34px; padding: 0 11px; display: inline-flex; align-items: center; gap: 8px; color: #b8c0bb; border: 1px solid var(--line); background: rgba(255,255,255,.016); border-radius: 18px; font-size: 9px; font-weight: 600; }
.live-pill.small { min-height: 28px; font-size: 8px; }
.card { background: linear-gradient(145deg, rgba(18,22,23,.96), rgba(14,18,19,.96)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 25px rgba(0,0,0,.08); }
.metric-grid { margin-bottom: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.metric-card { min-height: 126px; padding: 18px; position: relative; overflow: hidden; }
.metric-card::after { content: ""; width: 110px; height: 110px; position: absolute; right: -66px; top: -70px; border: 1px solid rgba(185,244,95,.08); border-radius: 50%; box-shadow: 0 0 50px rgba(185,244,95,.025); }
.metric-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 600; }
.metric-label i { font-style: normal; }
.metric-card > strong { margin: 16px 0 12px; display: block; font-size: clamp(23px, 2.3vw, 32px); line-height: 1; letter-spacing: -.055em; font-weight: 600; }
.metric-card p { margin: 0; display: flex; align-items: center; gap: 7px; color: var(--faint); font-size: 8px; }
.trend { color: var(--green); font-weight: 700; }
.trend-down { color: var(--red); }
.dashboard-grid { margin-bottom: 22px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .85fr); gap: 13px; }
.dashboard-grid-main { grid-template-columns: minmax(0, 1.6fr) minmax(330px, .7fr); }
.chart-card, .pipeline-card, .activity-card, .upcoming-card, .table-card, .bookings-list-card, .availability-card, .rating-card, .review-performance, .funnel-card, .settings-card { padding: 20px; }
.card-heading, .table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-heading h2, .table-toolbar h2 { margin: 0; font-size: 15px; letter-spacing: -.035em; }
.card-heading .card-kicker, .table-toolbar .card-kicker { margin-bottom: 5px; }
.select-chip { min-height: 31px; padding: 0 10px; display: inline-flex; align-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; font-size: 8px; }
.chart-legend { margin-top: 15px; display: flex; gap: 15px; color: var(--faint); font-size: 8px; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { width: 12px; height: 2px; background: var(--legend); }
.line-chart { width: 100%; height: 230px; margin-top: 8px; display: block; }
.line-chart.tall { height: 270px; }
.pipeline-visual { min-height: 223px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; }
.donut-chart { width: 100%; max-width: 180px; aspect-ratio: 1; }
.pipeline-legend { display: grid; gap: 11px; }
.pipeline-legend div { display: flex; justify-content: space-between; gap: 15px; }
.pipeline-legend span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 8px; }
.pipeline-legend strong { font-size: 9px; }
.pipeline-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--accent); }
.pipeline-dot-1 { background: var(--green); }.pipeline-dot-2 { background: var(--blue); }.pipeline-dot-3 { background: var(--purple); }.pipeline-dot-4 { background: #56605b; }
.pipeline-bars { display: flex; gap: 3px; }
.pipeline-bars i { flex: 1; height: 3px; overflow: hidden; background: rgba(255,255,255,.04); border-radius: 3px; }
.pipeline-bars i::before { content: ""; width: var(--width); height: 100%; display: block; background: var(--accent); }
.section-title { margin: 30px 0 12px; display: flex; align-items: flex-end; justify-content: space-between; }
.section-title h2 { margin: 0; font-size: 17px; letter-spacing: -.04em; }
.section-title p { margin-bottom: 5px; }
.section-title > span { color: var(--faint); font-size: 8px; }
.attention-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.attention-card { min-height: 92px; padding: 14px; display: grid; grid-template-columns: 33px 1fr auto; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 13px; background: #101415; }
.attention-card h3 { margin: 0 0 5px; font-size: 10px; }
.attention-card p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.4; }
.attention-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: rgba(102,167,255,.09); }
.attention-urgent .attention-icon { color: var(--red); background: rgba(255,125,117,.09); }
.attention-warning .attention-icon { color: var(--orange); background: rgba(255,184,107,.09); }
.attention-card button { padding: 0; border: 0; color: #a9b1ac; background: transparent; cursor: pointer; font-size: 8px; font-weight: 600; }
.attention-card button span { margin-left: 4px; color: var(--accent); }
.working-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.working-card { min-height: 112px; padding: 18px; display: flex; gap: 15px; align-items: flex-start; }
.working-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(185,244,95,.1); border-radius: 10px; }
.working-card strong { display: block; font-size: 22px; line-height: 1; letter-spacing: -.04em; }
.working-card h3 { margin: 7px 0 4px; font-size: 9px; font-weight: 600; }
.working-card p { margin: 0; color: var(--faint); font-size: 8px; }
.activity-layout { margin-top: 22px; }
.activity-list { margin-top: 8px; }
.activity-item { width: 100%; min-height: 55px; padding: 9px 0; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.activity-item:last-child { border: 0; }
.activity-item:hover strong { color: var(--accent); }
.activity-icon { width: 29px; height: 29px; display: grid; place-items: center; color: var(--blue); background: rgba(102,167,255,.08); border-radius: 9px; font-size: 10px; }
.activity-hot { color: var(--red); background: rgba(255,125,117,.09); }.activity-success { color: var(--green); background: rgba(117,216,164,.09); }.activity-ai { color: var(--purple); background: rgba(173,140,255,.09); }
.activity-item strong, .activity-item small { display: block; }
.activity-item strong { margin-bottom: 4px; font-size: 9px; }
.activity-item small, .activity-item time { color: var(--faint); font-size: 7px; }
.booking-mini-list { margin: 13px 0; }
.booking-mini { min-height: 62px; padding: 9px 0; display: grid; grid-template-columns: 39px 1fr 28px; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.date-tile { width: 37px; height: 40px; display: grid; place-content: center; text-align: center; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 9px; }
.date-tile strong { font-size: 13px; line-height: 1; }.date-tile small { margin-top: 3px; color: var(--faint); font-size: 7px; text-transform: uppercase; }
.booking-mini > span:nth-child(2) strong, .booking-mini > span:nth-child(2) small { display: block; }
.booking-mini > span:nth-child(2) strong { margin-bottom: 4px; font-size: 9px; }.booking-mini > span:nth-child(2) small { color: var(--faint); font-size: 7px; }
.staff-avatar { width: 28px; height: 28px; display: grid; place-items: center; color: #aeb7b0; background: #242a27; border: 1px solid var(--line); border-radius: 50%; font-size: 7px; font-weight: 700; }

/* Shared tables */
.table-card { overflow: hidden; }
.table-toolbar { min-height: 52px; margin: -2px 0 12px; }
.segment-control { padding: 3px; display: flex; gap: 2px; border: 1px solid var(--line); background: rgba(0,0,0,.18); border-radius: 9px; }
.segment-control button { min-height: 30px; padding: 0 10px; border: 0; color: var(--muted); background: transparent; border-radius: 6px; cursor: pointer; font-size: 8px; font-weight: 600; }
.segment-control button.active { color: var(--text); background: #252a28; box-shadow: 0 2px 7px rgba(0,0,0,.18); }
.segment-control span { margin-left: 4px; color: var(--accent); }
.table-tools { display: flex; align-items: center; gap: 7px; }
.table-search { width: 190px; height: 36px; padding: 0 10px; display: flex; align-items: center; gap: 7px; color: var(--faint); border: 1px solid var(--line); border-radius: 9px; background: rgba(0,0,0,.14); }
.table-search input { width: 100%; padding: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 9px; }
.table-search input::placeholder { color: #535b56; }
.table-scroll { margin: 0 -20px; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 870px; }
.data-table th { height: 36px; padding: 0 13px; color: #5f6862; background: rgba(0,0,0,.13); border-block: 1px solid var(--line); text-align: left; font-size: 7px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { padding-left: 20px; }
.data-table th:last-child, .data-table td:last-child { padding-right: 20px; }
.data-table td { height: 61px; padding: 0 13px; border-bottom: 1px solid var(--line); color: #abb3ad; font-size: 8px; vertical-align: middle; }
.data-table tbody tr { transition: .12s; cursor: default; }
.lead-table tbody tr { cursor: pointer; }
.data-table tbody tr:hover { background: rgba(255,255,255,.018); }
.data-table td strong, .data-table td small { display: block; }
.data-table td strong { color: #d7dcd8; font-size: 9px; }.data-table td small { margin-top: 4px; color: var(--faint); font-size: 7px; }
.person-cell { min-width: 154px; display: flex; align-items: center; gap: 9px; }
.person-avatar { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; color: #c7cec8; background: #242a27; border: 1px solid var(--line); border-radius: 9px; font-size: 7px; font-weight: 700; }
.person-avatar.large { width: 38px; height: 38px; }
.person-cell strong, .person-cell small { display: block; }.person-cell strong { margin-bottom: 3px; font-size: 9px; }.person-cell small { color: var(--faint); font-size: 7px; }
.score { display: inline-flex; align-items: center; gap: 6px; font-size: 7px; font-weight: 600; }
.score i { width: 25px; height: 25px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(185,244,95,.13); border-radius: 7px; font-style: normal; }
.score-hot { color: #ff9a93; }.score-hot i { color: var(--red); background: rgba(255,125,117,.09); border-color: rgba(255,125,117,.14); }
.score-warm { color: #ffc487; }.score-warm i { color: var(--orange); background: rgba(255,184,107,.09); border-color: rgba(255,184,107,.14); }
.score-cool { color: #8ebdff; }.score-cool i { color: var(--blue); background: rgba(102,167,255,.09); border-color: rgba(102,167,255,.14); }
.badge { min-height: 22px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; color: #aeb6b0; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 6px; font-size: 7px; font-weight: 600; white-space: nowrap; text-transform: capitalize; }
.badge-new, .badge-sent, .badge-open { color: #8fbaff; background: rgba(102,167,255,.08); border-color: rgba(102,167,255,.15); }
.badge-qualified, .badge-active, .badge-live, .badge-published { color: var(--accent); background: var(--accent-soft); border-color: rgba(185,244,95,.14); }
.badge-contacted, .badge-pending, .badge-pending-approval, .badge-attention { color: var(--orange); background: rgba(255,184,107,.08); border-color: rgba(255,184,107,.14); }
.badge-booked { color: #b89dff; background: rgba(173,140,255,.09); border-color: rgba(173,140,255,.14); }
.badge-won, .badge-paid, .badge-confirmed, .badge-completed, .badge-connected { color: var(--green); background: rgba(117,216,164,.08); border-color: rgba(117,216,164,.14); }
.badge-lost, .badge-overdue, .badge-failed { color: #ff9a93; background: rgba(255,125,117,.08); border-color: rgba(255,125,117,.14); }
.source-cell { color: #8f9792; }
.row-menu { min-width: 27px; min-height: 27px; border: 0; color: var(--faint); background: transparent; border-radius: 7px; cursor: pointer; }
.row-menu:hover { color: var(--text); background: rgba(255,255,255,.04); }
.table-footer { padding-top: 13px; display: flex; justify-content: space-between; color: var(--faint); font-size: 7px; }

/* Bookings and chat */
.schedule-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: 13px; }
.week-controls { padding: 3px; display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 8px; }
.week-controls button { width: 24px; height: 24px; border: 0; color: var(--muted); background: transparent; cursor: pointer; }.week-controls span { padding: 0 5px; color: #b4bcb6; font-size: 8px; }
.booking-list { margin-top: 13px; }
.booking-row { width: 100%; min-height: 72px; padding: 10px 0; display: grid; grid-template-columns: 45px 64px minmax(160px,1fr) 90px 30px; align-items: center; gap: 11px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.booking-row:hover { background: rgba(255,255,255,.014); }.date-tile.large { width: 43px; height: 47px; }.time-column strong,.time-column small,.booking-details strong,.booking-details small,.booking-value strong { display:block; }.time-column strong,.booking-details strong { margin-bottom:5px;font-size:9px; }.time-column small,.booking-details small { color:var(--faint);font-size:7px; }.booking-value { text-align:right; }.booking-value strong { margin-bottom:6px; font-size:9px; }
.availability-preview { margin: 17px 0; padding: 13px; border: 1px solid var(--line); background: rgba(0,0,0,.12); border-radius: 11px; }
.mini-calendar-head { margin-bottom: 13px; display:flex;justify-content:space-between;font-size:9px; }.mini-calendar-head span {color:var(--faint);}.calendar-days {display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center;}.calendar-days b {color:var(--faint);font-size:6px;}.calendar-days i {height:25px;display:grid;place-items:center;color:#4f5752;border:1px solid transparent;border-radius:6px;font-size:7px;font-style:normal;}.calendar-days i.available {color:#cbd2cc;background:rgba(255,255,255,.03);}.calendar-days i.today {color:#12160d;background:var(--accent);}
.availability-stats {display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden;}.availability-stats div {padding:12px;background:#111516;display:flex;justify-content:space-between;align-items:center;}.availability-stats span {color:var(--muted);font-size:8px;}.availability-stats strong {font-size:8px;}.availability-stats button {padding:0;border:0;color:var(--accent);background:transparent;font-size:8px;cursor:pointer;}
.chat-layout { min-height: calc(100vh - 205px); display: grid; grid-template-columns: 310px minmax(0,1fr); overflow:hidden; }
.conversation-sidebar {border-right:1px solid var(--line);}.conversation-search {height:52px;padding:0 15px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);color:var(--faint);}.conversation-search input {width:100%;border:0;outline:0;color:var(--text);background:transparent;font-size:9px;}.conversation-tabs {height:45px;padding:7px 11px;display:flex;gap:4px;border-bottom:1px solid var(--line);}.conversation-tabs button {flex:1;border:0;color:var(--faint);background:transparent;border-radius:6px;font-size:7px;cursor:pointer;}.conversation-tabs button.active {color:var(--text);background:rgba(255,255,255,.04);}.conversation-list{max-height:calc(100vh - 300px);overflow:auto}.conversation-item{width:100%;min-height:69px;padding:11px;display:grid;grid-template-columns:32px 1fr auto;gap:9px;position:relative;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;cursor:pointer}.conversation-item:hover,.conversation-item.active{background:rgba(255,255,255,.025)}.conversation-item.active::before{content:"";width:2px;position:absolute;inset:8px auto 8px 0;background:var(--accent);border-radius:2px}.conversation-item strong,.conversation-item small{display:block}.conversation-item strong{margin-bottom:5px;font-size:9px}.conversation-item small{max-width:180px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--faint);font-size:7px}.conversation-item small i{margin-right:4px;color:var(--blue);font-style:normal}.conversation-item time{color:var(--faint);font-size:6px}.conversation-item>b{width:16px;height:16px;position:absolute;right:10px;bottom:10px;display:grid;place-items:center;color:#12160d;background:var(--accent);border-radius:50%;font-size:6px}
.message-panel{min-width:0;display:flex;flex-direction:column}.message-panel>header{height:61px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.message-panel>header>div:last-child{display:flex;gap:6px}.message-history{flex:1;padding:25px;display:flex;flex-direction:column;gap:14px;overflow:auto;background:radial-gradient(circle at 50% 30%,rgba(185,244,95,.018),transparent 35%)}.timeline-label{align-self:center;padding:4px 8px;color:var(--faint);background:rgba(255,255,255,.035);border-radius:9px;font-size:6px}.message{max-width:66%;padding:12px 13px;border:1px solid var(--line);border-radius:12px 12px 12px 3px;background:#171b1c}.message.outgoing{align-self:flex-end;border-color:rgba(185,244,95,.11);border-radius:12px 12px 3px 12px;background:#192018}.message p{margin:0 0 7px;color:#c7cec8;font-size:9px;line-height:1.65}.message time{color:var(--faint);font-size:6px}.ai-message>span{margin-bottom:8px;display:block;color:var(--purple);font-size:6px;font-weight:700;text-transform:uppercase;letter-spacing:.1em}.message-composer{padding:11px 15px 14px;border-top:1px solid var(--line)}.ai-suggestion{margin-bottom:8px;padding:9px 10px;display:grid;grid-template-columns:18px 1fr auto;gap:8px;align-items:center;background:rgba(173,140,255,.055);border:1px solid rgba(173,140,255,.11);border-radius:9px}.ai-suggestion>span{color:var(--purple)}.ai-suggestion p{margin:0;color:var(--muted);font-size:7px}.ai-suggestion p strong{margin-bottom:2px;display:block;color:#cbd1cc}.ai-suggestion button{border:0;color:#b89dff;background:transparent;font-size:7px;cursor:pointer}.composer-input{min-height:45px;padding:4px 5px;display:flex;align-items:flex-end;gap:5px;border:1px solid var(--line-strong);background:rgba(0,0,0,.16);border-radius:10px}.composer-input textarea{flex:1;height:35px;padding:9px 4px;resize:none;border:0;outline:0;color:var(--text);background:transparent;font-size:9px}.composer-input button{width:34px;height:34px;border:0;color:var(--muted);background:transparent;border-radius:8px;cursor:pointer}.composer-input .send-button{color:#11150d;background:var(--accent)}

/* Recovery, reviews, intelligence */
.recovery-hero,.automation-summary{min-height:180px;margin-bottom:14px;padding:28px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden}.recovery-hero::before,.ai-hero::before{content:"";width:420px;height:420px;position:absolute;right:-160px;top:-240px;border:1px solid rgba(185,244,95,.07);border-radius:50%;box-shadow:0 0 120px rgba(185,244,95,.035)}.recovery-hero>div:first-child{max-width:600px;position:relative;z-index:1}.recovery-hero .eyebrow,.automation-summary .eyebrow{display:flex;align-items:center;gap:8px}.recovery-hero h2{margin-bottom:10px;font-size:31px;letter-spacing:-.055em}.recovery-hero p{color:var(--muted);font-size:10px;line-height:1.6}.recovery-hero>div:first-child>div{display:flex;gap:7px}.recovery-orbit{width:110px;height:110px;margin-right:55px;position:relative;display:grid;place-items:center;border:1px solid rgba(185,244,95,.15);border-radius:50%}.recovery-orbit::before{content:"";width:76px;height:76px;position:absolute;border:1px solid rgba(185,244,95,.1);border-radius:50%}.recovery-orbit span{width:40px;height:40px;display:grid;place-items:center;color:#10150c;background:var(--accent);border-radius:50%;font-size:18px;font-weight:700}.recovery-orbit i{width:8px;height:8px;position:absolute;background:var(--green);border-radius:50%;box-shadow:0 0 14px var(--green)}.recovery-orbit i:nth-of-type(1){top:3px}.recovery-orbit i:nth-of-type(2){right:3px;bottom:24px;background:var(--blue)}.recovery-orbit i:nth-of-type(3){left:6px;bottom:20px;background:var(--purple)}
.recovery-list{margin-top:12px}.recovery-row{width:100%;min-height:68px;padding:9px 0;display:grid;grid-template-columns:32px minmax(140px,1.4fr) 1fr 1fr .7fr 70px 10px;align-items:center;gap:11px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;cursor:pointer}.recovery-row:hover{background:rgba(255,255,255,.014)}.recovery-row strong,.recovery-row small{display:block}.recovery-row strong{font-size:8px}.recovery-row small{margin-bottom:4px;color:var(--faint);font-size:6px}
.reviews-summary{margin-bottom:20px;display:grid;grid-template-columns:minmax(300px,.75fr) minmax(400px,1.25fr);gap:13px}.rating-card>strong{font-size:47px;letter-spacing:-.07em}.stars{color:var(--accent);letter-spacing:2px;font-size:12px}.rating-card>p:last-of-type{margin:7px 0 20px;color:var(--faint);font-size:8px}.rating-bars{display:grid;gap:7px}.rating-bars>div{display:grid;grid-template-columns:10px 1fr 15px;align-items:center;gap:8px;color:var(--faint);font-size:7px}.rating-bars i{height:3px;background:#252b27;border-radius:3px}.rating-bars b{height:100%;display:block;background:var(--accent);border-radius:3px}.review-performance{display:flex;flex-direction:column;justify-content:space-between}.performance-number{display:flex;align-items:center;gap:13px}.performance-number strong{font-size:44px;letter-spacing:-.07em}.performance-number span{color:var(--muted);font-size:8px;line-height:1.4}.review-performance>p{color:var(--muted);font-size:9px;line-height:1.6}.review-stats{padding-top:15px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}.review-stats strong,.review-stats span{display:block}.review-stats strong{margin-bottom:4px;font-size:14px}.review-stats span{color:var(--faint);font-size:7px}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.review-card{padding:19px}.review-card>div{display:flex;justify-content:space-between;align-items:center}.review-card blockquote{min-height:88px;margin:17px 0;color:#c6cdc7;font-size:10px;line-height:1.7}.review-card footer{padding-top:14px;display:flex;align-items:center;gap:9px;border-top:1px solid var(--line)}.review-card footer strong,.review-card footer small{display:block}.review-card footer strong{margin-bottom:3px;font-size:9px}.review-card footer small{color:var(--faint);font-size:7px}
.funnel{margin-top:20px;display:grid;gap:6px}.funnel>div{display:flex;justify-content:center}.funnel>div>span{height:41px;display:flex;align-items:center;justify-content:center;gap:7px;background:linear-gradient(90deg,rgba(185,244,95,.2),rgba(185,244,95,.06));border:1px solid rgba(185,244,95,.08);clip-path:polygon(4% 0,96% 0,100% 100%,0 100%)}.funnel b{font-size:11px}.funnel small{color:var(--muted);font-size:7px}.source-list,.page-list{margin-top:13px}.source-list>div{min-height:50px;display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:9px;border-bottom:1px solid var(--line)}.source-rank{color:var(--faint);font-size:7px}.source-list strong,.source-list small,.page-list strong,.page-list small{display:block}.source-list strong{font-size:9px}.source-list small,.page-list small{margin-top:4px;color:var(--faint);font-size:7px}.page-list>div{min-height:57px;display:grid;grid-template-columns:1fr 75px 90px;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.page-list>div>span:nth-child(2){text-align:right}.page-list i{height:3px;background:#262c28;border-radius:3px}.page-list b{height:100%;display:block;background:var(--green);border-radius:3px}
.ai-hero{min-height:220px;margin-bottom:14px;padding:30px;position:relative;display:flex;align-items:center;justify-content:space-between;overflow:hidden;background:linear-gradient(125deg,#15161b,#111516)}.ai-hero-copy{max-width:640px;position:relative;z-index:1}.ai-mark{width:32px;height:32px;margin-bottom:18px;display:grid;place-items:center;color:var(--purple);background:rgba(173,140,255,.1);border:1px solid rgba(173,140,255,.16);border-radius:10px}.ai-hero h2{margin-bottom:12px;font-size:29px;letter-spacing:-.055em}.ai-hero p:not(.eyebrow){color:var(--muted);font-size:10px;line-height:1.7}.ai-signal{width:140px;height:140px;margin-right:45px;position:relative;display:grid;place-items:center;border:1px solid rgba(173,140,255,.14);border-radius:50%}.ai-signal::before,.ai-signal::after{content:"";position:absolute;border:1px solid rgba(173,140,255,.09);border-radius:50%}.ai-signal::before{inset:16px}.ai-signal::after{inset:32px}.ai-signal span{width:64px;height:64px;z-index:1;display:grid;place-content:center;text-align:center;color:#eee9ff;background:#201c2b;border:1px solid rgba(173,140,255,.16);border-radius:50%;font-size:20px;font-weight:600}.ai-signal small{display:block;color:#8d7aad;font-size:6px;text-transform:uppercase;letter-spacing:.08em}.ai-signal i{width:5px;height:5px;position:absolute;background:var(--purple);border-radius:50%;box-shadow:0 0 12px var(--purple)}.ai-signal i:nth-child(1){top:5px}.ai-signal i:nth-child(2){right:5px;bottom:35px}.ai-signal i:nth-child(3){left:13px;bottom:21px}.ai-suggestion-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ai-suggestion-card{min-height:226px;padding:19px;display:flex;gap:13px}.ai-type{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;color:var(--purple);background:rgba(173,140,255,.09);border-radius:9px}.ai-type-opportunity{color:var(--red);background:rgba(255,125,117,.08)}.ai-type-draft{color:var(--blue);background:rgba(102,167,255,.08)}.ai-suggestion-card>div{display:flex;flex-direction:column}.confidence{display:flex;justify-content:space-between;gap:12px;color:var(--faint);font-size:6px;text-transform:uppercase;letter-spacing:.06em}.confidence strong{color:#837693}.ai-suggestion-card h3{margin:17px 0 8px;font-size:13px;letter-spacing:-.03em}.ai-suggestion-card p{flex:1;color:var(--muted);font-size:8px;line-height:1.65}.ai-suggestion-card button{align-self:flex-start}.ai-activity{margin-top:20px;padding:20px}.ai-activity>div:not(.card-heading){min-height:54px;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.ai-activity strong,.ai-activity small{display:block}.ai-activity strong{margin-bottom:4px;font-size:9px}.ai-activity small,.ai-activity time{color:var(--faint);font-size:7px}

/* Calendar, automations */
.calendar-layout{display:grid;grid-template-columns:minmax(650px,1.65fr) minmax(280px,.65fr);gap:13px}.month-calendar,.day-agenda{padding:20px}.calendar-title{margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.calendar-title>div{display:flex;align-items:center;gap:12px}.calendar-title h2{margin:0;font-size:16px}.calendar-title button:not(.button){width:28px;height:28px;border:1px solid var(--line);color:var(--muted);background:transparent;border-radius:8px;cursor:pointer}.month-grid{display:grid;grid-template-columns:repeat(7,1fr)}.month-head span{padding:8px;color:var(--faint);font-size:7px;text-transform:uppercase}.month-body{border-left:1px solid var(--line);border-top:1px solid var(--line)}.calendar-day,.muted-day{min-height:104px;padding:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.muted-day{background:rgba(0,0,0,.08)}.calendar-day>b{width:22px;height:22px;display:grid;place-items:center;color:var(--muted);font-size:8px}.calendar-day.today>b{color:#10140d;background:var(--accent);border-radius:50%}.calendar-event{width:100%;margin-top:6px;padding:6px;display:block;border:0;border-left:2px solid var(--purple);color:#c4bbc9;background:rgba(173,140,255,.07);border-radius:3px;text-align:left;cursor:pointer}.calendar-event strong,.calendar-event span{display:block}.calendar-event strong{font-size:6px}.calendar-event span{margin-top:3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:6px}.followup-event{margin-top:5px;padding:5px;display:block;color:#87acd9;background:rgba(102,167,255,.06);border-left:2px solid var(--blue);border-radius:3px;font-size:6px}.agenda-timeline{margin-top:17px}.agenda-timeline>div{min-height:78px;display:grid;grid-template-columns:43px 1fr;gap:7px}.agenda-timeline time{padding-top:2px;color:var(--faint);font-size:7px}.agenda-timeline>div>span{padding-left:14px;position:relative;border-left:1px solid var(--line)}.agenda-dot{width:7px;height:7px;position:absolute;left:-4px;top:3px;background:var(--accent);border:2px solid #121617;border-radius:50%}.agenda-dot.purple{background:var(--purple)}.agenda-dot.blue{background:var(--blue)}.agenda-timeline strong,.agenda-timeline small{display:block}.agenda-timeline strong{margin-bottom:5px;font-size:9px}.agenda-timeline small{color:var(--faint);font-size:7px}.agenda-foot{padding:11px;display:flex;gap:9px;background:rgba(173,140,255,.06);border:1px solid rgba(173,140,255,.1);border-radius:9px}.agenda-foot>span{color:var(--purple)}.agenda-foot p{margin:0;color:var(--muted);font-size:7px;line-height:1.5}.agenda-foot strong{margin-bottom:3px;display:block;color:#c9c0d5}
.automation-summary h2{margin-bottom:9px;font-size:25px;letter-spacing:-.05em}.automation-summary p{margin:0;color:var(--muted);font-size:9px}.automation-summary-stats{display:flex;gap:32px}.automation-summary-stats strong,.automation-summary-stats span{display:block}.automation-summary-stats strong{margin-bottom:5px;font-size:19px;letter-spacing:-.04em}.automation-summary-stats span{color:var(--faint);font-size:7px}.automation-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.automation-card{padding:19px}.automation-card header{display:grid;grid-template-columns:32px 1fr 27px;gap:9px;align-items:center}.automation-card header>.badge{justify-self:start}.automation-icon{width:31px;height:31px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft);border-radius:9px}.automation-card h3{margin:17px 0 9px;font-size:13px}.automation-card>p{color:var(--muted);font-size:8px}.automation-card>p span{margin-right:7px;color:var(--faint);font-size:6px;text-transform:uppercase}.automation-flow{min-height:46px;padding:8px;display:flex;align-items:center;gap:6px;background:rgba(0,0,0,.13);border:1px solid var(--line);border-radius:9px}.automation-flow span{flex:1;display:flex;align-items:center;gap:5px;color:#aeb6b0;font-size:6px}.automation-flow span i{width:15px;height:15px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft);border-radius:4px;font-style:normal}.automation-flow>b{color:var(--faint);font-size:7px}.automation-card footer{margin-top:14px;padding-top:12px;display:flex;gap:18px;border-top:1px solid var(--line);color:var(--faint);font-size:7px}.automation-card footer strong{color:#aeb6b0}.automation-card footer time{margin-left:auto}

/* Website studio */
.publish-state{border-radius:10px}.publish-state strong,.publish-state small{display:block}.publish-state strong{font-size:8px}.publish-state small{margin-top:2px;color:var(--faint);font-size:6px}.website-tabs{margin-bottom:13px;padding:3px;display:inline-flex;background:rgba(255,255,255,.025);border:1px solid var(--line);border-radius:9px}.website-tabs button{min-height:31px;padding:0 13px;border:0;color:var(--muted);background:transparent;border-radius:6px;cursor:pointer;font-size:8px;font-weight:600}.website-tabs button.active{color:var(--text);background:#242a27}.studio-layout{display:grid;grid-template-columns:390px minmax(0,1fr);gap:13px;align-items:start}.studio-controls{padding:19px;max-height:calc(100vh - 190px);position:sticky;top:94px;overflow:auto}.studio-title{padding-bottom:14px;display:flex;justify-content:space-between;border-bottom:1px solid var(--line)}.studio-title h2{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.control-section{padding:16px 0;border-bottom:1px solid var(--line)}.control-section h3{margin-bottom:14px;font-size:9px}.control-section label{display:block;margin-bottom:12px}.control-section textarea{min-height:66px;padding-top:10px;resize:vertical}.control-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 10px}.color-input{height:37px;padding:4px 8px 4px 4px;display:flex;align-items:center;gap:6px;border:1px solid var(--line-strong);background:rgba(0,0,0,.16);border-radius:9px}.color-input input[type=color]{width:28px;min-height:27px;padding:0;border:0;background:transparent}.color-input input[type=text]{min-height:25px;padding:0;border:0;background:transparent;font-family:ui-monospace,monospace;font-size:7px}.range-control{min-height:37px;display:flex;align-items:center;gap:8px}.range-control input{min-height:auto;padding:0;accent-color:var(--accent)}.range-control output{color:var(--muted);font-size:7px}.advanced-panel{padding:15px 0;border-bottom:1px solid var(--line)}.advanced-panel summary{display:flex;justify-content:space-between;cursor:pointer;font-size:9px;font-weight:600}.code-editor{width:100%;min-height:100px;margin-top:12px;padding:11px;resize:vertical;color:#c8e4bc;background:#090c0d;border:1px solid var(--line);border-radius:9px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:7px;line-height:1.6}.advanced-panel small{margin-top:6px;display:block;color:var(--faint);font-size:6px}.studio-actions{padding-top:16px;display:grid;grid-template-columns:1fr auto auto;gap:7px;align-items:center}.studio-actions strong,.studio-actions small{display:block}.studio-actions strong{font-size:8px}.studio-actions small{margin-top:3px;color:var(--faint);font-size:6px}.studio-preview{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#0d1011}.studio-preview>header{height:47px;padding:0 15px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid var(--line)}.studio-preview>header>div{display:flex;gap:5px}.preview-dot{width:6px;height:6px;background:#3a403c;border-radius:50%}.studio-preview>header>strong{text-align:center;font-size:8px}.studio-preview>header>select{justify-self:end;padding:6px 8px;color:var(--muted);border:1px solid var(--line);background:#15191a;border-radius:7px;font-size:7px}.preview-stage{min-height:670px;padding:24px;overflow:auto;background:#070909}.preview-site{min-width:640px;min-height:610px;padding:22px 27px;position:relative;overflow:hidden;background:radial-gradient(circle at 20% 30%,rgba(185,244,95,.11),transparent 28%),linear-gradient(135deg,#111811,#141718 52%,#0a0d0c);border-radius:12px}.preview-site::before{content:"";width:360px;height:360px;position:absolute;left:44%;bottom:-170px;border:70px solid rgba(143,172,106,.06);border-radius:50%}.preview-site nav{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:2;color:#bfc8bc;font-size:7px}.preview-site nav>span:first-child{font-size:11px;letter-spacing:.14em;font-weight:700}.preview-site nav button{padding:7px 10px;color:#11150e;background:#d9f6b0;border:0;border-radius:4px;font-size:6px}.preview-copy{max-width:330px;margin-top:105px;position:relative;z-index:1}.preview-copy p{margin-bottom:10px;color:#a2bd87;font-size:7px;text-transform:uppercase;letter-spacing:.14em}.preview-copy h2{font-size:40px;line-height:1.02;letter-spacing:-.06em;font-weight:500}.widget-preview{width:330px;padding:20px;position:absolute;right:35px;top:100px;z-index:3;color:var(--widget-text);background:var(--widget-bg);border:1px solid rgba(255,255,255,.1);border-radius:var(--widget-radius);box-shadow:0 30px 70px rgba(0,0,0,.45)}.widget-progress{margin-bottom:18px;display:grid;grid-template-columns:repeat(3,1fr) auto;gap:4px;align-items:center}.widget-progress i{height:2px;background:rgba(255,255,255,.1);border-radius:2px}.widget-progress i:first-child{background:var(--widget-accent)}.widget-progress span{margin-left:6px;color:#66706a;font-size:5px}.widget-preview>p{margin-bottom:7px;color:var(--widget-accent);font-size:6px;letter-spacing:.12em}.widget-preview h3{margin-bottom:19px;font-size:18px;letter-spacing:-.04em}.widget-preview label{margin-bottom:12px;display:block;color:#a7b0aa;font-size:6px}.widget-preview select{width:100%;height:36px;margin-top:6px;padding:0 9px;color:var(--widget-text);border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.18);border-radius:calc(var(--widget-radius) * .45);font-size:7px}.widget-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.widget-preview>button{width:100%;height:38px;margin-top:3px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;color:#11150e;background:var(--widget-accent);border:1px solid var(--widget-accent);border-radius:calc(var(--widget-radius) * .5);font-size:8px;font-weight:700}.widget-preview[data-button-style=outline]>button{color:var(--widget-accent);background:transparent}.widget-preview[data-button-style=soft]>button{color:var(--widget-accent);background:color-mix(in srgb,var(--widget-accent) 13%,transparent);border-color:color-mix(in srgb,var(--widget-accent) 30%,transparent)}.widget-preview>small{margin-top:12px;display:block;color:#55605a;text-align:center;font-size:5px}.mobile-preview .preview-site{min-width:390px;width:390px;margin:auto}.mobile-preview .widget-preview{width:310px;right:40px;top:190px}.mobile-preview .preview-copy{margin-top:70px}.mobile-preview .preview-copy h2{font-size:31px}.theme-panel{min-height:360px;padding:36px;display:grid;grid-template-columns:1fr 1fr;gap:50px}.theme-panel h2,.install-card h2,.developer-card h2{font-size:25px;letter-spacing:-.05em}.theme-panel p:not(.eyebrow),.install-card>p,.developer-card>p{color:var(--muted);font-size:9px;line-height:1.7}.theme-settings{display:grid;gap:14px}.theme-settings label>span{margin-bottom:7px;display:block;color:var(--muted);font-size:8px}.theme-settings select{width:100%;height:42px;padding:0 11px;color:var(--text);border:1px solid var(--line);background:#0d1011;border-radius:9px;font-size:9px}.install-panel{display:grid;grid-template-columns:1fr 1fr;gap:13px}.install-card,.developer-card{padding:28px}.code-block{margin:20px 0;border:1px solid var(--line);background:#090c0d;border-radius:10px;overflow:hidden}.code-block>div{height:35px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:var(--faint);font-size:7px}.code-block button{border:0;color:var(--accent);background:transparent;cursor:pointer;font-size:7px}.code-block pre{margin:0;padding:16px;overflow:auto;color:#c9e3c0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px;line-height:1.7}.install-check{padding:12px;display:flex;align-items:center;gap:10px;background:rgba(117,216,164,.06);border:1px solid rgba(117,216,164,.12);border-radius:9px}.install-check>span{width:28px;height:28px;display:grid;place-items:center;color:var(--green);background:rgba(117,216,164,.1);border-radius:8px}.install-check strong,.install-check small{display:block}.install-check strong{margin-bottom:3px;font-size:8px}.install-check small{color:var(--faint);font-size:7px}.developer-links{display:flex;gap:8px}.developer-links button{padding:8px 10px;color:var(--muted);border:1px solid var(--line);background:transparent;border-radius:7px;cursor:pointer;font-size:7px}

/* Settings, overlays and feedback */
.settings-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:13px}.settings-nav{height:max-content;padding:7px;position:sticky;top:95px;display:grid;gap:2px}.settings-nav button{height:37px;padding:0 10px;border:0;color:var(--muted);background:transparent;border-radius:8px;text-align:left;cursor:pointer;font-size:8px}.settings-nav button.active{color:var(--text);background:rgba(255,255,255,.05)}.settings-content{display:grid;gap:13px}.settings-form{margin-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.settings-actions{margin-top:20px;padding-top:15px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line)}.settings-actions>span{color:var(--faint);font-size:7px}.integration-list{margin-top:13px}.integration-list>div{min-height:59px;display:grid;grid-template-columns:34px 1fr auto 28px;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.integration-icon{width:32px;height:32px;display:grid;place-items:center;color:#bec5c0;background:#242a27;border:1px solid var(--line);border-radius:9px;font-weight:700}.integration-list strong,.integration-list small{display:block}.integration-list strong{margin-bottom:4px;font-size:9px}.integration-list small{color:var(--faint);font-size:7px}
.drawer-backdrop,.modal-backdrop{position:fixed;z-index:80;inset:0;background:rgba(0,0,0,.56);opacity:0;backdrop-filter:blur(3px);transition:.22s}.drawer-backdrop.is-open,.modal-backdrop.is-open{opacity:1}.drawer{width:min(580px,calc(100vw - 25px));height:100vh;position:fixed;z-index:90;right:0;top:0;transform:translateX(102%);background:#0f1314;border-left:1px solid var(--line-strong);box-shadow:-20px 0 60px rgba(0,0,0,.3);overflow:auto;transition:transform .25s cubic-bezier(.25,.8,.25,1)}.drawer.is-open{transform:translateX(0)}.drawer-header{padding:25px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line)}.drawer-header h2{margin-bottom:6px;font-size:23px;letter-spacing:-.05em}.drawer-header p:last-child{margin:0;color:var(--muted);font-size:9px}.drawer-close{width:33px;height:33px;border:1px solid var(--line);color:var(--muted);background:transparent;border-radius:9px;cursor:pointer;font-size:17px}.lead-hero{padding:25px;display:grid;grid-template-columns:52px 1fr;gap:14px;border-bottom:1px solid var(--line)}.lead-avatar{width:50px;height:50px;display:grid;place-items:center;color:#11150d;background:var(--accent);border-radius:13px;font-size:12px;font-weight:800}.lead-score{display:flex;align-items:center;gap:10px}.lead-score>strong{width:40px;height:40px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft);border:1px solid rgba(185,244,95,.14);border-radius:10px;font-size:15px}.lead-score.score-hot>strong{color:var(--red);background:rgba(255,125,117,.08);border-color:rgba(255,125,117,.14)}.lead-score b,.lead-score small{display:block}.lead-score b{margin-bottom:3px;font-size:9px}.lead-score small{color:var(--faint);font-size:7px}.lead-hero p{margin:15px 0 0;color:var(--muted);font-size:9px;line-height:1.7}.drawer-section{padding:21px 25px;border-bottom:1px solid var(--line)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.detail-grid span,.detail-grid strong,.detail-grid a{display:block}.detail-grid span{margin-bottom:5px;color:var(--faint);font-size:7px}.detail-grid strong,.detail-grid a{font-size:9px}.detail-grid a:hover{color:var(--accent)}.drawer-section-heading{margin-bottom:14px;display:flex;justify-content:space-between;align-items:center}.drawer-section-heading h3{margin:0;font-size:11px}.drawer-section-heading>span{color:var(--orange);font-size:7px}.lead-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.drawer-section textarea{min-height:85px;padding-top:11px;resize:vertical}.drawer-section>label{margin-top:12px;display:block}.lead-timeline>div{min-height:50px;display:grid;grid-template-columns:29px 1fr auto;align-items:center;gap:9px}.lead-timeline strong,.lead-timeline small{display:block}.lead-timeline strong{margin-bottom:4px;font-size:8px}.lead-timeline small,.lead-timeline time{color:var(--faint);font-size:7px}.drawer-footer{padding:16px 25px;display:flex;justify-content:flex-end;gap:7px;position:sticky;bottom:0;background:rgba(15,19,20,.95);border-top:1px solid var(--line);backdrop-filter:blur(12px)}.drawer-loading{padding:30px}.drawer-error{height:100%;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.drawer-error .drawer-close{position:absolute;right:20px;top:20px}.drawer-error h2{font-size:22px}.drawer-error p{color:var(--muted);line-height:1.6}
.modal{width:min(500px,calc(100vw - 28px));max-height:calc(100vh - 40px);position:fixed;z-index:100;left:50%;top:50%;transform:translate(-50%,-48%) scale(.97);opacity:0;background:#121617;border:1px solid var(--line-strong);border-radius:17px;box-shadow:var(--shadow);overflow:auto;transition:.2s}.modal.is-open{transform:translate(-50%,-50%) scale(1);opacity:1}.modal-header{padding:23px;display:flex;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-header h2{margin-bottom:7px;font-size:21px;letter-spacing:-.045em}.modal-header p:last-child{margin:0;color:var(--muted);font-size:8px;line-height:1.5}.modal-header>button{width:31px;height:31px;border:1px solid var(--line);color:var(--muted);background:transparent;border-radius:8px;cursor:pointer}.modal-body{padding:22px}.modal-form{display:grid;gap:14px}.modal-form textarea{min-height:100px;padding-top:11px;resize:vertical}.modal-footer{padding:14px 22px;display:flex;justify-content:flex-end;gap:7px;border-top:1px solid var(--line)}
.toast-stack{width:min(360px,calc(100vw - 30px));position:fixed;z-index:160;right:18px;bottom:18px;display:grid;gap:8px}.toast{min-height:58px;padding:11px 11px 11px 12px;display:grid;grid-template-columns:31px 1fr 25px;align-items:center;gap:9px;transform:translateY(12px);opacity:0;background:#171b1c;border:1px solid var(--line-strong);border-radius:12px;box-shadow:var(--shadow);transition:.22s}.toast.is-visible{transform:translateY(0);opacity:1}.toast-icon{width:29px;height:29px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft);border-radius:8px}.toast-info .toast-icon{color:var(--blue);background:rgba(102,167,255,.09)}.toast-warning .toast-icon{color:var(--orange);background:rgba(255,184,107,.09)}.toast strong,.toast small{display:block}.toast strong{margin-bottom:3px;font-size:9px}.toast small{color:var(--muted);font-size:7px;line-height:1.4}.toast button{border:0;color:var(--faint);background:transparent;cursor:pointer}
.command-palette{position:fixed;z-index:150;inset:0;padding-top:12vh;background:rgba(0,0,0,.58);opacity:0;backdrop-filter:blur(5px);transition:.16s}.command-palette.is-open{opacity:1}.command-inner{width:min(560px,calc(100vw - 30px));margin:auto;background:#131718;border:1px solid var(--line-strong);border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.command-inner>label{height:55px;padding:0 15px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.command-inner input{flex:1;border:0;outline:0;color:var(--text);background:transparent;font-size:11px}.command-results{padding:7px}.command-results button{width:100%;height:45px;padding:0 10px;display:grid;grid-template-columns:26px 1fr auto 20px;align-items:center;gap:8px;border:0;color:var(--muted);background:transparent;border-radius:8px;text-align:left;cursor:pointer}.command-results button:hover,.command-results button.active{color:var(--text);background:rgba(255,255,255,.045)}.command-results button>span{color:var(--accent);text-align:center}.command-results strong{font-size:9px}.command-results small{color:var(--faint);font-size:7px}.command-results b{color:var(--faint);font-size:8px}.command-inner>footer{height:37px;padding:0 13px;display:flex;align-items:center;gap:14px;color:var(--faint);background:rgba(0,0,0,.14);border-top:1px solid var(--line);font-size:7px}.command-inner>footer span{display:flex;align-items:center;gap:4px}
.error-state{min-height:420px;padding:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.error-state h2{margin-bottom:9px;font-size:24px}.error-state>p:not(.eyebrow){max-width:420px;color:var(--muted);line-height:1.6}.empty-state{min-height:210px;padding:25px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-icon{width:38px;height:38px;margin-bottom:13px;display:grid;place-items:center;color:var(--muted);background:rgba(255,255,255,.04);border-radius:10px}.empty-state h3{margin-bottom:7px;font-size:13px}.empty-state p{color:var(--muted);font-size:8px}.muted{color:var(--muted)}
.skeleton{display:block;position:relative;overflow:hidden;background:#1c2120;border-radius:7px}.skeleton::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.045),transparent);animation:shimmer 1.4s infinite}@keyframes shimmer{100%{transform:translateX(100%)}}.sk-line{width:100%;height:10px;margin-bottom:10px}.sk-short{width:90px;height:7px}.sk-title{width:220px;height:24px}.sk-number{width:130px;height:31px;margin-top:19px}.sk-button{width:110px;height:38px}.sk-chart{height:235px;margin-top:25px}.sk-row{height:43px;margin-top:10px}.sk-avatar{width:50px;height:50px;border-radius:13px}
.mobile-nav{display:none}

@media (max-width: 1180px) {
    :root{--sidebar:218px}.view-shell{padding-inline:22px}.app-header{padding-inline:22px}.dashboard-grid-main{grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr)}.attention-card{grid-template-columns:31px 1fr}.attention-card button{grid-column:2;text-align:left}.metric-card{padding:16px}.review-grid,.ai-suggestion-grid{grid-template-columns:repeat(2,1fr)}.review-card:last-child{display:none}.studio-layout{grid-template-columns:350px minmax(0,1fr)}.widget-preview{right:24px}.calendar-layout{grid-template-columns:minmax(570px,1.5fr) minmax(250px,.7fr)}
}

@media (max-width: 930px) {
    :root{--header:66px}.sidebar{width:260px;transform:translateX(-102%);box-shadow:20px 0 55px rgba(0,0,0,.35);transition:transform .23s}.sidebar.is-open{transform:translateX(0)}.sidebar-close{display:grid}.sidebar-overlay{display:block;position:fixed;z-index:35;inset:0;background:rgba(0,0,0,.55);opacity:0;visibility:hidden;backdrop-filter:blur(3px);transition:.2s}.sidebar-overlay.is-open{opacity:1;visibility:visible}.shell{margin-left:0}.menu-button{display:grid}.profile-copy{display:none}.search-button{width:170px}.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.dashboard-grid-main{grid-template-columns:1fr}.attention-grid{grid-template-columns:1fr}.attention-card{grid-template-columns:33px 1fr auto}.attention-card button{grid-column:auto}.schedule-layout{grid-template-columns:1fr}.availability-card{display:none}.chat-layout{grid-template-columns:260px minmax(0,1fr)}.reviews-summary{grid-template-columns:1fr 1fr}.calendar-layout{grid-template-columns:1fr}.day-agenda{display:none}.studio-layout{grid-template-columns:1fr}.studio-controls{max-height:none;position:static}.studio-preview{min-height:600px}.theme-panel{grid-template-columns:1fr}.install-panel{grid-template-columns:1fr}.settings-layout{grid-template-columns:1fr}.settings-nav{position:static;display:flex;overflow:auto}.settings-nav button{white-space:nowrap}.automation-summary{align-items:flex-start;flex-direction:column;gap:25px}.app-view{padding-bottom:62px}.mobile-nav{height:60px;padding:5px 8px max(5px,env(safe-area-inset-bottom));position:fixed;z-index:30;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);background:rgba(11,14,15,.94);border-top:1px solid var(--line);backdrop-filter:blur(18px)}.mobile-nav a,.mobile-nav button{display:grid;place-items:center;gap:1px;border:0;color:#68716c;background:transparent;font-size:14px;cursor:pointer}.mobile-nav small{font-size:7px}.mobile-nav a.active{color:var(--accent)}.toast-stack{bottom:73px}
}

@media (max-width: 680px) {
    .auth-layout{display:block}.auth-story{display:none}.auth-panel-wrap{min-height:100vh;padding:20px}.auth-panel{padding:28px 22px}.mobile-brand{margin-bottom:28px;display:block;font-size:23px;font-weight:700;letter-spacing:-.06em}.app-header{padding:0 13px}.breadcrumb span{display:none}.header-actions{gap:5px}.search-button{width:37px;padding:0;justify-content:center}.search-button span:nth-child(2),.search-button kbd{display:none}.profile-button{padding:3px}.profile-button>span:last-child{display:none}.notification-button{width:35px}.view-shell{padding:21px 13px 40px}.view-heading{min-height:0;margin-bottom:20px;align-items:flex-start}.view-heading h1{font-size:26px}.view-heading>div:first-child>p:last-child{font-size:10px}.view-heading>.button{min-width:40px;padding:0 12px;font-size:0}.view-heading>.button span{font-size:16px}.view-heading>.live-pill,.view-heading>.publish-state{display:none}.metric-grid{grid-template-columns:1fr 1fr;gap:8px}.metric-card{min-height:111px;padding:14px}.metric-card>strong{font-size:24px}.dashboard-grid{gap:9px}.chart-card,.pipeline-card,.activity-card,.upcoming-card,.table-card,.bookings-list-card,.availability-card,.rating-card,.review-performance,.funnel-card,.settings-card{padding:15px}.line-chart{height:190px}.pipeline-visual{min-height:190px}.section-title{margin-top:24px}.working-grid{grid-template-columns:1fr;gap:8px}.working-card{min-height:90px}.attention-card{grid-template-columns:31px 1fr}.attention-card button{grid-column:2}.table-card{margin-inline:-13px;border-radius:0;border-inline:0}.table-toolbar{padding-inline:0;align-items:flex-start;flex-direction:column}.segment-control{max-width:100%;overflow:auto}.table-tools{width:100%}.table-search{flex:1}.table-scroll{margin-inline:-15px}.table-footer{display:none}.schedule-layout{margin-inline:-13px}.bookings-list-card{border-radius:0;border-inline:0}.booking-row{grid-template-columns:43px 60px minmax(130px,1fr) 65px}.booking-row>.staff-avatar{display:none}.booking-details small{max-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chat-page{padding-inline:0}.chat-page>.view-heading{padding-inline:13px}.chat-layout{min-height:calc(100vh - 160px);border-radius:0;border-inline:0;grid-template-columns:1fr}.conversation-sidebar{display:none}.message{max-width:85%}.message-history{padding:16px}.ai-suggestion{grid-template-columns:18px 1fr}.ai-suggestion button{display:none}.recovery-hero{min-height:210px;padding:22px}.recovery-orbit{display:none}.recovery-hero h2{font-size:27px}.recovery-row{grid-template-columns:31px 1fr auto}.recovery-row>span:nth-child(n+3):not(.badge){display:none}.reviews-summary{grid-template-columns:1fr}.review-performance{display:none}.review-grid{grid-template-columns:1fr}.review-card:last-child{display:block}.ai-hero{padding:23px}.ai-signal{display:none}.ai-hero h2{font-size:24px}.ai-suggestion-grid{grid-template-columns:1fr}.automation-summary{padding:22px}.automation-summary-stats{width:100%;gap:0;justify-content:space-between}.automation-grid{grid-template-columns:1fr}.automation-flow{overflow:auto}.calendar-layout{margin-inline:-13px}.month-calendar{padding:13px;border-radius:0;border-inline:0}.calendar-day,.muted-day{min-height:72px;padding:4px}.calendar-event{padding:4px}.calendar-event span,.calendar-event strong{font-size:5px}.followup-event{font-size:0;height:14px}.install-card,.developer-card{padding:20px}.studio-layout{margin-inline:-13px}.studio-controls,.studio-preview{border-radius:0;border-inline:0}.studio-actions{grid-template-columns:1fr 1fr}.studio-actions>span{grid-column:1/-1}.preview-stage{padding:12px}.preview-site{min-width:620px}.theme-panel{padding:22px}.settings-form{grid-template-columns:1fr}.settings-actions{align-items:flex-end;gap:12px}.notifications-popover{width:calc(100vw - 20px);right:10px;top:59px}.popover::before{right:54px}.profile-popover{right:10px}.profile-popover::before{right:10px}.drawer{width:100vw}.drawer-header,.lead-hero,.drawer-section{padding-inline:19px}.detail-grid{gap:14px}.drawer-footer{padding-inline:19px}.command-palette{padding-top:8vh}.toast-stack{right:10px;width:calc(100vw - 20px)}
}

@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
