/* ============================================================
   SigmaePlus theme - Bootstrap 5 + brand layer
   Brand: navy + orange from the Sigma logo. One font: IBM Plex Sans.
   ============================================================ */
:root {
  --sg-navy: #0E2A5C;
  --sg-ink: #081B3D;
  --sg-orange: #F26B21;
  --sg-orange-dark: #D4560F;
  --sg-paper: #FFFFFF;
  --sg-mist: #F2F4F8;
  --sg-line: #D9DFEA;
  --sg-text: #1B2433;
  --sg-muted: #5B6578;

  --bs-body-font-family: "IBM Plex Sans", "IBM Plex Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: var(--sg-text);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.6;
  --bs-link-color: var(--sg-navy);
  --bs-link-color-rgb: 14, 42, 92;
  --bs-link-hover-color: var(--sg-orange-dark);
  --bs-border-color: var(--sg-line);
  --bs-primary: var(--sg-navy);
  --bs-primary-rgb: 14, 42, 92;
  --bs-border-radius: .375rem;
  --bs-border-radius-lg: .5rem;
}

body { background: var(--sg-paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--sg-ink); font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.12; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
.lead { font-size: 1.15rem; color: var(--sg-muted); max-width: 38rem; }
.measure { max-width: 42rem; }
.text-muted-sg { color: var(--sg-muted); }
.num { font-variant-numeric: tabular-nums; }

/* focus: always visible */
:focus-visible { outline: 3px solid var(--sg-orange); outline-offset: 2px; }
.btn:focus-visible, .form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 .2rem rgba(242, 107, 33, .35); border-color: var(--sg-orange);
}
.skip-link { position: absolute; left: -999px; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: .5rem; }

/* ---------- buttons ---------- */
.btn { font-weight: 600; padding: .65rem 1.25rem; }
.btn-sg { --bs-btn-color: #fff; --bs-btn-bg: var(--sg-orange); --bs-btn-border-color: var(--sg-orange);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--sg-orange-dark); --bs-btn-hover-border-color: var(--sg-orange-dark);
  --bs-btn-active-bg: var(--sg-orange-dark); --bs-btn-disabled-bg: var(--sg-orange); --bs-btn-disabled-border-color: var(--sg-orange); }
.btn-navy { --bs-btn-color: #fff; --bs-btn-bg: var(--sg-navy); --bs-btn-border-color: var(--sg-navy);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--sg-ink); --bs-btn-hover-border-color: var(--sg-ink); }
.btn-outline-navy { --bs-btn-color: var(--sg-navy); --bs-btn-border-color: var(--sg-navy);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--sg-navy); --bs-btn-hover-border-color: var(--sg-navy); }
.btn-outline-light { --bs-btn-hover-color: var(--sg-ink); }

/* ---------- top bar + header ---------- */
.sg-topbar { background: var(--sg-ink); color: #C9D3E6; font-size: .875rem; }
.sg-topbar a { color: #fff; text-decoration: none; }
.sg-topbar a:hover { color: var(--sg-orange); }
.sg-header { background: #fff; border-bottom: 1px solid var(--sg-line); }
.sg-header .navbar-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--sg-ink); letter-spacing: -.01em; }
.sg-header .navbar-brand img { width: 40px; height: 40px; }
.sg-header .navbar-brand small { display: block; font-size: .72rem; font-weight: 500; color: var(--sg-muted); letter-spacing: 0; }
.sg-header .nav-link { color: var(--sg-text); font-weight: 500; padding: 1.4rem .9rem !important; position: relative; }
.sg-header .nav-link:hover { color: var(--sg-navy); }
.sg-header .nav-link.active { color: var(--sg-navy); }
.sg-header .nav-link.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 0; height: 3px; background: var(--sg-orange); }
@media (max-width: 991.98px) {
  .sg-header .nav-link { padding: .6rem 0 !important; }
  .sg-header .nav-link.active::after { left: 0; right: auto; width: 2rem; bottom: .25rem; }
}

/* ---------- sections ---------- */
.sg-section { padding: 4.5rem 0; }
.sg-section-tight { padding: 3rem 0; }
.bg-mist { background: var(--sg-mist); }
.sg-page-head { background: var(--sg-navy); color: #fff; padding: 3rem 0 2.75rem; }
.sg-page-head h1 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: .5rem; }
.sg-page-head p { color: #C9D3E6; margin: 0; max-width: 40rem; }
.sg-page-head .breadcrumb { --bs-breadcrumb-divider-color: #8FA0BF; --bs-breadcrumb-item-active-color: #C9D3E6; margin-bottom: .75rem; font-size: .9rem; }
.sg-page-head .breadcrumb a { color: #fff; }

/* ---------- hero ---------- */
.sg-hero { background: linear-gradient(180deg, #fff 0%, var(--sg-mist) 100%); padding: 4.5rem 0 5rem; overflow: hidden; }
.sg-hero h1 { max-width: 15ch; }
.sg-hero .lead { margin: 1.25rem 0 2rem; }
.sg-hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--sg-muted); font-size: .95rem; }
.sg-hero-points i { color: var(--sg-orange); margin-right: .35rem; }

/* the sample GST invoice (signature element) */
.sg-invoice { position: relative; background: #fff; border: 1px solid var(--sg-line); border-top: 6px solid var(--sg-navy);
  border-radius: .5rem; box-shadow: 0 24px 48px -24px rgba(8, 27, 61, .35); padding: 1.5rem 1.5rem 1.25rem;
  font-size: .875rem; max-width: 30rem; margin-left: auto; }
.sg-invoice::after { /* torn paper bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background: radial-gradient(circle at 6px -2px, transparent 6px, #fff 6.5px) repeat-x; background-size: 12px 10px; }
.sg-invoice-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px dashed var(--sg-line); }
.sg-invoice-head strong { color: var(--sg-ink); font-size: 1rem; }
.sg-invoice-head span { color: var(--sg-muted); display: block; }
.sg-invoice table { width: 100%; margin: .75rem 0; font-variant-numeric: tabular-nums; }
.sg-invoice th { font-weight: 500; color: var(--sg-muted); font-size: .78rem; padding: .3rem 0; border-bottom: 1px solid var(--sg-line); }
.sg-invoice td { padding: .45rem 0; border-bottom: 1px solid #EEF1F6; }
.sg-invoice .r { text-align: right; }
.sg-invoice .tax td { color: var(--sg-muted); border: 0; padding: .15rem 0; }
.sg-invoice .total td { border-top: 2px solid var(--sg-ink); border-bottom: 0; font-weight: 700; color: var(--sg-ink); font-size: 1.05rem; padding-top: .6rem; }
.sg-invoice-foot { display: flex; align-items: center; gap: 1rem; padding-top: .9rem; border-top: 1px dashed var(--sg-line); }
.sg-qr { width: 64px; height: 64px; flex: none; border: 4px solid #fff; outline: 1px solid var(--sg-line);
  background:
    conic-gradient(var(--sg-ink) 25%, transparent 0 50%, var(--sg-ink) 0 75%, transparent 0) 0 0 / 16px 16px,
    linear-gradient(var(--sg-ink), var(--sg-ink)) 0 0 / 18px 18px no-repeat,
    linear-gradient(var(--sg-ink), var(--sg-ink)) 100% 0 / 18px 18px no-repeat,
    linear-gradient(var(--sg-ink), var(--sg-ink)) 0 100% / 18px 18px no-repeat; }
.sg-irn { font-size: .78rem; color: var(--sg-muted); line-height: 1.4; }
.sg-irn b { color: #12804A; display: block; font-size: .85rem; }
.sg-stamp { position: absolute; top: -1.05rem; right: 1.25rem; transform: rotate(3deg); background: var(--sg-orange); color: #fff;
  font-weight: 700; font-size: .8rem; padding: .35rem .8rem; border-radius: .25rem; box-shadow: 0 6px 14px rgba(242,107,33,.35); }
@media (max-width: 991.98px) { .sg-invoice { margin: 3rem auto 0; } }
@media (prefers-reduced-motion: no-preference) {
  .sg-invoice { animation: sg-print .9s cubic-bezier(.2,.7,.2,1) both .15s; }
  @keyframes sg-print { from { clip-path: inset(-3rem -3rem 100% -3rem); transform: translateY(-12px); } to { clip-path: inset(-3rem -3rem -12px -3rem); transform: none; } }
}

/* ---------- platforms strip ---------- */
.sg-platforms { border-top: 1px solid var(--sg-line); border-bottom: 1px solid var(--sg-line); }
.sg-platform { padding: 2rem 1.5rem; height: 100%; }
.sg-platform + .sg-platform { border-left: 1px solid var(--sg-line); }
@media (max-width: 767.98px) { .sg-platform + .sg-platform { border-left: 0; border-top: 1px solid var(--sg-line); } }
.sg-platform i { font-size: 1.75rem; color: var(--sg-orange); }
.sg-platform h3 { margin: .75rem 0 .4rem; }
.sg-platform p { color: var(--sg-muted); margin: 0; }

/* ---------- product rows ---------- */
.sg-product { display: grid; grid-template-columns: 220px 1fr; gap: 1.75rem; padding: 1.75rem 0; border-bottom: 1px solid var(--sg-line); align-items: start; }
.sg-product:first-child { border-top: 1px solid var(--sg-line); }
.sg-product-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .375rem; background: var(--sg-mist); border: 1px solid var(--sg-line); }
.sg-product h3 a { color: var(--sg-ink); text-decoration: none; }
.sg-product h3 a:hover { color: var(--sg-orange-dark); }
.sg-product p { color: var(--sg-muted); max-width: 46rem; }
@media (max-width: 575.98px) { .sg-product { grid-template-columns: 1fr; gap: 1rem; } }

/* compact product list on home */
.sg-mini-list { list-style: none; padding: 0; margin: 0; }
.sg-mini-list li { border-bottom: 1px solid var(--sg-line); }
.sg-mini-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; color: var(--sg-ink); text-decoration: none; font-weight: 500; }
.sg-mini-list a span { color: var(--sg-muted); font-weight: 400; font-size: .95rem; }
.sg-mini-list a:hover { color: var(--sg-orange-dark); }
.sg-mini-list i { color: var(--sg-orange); }

/* ---------- steps (a real sequence) ---------- */
.sg-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.sg-steps li { counter-increment: step; position: relative; padding: 0 0 2rem 3.5rem; }
.sg-steps li::before { content: counter(step); position: absolute; left: 0; top: -.15rem; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--sg-navy); color: #fff; font-weight: 700; display: grid; place-items: center; }
.sg-steps li::after { content: ""; position: absolute; left: 1.1rem; top: 2.3rem; bottom: .2rem; width: 2px; background: var(--sg-line); }
.sg-steps li:last-child { padding-bottom: 0; }
.sg-steps li:last-child::after { display: none; }
.sg-steps h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.sg-steps p { color: var(--sg-muted); margin: 0; }

/* ---------- facts band ---------- */
.sg-band { background: var(--sg-navy); color: #DCE4F2; }
.sg-band h2 { color: #fff; }
.sg-band a:not(.btn) { color: #fff; }
.sg-band .big { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); font-weight: 700; color: #fff; display: block; line-height: 1.1; }

/* ---------- forms ---------- */
.sg-form-card { background: #fff; border: 1px solid var(--sg-line); border-radius: .5rem; padding: 2rem; }
.form-label { font-weight: 500; color: var(--sg-ink); }
.form-control, .form-select { padding: .65rem .85rem; border-color: #C8D1E0; }
.form-text { color: var(--sg-muted); }
.sg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sg-aside { border-left: 3px solid var(--sg-orange); padding-left: 1.25rem; }
.sg-aside dt { font-weight: 600; color: var(--sg-ink); }
.sg-aside dd { color: var(--sg-muted); margin-bottom: 1rem; }

/* ---------- content pages ---------- */
.sg-prose { max-width: 46rem; }
.sg-prose h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.sg-prose p, .sg-prose li { color: #344055; }
.sg-detail-img { width: 100%; border-radius: .5rem; border: 1px solid var(--sg-line); }
.sg-side-list a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--sg-line); text-decoration: none; color: var(--sg-text); }
.sg-side-list a:hover, .sg-side-list a.active { color: var(--sg-orange-dark); }

/* ---------- footer ---------- */
.sg-footer { background: var(--sg-ink); color: #A9B6CE; font-size: .95rem; padding: 3.5rem 0 1.5rem; }
.sg-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.sg-footer a { color: #DCE4F2; text-decoration: none; }
.sg-footer a:hover { color: var(--sg-orange); }
.sg-footer ul { list-style: none; padding: 0; margin: 0; }
.sg-footer li { margin-bottom: .45rem; }
.sg-footer .brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: .75rem; }
.sg-footer .brand img { width: 36px; height: 36px; background: #fff; border-radius: 50%; padding: 2px; }
.sg-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; }
.sg-wa { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1030; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: #1FAF5A; color: #fff; display: grid; place-items: center; font-size: 1.5rem; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.sg-wa:hover { background: #178A47; color: #fff; }

/* ============================================================
   ClientArea
   ============================================================ */
.ca-body { background: var(--sg-mist); min-height: 100vh; }
.ca-sidebar, .ca-sidebar.offcanvas-lg { background-color: var(--sg-ink) !important; color: #A9B6CE; width: 260px; }
.ca-sidebar.offcanvas-lg { --bs-offcanvas-width: 280px; --bs-offcanvas-bg: var(--sg-ink); }
.ca-sidebar .ca-brand, .ca-sidebar .ca-brand:hover { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; padding: 1.25rem 1.25rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.ca-sidebar .ca-brand img { width: 34px; height: 34px; background: #fff; border-radius: 50%; padding: 2px; }
.ca-sidebar .ca-brand small { display: block; font-weight: 400; font-size: .75rem; color: #8FA0BF; }
.ca-nav { padding: 1rem .75rem; }
.ca-nav .ca-group { font-size: .78rem; color: #8FA0BF; padding: 1rem .75rem .35rem; }
.ca-nav a { display: flex; align-items: center; gap: .7rem; color: #DCE4F2; text-decoration: none; padding: .55rem .75rem; border-radius: .375rem; font-size: .95rem; }
.ca-nav a i { font-size: 1.05rem; width: 1.2rem; text-align: center; color: #8FA0BF; }
.ca-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.ca-nav a.active { background: var(--sg-navy); color: #fff; box-shadow: inset 3px 0 0 var(--sg-orange); }
.ca-nav a.active i { color: var(--sg-orange); }
.ca-nav .ca-sub a { padding-left: 2.65rem; font-size: .9rem; color: #A9B6CE; }
.ca-nav .ca-sub a.active { background: transparent; box-shadow: none; color: var(--sg-orange); font-weight: 600; }
@media (min-width: 992px) { .ca-sidebar { position: fixed; top: 0; bottom: 0; left: 0; overflow-y: auto; } .ca-main { margin-left: 260px; } }
.ca-topbar { background: #fff; border-bottom: 1px solid var(--sg-line); padding: .75rem 1.5rem; position: sticky; top: 0; z-index: 1020; }
.ca-topbar h1 { font-size: 1.2rem; margin: 0; }
.ca-content { padding: 1.75rem 1.5rem 3rem; }
.ca-user { display: flex; align-items: center; gap: .6rem; color: var(--sg-text); }
.ca-avatar { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--sg-navy); color: #fff; display: grid; place-items: center; font-weight: 600; }
.ca-tile { display: block; background: #fff; border: 1px solid var(--sg-line); border-radius: .5rem; padding: 1.25rem; text-decoration: none; color: var(--sg-text); height: 100%; }
.ca-tile:hover { border-color: var(--sg-navy); color: var(--sg-text); }
.ca-tile i { font-size: 1.5rem; color: var(--sg-orange); }
.ca-tile strong { display: block; color: var(--sg-ink); font-size: 1.05rem; margin: .6rem 0 .15rem; }
.ca-tile .count { color: var(--sg-muted); font-size: .9rem; }
.ca-item { background: #fff; border: 1px solid var(--sg-line); border-radius: .5rem; display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.ca-item-img { aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--sg-line); display: grid; place-items: center; }
.ca-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ca-item-body { padding: 1rem 1.1rem; flex: 1; }
.ca-item-body h2 { font-size: 1.02rem; margin: 0 0 .3rem; }
.ca-item-body p { color: var(--sg-muted); font-size: .9rem; margin: 0 0 .35rem; }
.ca-item-foot { padding: 0 1.1rem 1.1rem; }
.ca-empty { background: #fff; border: 1px dashed #C8D1E0; border-radius: .5rem; padding: 3rem 1.5rem; text-align: center; color: var(--sg-muted); }
.ca-login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.ca-login-side { background: var(--sg-navy); color: #DCE4F2; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.ca-login-side h1 { color: #fff; max-width: 14ch; }
.ca-login-form { display: grid; place-items: center; padding: 2rem; background: #fff; }
.ca-login-form form { width: 100%; max-width: 22rem; }
@media (max-width: 767.98px) { .ca-login { grid-template-columns: 1fr; } .ca-login-side { padding: 2rem; } }

@media print { .sg-topbar, .sg-header, .sg-footer, .sg-wa, .ca-sidebar, .ca-topbar { display: none !important; } }

/* small phones: invoice sample stays readable */
@media (max-width: 575.98px) {
  .sg-invoice { padding: 1.25rem 1rem 1rem; font-size: .8rem; }
  .sg-invoice-head { flex-direction: column; gap: .35rem; }
  .sg-invoice-head .text-end { text-align: left !important; display: flex; gap: 1rem; }
  .sg-invoice th, .sg-invoice td { padding-right: .35rem; }
  .sg-invoice .r { padding-right: 0; }
  .sg-wa { width: 3rem; height: 3rem; right: .9rem; bottom: .9rem; }
}

/* ============================================================
   Home hero carousel
   ============================================================ */
.sg-hero { padding: 3.5rem 0 2.5rem; }
.sg-carousel .carousel-item { min-height: 30rem; }
.sg-carousel .carousel-item > .container { padding-top: .5rem; padding-bottom: .5rem; }
.sg-kicker { color: var(--sg-orange-dark); font-weight: 600; margin-bottom: .6rem; }
.sg-hero-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.12; font-weight: 700; max-width: 16ch; margin: 0; }
.sg-carousel .lead { margin: 1.25rem 0 2rem; }
@media (max-width: 991.98px) { .sg-carousel .carousel-item { min-height: 0; } }

.sg-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.sg-carousel .carousel-indicators { position: static; margin: 0; justify-content: flex-start; gap: .4rem; }
.sg-carousel .carousel-indicators [data-bs-target] { width: 2.25rem; height: .3rem; border: 0; margin: 0; border-radius: 1rem; background: #C8D1E0; opacity: 1; text-indent: 0; }
.sg-carousel .carousel-indicators .active { background: var(--sg-orange); }
.sg-carousel-btns { display: flex; gap: .4rem; }
.sg-cbtn { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid #C8D1E0; background: #fff; color: var(--sg-navy); display: grid; place-items: center; }
.sg-cbtn:hover { border-color: var(--sg-navy); background: var(--sg-navy); color: #fff; }
.sg-hero .sg-hero-points { margin-top: 1.5rem; }

/* visual panels shared by slides 2-4 */
.sg-visual { background: #fff; border: 1px solid var(--sg-line); border-top: 6px solid var(--sg-navy); border-radius: .5rem;
  box-shadow: 0 24px 48px -24px rgba(8, 27, 61, .35); padding: 1.5rem; max-width: 30rem; margin-left: auto; }
@media (max-width: 991.98px) { .sg-visual, .sg-devices { margin: 2rem auto 0; } }

/* slide 2: e-invoice steps */
.sg-einv-head { display: flex; justify-content: space-between; padding-bottom: .9rem; border-bottom: 1px dashed var(--sg-line); font-variant-numeric: tabular-nums; }
.sg-einv-head strong { color: var(--sg-ink); }
.sg-einv-head span { font-weight: 700; color: var(--sg-ink); }
.sg-einv-steps { list-style: none; margin: 1rem 0; padding: 0; }
.sg-einv-steps li { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0 .7rem 2.1rem; position: relative; border-bottom: 1px solid #EEF1F6; }
.sg-einv-steps li::before { content: ""; position: absolute; left: 0; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #12804A;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.5 4.5 6.5 11.5 3 8l1-1 2.5 2.5 6-6z'/%3E%3C/svg%3E");
  background-size: 1rem; background-position: center; background-repeat: no-repeat; }
.sg-einv-steps b { font-weight: 500; color: var(--sg-text); }
.sg-einv-steps span { color: var(--sg-muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.sg-einv-irn { background: var(--sg-mist); border-radius: .375rem; padding: .6rem .8rem; font-size: .85rem; color: var(--sg-muted); word-break: break-all; }
.sg-einv-irn span { font-weight: 700; color: var(--sg-ink); margin-right: .5rem; }

/* slide 3: desktop + phone */
.sg-devices { position: relative; max-width: 32rem; margin-left: auto; padding-bottom: 4.5rem; }
.sg-screen { background: #fff; border: 1px solid var(--sg-line); border-radius: .5rem; box-shadow: 0 24px 48px -24px rgba(8, 27, 61, .35); overflow: hidden; margin-right: 5rem; }
.sg-screen-bar { background: var(--sg-ink); color: #C9D3E6; font-size: .78rem; padding: .5rem .75rem; display: flex; align-items: center; gap: .35rem; }
.sg-screen-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: #3A4C6E; display: inline-block; }
.sg-screen-bar span { margin-left: .5rem; }
.sg-screen-body { padding: 1.1rem; }
.sg-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.sg-kpis div { background: var(--sg-mist); border-radius: .375rem; padding: .6rem .7rem; }
.sg-kpis span { display: block; font-size: .72rem; color: var(--sg-muted); }
.sg-kpis b { color: var(--sg-ink); font-size: .95rem; font-variant-numeric: tabular-nums; }
.sg-bars { display: flex; align-items: flex-end; gap: .5rem; height: 8rem; margin-top: 1rem; padding-top: .5rem; border-bottom: 1px solid var(--sg-line); }
.sg-bars i { flex: 1; background: var(--sg-navy); border-radius: .2rem .2rem 0 0; }
.sg-bars i:nth-child(6) { background: var(--sg-orange); }
.sg-phone { position: absolute; right: 0; bottom: 0; width: 10.5rem; background: #fff; border: 6px solid var(--sg-ink); border-radius: 1.4rem; padding: 1.4rem .8rem .9rem; box-shadow: 0 20px 40px -18px rgba(8, 27, 61, .5); font-size: .78rem; }
.sg-phone-notch { position: absolute; top: .35rem; left: 50%; transform: translateX(-50%); width: 2.6rem; height: .35rem; border-radius: 1rem; background: var(--sg-ink); }
.sg-phone b { color: var(--sg-ink); display: block; margin-bottom: .4rem; }
.sg-phone ul { list-style: none; padding: 0; margin: 0 0 .7rem; }
.sg-phone li { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px solid #EEF1F6; }
.sg-phone-btn { background: var(--sg-orange); color: #fff; text-align: center; border-radius: .4rem; padding: .4rem; font-weight: 600; }

/* slide 4: support */
.sg-support-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #EEF1F6; }
.sg-support-row > i { width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; background: var(--sg-mist); color: var(--sg-navy); display: grid; place-items: center; font-size: 1.2rem; }
.sg-support-row .bi-whatsapp { color: #1FAF5A; }
.sg-support-row span { display: block; color: var(--sg-muted); font-size: .85rem; }
.sg-support-row b { color: var(--sg-ink); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.sg-support-foot { display: flex; align-items: center; gap: .6rem; padding-top: 1rem; color: var(--sg-muted); font-size: .9rem; }
.sg-live { width: .65rem; height: .65rem; border-radius: 50%; background: #1FAF5A; box-shadow: 0 0 0 4px rgba(31, 175, 90, .18); }

@media (max-width: 575.98px) {
  .sg-screen { margin-right: 3rem; }
  .sg-phone { width: 9rem; }
  .sg-kpis b { font-size: .8rem; }
}
/* the invoice "print" entrance only on the first view */
.sg-carousel .carousel-item:not(:first-child) .sg-invoice { animation: none; }

/* ---------- slide panels: tables, tags, lists ---------- */
.sg-vhead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--sg-line); }
.sg-vhead strong { color: var(--sg-ink); }
.sg-vhead span { color: var(--sg-muted); font-size: .82rem; }
.sg-vtable { width: 100%; font-size: .86rem; font-variant-numeric: tabular-nums; margin-top: .4rem; }
.sg-vtable th { font-weight: 500; color: var(--sg-muted); font-size: .76rem; padding: .45rem 0; border-bottom: 1px solid var(--sg-line); }
.sg-vtable td { padding: .55rem 0; border-bottom: 1px solid #EEF1F6; }
.sg-vtable .r { text-align: right; padding-right: .75rem; }
.sg-vtable td:last-child, .sg-vtable th:last-child { text-align: right; }
.sg-vfoot { display: flex; justify-content: space-between; gap: 1rem; padding-top: .8rem; font-size: .82rem; color: var(--sg-muted); }
.sg-vfoot b { color: var(--sg-ink); }
.sg-tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: .15rem .5rem; border-radius: 1rem; white-space: nowrap; }
.sg-tag.ok { background: #E3F4EA; color: #0F6B3E; }
.sg-tag.low { background: #FFF0E3; color: #B24A0B; }
.sg-tag.out { background: #FDE7E7; color: #A32020; }
.sg-tag.info { background: #E6ECF7; color: var(--sg-navy); }
.sg-fin { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.sg-fin div { background: var(--sg-mist); border-radius: .375rem; padding: .7rem .85rem; }
.sg-fin span { display: block; font-size: .76rem; color: var(--sg-muted); }
.sg-fin b { color: var(--sg-ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.sg-fin b.up { color: #0F6B3E; }
.sg-vlist { list-style: none; padding: 0; margin: .4rem 0 0; }
.sg-vlist li { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid #EEF1F6; font-size: .86rem; }
.sg-vlist li:last-child { border-bottom: 0; }
.sg-vlist li > i { width: 2.1rem; height: 2.1rem; flex: none; border-radius: 50%; background: var(--sg-mist); color: var(--sg-navy); display: grid; place-items: center; }
.sg-vlist li > div { flex: 1; min-width: 0; }
.sg-vlist b { display: block; font-weight: 500; color: var(--sg-ink); }
.sg-vlist span:not(.sg-tag) { color: var(--sg-muted); font-size: .8rem; }

/* ---------- numbers strip ---------- */
.sg-stats { background: var(--sg-mist); padding: 2.5rem 0; border-bottom: 1px solid var(--sg-line); }
.sg-stats .col-6 { border-left: 3px solid var(--sg-orange); padding-left: 1.1rem; }
.sg-stat { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); font-weight: 700; color: var(--sg-navy); line-height: 1.05; letter-spacing: -.02em; }
.sg-stat-label { display: block; color: var(--sg-muted); margin-top: .35rem; font-size: .95rem; }

/* ---------- module explorer ---------- */
.sg-modules { display: grid; grid-template-columns: 17rem 1fr; border: 1px solid var(--sg-line); border-radius: .5rem; overflow: hidden; background: #fff; }
.sg-module-tabs { flex-direction: column; flex-wrap: nowrap; background: var(--sg-mist); border-right: 1px solid var(--sg-line); padding: .5rem 0; }
.sg-module-tab { display: flex; align-items: center; gap: .75rem; width: 100%; text-align: left; border: 0; background: transparent; color: var(--sg-text);
  font-weight: 500; padding: .8rem 1.25rem; border-left: 3px solid transparent; }
.sg-module-tab i { font-size: 1.15rem; color: var(--sg-muted); width: 1.3rem; text-align: center; }
.sg-module-tab:hover { color: var(--sg-navy); background: #E9EDF4; }
.sg-module-tab.active { background: #fff; color: var(--sg-ink); border-left-color: var(--sg-orange); font-weight: 600; }
.sg-module-tab.active i { color: var(--sg-orange); }
.sg-module-panels { padding: 2.25rem 2.5rem; }
.sg-module-icon { width: 3.25rem; height: 3.25rem; border-radius: .5rem; background: var(--sg-navy); color: #fff; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem; }
.sg-module-panels h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.sg-module-intro { color: var(--sg-muted); font-size: 1.05rem; max-width: 36rem; }
.sg-checks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2rem; max-width: 44rem; }
.sg-checks li { position: relative; padding-left: 1.75rem; }
.sg-checks li::before { content: ""; position: absolute; left: 0; top: .25rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #E3F4EA
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230F6B3E'%3E%3Cpath d='M13.5 4.5 6.5 11.5 3 8l1-1 2.5 2.5 6-6z'/%3E%3C/svg%3E") center / .8rem no-repeat; }
@media (max-width: 991.98px) {
  .sg-modules { grid-template-columns: 1fr; }
  .sg-module-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--sg-line); padding: 0; scrollbar-width: thin; }
  .sg-module-tab { width: auto; white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; padding: .9rem 1rem; }
  .sg-module-tab.active { border-bottom-color: var(--sg-orange); }
  .sg-module-panels { padding: 1.5rem 1.25rem; }
  .sg-checks { grid-template-columns: 1fr; }
}
