﻿/* ============================================================
   DataEnabler — Portal / Landing styles (3 administration layers)
   Accent variants: platform (violet), tenant (teal), company (sky)
   ============================================================ */

body.portal {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f6f8fc;
    color: #1e293b;
    min-height: 100vh;
}

/* ---- Top access map ---- */
.portal-nav {
    background: #0f172a;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
    gap: 16px;
    flex-wrap: wrap;
}
.portal-nav .brand i {
    color: var(--accent, #38bdf8);
    font-size: 20px;
}
.portal-nav .brand span {
    color: #f8fafc;
    font-weight: 700;
}
.portal-nav .links {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}
.portal-nav .links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 600;
}
.portal-nav .links a.nav-cta {
    color: #e2e8f0;
    border: 1px solid #2b3348;
}
.portal-nav .links a.nav-cta:hover {
    color: #fff;
    background: #1e293b;
}
.portal-nav .links a.nav-cta-fill {
    color: #0f172a;
    background: var(--accent, #38bdf8);
    border-color: var(--accent, #38bdf8);
}
.portal-nav .links a.nav-cta-fill:hover {
    color: #0b1220;
    background: color-mix(in srgb, var(--accent, #38bdf8) 85%, #fff);
}
.portal-nav .links a:hover {
    color: #e2e8f0;
    background: #1e293b;
}
.portal-nav .links a.active {
    color: #0f172a;
    background: var(--accent, #38bdf8);
}

/* ---- Hero ---- */
.portal-hero {
    background: linear-gradient(135deg, #0f172a 0%, var(--hero-to, #0f172a) 60%, #0b1220 100%);
    color: #f8fafc;
    padding: 56px 32px 40px;
    text-align: center;
    border-radius: 18px;
    margin: 16px;
    overflow: hidden;
}
.portal-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent, #38bdf8);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 30px;
}
.portal-hero h1 {
    font-size: 34px;
    font-weight: 800;
    margin-top: 14px;
    letter-spacing: -0.5px;
}
.portal-hero p {
    color: #94a3b8;
    margin-top: 10px;
    font-size: 15px;
    max-width: 640px;
    margin-inline: auto;
}
.portal-hero .hero-stats {
    display: inline-flex;
    gap: 24px;
    margin-top: 22px;
    flex-wrap: wrap;
    justify-content: center;
}
.portal-hero .hero-stat {
    text-align: center;
    padding: 0 16px;
    border-inline-start: 1px solid #1e293b;
}
.portal-hero .hero-stat:first-child {
    border-inline-start: none;
}
.portal-hero .hero-stat b {
    display: block;
    font-size: 22px;
    color: #f8fafc;
}
.portal-hero .hero-stat span {
    font-size: 12px;
    color: #64748b;
}

/* ---- Body ---- */
.portal-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
}
.portal-body .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.portal-body .section-sub {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 16px;
}

/* ---- App / shortcut cards ---- */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.app-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    border-color: var(--accent, #38bdf8);
}
.app-card .app-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent, #1d4ed8);
    background: var(--accent-soft, #dbeafe);
    margin-bottom: 12px;
}
.app-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}
.app-card p {
    color: #64748b;
    font-size: 12.5px;
    margin-top: 4px;
    line-height: 1.45;
}
.app-card .app-meta {
    margin-top: 10px;
    font-size: 12px;
    color: var(--accent, #1d4ed8);
    font-weight: 600;
}

/* ---- KPI row ---- */
.kpi-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.kpi {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 16px 18px;
}
.kpi .k-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}
.kpi .k-value {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 4px;
}
.kpi .k-sub {
    font-size: 12px;
    color: var(--accent, #1d4ed8);
    font-weight: 600;
    margin-top: 2px;
}

/* ---- Access (roles) table ---- */
.perm-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    overflow: hidden;
    font-size: 13px;
}
.perm-table th {
    text-align: start;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 10px 14px;
}
.perm-table td {
    padding: 10px 14px;
    border-top: 1px solid #f1f5f9;
    color: #1e293b;
}

/* ---- Footer ---- */
.portal-footer {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    padding: 24px;
}

/* ---- Accent variants ---- */
.portal-nav, .portal-hero {
    --accent: #8b5cf6;
}
body.accent-platform { --accent: #8b5cf6; --accent-soft: #ede9fe; --hero-to: #312e81; }
body.accent-tenant   { --accent: #14b8a6; --accent-soft: #ccfbf1; --hero-to: #134e4a; }
body.accent-company  { --accent: #38bdf8; --accent-soft: #dbeafe; --hero-to: #0c4a6e; }

.portal-nav .brand i { color: var(--accent); }
.portal-hero .eyebrow { color: var(--accent); border-color: rgba(255,255,255,0.18); }

/* ---- Role chips ---- */
.role-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.role-modules span {
    font-size: 11.5px;
    font-weight: 600;
    color: #1d4ed8;
    background: #dbeafe;
    padding: 2px 10px;
    border-radius: 30px;
}

/* ============================================================
   Public Portal — Unified extracted page styles
   Generated from Portal/public + Portal/blog <style> blocks
   ============================================================ */

/* --- Block 1 : Portal\blog\blog-post.html --- */
.article-hero{max-width:780px;margin:0 auto;padding:28px 20px 14px;text-align:center}
        .breadcrumb{font-size:12px;color:#94a3b8;display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin-bottom:10px}
        .breadcrumb a{color:#64748b;text-decoration:none;font-weight:600} .breadcrumb a:hover{color:#0f172a}
        .article-hero h1{font-size:38px;letter-spacing:-.04em;font-weight:800;line-height:1.05;margin:10px 0 10px}
        .article-hero .excerpt{color:var(--muted);font-size:17px;line-height:1.6;margin:0 auto;max-width:640px}
        .meta-row{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;margin-top:14px;font-size:13px;color:#64748b}
        .meta-row img{width:28px;height:28px;border-radius:50%}
        .meta-dot{width:3px;height:3px;border-radius:50%;background:#cbd5e1;display:inline-block}
        .article-hero .tag-row{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin-top:12px}
        .article-hero .tag-pill{font-size:11px;font-weight:700;padding:4px 10px;border-radius:999px;background:#f0f9ff;color:#0284c7;border:1px solid #dbeafe}
        .featured{max-width:var(--max);margin:18px auto 0;padding:0 20px}
        .featured-inner{height:420px;border-radius:16px;background:linear-gradient(135deg,#e0f2fe,#f0f9ff);border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
        .featured-inner i{font-size:42px;color:#0284c7;opacity:.35}
        .featured-caption{font-size:12px;color:#94a3b8;text-align:center;margin-top:8px}
        .article-layout{max-width:var(--max);margin:0 auto;padding:22px 20px 40px;display:grid;grid-template-columns:1fr 320px;gap:22px;align-items:start}
        .prose{background:#fff;border:1px solid #eef2f6;border-radius:16px;padding:22px 22px}
        .prose h2{font-size:20px;letter-spacing:-.02em;margin:22px 0 8px;font-weight:800}
        .prose h3{font-size:15px;margin:18px 0 8px;font-weight:700}
        .prose p{color:#334155;font-size:15px;line-height:1.7;margin:0 0 12px}
        .prose ul{margin:0 0 14px 0;margin-inline-start:18px;color:#334155;font-size:14px;line-height:1.6}
        .prose li{margin:6px 0}
        .prose blockquote{border-inline-start:3px solid #38bdf8;background:#f8fafc;padding:12px 14px;border-start-start-radius:0;border-end-start-radius:0;border-start-end-radius:10px;border-end-end-radius:10px;margin:14px 0;color:#0f172a;font-size:14px}
        .prose code{background:#f8fafc;border:1px solid #e2e8f0;padding:2px 6px;border-radius:6px;font-size:13px}
        .callout{background:#0f172a;color:#fff;border-radius:14px;padding:16px;display:flex;gap:12px;align-items:center;margin:16px 0}
        .callout i{width:36px;height:36px;border-radius:10px;background:rgba(56,189,248,.15);color:#38bdf8;display:flex;align-items:center;justify-content:center;flex-shrink:0}
        .share-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:16px;padding-top:16px;border-top:1px solid #f1f5f9}
        .share-btn{width:36px;height:36px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;display:flex;align-items:center;justify-content:center;color:#64748b;cursor:pointer}
        .share-btn:hover{border-color:#38bdf8;color:#0284c7}
        .side{position:sticky;top:78px;display:grid;gap:16px}
        .side-card{background:#fff;border:1px solid #eef2f6;border-radius:16px;padding:16px}
        .side-card h4{margin:0 0 10px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#0f172a}
        .author-card{display:flex;gap:12px;align-items:center}
        .author-card img{width:44px;height:44px;border-radius:50%}
        .side .toc{display:block}
        .side .toc a{display:block;padding:6px 0;font-size:13px;color:#475569;text-decoration:none;border-inline-start:2px solid transparent;padding-inline-start:10px;margin-inline-start:-2px}
        .side .toc a:hover,.side .toc a.active{color:#0284c7;border-inline-start-color:#38bdf8;background:#f8fafc}
        .related a{display:flex;gap:10px;padding:8px 0;text-decoration:none;color:inherit;border-bottom:1px solid #f1f5f9}
        .related a:last-child{border-bottom:0}
        .related .thumb{width:52px;height:52px;border-radius:10px;background:#f0f9ff;border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#0284c7}
        .related b{font-size:13px;line-height:1.3;display:block} .related span{font-size:12px;color:#94a3b8}
        @media(max-width:900px){.article-layout{grid-template-columns:1fr}.side{position:static}.article-hero h1{font-size:32px}.featured-inner{height:220px}}

/* --- Block 2 : Portal\blog\blogs.html --- */
.browse-hero{max-width:var(--max);margin:0 auto;padding:32px 20px 16px;text-align:center}
        .browse-hero h1{font-size:36px;letter-spacing:-.04em;font-weight:800;margin:8px 0 8px}
        .browse-hero p{color:var(--muted);max-width:560px;margin:0 auto}
        .toolbar{max-width:var(--max);margin:0 auto;padding:14px 20px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
        .search-wrap{position:relative;flex:1;min-width:220px;max-width:360px}
        .search-wrap i{position:absolute;inset-inline-start:11px;top:50%;transform:translateY(-50%);color:#94a3b8;font-size:13px}
        .search-wrap input{width:100%;padding-block:10px;padding-inline-start:32px;padding-inline-end:12px;border:1px solid #e2e8f0;border-radius:10px;font:inherit;font-size:14px;background:#fff}
        .search-wrap input:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #e0f2fe}
        .select{padding:9px 12px;border:1px solid #e2e8f0;border-radius:10px;font:inherit;font-size:13px;font-weight:600;background:#fff;color:#334155}
        .toolbar .tag-row, .tag-row--filter{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
        .toolbar .tag-pill, .tag-pill--filter{padding:6px 12px;border-radius:999px;font-size:13px;font-weight:600;border:1px solid #e2e8f0;background:#fff;color:#334155;cursor:pointer}
        .toolbar .tag-pill.active,.toolbar .tag-pill:hover,.tag-pill--filter.active,.tag-pill--filter:hover{border-color:#38bdf8;background:#f0f9ff;color:#0284c7}
        /* keep generic .tag-row/.tag-pill for filter toolbars (blogs.html) — article uses .article-hero scoped above */
        .tag-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
        .tag-pill{padding:6px 12px;border-radius:999px;font-size:13px;font-weight:600;border:1px solid #e2e8f0;background:#fff;color:#334155;cursor:pointer}
        .tag-pill.active,.tag-pill:hover{border-color:#38bdf8;background:#f0f9ff;color:#0284c7}
        .count{font-size:13px;color:var(--muted);font-weight:600}
        .listing{max-width:var(--max);margin:0 auto;padding:16px 20px 10px}
        .blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
        .post-card{background:#fff;border:1px solid #eef2f6;border-radius:16px;overflow:hidden;transition:.15s;display:flex;flex-direction:column;text-decoration:none;color:inherit}
        .post-card:hover{border-color:#38bdf8;transform:translateY(-2px);box-shadow:0 10px 22px rgba(2,132,199,.1)}
        .post-thumb{height:148px;background:linear-gradient(135deg,#e0f2fe,#f0f9ff);display:flex;align-items:center;justify-content:center;border-bottom:1px solid #eef2f6}
        .post-thumb i{font-size:32px;color:#0284c7;opacity:.5}
        .post-body{padding:14px 16px;flex:1;display:flex;flex-direction:column}
        .post-tag{display:inline-flex;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:3px 8px;border-radius:999px;background:#f0f9ff;color:#0284c7;border:1px solid #dbeafe;width:fit-content;margin-bottom:8px}
        .post-body h3{margin:0 0 6px;font-size:15px;line-height:1.4}
        .post-body p{margin:0;color:var(--muted);font-size:13px;line-height:1.5;flex:1}
        .post-meta{margin-top:10px;display:flex;align-items:center;gap:8px;font-size:12px;color:#94a3b8;border-top:1px solid #f1f5f9;padding-top:10px}
        .post-meta img{width:22px;height:22px;border-radius:50%}
        @media(max-width:980px){.blog-grid{grid-template-columns:repeat(2,1fr)}}
        @media(max-width:560px){.blog-grid{grid-template-columns:1fr}.browse-hero h1{font-size:30px}}
        .pagination{display:flex;gap:6px;justify-content:center;align-items:center;margin:22px 0 0;flex-wrap:wrap}
        .page-btn{min-width:36px;height:36px;padding:0 10px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;color:#334155;font-size:13px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
        .page-btn:hover{border-color:#38bdf8;color:#0284c7}
        .page-btn.active{background:#0f172a;color:#fff;border-color:#0f172a}
        .page-btn:disabled{opacity:.45;cursor:not-allowed}
        .empty{margin:18px 0;background:#f8fafc;border:1px dashed #e2e8f0;border-radius:12px;padding:16px;text-align:center;color:#64748b;font-size:13px}
        .empty.hidden,[hidden]{display:none !important} /* blogs.html filtering — was hidden via pub-u-048 */
        .hidden{display:none !important}

/* --- Block 3 : Portal\blog\index.html, Portal\blog\blog.html --- */
/* Blog public portal — extends marketing.css only, no external tokens */
        .blog-hero{max-width:var(--max);margin:0 auto;padding:44px 20px 18px;display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center}
        .blog-hero h1{font-size:44px;letter-spacing:-.04em;margin:10px 0 10px;font-weight:800;line-height:.95}
        .blog-hero h1 span{background:linear-gradient(90deg,#38bdf8,#0ea5e9);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
        .blog-hero p{color:var(--muted);font-size:16px;line-height:1.6;margin:0;max-width:560px}
        .hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
        .hero-stat-card{background:linear-gradient(135deg,#0f172a,#0c4a6e);border-radius:20px;padding:16px;color:#fff;position:relative;overflow:hidden}
        .hero-stat-card::after{content:"";position:absolute;inset:auto -20% -30% -20%;height:55%;background:radial-gradient(ellipse at 50% 0%, rgba(56,189,248,.3), transparent 60%)}
        .hero-stat-inner{position:relative;background:#fff;border-radius:14px;padding:14px;color:var(--ink);border:1px solid #e2e8f0}
        .hero-kpis{position:relative;margin-top:10px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
        .hero-kpi{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:6px 8px;text-align:center;line-height:1.2}
        .hero-kpi b{display:block;font-size:14px;letter-spacing:-.02em}
        .hero-kpi span{font-size:11px;color:#bae6fd}
        @media(max-width:900px){.blog-hero{grid-template-columns:1fr}}

        /* Tag filter row — deduped (defined in Block 2) */
        /* Blog grid/post-card — deduped (defined in Block 2) */
        @media(max-width:560px){.blog-hero h1{font-size:34px}}

        /* Gated resources — uses why-item / card pattern */
        .gated-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
        .gated-card{background:#fff;border:1px solid #eef2f6;border-radius:16px;padding:18px;display:flex;gap:14px;align-items:center}
        .gated-icon{width:48px;height:48px;border-radius:12px;background:#0f172a;color:#38bdf8;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
        .gated-card h3{margin:0 0 4px;font-size:14px}
        .gated-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
        @media(max-width:700px){.gated-grid{grid-template-columns:1fr}}

        /* Newsletter — reuse cta-band */
        .newsletter-form{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
        .newsletter-form input{flex:1;min-width:220px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;font:inherit;font-size:14px}
        .newsletter-form input:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #e0f2fe}

        /* Lead/demo form — reuse contact.html .card + .field */
        .lead-grid{max-width:var(--max);margin:0 auto;padding:0 20px 40px;display:grid;grid-template-columns:1.15fr .85fr;gap:18px;align-items:start}
        .lead-card{background:#fff;border:1px solid #eef2f6;border-radius:16px;padding:18px}
        .lead-card h3{margin:0 0 12px;font-size:15px}
        .field{margin-bottom:12px}
        .field label{font-size:12px;font-weight:700;color:#334155;display:block;margin-bottom:6px;letter-spacing:.04em;text-transform:uppercase}
        .field input,.field select,.field textarea{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;font:inherit;font-size:14px;background:#fff}
        .field textarea{min-height:96px;resize:vertical}
        .field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #e0f2fe}
        .info-item{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px}
        .info-item i{width:36px;height:36px;border-radius:10px;background:#f0f9ff;color:#0284c7;display:flex;align-items:center;justify-content:center;flex-shrink:0}
        @media(max-width:900px){.lead-grid{grid-template-columns:1fr}}

/* --- Block 4 : Portal\public\about.html --- */
.about-hero{max-width:1200px;margin:0 auto;padding:44px 20px 18px;display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center}
        .about-hero h1{font-size:42px;letter-spacing:-.04em;margin:10px 0 10px;font-weight:800;line-height:.95}
        .about-hero p{color:#64748b;font-size:16px;line-height:1.6;margin:0}
        .about-visual{background:linear-gradient(135deg,#0f172a,#0c4a6e);border-radius:20px;padding:16px;color:#fff;position:relative;overflow:hidden}
        .about-visual::after{content:"";position:absolute;inset:auto -20% -30% -20%;height:55%;background:radial-gradient(ellipse at 50% 0%, rgba(56,189,248,.3), transparent 60%)}
        .timeline{position:relative;padding-inline-start:22px}
        .timeline::before{content:"";position:absolute;inset-inline-start:6px;top:4px;bottom:4px;width:2px;background:#e2e8f0}
        .t-item{position:relative;margin-bottom:16px;background:#fff;border:1px solid #eef2f6;border-radius:12px;padding:12px 14px}
        .t-item::before{content:"";position:absolute;inset-inline-start:-19px;top:14px;width:10px;height:10px;border-radius:50%;background:#38bdf8;border:2px solid #fff;box-shadow:0 0 0 2px #38bdf8}
        .t-item b{font-size:13px} .t-item p{margin:4px 0 0;color:#64748b;font-size:13px}
        @media(max-width:900px){.about-hero{grid-template-columns:1fr}}

/* --- Block 5 : Portal\public\contact.html --- */
.contact-hero{max-width:1200px;margin:0 auto;padding:36px 20px 14px}
        .contact-hero h1{font-size:36px;letter-spacing:-.03em;margin:8px 0 8px;font-weight:800}
        .contact-hero p{color:#64748b;margin:0;max-width:620px}
        .contact-grid{max-width:1200px;margin:0 auto;padding:18px 20px 40px;display:grid;grid-template-columns:1.15fr .85fr;gap:18px;align-items:start}
        .card{background:#fff;border:1px solid #eef2f6;border-radius:16px;padding:18px}
        .card h3{margin:0 0 12px;font-size:15px}
        .field{margin-bottom:12px}
        .field label{font-size:12px;font-weight:700;color:#334155;display:block;margin-bottom:6px;letter-spacing:.04em;text-transform:uppercase}
        .field input,.field select,.field textarea{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;font:inherit;font-size:14px;background:#fff}
        .field textarea{min-height:96px;resize:vertical}
        .field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px #e0f2fe}
        .check-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
        .check-row label{font-size:13px;font-weight:600;color:#334155;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px 12px;cursor:pointer;text-transform:none;letter-spacing:0;transition:border-color .15s,background .15s}
        .check-row label:hover{border-color:#cbd5e1;background:#f8fafc}
        .check-row input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:16px;height:16px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;display:inline-grid;place-content:center;flex-shrink:0;cursor:pointer;transition:border-color .15s,background .15s}
        .check-row input[type="checkbox"]:checked{background:var(--accent,#38bdf8);border-color:var(--accent,#38bdf8)}
        .check-row input[type="checkbox"]:checked::before{content:"";width:9px;height:5px;border:solid #fff;border-width:0 0 2px 2px;transform:rotate(-45deg) translate(1px,-1px);display:block}
        .check-row label:has(input:checked){border-color:var(--accent,#38bdf8);background:#f0f9ff;color:#0f172a}
        .info-item{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px}
        .info-item i{width:36px;height:36px;border-radius:10px;background:#f0f9ff;color:#0284c7;display:flex;align-items:center;justify-content:center;flex-shrink:0}
        .info-item b{font-size:13px;display:block} .info-item span{font-size:13px;color:#64748b;display:block}
        .map{height:180px;background:linear-gradient(135deg,#e0f2fe,#f0f9ff);border:1px dashed #bae6fd;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#0284c7;font-weight:700}
        @media(max-width:900px){.contact-grid{grid-template-columns:1fr}}

/* --- Block 6 : Portal\public\plans.html --- */
.plans-table-wrap { overflow-x: auto; }
        .plans-table { width: 100%; border-collapse: collapse; border: 1px solid #eef2f6; border-radius: 18px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.04); min-width: 860px; }
        .plans-table th, .plans-table td { border-bottom: 1px solid #f1f5f9; padding: 12px 18px; font-size: 13.5px; text-align: center; }
        .plans-table th { font-weight: 700; color: #0f172a; }
        .plans-table thead th { font-size: 14px; }
        .plans-table tbody tr:first-child { background: #f8fafc; }
        .plans-table td:first-child, .plans-table th:first-child { text-align: start; color: #475569; font-weight: 600; }
        .plans-table thead .rec-col { background: #f0f9ff; border-inline-start: 1px solid #dbeafe; border-inline-end: 1px solid #dbeafe; }
        .plans-table tbody .rec-col { background: #f8fbff; border-inline-start: 1px solid #dbeafe; border-inline-end: 1px solid #dbeafe; }
        .rec-tag { background: #0ea5e9; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; border-radius: 999px; padding: 3px 8px; margin-inline-start: 6px; vertical-align: middle; text-transform: uppercase; }
        .plan-name { font-size: 18px; font-weight: 800; }
        .plan-price { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #0f172a; }
        .plan-price small { font-size: 12px; color: #64748b; font-weight: 500; }
        .check-ok { color: #15803d; }
        .check-no { color: #cbd5e1; }
        .plans-cta-cell { padding-top: 18px !important; padding-bottom: 20px !important; }
        .faq-item { background: #fff; border: 1px solid #eef2f6; border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
        .faq-item summary { font-weight: 700; color: #0f172a; font-size: 14px; cursor: pointer; }
        .faq-item p { color: var(--muted); font-size: 13px; margin: 8px 0 0; line-height: 1.6; }
        .billing-note { display: flex; align-items: center; gap: 10px; background: #f0f9ff; border: 1px solid #dbeafe; color: #0c4a6e; border-radius: 14px; padding: 12px 16px; font-size: 13px; margin: 0 0 22px; }
        .billing-note i { color: #0284c7; }
        .billing-toggle-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 0 18px; }
        .billing-toggle { display: inline-flex; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px; padding: 4px; gap: 4px; }
        .billing-toggle-btn { padding: 8px 18px; border-radius: 999px; border: none; background: transparent; font-size: 13px; font-weight: 700; color: #64748b; cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; gap: 6px; }
        .billing-toggle-btn.active { background: #0f172a; color: #fff; box-shadow: 0 2px 8px rgba(15,23,42,.12); }
        .billing-toggle-btn .save-badge { background: #22c55e; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 3px 7px; border-radius: 999px; }
        .billing-save-note { font-size: 12px; color: #16a34a; font-weight: 600; }
        .plan-price s { color: #94a3b8; font-size: 14px; font-weight: 600; margin-inline-end: 6px; }
        .plan-price .billing-period-label { display: block; font-size: 11px; color: #16a34a; font-weight: 600; margin-top: 2px; }
        .hero-price s { color: #94a3b8; font-size: 18px; font-weight: 600; margin-inline-end: 8px; }
        .modules-strip { background:#f8fafc; border-top:1px solid #eef2f6; border-bottom:1px solid #eef2f6; padding:18px 20px; }
        .modules-strip-inner { max-width:var(--max); margin:0 auto; display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
        .modules-strip-label { font-size:13px; font-weight:700; color:#64748b; white-space:nowrap; }
        .modules-strip-links { display:flex; gap:8px; flex-wrap:wrap; }
        .modules-strip-links a { padding:7px 14px; border-radius:999px; background:#fff; border:1px solid #e2e8f0; font-size:13px; font-weight:600; color:#334155; text-decoration:none; display:inline-flex; align-items:center; gap:6px; transition:border-color .15s, background .15s, color .15s; }
        .modules-strip-links a:hover { border-color:#38bdf8; color:#0284c7; background:#f0f9ff; }
        .modules-strip-links a.active { background:#0f172a; color:#fff; border-color:#0f172a; box-shadow:0 2px 8px rgba(15,23,42,.12); }
        .modules-strip-links a.active:hover { background:#0f172a; color:#fff; border-color:#0f172a; }

/* --- Block 7 : Portal\public\privacy.html, Portal\public\terms.html --- */
.legal-hero{max-width:900px;margin:0 auto;padding:36px 20px 10px}
        .legal-hero h1{font-size:32px;letter-spacing:-.03em;margin:8px 0 6px;font-weight:800}
        .legal-hero p{margin:0;color:#64748b;font-size:14px}
        .legal-body{max-width:900px;margin:0 auto;padding:10px 20px 40px}
        .legal-card{background:#fff;border:1px solid #eef2f6;border-radius:16px;padding:22px;line-height:1.7;color:#334155;font-size:14px}
        .legal-card h2{font-size:16px;margin:18px 0 8px;color:#0f172a}
        .legal-card h2:first-child{margin-top:0}
        .legal-card ul{margin:6px 0 0 0;margin-inline-start:18px;color:#475569}
        .legal-card a{color:#0284c7;font-weight:700;text-decoration:none}
        .legal-card .toc, .legal-body .toc{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
        .legal-card .toc a, .legal-body .toc a{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700;text-decoration:none;color:#334155}

/* --- Block 8 : Portal\public\services\commission.html, Portal\public\services\crm.html, Portal\public\services\finance.html, Portal\public\services\hr.html, Portal\public\services\inventory.html, Portal\public\services\scm.html --- */
body:not(.mkt) .feature-holder { position: relative; }
.feature-holder { background:#fff; border:1px solid #eef2f6; border-radius:16px; padding:18px; display:flex; flex-direction:column; gap:10px; transition:border-color .15s, box-shadow .15s; }
.feature-holder:hover { border-color:#cbd5e1; box-shadow:0 4px 12px rgba(15,23,42,.06); }
.feature-holder h3 { font-size:15px; font-weight:700; color:#0f172a; margin:0; line-height:1.3; }
.feature-holder p { font-size:13px; color:#64748b; line-height:1.55; margin:0; flex:1; }

/* ============================================================
   Public Portal — Inline style utilities (pub-u-*)
   123 unique patterns from 15 files
   ============================================================ */
.pub-u-001 { background:#0f172a;color:#22c55e; } /* [background:#0f172a;color:#22c55e;] */
.pub-u-002 { background:#0f172a;color:#fff;border-color:#1e293b; } /* [background:#0f172a;color:#fff;border-color:#1e293b;] */
.pub-u-003 { background:#dcfce7;color:#15803d;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700; } /* [background:#dcfce7;color:#15803d;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;] */
.pub-u-004 { background:#eff6ff;color:#2563eb; } /* [background:#eff6ff;color:#2563eb;] */
.pub-u-005 { background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700; } /* [background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700;] */
.pub-u-006 { background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:700; } /* [background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:700;] */
.pub-u-007 { background:#f8fafc;border:1px solid #eef2f6;border-radius:16px;padding:18px; } /* [background:#f8fafc;border:1px solid #eef2f6;border-radius:16px;padding:18px;] */
.pub-u-008 { background:#fff; } /* [background:#fff;] */
.pub-u-009 { background:linear-gradient(135deg,#0f172a,#0c4a6e);color:#fff;border-color:#0f172a; } /* [background:linear-gradient(135deg,#0f172a,#0c4a6e);color:#fff;border-color:#0f172a;] */
.pub-u-010 { background:linear-gradient(90deg,#38bdf8,#0ea5e9);-webkit-background-clip:text;-webkit-text-fill-color:transparent; } /* [background:linear-gradient(90deg,#38bdf8,#0ea5e9);-webkit-background-clip:text;-webkit-text-fill-color:transparent;] */
.pub-u-011 { background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:5px 10px;font-size:12px;font-weight:600; } /* [background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:5px 10px;font-size:12px;font-weight:600;] */
.pub-u-012 { background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:10px; } /* [background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:10px;] */
.pub-u-013 { background:var(--soft);border-top:1px solid #eef2f6;border-bottom:1px solid #eef2f6;padding:36px 0 40px; } /* [background:var(--soft);border-top:1px solid #eef2f6;border-bottom:1px solid #eef2f6;padding:36px 0 40px;] */
.pub-u-014 { border-radius:50%; } /* [border-radius:50%] */
.pub-u-015 { border-style:dashed; } /* [border-style:dashed;] */
.pub-u-016 { color:#0284c7;font-weight:700; } /* [color:#0284c7;font-weight:700;] */
.pub-u-017 { color:#0284c7;font-weight:700;text-decoration:none; } /* [color:#0284c7;font-weight:700;text-decoration:none;] */
.pub-u-018 { color:#0ea5e9; } /* [color:#0ea5e9] */
.pub-u-019 { color:#0f172a; } /* [color:#0f172a;] */
.pub-u-020 { color:#0f172a;font-weight:700; } /* [color:#0f172a;font-weight:700;] */
.pub-u-021 { color:#22c55e; } /* [color:#22c55e] */
.pub-u-022 { color:#38bdf8; } /* [color:#38bdf8] */
.pub-u-023 { color:#38bdf8; } /* [color:#38bdf8;] */
.pub-u-024 { color:#38bdf8;font-weight:700;text-decoration:none; } /* [color:#38bdf8;font-weight:700;text-decoration:none;] */
.pub-u-025 { color:#64748b;font-size:13px; } /* [color:#64748b;font-size:13px;] */
.pub-u-028 { color:#94a3b8;font-size:13px;border:1px dashed #e2e8f0;background:#f8fafc;padding:8px 10px;border-radius:10px; } /* [color:#94a3b8;font-size:13px;border:1px dashed #e2e8f0;background:#f8fafc;padding:8px 10px;border-radius:10px;] */
.pub-u-029 { color:#bae6fd;font-size:13px;margin-top:4px; } /* [color:#bae6fd;font-size:13px;margin-top:4px;] */
.pub-u-030 { color:#fff; } /* [color:#fff;] */
.pub-u-031 { display:block;color:#94a3b8;font-size:12px; } /* [display:block;color:#94a3b8;font-size:12px;] */
.pub-u-032 { display:block;font-size:12px;color:#64748b; } /* [display:block;font-size:12px;color:#64748b;] */
.pub-u-033 { display:flex;align-items:center;gap:10px;margin-bottom:10px; } /* [display:flex;align-items:center;gap:10px;margin-bottom:10px;] */
.pub-u-034 { display:flex;align-items:center;gap:8px;color:#bae6fd;font-size:13px; } /* [display:flex;align-items:center;gap:8px;color:#bae6fd;font-size:13px;] */
.pub-u-035 { display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #eef2f6;border-radius:12px;padding:10px; } /* [display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #eef2f6;border-radius:12px;padding:10px;] */
.pub-u-036 { display:flex;gap:10px;align-items:center;flex-wrap:wrap; } /* [display:flex;gap:10px;align-items:center;flex-wrap:wrap;] */
.pub-u-037 { display:flex;gap:10px;flex-wrap:wrap; } /* [display:flex;gap:10px;flex-wrap:wrap;] */
.pub-u-038 { display:flex;gap:10px;margin-top:14px;flex-wrap:wrap; } /* [display:flex;gap:10px;margin-top:14px;flex-wrap:wrap;] */
.pub-u-039 { display:flex;gap:10px;margin-top:16px;flex-wrap:wrap; } /* [display:flex;gap:10px;margin-top:16px;flex-wrap:wrap;] */
.pub-u-041 { display:flex;gap:8px; } /* [display:flex;gap:8px;] */
.pub-u-042 { display:flex;gap:8px;flex-wrap:wrap; } /* [display:flex;gap:8px;flex-wrap:wrap;] */
.pub-u-043 { display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center;width:100%; } /* [display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center;width:100%;] */
.pub-u-044 { display:grid;gap:10px; } /* [display:grid;gap:10px;] */
.pub-u-045 { display:grid;gap:16px; } /* [display:grid;gap:16px;] */
.pub-u-046 { display:grid;grid-template-columns:1fr 1fr;gap:12px; } /* [display:grid;grid-template-columns:1fr 1fr;gap:12px;] */
.pub-u-047 { display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start; } /* [display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start;] */
.pub-u-048 { display:none; } /* [display:none;] */
.pub-u-049 { display:none;margin-top:10px;background:rgba(34,197,94,.15);border:1px solid rgba(34,197,94,.3);color:#bbf7d0;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600; } /* [display:none;margin-top:10px;background:rgba(34,197,94,.15);border:1px solid rgba(34,197,94,.3);color:#bbf7d0;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600;] */
.pub-u-050 { display:none;margin-top:12px;background:#dcfce7;border:1px solid #bbf7d0;color:#15803d;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600; } /* [display:none;margin-top:12px;background:#dcfce7;border:1px solid #bbf7d0;color:#15803d;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600;] */
.pub-u-051 { display:none;margin-top:12px;background:#f0f9ff;border:1px solid #dbeafe;color:#0284c7;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600; } /* [display:none;margin-top:12px;background:#f0f9ff;border:1px solid #dbeafe;color:#0284c7;border-radius:10px;padding:10px 12px;font-size:13px;font-weight:600;] */
.pub-u-052 { flex:1; } /* [flex:1;] */
.pub-u-053 { flex:1;padding:8px 10px;border:1px solid #e2e8f0;border-radius:10px;font-size:13px; } /* [flex:1;padding:8px 10px;border:1px solid #e2e8f0;border-radius:10px;font-size:13px;] */
.pub-u-054 { flex-direction:column;align-items:stretch; } /* [flex-direction:column;align-items:stretch;] */
.pub-u-055 { font-size:11px;font-weight:700;background:#dcfce7;color:#15803d;padding:3px 8px;border-radius:999px; } /* [font-size:11px;font-weight:700;background:#dcfce7;color:#15803d;padding:3px 8px;border-radius:999px;] */
.pub-u-056 { font-size:11px;font-weight:700;background:#f0f9ff;color:#0284c7;padding:3px 8px;border-radius:999px; } /* [font-size:11px;font-weight:700;background:#f0f9ff;color:#0284c7;padding:3px 8px;border-radius:999px;] */
.pub-u-057 { font-size:12px;color:#0284c7;font-weight:700;text-decoration:none; } /* [font-size:12px;color:#0284c7;font-weight:700;text-decoration:none;] */
.pub-u-058 { font-size:12px;color:#64748b; } /* [font-size:12px;color:#64748b;] */
.pub-u-059 { font-size:12px;color:#94a3b8; } /* [font-size:12px;color:#94a3b8;] */
.pub-u-060 { font-size:12px;color:#bae6fd; } /* [font-size:12px;color:#bae6fd;] */
.pub-u-061 { font-size:12px;color:#bae6fd;align-self:center; } /* [font-size:12px;color:#bae6fd;align-self:center;] */
.pub-u-062 { font-size:12px;font-weight:700;color:#475569; } /* [font-size:12px;font-weight:700;color:#475569;] */
.pub-u-063 { font-size:13px; } /* [font-size:13px;] */
.pub-u-064 { font-size:13px;display:block; } /* [font-size:13px;display:block;] */
.pub-u-065 { font-size:13px;margin-bottom:8px; } /* [font-size:13px;margin-bottom:8px;] */
.pub-u-066 { font-size:14px; } /* [font-size:14px;] */
.pub-u-067 { font-size:15px;font-weight:800;letter-spacing:-.02em;margin-bottom:10px; } /* [font-size:15px;font-weight:800;letter-spacing:-.02em;margin-bottom:10px;] */
.pub-u-068 { font-size:18px;display:block; } /* [font-size:18px;display:block;] */
.pub-u-069 { font-size:40px;font-weight:800;letter-spacing:-.03em; } /* [font-size:40px;font-weight:800;letter-spacing:-.03em;] */
.pub-u-070 { font-weight:700;cursor:pointer; } /* [font-weight:700;cursor:pointer;] */
.pub-u-071 { margin:0 0 10px;color:#64748b;font-size:13px; } /* [margin:0 0 10px;color:#64748b;font-size:13px;] */
.pub-u-072 { margin:0 0 10px;color:#94a3b8;font-size:13px; } /* [margin:0 0 10px;color:#94a3b8;font-size:13px;] */
.pub-u-073 { margin:0 0 10px;color:#bae6fd;font-size:13px; } /* [margin:0 0 10px;color:#bae6fd;font-size:13px;] */
.pub-u-074 { margin:0 0 10px;font-size:15px; } /* [margin:0 0 10px;font-size:15px;] */
.pub-u-075 { margin:0 0 12px;color:#64748b;font-size:13px; } /* [margin:0 0 12px;color:#64748b;font-size:13px;] */
.pub-u-077 { margin:0 0 14px;color:#64748b; } /* [margin:0 0 14px;color:#64748b;] */
.pub-u-078 { margin:0 0 14px;color:#64748b;font-size:13px; } /* [margin:0 0 14px;color:#64748b;font-size:13px;] */
.pub-u-079 { margin:0 0 6px;font-size:15px;line-height:1.4; } /* [margin:0 0 6px;font-size:15px;line-height:1.4;] */
.pub-u-080 { margin:0 0 8px;font-size:28px;letter-spacing:-.03em; } /* [margin:0 0 8px;font-size:28px;letter-spacing:-.03em;] */
.pub-u-081 { margin:0;color:#334155;font-size:14px;line-height:1.6; } /* [margin:0;color:#334155;font-size:14px;line-height:1.6;] */
.pub-u-082 { margin:0;color:#64748b;font-size:13px;line-height:1.5; } /* [margin:0;color:#64748b;font-size:13px;line-height:1.5;] */
.pub-u-083 { margin:0;color:var(--muted);max-width:560px;margin-inline:auto; } /* [margin:0;color:var(--muted);max-width:560px;margin-left:auto;margin-right:auto;] */
.pub-u-084 { margin:10px 0 0;color:#64748b;font-size:12px; } /* [margin:10px 0 0;color:#64748b;font-size:12px;] */
.pub-u-085 { margin:10px 0 8px;font-size:32px;letter-spacing:-.03em;font-weight:800; } /* [margin:10px 0 8px;font-size:32px;letter-spacing:-.03em;font-weight:800;] */
.pub-u-086 { margin:6px 0 0;color:#64748b; } /* [margin:6px 0 0;color:#64748b;] */
.pub-u-087 { margin:8px 0 0;color:#94a3b8;font-size:11px; } /* [margin:8px 0 0;color:#94a3b8;font-size:11px;] */
.pub-u-088 { margin-inline-start:8px; } /* [margin-left:8px;] */
.pub-u-089 { margin-inline-start:auto;font-size:11px;font-weight:700;background:#dcfce7;color:#15803d;padding:3px 8px;border-radius:999px; } /* [margin-left:auto;font-size:11px;font-weight:700;background:#dcfce7;color:#15803d;padding:3px 8px;border-radius:999px;] */
.pub-u-090 { margin-inline-start:auto;font-size:12px;color:#94a3b8; } /* [margin-left:auto;font-size:12px;color:#94a3b8;] */
.pub-u-091 { margin-inline-end:8px; } /* [margin-right:8px;] */
.pub-u-092 { margin-top:10px;display:flex;gap:8px;flex-wrap:wrap; } /* [margin-top:10px;display:flex;gap:8px;flex-wrap:wrap;] */
.pub-u-093 { margin-top:10px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap; } /* [margin-top:10px;display:flex;gap:8px;justify-content:center;flex-wrap:wrap;] */
.pub-u-094 { margin-top:12px;background:#0f172a;color:#bae6fd;border-radius:10px;padding:10px;font-size:12px; } /* [margin-top:12px;background:#0f172a;color:#bae6fd;border-radius:10px;padding:10px;font-size:12px;] */
.pub-u-095 { margin-top:12px;display:flex;align-items:center;gap:8px;font-size:12px;color:#64748b; } /* [margin-top:12px;display:flex;align-items:center;gap:8px;font-size:12px;color:#64748b;] */
.pub-u-097 { margin-top:12px;padding-top:12px;border-top:1px solid #f1f5f9;display:grid;grid-template-columns:1fr 1fr;gap:10px; } /* [margin-top:12px;padding-top:12px;border-top:1px solid #f1f5f9;display:grid;grid-template-columns:1fr 1fr;gap:10px;] */
.pub-u-098 { margin-top:12px;width:100%;justify-content:center; } /* [margin-top:12px;width:100%;justify-content:center;] */
.pub-u-099 { margin-top:14px;border-top:1px solid rgba(255,255,255,.15);padding-top:12px;font-size:12px;color:#e2e8f0; } /* [margin-top:14px;border-top:1px solid rgba(255,255,255,.15);padding-top:12px;font-size:12px;color:#e2e8f0;] */
.pub-u-100 { margin-top:14px;color:#94a3b8;font-size:12px; } /* [margin-top:14px;color:#94a3b8;font-size:12px;] */
.pub-u-101 { margin-top:16px;border-top:1px solid rgba(255,255,255,.15);padding-top:12px;font-size:12px;color:#bae6fd; } /* [margin-top:16px;border-top:1px solid rgba(255,255,255,.15);padding-top:12px;font-size:12px;color:#bae6fd;] */
.pub-u-102 { margin-top:6px;font-size:12.5px;color:#e2e8f0; } /* [margin-top:6px;font-size:12.5px;color:#e2e8f0;] */
.pub-u-103 { margin-top:6px;font-size:12px;color:#e2e8f0; } /* [margin-top:6px;font-size:12px;color:#e2e8f0;] */
.pub-u-104 { margin-top:8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap; } /* [margin-top:8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;] */
.pub-u-105 { margin-top:8px;font-size:12.5px;color:#e2e8f0; } /* [margin-top:8px;font-size:12.5px;color:#e2e8f0;] */
.pub-u-106 { max-width:760px;margin:0 auto; } /* [max-width:760px;margin:0 auto;] */
.pub-u-107 { max-width:var(--max);margin:0 auto; } /* [max-width:var(--max);margin:0 auto;] */
.pub-u-108 { max-width:var(--max);margin:0 auto;padding:0 20px 18px;text-align:center; } /* [max-width:var(--max);margin:0 auto;padding:0 20px 18px;text-align:center;] */
.pub-u-110 { padding-top:0; } /* [padding-top:0;] */
.pub-u-111 { padding-top:10px; } /* [padding-top:10px;] */
.pub-u-112 { padding-top:12px; } /* [padding-top:12px;] */
.pub-u-113 { position:relative;background:#fff;border-radius:14px;padding:16px;color:#0f172a;border:1px solid #e2e8f0; } /* [position:relative;background:#fff;border-radius:14px;padding:16px;color:#0f172a;border:1px solid #e2e8f0;] */
.pub-u-114 { position:relative;margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px; } /* [position:relative;margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px;] */
.pub-u-115 { text-align:center; } /* [text-align:center;] */
.pub-u-116 { text-align:center;margin-top:10px;font-size:12px;color:#94a3b8; } /* [text-align:center;margin-top:10px;font-size:12px;color:#94a3b8;] */
.pub-u-117 { text-align:center;margin-top:18px; } /* [text-align:center;margin-top:18px;] */
.pub-u-118 { text-align:center;padding:34px 20px;color:#fff; } /* [text-align:center;padding:34px 20px;color:#fff;] */
.pub-u-119 { text-align:start;padding:26px 22px;color:#fff; } /* [text-align:start;padding:26px 22px;color:#fff;] */
.pub-u-120 { white-space:nowrap; } /* [white-space:nowrap;] */
.pub-u-121 { width:100%; } /* [width:100%;] */
.pub-u-122 { width:100%;justify-content:center; } /* [width:100%;justify-content:center;] */
.pub-u-123 { width:100%;padding:9px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;font-size:13px;margin-bottom:8px; } /* [width:100%;padding:9px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;font-size:13px;margin-bottom:8px;] */

/* Semantic aliases (optional) */
.pub-card-icon { /* alias for icon gradients */ }

/* ============================================================
   MERGED — auth.css (Portal/identity + profile)
   ============================================================ */
/* ============================================================
   DataEnabler — Auth styles (login / registration / profile)
   Uses the portal accent tokens from portal.css
   ============================================================ */

.auth-shell {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background:
        radial-gradient(600px 300px at 15% 0%, var(--accent-soft, #ede9fe) 0%, transparent 60%),
        radial-gradient(600px 320px at 85% 100%, var(--accent-soft, #ccfbf1) 0%, transparent 60%),
        #f6f8fc;
}

.auth-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    padding: 30px;
    width: 100%;
    max-width: 430px;
}

.auth-card.wide {
    max-width: 720px;
}

.auth-card .auth-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-soft, #ede9fe);
    color: var(--accent, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.auth-card h1 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.auth-card .auth-sub {
    color: #64748b;
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ---- Fields ---- */
.auth-field { margin-bottom: 14px; }
.auth-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}
.auth-field input,
.auth-field select {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-field input:focus,
.auth-field select:focus {
    border-color: var(--accent, #38bdf8);
    box-shadow: 0 0 0 3px var(--accent-soft, #dbeafe);
}
.auth-field .input-hint { font-size: 11.5px; color: #94a3b8; margin-top: 5px; }

.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-row.three { grid-template-columns: repeat(3, 1fr); }

/* ---- Password wrapper ---- */
.pw-wrap { position: relative; }
.pw-wrap input { padding-inline-end: 40px; }
.pw-wrap .pw-eye {
    position: absolute;
    inset-inline-end: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
}

/* ---- Role picker (login) ---- */
.role-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.role-tile {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    color: #475569;
    font-size: 11.5px;
    font-weight: 600;
}
.role-tile i { display: block; font-size: 18px; margin-bottom: 6px; color: #94a3b8; }
.role-tile:hover { border-color: #cbd5e1; }
.role-tile.selected {
    border-color: var(--accent, #38bdf8);
    background: var(--accent-soft, #dbeafe);
    color: var(--accent, #1d4ed8);
    box-shadow: 0 0 0 3px var(--accent-soft, #dbeafe);
}
.role-tile.selected i { color: var(--accent, #1d4ed8); }

/* ---- Plan cards (registration) ---- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.plan-card:hover { border-color: #cbd5e1; }
.plan-card.selected {
    border-color: var(--accent, #38bdf8);
    background: var(--accent-soft, #dbeafe);
    box-shadow: 0 0 0 3px var(--accent-soft, #dbeafe);
}
.plan-card .p-name { font-size: 14px; font-weight: 700; color: #0f172a; }
.plan-card .p-price { font-size: 20px; font-weight: 800; color: var(--accent, #1d4ed8); margin-top: 4px; }
.plan-card .p-price small { font-size: 12px; font-weight: 500; color: #94a3b8; }
.plan-card .p-feats { margin-top: 10px; font-size: 11.5px; color: #64748b; display: grid; gap: 4px; }
.plan-card .p-feats i { color: #22c55e; width: 14px; }
.plan-card .p-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: var(--accent, #38bdf8);
    border-radius: 30px;
    padding: 2px 8px;
    margin-bottom: 8px;
}

/* ---- Buttons ---- */
.auth-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: var(--accent, #1d4ed8);
    cursor: pointer;
    transition: filter 0.15s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.auth-btn:hover { filter: brightness(1.08); }
.auth-btn:active { transform: scale(0.99); }
.auth-btn.secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}
.auth-btn.secondary:hover { background: #e2e8f0; filter: none; }

/* ---- Misc helpers ---- */
.auth-alt { text-align: center; font-size: 12.5px; color: #64748b; margin-top: 18px; }
.auth-alt a { color: var(--accent, #1d4ed8); font-weight: 700; text-decoration: none; }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 11x;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 18px 0;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #f1f5f9; }
.social-btn {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.social-btn:hover { background: #f8fafc; }

.check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #475569; margin: 12px 0 8px; }
.check input { accent-color: var(--accent, #1d4ed8); }

.auth-tip {
    background: var(--accent-soft, #dbeafe);
    color: var(--accent, #1d4ed8);
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 16px;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ---- Profile page cards ---- */
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.profile-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 20px;
}
.profile-card .pc-title { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.profile-avatar {
    text-align: center;
    padding-bottom: 6px;
}
.profile-avatar img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 3px solid var(--accent-soft, #dbeafe);
}
.profile-avatar h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin-top: 10px; }
.profile-avatar p { font-size: 12.5px; color: #64748b; }
.profile-avatar .role-chip {
    display: inline-block;
    margin-top: 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent, #7c3aed);
    background: var(--accent-soft, #ede9fe);
    border-radius: 30px;
    padding: 4px 14px;
}
.meta-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 9px 0; border-bottom: 1px solid #f8fafc; }
.meta-row:last-child { border-bottom: none; }
.meta-row span { color: #94a3b8; }
.meta-row b { color: #334155; font-weight: 600; }

.session-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 13px;
}
.session-row:last-child { border-bottom: none; }
.session-row .dev-ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #f1f5f9; color: #64748b; }
.session-row b { color: #0f172a; }
.session-row .s-meta { color: #94a3b8; font-size: 11.5px; }
.session-row .this-session { font-size: 10px; font-weight: 700; color: #fff; background: #22c55e; border-radius: 30px; padding: 2px 8px; }

@media (max-width: 760px) {
    .profile-grid { grid-template-columns: 1fr; }
    .auth-row, .auth-row.three, .role-picker, .plan-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Auth — Profile inline utilities (auth-u-*)
   Generated from Portal/identity/profile.html (7 unique, 9 total)
   ============================================================ */
.auth-u-001 { background:#dbeafe;color:#1d4ed8; } /* [background:#dbeafe;color:#1d4ed8;] */
.auth-u-002 { border-inline-start:1px solid #1e293b;padding-inline-start:14px; } /* [border-left:1px solid #1e293b;padding-left:14px;] */
.auth-u-003 { color:#8b5cf6; } /* [color:#8b5cf6;] */
.auth-u-004 { display:grid;gap:20px; } /* [display:grid;gap:20px;] */
.auth-u-005 { font-weight:600;color:#0f172a; } /* [font-weight:600;color:#0f172a;] */
.auth-u-006 { margin-top:10px; } /* [margin-top:10px;] */
.auth-u-007 { margin-top:6px; } /* [margin-top:6px;] */

/* ============================================================
   Auth — Identity inline utilities + <style> blocks
   Generated from 5 identity files (21 unique inline, 5 blocks)
   ============================================================ */

/* --- Identity Block 1 : Portal\identity\forgot-password.html --- */
body.accent-access { --accent: #38bdf8; --accent-soft: #dbeafe; --hero-to: #0c4a6e; }
        body.portal { display: block; }
        .auth-shell { min-height: 100vh !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 40px 24px !important; width: 100% !important; }
        .auth-card { margin: 0 auto !important; }
        .success-box { display: none; background: #dcfce7; border: 1px solid #bbf7d0; color: #15803d; border-radius: 10px; padding: 12px; font-size: 13px; line-height: 1.5; margin-top: 14px; }
        .success-box.show { display: block; }

/* --- Identity Block 3 : Portal\identity\login-platform.html --- */
body.accent-platform { --accent: #7c3aed; --accent-soft: #ede9fe; --hero-to: #4c1d95; }
        body.portal { display: block; }
        .auth-shell { min-height: 100vh !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 40px 24px !important; width: 100% !important; }
        .auth-card { margin: 0 auto !important; }
        .auth-logo.platform { background: #ede9fe; color: #7c3aed; }
        .auth-btn.platform { background: #7c3aed; }
        .auth-btn.platform:hover { background: #6d28d9; }
        .role-hint { background: #fef9c3; border: 1px solid #fde68a; color: #92400e; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; }
        .role-hint i { margin-top: 2px; }

/* --- Identity Block 4 : Portal\identity\login-tenant.html --- */
body.accent-tenant { --accent: #0d9488; --accent-soft: #ccfbf1; --hero-to: #134e4a; }
        body.portal { display: block; }
        .auth-shell { min-height: 100vh !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 40px 24px !important; width: 100% !important; }
        .auth-card { margin: 0 auto !important; }
        .auth-logo.tenant { background: #ccfbf1; color: #0d9488; }
        .auth-btn.tenant { background: #0d9488; }
        .auth-btn.tenant:hover { background: #0f766e; }
        .role-hint { background: #ede9fe; border: 1px solid #ddd6fe; color: #5b21b6; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; line-height: 1.5; display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; }
        .role-hint i { margin-top: 2px; }
        .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
        @media(max-width:600px){ .field-row{grid-template-columns:1fr} }

/* --- Identity Block 5 : Portal\identity\register.html --- */
body.accent-access { --accent: #38bdf8; --accent-soft: #dbeafe; --hero-to: #0c4a6e; }
        body.portal { display: block; }
        .auth-shell { min-height: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 48px 24px 72px !important; width: 100% !important; }
        .auth-card { margin: 0 auto !important; }

/* --- Identity inline utilities (new) --- */
.auth-u-008 { color:#15803d;font-weight:800; } /* [color:#15803d;font-weight:800;] */
.auth-u-012 { display:block;font-size:13px; } /* [display:block;font-size:13px;] */
.auth-u-013 { display:flex;align-items:center;gap:10px;background:#ccfbf1;border:1px solid #99f6e4;border-radius:12px;padding:12px;text-decoration:none;color:#134e4a; } /* [display:flex;align-items:center;gap:10px;background:#ccfbf1;border:1px solid #99f6e4;border-radius:12px;padding:12px;text-decoration:none;color:#134e4a;] */
.auth-u-014 { display:flex;align-items:center;gap:10px;background:#ede9fe;border:1px solid #ddd6fe;border-radius:12px;padding:12px;text-decoration:none;color:#5b21b6; } /* [display:flex;align-items:center;gap:10px;background:#ede9fe;border:1px solid #ddd6fe;border-radius:12px;padding:12px;text-decoration:none;color:#5b21b6;] */
.auth-u-016 { display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px; } /* [display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px;] */
.auth-u-017 { font-size:12px;color:#0d9488; } /* [font-size:12px;color:#0d9488;] */
.auth-u-018 { font-size:12px;color:#7c3aed; } /* [font-size:12px;color:#7c3aed;] */
.auth-u-020 { font-size:18px; } /* [font-size:18px;] */
.auth-u-023 { margin-bottom:18px; } /* [margin-bottom:18px;] */
.auth-u-026 { margin-top:8px;font-size:12px;color:#64748b; } /* [margin-top:8px;font-size:12px;color:#64748b;] */
.auth-u-028 { text-decoration:none;justify-content:center; } /* [text-decoration:none;justify-content:center;] */

/* ============================================================
   MERGED — marketing.css (index + public/blog base)
   ============================================================ */
/* DataEnabler — Marketing site (Home) — light, clean, independent from erp.css
   NOTE: CRM Marketing (ERP/CRM/*) uses css/crm.css for workflow/pipeline. Do NOT import this file in CRM. Kept separate to avoid token collision. */
:root{ --nav-h:68px; --max:1200px; --accent:#38bdf8; --accent2:#0ea5e9; --ink:#0f172a; --muted:#64748b; --line:#e2e8f0; --soft:#f8fafc; --radius:16px }
*{box-sizing:border-box} html{scroll-behavior:smooth}
body.mkt{margin:0;font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;color:var(--ink);background:#fff;line-height:1.5}
a{color:inherit}
.mkt-nav{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid #eef2f6}
.mkt-nav-inner{max-width:var(--max);margin:0 auto;padding:0 20px;height:var(--nav-h);display:flex;align-items:center;justify-content:space-between;gap:16px}
.mkt-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;letter-spacing:-.02em;text-decoration:none;color:#0f172a}
.mkt-brand i{color:var(--accent);font-size:22px}
.mkt-brand span{display:flex;flex-direction:column;line-height:1;gap:1px}
.mkt-brand small{display:block;font-weight:600;font-size:10px;letter-spacing:.12em;color:#38bdf8;margin-top:0;line-height:1;text-transform:uppercase}
.mkt-links{display:flex;align-items:center;gap:22px}
.mkt-links a{font-size:14px;font-weight:600;color:#334155;text-decoration:none;position:relative;padding-bottom:2px;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
.mkt-links a:hover{color:#0f172a}
.mkt-links a.active{color:#0284c7;border-bottom-color:#38bdf8;font-weight:700}
.mkt-cta{display:flex;align-items:center;gap:10px}
.mkt-cta .mkt-lang-btn{width:40px;height:40px;padding:0;justify-content:center;border-radius:8px;font-size:13px;font-weight:800}
.mkt-cta .mkt-lang-btn i{display:none}
.mkt-cta .signin-short{display:none}
.btn{appearance:none;border:1px solid transparent;border-radius:10px;padding:10px 16px;font-weight:700;font-size:14px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:8px;line-height:1}
.btn-ghost{background:#fff;border-color:#e2e8f0;color:#0f172a}
.btn-ghost:hover{border-color:#38bdf8;background:#f0f9ff}
.btn-primary{background:#0f172a;color:#fff}
.btn-primary:hover{background:#1e293b}
.btn-accent{background:var(--accent);color:#0f172a}
.btn-accent:hover{background:#0ea5e9;color:#fff}
.mkt-hero{max-width:var(--max);margin:0 auto;padding:42px 20px 28px;display:grid;grid-template-columns:1.08fr .92fr;gap:36px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:#f0f9ff;border:1px solid #dbeafe;color:#0284c7;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:6px 10px;border-radius:8px}
.eyebrow i{font-size:12px}
.mkt-hero h1{font-size:46px;line-height:.95;letter-spacing:-.04em;margin:14px 0 12px;font-weight:800}
.mkt-hero h1 span{background:linear-gradient(90deg,#38bdf8,#0ea5e9);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.mkt-hero p.lead{color:var(--muted);font-size:17px;line-height:1.6;margin:0 0 18px;max-width:560px}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 14px}
.hero-trust{display:flex;align-items:center;gap:14px;color:#94a3b8;font-size:13px;margin-top:6px}
.hero-trust b{color:#0f172a}
.hero-stats{display:flex;gap:18px;margin-top:18px;border-top:1px solid #f1f5f9;padding-top:16px}
.hero-stat b{font-size:22px;display:block;line-height:1}
.hero-stat span{font-size:12px;color:var(--muted);font-weight:600}
.hero-visual{position:relative;background:linear-gradient(180deg,#0f172a 0%, #0c4a6e 100%);border-radius:22px;padding:18px;box-shadow:0 20px 50px rgba(2,132,199,.22);overflow:hidden}
.hero-visual::after{content:"";position:absolute;inset:auto -30% -30% -30%;height:60%;background:radial-gradient(ellipse at 50% 0%, rgba(56,189,248,.35), transparent 60%)}
.browser{position:relative;background:#fff;border-radius:14px;overflow:hidden;border:1px solid #e2e8f0;box-shadow:0 10px 30px rgba(15,23,42,.12)}
.browser-bar{height:38px;background:#f8fafc;border-bottom:1px solid #eef2f6;display:flex;align-items:center;gap:6px;padding:0 12px}
.browser-bar i{width:10px;height:10px;border-radius:50%;display:inline-block}
.browser-grid{display:grid;grid-template-columns:180px 1fr;min-height:260px}
.browser-side{background:#f8fafc;border-inline-end:1px solid #eef2f6;padding:12px 10px}
.side-item{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:8px;font-size:12px;font-weight:600;color:#334155}
.side-item.active{background:#0f172a;color:#fff}
.browser-main{padding:14px}
.mini-kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}
.mini-kpi div{background:#f8fafc;border:1px solid #eef2f6;border-radius:10px;padding:10px}
.mini-kpi b{font-size:13px} .mini-kpi span{font-size:11px;color:#64748b;display:block}
.mini-table{border:1px solid #eef2f6;border-radius:10px;overflow:hidden}
.mini-row{display:flex;justify-content:space-between;padding:8px 10px;font-size:12px;border-bottom:1px solid #f1f5f9}
.mini-row:last-child{border-bottom:0}
.badge{font-size:11px;font-weight:700;padding:2px 7px;border-radius:999px}
.badge-ok{background:#dcfce7;color:#15803d} .badge-warn{background:#fef9c3;color:#a16207}
.mkt-section{max-width:var(--max);margin:0 auto;padding:54px 20px}
.mkt-section.soft{background:var(--soft);border-top:1px solid #eef2f6;border-bottom:1px solid #eef2f6}
.section-head{text-align:center;max-width:680px;margin:0 auto 28px}
.section-head h2{font-size:32px;letter-spacing:-.03em;margin:0 0 8px;font-weight:800}
.section-head p{color:var(--muted);margin:0}
.grid6{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.mod-card{background:#fff;border:1px solid #eef2f6;border-top:4px solid transparent;border-radius:16px;padding:18px;transition:.15s;overflow:hidden}
.mod-card:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(2,132,199,.1)}
.grid6 .mod-card:nth-child(1){border-top-color:#1d4ed8}
.grid6 .mod-card:nth-child(1):hover{border-color:#eef2f6;border-top-color:#1d4ed8}
.grid6 .mod-card:nth-child(2){border-top-color:#a16207}
.grid6 .mod-card:nth-child(2):hover{border-color:#eef2f6;border-top-color:#a16207}
.grid6 .mod-card:nth-child(3){border-top-color:#15803d}
.grid6 .mod-card:nth-child(3):hover{border-color:#eef2f6;border-top-color:#15803d}
.grid6 .mod-card:nth-child(4){border-top-color:#7c3aed}
.grid6 .mod-card:nth-child(4):hover{border-color:#eef2f6;border-top-color:#7c3aed}
.grid6 .mod-card:nth-child(5){border-top-color:#0d9488}
.grid6 .mod-card:nth-child(5):hover{border-color:#eef2f6;border-top-color:#0d9488}
.grid6 .mod-card:nth-child(6){border-top-color:#be123c}
.grid6 .mod-card:nth-child(6):hover{border-color:#eef2f6;border-top-color:#be123c}
.grid6 .mod-card:nth-child(7){border-top-color:#ef4444}
.grid6 .mod-card:nth-child(7):hover{border-color:#eef2f6;border-top-color:#ef4444}
.mod-icon{width:42px;height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;margin-bottom:10px}
.mod-card h3{margin:0 0 6px;font-size:15px}
.mod-card p{margin:0 0 10px;color:var(--muted);font-size:13px;line-height:1.5}
.mod-card a{font-size:13px;font-weight:700;color:#0284c7;text-decoration:none}
.why{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.why-item{background:#fff;border:1px solid #eef2f6;border-radius:16px;padding:18px}
.why-item i{color:#38bdf8;font-size:18px;margin-bottom:8px}
.why-item h3{margin:0 0 6px;font-size:14px}
.why-item p{margin:0;color:var(--muted);font-size:13px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.step{background:#fff;border:1px solid #eef2f6;border-radius:16px;padding:18px;position:relative}
.step-num{width:30px;height:30px;border-radius:50%;background:#0f172a;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;margin-bottom:10px}
.pricing-teaser{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;align-items:center;background:#0f172a;color:#fff;border-radius:20px;padding:22px}
.pricing-teaser h3{margin:0 0 6px;font-size:20px}
.pricing-teaser p{margin:0;color:#94a3b8;font-size:13px}
.price-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.price-chip{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:7px 12px;font-size:13px;font-weight:600}
.cta-band{background:linear-gradient(135deg,#0f172a,#0c4a6e);color:#fff;border-radius:20px;padding:26px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.cta-band h3{margin:0;font-size:22px}
.cta-band p{margin:4px 0 0;color:#bae6fd;font-size:13px}
.mkt-footer{background:#0f172a;color:#94a3b8;padding:32px 20px 22px}
.mkt-footer-inner{max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:22px}
.mkt-footer h4{color:#fff;margin:0 0 10px;font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.mkt-footer a{color:#94a3b8;text-decoration:none;font-size:13px;display:block;margin:6px 0}
.mkt-footer a:hover{color:#fff}
.foot-brand{color:#fff;font-weight:800;display:inline-flex;align-items:center;gap:8px}
.foot-brand i{color:#38bdf8;flex-shrink:0}
.mkt-footer a i{margin-inline-end:8px;flex-shrink:0;width:14px;text-align:center}
.mkt-footer a:has(> i){display:flex;align-items:center;gap:8px}
.mkt-footer a:has(> i) > i{margin-inline-end:0}
.copy{max-width:var(--max);margin:18px auto 0;padding-top:16px;border-top:1px solid #1e293b;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px;color:#64748b}
.mobile-toggle{display:none;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px;align-items:center;justify-content:center;cursor:pointer;line-height:1}
/* LHS drawer — mobile only, hidden on desktop */
.mkt-drawer-overlay{position:fixed;inset:0;background:rgba(15,23,42,.45);backdrop-filter:blur(2px);z-index:60;opacity:0;pointer-events:none;transition:opacity .22s}
.mkt-drawer-overlay.open{opacity:1;pointer-events:auto}
.mkt-drawer{position:fixed;top:0;left:0;right:auto;inset-inline-start:0;inset-inline-end:auto;bottom:0;width:300px;max-width:85vw;background:#fff;z-index:61;transform:translateX(-100%);visibility:hidden;transition:transform .28s cubic-bezier(.32,.72,0,1), visibility .28s;overflow-y:auto;box-shadow:4px 0 28px rgba(15,23,42,.18);display:flex;flex-direction:column}
.mkt-drawer.open{transform:translateX(0);visibility:visible}
.mkt-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px 12px;border-bottom:1px solid #eef2f6}
.mkt-drawer-head .mkt-brand{font-size:17px}
.mkt-drawer-close{width:36px;height:36px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#64748b;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.mkt-drawer-close:hover{border-color:#38bdf8;color:#0284c7;background:#f0f9ff}
.mkt-drawer-lang{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #eef2f6;background:#f8fafc}
.mkt-drawer-lang-btn{width:44px;height:36px;padding:0;justify-content:center;font-weight:800;font-size:13px;flex-shrink:0}
.mkt-drawer-lang span{font-size:13px;font-weight:600;color:#334155}
.mkt-drawer-links{display:flex;flex-direction:column;padding:10px 10px 6px;gap:2px}
.mkt-drawer-links a{display:flex;align-items:center;gap:10px;padding:10px 10px;border-radius:10px;font-size:14px;font-weight:600;color:#334155;text-decoration:none}
.mkt-drawer-links a i{width:18px;text-align:center;color:#64748b;font-size:13px}
.mkt-drawer-links a:hover{background:#f8fafc;color:#0f172a}
.mkt-drawer-links a.active{background:#0f172a;color:#fff}
.mkt-drawer-links a.active i{color:#38bdf8}
.mkt-drawer-cta{display:grid;gap:8px;padding:14px 14px 18px;margin-top:auto;border-top:1px solid #eef2f6;background:#fff}
.mkt-drawer-cta .btn{justify-content:center;width:100%}
/* RTL — drawer sticks on RIGHT */
html[dir="rtl"] .mkt-drawer{inset-inline-start:auto !important;inset-inline-end:0 !important;left:auto !important;right:0 !important;transform:translateX(100%) !important;box-shadow:-4px 0 28px rgba(15,23,42,.18)}
html[dir="rtl"] .mkt-drawer.open{transform:translateX(0) !important}
/* RTL helpers — gradients & directional icons */
html[dir="rtl"] .portal-hero{background:linear-gradient(225deg, #0f172a 0%, var(--hero-to, #0f172a) 60%, #0b1220 100%)}
html[dir="rtl"] .about-visual{background:linear-gradient(225deg,#0f172a,#0c4a6e)}
html[dir="rtl"] .cta-band{background:linear-gradient(225deg,#0f172a,#0c4a6e)}
html[dir="rtl"] .mkt-hero h1 span, html[dir="rtl"] .blog-hero h1 span{background:linear-gradient(270deg,#38bdf8,#0ea5e9);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
html[dir="rtl"] .fa-arrow-right, html[dir="rtl"] .fa-arrow-left, html[dir="rtl"] .fa-external-link-alt, html[dir="rtl"] .fa-chevron-right, html[dir="rtl"] .fa-chevron-left{transform:scaleX(-1);display:inline-block}
html[dir="rtl"] .featured-inner{background:linear-gradient(225deg,#e0f2fe,#f0f9ff)}
html[dir="rtl"] .hero-stat-card{background:linear-gradient(225deg,#0f172a,#0c4a6e)}
html[dir="rtl"] .post-thumb{background:linear-gradient(225deg,#e0f2fe,#f0f9ff)}
html[dir="rtl"] .map{background:linear-gradient(225deg,#e0f2fe,#f0f9ff)}
html[dir="rtl"] .browser{box-shadow:0 10px 30px rgba(15,23,42,.12)}
html[dir="rtl"] .prose blockquote{border-inline-start:3px solid #38bdf8;border-inline-end:none}
html[dir="rtl"] .prose blockquote{border-inline-start-color:#38bdf8;border-inline-end:none}

@media(max-width:980px){
  .mkt-hero{grid-template-columns:1fr;gap:22px;text-align:center}
  .mkt-hero > div:first-child{display:flex;flex-direction:column;align-items:center;width:100%}
  .mkt-hero h1{text-align:center}
  .mkt-hero p.lead{margin-inline:auto;text-align:center}
  .hero-actions{justify-content:center}
  .hero-trust{justify-content:center;text-align:center}
  .grid6{grid-template-columns:repeat(2,1fr)}
  .why,.steps{grid-template-columns:1fr 1fr}
  .pricing-teaser{grid-template-columns:1fr;text-align:center}
  .pricing-teaser .pricing-teaser .price-row{justify-content:center}
  .cta-band{flex-direction:column;align-items:flex-start}
  .mkt-footer-inner{grid-template-columns:1fr 1fr}
  /* header: single line Logo | Sign in | Register | hamburger */
  .mkt-nav-inner{height:var(--nav-h);flex-wrap:nowrap !important;gap:8px;padding:0 12px;min-height:var(--nav-h)}
  .mkt-brand{flex:0 0 auto;font-size:16px;gap:8px}
  .mkt-brand small{font-size:8px}
  .mkt-links{display:none !important}
  .mkt-cta{flex:0 0 auto;margin-inline-start:auto;gap:6px;flex-wrap:nowrap !important}
  .mkt-cta .btn{padding:7px 10px;font-size:12.5px;white-space:nowrap}
  .mkt-cta .mkt-cta-demo{display:none !important}
  .mkt-cta .mkt-lang-btn{display:none !important}
  .mobile-toggle{display:inline-flex;flex:0 0 auto}
}
@media(max-width:560px){
  .grid6{grid-template-columns:1fr;gap:12px}
  .mod-card{padding:14px;display:grid;grid-template-columns:36px 1fr;gap:8px 12px;align-items:start}
  .mod-card .mod-icon{width:36px;height:36px;font-size:16px;margin-bottom:0;flex-shrink:0;grid-row:1 / span 3}
  .mod-card h3{font-size:14px;margin:0;grid-column:2}
  .mod-card p{font-size:12.5px;margin:0;line-height:1.45;grid-column:2}
  .mod-card a{font-size:12.5px;grid-column:2}
  .why{grid-template-columns:1fr 1fr;gap:12px}
  .why-item{padding:14px}
  .why-item i{font-size:16px;margin-bottom:6px}
  .why-item h3{font-size:13px}
  .why-item p{font-size:12.5px;line-height:1.45}
  .steps{grid-template-columns:1fr;gap:12px}
  .step{padding:14px}
  .step h3{font-size:13px}
  .step p{font-size:12.5px;line-height:1.45}
  .step-num{width:26px;height:26px;font-size:12px;margin-bottom:8px}
  .mkt-hero h1{font-size:34px}
  .hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:none;padding-top:0;width:100%}
  .hero-stat{background:#f8fafc;border:1px solid #eef2f6;border-radius:12px;padding:12px 8px;text-align:center}
  .hero-stat b{font-size:15px;display:block;line-height:1.1}
  .hero-stat span{font-size:11px;white-space:normal;line-height:1.2;display:block}
  .pricing-teaser{padding:18px;gap:14px;border-radius:16px}
  .pricing-teaser h3{font-size:18px}
  .pricing-teaser p{font-size:13px}
  .price-row{gap:8px}
  .price-chip{font-size:12px;padding:6px 10px}
  .mkt-footer{padding:24px 16px 16px}
  .mkt-footer-inner{grid-template-columns:1fr 1fr;gap:20px 16px}
  .mkt-footer-inner > div:first-child{grid-column:1 / -1}
  .mkt-footer h4{font-size:12px;margin:0 0 8px}
  .mkt-footer a{font-size:14px;padding:10px 0;margin:0;min-height:44px;display:flex;align-items:center}
  .copy{flex-direction:column;text-align:center;gap:8px}
}
@media(max-width:560px){
  .pricing-teaser{padding:16px;gap:12px;border-radius:16px}
  .pricing-teaser h3{font-size:17px}
  .price-row{flex-direction:column;align-items:stretch}
  .price-chip{text-align:center;justify-content:center}
  .mkt-u-027 .pricing-teaser .btn{width:100%;justify-content:center}
  .mkt-footer{padding:0;background:#0f172a}
  .mkt-footer-inner{grid-template-columns:1fr;gap:0}
  .mkt-footer-inner > div{padding:18px 16px;border-bottom:1px solid #1e293b}
  .mkt-footer-inner > div:first-child{padding:22px 16px 18px;background:#0f172a}
  .mkt-footer-inner > div:last-child{border-bottom:none}
  .mkt-footer h4{font-size:11px;letter-spacing:.08em;margin:0 0 12px;color:#e2e8f0}
  .mkt-footer a{font-size:15px;font-weight:600;padding:14px 14px;margin:0 0 8px;min-height:48px;display:flex;align-items:center;gap:10px;background:#1e293b;border-radius:10px;border:1px solid #334155}
  .mkt-footer a:last-child{margin-bottom:0}
  .mkt-footer a i{width:18px;text-align:center;flex-shrink:0}
  .mkt-footer a:hover{background:#334155;border-color:#475569}
  .copy{padding:16px;text-align:center;flex-direction:column;gap:6px}
  .mkt-cta .signin-full{display:none}
  .mkt-cta .signin-short{display:inline}
  .mkt-nav-inner{height:var(--nav-h);min-height:var(--nav-h);flex-wrap:nowrap !important;gap:8px;padding:0 12px}
  .mkt-cta{flex-wrap:nowrap !important;gap:6px}
  .hero-trust{flex-wrap:wrap;gap:6px 14px}
  .eyebrow{white-space:normal}
  .browser-grid{grid-template-columns:1fr}
  .browser-side{display:none}
  body.mkt{overflow-x:hidden}
}

/* ----- ARABIC (RTL) FONTS ----- */
@font-face {
    font-family: 'DIN Next LT Arabic';
    src: url('../fonts/din-next-lt-arabic-ultralight.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DIN Next LT Arabic';
    src: url('../fonts/din-next-lt-arabic-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DIN Next LT Arabic';
    src: url('../fonts/din-next-lt-arabic-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DIN Next LT Arabic';
    src: url('../fonts/din-next-lt-arabic-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DIN Next LT Arabic';
    src: url('../fonts/din-next-lt-arabic-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DIN Next LT Arabic';
    src: url('../fonts/din-next-lt-arabic-heavy.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DIN Next LT Arabic';
    src: url('../fonts/din-next-lt-arabic-black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
html[lang="ar"] body.mkt,
html[dir="rtl"] body.mkt,
html[lang="ar"] body.portal,
html[dir="rtl"] body.portal {
    font-family: 'DIN Next LT Arabic', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
html[lang="ar"] body.mkt *:not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(pre):not(code):not(kbd):not(samp),
html[dir="rtl"] body.mkt *:not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(pre):not(code):not(kbd):not(samp),
html[lang="ar"] body.portal *:not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(pre):not(code):not(kbd):not(samp),
html[dir="rtl"] body.portal *:not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(pre):not(code):not(kbd):not(samp) {
    font-family: 'DIN Next LT Arabic', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif !important;
}

/* ============================================================
   Marketing — Index inline utilities (mkt-u-*)
   Generated from index.html (28 unique, 36 total)
   ============================================================ */
/* === Portal footer unified — replaces duplicated mkt-u/pub-u/auth-u footer utilities === */
.portal-footer-desc { color:#64748b;font-size:13px;margin-top:6px; }
.portal-footer-admin-wrap { margin-top:12px;display:flex;gap:10px;flex-wrap:wrap; }
.portal-footer-admin-btn { padding:7px 10px;font-size:12px;background:#1e293b;border-color:#334155;color:#fff; }
.portal-footer-admin-btn:hover { background:#334155;color:#fff;border-color:#334155; }
/* ============================================================
   ERP bridge — minimal for identity (deduped)
   Only variants not already in portal.css
   ============================================================ */
.btn-outline{background:transparent;border:1px solid #e2e8f0;color:#1e293b}.btn-outline:hover{background:#f1f5f9}
.btn-success{background:#0b8a5e;color:#fff}.btn-success:hover{background:#0a7a52}
.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}
.btn-warning{background:#d97706;color:#fff}.btn-warning:hover{background:#b45309}
.btn-sm{padding:5px 14px;font-size:12px}.btn-xs{padding:2px 10px;font-size:11px}
.form-group{margin-bottom:16px}.form-group label{display:block;font-weight:600;font-size:13px;color:#1e293b;margin-bottom:4px}
.form-group input:not([type="checkbox"]):not([type="radio"]),.form-group select,.form-group textarea{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:10px;font-size:14px;font-family:inherit;background:#fff;transition:.15s}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.1)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}
.pill{display:inline-block;padding:2px 10px;border-radius:30px;font-size:11px;font-weight:600}
.pill-blue{background:#dbeafe;color:#1d4ed8}.pill-green{background:#dcfce7;color:#15803d}.pill-yellow{background:#fef9c3;color:#854d0e}.pill-red{background:#fee2e2;color:#b91c1c}.pill-gray{background:#f1f5f9;color:#475569}.pill-purple{background:#ede9fe;color:#7c3aed}
.status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 14px;border-radius:30px;font-size:12px;font-weight:600}
.status-badge.active{background:#dcfce7;color:#15803d}.status-badge.pending{background:#fef9c3;color:#854d0e}.status-badge.inactive{background:#f1f5f9;color:#475569}.status-badge.suspended{background:#fee2e2;color:#b91c1c}.status-badge.trial{background:#dbeafe;color:#1d4ed8}
