*{box-sizing:border-box;margin:0;padding:0}
:root{
  --green:#0f7a5a;--green-dark:#0a5d45;--green-soft:#e9f7f1;
  --blue:#2f80ed;--blue-soft:#eef6ff;--amber:#d98c16;--amber-soft:#fff7e8;
  --violet:#7c5ce4;--violet-soft:#f2efff;--rose:#d9577c;--rose-soft:#fff0f4;
  --cyan:#168a9d;--cyan-soft:#e8f8fb;--text:#1d2b38;--muted:#6d7f8f;
  --bg:#f5faf7;--surface:#fff;--border:#e1ece6;--shadow:0 16px 40px rgba(25,68,49,.08);
  --radius-xl:32px;--radius-lg:24px;--radius-md:16px;--safe-bottom:env(safe-area-inset-bottom,0px)
}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{font-family:"Kanit",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text);background:
  radial-gradient(circle at 8% 0%,rgba(47,128,237,.09),transparent 26%),
  radial-gradient(circle at 92% 2%,rgba(15,122,90,.1),transparent 25%),
  linear-gradient(180deg,#fbfefd 0%,#f2f8f5 60%,#edf5f1 100%);min-height:100vh}
a{color:inherit}.app-shell{width:min(1200px,92%);margin:0 auto;padding:20px 0 70px}
.topbar{position:sticky;top:12px;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 14px 12px 12px;margin-bottom:20px;border:1px solid rgba(225,236,230,.9);border-radius:20px;background:rgba(255,255,255,.85);box-shadow:0 10px 30px rgba(25,68,49,.07);backdrop-filter:blur(18px)}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;min-width:0}.brand img{width:46px;height:46px;object-fit:contain;padding:2px;border-radius:50%;border:2px solid #d8ebe1;background:#fff;box-shadow:0 6px 14px rgba(25,68,49,.06)}.brand div{min-width:0}.brand strong{display:block;font-size:15px;line-height:1.15}.brand span{display:block;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:270px}
.desktop-nav{display:flex;align-items:center;gap:5px}.desktop-nav a{padding:9px 12px;border-radius:12px;text-decoration:none;font-size:13px;color:#526676;transition:.2s}.desktop-nav a:hover{color:var(--green);background:var(--green-soft)}
.top-actions{display:flex;gap:8px}.website-btn,.ghost-btn{height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border-radius:13px;border:0;font:500 13px "Kanit",sans-serif;cursor:pointer;text-decoration:none}.website-btn{color:#fff;background:linear-gradient(135deg,var(--green),#21a276);box-shadow:0 8px 18px rgba(15,122,90,.18)}.ghost-btn{color:var(--green);background:var(--green-soft)}.website-btn svg,.ghost-btn svg{width:17px;height:17px}
.hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px;padding:34px;border:1px solid var(--border);border-radius:var(--radius-xl);background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(244,251,247,.95));box-shadow:var(--shadow)}
.hero-glow{position:absolute;border-radius:50%;pointer-events:none;filter:blur(14px)}.glow-1{width:320px;height:320px;right:-90px;top:-120px;background:rgba(15,122,90,.11)}.glow-2{width:260px;height:260px;left:36%;bottom:-180px;background:rgba(47,128,237,.08)}
.hero-main{position:relative;z-index:2;display:flex;align-items:center;gap:24px}.hero-logo-wrap{position:relative;flex:0 0 auto}.hero-logo{width:125px;height:125px;padding:4px;border-radius:50%;object-fit:contain;background:#fff;border:5px solid #fff;box-shadow:0 14px 34px rgba(25,68,49,.15)}.status-dot{position:absolute;right:6px;bottom:9px;width:17px;height:17px;border-radius:50%;background:#2bc47d;border:4px solid #fff;box-shadow:0 0 0 3px rgba(43,196,125,.12)}
.eyebrow{display:inline-flex;align-items:center;gap:6px;margin-bottom:9px;padding:6px 10px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:11px;font-weight:600;letter-spacing:.04em}.eyebrow svg{width:14px;height:14px}.hero-copy h1{font-size:clamp(31px,4.3vw,48px);line-height:1.08;letter-spacing:-.03em}.hero-copy h1 span{color:var(--green)}.hero-copy p{max-width:670px;margin-top:10px;color:var(--muted);font-size:14px;line-height:1.75}.hero-quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.primary-hero-btn,.secondary-hero-btn{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border-radius:14px;text-decoration:none;font-size:13px;font-weight:500}.primary-hero-btn{background:var(--green);color:#fff;box-shadow:0 8px 18px rgba(15,122,90,.18)}.secondary-hero-btn{color:var(--green);background:#fff;border:1px solid #dcece4}.primary-hero-btn svg,.secondary-hero-btn svg{width:17px;height:17px}
.hero-metrics{position:relative;z-index:2;display:grid;gap:10px}.metric{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;border:1px solid #e4eee8;background:rgba(255,255,255,.78)}.metric-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px}.metric-icon svg{width:20px;height:20px}.metric-icon.green{color:var(--green);background:var(--green-soft)}.metric-icon.blue{color:var(--blue);background:var(--blue-soft)}.metric-icon.amber{color:var(--amber);background:var(--amber-soft)}.metric strong{display:block;font-size:18px;line-height:1.05}.metric span{display:block;margin-top:3px;color:var(--muted);font-size:11px}
.tools-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0 34px}.search-box{position:relative;flex:1;max-width:620px}.search-box>svg{position:absolute;left:16px;top:50%;width:19px;height:19px;transform:translateY(-50%);color:#789087}.search-box input{width:100%;height:50px;padding:0 48px 0 46px;border:1px solid var(--border);border-radius:16px;outline:none;background:rgba(255,255,255,.92);box-shadow:0 8px 24px rgba(25,68,49,.05);font:400 14px "Kanit",sans-serif;color:var(--text);transition:.2s}.search-box input:focus{border-color:#bcd9cb;box-shadow:0 0 0 4px rgba(15,122,90,.07)}.clear-search{position:absolute;right:10px;top:50%;width:32px;height:32px;transform:translateY(-50%);display:grid;place-items:center;border:0;border-radius:10px;background:#f0f5f2;color:#70857a;cursor:pointer}.clear-search svg{width:16px;height:16px}
.chips{display:flex;align-items:center;gap:7px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:39px;padding:0 12px;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.86);font:500 12px "Kanit",sans-serif;color:#607569;cursor:pointer;transition:.2s}.chip svg{width:15px;height:15px}.chip:hover,.chip.active{color:#fff;border-color:var(--green);background:var(--green);box-shadow:0 7px 16px rgba(15,122,90,.13)}
.systems-wrap{display:grid;gap:34px}.system-section{scroll-margin-top:110px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.section-kicker{font-size:10px;font-weight:700;letter-spacing:.13em;color:#8aa195}.section-heading h2{display:flex;align-items:center;gap:9px;margin-top:4px;font-size:22px}.section-heading h2 svg{width:21px;height:21px;color:var(--green)}.section-heading p{margin-top:3px;color:var(--muted);font-size:12px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.system-card{position:relative;overflow:hidden;min-height:238px;display:flex;flex-direction:column;justify-content:space-between;padding:20px;border:1px solid var(--border);border-radius:var(--radius-lg);background:rgba(255,255,255,.94);box-shadow:0 10px 28px rgba(25,68,49,.055);transition:transform .22s,box-shadow .22s,border-color .22s}.system-card:hover{transform:translateY(-5px);border-color:#c5ded1;box-shadow:0 18px 38px rgba(25,68,49,.10)}.featured-card{grid-column:span 2;background:linear-gradient(135deg,#fbfefd,#eef8f3)}.card-accent{position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--green),#2f80ed)}.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.icon-tile{width:54px;height:54px;display:grid;place-items:center;border-radius:16px}.icon-tile svg{width:25px;height:25px}.icon-tile.green{color:var(--green);background:var(--green-soft)}.icon-tile.blue{color:var(--blue);background:var(--blue-soft)}.icon-tile.amber{color:var(--amber);background:var(--amber-soft)}.icon-tile.violet{color:var(--violet);background:var(--violet-soft)}.icon-tile.rose{color:var(--rose);background:var(--rose-soft)}.icon-tile.cyan{color:var(--cyan);background:var(--cyan-soft)}.tag{padding:5px 9px;border-radius:999px;background:#f2f6f4;color:#75877e;font-size:10px;font-weight:500}.card-body{margin:19px 0 16px}.card-body h3{font-size:17px;line-height:1.45}.featured-card .card-body h3{font-size:22px}.card-body p{margin-top:6px;color:var(--muted);font-size:12px;line-height:1.65}.card-link{height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 13px;border-radius:13px;background:#f1f7f4;color:var(--green-dark);text-decoration:none;font-size:12px;font-weight:500;transition:.2s}.card-link svg{width:17px;height:17px}.card-link:hover{color:#fff;background:var(--green)}
.empty-state{text-align:center;padding:70px 20px}.empty-icon{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 12px;border-radius:20px;background:#eef5f1;color:#73877c}.empty-icon svg{width:30px;height:30px}.empty-state h3{font-size:19px}.empty-state p{margin-top:5px;color:var(--muted);font-size:13px}.empty-state button{margin-top:14px;padding:9px 14px;border:0;border-radius:12px;background:var(--green);color:#fff;font:500 12px "Kanit",sans-serif;cursor:pointer}
.footer{margin-top:48px;padding:22px 4px 12px;border-top:1px solid var(--border);text-align:center;color:var(--muted)}.footer-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:8px}.footer-brand img{width:40px;height:40px;border-radius:50%;object-fit:cover}.footer-brand strong{display:block;color:var(--text);font-size:13px}.footer-brand span{display:block;font-size:10px}.footer p{font-size:11px}.footer small{display:block;margin-top:3px;font-size:10px;color:#93a39b}
.mobile-nav{display:none}.toast{position:fixed;left:50%;bottom:22px;z-index:100;transform:translate(-50%,20px);padding:10px 14px;border-radius:13px;background:#173d31;color:#fff;font-size:12px;opacity:0;pointer-events:none;transition:.25s;box-shadow:0 10px 25px rgba(0,0,0,.18)}.toast.show{opacity:1;transform:translate(-50%,0)}
@media (max-width:1020px){.desktop-nav{display:none}.hero{grid-template-columns:1fr}.hero-metrics{grid-template-columns:repeat(3,1fr)}.tools-panel{align-items:stretch;flex-direction:column}.search-box{max-width:none}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-card{grid-column:span 2}}
@media (max-width:700px){html{scroll-padding-top:85px}.app-shell{width:94%;padding-top:10px;padding-bottom:calc(94px + var(--safe-bottom))}.topbar{top:8px;padding:9px 10px;border-radius:17px}.brand img{width:40px;height:40px}.brand strong{font-size:13px}.brand span{max-width:170px;font-size:9px}.website-btn{width:40px;padding:0}.website-btn span,.install-btn{display:none}.hero{padding:24px 18px;border-radius:26px}.hero-main{align-items:flex-start;gap:15px}.hero-logo{width:82px;height:82px;border-width:4px}.status-dot{right:3px;bottom:5px}.hero-copy h1{font-size:29px}.hero-copy p{font-size:12px;line-height:1.65}.hero-quick-actions{gap:8px}.primary-hero-btn,.secondary-hero-btn{padding:10px 12px;font-size:11px}.hero-metrics{grid-template-columns:1fr;gap:8px;margin-top:3px}.metric{padding:11px 12px}.metric-icon{width:38px;height:38px}.tools-panel{margin:18px 0 26px}.search-box input{height:47px}.chips{margin-right:-3%;padding-right:3%}.system-section{scroll-margin-top:82px}.section-heading h2{font-size:19px}.section-heading p{font-size:11px}.card-grid{grid-template-columns:1fr}.featured-card{grid-column:span 1}.system-card{min-height:220px;border-radius:21px}.featured-card .card-body h3{font-size:18px}.footer{margin-top:36px}.mobile-nav{position:fixed;left:10px;right:10px;bottom:calc(10px + var(--safe-bottom));z-index:80;display:grid;grid-template-columns:repeat(6,1fr);padding:7px;border:1px solid rgba(225,236,230,.92);border-radius:20px;background:rgba(255,255,255,.92);box-shadow:0 15px 40px rgba(24,60,43,.15);backdrop-filter:blur(18px)}.mobile-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:50px;border-radius:14px;text-decoration:none;color:#73857c;font-size:9px}.mobile-nav-item svg{width:18px;height:18px}.mobile-nav-item.active{color:var(--green);background:var(--green-soft)}.toast{bottom:calc(82px + var(--safe-bottom))}}
@media (max-width:470px){.hero-main{flex-direction:column}.hero-copy h1{font-size:28px}.hero-logo{width:76px;height:76px}.brand span{display:none}.top-actions{gap:4px}.section-heading{align-items:flex-start}.card-body h3{font-size:16px}}

/* ===== Usage analytics dashboard ===== */
.analytics-section{scroll-margin-top:110px;margin:2px 0 28px;padding:22px;border:1px solid var(--border);border-radius:26px;background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(246,251,248,.96));box-shadow:0 10px 30px rgba(25,68,49,.055)}
.analytics-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.analytics-heading h2{display:flex;align-items:center;gap:9px;margin-top:4px;font-size:22px}.analytics-heading h2 svg{width:21px;height:21px;color:var(--green)}.analytics-heading p{margin-top:3px;color:var(--muted);font-size:12px}.stats-reset{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 12px;border:1px solid var(--border);border-radius:12px;background:#fff;color:#6c7f75;font:500 11px "Kanit",sans-serif;cursor:pointer;transition:.2s}.stats-reset:hover{color:#b43f4b;border-color:#efd4d8;background:#fff8f8}.stats-reset svg{width:15px;height:15px}
.analytics-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.analytics-metric{min-height:104px;display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #e4eee8;border-radius:18px;background:rgba(255,255,255,.84)}.analytics-icon{width:44px;height:44px;flex:0 0 auto;display:grid;place-items:center;border-radius:14px}.analytics-icon svg{width:21px;height:21px}.analytics-icon.green{color:var(--green);background:var(--green-soft)}.analytics-icon.blue{color:var(--blue);background:var(--blue-soft)}.analytics-icon.amber{color:var(--amber);background:var(--amber-soft)}.analytics-icon.violet{color:var(--violet);background:var(--violet-soft)}.analytics-metric span{display:block;color:var(--muted);font-size:10px}.analytics-metric strong{display:inline-block;max-width:170px;margin-top:3px;font-size:22px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.analytics-metric small{display:block;margin-top:3px;color:#91a098;font-size:9px}
.analytics-panel{margin-top:12px;padding:17px;border:1px solid #e4eee8;border-radius:20px;background:#fff}.analytics-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}.analytics-panel-head h3{font-size:15px}.analytics-panel-head p{margin-top:3px;color:var(--muted);font-size:10px}.local-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:#f2f6f4;color:#71847a;font-size:9px;white-space:nowrap}.local-badge svg{width:12px;height:12px}.usage-chart{display:grid;gap:11px}.usage-row{display:grid;grid-template-columns:minmax(150px,1.25fr) minmax(180px,2fr) 58px;align-items:center;gap:12px}.usage-name{display:flex;align-items:center;gap:8px;min-width:0}.usage-rank{width:25px;height:25px;flex:0 0 auto;display:grid;place-items:center;border-radius:8px;background:#f1f6f3;color:#71847a;font-size:9px;font-weight:700}.usage-name span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.usage-track{height:9px;overflow:hidden;border-radius:999px;background:#eef3f0}.usage-fill{height:100%;min-width:0;border-radius:999px;background:linear-gradient(90deg,var(--green),#39a57f);transition:width .35s ease}.usage-value{text-align:right;font-size:11px;font-weight:600;color:#435b4f}.usage-empty{padding:20px;text-align:center;border-radius:14px;background:#f8fbf9;color:var(--muted);font-size:11px}
@media(max-width:1020px){.analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.analytics-section{scroll-margin-top:82px;padding:17px;margin-top:0;border-radius:22px}.analytics-heading{align-items:flex-start}.analytics-heading h2{font-size:19px}.analytics-heading p{font-size:10px}.stats-reset{height:35px;padding:0 9px}.stats-reset{font-size:0}.stats-reset svg{width:16px;height:16px}.analytics-metrics{grid-template-columns:1fr 1fr;gap:8px}.analytics-metric{min-height:91px;padding:11px;gap:9px}.analytics-icon{width:38px;height:38px}.analytics-metric strong{max-width:115px;font-size:18px}.analytics-panel{padding:13px}.usage-row{grid-template-columns:minmax(105px,1.1fr) minmax(90px,1.5fr) 44px;gap:8px}.usage-name span{font-size:9px}.usage-value{font-size:9px}.mobile-nav{grid-template-columns:repeat(6,1fr)}}
@media(max-width:470px){.analytics-metrics{grid-template-columns:1fr}.analytics-metric{min-height:76px}.usage-row{grid-template-columns:1fr 1.1fr 40px}.analytics-panel-head p{display:none}}

/* ===== V4 refinements ===== */
/* Keep a single clear action per system and use green consistently. */
.card-link{background:linear-gradient(135deg,var(--green),#24956f)!important;color:#fff!important;box-shadow:0 8px 18px rgba(15,122,90,.16);border:1px solid rgba(15,122,90,.08)}
.card-link:hover{background:linear-gradient(135deg,var(--green-dark),var(--green))!important;transform:translateY(-1px);box-shadow:0 11px 24px rgba(15,122,90,.23)}
.primary-hero-btn{background:linear-gradient(135deg,var(--green),#24956f);box-shadow:0 8px 18px rgba(15,122,90,.18)}
.chip.active{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}
.stats-reset{color:var(--green)!important;border-color:#cfe6da!important;background:#f3faf6!important}
.stats-reset:hover{background:var(--green)!important;color:#fff!important}

.footer{margin-top:52px;padding:28px 0 14px;border-top:1px solid var(--border);text-align:left;color:var(--muted)}
.footer-main{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 4px 18px}
.footer-brand{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:0}
.footer-brand img{width:52px;height:52px;border-radius:50%;object-fit:contain;border:3px solid var(--green);padding:2px;background:#fff;box-shadow:0 7px 18px rgba(15,122,90,.12)}
.footer-brand strong{display:block;color:var(--text);font-size:14px}.footer-brand span{display:block;margin-top:2px;font-size:10px;line-height:1.55}
.footer-social{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.footer-social a{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid #cfe5d9;border-radius:12px;background:#f4faf6;color:var(--green-dark);font-size:11px;font-weight:500;text-decoration:none;transition:.2s}
.footer-social a img{width:20px;height:20px;object-fit:contain;border-radius:4px;display:block;flex:0 0 auto}.footer-social a:hover{color:#fff;background:var(--green);border-color:var(--green);transform:translateY(-2px)}
.developer-credit{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 16px;border:1px solid #dcece4;border-radius:16px;background:linear-gradient(135deg,#f7fbf9,#eef8f3);text-align:center}
.developer-credit>svg{width:20px;height:20px;color:var(--green);flex:0 0 auto}.developer-credit span{display:block;font-size:9px;color:#83958c}.developer-credit strong{display:block;color:var(--green-dark);font-size:13px}.developer-credit small{display:block;margin-top:1px;font-size:9px;color:#71847a}
.footer-bottom{text-align:center;padding-top:13px}.footer-bottom small{font-size:9px;color:#96a49d}
@media(max-width:700px){.footer{margin-top:38px;padding-top:21px}.footer-main{flex-direction:column;align-items:flex-start;gap:14px}.footer-social{width:100%;justify-content:flex-start}.footer-social a{flex:1;min-width:88px}.developer-credit{align-items:flex-start;text-align:left}.developer-credit strong{font-size:12px}.developer-credit small{font-size:8px}}


/* ===== V6 social logo sizing fix ===== */
.footer-social{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
}
.footer-social a{
  height:42px;
  min-width:112px;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  padding:0 12px;
  overflow:hidden;
}
.footer-social a img{width:20px;height:20px;object-fit:contain;border-radius:4px;display:block;flex:0 0 auto}
.footer-social a span{
  line-height:1;
  white-space:nowrap;
}
@media(max-width:700px){
  .footer-social{gap:8px}
  .footer-social a{
    min-width:0;
    height:40px;
    justify-content:center;
    padding:0 10px;
  }
  .footer-social a img{width:20px;height:20px;object-fit:contain;border-radius:4px;display:block;flex:0 0 auto}
}


/* ===== V7 Hotline chat ===== */
.hotline-fab{
  position:fixed;right:22px;bottom:22px;z-index:95;height:52px;display:inline-flex;align-items:center;gap:8px;
  padding:0 16px;border:0;border-radius:18px;background:linear-gradient(135deg,var(--green),#20a373);color:#fff;
  font:600 13px "Kanit",sans-serif;cursor:pointer;box-shadow:0 14px 34px rgba(15,122,90,.28);transition:.2s
}
.hotline-fab:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(15,122,90,.34)}
.hotline-fab svg{width:20px;height:20px}.hotline-dot{width:8px;height:8px;border-radius:50%;background:#7dffbc;box-shadow:0 0 0 4px rgba(125,255,188,.16)}
.hotline-panel{position:fixed;right:22px;bottom:86px;z-index:96;width:min(390px,calc(100vw - 28px));overflow:hidden;border:1px solid #d8e9e0;border-radius:24px;background:#fff;box-shadow:0 24px 65px rgba(24,60,43,.22);animation:hotlineIn .2s ease both}
.hotline-panel[hidden]{display:none!important}@keyframes hotlineIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
.hotline-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;background:linear-gradient(135deg,#0f7a5a,#24956f);color:#fff}
.hotline-head-brand{display:flex;align-items:center;gap:10px;min-width:0}.hotline-head-brand img{width:42px;height:42px;object-fit:contain;padding:2px;border-radius:50%;background:#fff;border:2px solid rgba(255,255,255,.6)}
.hotline-head-brand strong{display:block;font-size:13px;line-height:1.2}.hotline-head-brand span{display:flex;align-items:center;gap:5px;margin-top:3px;font-size:9px;opacity:.88}.hotline-head-brand span b{width:7px;height:7px;border-radius:50%;background:#7dffbc}
.hotline-close{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:11px;background:rgba(255,255,255,.14);color:#fff;cursor:pointer}.hotline-close svg{width:17px;height:17px}
.hotline-body{padding:15px;background:linear-gradient(180deg,#f9fcfa,#f3f8f5)}
.hotline-bubble{max-width:92%;padding:11px 12px;border-radius:15px;font-size:11px;line-height:1.55}.hotline-bubble.bot{background:#fff;border:1px solid #e1ece6;color:#40564a;border-top-left-radius:6px;box-shadow:0 5px 14px rgba(24,60,43,.05)}
.hotline-topics{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.hotline-topics button{padding:7px 10px;border:1px solid #cee5d8;border-radius:999px;background:#fff;color:var(--green-dark);font:500 10px "Kanit",sans-serif;cursor:pointer;transition:.18s}.hotline-topics button:hover{background:var(--green);color:#fff;border-color:var(--green)}
.hotline-label{display:block;margin:4px 0 6px;font-size:10px;font-weight:600;color:#52695d}.hotline-body textarea{width:100%;resize:none;border:1px solid #dce9e2;border-radius:14px;background:#fff;padding:11px 12px;outline:none;font:400 11px "Kanit",sans-serif;color:var(--text);line-height:1.55;box-shadow:inset 0 1px 2px rgba(24,60,43,.03)}.hotline-body textarea:focus{border-color:#a9d3be;box-shadow:0 0 0 4px rgba(15,122,90,.07)}
.hotline-counter{text-align:right;margin-top:3px;color:#94a29b;font-size:9px}.hotline-send{width:100%;height:44px;margin-top:8px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--green),#24956f);color:#fff;font:600 11px "Kanit",sans-serif;cursor:pointer;box-shadow:0 9px 20px rgba(15,122,90,.18)}.hotline-send img{width:20px;height:20px;object-fit:contain;border-radius:5px}.hotline-send svg{width:16px;height:16px}.hotline-note{margin-top:7px;text-align:center;color:#82938a;font-size:8px;line-height:1.45}
@media(max-width:700px){.hotline-fab{right:14px;bottom:calc(86px + var(--safe-bottom));height:46px;padding:0 13px;border-radius:16px;font-size:11px}.hotline-fab svg{width:18px;height:18px}.hotline-panel{right:10px;bottom:calc(142px + var(--safe-bottom));width:calc(100vw - 20px);max-height:calc(100vh - 170px);overflow:auto;border-radius:21px}.hotline-head{position:sticky;top:0;z-index:2}.hotline-body{padding:13px}.hotline-topics{gap:6px}}

@media(max-width:700px){.mobile-nav-item{font-size:8px}.mobile-nav-item svg{width:17px;height:17px}.footer-social a img{width:20px;height:20px}}


/* ===== V10 pie chart & updated logo ===== */
.brand img,.hero-logo,.footer-brand img,.hotline-head-brand img{object-fit:contain;background:#fff}
.analytics-heading{justify-content:flex-start}
.pie-dashboard{display:grid;grid-template-columns:minmax(240px,340px) minmax(0,1fr);gap:18px;align-items:center}
.pie-chart-wrap{position:relative;display:grid;place-items:center;padding:8px}
.pie-chart{width:min(280px,70vw);aspect-ratio:1/1;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(15,122,90,.08),0 12px 24px rgba(15,122,90,.08)}
.pie-chart-total{position:absolute;width:110px;height:110px;border-radius:50%;display:grid;place-items:center;text-align:center;background:#fff;border:1px solid #e1ece6;box-shadow:0 8px 20px rgba(15,122,90,.08)}
.pie-chart-total span{display:block;font-size:11px;color:var(--muted);line-height:1}
.pie-chart-total strong{display:block;margin-top:3px;font-size:28px;line-height:1;color:var(--green-dark)}
.pie-chart-total small{display:block;margin-top:2px;font-size:11px;color:#7e8f85;line-height:1}
.pie-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pie-legend-item{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #e4eee8;border-radius:14px;background:#fcfefd}
.pie-legend-item.is-zero{opacity:.62}
.pie-legend-color{width:14px;height:14px;flex:0 0 auto;margin-top:4px;border-radius:50%;border:1px solid rgba(0,0,0,.06)}
.pie-legend-text{min-width:0}
.pie-legend-text strong{display:block;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pie-legend-text small{display:block;margin-top:3px;font-size:10px;color:var(--muted)}
@media(max-width:900px){.pie-dashboard{grid-template-columns:1fr}.pie-chart{width:min(260px,72vw)}.pie-legend{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.pie-chart-total{width:96px;height:96px}.pie-chart-total strong{font-size:24px}.pie-legend{grid-template-columns:1fr}}


/* ===== V12 BP logo + line chart dashboard ===== */
.brand img,.hero-logo,.footer-brand img,.hotline-head-brand img{object-fit:contain;background:#fff}
.brand img{padding:0}
.hero-logo{padding:0;border-radius:50%}
.line-dashboard{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.95fr);gap:18px;align-items:start}
.line-chart-wrap{padding:10px 8px 2px;border:1px solid #e6efe9;border-radius:18px;background:linear-gradient(180deg,#fcfefd,#f8fbf9)}
.line-chart{display:block;width:100%;height:auto;overflow:visible}
.chart-grid{stroke:#e7efea;stroke-width:1}
.chart-y-label{fill:#8b9a91;font-size:11px;font-family:Kanit,sans-serif}
.chart-x-label{fill:#597165;font-size:11px;font-family:Kanit,sans-serif}
.chart-area{fill:url(#usageAreaFill);stroke:none}
.chart-line{fill:none;stroke:url(#usageStroke);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.chart-point{fill:#0f7a5a;stroke:#fff;stroke-width:2.5}
.chart-point-hit{fill:transparent}
.chart-point-label{fill:#0f7a5a;font-size:11px;font-family:Kanit,sans-serif;font-weight:700}
.line-details{display:grid;gap:10px}
.line-detail-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border:1px solid #e4eee8;border-radius:16px;background:#fcfefd}
.line-detail-card.is-zero{opacity:.72}
.line-detail-rank{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#eff5f1;color:#6f8378;font-weight:700;font-size:12px}
.line-detail-copy{min-width:0}
.line-detail-copy strong{display:block;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}
.line-detail-copy small{display:block;margin-top:3px;font-size:10px;color:var(--muted)}
.line-detail-value{font-size:12px;font-weight:700;color:var(--green-dark);white-space:nowrap}
@media (max-width: 980px){.line-dashboard{grid-template-columns:1fr}.line-chart-wrap{padding:10px 2px 0}}
@media (max-width: 640px){.line-detail-card{grid-template-columns:32px minmax(0,1fr);grid-template-areas:'rank copy' 'rank value'}.line-detail-rank{grid-area:rank;width:32px;height:32px}.line-detail-copy{grid-area:copy}.line-detail-value{grid-area:value;padding-left:0}.chart-point-label{font-size:10px}.chart-x-label{font-size:10px}}
