/* ============================================
   Sahm CRM — Design System
   ============================================ */

/* Design tokens */
:root {
    /* Brand */
    --teal: #00C4B3;
    --green: #00E676;
    --blue: #2196F3;
    --gradient: linear-gradient(135deg, var(--teal) 0%, var(--green) 50%, var(--blue) 100%);
    --gradient-soft: linear-gradient(135deg, rgba(0,196,179,0.15), rgba(0,230,118,0.1), rgba(33,150,243,0.15));

    /* Dark UI */
    --bg: #05080f;
    --bg-2: #0a1220;
    --bg-3: #0f1a2e;
    --surface: #111c33;
    --surface-2: #172442;
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.14);

    /* Text */
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Accents */
    --danger: #ef4444;
    --warn: #f59e0b;
    --info: #3b82f6;

    /* Shadows */
    --glow: 0 0 40px rgba(0, 196, 179, 0.15);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.3);

    /* Spacing */
    --sidebar-w: 260px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-sm: 8px;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;

    /* Subtle aurora background */
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0,196,179,0.12), transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(33,150,243,0.08), transparent 60%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(0,230,118,0.06), transparent 60%);
    background-attachment: fixed;
}

body.en { font-family: 'IBM Plex Sans', -apple-system, sans-serif; }
body.zh { font-family: 'Noto Sans SC', 'IBM Plex Sans', sans-serif; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select {
    font-family: inherit; font-size: inherit;
    background: var(--bg-2); color: var(--text);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 10px 14px; outline: none;
    transition: all 0.2s;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,196,179,0.1);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    position: fixed;
    top: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
    border-inline-end: 1px solid var(--border);
    display: flex; flex-direction: column;
    z-index: 10;
    overflow-y: auto;
}
html[dir="rtl"] .sidebar { right: 0; }
html[dir="ltr"] .sidebar { left: 0; }

.sidebar-brand {
    display: flex; align-items: center; gap: 12px;
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
}
.brand-logo { flex-shrink: 0; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: -0.5px; }
.brand-tag { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.sidebar-nav {
    flex: 1;
    padding: 14px 10px;
    display: flex; flex-direction: column; gap: 2px;
}

.nav-divider {
    height: 1px; background: var(--border);
    margin: 10px 10px; opacity: 0.6;
}

.nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 500; font-size: 13.5px;
    transition: all 0.15s;
    position: relative;
}
.nav-item:hover {
    background: var(--surface);
    color: var(--text);
}
.nav-item.active {
    background: var(--gradient-soft);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--border-strong);
}
.nav-item.active::before {
    content: '';
    position: absolute;
    top: 8px; bottom: 8px;
    width: 3px;
    background: var(--gradient);
    border-radius: 3px;
}
html[dir="rtl"] .nav-item.active::before { right: 0; }
html[dir="ltr"] .nav-item.active::before { left: 0; }

.nav-item i { width: 18px; height: 18px; flex-shrink: 0; }
.nav-item span { flex: 1; }
.nav-count {
    background: var(--surface-2);
    color: var(--text-dim);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px; font-weight: 600;
}
.nav-item.active .nav-count { background: var(--teal); color: #000; }

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 12px;
}

.lang-switcher {
    display: flex; gap: 4px;
    background: var(--bg);
    padding: 4px;
    border-radius: var(--radius-sm);
}
.lang-btn {
    flex: 1;
    padding: 6px 0;
    text-align: center;
    border-radius: 6px;
    font-size: 12px; font-weight: 600;
    color: var(--text-muted);
    transition: all 0.15s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--gradient); color: #000; }

.user-badge {
    display: flex; align-items: center; gap: 10px;
    padding: 8px;
    background: var(--surface);
    border-radius: var(--radius-sm);
}
.user-avatar {
    width: 34px; height: 34px;
    background: var(--gradient);
    border-radius: 50%;
    display: grid; place-items: center;
    color: #000; font-weight: 700;
}
.user-name { font-size: 13px; font-weight: 600; }
.user-role { font-size: 11px; color: var(--text-muted); }

/* ============================================
   MAIN
   ============================================ */
.main {
    min-height: 100vh;
}
html[dir="rtl"] .main { margin-right: var(--sidebar-w); }
html[dir="ltr"] .main { margin-left: var(--sidebar-w); }

.page {
    padding: 32px;
    max-width: 1600px;
    margin: 0 auto;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: center;
    padding: 40px 40px;
    background: linear-gradient(135deg, rgba(0,196,179,0.04) 0%, rgba(33,150,243,0.04) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    min-height: 440px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0,196,179,0.15), transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(33,150,243,0.1), transparent 50%);
    pointer-events: none;
}

.hero-left { position: relative; z-index: 1; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,230,118,0.1);
    border: 1px solid rgba(0,230,118,0.25);
    color: var(--green);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px; font-weight: 600;
    margin-bottom: 20px;
}
.live-dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 var(--green);
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0,230,118,0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(0,230,118,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,230,118,0); }
}

.hero-title {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 12px;
}
.hero-title::first-letter { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-stats {
    display: flex; gap: 32px;
    margin-bottom: 24px;
}
.hero-stat { }
.hs-value {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
    line-height: 1;
}
.hs-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

.hero-cta { display: flex; gap: 12px; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 24px;
    background: var(--gradient);
    color: #000;
    font-weight: 600; font-size: 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(0,196,179,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(0,196,179,0.5); }
.btn-primary i { width: 16px; height: 16px; }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 500;
    transition: all 0.15s;
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }

/* Globe */
.hero-right {
    position: relative;
    height: 400px;
    z-index: 1;
}
#globe-container {
    position: relative;
    width: 100%;
    height: 100%;
}
#globe {
    width: 100% !important;
    height: 100% !important;
    cursor: grab;
}
#globe:active { cursor: grabbing; }

.globe-overlay {
    position: absolute;
    bottom: 20px;
    inset-inline-start: 20px;
    background: rgba(10,18,32,0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    pointer-events: none;
}
.gs-num {
    font-size: 22px; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gs-label {
    font-size: 11px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.5px;
}

/* ============================================
   WEEKLY GOAL
   ============================================ */
.weekly-section { margin-bottom: 24px; }
.goal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex; gap: 28px; align-items: center;
    position: relative;
    overflow: hidden;
}
.goal-card::before {
    content: '';
    position: absolute;
    top: 0; inset-inline-end: 0;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0,230,118,0.08), transparent 70%);
    pointer-events: none;
}

.goal-ring-wrap {
    position: relative;
    flex-shrink: 0;
    width: 120px; height: 120px;
}
.goal-ring {
    transform: rotate(0deg);
}
.ring-progress { transition: stroke-dashoffset 1.5s ease-out; }
.goal-ring-text {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    text-align: center;
}
.grt-num {
    font-size: 28px; font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grt-label {
    font-size: 10px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.5px;
}

.goal-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.goal-motivation { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.goal-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.goal-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px; font-weight: 500;
    color: var(--text-muted);
}
.goal-pill i { width: 12px; height: 12px; }
.goal-pill.warn { color: var(--warn); border-color: rgba(245,158,11,0.3); }

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
}
.stat-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.sc-icon {
    width: 40px; height: 40px;
    background: rgba(0,196,179,0.1);
    color: var(--teal);
    border-radius: 10px;
    display: grid; place-items: center;
    margin-bottom: 14px;
}
.sc-icon i { width: 20px; height: 20px; }
.sc-icon.orange { background: rgba(245,158,11,0.1); color: var(--warn); }
.sc-icon.green { background: rgba(0,230,118,0.1); color: var(--green); }
.sc-icon.blue { background: rgba(33,150,243,0.1); color: var(--blue); }
.sc-value {
    font-size: 30px; font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.sc-label {
    font-size: 12px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px;
}

/* ============================================
   PANELS
   ============================================ */
.card.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.panel-head {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.panel-head h3 {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; font-weight: 600;
}
.panel-head h3 i { width: 18px; height: 18px; color: var(--teal); }
.panel-head .link {
    font-size: 12px; color: var(--text-muted);
    transition: color 0.15s;
}
.panel-head .link:hover { color: var(--teal); }
.panel-body { padding: 14px 22px 22px; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.panel-full { margin-bottom: 24px; }

/* Priority list */
.priority-list { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 14px; }
.priority-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}
.priority-item:hover { background: var(--bg-2); }
.pi-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 700; font-size: 16px;
    flex-shrink: 0;
}
.pi-body { flex: 1; min-width: 0; }
.pi-name {
    font-weight: 600; font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pi-meta {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-muted);
}
.pi-dot { opacity: 0.5; }
.status-pill {
    background: color-mix(in srgb, var(--c) 18%, transparent);
    color: var(--c);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 11px; font-weight: 600;
}
.pi-arrow { width: 16px; height: 16px; color: var(--text-dim); opacity: 0.6; }

/* Timeline */
.timeline { padding: 8px 10px 14px; }
.timeline-item {
    display: flex; gap: 14px;
    padding: 12px 12px;
    border-radius: var(--radius-sm);
    position: relative;
}
.ti-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
    box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--border);
}
.ti-body { flex: 1; min-width: 0; }
.ti-top {
    display: flex; justify-content: space-between; align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.ti-top strong { font-size: 13px; font-weight: 600; }
.ti-time { font-size: 11px; color: var(--text-dim); }
.ti-summary { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}

/* Category cards grid */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    padding: 20px 22px;
}
.cat-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    transition: all 0.15s;
    position: relative;
}
.cat-card:hover {
    transform: translateY(-2px);
    border-color: var(--teal);
    box-shadow: 0 8px 24px rgba(0,196,179,0.1);
}
.cc-icon {
    width: 40px; height: 40px;
    background: var(--gradient-soft);
    border-radius: 10px;
    display: grid; place-items: center;
    margin-bottom: 12px;
    color: var(--teal);
}
.cc-icon i { width: 20px; height: 20px; }
.cc-name {
    font-weight: 600; font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.3;
}
.cc-stats {
    display: flex; align-items: baseline; gap: 8px;
    margin-bottom: 10px;
}
.cc-total {
    font-size: 22px; font-weight: 700;
    letter-spacing: -0.5px;
}
.cc-progress {
    font-size: 11px; color: var(--warn);
}
.cc-bar {
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.cc-bar-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* ============================================
   ENTITIES LIST PAGE
   ============================================ */
.page-header {
    display: flex; justify-content: space-between; align-items: start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}
.page-title-group h1 {
    font-size: 28px; font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}
.page-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

.filter-bar {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-bottom: 20px;
}
.filter-bar input, .filter-bar select {
    min-width: 160px;
}
.filter-bar input[type="search"] {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.entity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.entity-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition: all 0.2s;
    position: relative;
}
.entity-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.ec-top {
    display: flex; gap: 12px; align-items: center;
    margin-bottom: 12px;
}
.ec-avatar {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: grid; place-items: center;
    font-weight: 700; font-size: 18px;
    flex-shrink: 0;
}
.ec-info { flex: 1; min-width: 0; }
.ec-name {
    font-weight: 600; font-size: 15px;
    margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ec-sector {
    font-size: 12px; color: var(--text-muted);
}
.ec-priority-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ec-progress-wrap {
    margin-bottom: 12px;
}
.ec-progress-top {
    display: flex; justify-content: space-between;
    font-size: 11px; color: var(--text-muted);
    margin-bottom: 6px;
}
.ec-progress-bar {
    height: 6px;
    background: var(--bg);
    border-radius: 3px;
    overflow: hidden;
}
.ec-progress-fill {
    height: 100%;
    background: var(--gradient);
    transition: width 1s ease-out;
}

.ec-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.ec-city {
    font-size: 12px; color: var(--text-muted);
    display: flex; align-items: center; gap: 4px;
}
.ec-city i { width: 12px; height: 12px; }

/* Entity detail page */
.entity-header {
    display: flex; gap: 20px; align-items: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}
.entity-logo {
    width: 80px; height: 80px;
    border-radius: 16px;
    flex-shrink: 0;
    display: grid; place-items: center;
    font-size: 32px; font-weight: 700;
}
.entity-meta { flex: 1; }
.entity-name {
    font-size: 26px; font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.entity-badges {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-top: 10px;
}
.badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px; font-weight: 600;
}

/* Pitch card */
.pitch-card {
    background: var(--gradient-soft);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}
.pitch-card::before {
    content: '';
    position: absolute;
    inset-inline-start: 0; top: 20px; bottom: 20px;
    width: 3px;
    background: var(--gradient);
    border-radius: 3px;
}
.pitch-card h3 {
    font-size: 13px; font-weight: 600;
    color: var(--green);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-inline-start: 12px;
}
.pitch-card p { font-size: 15px; line-height: 1.7; padding-inline-start: 12px; }

/* Contact log */
.contact-log-list { }
.log-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 10px;
}
.log-top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px;
}
.log-type {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600;
}
.log-type i { width: 14px; height: 14px; color: var(--teal); }
.log-time { font-size: 12px; color: var(--text-dim); }
.log-summary { font-size: 13px; line-height: 1.6; color: var(--text); }
.log-response {
    margin-top: 8px;
    padding: 10px 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 12px;
    border-inline-start: 3px solid var(--teal);
}

/* Counter animation */
[data-counter] { font-variant-numeric: tabular-nums; }

/* Responsive */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero-right { height: 300px; }
    .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(100%);
        transition: transform 0.2s;
    }
    html[dir="ltr"] .sidebar { transform: translateX(-100%); }
    html[dir="rtl"] .main, html[dir="ltr"] .main { margin: 0; }
    .page { padding: 16px; }
    .hero { padding: 24px; }
}

/* LTR adjustments */
html[dir="ltr"] .ec-avatar,
html[dir="ltr"] .pi-avatar {
    margin-right: 0;
}
