/* kliklink.my · XPEND-inspired interface refresh (Nov 2026)
   Source: user-supplied screenshot. Changes only to the back-office UI, not public brand profiles. */
:root {
  --burgundy: #7c3ced;
  --maroon: #3e216f;
  --burgundy-light: #eee8ff;
  --gold: #a47df5;
  --ink: #301967;
  --muted: #786c99;
  --line: #e4def7;
  --bg: #f6f5ff;
  --white: #fff;
  --green: #15915e;
  --shadow: 0 1px 2px rgba(66,36,121,.02);
}
body {background:var(--bg);color:var(--ink);font:12.5px/1.52 Inter,system-ui,-apple-system,sans-serif}
h1,h2,h3,h4,.brand-title,.logo-text{font-family:Inter,system-ui,-apple-system,sans-serif;letter-spacing:-.035em}
h1{font-size:21px;font-weight:760}h2{font-size:17px}h3{font-size:13px;font-weight:730}
.layout{background:#f6f5ff}
.sidebar{width:220px;padding:12px 10px 16px;background:#f6f5ff;border-right:1px solid #e1dcf3}
.brand{gap:10px;margin:4px 3px 9px;min-height:49px}
.brand-mark{background:#7c3ced;color:white;border-radius:9px;box-shadow:none;font-family:Inter,sans-serif;font-weight:800}
.brand .brand-mark{width:33px;height:33px;font-size:22px}
.brand-title{font-size:14px;letter-spacing:-.04em;font-weight:800;color:#341870}
.brand-title span{color:#7c3ced}
.brand-sub{font-size:9px;margin-top:2px;color:#6a5a91;letter-spacing:0;text-transform:none;font-weight:450}
.sidebar-divider{border-top:1px solid var(--line);margin:3px -10px 9px}
.menu-label{color:#8073ad;margin:14px 7px 7px;font-size:9px;font-weight:700;letter-spacing:.4px}
.navitem{margin:1px 0;padding:8px 10px;border-radius:5px;font-weight:550;color:#3e2b7d;gap:10px;font-size:12px}
.navitem svg{height:15px;width:15px;stroke-width:2}
.navitem:hover{color:#5d27bd;background:#eae4ff}
.navitem.active{background:#7c3ced;color:white;box-shadow:0 2px 6px rgba(124,60,237,.12)}
.navitem.active .navcount{background:rgba(255,255,255,.22);color:#fff}
.navitem .navcount{background:#e9e4f8;color:#6e43b7;border-radius:99px}
.sidebar-footer{border-top:1px solid var(--line);padding-top:8px}
.help-card{background:#f0ebff;border:1px solid #dfd6ff;border-radius:9px;padding:11px;margin-bottom:8px}
.help-card strong{color:#3b2179;font-size:11px}.help-card p{color:#746594;font-size:10px;margin:4px 0 8px}
.help-kicker{font-size:9px;color:#8559d8;font-weight:750;margin-bottom:4px;letter-spacing:.05em}
.help-card .simple-link{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#6c2bce}
.help-card .simple-link svg{height:14px;width:14px}
.sidebar-powered{font-size:9px;color:#9c90b8;text-align:center;margin-top:8px}
.main{background:#f6f5ff}
.topbar{height:51px;padding:0 22px;background:#f6f5ff;border-bottom:1px solid #e2ddf4;gap:10px}
.topbar-left{display:flex;align-items:center;gap:9px;min-width:0}
.topbar-workspace{font-size:11px;font-weight:780;color:#3b2173;white-space:nowrap;max-width:210px;overflow:hidden;text-overflow:ellipsis}
.topbar-section,.topbar-separator{font-size:10px;color:#9489af}
.topbar-right{gap:9px}
.workspace-picker{background:transparent;border:1px solid #e4dff5;color:#493083;border-radius:7px;padding:6px 8px;min-width:166px;max-width:225px;min-height:30px;font-size:11px;font-weight:500}
.topbar-plan{background:#eee8fc;color:#5a3699;border-radius:99px;padding:4px 8px;font-size:9px;font-weight:700}
.avatar{width:29px;height:29px;background:#7c3ced;color:white;font-size:11px;outline:none;border:0}
.icon-button{height:32px;width:32px;border:1px solid #e9e5f6;border-radius:7px;background:#fff;color:#674c9e}
.icon-button svg{height:16px;width:16px}
.content{padding:23px 28px 55px;max-width:1188px;margin:0 auto}
.page-header{margin-bottom:17px;align-items:flex-start}
.page-header .subtitle{font-size:11px;color:#806f9f;margin-top:5px}
.eyebrow{margin-bottom:4px;color:#7c3ced;font-size:9px;letter-spacing:.65px}
.btn{border-radius:7px;padding:9px 13px;font-weight:680;font-size:11px;gap:7px}
.btn-primary{background:#7c3ced;color:#fff;box-shadow:0 2px 5px #7c3ced1f}
.btn-primary:hover{background:#662cc9}
.btn-ghost{color:#722fe0}.btn-light{background:white;border:1px solid #e1daf5;color:#483081}
.btn-light:hover{background:#f9f7ff}
.btn-outline{border:1px solid #ddd2f7;color:#6c31ca}
.btn-danger{background:#fff0f4;color:#bc2350}
.btn-sm{padding:7px 10px;font-size:10px}
.card{border-radius:11px;border:1px solid #e3ddf6;box-shadow:none;background:#fff}
.command-heading .page-header{margin-bottom:6px}
.dashboard-date{font-size:10px;color:#8979a9;text-align:right;min-height:14px;margin:-7px 0 5px}
.grid-kpi{gap:10px;margin:14px 0 16px}
.kpi{min-height:88px;padding:13px 16px}
.kpi-top{font-size:10px;font-weight:520;color:#7966a6}
.kpi-icon{width:23px;height:23px;background:transparent;color:#7850c9}
.kpi-icon svg{width:15px;height:15px}.kpi-icon.gold,.kpi-icon.green,.kpi-icon.blue{background:transparent;color:#7850c9}
.kpi-value{font-size:22px;margin-top:4px;color:#331674;font-weight:750;letter-spacing:-.05em}
.kpi-sub{font-size:9.5px;color:#8779a8;margin-top:4px}
.overview-panels{display:grid;grid-template-columns:1.65fr 1fr;gap:12px;align-items:stretch}
.panel-start,.panel-progress{padding:16px 18px;position:relative;overflow:hidden;min-height:187px}
.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.panel-kicker{color:#7c3ced;font-size:9px;font-weight:750;letter-spacing:.055em;margin-bottom:5px}
.panel-header h3,.panel-progress h3{font-size:13px;color:#351971}
.panel-header p{font-size:10px;color:#82769f;max-width:505px;margin:4px 0 9px}
.panel-start-icon{height:32px;width:32px;background:#f1edff;color:#793cea;display:grid;place-items:center;border-radius:8px}
.launch-checklist{display:grid;grid-template-columns:1fr 1fr;gap:7px 9px}
.launch-item{display:flex;align-items:center;text-align:left;gap:7px;min-width:0;background:#faf9ff;border:1px solid #ebe5fa;border-radius:7px;padding:7px 8px;color:#544180;font-size:10px;line-height:1.2}
.launch-item:hover{background:#f1edff;border-color:#cec0f6}
.launch-item>span:nth-child(2){flex:1}
.launch-item svg{height:12px;width:12px;flex-shrink:0}
.launch-mark{height:17px;width:17px;display:grid;place-items:center;border-radius:50%;background:#ebe3ff;color:#7b40d5;font-size:9px;font-weight:750;flex-shrink:0}
.launch-item.done .launch-mark{background:#e2f7ec;color:#16895c}
.launch-item>svg{color:#a999c8}
.readiness-number{font-size:35px;font-weight:750;color:#36177c;line-height:1.1;margin-top:11px}
.readiness-number span{font-size:17px;color:#9b8bb9}
.readiness-progress{height:6px;background:#eee9fa;border-radius:99px;overflow:hidden;margin:13px 0 11px;position:relative}
.readiness-progress span{display:block;background:#7c3ced;height:100%;border-radius:99px}
.panel-progress p{font-size:10px;color:#82769f;margin-bottom:10px}
.panel-progress .btn{position:relative;z-index:1}
.readiness-decoration{position:absolute;right:16px;top:13px;color:#e9dfff}
.readiness-decoration svg{height:85px;width:85px;stroke-width:1}
.section-row{margin:20px 0 10px}.section-row .sub{font-size:10px;color:#8f83ab;margin-top:2px}
.quick-grid{gap:10px}.quick-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.quick{padding:12px 11px;gap:9px;min-width:0}
.quick:hover{transform:none;border-color:#bfa9ee;background:#fefcff}
.quick-icon{height:32px;width:32px;border-radius:7px;background:#ece6ff;color:#6125bf}
.quick-icon svg{height:17px;width:17px}
.quick .quick-title{font-size:10.5px;color:#402278;font-weight:700}
.quick .quick-desc{font-size:9px;line-height:1.35;color:#8a7fa5}
.quick .arr svg{height:14px;width:14px;color:#a795c7}
.link-action{color:#712dde;font-size:10px}
.table-head{padding:13px 16px;border-bottom:1px solid #eee9f9}
.table-head p{font-size:10px;color:#82779e;margin-top:3px}
.search{min-width:185px;font-size:10px;border:1px solid #e2ddf3;border-radius:7px;padding:7px 10px}
.search:focus,input:focus,textarea:focus,select:focus{outline:2px solid #d4befb;outline-offset:1px}
th{color:#887ba5;background:#fbfaff;padding:9px 12px;font-size:9px;font-weight:660}
td{color:#6d628b;padding:9px 12px;border-top:1px solid #f0ecfa;font-size:10px}
.profile-name{color:#3b2074;font-size:10.5px}.profile-cell{gap:8px}
.brand-initial{height:30px;width:30px;border-radius:7px;background:#ede7ff;color:#7736db;font-size:11px}
.pill{font-size:9px;padding:3px 7px}.pill.live{color:#0e8756;background:#e9f9ef}
.tabs{border-color:#e9e2fa}.tab.active{color:#742ede;border-bottom-color:#742ede}
.editor-card{padding:19px}.editor-layout{grid-template-columns:minmax(0,1fr) 315px;gap:15px}
/* Stat cards, QR Library and editor all inherit the XPEND palette. */
.qr-profile{border-color:#e3ddf6}.qr-thumb{border:1px solid #ece7f7}
.bar-view{background:#7c3ced}.bar-click{background:#ab86f1}.bar-qr{background:#dccbff}
.dot.burgundy{background:#7c3ced}.dot.green{background:#ab86f1}.dot.gold{background:#dccbff}
.demo-badge{background:#eee9ff!important;color:#6325c2!important;border-color:#ded2fa!important}
.notice.blue{background:#f2efff!important;border-color:#ddd3fb!important;color:#5d42a7!important}
.auth-left{background:linear-gradient(135deg,#3c177c,#7837df)!important}
.auth-brand,.boot{color:#3b2179}.auth-left .auth-brand{color:#fff}
.logo-tail{color:#a078f3}
/* Do not override the per-brand profile colors on public pages. */
@media(max-width:1220px){.content{padding-left:20px;padding-right:20px}.quick-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:950px){.overview-panels{grid-template-columns:1fr}.panel-start,.panel-progress{min-height:auto}.topbar-plan{display:none}}
@media(max-width:820px){
 .sidebar{width:252px;box-shadow:10px 0 40px #31156e18}
 .topbar{padding:0 14px}.content{padding:18px 14px 38px}
 .topbar-workspace{max-width:160px}.topbar-section,.topbar-separator{display:none}
 .workspace-picker{min-width:115px;max-width:160px}
 .desktop-settings{display:none}
 .grid-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}
 .quick-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}
 .editor-layout{grid-template-columns:1fr}
}
@media(max-width:520px){
 .topbar-right{gap:6px}.workspace-picker{max-width:130px;min-width:0;font-size:10px}
 .topbar-workspace{max-width:92px;font-size:10px}
 .page-header h1{font-size:19px}.page-header{flex-wrap:wrap;gap:10px}
 .dashboard-date{text-align:left;margin:0 0 9px}
 .grid-kpi{gap:8px}.kpi{padding:12px}.kpi-value{font-size:21px}
 .panel-start,.panel-progress{padding:15px}.launch-checklist{grid-template-columns:1fr 1fr}
 .quick{padding:11px;gap:7px}.quick-icon{width:29px;height:29px}.quick .quick-desc{display:none}
 .table-head{flex-wrap:wrap}.search{width:100%}
}
/* Shared form details: quiet lavender boundaries and accessible focus. */
.field label{color:#50347d;font-size:10.5px}
.field input,.field textarea,.field select{border-color:#e1dcf2;border-radius:7px;color:#38236a;padding:10px 11px}
.field input:focus-visible,.field textarea:focus-visible,.field select:focus-visible,.navitem:focus-visible,.btn:focus-visible,.icon-button:focus-visible,.quick:focus-visible,.launch-item:focus-visible{outline:2px solid #7c3ced;outline-offset:2px}
.drag-row{border:1px solid #e6dff4;border-radius:8px}.drag-row:hover{border-color:#bda5e8}
.drag-handle{color:#aa9cc3}.drag-body strong{color:#3f2678}
.status-banner{background:#f9f7ff;border-color:#e1d8f8;color:#65449a}.status-banner strong{color:#45237e}
.choice-card{border-color:#e6dff4}.choice-card.selected,.choice-card:hover{background:#faf8ff}
.step-dot{background:#eee7ff;color:#7130d1}
.pill.live::before{background:#12965c}
.auth-right{background:#f8f7ff}.auth-right .auth-brand{color:#4d228f}.auth-brand span{color:#9351ec}
.auth-left .auth-brand span{color:#d8c4ff}.auth-left p{color:#e9ddff}.auth-pill{color:#efebff}
.boot .brand-mark{background:#7c3ced}
