@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #182033;
  --muted: #758099;
  --line: #e6eaf1;
  --primary: #5b4cf4;
  --primary-2: #7b68ff;
  --primary-soft: #efedff;
  --success: #12a875;
  --success-soft: #e7f8f1;
  --danger: #e04f5f;
  --danger-soft: #fff0f2;
  --shadow: 0 18px 50px rgba(28, 35, 56, .08);
  --shadow-sm: 0 6px 22px rgba(28, 35, 56, .06);
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  font-size: 16px;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #e7edf5; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, strong, b, .btn, .badge, .table-action { font-family: Manrope, "DM Sans", sans-serif; }
.icon { flex: none; }

.auth-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 20px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 18, 31, .90), rgba(4, 18, 31, .68)),
    url("https://images.pexels.com/photos/1181244/pexels-photo-1181244.jpeg?auto=compress&cs=tinysrgb&w=1800") center / cover no-repeat;
}
.auth-screen:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 18, 31, .78), rgba(7, 54, 80, .30));
  pointer-events: none;
}
.auth-panel {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
  padding: 78px 26px 64px;
}
.auth-brand { position: absolute; top: 28px; left: 26px; display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 13px;
  background: linear-gradient(135deg, #7665ff, #4b3de1);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 24px rgba(91, 76, 244, .35);
}
.auth-brand strong { display: block; font-size: 18px; letter-spacing: -.03em; }
.auth-brand span { display: block; font-size: 12px; color: #8993ad; margin-top: 2px; }
.auth-form-block h2 { font-size: 32px; letter-spacing: -.045em; margin: 16px 0 8px; }
.muted { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
.step-pill {
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--primary-soft); color: var(--primary);
  padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .12em;
}
.step-pill span { font-weight: 600; letter-spacing: 0; text-transform: none; color: #737b8e; }
.step-pill.success { background: var(--success-soft); color: var(--success); }
.auth-form-block form, .modal-form { display: grid; gap: 15px; }
.auth-form-block label, .field { font-size: 13px; font-weight: 800; color: #465066; display: grid; gap: 7px; }
.input-wrap { position: relative; }
.input-wrap > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #9aa3b5; }
.input-wrap input { padding-left: 40px !important; }
.input-action {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; color: #8791a5; display: grid; place-items: center;
}
.auth-form-block input, .field input, .field textarea, .field select, .modal-form input, .modal-form textarea, .modal-form select {
  width: 100%; border: 1px solid #dde2eb; background: #fff; border-radius: 11px;
  padding: 11px 12px; color: var(--ink); outline: none; font-size: 15px; min-height: 44px;
}
.field textarea, .modal-form textarea { min-height: 82px; resize: vertical; }
.auth-form-block input:focus, .field input:focus, .field textarea:focus, .field select:focus {
  border-color: #aaa0ff; box-shadow: 0 0 0 4px rgba(91, 76, 244, .08);
}
.btn {
  border: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; font-weight: 700; font-size: 15px; transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 10px 22px rgba(91, 76, 244, .22); }
.btn-secondary { color: #343d51; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-full { width: 100%; }
.btn-lg { padding: 13px 18px; }
.button-group { display: flex; gap: 8px; }
.form-error {
  display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px;
  background: var(--danger-soft); color: #bd4451; font-size: 13px; line-height: 1.45; margin-bottom: 12px;
}
.back-code { border: 0; background: transparent; color: #1d4ed8; font-weight: 800; padding: 0 0 8px; }
.login-business-heading { margin: 0 0 18px; padding: 4px 0 16px; border-bottom: 1px solid var(--line); text-align: center; }
.login-business-heading > span { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: #087f5b; }
.login-business-heading h1 {
  margin: 8px 0 6px; font-size: 40px; line-height: 1; letter-spacing: -.055em;
  background: linear-gradient(90deg, #087f5b, #2563eb); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.login-business-heading p { color: var(--muted); font-size: 13px; }
.auth-footer { position: absolute; bottom: 22px; left: 26px; display: flex; gap: 8px; color: #a0a8b8; font-size: 12px; }
.login-site-link {
  position: absolute; top: 24px; right: 30px; z-index: 6; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 14px; color: #fff; background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 9px; font-weight: 800;
}
.login-site-link:hover { background: rgba(255, 255, 255, .18); }
.login-site-link:after {
  content: ""; position: absolute; top: -35%; bottom: -35%; width: 28%; right: -35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
  transform: skewX(-18deg); animation: backSiteSweep 2.8s linear infinite;
}
@keyframes backSiteSweep { 0% { right: -35%; } 100% { right: 125%; } }

.kplat { min-height: 100vh; display: flex; background: #e7edf5; color: #20263a; }
.kplat-side {
  width: 235px; flex: none; background: #10233f; color: #d5e2f2;
  padding: 24px 15px; display: flex; flex-direction: column; gap: 8px;
  position: sticky; top: 0; height: 100vh;
}
.kplat-brand { display: flex; align-items: center; gap: 12px; padding: 0 9px 28px; font-weight: 800; letter-spacing: .04em; color: #f7fbff; }
.kplat-mark {
  width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; color: #fff;
  background: linear-gradient(135deg, #4d64e9, #7659dc); font-weight: 800; font-size: 18px;
}
.kplat-brand b { display: block; font-size: 14px; }
.kplat-brand small { display: block; font: 500 10px "DM Sans", sans-serif; letter-spacing: .12em; color: #9fb4d0; margin-top: 4px; }
.kplat-side > button {
  display: flex; align-items: center; gap: 13px; padding: 13px 14px; border: 0; background: transparent;
  text-align: left; color: #d5e2f2; border-radius: 10px; font-size: 15px;
}
.kplat-side > button.active, .kplat-side > button:hover { background: #1d4e89; color: #fff; font-weight: 700; }
.kplat-foot { margin-top: auto; padding: 15px 8px 5px; border-top: 1px solid rgba(255, 255, 255, .16); color: #9fb4d0; font-size: 13px; }
.kplat-main { flex: 1; min-width: 0; min-height: 100vh; background: #f4f7fb; }
.kplat-top {
  height: 68px; background: #fff; border-bottom: 1px solid #eceef4; padding: 0 4%;
  display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700;
  position: sticky; top: 0; z-index: 6;
}
.kplat-crumb { color: #9298aa; font-weight: 500; }
.kplat-actions { display: flex; align-items: center; gap: 10px; }
.kplat-body { padding: 28px 4% 48px; }
.kplat-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.kplat-title h1 { font: 800 32px Manrope, sans-serif; letter-spacing: -.04em; }
.kplat-title p { font-size: 14px; color: #8b91a4; margin: 8px 0 0; }
.platform-user { text-align: right; }
.platform-user b, .platform-user small { display: block; }
.platform-user b { font-size: 14px; }
.platform-user small { font-size: 12px; color: #8d97aa; margin-top: 2px; letter-spacing: .08em; }
.platform-settings-btn {
  border: 1px solid #e5e8ef; background: #fff; color: #5d6678; border-radius: 10px; padding: 8px 10px;
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800;
}
.platform-settings-btn:hover { border-color: #cbc5ff; color: #5a4ce1; background: #faf9ff; }
.icon-btn {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #68738a;
  display: inline-flex; align-items: center; justify-content: center;
}
.platform-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 16px; }
.billing-stats { grid-template-columns: repeat(6, 1fr); }
.billing-forms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0; }
.billing-filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px;
  margin: 0; padding: 16px 20px; background: linear-gradient(180deg, #f8fafc, #fff);
  border-bottom: 1px solid #eef1f6;
}
.billing-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; min-width: 150px; }
.billing-field span, .platform-module-filter span {
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #667085;
}
.billing-field input, .billing-field select, .billing-allocate select,
.platform-module-filter select, .platform-expiry-input, .billing-card input, .billing-card select, .billing-card textarea {
  width: 100%; height: 44px; border: 1px solid #cfd6e4; border-radius: 12px; background: #fff;
  padding: 0 12px; color: #17233f; color-scheme: light; font: 600 14px/1.2 "DM Sans", sans-serif;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, .04);
}
.billing-card textarea { height: auto; min-height: 96px; padding: 12px; }
.billing-field input:focus, .billing-field select:focus, .billing-allocate select:focus,
.platform-module-filter select:focus, .platform-expiry-input:focus, .billing-card input:focus, .billing-card select:focus, .billing-card textarea:focus {
  outline: none; border-color: #7c6cf0; box-shadow: 0 0 0 4px rgba(91, 76, 244, .14);
}
.billing-apply {
  height: 44px; min-width: 118px; padding: 0 22px; flex: 0 0 auto; align-self: flex-end;
  border-radius: 12px; font-weight: 800; letter-spacing: .01em;
}
.billing-allocate { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.billing-allocate select { min-width: 180px; width: auto; }
.billing-card { background: #f7f9fc; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.billing-card h3, .billing-history { margin: 8px 0; }
.billing-history { padding-left: 18px; color: #526070; }
.billing-note p { margin: 6px 0; color: #526070; }
.platform-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 17px 18px; box-shadow: var(--shadow-sm); }
.platform-stats span, .platform-stats strong { display: block; }
.platform-stats span { font-size: 12px; color: #8e98aa; }
.platform-stats strong { font-size: 22px; margin-top: 5px; letter-spacing: -.04em; }
.platform-panel { background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow-sm); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 20px; border-bottom: 1px solid #f0f2f6; }
.panel-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; font-weight: 900; color: #9aa3b4; }
.panel-head h3 { font-size: 16px; letter-spacing: -.03em; margin-top: 4px; }
.platform-filters { display: flex; gap: 7px; padding: 12px 20px; border-bottom: 1px solid #f0f2f6; overflow: auto; align-items: center; }
.platform-module-filter { margin-left: auto; display: flex; align-items: center; gap: 8px; color: #667085; }
.platform-filters button {
  border: 1px solid #e7eaf0; background: #fff; color: #7d879a; border-radius: 999px; padding: 7px 10px;
  font-size: 12px; font-weight: 900; white-space: nowrap;
}
.platform-filters button.active { background: #f0efff; border-color: #d5d0ff; color: #5a4ce1; }
.platform-filters button span { margin-left: 5px; background: #f1f3f7; padding: 2px 5px; border-radius: 999px; color: #8d96a7; }
.platform-filters button.active span { background: #fff; color: #5a4ce1; }
.platform-empty { padding: 45px 20px; text-align: center; color: #8e98aa; }
.platform-error { margin: 16px 20px; }
.platform-table-wrap { overflow: auto; border-top: 1px solid #f0f2f6; }
.platform-table { width: 100%; min-width: 1180px; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.platform-table th {
  padding: 13px 14px; background: #fafbfe; border-bottom: 1px solid #e8ebf2; color: #111827;
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; text-align: left; white-space: nowrap;
}
.platform-table td { padding: 14px; border-bottom: 1px solid #f0f2f6; vertical-align: middle; color: #283247; background: #fff; }
.platform-table tbody tr:hover td { background: #fafaff; }
.platform-table td:last-child { min-width: 360px; width: 360px; }
.platform-business-cell { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.platform-business-icon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; font-weight: 900; flex: none;
}
.platform-business-main b { font-size: 14px; display: block; }
.platform-business-main span { font-size: 12px; color: #9099aa; margin-top: 3px; display: block; max-width: 245px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.platform-code-value { font-size: 13px; letter-spacing: .06em; white-space: nowrap; }
.platform-expiry-input { width: 158px; }
.platform-balance-status { display: block; margin-top: 3px; color: #68738a; font-size: 11px; font-weight: 700; }
.platform-row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.table-action { border: 0; background: #f2f1ff; color: #5d50df; border-radius: 7px; padding: 6px 8px; font-size: 13px; font-weight: 900; white-space: nowrap; }
.danger-action { color: #c34d5a !important; }
.success-action { color: #138763 !important; }
.badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.badge.success { background: var(--success-soft); color: #118663; }
.badge.danger { background: var(--danger-soft); color: #bd4451; }
.badge.neutral { background: #f0f2f6; color: #717c91; }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 20, 33, .45); backdrop-filter: blur(5px);
  z-index: 80; display: grid; place-items: center; padding: 20px;
}
.confirmation-backdrop { z-index: 90; background: rgba(15, 20, 35, .56); }
.modal {
  width: min(520px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 18px;
  box-shadow: 0 35px 90px rgba(15, 20, 35, .24);
}
.modal-wide { width: min(760px, 100%); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 19px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 20px; letter-spacing: -.035em; }
.modal-head p { font-size: 13px; color: #758099; margin-top: 4px; line-height: 1.5; }
.modal-form { padding: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field-help, .field small { font-size: 12px; color: #929bac; font-weight: 500; line-height: 1.4; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.platform-created { padding: 24px; }
.success-orb { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--success); background: var(--success-soft); margin-bottom: 12px; }
.platform-created h3 { font-size: 22px; margin: 12px 0 8px; }
.credential-card { display: grid; gap: 8px; padding: 14px; border: 1px solid #dfe4ed; background: #fff; border-radius: 14px; margin: 16px 0; }
.credential-card > div { padding: 6px 2px; }
.credential-card small, .credential-card strong { display: block; }
.credential-card small { font-size: 11px; color: #9099aa; text-transform: uppercase; letter-spacing: .06em; }
.credential-card strong { font-size: 16px; margin-top: 3px; word-break: break-word; }
.copy-btn {
  justify-self: start; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 7px 9px;
  display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 800; color: var(--primary);
}
.notice { display: flex; gap: 9px; padding: 11px 12px; background: #f4f6fb; border-radius: 11px; font-size: 13px; line-height: 1.5; color: #68738a; margin-bottom: 16px; }
.lifecycle-summary { display: flex; align-items: center; gap: 10px; }
.lifecycle-summary b, .lifecycle-summary span { display: block; }
.lifecycle-summary span { font-size: 12px; color: #929bac; margin-top: 3px; }
.account-settings-note {
  display: flex; align-items: center; gap: 9px; margin: 16px 18px 0; padding: 11px 12px;
  border: 1px solid #e2f1ea; background: #f5fbf8; border-radius: 11px; color: #486858; font-size: 13px;
}
.account-settings-note svg { color: #138763; }
.admin-account-modal .input-wrap { display: flex; align-items: center; }
.admin-account-modal .input-wrap > input { flex: 1; min-width: 0; }
.confirmation-modal { width: min(560px, calc(100vw - 28px)); padding: 24px; }
.confirmation-icon { width: 48px; height: 48px; border-radius: 15px; background: #f0efff; color: #5b4cf4; display: grid; place-items: center; margin-bottom: 12px; }
.confirmation-head { padding: 0; border: 0; }
.confirmation-head h2 { font-size: 22px; margin-top: 9px; }
.confirmation-summary { display: flex; flex-direction: column; gap: 3px; padding: 13px 14px; margin: 16px 0 4px; border: 1px solid #e9ebf2; background: #fafbfe; border-radius: 12px; }
.confirmation-summary span { font-size: 13px; color: #7f899b; }
.toast-stack {
  position: fixed; top: 18px; right: 18px; z-index: 2147483000; display: flex; flex-direction: column; gap: 10px;
  width: min(420px, calc(100vw - 28px)); pointer-events: none;
}
.toast {
  position: relative; pointer-events: auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  min-width: 0; max-width: none; margin: 0;
  background: #087f5b; color: #fff; padding: 16px 18px; border-radius: 14px; font-size: 15px; font-weight: 700;
  box-shadow: 0 20px 55px rgba(15, 20, 35, .28);
}
.toast.error { background: #b42332; }
.toast.success { background: #087f5b; }
.toast-close { border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1; padding: 0; cursor: pointer; }

.public-home {
  min-height: 100vh;
  color: #20263a;
  background:
    radial-gradient(920px 420px at -8% -10%, rgba(246,139,30,.28), transparent 58%),
    radial-gradient(860px 480px at 108% 0%, rgba(73,102,232,.22), transparent 54%),
    linear-gradient(180deg, #d5e1f4 0%, #c5d4ea 48%, #efe2cf 100%);
}
.public-top {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding: 12px 6%; background: rgba(23,35,61,.96); color: #f7f4ee;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.public-brand { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; color: inherit; padding: 0; text-align: left; }
.public-brand b, .public-brand small { display: block; }
.public-brand small { letter-spacing: .12em; color: #b7c4ff; font-size: 11px; margin-top: 2px; }
.public-home .site-links { display: flex; flex-wrap: wrap; gap: 8px; }
.public-home .site-links button {
  border: 0; background: transparent; color: #f7f4ee; border-radius: 999px; padding: 8px 14px; font-weight: 700;
}
.public-home .site-links button.active { background: rgba(255,255,255,.16); color: #fff; }
.public-hero { max-width: 760px; margin: 0 auto; padding: 92px 24px 40px; }
.public-hero h1 { font: 800 clamp(40px, 6vw, 64px) Manrope, sans-serif; letter-spacing: -.05em; margin: 16px 0 12px; }
.public-hero p { color: #667085; font-size: 18px; line-height: 1.6; max-width: 560px; }
.public-hero .btn { margin-top: 22px; }
.public-foot { padding: 0 6% 28px; }
.public-foot button { border: 0; background: none; color: #8b93a7; font-size: 13px; font-weight: 700; padding: 0; }
.public-showcase { display: flex; flex-wrap: wrap; gap: 16px; padding: 0 6% 48px; }
.public-showcase article { flex: 1 1 220px; min-width: 180px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 12px 28px rgba(23,38,72,.08); }
.public-showcase img { width: 100%; height: 180px; object-fit: cover; display: block; }
.public-showcase span { display: block; padding: 12px 14px 16px; font-weight: 800; }
.public-contacts { display: flex; flex-wrap: wrap; gap: 16px; padding: 0 6% 48px; }
.public-contacts a, .public-contacts p { margin: 0; color: inherit; text-decoration: none; background: #fff; border: 1px solid #e6eaf1; border-radius: 14px; padding: 14px 16px; min-width: 180px; }
.public-contacts span { display: block; color: #8b93a7; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.public-contacts b { display: block; margin-top: 4px; }
.systems-page { max-width: 1100px; margin: 0 auto; padding: 48px 24px 64px; }
.systems-page h1 { font: 800 40px Manrope, sans-serif; letter-spacing: -.04em; }
.systems-page > p { color: #667085; margin: 8px 0 22px; max-width: 640px; }
.system-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.system-card {
  flex: 1 1 220px; min-height: 180px; display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid #e6eaf1; border-radius: 18px; padding: 20px;
  color: inherit; text-decoration: none; box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.system-card span {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: #efedff; color: #5b4cf4; font-weight: 800;
}
.system-card b { font-size: 18px; }
.system-card small { color: #667085; line-height: 1.45; }
.system-card:hover { border-color: #cbc5ff; transform: translateY(-2px); }

.panel-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 12px; border: 0; border-radius: 10px;
  background: transparent; color: inherit; cursor: pointer;
}
.panel-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.kplat-heading { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.kplat-heading > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kplat-launcher {
  position: static !important; top: auto !important; left: auto !important;
  display: inline-flex !important; flex: 0 0 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; margin: 0; padding: 0; background: #10233f; color: #fff; border-radius: 10px;
  z-index: 1;
}
.kplat-launcher span { display: block !important; width: 18px !important; height: 2px !important; margin: 0 !important; background: #fff !important; border-radius: 2px; }
.side-backdrop { display: none; }
.kplat-side.collapsed { width: 76px; padding-left: 10px; padding-right: 10px; }
.kplat-side.collapsed .kplat-brand div,
.kplat-side.collapsed > button:not(.panel-toggle) span,
.kplat-side.collapsed .kplat-foot { display: none; }
.kplat-side.collapsed > button:not(.panel-toggle) { justify-content: center; }
body { font-size: 18px; }
.toast, .form-error, .modal, .modal p, .field span, .kplat-side > button, .btn { font-size: 16px; }
textarea { width: 100%; border: 1px solid #e3e6ef; border-radius: 10px; padding: 12px; font: inherit; }

.kplat-side > .panel-toggle { display: none !important; }
.kplat { display: flex; align-items: stretch; min-height: 100vh; }
.kplat-side { flex: 0 0 240px; width: 240px; }
.kplat-side.collapsed { flex: 0 0 76px; width: 76px; }
.kplat-main { min-width: 0; flex: 1; }
@media (max-width: 980px) {
  .kplat { display: flex; }
  .kplat-launcher { display: inline-flex !important; position: static !important; }
  .side-backdrop { display: block; position: fixed; inset: 0; z-index: 30; border: 0; background: rgba(15, 23, 42, .42); }
  .kplat-side {
    position: fixed; top: 0; left: 0; z-index: 40; height: 100vh; transform: none;
    width: min(260px, 86vw); flex: none; box-shadow: 16px 0 40px rgba(0, 0, 0, .28);
  }
  .kplat-side.collapsed { transform: translateX(-110%); width: min(260px, 86vw); flex: none; box-shadow: none; pointer-events: none; }
  .kplat-main { padding-top: 0; min-width: 0; flex: 1; width: 100%; }
  .kplat-top { padding-left: 12px; }
  .kplat-title, .panel-head { align-items: flex-start; flex-direction: column; }
  .platform-stats, .form-grid, .billing-filters, .billing-forms, .billing-stats { grid-template-columns: 1fr; }
  .platform-user { display: none; }
  .login-site-link { top: 14px; right: 14px; }
  .table-scroll { overflow-x: auto; }
  .public-hero { padding: 48px 18px 28px; }
  .public-showcase, .public-contacts { padding-left: 18px; padding-right: 18px; }
}
.kplat-side>.panel-toggle{display:none !important}

.mall{width:min(1240px,94%);margin:18px auto 56px;display:grid;gap:22px}
.mall-banner{display:grid;grid-template-columns:1.05fr .95fr;min-height:280px;border-radius:18px;overflow:hidden;background:linear-gradient(110deg,#f68b1e 0%,#ffd19a 46%,#fff7ef 100%);color:#1c2433}
.mall-banner-copy{padding:36px 34px;display:flex;flex-direction:column;justify-content:center}
.mall-banner h1{margin:8px 0 12px;font-family:Manrope,sans-serif;font-size:clamp(34px,4.4vw,58px);line-height:.98;letter-spacing:-.03em;color:#1c2433}
.mall-banner p{margin:0;max-width:460px;font-size:17px;line-height:1.5;color:#3d3428}
.mall-banner .eyebrow,.eyebrow{color:#8a4b10;font-size:12px;font-weight:800;letter-spacing:.12em}
.mall-banner img{width:100%;height:100%;object-fit:cover;min-height:240px}
.mall-banner .hero-actions{margin-top:18px;display:flex;flex-wrap:wrap;gap:10px}
.banner-ghost{background:#fff!important;color:#1c2433!important;border:0!important}
.kind-card{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0;border:1px solid #eceff5;border-radius:18px;background:#fff;color:#1c2740;text-align:left;box-shadow:0 8px 24px rgba(23,38,72,.08)}
.kind-card img{display:block;width:100%;height:168px;object-fit:cover}
.kind-copy{display:flex;flex-direction:column;gap:4px;padding:14px 14px 16px;background:#f6f1e7;color:#1c2740}
.kind-copy small{color:#5463d6;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.kind-copy b{color:#17233f;font-size:16px;line-height:1.3}
.home-image-flex{display:flex;flex-direction:row;flex-wrap:wrap;gap:16px;align-items:stretch}
.home-image-flex .kind-card{flex:1 1 240px;width:240px;max-width:100%}
.mall-page-panel{width:min(860px,94%);margin:22px auto 48px;background:#f6f1e7;color:#1c2740;border:1px solid #e6d9c4;border-radius:18px;padding:28px}
.about-wide{width:min(1100px,94%)}
.mall-page-panel h2{margin:8px 0 10px;font:800 clamp(28px,4vw,42px)/1.1 Manrope,sans-serif;color:#17233f}
.mall-page-panel p,.mall-page-panel li{color:#24324c}
.software-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin-top:14px}
.software-card{position:relative;display:flex;flex-direction:column;gap:8px;width:100%;min-height:196px;padding:18px 18px 16px 20px;border-radius:18px;background:linear-gradient(180deg,#fbf7f0,#f1e6d4);border:1px solid #e4d5bf;box-shadow:0 14px 32px rgba(23,38,72,.08);overflow:hidden;text-align:left;color:inherit;font:inherit;cursor:pointer}
.software-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--tone,#e07a12)}
.software-card:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(23,38,72,.14)}
.software-mark{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--tone,#e07a12) 14%,#fff);color:var(--tone,#e07a12);font:800 11px/1 Manrope,sans-serif;letter-spacing:.03em}
.software-card b{display:block;color:#17233f;font-family:Manrope,sans-serif;font-size:17px;line-height:1.3}
.software-card p{margin:0;color:#4c5870;line-height:1.5;font-size:14px}
.software-price{margin-top:auto;align-self:flex-start;padding:5px 10px;border-radius:999px;background:#fff4e8;color:#8a4b10;font-size:12px;font-weight:800}
.enquiry-form{display:grid;gap:12px;margin-top:18px}
.enquiry-form label,.field-heading{display:grid;gap:6px;color:#465066;font-weight:800;font-size:13px}
.enquiry-form input,.enquiry-form textarea,.enquiry-form select{width:100%;padding:12px 14px;border:1px solid #d5dbe8;border-radius:12px;background:#fff;color:#17233f;font:inherit}
.contact-line{display:flex;flex-direction:column;gap:2px;width:100%;margin:0 0 8px;padding:12px 14px;border-radius:12px;background:#fff;border:1px solid #e5ebf5;color:#1c2740;text-decoration:none;text-align:left}
.contact-line span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#7b869c}
.contact-line b{display:block;font-weight:750;overflow-wrap:anywhere}
.contact-stack,.mall-contacts,.enquiry-reach{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:10px}
.enquiry-reach{margin-top:4px}
.store-follow{width:100%;margin:8px 0 0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.wa-row{display:flex;flex-direction:row;align-items:center;gap:12px;width:100%;padding:12px 14px;border-radius:12px;background:#f3fff6;border:1px solid #c8efd4;color:#14532d;text-decoration:none}
.wa-row small{display:block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#3d8f5a}
.wa-row b{display:block;color:#14532d}
.wa-icon{width:28px;height:28px;display:grid;place-items:center;color:#16a34a}
.wa-icon svg,.wa-link svg{width:28px;height:28px;display:block}
.wa-link{color:#16a34a}
.site-footer{width:min(1240px,94%);margin:8px auto 40px;display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center;color:#5c6880}
.site-footer button{border:0;background:none;color:#1d4ed8;font-weight:750;padding:0}
.site-footer p{flex-basis:100%;margin:0;line-height:1.5}
.system-back{margin:8px 0 4px;border:0;background:transparent;color:#8a4b10;font-weight:800;padding:0}
.system-detail h3{margin:12px 0 8px;font:800 clamp(26px,3vw,36px)/1.15 Manrope,sans-serif;color:#17233f}
.system-detail>p{color:#3c4860;line-height:1.55}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:18px 0 8px}
.feature-grid section{padding:14px 16px;border-radius:14px;background:#f3e7d4;border:1px solid #e4d2b4}
.feature-grid h4{margin:0 0 8px;font:800 15px/1.3 Manrope,sans-serif;color:#17233f}
.feature-grid ul{margin:0;padding-left:18px;color:#3c4860;line-height:1.55}
.demo-reach,.demo-banner{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:20px;padding:16px;border-radius:16px;background:#fff4e4;border:1px solid #efd3a4}
.demo-banner p,.demo-reach p{margin:0;font:800 18px/1.3 Manrope,sans-serif;color:#17233f}
.demo-inline{margin:4px 0 16px}
.demo-dialog{width:min(460px,100%);background:#f3eadc;color:#1c2740;padding:28px 24px}
.demo-dialog h2{margin:8px 0 10px}
.modal-close{position:absolute;top:12px;right:14px;border:0;background:transparent;font-size:28px;line-height:1;color:#465066}
.demo-dialog{position:relative}
@media(max-width:900px){
  .mall-banner{grid-template-columns:1fr}
  .mall-banner img{max-height:220px}
  .home-image-flex .kind-card{flex-basis:calc(50% - 16px)}
  .public-top{padding:12px 18px}
}
@media(max-width:560px){
  .mall-banner-copy{padding:22px 18px}
  .home-image-flex .kind-card{flex-basis:100%}
}
