/* سایت معرفی hesabdar.net (resources/views/hesabdar-site) — رنگ برند سبزآبی پنل + گرادیان آبی→فیروزه‌ای→سبز لوگو */
:root {
    color-scheme: light;
    --brand: #0f766e;
    --brand-2: #0d9488;
    --brand-dark: #115e59;
    --brand-50: #f0fdfa;
    --brand-100: #ccfbf1;
    --logo-grad: linear-gradient(120deg, #60a5fa 0%, #22d3ee 48%, #4ade80 100%);
    --ink: #0f172a;
    --ink-2: #1e293b;
    --muted: #475569;
    --muted-2: #64748b;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --card: #ffffff;
    --amber: #f59e0b;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -12px rgba(15, 23, 42, .12);
    --shadow-lg: 0 30px 60px -24px rgba(15, 23, 42, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Vazirmatn, Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.9;
    font-feature-settings: "ss01";
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .6em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(13, 148, 136, .45); outline-offset: 2px; border-radius: 8px; }
::selection { background: rgba(15, 118, 110, .18); }

.hs-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .hs-wrap { padding: 0 28px; } }

/* دکمه‌ها */
.hs-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
    font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap;
    transition: background .2s, color .2s, box-shadow .2s, transform .2s, border-color .2s;
}
.hs-btn svg { width: 1.2em; height: 1.2em; flex: none; }
.hs-btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(15, 118, 110, .8); }
.hs-btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.hs-btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.hs-btn-ghost:hover { border-color: var(--brand-2); color: var(--brand); }
.hs-btn-light { background: #fff; color: var(--brand-dark); }
.hs-btn-light:hover { background: var(--brand-50); color: var(--brand-dark); }
.hs-btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .5); background: transparent; }
.hs-btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.hs-btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.02rem; border-radius: 14px; }

/* سربرگ */
.hs-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.hs-header-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.hs-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.hs-logo img { width: 46px; height: auto; }
.hs-logo b { font-size: 1.35rem; font-weight: 900; letter-spacing: -.01em; line-height: 1; }
.hs-logo small { display: block; font-size: .72rem; color: var(--muted-2); font-weight: 500; direction: ltr; text-align: right; margin-top: 4px; }
.hs-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 18px; }
.hs-nav a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.hs-nav a:hover { color: var(--ink); background: var(--soft); }
.hs-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-50); }
.hs-header-cta { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }
.hs-menu-btn { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.hs-menu-btn svg { width: 24px; height: 24px; }
.hs-drawer { display: none; }

@media (max-width: 960px) {
    .hs-nav, .hs-header-cta { display: none; }
    .hs-menu-btn { display: inline-flex; }
    .hs-header-in { height: 64px; }
    .hs-drawer { display: block; overflow: hidden; max-height: 0; transition: max-height .3s ease; border-top: 1px solid transparent; }
    .hs-header.is-open .hs-drawer { max-height: 520px; border-top-color: var(--line); }
    .hs-drawer nav { display: grid; gap: 2px; padding: 12px 0 8px; }
    .hs-drawer nav a { padding: 12px 14px; border-radius: 12px; color: var(--ink-2); font-weight: 600; }
    .hs-drawer nav a[aria-current="page"] { background: var(--brand-50); color: var(--brand); }
    .hs-drawer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 0 18px; }
}

/* قهرمان صفحهٔ اصلی */
.hs-hero { position: relative; isolation: isolate; padding: 64px 0 40px; overflow: hidden; }
.hs-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(640px 420px at 88% 12%, rgba(34, 211, 238, .16), transparent 70%),
        radial-gradient(560px 400px at 8% 6%, rgba(74, 222, 128, .14), transparent 70%),
        radial-gradient(760px 460px at 45% 62%, rgba(96, 165, 250, .10), transparent 72%);
}
.hs-hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hs-hero-grid { grid-template-columns: 1fr 1.15fr; gap: 56px; } .hs-hero { padding: 84px 0 64px; } }
.hs-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; color: var(--muted);
}
.hs-eyebrow span { background: var(--logo-grad); color: #fff; padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: .78rem; }
.hs-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 900; letter-spacing: -.02em; margin: 22px 0 18px; line-height: 1.35; }
.hs-grad-text { background: var(--logo-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hs-hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; }
.hs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hs-hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.hs-hero-checks li { display: inline-flex; align-items: center; gap: 6px; }
.hs-hero-checks svg { width: 18px; height: 18px; color: var(--brand-2); }

/* قاب مرورگر و گوشی */
.hs-shot { position: relative; }
.hs-browser { border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.hs-browser-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: var(--soft); border-bottom: 1px solid var(--line); direction: ltr; }
.hs-browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; }
.hs-browser-bar i:nth-child(1) { background: #fca5a5; } .hs-browser-bar i:nth-child(2) { background: #fcd34d; } .hs-browser-bar i:nth-child(3) { background: #86efac; }
.hs-browser-bar span { margin: 0 auto; font-size: .75rem; color: var(--muted-2); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1px 40px; font-family: ui-monospace, monospace; }
.hs-phone {
    position: absolute; width: 30%; min-width: 120px; max-width: 210px; bottom: -36px; left: -18px;
    border-radius: 30px; padding: 8px; background: #0f172a; box-shadow: var(--shadow-lg);
}
.hs-phone img { border-radius: 23px; }
.hs-float {
    position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
    background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2);
    animation: hs-bob 6s ease-in-out infinite;
}
.hs-float small { display: block; font-weight: 500; color: var(--muted-2); font-size: .74rem; }
.hs-float-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hs-float-ico svg { width: 20px; height: 20px; }
.hs-float-1 { top: 18%; right: -20px; }
.hs-float-2 { bottom: 14%; right: 18%; animation-delay: -3s; }
@keyframes hs-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hs-float { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 640px) {
    .hs-float-1 { right: 4px; top: 6%; } .hs-float-2 { display: none; }
    .hs-phone { left: -4px; bottom: -24px; }
}

/* بخش‌ها */
.hs-section { padding: 84px 0; }
.hs-section-soft { background: var(--soft); border-block: 1px solid #eef2f7; }
.hs-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.hs-kicker { display: inline-block; font-size: .85rem; font-weight: 800; color: var(--brand-2); background: var(--brand-50); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.hs-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; letter-spacing: -.01em; }
.hs-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
@media (max-width: 640px) { .hs-section { padding: 60px 0; } .hs-head { margin-bottom: 34px; } }

/* نوار آمار */
.hs-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 72px; }
@media (min-width: 768px) { .hs-stats { grid-template-columns: repeat(4, 1fr); } }
.hs-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.hs-stat b { display: block; font-size: 1.6rem; font-weight: 900; color: var(--brand); line-height: 1.4; }
.hs-stat span { color: var(--muted); font-size: .9rem; }

/* کارت امکانات */
.hs-grid-3 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .hs-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hs-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.hs-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.hs-card:hover { transform: translateY(-3px); border-color: var(--brand-100); box-shadow: 0 24px 48px -24px rgba(15, 118, 110, .35); }
.hs-card h3 { font-size: 1.1rem; font-weight: 800; margin: 16px 0 8px; }
.hs-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.hs-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.hs-ico svg { width: 26px; height: 26px; }
.hs-ico-grad { background: var(--logo-grad); color: #fff; }

/* ردیف‌های معرفی با تصویر */
.hs-feature { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
.hs-feature + .hs-feature { margin-top: 96px; }
@media (min-width: 960px) {
    .hs-feature { grid-template-columns: 1fr 1.25fr; gap: 64px; }
    .hs-feature.is-flip .hs-feature-text { order: 2; }
}
.hs-feature h3 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 900; }
.hs-feature-text > p { color: var(--muted); font-size: 1.04rem; }
.hs-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.hs-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.hs-list li svg { width: 22px; height: 22px; flex: none; color: var(--brand-2); margin-top: 3px; }
.hs-feature-media { position: relative; }
.hs-feature-media::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; border-radius: 28px; background: var(--logo-grad); opacity: .14; z-index: -1; filter: blur(2px); }
.hs-feature.is-flip .hs-feature-media::before { inset: 8% 8% -6% -4%; }
.hs-paper { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
/* تصویرسازی‌ها (نه اسکرین‌شات): زمینهٔ روشن خودشان در قاب گرد */
.hs-art { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: #f3f7fc; }
.hs-feature-media.is-art { max-width: 560px; width: 100%; margin-inline: auto; }
.hs-feature-media.is-art.is-square { max-width: 420px; }

/* مناسب برای چه کسب‌وکارهایی */
.hs-seg { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .hs-seg { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hs-seg { grid-template-columns: repeat(4, 1fr); } }
.hs-seg .hs-card { padding: 12px 12px 22px; }
.hs-seg img { border-radius: 12px; background: #f3f7fc; aspect-ratio: 1; object-fit: cover; width: 100%; }
.hs-seg h3 { margin: 16px 10px 6px; }
.hs-seg p { margin: 0 10px; }
/* موبایل: کارت افقی (تصویر کوچک کنار متن) تا چهار کارت مربع صفحه را دراز نکنند */
@media (max-width: 559px) {
    .hs-seg .hs-card { display: grid; grid-template-columns: 104px 1fr; gap: 4px 14px; align-items: center; padding: 10px; }
    .hs-seg img { grid-row: span 2; }
    .hs-seg h3 { margin: 0; align-self: end; }
    .hs-seg p { margin: 0; align-self: start; font-size: .88rem; }
}


/* مراحل */
.hs-steps { display: grid; gap: 18px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 900px) { .hs-steps { grid-template-columns: repeat(3, 1fr); } }
.hs-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; box-shadow: var(--shadow); }
.hs-step::before {
    counter-increment: step; content: counter(step, persian);
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--logo-grad); color: #fff; font-weight: 900; font-size: 1.2rem; margin-bottom: 14px;
}
.hs-step h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.hs-step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* قیمت‌ها */
.hs-price { display: flex; flex-direction: column; }
.hs-price-head { display: flex; gap: 14px; align-items: center; }
.hs-price-head h3 { margin: 0; }
.hs-price-desc { color: var(--muted); font-size: .9rem; margin: 14px 0 18px; min-height: 3.6em; }
.hs-plans { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.hs-plans li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--soft); border: 1px solid #eef2f7; font-size: .92rem; }
.hs-plans li b { font-size: 1rem; font-weight: 800; color: var(--ink); }
.hs-plans li > span:last-child { display: inline-flex; align-items: baseline; gap: 8px; }
.hs-plans li del { color: var(--muted-2); font-size: .8rem; }
.hs-plans .hs-badge { font-size: .7rem; font-weight: 800; color: #92400e; background: #fef3c7; border-radius: 999px; padding: 1px 8px; margin-inline-start: 6px; }
.hs-price .hs-btn { margin-top: auto; }
.hs-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 26px; }

/* کارت ویدیو */
.hs-video-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); transition: transform .25s, box-shadow .25s; }
.hs-video-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(15, 23, 42, .3); color: var(--ink); }
.hs-video-thumb { position: relative; aspect-ratio: 16 / 9; background: #e2e8f0; overflow: hidden; }
.hs-video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hs-video-card:hover .hs-video-thumb img { transform: scale(1.04); }
/* پوستر ویدیوها کارت عنوان وسط تصویر است: دکمهٔ پخش گوشهٔ پایین تا روی عنوان نیفتد */
.hs-play { position: absolute; bottom: 10px; inset-inline-start: 10px; }
.hs-play span { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4); color: var(--brand); }
.hs-play svg { width: 22px; height: 22px; margin-inline-end: -3px; }
.hs-duration { position: absolute; bottom: 10px; left: 10px; background: rgba(15, 23, 42, .78); color: #fff; font-size: .75rem; padding: 1px 9px; border-radius: 8px; }
.hs-video-body { padding: 16px 18px 18px; }
.hs-video-body h3 { font-size: 1rem; font-weight: 800; margin: 0 0 4px; }
.hs-video-body p { color: var(--muted-2); font-size: .85rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* سؤالات متداول */
.hs-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.hs-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; box-shadow: var(--shadow); }
.hs-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.hs-faq summary::-webkit-details-marker { display: none; }
.hs-faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand-2); line-height: 1; transition: transform .2s; }
.hs-faq details[open] summary::after { transform: rotate(45deg); }
.hs-faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* نوار دعوت پایانی */
.hs-cta { position: relative; overflow: hidden; border-radius: 28px; padding: 56px 28px; text-align: center; color: #fff; background: linear-gradient(135deg, #0f766e 0%, #115e59 60%, #134e4a 100%); }
.hs-cta::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: var(--logo-grad); opacity: .28; filter: blur(30px); }
.hs-cta::after { content: ""; position: absolute; inset: -50% auto auto -10%; width: 420px; height: 420px; border-radius: 50%; background: #22d3ee; opacity: .14; filter: blur(30px); }
.hs-cta > * { position: relative; z-index: 1; }
.hs-cta h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 900; }
.hs-cta p { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0 auto 26px; }
.hs-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* سربرگ صفحه‌های داخلی */
.hs-page-hero { position: relative; isolation: isolate; padding: 64px 0 40px; text-align: center; overflow: hidden; }
.hs-page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px 300px at 70% 30%, rgba(34, 211, 238, .16), transparent 70%), radial-gradient(520px 300px at 25% 20%, rgba(74, 222, 128, .14), transparent 70%); }
.hs-page-hero h1 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); font-weight: 900; margin-bottom: 12px; }
.hs-page-hero p { color: var(--muted); font-size: 1.08rem; max-width: 680px; margin: 0 auto; }
.hs-crumbs { display: flex; justify-content: center; gap: 8px; font-size: .85rem; color: var(--muted-2); margin-bottom: 14px; flex-wrap: wrap; }
.hs-crumbs a { color: var(--muted-2); }
.hs-crumbs a:hover { color: var(--brand); }
/* سرصفحه با تصویر: دسکتاپ دو ستون (متن راست، تصویر چپ)، موبایل تصویر زیر متن */
.hs-page-hero.has-art { padding: 48px 0 28px; }
.hs-page-hero-grid { display: grid; gap: 28px; align-items: center; }
.hs-page-hero-art { margin: 0 auto; width: 100%; max-width: 520px; }
@media (min-width: 900px) {
    .hs-page-hero.has-art { text-align: start; padding: 56px 0 36px; }
    .hs-page-hero.has-art .hs-crumbs { justify-content: flex-start; }
    .hs-page-hero.has-art p { margin: 0; }
    .hs-page-hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* آموزش */
.hs-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 44px; }
.hs-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-weight: 600; font-size: .9rem; }
.hs-tabs a:hover { border-color: var(--brand-2); color: var(--brand); }
.hs-group { scroll-margin-top: 96px; }
.hs-group + .hs-group { margin-top: 64px; }
.hs-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hs-group-head h2 { font-size: 1.4rem; font-weight: 900; margin: 0; }
.hs-group-head p { margin: 0; color: var(--muted-2); font-size: .92rem; }
.hs-tut { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .hs-tut { grid-template-columns: 1.6fr 1fr; } }
.hs-player { border-radius: 18px; overflow: hidden; background: #0f172a; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.hs-player video { width: 100%; height: 100%; object-fit: contain; background: #0f172a; }
.hs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hs-chips li { font-size: .82rem; font-weight: 600; color: var(--brand-dark); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 3px 12px; border-radius: 999px; }
.hs-guide { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.hs-guide h2 { font-size: 1.15rem; font-weight: 900; }
.hs-guide ol { margin: 0; padding: 0; list-style: none; counter-reset: g; display: grid; gap: 14px; }
.hs-guide ol li { counter-increment: g; display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.hs-guide ol li::before { content: counter(g, persian); width: 30px; height: 30px; border-radius: 9px; background: var(--brand-50); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.hs-tip { display: flex; gap: 12px; margin-top: 22px; padding: 16px; border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; color: #78350f; font-size: .92rem; }
.hs-tip svg { width: 22px; height: 22px; flex: none; color: var(--amber); margin-top: 2px; }
.hs-pager { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 48px; }
@media (min-width: 640px) { .hs-pager { grid-template-columns: 1fr 1fr; } }
.hs-pager a { display: block; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.hs-pager a:hover { border-color: var(--brand-2); }
.hs-pager small { display: block; color: var(--muted-2); font-size: .8rem; }
.hs-pager b { font-weight: 800; }
.hs-pager .is-next { text-align: left; }

/* درباره ما */
.hs-prose { max-width: 780px; margin: 0 auto; font-size: 1.05rem; color: var(--ink-2); }
.hs-prose p { margin-bottom: 1.2em; }
.hs-timeline { position: relative; max-width: 780px; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 18px; }
.hs-timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; right: 23px; width: 2px; background: linear-gradient(#22d3ee, #4ade80); opacity: .5; }
.hs-timeline li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.hs-timeline li > span { width: 48px; height: 48px; border-radius: 14px; background: #fff; border: 2px solid var(--brand-100); display: grid; place-items: center; font-weight: 900; color: var(--brand); font-size: .82rem; z-index: 1; }
.hs-timeline li > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); }
.hs-timeline h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 4px; }
.hs-timeline p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ارتباط با ما */
.hs-contact-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .hs-contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hs-contact-grid { grid-template-columns: repeat(4, 1fr); } }
.hs-contact-card { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.hs-contact-card b { font-size: 1.05rem; font-weight: 800; margin-top: 12px; }
.hs-contact-card span { color: var(--muted); font-size: .92rem; }
.hs-contact-card .hs-ltr { direction: ltr; text-align: right; font-weight: 700; color: var(--brand); }
.hs-office { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 900px) { .hs-office { grid-template-columns: 1.2fr 1fr; } }
.hs-office dl { margin: 0; display: grid; gap: 16px; }
.hs-office dt { font-weight: 800; color: var(--ink); display: flex; gap: 8px; align-items: center; }
.hs-office dt svg { width: 20px; height: 20px; color: var(--brand-2); }
.hs-office dd { margin: 4px 0 0; color: var(--muted); }
.hs-ico-wa { background: #dcfce7; color: #16a34a; }
.hs-ico-bale { background: #dbeafe; color: #1d4ed8; }
.hs-ico-eitaa { background: #ffedd5; color: #ea580c; }
.hs-ico-ig { background: #fce7f3; color: #db2777; }

/* پاورقی */
.hs-footer { background: #0b1220; color: #cbd5e1; padding: 64px 0 28px; margin-top: 84px; }
.hs-footer a { color: #cbd5e1; }
.hs-footer a:hover { color: #fff; }
.hs-footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .hs-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.hs-footer .hs-logo { color: #fff; }
.hs-footer .hs-logo small { color: #94a3b8; }
.hs-footer p { color: #94a3b8; font-size: .92rem; margin-top: 14px; }
.hs-footer h4 { color: #fff; font-size: .98rem; font-weight: 800; margin-bottom: 14px; }
.hs-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.hs-footer-bottom { border-top: 1px solid rgba(148, 163, 184, .18); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .85rem; color: #94a3b8; }
.hs-social { display: flex; gap: 10px; margin-top: 16px; }
.hs-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(148, 163, 184, .12); display: grid; place-items: center; }
.hs-social a:hover { background: rgba(148, 163, 184, .24); }
.hs-social svg { width: 20px; height: 20px; }

.hs-ltr { direction: ltr; unicode-bidi: isolate; }
.hs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* صفحه‌های حقوقی و فرم (حریم خصوصی، حذف حساب، اپ اندروید) */
.hs-legal h2 { font-size: 1.25rem; font-weight: 900; color: var(--ink); margin: 1.8em 0 .6em; }
.hs-legal h2:first-child { margin-top: 0; }
.hs-legal ul, .hs-legal ol { padding-inline-start: 1.3em; margin: 0 0 1.2em; display: grid; gap: .45em; }
.hs-legal a { color: var(--brand); font-weight: 700; }
.hs-legal hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.hs-legal-en { text-align: left; font-size: .95rem; }
.hs-form-card { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.hs-form { display: grid; gap: 8px; margin-top: 18px; }
.hs-form label { font-weight: 700; font-size: .92rem; color: var(--ink-2); margin-top: 6px; }
.hs-form input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 1.05rem; background: var(--soft); }
.hs-form input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); background: #fff; }
.hs-form .hs-btn { margin-top: 12px; width: 100%; }
.hs-captcha { display: flex; gap: 10px; align-items: center; }
.hs-captcha img { border-radius: 10px; flex: none; }
.hs-error { color: #be123c; font-size: .88rem; margin: 0; }
.hs-alert { border-radius: 14px; padding: 14px 16px; margin-top: 16px; font-size: .95rem; display: grid; gap: 4px; }
.hs-alert-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.hs-alert-info { background: var(--brand-50); color: var(--brand-dark); border: 1px solid var(--brand-100); }
.hs-btn-danger { background: #be123c; color: #fff; }
.hs-btn-danger:hover { background: #9f1239; color: #fff; }
.hs-form-alt { text-align: center; margin-top: 10px; }
.hs-link-btn { background: none; border: 0; color: var(--muted-2); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; }
.hs-store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hs-page-hero.has-art .hs-store-row { justify-content: center; }
@media (min-width: 900px) { .hs-page-hero.has-art .hs-store-row { justify-content: flex-start; } }
.hs-store-meta { font-size: .9rem !important; color: var(--muted-2) !important; margin-top: 12px !important; }
.hs-phone-art { max-width: 260px; }
.hs-phone-art img { border-radius: 34px; border: 8px solid #0f172a; box-shadow: var(--shadow-lg); width: 100%; }
.hs-foot-links { display: inline-flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hs-foot-links a { color: inherit; }
.hs-foot-links a:hover { color: #fff; }

/* ---------- وبلاگ: آیتم برجستهٔ منو (مثل منوی وبلاگ in-box.ir) + پنل تازه‌ها ---------- */
.hs-nb { position: relative; }
.hs-nav .hs-nb-link, .hs-drawer nav .hs-nb-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--brand); background: var(--brand-50);
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, .2);
}
.hs-nav .hs-nb-link:hover, .hs-nb:focus-within .hs-nb-link { color: var(--brand-dark); background: var(--brand-100); }
.hs-nb-link > svg { width: 18px; height: 18px; flex: none; }
.hs-nb-link > svg:last-child { width: 14px; height: 14px; opacity: .7; transition: transform .2s; }
.hs-nb:hover .hs-nb-link > svg:last-child, .hs-nb:focus-within .hs-nb-link > svg:last-child { transform: rotate(180deg); }
.hs-nb-badge {
    display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 999px;
    background: var(--brand); color: #fff; font-size: .68rem; font-weight: 800; line-height: 1; white-space: nowrap;
}
.hs-nb-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: hs-nb-pulse 1.8s ease-in-out infinite; }
@keyframes hs-nb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .hs-nb-badge::before { animation: none; } }
.hs-nav a { white-space: nowrap; }
.hs-nav .hs-nb-panel a { white-space: normal; }
/* با آیتم وبلاگ، منو در عرض ثابت ۱۱۸۰ جا نمی‌شد (دوخطی): روی همهٔ دسکتاپ‌ها فشرده */
@media (min-width: 961px) { .hs-nb-count { display: none; } .hs-cta-long { display: none; } .hs-header-in { gap: 12px; } .hs-nav { margin-inline-start: 4px; gap: 2px; } .hs-nav a { padding: 8px 10px; font-size: .9rem; } }
@media (min-width: 961px) and (max-width: 1100px) { .hs-nav a { padding: 8px 7px; font-size: .86rem; } .hs-nb-link > svg:first-child, .hs-logo small { display: none; } .hs-header-cta .hs-btn { padding: 0 14px; } }

.hs-nb-panel {
    position: absolute; top: 100%; right: 0; padding-top: 10px; width: 400px; z-index: 60;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.hs-nb:hover .hs-nb-panel, .hs-nb:focus-within .hs-nb-panel { opacity: 1; visibility: visible; transform: none; }
.hs-nb-inner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px; display: grid; gap: 4px; }
.hs-nb-head { display: flex; align-items: center; gap: 6px; padding: 0 4px 8px; color: var(--muted-2); font-size: .8rem; font-weight: 800; }
.hs-nb-head svg { width: 16px; height: 16px; color: var(--amber); }
.hs-nav .hs-nb-post, .hs-drawer nav .hs-nb-post { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--ink); font-weight: 400; background: none; }
.hs-nav .hs-nb-post:hover { background: var(--soft); color: var(--ink); }
.hs-nb-post .hs-bthumb { width: 72px; height: 54px; flex: none; border-radius: 9px; }
.hs-nb-post .hs-bthumb-ph svg { width: 24px; height: 24px; }
.hs-nb-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hs-nb-text b { font-size: .85rem; font-weight: 700; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-nb-text small { font-size: .74rem; color: var(--muted-2); }
.hs-nav .hs-nb-all {
    display: flex; justify-content: center; align-items: center; gap: 8px; height: 44px; margin-top: 8px; border-radius: 12px;
    background: var(--brand); color: #fff; font-weight: 700;
}
.hs-nav .hs-nb-all:hover { background: var(--brand-dark); color: #fff; }
.hs-nb-all svg { width: 18px; height: 18px; }
/* کشوی موبایل: فهرست تازه‌ها همیشه باز زیر آیتم وبلاگ */
.hs-drawer nav .hs-nb-link { display: flex; }
.hs-drawer nav .hs-nb-link .hs-nb-badge { margin-inline-start: auto; }
.hs-nb-inline { display: grid; gap: 2px; background: var(--soft); border-radius: 12px; padding: 6px; margin: 2px 0 6px; }
.hs-drawer nav .hs-nb-post { padding: 6px; }
.hs-nb-inline .hs-bthumb { width: 56px; height: 42px; }
.hs-nb-inline .hs-nb-text b { font-size: .82rem; }
@media (max-width: 960px) { .hs-header.is-open .hs-drawer { max-height: 860px; } }

/* تصویر شاخص / جایگزین گرادیانی */
.hs-bthumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e2e8f0; }
.hs-bthumb-ph { display: grid; place-items: center; color: #fff; background: var(--logo-grad); }
.hs-bthumb-ph svg { width: 28%; max-width: 96px; height: auto; opacity: .92; filter: drop-shadow(0 6px 14px rgba(15, 23, 42, .18)); }
.hs-bph-start { background: linear-gradient(120deg, #0ea5e9, #22d3ee 55%, #4ade80); }
.hs-bph-sales { background: linear-gradient(120deg, #0f766e, #14b8a6 60%, #5eead4); }
.hs-bph-treasury { background: linear-gradient(120deg, #15803d, #22c55e 60%, #a3e635); }
.hs-bph-inventory { background: linear-gradient(120deg, #4f46e5, #6366f1 50%, #22d3ee); }
.hs-bph-payroll { background: linear-gradient(120deg, #c2410c, #f59e0b 60%, #fde047); }
.hs-bph-accounting { background: linear-gradient(120deg, #1e3a8a, #3b82f6 55%, #22d3ee); }
.hs-bph-messaging { background: linear-gradient(120deg, #0d9488, #10b981 50%, #84cc16); }

/* فهرست وبلاگ */
.hs-tabs a.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.hs-tabs small { font-size: .75rem; opacity: .75; margin-inline-start: 2px; }
.hs-bmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .82rem; color: var(--muted-2); }
.hs-bmeta svg { width: 16px; height: 16px; vertical-align: -3px; }
.hs-bmeta-lg { justify-content: center; font-size: .9rem; margin-top: 4px !important; }
.hs-bcat { color: var(--brand-dark); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 1px 10px; border-radius: 999px; font-weight: 700; font-size: .76rem; }
.hs-bfeat { display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); color: var(--ink); margin-bottom: 28px; transition: box-shadow .25s, transform .25s; }
.hs-bfeat:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 30px 60px -30px rgba(15, 118, 110, .45); }
@media (min-width: 900px) { .hs-bfeat { grid-template-columns: 1.15fr 1fr; } .hs-bfeat .hs-bthumb { height: 100%; } }
.hs-bfeat-body { padding: 26px 28px 28px; display: flex; flex-direction: column; justify-content: center; }
.hs-bfeat h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 900; margin: 14px 0 10px; }
.hs-bfeat p { color: var(--muted); margin: 0 0 16px; }
.hs-bmore { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 800; }
.hs-bmore svg { width: 18px; height: 18px; }
.hs-bgrid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .hs-bgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hs-bgrid { grid-template-columns: repeat(3, 1fr); } }
.hs-bcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); transition: transform .25s, box-shadow .25s; }
.hs-bcard:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(15, 118, 110, .4); }
.hs-bcard-media { overflow: hidden; }
.hs-bcard-media img { transition: transform .4s; }
.hs-bcard:hover .hs-bcard-media img { transform: scale(1.04); }
.hs-bcard-body { padding: 16px 18px 20px; }
.hs-bcard h3 { font-size: 1.02rem; font-weight: 800; margin: 10px 0 6px; line-height: 1.7; }
.hs-bcard p { color: var(--muted); font-size: .88rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* صفحهٔ مطلب */
.hs-bhero { padding-bottom: 26px; }
.hs-bhero h1 { max-width: 900px; margin-inline: auto; font-size: clamp(1.55rem, 3.8vw, 2.4rem); }
.hs-bcover { max-width: 1000px; margin: 0 auto 40px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hs-bcover .hs-bthumb-ph svg { max-width: 140px; }
.hs-blayout { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .hs-blayout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } .hs-baside { position: sticky; top: 92px; } }
.hs-article { font-size: 1.05rem; line-height: 2.05; color: var(--ink-2); max-width: 780px; }
.hs-article .hs-lead { font-size: 1.15rem; color: var(--muted); border-inline-start: 4px solid var(--brand-2); padding-inline-start: 16px; }
.hs-article h2 { font-size: 1.45rem; font-weight: 900; margin: 1.9em 0 .6em; scroll-margin-top: 96px; }
.hs-article h3 { font-size: 1.15rem; font-weight: 800; margin: 1.5em 0 .5em; }
.hs-article ul, .hs-article ol { padding-inline-start: 1.4em; margin: 0 0 1.2em; display: grid; gap: .4em; }
.hs-article li::marker { color: var(--brand-2); font-weight: 800; }
.hs-article a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brand-100); }
.hs-article strong { color: var(--ink); }
.hs-article table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .93rem; display: block; overflow-x: auto; }
.hs-article th, .hs-article td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.hs-article th { background: var(--soft); font-weight: 800; white-space: nowrap; }
.hs-box { border-radius: 16px; padding: 16px 18px; margin: 1.4em 0; font-size: .97rem; line-height: 1.95; }
.hs-box > b:first-child { display: block; margin-bottom: 4px; }
.hs-box p:last-child, .hs-box ul:last-child { margin-bottom: 0; }
.hs-box-tip { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; }
.hs-box-pro { background: #eef2ff; border: 1px solid #c7d2fe; color: #312e81; }
.hs-box-note { background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-dark); }
.hs-box-warn { background: #fff1f2; border: 1px solid #fecdd3; color: #881337; }
.hs-bkeys { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.hs-bkeys span { font-size: .8rem; color: var(--muted); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }
.hs-baside { display: grid; gap: 18px; }
.hs-baside > * { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.hs-baside b { display: block; font-weight: 900; margin-bottom: 10px; }
.hs-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 4px; }
.hs-toc li { counter-increment: t; }
.hs-toc a { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 6px 8px; border-radius: 10px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.hs-toc a::before { content: counter(t, persian); color: var(--brand); font-weight: 800; }
.hs-toc a:hover { background: var(--brand-50); color: var(--brand-dark); }
.hs-baside-video .hs-video-card { box-shadow: none; }
.hs-baside-cta { background: linear-gradient(160deg, var(--brand-50), #fff) !important; display: grid; gap: 8px; }
.hs-baside-cta p { margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.hs-brelated { margin-top: 64px; }
.hs-brelated > h2 { font-size: 1.4rem; font-weight: 900; margin-bottom: 20px; }
@media (max-width: 1023px) { .hs-toc { display: none; } }

/* ---------- مدیریت سایت (/inbx/admin) ---------- */
.ha-body { background: var(--soft); min-height: 100vh; }
.ha-top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.ha-top-in { display: flex; align-items: center; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.ha-top .hs-logo small { direction: ltr; }
.ha-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-inline-start: 12px; }
.ha-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.ha-tabs a svg { width: 18px; height: 18px; }
.ha-tabs a:hover { background: var(--soft); color: var(--ink); }
.ha-tabs a[aria-current="page"] { background: var(--brand-50); color: var(--brand); }
.ha-logout { margin-inline-start: auto; }
.ha-logout .hs-btn { min-height: 40px; padding: 0 14px; }
.ha-main { padding-top: 28px; padding-bottom: 60px; overflow-wrap: anywhere; }
.ha-login { margin-top: 8vh; }
.ha-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ha-head h1 { font-size: 1.5rem; font-weight: 900; margin: 0; }
.ha-h1-sm { font-size: 1.2rem; font-weight: 900; }
.ha-h2 { font-size: 1rem; font-weight: 800; color: var(--muted); margin: 22px 0 10px; }
.ha-range { display: flex; flex-wrap: wrap; gap: 6px; }
.ha-range a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .85rem; font-weight: 600; }
.ha-range a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.ha-kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .ha-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ha-kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.ha-kpi span { color: var(--muted-2); font-size: .82rem; font-weight: 600; }
.ha-kpi b { font-size: 1.55rem; font-weight: 900; color: var(--ink); line-height: 1.4; }
.ha-kpi small { color: var(--muted-2); font-size: .76rem; }
.ha-kpi.is-green b { color: #15803d; }
.ha-kpi.is-blue b { color: #1d4ed8; }
.ha-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); margin-top: 18px; min-width: 0; }
.ha-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.ha-card-head h3 { font-size: 1.02rem; font-weight: 900; margin: 0; }
.ha-grid { display: grid; gap: 0 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .ha-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ha-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ha-table th { text-align: start; color: var(--muted-2); font-weight: 700; font-size: .78rem; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ha-table td { padding: 8px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.ha-table .ha-num { text-align: end; white-space: nowrap; font-weight: 700; }
.ha-page { display: flex; flex-direction: column; color: var(--ink); line-height: 1.6; }
.ha-page b { font-weight: 600; }
.ha-page small { color: var(--muted-2); font-size: .74rem; text-align: right; word-break: break-all; }
.ha-meter { display: block; height: 4px; border-radius: 4px; background: #f1f5f9; margin-top: 4px; overflow: hidden; }
.ha-meter i { display: block; height: 100%; background: var(--logo-grad); }
.ha-muted { color: var(--muted-2); font-size: .85rem; }
.ha-scroll { overflow-x: auto; }
.ha-badge { font-size: .74rem; padding: 1px 8px; border-radius: 999px; background: #fee2e2; color: #991b1b; white-space: nowrap; }
.ha-badge.is-ok { background: #dcfce7; color: #166534; }
.ha-search { display: flex; gap: 8px; }
.ha-search input { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; background: #fff; width: 220px; max-width: 50vw; }
.ha-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; color: var(--muted); }
.ha-legend { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: .78rem; color: var(--muted); }
.ha-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 4px; vertical-align: -1px; }
.l-v { background: #0d9488; } .l-u { background: #5eead4; } .l-d { background: #16a34a; } .l-s { background: #3b82f6; }
.ha-chart { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 3px; align-items: end; height: 230px; direction: ltr; overflow-x: auto; }
.ha-col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-width: 8px; }
.ha-bars { display: flex; gap: 1px; align-items: flex-end; height: 70%; }
.ha-bars-sm { height: 22%; margin-top: 4px; border-top: 1px dashed var(--line); }
.ha-bars i { flex: 1; min-height: 1px; border-radius: 3px 3px 0 0; }
.ha-col small { text-align: center; font-size: .62rem; color: var(--muted-2); line-height: 1.6; }
.ha-col:hover .ha-bars i { filter: brightness(.9); }
