:root{
  --ke-bg:#070b16;
  --ke-bg-soft:#0a1020;
  --ke-sidebar:#081126;
  --ke-panel:#101a2e;
  --ke-panel-2:#13213a;
  --ke-panel-3:#172642;
  --ke-line:rgba(148,163,184,.15);
  --ke-line-strong:rgba(148,163,184,.28);
  --ke-text:#f8fafc;
  --ke-muted:#94a3b8;
  --ke-muted-2:#64748b;
  --ke-pink:#ff3d9a;
  --ke-pink-2:#ff72b8;
  --ke-purple:#8b5cf6;
  --ke-gold:#f6c75b;
  --ke-green:#16c784;
  --ke-cyan:#52d7ff;
  --ke-red:#ff5d6c;
  --ke-orange:#ff9b54;
  --ke-shadow:0 24px 80px rgba(0,0,0,.28);
  --ke-radius:20px;
  --ke-radius-sm:12px;
  --ke-sidebar-width:250px;
}

*{box-sizing:border-box}
html{background:var(--ke-bg)}
body.ke-standalone-page{margin:0;background:var(--ke-bg);color:var(--ke-text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;overflow-x:hidden}
body.ke-standalone-page.admin-bar{margin-top:0!important}
body.ke-standalone-page #wpadminbar{display:none!important}
button,input,select,textarea{font:inherit}
button{color:inherit}
a{color:inherit}
[hidden]{display:none!important}
.dashicons{width:auto;height:auto;font-size:18px;line-height:1}

/* Login */
.ke-login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);align-items:center;gap:72px;padding:64px clamp(28px,7vw,120px);background:radial-gradient(circle at 15% 20%,rgba(139,92,246,.2),transparent 34%),radial-gradient(circle at 80% 15%,rgba(255,61,154,.18),transparent 26%),linear-gradient(145deg,#050814,#0a1020 48%,#0b1327);position:relative;overflow:hidden}
.ke-login-shell:before,.ke-login-shell:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.04);border-radius:50%;pointer-events:none}.ke-login-shell:before{width:640px;height:640px;left:-270px;bottom:-340px}.ke-login-shell:after{width:420px;height:420px;right:-210px;top:-210px}
.ke-login-brand{position:relative;z-index:1;max-width:700px}.ke-login-kicker{display:inline-block;margin-bottom:16px;color:var(--ke-gold);font-size:12px;font-weight:850;letter-spacing:.2em}.ke-login-brand h1{margin:0;font-size:clamp(58px,7vw,104px);line-height:.95;letter-spacing:-.065em}.ke-login-brand h1 span{background:linear-gradient(90deg,var(--ke-pink),var(--ke-pink-2),var(--ke-purple));-webkit-background-clip:text;background-clip:text;color:transparent}.ke-login-brand p{max-width:620px;margin:24px 0 0;color:#bdc8db;font-size:clamp(16px,2vw,21px);line-height:1.7}
.ke-brand-orbit{position:relative;width:118px;height:118px;margin-bottom:38px;display:grid;place-items:center}.ke-brand-core{width:78px;height:78px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(145deg,var(--ke-pink),var(--ke-purple));font-size:36px;font-weight:900;box-shadow:0 18px 50px rgba(255,61,154,.35);transform:rotate(-6deg)}.ke-orbit{position:absolute;inset:0;border:1px solid rgba(255,255,255,.18);border-radius:50%;animation:keSpin 15s linear infinite}.ke-orbit:after{content:"";position:absolute;width:9px;height:9px;border-radius:50%;top:12px;left:18px;background:var(--ke-gold);box-shadow:0 0 20px rgba(246,199,91,.9)}.ke-orbit-b{inset:-16px;animation-direction:reverse;animation-duration:22s;opacity:.55}.ke-orbit-b:after{top:auto;left:auto;right:24px;bottom:14px;background:var(--ke-cyan)}@keyframes keSpin{to{transform:rotate(360deg)}}
.ke-login-card{position:relative;z-index:1;width:100%;max-width:520px;justify-self:end;padding:38px;border:1px solid rgba(255,255,255,.1);border-radius:28px;background:linear-gradient(160deg,rgba(19,33,58,.94),rgba(8,17,38,.94));box-shadow:0 40px 100px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.05);backdrop-filter:blur(20px)}.ke-login-card-head{display:flex;align-items:center;gap:14px;margin-bottom:26px}.ke-login-card-head>.dashicons{width:50px;height:50px;display:grid;place-items:center;border-radius:16px;background:rgba(255,61,154,.12);color:var(--ke-pink-2);font-size:23px}.ke-login-card h2{margin:0 0 4px;font-size:26px}.ke-login-card p{margin:0;color:var(--ke-muted);line-height:1.55}.ke-login-card form p{margin:0 0 18px}.ke-login-card label{display:block;margin-bottom:7px;color:#d7dfeb;font-size:13px;font-weight:750}.ke-login-card input[type=text],.ke-login-card input[type=password]{width:100%;height:50px;padding:0 14px;border:1px solid var(--ke-line-strong);border-radius:12px;background:#091326;color:#fff;outline:none;transition:.2s}.ke-login-card input[type=text]:focus,.ke-login-card input[type=password]:focus{border-color:var(--ke-pink);box-shadow:0 0 0 4px rgba(255,61,154,.12)}.ke-login-card .login-remember label{display:flex;align-items:center;gap:9px;font-weight:600;color:var(--ke-muted)}.ke-login-card input[type=checkbox]{accent-color:var(--ke-pink)}.ke-login-card input[type=submit]{width:100%;height:50px;border:0;border-radius:12px;background:linear-gradient(90deg,var(--ke-pink),#b84dff);color:#fff;font-weight:850;cursor:pointer;box-shadow:0 14px 30px rgba(255,61,154,.22);transition:.2s}.ke-login-card input[type=submit]:hover{transform:translateY(-1px);filter:brightness(1.07)}.ke-login-security{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:20px;color:var(--ke-muted-2);font-size:12px}.ke-no-access{text-align:center;justify-self:center;grid-column:1/-1}.ke-no-access>.dashicons{font-size:44px;color:var(--ke-gold);margin-bottom:12px}.ke-no-access .ke-primary-button{margin-top:20px;text-decoration:none}
.ke-login-notice{margin:0 0 18px;padding:11px 13px;border:1px solid rgba(103,177,255,.25);border-radius:12px;background:rgba(45,139,255,.08);color:#a9d0ff;font-size:12px;line-height:1.55}.ke-login-notice.is-error{border-color:rgba(255,93,108,.3);background:rgba(255,93,108,.08);color:#ffabb4}.ke-2fa-card input[name=ke_email_2fa_code]{height:62px;text-align:center;font-size:28px;font-weight:900;letter-spacing:.28em;font-variant-numeric:tabular-nums}.ke-2fa-submit{width:100%;height:50px;border:0;border-radius:12px;background:linear-gradient(90deg,var(--ke-pink),#b84dff);color:#fff;font-weight:850;cursor:pointer;box-shadow:0 14px 30px rgba(255,61,154,.22)}.ke-2fa-form>small{display:block;margin-top:11px;color:var(--ke-muted-2);text-align:center}.ke-2fa-actions{display:flex;justify-content:center;gap:18px;margin-top:18px}.ke-2fa-actions form{margin:0}.ke-2fa-actions button{padding:0;border:0;background:none;color:#a9b8cf;font-size:12px;font-weight:700;cursor:pointer}.ke-2fa-actions button:hover{color:#fff}

/* App shell */
.ke-app{min-height:100vh;background:radial-gradient(circle at 90% 0,rgba(139,92,246,.08),transparent 28%),linear-gradient(180deg,#070b16,#080d19);color:var(--ke-text)}
.ke-sidebar{position:fixed;z-index:70;left:0;top:0;bottom:0;width:var(--ke-sidebar-width);display:flex;flex-direction:column;padding:20px 14px;border-right:1px solid var(--ke-line);background:linear-gradient(180deg,#081126 0%,#071020 64%,#06101d 100%);transition:width .25s ease,transform .25s ease;box-shadow:14px 0 50px rgba(0,0,0,.12)}
.ke-sidebar-brand{display:flex;align-items:center;gap:12px;padding:8px 10px 24px;border-bottom:1px solid var(--ke-line)}.ke-sidebar-brand strong{display:block;font-size:18px;letter-spacing:-.025em}.ke-sidebar-brand span{display:block;margin-top:2px;color:var(--ke-muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}.ke-mini-mark{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,var(--ke-pink),var(--ke-purple));font-size:22px;font-weight:900;box-shadow:0 10px 24px rgba(255,61,154,.25)}
.ke-nav{display:flex;flex-direction:column;gap:5px;padding:20px 0;overflow-y:auto}.ke-nav-item{position:relative;width:100%;display:flex;align-items:center;gap:12px;min-height:46px;padding:0 12px;border:0;border-radius:12px;background:transparent;color:#9fb0c8;text-align:left;cursor:pointer;transition:.18s}.ke-nav-item:hover{background:rgba(255,255,255,.045);color:#fff}.ke-nav-item.is-active{background:linear-gradient(90deg,rgba(255,61,154,.18),rgba(139,92,246,.12));color:#fff;box-shadow:inset 3px 0 0 var(--ke-pink)}.ke-nav-item.is-active .dashicons{color:var(--ke-pink-2)}.ke-nav-item .dashicons{flex:0 0 22px;font-size:20px}.ke-nav-item>span:nth-child(2){white-space:nowrap;font-weight:700;font-size:13px}.ke-nav-count{margin-left:auto;min-width:23px;height:23px;display:grid;place-items:center;padding:0 7px;border-radius:999px;background:rgba(82,215,255,.12);color:var(--ke-cyan);font-size:11px}.ke-nav-count-danger{background:rgba(255,93,108,.13);color:#ff8390}.ke-sidebar-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 6px 0;border-top:1px solid var(--ke-line)}.ke-security-chip{display:flex;align-items:center;gap:7px;color:var(--ke-muted-2);font-size:11px;white-space:nowrap}.ke-security-chip .dashicons{color:var(--ke-green)}
.ke-app.is-collapsed{--ke-sidebar-width:82px}.ke-app.is-collapsed .ke-sidebar-brand>div:last-child,.ke-app.is-collapsed .ke-nav-item>span:nth-child(2),.ke-app.is-collapsed .ke-nav-count,.ke-app.is-collapsed .ke-security-chip{display:none}.ke-app.is-collapsed .ke-sidebar-brand{justify-content:center;padding-left:0;padding-right:0}.ke-app.is-collapsed .ke-nav-item{justify-content:center}.ke-app.is-collapsed .ke-collapse-button .dashicons{transform:rotate(180deg)}
.ke-workspace{min-height:100vh;margin-left:var(--ke-sidebar-width);transition:margin-left .25s ease}.ke-topbar{position:sticky;z-index:50;top:0;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px clamp(20px,3vw,42px);border-bottom:1px solid var(--ke-line);background:rgba(7,11,22,.84);backdrop-filter:blur(18px)}.ke-topbar-left{display:flex;align-items:center;gap:12px}.ke-page-eyebrow{display:block;margin-bottom:3px;color:var(--ke-pink-2);font-size:10px;font-weight:850;letter-spacing:.18em}.ke-topbar h1{margin:0;font-size:25px;letter-spacing:-.035em}.ke-topbar-actions{position:relative;display:flex;align-items:center;gap:10px}.ke-live-clock{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 13px;border:1px solid var(--ke-line);border-radius:12px;background:rgba(255,255,255,.025);color:var(--ke-muted);font-size:12px}.ke-live-clock i{width:7px;height:7px;border-radius:50%;background:var(--ke-green);box-shadow:0 0 10px rgba(22,199,132,.7);animation:kePulse 2s infinite}.ke-live-clock strong{color:#dfe7f3}@keyframes kePulse{50%{opacity:.45}}
.ke-user-button{display:flex;align-items:center;gap:9px;min-height:44px;padding:5px 9px 5px 5px;border:1px solid var(--ke-line);border-radius:13px;background:rgba(255,255,255,.025);cursor:pointer}.ke-user-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#2b3c61,#1b2743);color:var(--ke-gold);font-weight:900}.ke-user-copy{text-align:left}.ke-user-copy strong,.ke-user-copy small{display:block;white-space:nowrap}.ke-user-copy strong{font-size:12px}.ke-user-copy small{margin-top:1px;color:var(--ke-muted-2);font-size:10px}.ke-user-button>.dashicons{color:var(--ke-muted-2);font-size:14px}.ke-user-menu{position:absolute;right:0;top:53px;width:210px;padding:8px;border:1px solid var(--ke-line);border-radius:14px;background:#111c31;box-shadow:var(--ke-shadow)}.ke-user-menu a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:9px;color:#dce5f1;text-decoration:none;font-size:13px}.ke-user-menu a:hover{background:rgba(255,255,255,.055)}
.ke-main{padding:28px clamp(18px,3vw,42px) 52px}.ke-tab{display:none}.ke-tab.is-active{display:block;animation:keFade .22s ease}@keyframes keFade{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
.ke-loading-panel{min-height:calc(100vh - 160px);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--ke-muted);text-align:center}.ke-loading-mark{width:76px;height:76px;display:grid;place-items:center;margin-bottom:18px;border-radius:24px;background:linear-gradient(145deg,var(--ke-pink),var(--ke-purple));box-shadow:0 20px 60px rgba(255,61,154,.25);animation:keFloat 1.5s ease-in-out infinite alternate}.ke-loading-mark span{font-size:30px;font-weight:900;color:#fff}.ke-loading-panel strong{color:#f8fafc;font-size:18px}.ke-loading-panel small{margin-top:7px}@keyframes keFloat{to{transform:translateY(-7px) rotate(2deg)}}

/* Shared controls */
.ke-primary-button,.ke-danger-button,.ke-secondary-button,.ke-text-button,.ke-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;cursor:pointer;transition:.18s}.ke-primary-button{min-height:42px;padding:0 16px;border-radius:12px;background:linear-gradient(90deg,var(--ke-pink),#b84dff);color:#fff;font-weight:800;font-size:12px;box-shadow:0 12px 26px rgba(255,61,154,.18)}.ke-primary-button:hover,.ke-danger-button:hover{transform:translateY(-1px);filter:brightness(1.08)}.ke-danger-button{min-height:42px;padding:0 16px;border-radius:12px;background:linear-gradient(90deg,#e3485a,#ff755e);color:#fff;font-weight:800;font-size:12px;box-shadow:0 12px 26px rgba(255,93,108,.16)}.ke-secondary-button{min-height:38px;padding:0 13px;border:1px solid var(--ke-line-strong);border-radius:10px;background:rgba(255,255,255,.035);color:#dce5f2;font-size:12px;font-weight:700}.ke-secondary-button:hover{border-color:rgba(255,61,154,.45);background:rgba(255,61,154,.07)}.ke-text-button{padding:6px;background:transparent;color:var(--ke-pink-2);font-size:12px;font-weight:750}.ke-text-button:hover{color:#fff}.ke-icon-button{width:38px;height:38px;flex:0 0 38px;border:1px solid var(--ke-line);border-radius:11px;background:rgba(255,255,255,.025);color:var(--ke-muted)}.ke-icon-button:hover{border-color:rgba(255,61,154,.35);background:rgba(255,61,154,.07);color:#fff}.ke-mobile-menu{display:none}.ke-muted{color:var(--ke-muted);font-size:12px}
.ke-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.ke-searchbox{position:relative;min-width:260px;flex:1}.ke-searchbox .dashicons{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--ke-muted-2)}.ke-searchbox input,.ke-select{height:44px;border:1px solid var(--ke-line);border-radius:12px;background:#0e182b;color:#eaf0f8;outline:none}.ke-searchbox input{width:100%;padding:0 14px 0 40px}.ke-searchbox input:focus,.ke-select:focus{border-color:rgba(255,61,154,.6);box-shadow:0 0 0 4px rgba(255,61,154,.09)}.ke-searchbox input::placeholder{color:#66758a}.ke-select{min-width:160px;padding:0 34px 0 12px}.ke-toolbar-summary{margin-left:auto;color:var(--ke-muted);font-size:12px}

/* Cards and panels */
.ke-alert-strip{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:13px 15px;border:1px solid rgba(255,155,84,.25);border-radius:13px;background:rgba(255,155,84,.08);color:#ffd1ad;font-size:13px}.ke-alert-strip .dashicons{color:var(--ke-orange)}
.ke-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:18px}.ke-stat-card{position:relative;min-height:126px;padding:18px;border:1px solid var(--ke-line);border-radius:18px;background:linear-gradient(155deg,rgba(19,33,58,.96),rgba(12,22,40,.96));overflow:hidden}.ke-stat-card:after{content:"";position:absolute;width:110px;height:110px;right:-40px;bottom:-48px;border-radius:50%;background:var(--ke-stat-glow,rgba(255,61,154,.12));filter:blur(2px)}.ke-stat-icon{width:38px;height:38px;display:grid;place-items:center;margin-bottom:16px;border-radius:12px;background:var(--ke-stat-bg,rgba(255,61,154,.1));color:var(--ke-stat-color,var(--ke-pink-2))}.ke-stat-card strong{display:block;position:relative;z-index:1;font-size:29px;letter-spacing:-.045em}.ke-stat-card span{display:block;position:relative;z-index:1;margin-top:4px;color:var(--ke-muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.ke-stat-card small{position:absolute;right:14px;top:16px;color:var(--ke-muted-2);font-size:10px}.ke-stat-card.is-green{--ke-stat-bg:rgba(22,199,132,.11);--ke-stat-color:#5be1aa;--ke-stat-glow:rgba(22,199,132,.1)}.ke-stat-card.is-red{--ke-stat-bg:rgba(255,93,108,.11);--ke-stat-color:#ff8390;--ke-stat-glow:rgba(255,93,108,.1)}.ke-stat-card.is-gold{--ke-stat-bg:rgba(246,199,91,.11);--ke-stat-color:var(--ke-gold);--ke-stat-glow:rgba(246,199,91,.1)}.ke-stat-card.is-cyan{--ke-stat-bg:rgba(82,215,255,.11);--ke-stat-color:var(--ke-cyan);--ke-stat-glow:rgba(82,215,255,.1)}
.ke-dashboard-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:16px}.ke-panel{min-width:0;padding:20px;border:1px solid var(--ke-line);border-radius:var(--ke-radius);background:linear-gradient(155deg,rgba(16,26,46,.97),rgba(11,20,37,.97));box-shadow:0 16px 50px rgba(0,0,0,.12)}.ke-panel-wide{min-height:280px}.ke-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:17px}.ke-section-kicker{display:block;margin-bottom:4px;color:var(--ke-pink-2);font-size:9px;font-weight:850;letter-spacing:.17em}.ke-panel h2,.ke-modal h2,.ke-drawer h2{margin:0;font-size:17px;letter-spacing:-.025em}.ke-list-stack{display:flex;flex-direction:column;gap:8px}.ke-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:160px;padding:22px;color:var(--ke-muted-2);text-align:center}.ke-empty .dashicons{margin-bottom:10px;color:#4f6078;font-size:34px}.ke-empty strong{color:#b7c3d4;font-size:13px}.ke-empty small{margin-top:5px;line-height:1.5}.ke-list-row{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid rgba(148,163,184,.1);border-radius:13px;background:rgba(255,255,255,.022)}.ke-list-row:hover{border-color:rgba(255,61,154,.2);background:rgba(255,255,255,.035)}.ke-list-main{min-width:0;flex:1}.ke-list-main strong,.ke-list-main span{display:block}.ke-list-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.ke-list-main span{margin-top:3px;color:var(--ke-muted);font-size:11px}.ke-list-meta{color:var(--ke-muted-2);font-size:10px;white-space:nowrap}.ke-list-compact .ke-list-row{padding:10px}.ke-row-mark{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:rgba(255,61,154,.1);color:var(--ke-pink-2);font-size:12px;font-weight:900}.ke-row-mark.is-gold{background:rgba(246,199,91,.1);color:var(--ke-gold)}.ke-row-mark.is-red{background:rgba(255,93,108,.1);color:#ff8390}.ke-risk-list{display:flex;flex-direction:column;gap:8px}.ke-risk-item{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:11px;border-radius:13px;background:rgba(255,93,108,.055);border:1px solid rgba(255,93,108,.11)}.ke-risk-count{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(255,93,108,.14);color:#ff8692;font-weight:900}.ke-risk-item strong,.ke-risk-item span{display:block}.ke-risk-item strong{font-size:12px}.ke-risk-item span{margin-top:3px;color:var(--ke-muted);font-size:10px}.ke-risk-item b{color:#ff9aa3;font-size:10px}

/* Tables */
.ke-table-panel{padding:0;overflow:hidden}.ke-table-panel>.ke-panel-head{padding:20px 20px 0}.ke-table-wrap{width:100%;overflow:auto}.ke-table{width:100%;border-collapse:collapse;min-width:900px}.ke-table th{padding:13px 14px;border-top:1px solid var(--ke-line);border-bottom:1px solid var(--ke-line);background:rgba(255,255,255,.02);color:#8494aa;font-size:9px;font-weight:850;text-align:left;text-transform:uppercase;letter-spacing:.1em;white-space:nowrap}.ke-table td{padding:13px 14px;border-bottom:1px solid rgba(148,163,184,.09);color:#dfe7f2;font-size:12px;vertical-align:middle}.ke-table tbody tr{transition:.15s}.ke-table tbody tr:hover{background:rgba(255,255,255,.023)}.ke-table td strong{font-size:12px}.ke-table td small{display:block;margin-top:3px;color:var(--ke-muted-2);font-size:10px}.ke-table a{color:#f4f7fb;text-decoration:none}.ke-table a:hover{color:var(--ke-pink-2)}.ke-actions-col{text-align:right!important}.ke-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.ke-row-actions .ke-icon-button{width:32px;height:32px;flex-basis:32px;border-radius:9px}.ke-table-footer{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;color:var(--ke-muted-2);font-size:11px}.ke-date-chip{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid var(--ke-line);border-radius:999px;color:#bdc8d8;font-size:10px}.ke-shop-cell{display:flex;align-items:center;gap:10px}.ke-shop-avatar{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#263857,#172743);color:var(--ke-gold);font-weight:900}.ke-owner-link{padding:0;border:0;background:none;color:#dfe7f2;cursor:pointer;text-align:left}.ke-owner-link:hover{color:var(--ke-pink-2)}
.ke-badge{display:inline-flex;align-items:center;gap:6px;min-height:25px;padding:0 9px;border-radius:999px;background:rgba(148,163,184,.1);color:#afbdd0;font-size:10px;font-weight:750;white-space:nowrap}.ke-badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.ke-badge.is-active,.ke-badge.is-done{background:rgba(22,199,132,.1);color:#54daa5}.ke-badge.is-pending,.ke-badge.is-new{background:rgba(246,199,91,.1);color:var(--ke-gold)}.ke-badge.is-danger,.ke-badge.is-suspended,.ke-badge.is-problem{background:rgba(255,93,108,.1);color:#ff8390}.ke-badge.is-vacation,.ke-badge.is-handling,.ke-badge.is-owner_action{background:rgba(255,155,84,.1);color:#ffb176}.ke-badge.is-no_message,.ke-badge.is-preparing,.ke-badge.is-appeal_sent{background:rgba(82,215,255,.1);color:var(--ke-cyan)}.ke-badge.is-resolved,.ke-badge.is-listing_removed{background:rgba(139,92,246,.12);color:#b89bff}.ke-badge.is-inactive,.ke-badge.is-closed,.ke-badge.is-invalid{background:rgba(100,116,139,.12);color:#8896a9}.ke-report-pill{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:9px;background:rgba(148,163,184,.1);color:#9dacbf;font-weight:900}.ke-report-pill.has-report{background:rgba(255,155,84,.11);color:#ffb176}.ke-report-pill.high-risk{background:rgba(255,93,108,.13);color:#ff8390;box-shadow:0 0 0 1px rgba(255,93,108,.12)}
.ke-quick-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.ke-quick-button{min-height:31px;padding:0 10px;border:1px solid var(--ke-line);border-radius:9px;background:rgba(255,255,255,.025);color:#aebbd0;font-size:10px;font-weight:750;cursor:pointer;white-space:nowrap}.ke-quick-button:hover{border-color:rgba(22,199,132,.35);background:rgba(22,199,132,.07);color:#64e0ae}.ke-quick-button.is-note:hover{border-color:rgba(255,155,84,.35);background:rgba(255,155,84,.07);color:#ffc18f}.ke-quick-button.is-clear:hover{border-color:rgba(255,93,108,.35);background:rgba(255,93,108,.07);color:#ff9aa3}

/* Owner and studio cards */
.ke-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ke-person-card,.ke-studio-card{position:relative;padding:18px;border:1px solid var(--ke-line);border-radius:18px;background:linear-gradient(155deg,rgba(18,31,54,.96),rgba(11,20,37,.96));overflow:hidden}.ke-person-card:after,.ke-studio-card:after{content:"";position:absolute;width:120px;height:120px;right:-65px;top:-65px;border-radius:50%;background:rgba(255,61,154,.08)}.ke-person-head{display:flex;align-items:center;gap:12px;position:relative;z-index:1}.ke-person-avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#344a70,#1c2b4a);color:var(--ke-gold);font-size:17px;font-weight:900}.ke-person-copy{min-width:0;flex:1}.ke-person-copy h3{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.ke-person-copy span{display:block;margin-top:4px;color:var(--ke-muted);font-size:10px}.ke-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:16px 0}.ke-card-stat{padding:10px;border-radius:11px;background:rgba(255,255,255,.025);text-align:center}.ke-card-stat strong,.ke-card-stat span{display:block}.ke-card-stat strong{font-size:16px}.ke-card-stat span{margin-top:2px;color:var(--ke-muted-2);font-size:8px;text-transform:uppercase;letter-spacing:.08em}.ke-card-info{display:flex;flex-direction:column;gap:7px;min-height:48px;color:#9eacc0;font-size:10px}.ke-card-info span{display:flex;align-items:center;gap:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ke-card-info .dashicons{color:#667a96;font-size:14px}.ke-card-actions{display:flex;gap:7px;margin-top:16px}.ke-card-actions button:first-child{flex:1}.ke-studio-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;position:relative;z-index:1}.ke-studio-code{display:inline-flex;min-height:25px;align-items:center;padding:0 8px;border-radius:8px;background:rgba(255,61,154,.1);color:var(--ke-pink-2);font-size:9px;font-weight:850;letter-spacing:.08em}.ke-studio-card h3{margin:9px 0 0;font-size:16px}.ke-studio-progress{margin:18px 0 13px}.ke-studio-progress-head{display:flex;justify-content:space-between;margin-bottom:7px;color:var(--ke-muted);font-size:10px}.ke-studio-progress-track{height:8px;border-radius:99px;background:#091326;overflow:hidden}.ke-studio-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--ke-pink),var(--ke-purple))}.ke-studio-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.ke-studio-count{padding:10px;border-radius:10px;background:rgba(255,255,255,.025)}.ke-studio-count strong,.ke-studio-count span{display:block}.ke-studio-count strong{font-size:15px}.ke-studio-count span{margin-top:3px;color:var(--ke-muted-2);font-size:8px;text-transform:uppercase}.ke-studio-update{display:flex;align-items:center;justify-content:space-between;margin-top:13px;color:var(--ke-muted);font-size:10px}

/* Timeline */
.ke-timeline{display:flex;flex-direction:column}.ke-timeline-item{display:grid;grid-template-columns:34px 1fr auto;gap:11px;padding:10px 0;border-bottom:1px solid rgba(148,163,184,.08)}.ke-timeline-item:last-child{border-bottom:0}.ke-timeline-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:rgba(82,215,255,.08);color:var(--ke-cyan)}.ke-timeline-copy strong,.ke-timeline-copy span{display:block}.ke-timeline-copy strong{font-size:11px;font-weight:700;line-height:1.5}.ke-timeline-copy span{margin-top:2px;color:var(--ke-muted-2);font-size:9px}.ke-timeline-time{color:var(--ke-muted-2);font-size:9px;white-space:nowrap}.ke-timeline-full .ke-timeline-item{padding:14px 0}.ke-timeline-full .ke-timeline-copy strong{font-size:12px}

/* Modal and drawer */
.ke-modal-backdrop{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:24px;background:rgba(2,6,15,.74);backdrop-filter:blur(8px)}.ke-modal{width:min(760px,100%);max-height:calc(100vh - 48px);display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.1);border-radius:22px;background:linear-gradient(160deg,#13213a,#0b1528);box-shadow:0 40px 120px rgba(0,0,0,.55);animation:keModalIn .2s ease}@keyframes keModalIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}.ke-modal-head,.ke-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid var(--ke-line)}.ke-modal-body{padding:20px;overflow:auto}.ke-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.ke-form-field{min-width:0}.ke-form-field.is-full{grid-column:1/-1}.ke-form-field label{display:block;margin-bottom:7px;color:#bdc9da;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.ke-form-field input,.ke-form-field select,.ke-form-field textarea{width:100%;border:1px solid var(--ke-line-strong);border-radius:11px;background:#091426;color:#f1f5f9;outline:none}.ke-form-field input,.ke-form-field select{height:43px;padding:0 12px}.ke-form-field textarea{min-height:92px;padding:11px 12px;resize:vertical}.ke-form-field input:focus,.ke-form-field select:focus,.ke-form-field textarea:focus{border-color:rgba(255,61,154,.65);box-shadow:0 0 0 4px rgba(255,61,154,.09)}.ke-form-help{display:block;margin-top:5px;color:var(--ke-muted-2);font-size:9px}.ke-form-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:9px;padding-top:4px}.ke-danger-text-button{margin-right:auto;padding:7px;border:0;background:transparent;color:#ff8390;font-size:11px;cursor:pointer}.ke-danger-text-button:hover{color:#fff}.ke-modal-note{padding:12px;border:1px solid rgba(82,215,255,.12);border-radius:11px;background:rgba(82,215,255,.055);color:#9fdcf0;font-size:11px;line-height:1.6}
.ke-drawer{position:fixed;z-index:111;right:0;top:0;bottom:0;width:min(480px,92vw);background:linear-gradient(180deg,#111e35,#091426);border-left:1px solid var(--ke-line);box-shadow:-35px 0 100px rgba(0,0,0,.4);transform:translateX(105%);transition:transform .25s ease}.ke-drawer.is-open{transform:none}.ke-drawer-body{height:calc(100% - 79px);padding:20px;overflow:auto}.ke-drawer-scrim{position:fixed;z-index:110;inset:0;background:rgba(2,6,15,.54);backdrop-filter:blur(3px)}.ke-owner-hero{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--ke-line);border-radius:16px;background:rgba(255,255,255,.025)}.ke-owner-hero .ke-person-avatar{width:56px;height:56px;flex:0 0 56px;font-size:20px}.ke-owner-hero h3{margin:0;font-size:18px}.ke-owner-hero p{margin:5px 0 0;color:var(--ke-muted);font-size:11px}.ke-owner-detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.ke-owner-contact{display:flex;flex-direction:column;gap:8px;margin:14px 0;padding:14px;border-radius:14px;background:rgba(255,255,255,.023)}.ke-owner-contact span{display:flex;align-items:center;gap:9px;color:#aebbd0;font-size:11px}.ke-owner-contact .dashicons{color:#70829c}.ke-drawer-section-title{margin:20px 0 10px;color:var(--ke-muted);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.13em}.ke-owner-shop{display:flex;align-items:center;gap:10px;padding:11px;border-bottom:1px solid rgba(148,163,184,.08)}.ke-owner-shop:last-child{border:0}.ke-owner-shop>div{min-width:0;flex:1}.ke-owner-shop strong,.ke-owner-shop span{display:block}.ke-owner-shop strong{font-size:12px}.ke-owner-shop span{margin-top:3px;color:var(--ke-muted);font-size:9px}

/* Toasts */
.ke-toast-region{position:fixed;z-index:160;right:20px;bottom:20px;display:flex;flex-direction:column;gap:8px;width:min(380px,calc(100vw - 40px))}.ke-toast{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--ke-line);border-radius:14px;background:#142039;box-shadow:0 18px 50px rgba(0,0,0,.35);animation:keToastIn .2s ease}.ke-toast.is-error{border-color:rgba(255,93,108,.25)}.ke-toast-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:rgba(22,199,132,.1);color:#5be1aa}.ke-toast.is-error .ke-toast-icon{background:rgba(255,93,108,.1);color:#ff8390}.ke-toast strong{font-size:11px;line-height:1.45}.ke-toast button{border:0;background:none;color:var(--ke-muted-2);cursor:pointer}@keyframes keToastIn{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}

/* Responsive */
@media(max-width:1250px){.ke-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ke-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ke-live-clock span{display:none}}
@media(max-width:1020px){:root{--ke-sidebar-width:82px}.ke-sidebar-brand>div:last-child,.ke-nav-item>span:nth-child(2),.ke-nav-count,.ke-security-chip{display:none}.ke-sidebar-brand{justify-content:center;padding-left:0;padding-right:0}.ke-nav-item{justify-content:center}.ke-collapse-button{display:none}.ke-dashboard-grid{grid-template-columns:1fr}.ke-panel-wide{min-height:0}.ke-user-copy{display:none}.ke-login-shell{grid-template-columns:1fr;gap:38px}.ke-login-card{justify-self:start}.ke-login-brand h1{font-size:70px}.ke-brand-orbit{margin-bottom:24px}}
@media(max-width:760px){:root{--ke-sidebar-width:0px}.ke-sidebar{width:250px;transform:translateX(-105%)}.ke-app.is-mobile-menu .ke-sidebar{transform:none}.ke-workspace{margin-left:0}.ke-mobile-menu{display:inline-flex}.ke-main{padding:18px 14px 38px}.ke-topbar{min-height:70px;padding:12px 14px}.ke-topbar h1{font-size:20px}.ke-topbar .ke-primary-button span:last-child,.ke-live-clock,.ke-user-copy,.ke-user-button>.dashicons{display:none}.ke-topbar .ke-primary-button{width:42px;padding:0}.ke-user-button{padding:4px}.ke-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ke-stat-card{min-height:112px;padding:14px}.ke-stat-card strong{font-size:24px}.ke-dashboard-grid{gap:12px}.ke-panel{padding:15px;border-radius:16px}.ke-toolbar{align-items:stretch}.ke-searchbox{flex-basis:100%;min-width:100%}.ke-select{flex:1;min-width:0}.ke-toolbar .ke-primary-button,.ke-toolbar .ke-danger-button{flex:1}.ke-card-grid{grid-template-columns:1fr}.ke-form{grid-template-columns:1fr}.ke-form-field.is-full,.ke-form-actions{grid-column:1}.ke-modal-backdrop{padding:10px}.ke-modal{max-height:calc(100vh - 20px);border-radius:18px}.ke-modal-head,.ke-modal-body{padding:16px}.ke-login-shell{padding:38px 18px}.ke-login-brand h1{font-size:52px}.ke-login-brand p{font-size:15px}.ke-login-card{padding:24px;border-radius:22px}.ke-brand-orbit{width:92px;height:92px}.ke-brand-core{width:62px;height:62px;border-radius:20px;font-size:27px}.ke-table th,.ke-table td{padding:11px 12px}}
@media(max-width:430px){.ke-stat-grid{grid-template-columns:1fr 1fr}.ke-topbar-actions{gap:6px}.ke-user-avatar{width:32px;height:32px}.ke-page-eyebrow{font-size:8px}.ke-toolbar-summary{width:100%;margin-left:0}.ke-owner-detail-stats{grid-template-columns:1fr 1fr 1fr}}


/* V1.1.0 — six-state Etsy readiness system */
.ke-status-map-panel{margin-bottom:18px;overflow:hidden}.ke-status-overview{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px}.ke-status-tile{position:relative;min-height:188px;padding:16px;border:1px solid var(--ke-line);border-radius:16px;background:linear-gradient(155deg,rgba(18,32,56,.92),rgba(9,18,34,.96));color:var(--ke-text);text-align:left;cursor:pointer;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.ke-status-tile:after{content:"";position:absolute;right:-34px;bottom:-42px;width:105px;height:105px;border-radius:50%;background:rgba(255,93,108,.08);filter:blur(1px)}.ke-status-tile.is-ready:after{background:rgba(22,199,132,.1)}.ke-status-tile:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.17);box-shadow:0 16px 34px rgba(0,0,0,.2)}.ke-status-number{position:absolute;top:12px;right:13px;color:rgba(255,255,255,.22);font-size:10px;font-weight:900;letter-spacing:.12em}.ke-status-icon{width:36px;height:36px;display:grid;place-items:center;margin-bottom:12px;border-radius:11px;background:rgba(255,93,108,.1);color:#ff8d9a}.ke-status-tile.is-ready .ke-status-icon{background:rgba(22,199,132,.1);color:#5be1aa}.ke-status-tile>strong{display:block;position:relative;z-index:1;margin-bottom:2px;font-size:28px;line-height:1}.ke-status-tile>b{display:block;position:relative;z-index:1;min-height:32px;font-size:11px;line-height:1.4}.ke-status-tile>small{display:block;position:relative;z-index:1;margin-top:7px;color:var(--ke-muted-2);font-size:10px;line-height:1.45}.ke-status-readiness{display:inline-flex;position:relative;z-index:1;margin-top:11px;padding:4px 7px;border-radius:999px;background:rgba(255,93,108,.09);color:#ff9aa5;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.ke-status-tile.is-ready .ke-status-readiness{background:rgba(22,199,132,.1);color:#5be1aa}
.ke-readiness-pill{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:0 9px;border-radius:999px;font-size:9px;font-weight:850;white-space:nowrap;text-transform:uppercase;letter-spacing:.045em}.ke-readiness-pill .dashicons{width:14px;height:14px;font-size:14px}.ke-readiness-pill.is-ready{background:rgba(22,199,132,.11);color:#5be1aa;box-shadow:inset 0 0 0 1px rgba(22,199,132,.12)}.ke-readiness-pill.is-not_ready{background:rgba(255,93,108,.1);color:#ff8e9b;box-shadow:inset 0 0 0 1px rgba(255,93,108,.11)}
.ke-badge.is-standby_api_ready{background:rgba(82,215,255,.1);color:var(--ke-cyan)}.ke-badge.is-running,.ke-badge.is-standby_appeal_won,.ke-badge.is-appeal_won{background:rgba(22,199,132,.11);color:#5be1aa}.ke-badge.is-standby_no_api{background:rgba(100,116,139,.14);color:#a8b3c3}.ke-badge.is-suspended{background:rgba(239,68,68,.14);color:#ff737f;box-shadow:inset 0 0 0 1px rgba(239,68,68,.13)}.ke-badge.is-standby_report_limit,.ke-badge.is-appeal_rejected{background:rgba(255,93,108,.11);color:#ff8390}.ke-badge.is-standby_appeal{background:rgba(255,155,84,.11);color:#ffb176}.ke-status-form-preview{display:flex;align-items:center;gap:10px;margin-top:9px;padding:10px 12px;border:1px solid var(--ke-line);border-radius:12px;background:rgba(255,255,255,.025)}.ke-status-form-preview>span:last-child{color:var(--ke-muted);font-size:11px;line-height:1.45}.ke-owner-shop-state{display:flex;align-items:flex-end;gap:6px;flex-direction:column}.ke-owner-shop-state .ke-readiness-pill,.ke-owner-shop-state .ke-badge{min-height:22px;font-size:8px}
@media(max-width:1450px){.ke-status-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.ke-status-tile{min-height:160px}}
@media(max-width:760px){.ke-status-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ke-status-tile{min-height:174px;padding:13px}.ke-status-tile>small{font-size:9px}.ke-status-form-preview{align-items:flex-start;flex-direction:column}.ke-owner-shop-state{display:none}}
@media(max-width:430px){.ke-status-overview{grid-template-columns:1fr}.ke-status-tile{min-height:145px}}

/* V1.3.0 — Gmail Sales & IP Intelligence */
.ke-email-toolbar{margin-bottom:14px}.ke-email-title-chip{display:flex;align-items:center;gap:10px;min-width:min(420px,100%);margin-right:auto}.ke-email-title-chip>.dashicons{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,rgba(82,215,255,.16),rgba(139,92,246,.14));color:var(--ke-cyan);font-size:21px}.ke-email-title-chip strong,.ke-email-title-chip small{display:block}.ke-email-title-chip strong{font-size:12px}.ke-email-title-chip small{margin-top:3px;color:var(--ke-muted);font-size:10px}.ke-email-toolbar .ke-secondary-button{text-decoration:none}.ke-email-account-strip{display:flex;gap:9px;margin-bottom:14px;overflow:auto;padding-bottom:2px}.ke-email-account-pill,.ke-email-account-empty{display:flex;align-items:center;gap:10px;min-width:270px;padding:11px 13px;border:1px solid var(--ke-line);border-radius:14px;background:linear-gradient(145deg,rgba(19,33,58,.82),rgba(9,20,38,.92))}.ke-email-account-pill i{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:var(--ke-green);box-shadow:0 0 12px rgba(22,199,132,.7)}.ke-email-account-pill.is-error i{background:var(--ke-red);box-shadow:0 0 12px rgba(255,93,108,.7)}.ke-email-account-pill.is-paused i,.ke-email-account-pill.is-disconnected i{background:var(--ke-muted-2);box-shadow:none}.ke-email-account-pill.is-scanning i{background:var(--ke-cyan);animation:kePulse 1s infinite}.ke-email-account-pill>div,.ke-email-account-empty>div{min-width:0;flex:1}.ke-email-account-pill strong,.ke-email-account-pill small,.ke-email-account-empty strong,.ke-email-account-empty small{display:block}.ke-email-account-pill strong,.ke-email-account-empty strong{overflow:hidden;text-overflow:ellipsis;font-size:11px;white-space:nowrap}.ke-email-account-pill small,.ke-email-account-empty small{margin-top:3px;color:var(--ke-muted-2);font-size:9px;white-space:normal}.ke-email-account-pill>b{min-width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.045);color:var(--ke-gold);font-size:10px}.ke-email-account-empty{width:100%;min-width:0}.ke-email-account-empty>.dashicons{color:var(--ke-pink-2);font-size:24px}.ke-email-account-empty .ke-text-button{margin-left:auto;text-decoration:none}.ke-email-stat-grid{margin-bottom:16px}.ke-email-stat-value{min-height:35px;display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}.ke-email-stat-value>strong{font-size:26px;line-height:1}.ke-email-stat-value>b{font-size:13px}.ke-email-stat-value>small{color:var(--ke-muted-2);font-size:9px}.ke-email-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(420px,.82fr);gap:16px;margin-bottom:16px}.ke-email-layout>.ke-panel{min-width:0}.ke-email-alert-list{display:flex;flex-direction:column;gap:11px;max-height:760px;overflow:auto;padding-right:3px}.ke-email-alert-card{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:14px;border:1px solid rgba(255,93,108,.18);border-radius:16px;background:linear-gradient(145deg,rgba(255,93,108,.06),rgba(13,24,44,.83));overflow:hidden}.ke-email-alert-card:after{content:"";position:absolute;right:-36px;top:-50px;width:120px;height:120px;border-radius:50%;background:rgba(255,61,154,.05)}.ke-email-alert-card.is-appeal_won,.ke-email-alert-card.is-appeal_submitted,.ke-email-alert-card.is-appeal_update{border-color:rgba(82,215,255,.17);background:linear-gradient(145deg,rgba(82,215,255,.055),rgba(13,24,44,.83))}.ke-email-alert-icon{position:relative;z-index:1;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:rgba(255,93,108,.12);color:#ff8e9b}.ke-email-alert-card.is-appeal_won .ke-email-alert-icon,.ke-email-alert-card.is-appeal_submitted .ke-email-alert-icon,.ke-email-alert-card.is-appeal_update .ke-email-alert-icon{background:rgba(82,215,255,.1);color:var(--ke-cyan)}.ke-email-alert-copy{position:relative;z-index:1;min-width:0}.ke-email-alert-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:var(--ke-muted-2);font-size:9px}.ke-email-alert-card h3{margin:8px 0 7px;font-size:13px;line-height:1.45}.ke-email-alert-shop{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ke-email-alert-shop strong{font-size:11px}.ke-email-alert-shop small{color:var(--ke-muted-2);font-size:9px}.ke-email-alert-facts{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.ke-email-alert-facts span{padding:5px 7px;border:1px solid rgba(148,163,184,.1);border-radius:8px;background:rgba(255,255,255,.025);color:var(--ke-muted);font-size:9px}.ke-email-alert-facts b{color:#e6edf7}.ke-email-listing-ids{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.ke-email-listing-ids code{padding:4px 6px;border-radius:7px;background:#091426;color:#a5b4fc;font-size:9px}.ke-email-listing-ids small{align-self:center;color:var(--ke-muted-2);font-size:8px}.ke-email-ai-summary{display:flex;align-items:flex-start;gap:7px;margin:10px 0 0;padding:9px 10px;border-left:2px solid var(--ke-purple);border-radius:0 9px 9px 0;background:rgba(139,92,246,.07);color:#b8c5d8;font-size:10px;line-height:1.55}.ke-email-ai-summary .dashicons{margin-top:1px;color:#b896ff}.ke-email-alert-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:11px}.ke-email-alert-actions .ke-text-button{margin-right:auto;text-decoration:none}.ke-email-inline-map{display:flex;gap:7px;align-items:center;margin-top:10px}.ke-email-inline-map .ke-select{flex:1;min-width:0}.ke-email-compact-button{min-height:34px!important;height:34px;padding:0 10px!important;font-size:9px!important}.ke-email-action-hint{color:var(--ke-orange);font-size:9px}.ke-email-badge{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;background:rgba(148,163,184,.12);color:#b8c4d4;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.ke-email-badge.is-ip_report,.ke-email-badge.is-appeal_rejected,.ke-email-badge.is-payment_failed{background:rgba(255,93,108,.11);color:#ff8996}.ke-email-badge.is-order,.ke-email-badge.is-paid,.ke-email-badge.is-confirmed,.ke-email-badge.is-appeal_won{background:rgba(22,199,132,.11);color:#5be1aa}.ke-email-badge.is-appeal_update,.ke-email-badge.is-appeal_submitted{background:rgba(82,215,255,.1);color:var(--ke-cyan)}.ke-email-badge.is-refund,.ke-email-badge.is-refunded,.ke-email-badge.is-cancellation,.ke-email-badge.is-canceled{background:rgba(255,155,84,.11);color:#ffb176}.ke-email-badge.is-ignored{background:rgba(100,116,139,.14);color:#9eabbd}.ke-email-positive{color:#5be1aa}.ke-email-negative{color:#ff8e9b}.ke-email-performance-table td:nth-child(n+2){white-space:nowrap}.ke-email-shop-select{width:100%;min-width:170px}.ke-email-history{display:flex;flex-direction:column}.ke-email-history>article{display:grid;grid-template-columns:34px minmax(0,1fr) auto 34px;align-items:center;gap:10px;padding:10px 3px;border-bottom:1px solid rgba(148,163,184,.08)}.ke-email-history>article:last-child{border-bottom:0}.ke-email-history-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:rgba(22,199,132,.09);color:#5be1aa}.ke-email-history>article>div:nth-child(2){min-width:0}.ke-email-history strong,.ke-email-history small{display:block}.ke-email-history strong{font-size:10px}.ke-email-history small{margin-top:3px;overflow:hidden;color:var(--ke-muted-2);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.ke-email-history>article>div:nth-child(3){text-align:right}.ke-spin{animation:keSpin 1s linear infinite}.is-email-loading .ke-email-alert-list,.is-email-loading .ke-email-stat-grid{opacity:.74}.ke-check-row{display:flex!important;align-items:center;gap:8px}.ke-check-row input[type=checkbox]{width:16px!important;height:16px!important;min-height:0!important;accent-color:var(--ke-pink)}
@media(max-width:1320px){.ke-email-layout{grid-template-columns:1fr}.ke-email-alert-list{max-height:none}}
@media(max-width:760px){.ke-email-title-chip{min-width:100%}.ke-email-account-strip{display:grid;grid-template-columns:1fr}.ke-email-account-pill{min-width:0}.ke-email-history>article{grid-template-columns:32px minmax(0,1fr) auto}.ke-email-history>article>a{display:none}.ke-email-alert-card{grid-template-columns:36px minmax(0,1fr);padding:12px}.ke-email-alert-icon{width:36px;height:36px}.ke-email-inline-map{align-items:stretch;flex-direction:column}.ke-email-toolbar .ke-secondary-button{flex:1;justify-content:center}.ke-email-stat-value>strong{font-size:22px}}

/* V1.3.1 — one-time Gmail to Store mapping */
.ke-email-account-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(390px,1fr));overflow:visible;align-items:start}
.ke-email-account-pill{display:block;min-width:0;padding:13px}
.ke-email-account-main{display:flex;align-items:center;gap:10px;min-width:0}
.ke-email-account-main>div{min-width:0;flex:1}
.ke-email-account-main>b{min-width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.045);color:var(--ke-gold);font-size:10px}
.ke-email-account-relation{margin-top:10px;padding:9px 10px;border:1px solid rgba(148,163,184,.1);border-radius:10px;background:rgba(255,255,255,.025)}
.ke-email-account-relation strong{color:#dbeafe;font-size:10px!important}
.ke-email-account-relation small{margin-top:3px!important}
.ke-email-account-pill.is-mapped .ke-email-account-relation{border-color:rgba(22,199,132,.17);background:rgba(22,199,132,.045)}
.ke-email-account-pill.is-unmapped .ke-email-account-relation{border-color:rgba(255,155,84,.18);background:rgba(255,155,84,.045)}
.ke-email-account-map{display:grid;grid-template-columns:minmax(140px,.65fr) minmax(190px,1.35fr) auto;gap:7px;align-items:center;margin-top:10px}
.ke-email-account-map .ke-select{width:100%;min-width:0}
.ke-email-account-map .ke-primary-button{white-space:nowrap}
.ke-panel-subtitle{margin:4px 0 0;color:var(--ke-muted-2);font-size:9px;line-height:1.45}
@media(max-width:900px){.ke-email-account-strip{grid-template-columns:1fr}.ke-email-account-map{grid-template-columns:1fr 1fr}.ke-email-account-map .ke-primary-button{grid-column:1/-1}}
@media(max-width:560px){.ke-email-account-map{grid-template-columns:1fr}.ke-email-account-map .ke-primary-button{grid-column:auto}.ke-email-account-strip{grid-template-columns:minmax(0,1fr)}}


/* V1.3.2 — compact, sortable and paginated studio directory */
.ke-studio-toolbar{margin-bottom:14px}
.ke-studio-list-panel{min-width:0}
.ke-studio-table-wrap{max-height:calc(100vh - 300px);min-height:390px;overscroll-behavior:contain}
.ke-table-studios{min-width:1050px;table-layout:fixed}
.ke-table-studios thead th{position:sticky;top:0;z-index:5;padding:0;background:#101b30;box-shadow:0 1px 0 var(--ke-line)}
.ke-table-studios th:nth-child(1){width:92px}.ke-table-studios th:nth-child(2){width:230px}.ke-table-studios th:nth-child(3),.ke-table-studios th:nth-child(4),.ke-table-studios th:nth-child(5){width:76px}.ke-table-studios th:nth-child(6){width:160px}.ke-table-studios th:nth-child(7){width:76px}.ke-table-studios th:nth-child(8){width:145px}.ke-table-studios th:nth-child(9){width:120px}.ke-table-studios th:nth-child(10){width:88px}
.ke-table-studios td{height:53px;padding:8px 12px}
.ke-table-studios tbody tr.is-needs-update{background:linear-gradient(90deg,rgba(255,155,84,.035),transparent 32%)}
.ke-table-studios tbody tr.is-needs-update:hover{background:linear-gradient(90deg,rgba(255,155,84,.065),rgba(255,255,255,.018) 40%)}
.ke-table-sort{width:100%;min-height:42px;display:flex;align-items:center;gap:6px;padding:0 12px;border:0;background:transparent;color:#8494aa;cursor:pointer;font:inherit;font-weight:850;text-align:left;text-transform:uppercase;letter-spacing:.1em;white-space:nowrap}
.ke-table-sort:hover,.ke-table-sort.is-active{color:#e8eef8}.ke-table-sort .dashicons{width:13px;height:13px;margin-left:auto;font-size:13px;opacity:.5}.ke-table-sort.is-active .dashicons{color:var(--ke-pink-2);opacity:1}
.ke-num-col{text-align:right!important}.ke-num-col .ke-table-sort{justify-content:flex-end;text-align:right}.ke-num-col .ke-table-sort .dashicons{margin-left:2px}
.ke-studio-code-compact{min-width:48px;justify-content:center;white-space:nowrap}
.ke-studio-name-cell{min-width:0}.ke-studio-name-link{display:block;max-width:100%;padding:0;border:0;background:transparent;color:#eef3fb;cursor:pointer;font-size:12px;font-weight:850;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ke-studio-name-link:hover{color:var(--ke-pink-2)}.ke-studio-name-cell small{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ke-studio-vault-link{display:flex;align-items:center;gap:4px;max-width:205px;margin-top:3px;overflow:hidden;color:#9aaac0;font-size:8px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.ke-studio-vault-link .dashicons{width:11px;height:11px;font-size:11px;flex:0 0 auto}.ke-studio-vault-link.is-online{color:#55dcae}.ke-studio-vault-link.is-offline,.ke-studio-vault-link.is-missing{color:#e9ae63}.ke-studio-name-cell>.ke-studio-vault-link+small{margin-top:2px}
.ke-vault-sync-recovery{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:9px;padding:10px 11px;border:1px solid rgba(48,211,158,.28);border-radius:12px;background:rgba(48,211,158,.065)}.ke-vault-sync-recovery>.dashicons{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:rgba(48,211,158,.12);color:#57dfb4;font-size:16px}.ke-vault-sync-recovery strong,.ke-vault-sync-recovery small{display:block}.ke-vault-sync-recovery strong{color:#e9f8f3;font-size:10px}.ke-vault-sync-recovery small{margin-top:3px;color:#91a8a1;font-size:9px;line-height:1.45}.ke-vault-sync-recovery .ke-secondary-button{justify-content:center;white-space:nowrap;text-decoration:none}.ke-vault-sync-recovery.is-warning{border-color:rgba(251,191,36,.27);background:rgba(251,191,36,.06)}.ke-vault-sync-recovery.is-warning>.dashicons{background:rgba(251,191,36,.11);color:#f4ca66}@media(max-width:720px){.ke-vault-sync-recovery{grid-template-columns:32px minmax(0,1fr)}.ke-vault-sync-recovery .ke-secondary-button{grid-column:1/-1;width:100%}}
.ke-studio-mini-progress{display:grid;grid-template-columns:minmax(70px,1fr) 35px;align-items:center;gap:8px}.ke-studio-mini-progress>div{height:6px;border-radius:99px;background:#081326;overflow:hidden}.ke-studio-mini-progress>div span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--ke-pink),var(--ke-purple))}.ke-studio-mini-progress>strong{font-size:10px!important;text-align:right}
.ke-warning-text{color:#ffb176!important}
.ke-studio-table-footer{gap:16px;min-height:61px;border-top:1px solid rgba(148,163,184,.08);background:rgba(5,13,26,.28)}
.ke-studio-footer-summary{display:flex;align-items:baseline;gap:5px;min-width:0}.ke-studio-footer-summary strong{color:#eef3fb;font-size:12px}.ke-studio-footer-summary span{white-space:nowrap}.ke-studio-footer-summary small{margin-left:8px;color:var(--ke-muted-2);white-space:nowrap}
.ke-studio-footer-controls{display:flex;align-items:center;gap:12px;margin-left:auto}.ke-page-size{display:flex;align-items:center;gap:7px;color:var(--ke-muted-2);white-space:nowrap}.ke-page-size .ke-select{width:68px;min-height:34px;padding:0 25px 0 9px}
.ke-pagination{display:flex;align-items:center;gap:4px}.ke-page-button{min-width:31px;height:31px;display:grid;place-items:center;padding:0 7px;border:1px solid var(--ke-line);border-radius:9px;background:rgba(255,255,255,.025);color:#aebbd0;cursor:pointer;font-size:10px;font-weight:800}.ke-page-button:hover:not(:disabled){border-color:rgba(255,61,154,.35);color:#fff}.ke-page-button.is-active{border-color:rgba(255,61,154,.42);background:linear-gradient(135deg,rgba(255,61,154,.2),rgba(139,92,246,.18));color:#fff}.ke-page-button:disabled{cursor:not-allowed;opacity:.35}.ke-page-button .dashicons{width:13px;height:13px;font-size:13px}.ke-page-ellipsis{display:grid;place-items:center;min-width:18px;color:var(--ke-muted-2);font-size:10px}
@media(max-width:1180px){.ke-table-studios th:nth-child(6),.ke-table-studios td:nth-child(6){display:none}.ke-table-studios{min-width:860px}.ke-studio-footer-summary small{display:none}}
@media(max-width:760px){.ke-studio-table-wrap{max-height:none;min-height:0}.ke-table-studios{min-width:760px}.ke-studio-table-footer{align-items:flex-start;flex-direction:column}.ke-studio-footer-controls{width:100%;justify-content:space-between;margin-left:0}.ke-pagination{overflow:auto;max-width:100%;padding-bottom:2px}.ke-studio-footer-summary{width:100%}}

/* V1.3.3 — distinct Etsy suspended shop status */
.ke-status-tile[data-status="suspended"]{border-color:rgba(239,68,68,.18);background:linear-gradient(155deg,rgba(48,21,31,.94),rgba(16,16,29,.97))}.ke-status-tile[data-status="suspended"]:after{background:rgba(239,68,68,.12)}


/* V1.3.4 — simplified dashboard summary */
.ke-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.ke-stat-button{width:100%;appearance:none;font:inherit;color:inherit;text-align:left;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
.ke-stat-button:hover{transform:translateY(-2px);border-color:rgba(255,61,154,.28);box-shadow:0 16px 34px rgba(0,0,0,.18)}
.ke-stat-button:focus-visible{outline:0;border-color:rgba(255,61,154,.58);box-shadow:0 0 0 4px rgba(255,61,154,.11)}
.ke-stat-card .ke-stat-icon span{display:block;margin:0;color:inherit;font-size:18px;line-height:1;text-transform:none;letter-spacing:0}
.ke-stat-card .ke-stat-title{display:block;position:relative;z-index:1;margin-top:4px;color:#dce6f3;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.ke-stat-card .ke-stat-detail{display:block;position:relative;z-index:1;top:auto;right:auto;margin-top:7px;color:var(--ke-muted-2);font-size:9px;line-height:1.4}
.ke-stat-card.is-suspended{--ke-stat-bg:rgba(239,68,68,.13);--ke-stat-color:#ff737f;--ke-stat-glow:rgba(239,68,68,.12);border-color:rgba(239,68,68,.16)}
@media(max-width:1400px){.ke-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.ke-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ke-stat-card .ke-stat-detail{font-size:8px}}
@media(max-width:430px){.ke-stat-grid{grid-template-columns:1fr 1fr}.ke-stat-card{min-height:118px}.ke-stat-card .ke-stat-title{font-size:10px;letter-spacing:.045em}.ke-stat-card .ke-stat-detail{display:none}}

/* V1.4.0 — simplified command center */
.ke-nav-group{display:block;padding:15px 12px 5px;color:#53637a;font-size:8px;font-weight:900;letter-spacing:.16em;white-space:nowrap}.ke-nav-group:first-child{padding-top:2px}.ke-app.is-collapsed .ke-nav-group{height:1px;margin:8px 10px;padding:0;background:rgba(148,163,184,.12);color:transparent;overflow:hidden}
.ke-command-button{width:min(330px,25vw);min-height:42px;display:flex;align-items:center;gap:9px;padding:0 11px;border:1px solid var(--ke-line);border-radius:12px;background:rgba(255,255,255,.025);color:var(--ke-muted);cursor:pointer;text-align:left;transition:.18s}.ke-command-button:hover{border-color:rgba(255,61,154,.28);background:rgba(255,255,255,.04);color:#dce7f5}.ke-command-button>span:nth-child(2){min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.ke-command-button kbd,.ke-command-search kbd{padding:4px 6px;border:1px solid rgba(148,163,184,.18);border-radius:6px;background:#091326;color:#7889a2;font-family:inherit;font-size:8px;white-space:nowrap}
.ke-quick-add-wrap{position:relative}.ke-quick-add-wrap>.ke-primary-button{gap:7px}.ke-quick-add-wrap>.ke-primary-button>.dashicons:last-child{font-size:13px;opacity:.7}.ke-quick-add-menu{position:absolute;z-index:90;right:0;top:calc(100% + 10px);width:285px;padding:8px;border:1px solid var(--ke-line);border-radius:16px;background:#0e192d;box-shadow:0 28px 70px rgba(0,0,0,.42)}.ke-quick-add-menu button{width:100%;display:flex;align-items:center;gap:11px;padding:10px;border:0;border-radius:11px;background:transparent;color:#dce7f5;cursor:pointer;text-align:left}.ke-quick-add-menu button:hover{background:rgba(255,255,255,.05)}.ke-quick-add-menu button>.dashicons{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(255,61,154,.09);color:var(--ke-pink-2);font-size:17px}.ke-quick-add-menu strong,.ke-quick-add-menu small{display:block}.ke-quick-add-menu strong{font-size:11px}.ke-quick-add-menu small{margin-top:2px;color:var(--ke-muted-2);font-size:8px}
.ke-command-backdrop{position:fixed;z-index:160;inset:0;display:flex;align-items:flex-start;justify-content:center;padding:9vh 18px;background:rgba(3,7,15,.72);backdrop-filter:blur(12px)}.ke-command-palette{width:min(720px,100%);max-height:76vh;display:flex;flex-direction:column;border:1px solid rgba(148,163,184,.2);border-radius:20px;background:linear-gradient(160deg,#111d32,#0a1324);box-shadow:0 44px 120px rgba(0,0,0,.56);overflow:hidden}.ke-command-search{display:flex;align-items:center;gap:11px;padding:16px 18px;border-bottom:1px solid var(--ke-line)}.ke-command-search>.dashicons{color:var(--ke-pink-2)}.ke-command-search input{min-width:0;flex:1;height:36px;padding:0;border:0;background:transparent;color:#fff;outline:0;font-size:15px}.ke-command-head{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;color:var(--ke-muted-2);font-size:9px}.ke-command-results{padding:0 9px 10px;overflow:auto}.ke-command-result{width:100%;display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:10px;border:0;border-radius:12px;background:transparent;color:#e5edf8;cursor:pointer;text-align:left}.ke-command-result:hover{background:rgba(255,255,255,.055)}.ke-command-result>.dashicons:first-child{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(139,92,246,.1);color:#bba4ff}.ke-command-result>span:nth-child(2){min-width:0}.ke-command-result strong,.ke-command-result small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ke-command-result strong{font-size:11px}.ke-command-result small{margin-top:3px;color:var(--ke-muted-2);font-size:8px}.ke-command-result>.dashicons:last-child{color:#53637a;font-size:13px}.ke-command-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:4px}.ke-command-shortcuts button{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;padding:12px;border:1px solid rgba(148,163,184,.1);border-radius:12px;background:rgba(255,255,255,.02);color:#dce7f5;cursor:pointer;text-align:left}.ke-command-shortcuts button:hover{border-color:rgba(255,61,154,.25);background:rgba(255,255,255,.04)}.ke-command-shortcuts .dashicons{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(255,61,154,.09);color:var(--ke-pink-2)}.ke-command-shortcuts strong,.ke-command-shortcuts small{display:block}.ke-command-shortcuts strong{font-size:10px}.ke-command-shortcuts small{color:var(--ke-muted-2);font-size:8px}
.ke-home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.58fr);align-items:center;gap:22px;margin-bottom:14px;padding:24px 26px;border:1px solid rgba(148,163,184,.14);border-radius:22px;background:radial-gradient(circle at 85% 20%,rgba(139,92,246,.16),transparent 32%),radial-gradient(circle at 12% 90%,rgba(255,61,154,.09),transparent 35%),linear-gradient(145deg,#111d32,#0c1629);box-shadow:0 20px 60px rgba(0,0,0,.16)}.ke-home-greeting{color:var(--ke-pink-2);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.ke-home-hero-copy h2{margin:7px 0 8px;font-size:clamp(22px,2.1vw,34px);letter-spacing:-.045em}.ke-home-hero-copy p{max-width:680px;margin:0;color:#95a6bc;font-size:11px;line-height:1.65}.ke-daily-progress-card{padding:17px;border:1px solid rgba(148,163,184,.12);border-radius:16px;background:rgba(4,11,23,.34)}.ke-daily-progress-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.ke-daily-progress-head span,.ke-daily-progress-head strong{display:block}.ke-daily-progress-head span{color:var(--ke-muted-2);font-size:8px;font-weight:900;letter-spacing:.12em}.ke-daily-progress-head strong{margin-top:5px;font-size:12px}.ke-daily-progress-head>b{color:#fff;font-size:22px}.ke-daily-progress-track{height:8px;margin:13px 0 11px;border-radius:99px;background:#071225;overflow:hidden}.ke-daily-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--ke-pink),var(--ke-purple),var(--ke-cyan));transition:width .35s ease}.ke-daily-progress-card .ke-text-button{padding:0}
.ke-stat-grid-simple{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}.ke-stat-grid-simple .ke-stat-card{min-height:126px;padding:16px}.ke-stat-grid-simple .ke-stat-card:after{width:92px;height:92px;right:-48px;bottom:-50px}.ke-stat-grid-simple .ke-stat-card strong{font-size:27px}.ke-dashboard-grid-v14{grid-template-columns:minmax(0,1.55fr) minmax(290px,.75fr);gap:14px}.ke-dashboard-grid-v14>.ke-panel{min-height:0}.ke-action-center-panel{grid-row:span 1}.ke-action-queue{display:flex;flex-direction:column;gap:8px}.ke-action-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px;border:1px solid rgba(148,163,184,.09);border-radius:12px;background:rgba(255,255,255,.018)}.ke-action-item:hover{background:rgba(255,255,255,.03)}.ke-action-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(82,215,255,.09);color:var(--ke-cyan)}.ke-action-item.is-red .ke-action-icon{background:rgba(255,93,108,.1);color:#ff7e8b}.ke-action-item.is-gold .ke-action-icon{background:rgba(246,199,91,.1);color:var(--ke-gold)}.ke-action-item.is-purple .ke-action-icon{background:rgba(139,92,246,.11);color:#bba4ff}.ke-action-item>div{min-width:0}.ke-action-item strong,.ke-action-item small{display:block}.ke-action-item strong{font-size:10px}.ke-action-item small{margin-top:3px;color:var(--ke-muted-2);font-size:8px;line-height:1.45}.ke-compact-button{min-height:32px!important;padding:0 10px!important;font-size:9px!important}.ke-compact-button .dashicons{font-size:12px}.ke-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ke-quick-grid button{min-height:86px;padding:12px;border:1px solid rgba(148,163,184,.1);border-radius:13px;background:rgba(255,255,255,.02);color:#dce7f5;cursor:pointer;text-align:left}.ke-quick-grid button:hover{border-color:rgba(255,61,154,.25);background:rgba(255,255,255,.04);transform:translateY(-1px)}.ke-quick-grid .dashicons{display:block;margin-bottom:10px;color:var(--ke-pink-2);font-size:19px}.ke-quick-grid strong,.ke-quick-grid small{display:block}.ke-quick-grid strong{font-size:10px}.ke-quick-grid small{margin-top:3px;color:var(--ke-muted-2);font-size:8px}.ke-status-overview-compact{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ke-status-chip{min-height:64px;display:flex;align-items:center;gap:10px;padding:10px;border:1px solid rgba(148,163,184,.1);border-radius:12px;background:rgba(255,255,255,.02);color:#dbe6f4;cursor:pointer;text-align:left}.ke-status-chip:hover{border-color:rgba(255,61,154,.26);background:rgba(255,255,255,.035)}.ke-status-chip-icon{width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border-radius:10px;background:rgba(255,93,108,.08);color:#ff8490}.ke-status-chip.is-ready .ke-status-chip-icon{background:rgba(22,199,132,.09);color:#4edca3}.ke-status-chip strong,.ke-status-chip small{display:block}.ke-status-chip strong{font-size:15px}.ke-status-chip small{margin-top:2px;color:var(--ke-muted-2);font-size:8px;line-height:1.25}.ke-timeline-compact{max-height:335px;overflow:auto}
.ke-daily-header-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:14px;padding:18px 20px;border:1px solid rgba(148,163,184,.13);border-radius:18px;background:linear-gradient(135deg,rgba(17,29,50,.96),rgba(11,20,37,.96))}.ke-daily-header-card h2{margin:5px 0 4px;font-size:20px}.ke-daily-header-card p{margin:0;color:var(--ke-muted-2);font-size:9px}.ke-daily-header-progress{width:min(330px,38%);display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px 12px}.ke-daily-header-progress>strong{grid-row:1/3;color:#fff;font-size:25px}.ke-daily-header-progress>div{height:7px;border-radius:99px;background:#071225;overflow:hidden}.ke-daily-header-progress>div span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--ke-pink),var(--ke-purple));transition:width .35s}.ke-daily-header-progress small{color:var(--ke-muted-2);font-size:8px}.ke-bulkbar{position:sticky;z-index:22;top:88px;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;padding:9px 11px;border:1px solid rgba(255,61,154,.24);border-radius:13px;background:rgba(18,24,43,.96);box-shadow:0 15px 40px rgba(0,0,0,.25);backdrop-filter:blur(15px)}.ke-bulkbar>strong{font-size:10px}.ke-bulkbar>div{display:flex;align-items:center;gap:7px}.ke-bulk-action{min-height:32px;padding:0 10px;border:1px solid var(--ke-line);border-radius:9px;background:rgba(255,255,255,.025);color:#dce7f5;cursor:pointer;font-size:9px;font-weight:800}.ke-bulk-action:hover{border-color:rgba(255,61,154,.3)}.ke-check-col{width:42px!important;text-align:center!important}.ke-check-col input{accent-color:var(--ke-pink)}.ke-table tbody tr.is-selected{background:rgba(255,61,154,.055)!important}.ke-table-daily{min-width:890px}
.ke-filter-chips{display:flex;align-items:center;gap:7px;margin-bottom:10px;overflow:auto;padding-bottom:2px}.ke-filter-chips button{min-height:34px;padding:0 12px;border:1px solid var(--ke-line);border-radius:99px;background:rgba(255,255,255,.02);color:#8fa0b8;cursor:pointer;font-size:9px;font-weight:800;white-space:nowrap}.ke-filter-chips button:hover,.ke-filter-chips button.is-active{border-color:rgba(255,61,154,.35);background:linear-gradient(135deg,rgba(255,61,154,.15),rgba(139,92,246,.12));color:#fff}.ke-shop-toolbar-v14{margin-bottom:10px}.ke-table-shops-v14{min-width:1060px}.ke-table-shops-v14 th:nth-child(2){width:230px}.ke-table-shops-v14 th:nth-child(3){width:210px}.ke-table-shops-v14 th:nth-child(4){width:190px}.ke-table-shops-v14 th:nth-child(5),.ke-table-shops-v14 th:nth-child(6){width:100px}.ke-table-shops-v14 th:nth-child(7){width:140px}.ke-shop-cell-button,.ke-person-row{border:0;background:transparent;color:inherit;cursor:pointer;text-align:left}.ke-shop-cell-button:hover strong,.ke-person-row:hover strong{color:var(--ke-pink-2)}.ke-shop-cell-button>span:last-child,.ke-person-row>span:last-child{min-width:0}.ke-table-owners{min-width:860px}.ke-person-row{display:flex;align-items:center;gap:10px}.ke-person-avatar-small{width:35px;height:35px;flex:0 0 35px;border-radius:11px;font-size:12px}.ke-footer-controls{display:flex;align-items:center;gap:12px;margin-left:auto}
.ke-store-hero{display:flex;align-items:center;gap:14px;margin-bottom:15px}.ke-shop-avatar-large{width:58px;height:58px;flex:0 0 58px;border-radius:17px;font-size:20px}.ke-store-hero h3{margin:0;font-size:18px}.ke-store-hero p{margin:4px 0 8px;color:var(--ke-muted);font-size:9px}.ke-store-hero-badges{display:flex;flex-wrap:wrap;gap:6px}.ke-drawer-notice{display:flex;align-items:center;gap:10px;margin-bottom:13px;padding:11px;border:1px solid rgba(246,199,91,.18);border-radius:12px;background:rgba(246,199,91,.055)}.ke-drawer-notice.is-danger{border-color:rgba(255,93,108,.2);background:rgba(255,93,108,.055)}.ke-drawer-notice>.dashicons{color:var(--ke-gold)}.ke-drawer-notice.is-danger>.dashicons{color:#ff7f8b}.ke-drawer-notice strong,.ke-drawer-notice small{display:block}.ke-drawer-notice strong{font-size:10px}.ke-drawer-notice small{margin-top:2px;color:var(--ke-muted-2);font-size:8px}.ke-store-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.ke-store-detail-grid>div{min-width:0;padding:10px;border:1px solid rgba(148,163,184,.09);border-radius:11px;background:rgba(255,255,255,.018)}.ke-store-detail-grid span,.ke-store-detail-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ke-store-detail-grid span{color:var(--ke-muted-2);font-size:8px;text-transform:uppercase;letter-spacing:.08em}.ke-store-detail-grid strong,.ke-store-detail-grid .ke-owner-link{margin-top:4px;font-size:10px;font-weight:800}.ke-drawer-note{margin:12px 0;padding:11px;border-left:2px solid var(--ke-purple);border-radius:0 10px 10px 0;background:rgba(139,92,246,.055)}.ke-drawer-note span{color:#bba4ff;font-size:8px;font-weight:900;letter-spacing:.1em}.ke-drawer-note p{margin:6px 0 0;color:#a6b5c8;font-size:9px;line-height:1.55}.ke-drawer-actions{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.ke-drawer-actions a{text-decoration:none}.ke-owner-shop-button{width:100%;border:0;color:inherit;cursor:pointer;text-align:left}.ke-owner-shop-button>span:nth-child(2){min-width:0;flex:1}.ke-owner-shop-button strong,.ke-owner-shop-button small{display:block}.ke-owner-shop-button small{margin-top:3px;color:var(--ke-muted-2);font-size:8px}.ke-drawer-report{width:100%;display:flex;align-items:center;gap:10px;padding:9px 0;border:0;border-bottom:1px solid rgba(148,163,184,.08);background:transparent;color:#dce7f5;cursor:pointer;text-align:left}.ke-drawer-report:last-child{border-bottom:0}.ke-drawer-report>span:last-child{min-width:0}.ke-drawer-report strong,.ke-drawer-report small{display:block}.ke-drawer-report strong{font-size:9px}.ke-drawer-report small{margin-top:3px;color:var(--ke-muted-2);font-size:8px}
@media(max-width:1380px){.ke-command-button{width:220px}.ke-status-overview-compact{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1180px){.ke-command-button>span:nth-child(2){display:none}.ke-command-button{width:44px;justify-content:center}.ke-command-button kbd{display:none}.ke-home-hero{grid-template-columns:1fr}.ke-dashboard-grid-v14{grid-template-columns:1fr}.ke-quick-panel{grid-column:auto}.ke-status-overview-compact{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.ke-nav-group{display:block}.ke-topbar-actions{gap:6px}.ke-command-button{display:flex}.ke-quick-add-wrap>.ke-primary-button>span:nth-child(2),.ke-quick-add-wrap>.ke-primary-button>.dashicons:last-child{display:none}.ke-home-hero{padding:18px}.ke-home-hero-copy h2{font-size:24px}.ke-stat-grid-simple{grid-template-columns:1fr 1fr}.ke-status-overview-compact{grid-template-columns:1fr 1fr}.ke-action-item{grid-template-columns:34px minmax(0,1fr)}.ke-action-item>button{grid-column:2;justify-self:start}.ke-daily-header-card{align-items:flex-start;flex-direction:column}.ke-daily-header-progress{width:100%}.ke-bulkbar{top:75px;align-items:flex-start;flex-direction:column}.ke-bulkbar>div{width:100%;overflow:auto}.ke-command-backdrop{padding:4vh 10px}.ke-command-shortcuts{grid-template-columns:1fr}.ke-store-detail-grid{grid-template-columns:1fr}.ke-footer-controls{width:100%;justify-content:space-between;margin-left:0}.ke-table-footer{align-items:flex-start;flex-direction:column;gap:10px}}
@media(max-width:430px){.ke-stat-grid-simple{grid-template-columns:1fr 1fr}.ke-status-overview-compact{grid-template-columns:1fr}.ke-quick-grid{grid-template-columns:1fr 1fr}.ke-command-button{display:none}.ke-home-hero-copy p{font-size:10px}}

/* V1.4.1 — net payout clarity */
.ke-email-negative small,.ke-fee-cell small{display:block;margin-top:3px;color:#ff9aa6;font-size:8px;font-weight:800}.ke-fee-cell{cursor:help}.ke-email-performance-table{min-width:760px}.ke-email-performance-table th:nth-child(4),.ke-email-performance-table th:nth-child(5),.ke-email-performance-table th:nth-child(6),.ke-email-performance-table th:nth-child(7){white-space:nowrap}

/* V1.4.2 — automatic studio codes */
.ke-auto-code-field {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 10px;
  padding: 9px 12px;
  border: 1px dashed rgba(88, 166, 255, .35);
  border-radius: 12px;
  background: rgba(53, 116, 184, .08);
  color: var(--ke-text, #eef5ff);
}
.ke-auto-code-field .dashicons {
  grid-row: 1 / span 2;
  color: #68b7ff;
}
.ke-auto-code-field strong { font-size: 13px; }
.ke-auto-code-field small { color: var(--ke-muted, #7f93b6); font-size: 11px; }
.ke-form-field input[readonly] {
  cursor: not-allowed;
  opacity: .85;
  background: rgba(255,255,255,.035);
}


/* KingEmpire V1.5.0 · Daily Store Report */
.ke-daily-report-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.ke-daily-report-toolbar .ke-searchbox{flex:1 1 300px}.ke-daily-report-toolbar .ke-date-input-wrap{flex:0 1 220px}.ke-daily-report-toolbar .ke-select{flex:0 1 210px}.ke-daily-report-toolbar .ke-device-filter{min-width:190px}.ke-date-input-wrap{height:44px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid var(--ke-border,#20304d);border-radius:12px;background:#0c172c;color:#8da2c8}.ke-date-input-wrap span{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.ke-date-input-wrap input{border:0!important;outline:0!important;background:transparent!important;color:#f3f7ff!important;font:inherit;min-width:130px}.ke-daily-report-summary{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:18px}.ke-daily-report-stat{min-height:116px;display:flex;align-items:flex-start;gap:14px;padding:18px;border:1px solid #20304d;border-radius:18px;background:linear-gradient(145deg,#111f38,#0d172a);position:relative;overflow:hidden}.ke-daily-report-stat:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-38px;bottom:-48px;background:currentColor;opacity:.07}.ke-daily-report-stat>.dashicons{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:rgba(255,255,255,.06);font-size:20px}.ke-daily-report-stat div{display:flex;flex-direction:column;gap:3px;min-width:0}.ke-daily-report-stat strong{font-size:24px;line-height:1.15;color:#fff;white-space:nowrap}.ke-daily-report-stat b{font-size:12px;color:#dce7fb}.ke-daily-report-stat small{font-size:10px;color:#7890b7;line-height:1.35}.ke-daily-report-stat.is-blue{color:#55b8ff}.ke-daily-report-stat.is-purple{color:#b576ff}.ke-daily-report-stat.is-green{color:#35d59a}.ke-daily-report-stat.is-gold{color:#f0bd55}.ke-daily-report-stat.is-red{color:#ff668e}.ke-daily-report-panel{min-height:480px}.ke-daily-report-table th{white-space:nowrap}.ke-daily-report-table td{vertical-align:middle}.ke-daily-report-table tbody tr.has-report{background:linear-gradient(90deg,rgba(255,56,106,.08),transparent 42%)}.ke-daily-report-table tbody tr.has-pending-report{background:linear-gradient(90deg,rgba(240,189,85,.07),transparent 42%)}.ke-daily-report-table tfoot td{padding:16px 12px;border-top:1px solid #2c3b59;background:#0d182c;color:#eef4ff}.ke-report-number{width:42px;color:#7890b7;font-weight:800}.ke-report-device{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #263653;border-radius:10px;background:#0c172b;color:#dbe7fb;font-size:11px;font-weight:800;white-space:nowrap}.ke-report-device .dashicons{width:15px;height:15px;font-size:15px;color:#63b9ff}.ke-report-shop-name,.ke-report-sales-count,.ke-report-cash{color:#f5f8ff!important}.ke-report-sales-count{font-size:19px!important}.ke-report-money-positive{color:#36d79c!important;font-size:15px!important}.ke-report-clear{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:rgba(50,211,151,.1);color:#3de0a5;font-size:10px;font-weight:900;white-space:nowrap}.ke-report-clear .dashicons{font-size:15px;width:15px;height:15px}.ke-report-result{display:flex;flex-direction:column;gap:3px;max-width:310px}.ke-report-result strong{font-size:11px;line-height:1.45}.ke-report-result small{font-size:9px!important}.ke-report-result.is-danger strong{color:#ff799a}.ke-report-result.is-pending strong{color:#f1c46b}.ke-date-chip.is-live{background:rgba(47,211,151,.12);color:#41e4aa;border-color:rgba(47,211,151,.25)}.ke-daily-report-loading{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#91a6c9}.ke-daily-report-loading .dashicons{font-size:30px;width:30px;height:30px;animation:ke-spin 1.1s linear infinite}.ke-daily-report-loading strong{color:#eef4ff}.ke-daily-report-loading small{font-size:11px}@keyframes ke-spin{to{transform:rotate(360deg)}}
@media(max-width:1320px){.ke-daily-report-toolbar .ke-searchbox{flex-basis:100%}.ke-daily-report-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.ke-daily-report-toolbar .ke-searchbox{flex:1 1 100%}.ke-date-input-wrap,.ke-daily-report-toolbar .ke-select{flex:1 1 190px}.ke-daily-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ke-daily-report-table{min-width:1320px}}
@media(max-width:560px){.ke-daily-report-summary{grid-template-columns:1fr}.ke-daily-report-stat{min-height:96px}.ke-daily-report-toolbar button{flex:1 1 auto}.ke-date-input-wrap,.ke-daily-report-toolbar .ke-select{flex:1 1 100%}}


/* V1.5.2 Appeal 14-day alarm */
.ke-appeal-alarm-text{color:#ff6b8f!important;font-weight:800;letter-spacing:.02em}
.ke-appeal-alarm-badge{display:inline-flex;margin-top:6px;padding:4px 8px;border-radius:999px;background:rgba(255,50,96,.16);color:#ff6b8f;border:1px solid rgba(255,50,96,.35);font-size:10px;font-weight:900;letter-spacing:.08em}
.ke-form-field.is-highlighted{padding:12px;border:1px solid rgba(255,193,7,.35);border-radius:14px;background:rgba(255,193,7,.06)}


/* V1.5.3 · Auto Report IP from Gmail */
.ke-auto-report-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 7px;
  border: 1px solid rgba(38, 211, 159, .28);
  border-radius: 999px;
  background: rgba(38, 211, 159, .10);
  color: #77f0c7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  vertical-align: middle;
}
.ke-email-badge.is-auto_confirmed{background:rgba(22,199,132,.11);color:#5be1aa}


/* V1.5.4 — historical report baseline per shop */
.ke-report-total-preview{min-height:43px;display:flex;align-items:center;gap:10px;padding:7px 11px;border:1px solid rgba(255,61,154,.18);border-radius:11px;background:linear-gradient(135deg,rgba(255,61,154,.07),rgba(139,92,246,.06))}.ke-report-total-preview strong{min-width:34px;color:#fff;font-size:22px;line-height:1}.ke-report-total-preview span{color:var(--ke-muted);font-size:9px;line-height:1.45}.ke-card-stat small{display:block;margin-top:4px;color:var(--ke-muted-2);font-size:8px;line-height:1.35}

/* V1.5.6: status banding sekunder untuk toko yang tetap berjalan */
.ke-shop-status-stack{display:flex;align-items:flex-start;flex-direction:column;gap:5px}
.ke-badge.is-running-appeal{display:inline-flex;align-items:center;gap:4px;max-width:190px;background:rgba(255,155,84,.11);color:#ffb176;white-space:normal;line-height:1.25}
.ke-badge.is-running-appeal .dashicons{width:12px;height:12px;font-size:12px;line-height:12px;flex:0 0 12px}
.ke-drawer-notice.is-appeal{border-color:rgba(255,155,84,.2);background:rgba(255,155,84,.055)}
.ke-drawer-notice.is-appeal>.dashicons{color:#ffb176}
@media(max-width:760px){.ke-badge.is-running-appeal{max-width:145px;font-size:7px}.ke-owner-shop-state .ke-badge.is-running-appeal{display:none}}


/* V1.5.7 manual cash lock */
.ke-cash-lock-card{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid rgba(148,163,184,.2);border-radius:16px;background:rgba(15,23,42,.72)}
.ke-cash-lock-card>span{font-size:24px;width:24px;height:24px;color:#94a3b8}
.ke-cash-lock-card>div{flex:1;min-width:0}.ke-cash-lock-card strong{display:block;color:#f8fafc;margin-bottom:4px}.ke-cash-lock-card p{margin:0;color:#94a3b8;line-height:1.55;font-size:12px}
.ke-cash-lock-card.is-locked{border-color:rgba(16,185,129,.32);background:linear-gradient(135deg,rgba(16,185,129,.09),rgba(15,23,42,.78))}.ke-cash-lock-card.is-locked>span{color:#34d399}
.ke-cash-lock-card.will-relock{border-color:rgba(245,158,11,.48);box-shadow:0 0 0 3px rgba(245,158,11,.08)}
.ke-cash-lock-warning{margin-top:10px;padding:11px 13px;border:1px solid rgba(245,158,11,.38);border-radius:12px;background:rgba(245,158,11,.09);color:#fcd34d;font-size:12px;line-height:1.55}.ke-cash-lock-warning strong{color:#fef3c7}
@media(max-width:760px){.ke-cash-lock-card{align-items:flex-start;flex-wrap:wrap}.ke-cash-lock-card>div{width:calc(100% - 42px)}.ke-cash-lock-card>button{width:100%;justify-content:center}}

.ke-cash-lock-warning[hidden]{display:none!important}

/* V1.5.9 · universal Login Device filters */
.ke-global-device-filter{position:relative;display:grid;grid-template-columns:18px minmax(120px,1fr);align-items:center;gap:0 7px;min-height:44px;padding:5px 9px;border:1px solid var(--ke-line);border-radius:13px;background:rgba(255,255,255,.025)}
.ke-global-device-filter>.dashicons{grid-row:1/3;color:#68b7ff;font-size:17px}
.ke-global-device-filter .ke-select{min-width:145px;height:25px;padding:0 22px 0 0;border:0;background-color:transparent;color:#eef4ff;font-size:10px;font-weight:800;box-shadow:none}
.ke-global-device-filter small{max-width:150px;overflow:hidden;color:var(--ke-muted-2);font-size:8px;line-height:1;text-overflow:ellipsis;white-space:nowrap}
.ke-global-device-filter small.is-active{color:#55b8ff}
.ke-device-filter-sync{min-width:170px}
.ke-toolbar>.ke-device-filter-sync{border-color:rgba(82,215,255,.19);background-image:linear-gradient(180deg,rgba(82,215,255,.035),rgba(255,255,255,.02))}
.ke-toolbar>.ke-device-filter-sync:focus{border-color:rgba(82,215,255,.48);box-shadow:0 0 0 3px rgba(82,215,255,.08)}
@media(max-width:1500px){.ke-global-device-filter small{display:none}.ke-global-device-filter{grid-template-columns:18px minmax(105px,1fr)}.ke-global-device-filter>.dashicons{grid-row:auto}.ke-global-device-filter .ke-select{min-width:115px}}
@media(max-width:1180px){.ke-global-device-filter{display:none}.ke-toolbar>.ke-device-filter-sync{flex:1 1 180px}}
@media(max-width:640px){.ke-toolbar>.ke-device-filter-sync{flex:1 1 100%;width:100%;min-width:0}}


/* =============================================================
 * V1.6.0 MINIMAL OPERATIONS OS
 * ============================================================= */
.ke-nav-minimal{padding-top:8px;gap:5px}
.ke-nav-minimal .ke-nav-group{display:none}
.ke-secondary-nav{margin-top:7px;border-top:1px solid var(--ke-line,#1e2d46);padding-top:8px}
.ke-secondary-nav>summary{list-style:none;display:grid;grid-template-columns:22px 1fr 18px;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;color:var(--ke-muted,#7f95b5);cursor:pointer;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.ke-secondary-nav>summary::-webkit-details-marker{display:none}
.ke-secondary-nav>summary:hover{background:rgba(255,255,255,.035);color:#d9e5f8}
.ke-secondary-nav>summary .dashicons:last-child{transition:transform .2s ease}
.ke-secondary-nav[open]>summary .dashicons:last-child{transform:rotate(180deg)}
.ke-secondary-nav>div{display:grid;gap:4px;padding-top:5px}
.ke-live-clock-hidden{display:none!important}
.ke-density-toggle{flex:0 0 auto}
.ke-focus-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:22px;align-items:center;padding:10px 2px 18px}
.ke-focus-header h2{font-size:clamp(25px,2.2vw,36px);margin:5px 0 7px;letter-spacing:-.035em}
.ke-focus-header p{margin:0;color:var(--ke-muted,#8197b8);font-size:14px}
.ke-focus-progress{border:1px solid var(--ke-line,#22324c);background:linear-gradient(145deg,rgba(22,38,62,.88),rgba(12,22,39,.9));border-radius:16px;padding:15px 17px;display:grid;grid-template-columns:1fr auto;gap:8px 16px;box-shadow:0 12px 34px rgba(0,0,0,.16)}
.ke-focus-progress>div:first-child{display:flex;gap:10px;align-items:baseline}.ke-focus-progress span{color:var(--ke-muted,#8197b8);font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800}.ke-focus-progress strong{font-size:14px}.ke-focus-progress>b{font-size:22px}.ke-focus-progress .ke-daily-progress-track{grid-column:1/-1;height:6px}
.ke-focus-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.ke-focus-metric{min-height:104px;border:1px solid var(--ke-line,#22324c);border-radius:16px;background:#101c31;padding:16px 18px;display:flex;gap:14px;align-items:center;text-align:left;color:#fff;cursor:pointer;transition:border-color .18s ease,transform .18s ease,background .18s ease}
.ke-focus-metric:hover{transform:translateY(-2px);border-color:#425879;background:#13223a}.ke-focus-metric .ke-stat-icon{width:42px;height:42px;flex:0 0 42px}.ke-focus-metric>span:last-child{display:grid;gap:2px}.ke-focus-metric small{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#8ca2c2;font-weight:800}.ke-focus-metric strong{font-size:25px;line-height:1.1;letter-spacing:-.02em}.ke-focus-metric b{font-size:11px;color:#7188aa;font-weight:600}
.ke-focus-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.ke-focus-shortcuts button{border:1px solid var(--ke-line,#22324c);background:#0f1b30;color:#dbe7f7;border-radius:11px;padding:9px 12px;display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:750;cursor:pointer}.ke-focus-shortcuts button:hover{border-color:#4b6284;background:#14243d}.ke-focus-shortcuts .dashicons{font-size:16px;width:16px;height:16px;color:#e752b9}
.ke-focus-queue-panel{margin-bottom:12px}.ke-focus-queue-panel .ke-panel-head{margin-bottom:5px}
.ke-dashboard-details{border:1px solid var(--ke-line,#22324c);border-radius:16px;background:rgba(10,19,34,.68);overflow:hidden}.ke-dashboard-details>summary{list-style:none;display:grid;grid-template-columns:22px auto 1fr 20px;align-items:center;gap:10px;padding:14px 16px;cursor:pointer}.ke-dashboard-details>summary::-webkit-details-marker{display:none}.ke-dashboard-details>summary small{color:#7086a6}.ke-dashboard-details>summary .dashicons:last-child{justify-self:end;transition:transform .2s ease}.ke-dashboard-details[open]>summary .dashicons:last-child{transform:rotate(180deg)}.ke-dashboard-details-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:12px;padding:0 12px 12px}.ke-dashboard-details-grid>.ke-panel{margin:0}
.ke-email-fold{padding:0!important;overflow:hidden}.ke-email-fold>summary{list-style:none;display:grid;grid-template-columns:1fr auto 20px;gap:12px;align-items:center;padding:16px 18px;cursor:pointer}.ke-email-fold>summary::-webkit-details-marker{display:none}.ke-email-fold>summary h2{margin:3px 0}.ke-email-fold>summary .dashicons:last-child{transition:transform .2s ease}.ke-email-fold[open]>summary .dashicons:last-child{transform:rotate(180deg)}.ke-email-fold>.ke-table-wrap,.ke-email-fold>.ke-email-history{border-top:1px solid var(--ke-line,#22324c)}
.ke-form-section-title{display:flex;align-items:center;gap:10px;padding:5px 0 2px;margin-top:2px}.ke-form-section-title>span{width:27px;height:27px;border-radius:9px;background:rgba(232,60,174,.12);color:#ff68c8;display:grid;place-items:center;font-size:10px;font-weight:900}.ke-form-section-title>div{display:grid}.ke-form-section-title strong{font-size:13px}.ke-form-section-title small{color:#758aaa;font-size:10px}
.ke-form-advanced{border:1px solid var(--ke-line,#263650);border-radius:13px;background:rgba(8,17,30,.48);overflow:hidden}.ke-form-advanced>summary{list-style:none;display:grid;grid-template-columns:20px auto 1fr 18px;align-items:center;gap:9px;padding:12px 14px;cursor:pointer}.ke-form-advanced>summary::-webkit-details-marker{display:none}.ke-form-advanced>summary small{color:#7186a7}.ke-form-advanced>summary .dashicons:last-child{justify-self:end;transition:transform .2s ease}.ke-form-advanced[open]>summary .dashicons:last-child{transform:rotate(180deg)}.ke-form-advanced-grid{padding:12px;border-top:1px solid var(--ke-line,#263650);display:grid;grid-template-columns:1fr 1fr;gap:14px}.ke-form-advanced-grid .is-full{grid-column:1/-1}
.is-compact-density .ke-main{padding-top:18px}.is-compact-density .ke-panel{padding:16px}.is-compact-density .ke-toolbar{margin-bottom:10px}.is-compact-density .ke-table th{padding-top:11px;padding-bottom:11px}.is-compact-density .ke-table td{padding-top:10px;padding-bottom:10px}.is-compact-density .ke-topbar{min-height:72px}.is-compact-density .ke-nav-item{min-height:40px}.is-compact-density .ke-stat-card{min-height:106px}.is-comfort-density .ke-table th,.is-comfort-density .ke-table td{padding-top:16px;padding-bottom:16px}
@media (max-width:1100px){.ke-focus-header{grid-template-columns:1fr}.ke-focus-metrics{grid-template-columns:repeat(3,1fr)}.ke-dashboard-details-grid{grid-template-columns:1fr}}
@media (max-width:760px){.ke-focus-metrics{grid-template-columns:1fr}.ke-focus-header{padding-top:0}.ke-focus-progress{min-width:0}.ke-focus-shortcuts{display:grid;grid-template-columns:1fr 1fr}.ke-focus-shortcuts button{justify-content:flex-start}.ke-dashboard-details>summary{grid-template-columns:22px 1fr 20px}.ke-dashboard-details>summary small{display:none}.ke-form-advanced-grid{grid-template-columns:1fr}.ke-form-advanced-grid .is-full{grid-column:auto}.ke-density-toggle{display:none}.ke-command-button span:nth-child(2){display:none}}


/* =========================================================
   KingEmpire V1.7.0 · Calm Responsive UI
   Minimal navigation, quiet surfaces, smart filters, mobile cards.
   ========================================================= */
.ke-calm-ui{
  --ke-bg:#070b14;
  --ke-bg-soft:#0a101b;
  --ke-sidebar:#0a1220;
  --ke-panel:#101927;
  --ke-panel-2:#141f31;
  --ke-panel-3:#18253a;
  --ke-line:rgba(148,163,184,.12);
  --ke-line-strong:rgba(148,163,184,.23);
  --ke-text:#f7f9fc;
  --ke-muted:#93a1b5;
  --ke-muted-2:#66758a;
  --ke-sidebar-width:96px;
  --ke-radius:18px;
  background:linear-gradient(180deg,#070b14 0%,#080d17 100%);
}
.ke-calm-ui .ke-sidebar{width:96px;padding:18px 10px;background:#091220;border-right-color:rgba(148,163,184,.10);box-shadow:none}
.ke-calm-ui .ke-sidebar-brand{justify-content:center;padding:4px 0 18px;border-bottom-color:rgba(148,163,184,.1)}
.ke-calm-ui .ke-sidebar-brand>div:last-child{display:none}
.ke-calm-ui .ke-mini-mark{width:46px;height:46px;flex-basis:46px;border-radius:15px;box-shadow:0 12px 30px rgba(255,61,154,.18)}
.ke-calm-ui .ke-nav{gap:7px;padding:18px 0;overflow:visible}
.ke-calm-ui .ke-nav-item{min-height:60px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:7px 4px;border-radius:14px;text-align:center}
.ke-calm-ui .ke-nav-item>span:nth-child(2){font-size:10px;font-weight:750;white-space:nowrap}
.ke-calm-ui .ke-nav-item .dashicons{flex:0 0 auto;font-size:20px}
.ke-calm-ui .ke-nav-item.is-active{background:rgba(255,61,154,.10);box-shadow:none;color:#fff}
.ke-calm-ui .ke-nav-item.is-active:before{content:"";position:absolute;left:-10px;width:3px;height:28px;border-radius:0 3px 3px 0;background:var(--ke-pink)}
.ke-calm-ui .ke-nav-count{position:absolute;right:4px;top:5px;min-width:18px;height:18px;padding:0 5px;font-size:9px;border:2px solid #091220}
.ke-calm-ui .ke-secondary-nav{margin-top:8px;padding-top:8px;border-top-color:rgba(148,163,184,.1)}
.ke-calm-ui .ke-secondary-nav>summary{grid-template-columns:1fr;justify-items:center;gap:5px;padding:9px 3px;font-size:9px;letter-spacing:0;text-transform:none}
.ke-calm-ui .ke-secondary-nav>summary .dashicons:first-child{font-size:19px}
.ke-calm-ui .ke-secondary-nav>summary .dashicons:last-child{display:none}
.ke-calm-ui .ke-secondary-nav>div{gap:5px;padding-top:7px}
.ke-calm-ui .ke-sidebar-foot{display:none}
.ke-calm-ui .ke-workspace{margin-left:96px}
.ke-calm-ui .ke-topbar{min-height:68px;padding:11px clamp(20px,2.6vw,38px);background:rgba(7,11,20,.91);border-bottom-color:rgba(148,163,184,.1);box-shadow:0 10px 32px rgba(0,0,0,.08)}
.ke-calm-ui .ke-page-eyebrow{display:none}
.ke-calm-ui .ke-topbar h1{font-size:22px;letter-spacing:-.025em}
.ke-calm-ui .ke-command-button{width:42px;min-height:42px;justify-content:center;padding:0;border-radius:12px}
.ke-calm-ui .ke-command-button>span:nth-child(2),.ke-calm-ui .ke-command-button kbd{display:none}
.ke-calm-ui .ke-density-toggle{display:none!important}
.ke-calm-ui .ke-user-copy,.ke-calm-ui .ke-user-button>.dashicons{display:none}
.ke-calm-ui .ke-user-button{padding:4px;border-radius:12px}
.ke-calm-ui .ke-global-device-filter{display:grid!important;grid-template-columns:17px minmax(104px,1fr);min-height:42px;padding:4px 8px;border-radius:12px;background:#0d1727}
.ke-calm-ui .ke-global-device-filter small{display:none!important}
.ke-calm-ui .ke-global-device-filter>.dashicons{grid-row:auto;font-size:16px}
.ke-calm-ui .ke-global-device-filter .ke-select{min-width:105px;font-size:10px}
.ke-calm-ui #ke-global-add{min-height:42px;padding:0 14px;background:#ed3a96;box-shadow:none;border-radius:12px}
.ke-calm-ui .ke-main{width:100%;max-width:1780px;margin:0 auto;padding:30px clamp(22px,3vw,48px) 72px}
.ke-calm-ui .ke-panel{padding:22px;border-color:rgba(148,163,184,.11);background:#0f1827;box-shadow:none}
.ke-calm-ui .ke-panel-head{margin-bottom:15px}
.ke-calm-ui .ke-section-kicker{color:#e96bb0;letter-spacing:.13em}
.ke-calm-ui .ke-primary-button{background:#ed3a96;box-shadow:none}
.ke-calm-ui .ke-danger-button{background:#e65466;box-shadow:none}
.ke-calm-ui .ke-secondary-button,.ke-calm-ui .ke-icon-button{background:#101b2c;border-color:rgba(148,163,184,.15)}
.ke-calm-ui .ke-primary-button:hover,.ke-calm-ui .ke-danger-button:hover{transform:none;filter:brightness(1.08)}

/* Quiet dashboard */
.ke-calm-ui .ke-focus-header{margin-bottom:14px;padding:26px 28px;border:1px solid rgba(148,163,184,.11);border-radius:22px;background:#0f1827}
.ke-calm-ui .ke-focus-header h2{font-size:clamp(26px,2.4vw,38px);margin:6px 0 8px}
.ke-calm-ui .ke-focus-header p{font-size:13px}
.ke-calm-ui .ke-focus-progress{background:#0b1422;border-color:rgba(148,163,184,.1)}
.ke-calm-ui .ke-focus-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 16px;border:1px solid rgba(148,163,184,.11);border-radius:18px;background:#0f1827;overflow:hidden}
.ke-calm-ui .ke-focus-metric{min-height:88px;padding:16px 20px;border:0;border-right:1px solid rgba(148,163,184,.11);border-radius:0;background:transparent}
.ke-calm-ui .ke-focus-metric:last-child{border-right:0}
.ke-calm-ui .ke-focus-metric:hover{transform:none;background:rgba(255,255,255,.025)}
.ke-calm-ui .ke-focus-metric .ke-stat-icon{width:38px;height:38px;flex-basis:38px;background:rgba(255,255,255,.045)}
.ke-calm-ui .ke-focus-metric strong{font-size:23px}
.ke-calm-ui .ke-focus-shortcuts{display:none!important}
.ke-calm-ui .ke-focus-queue-panel{margin-bottom:14px}
.ke-calm-ui .ke-action-queue{gap:6px}
.ke-calm-ui .ke-action-item{padding:12px 13px;border-color:rgba(148,163,184,.09);border-radius:12px;background:#0c1523}
.ke-calm-ui .ke-action-item:hover{background:#101b2c}
.ke-calm-ui .ke-dashboard-details{background:#0c1421;border-color:rgba(148,163,184,.1)}
.ke-calm-ui .ke-dashboard-details>summary{padding:13px 16px;color:#a8b5c8}

/* Smart toolbars: search first, optional controls behind one Filter button */
.ke-calm-ui .ke-toolbar{gap:9px;margin-bottom:14px}
.ke-calm-ui .ke-smart-toolbar .ke-searchbox{min-width:280px;max-width:760px}
.ke-calm-ui .ke-searchbox input,.ke-calm-ui .ke-select,.ke-calm-ui .ke-date-input-wrap{background:#0d1727;border-color:rgba(148,163,184,.14)}
.ke-calm-ui .ke-toolbar-filter-toggle{position:relative;min-height:44px}
.ke-calm-ui .ke-toolbar-filter-toggle.has-active-filter:after{content:"";position:absolute;right:7px;top:7px;width:6px;height:6px;border-radius:50%;background:var(--ke-pink)}
.ke-calm-ui .ke-toolbar-optional{display:none!important}
.ke-calm-ui .ke-smart-toolbar.is-filter-open .ke-toolbar-optional:not(.ke-duplicate-device-filter){display:inline-flex!important}
.ke-calm-ui .ke-smart-toolbar.is-filter-open select.ke-toolbar-optional{display:block!important}
.ke-calm-ui .ke-duplicate-device-filter,.ke-calm-ui .ke-page-add-action{display:none!important}
.ke-calm-ui .ke-toolbar-key-control{margin-left:auto}
.ke-calm-ui .ke-email-title-chip{display:none}
.ke-calm-ui .ke-toolbar-primary-action{margin-left:auto}
.ke-calm-ui .ke-filter-chips{gap:6px;margin-bottom:12px}
.ke-calm-ui .ke-filter-chips button{min-height:36px;background:#0d1727;border-color:rgba(148,163,184,.12)}
.ke-calm-ui .ke-filter-chips button.is-active{background:rgba(237,58,150,.12);border-color:rgba(237,58,150,.30)}

/* Calm tables */
.ke-calm-ui .ke-table-panel{background:#0f1827}
.ke-calm-ui .ke-table th{padding:14px 16px;background:#0c1523;border-color:rgba(148,163,184,.09);color:#7f90a8;letter-spacing:.08em}
.ke-calm-ui .ke-table td{padding:15px 16px;border-color:rgba(148,163,184,.075)}
.ke-calm-ui .ke-table tbody tr:hover{background:rgba(255,255,255,.018)}
.ke-calm-ui .ke-table-footer{padding:14px 17px;background:#0c1523}
.ke-calm-ui .ke-row-actions .ke-icon-button{background:#111d2f}
.ke-calm-ui .ke-table-studios thead th{background:#0c1523}

/* Sales and reports use low-noise summaries */
.ke-calm-ui .ke-email-account-strip{margin-bottom:12px}
.ke-calm-ui .ke-email-account-pill,.ke-calm-ui .ke-email-account-empty{background:#0f1827;border-color:rgba(148,163,184,.11)}
.ke-calm-ui .ke-email-stat-grid,.ke-calm-ui .ke-daily-report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:16px;border:1px solid rgba(148,163,184,.11);border-radius:18px;background:#0f1827;overflow:hidden}
.ke-calm-ui .ke-email-stat-grid .ke-stat-card,.ke-calm-ui .ke-daily-report-stat{min-height:94px;padding:16px;border:0;border-right:1px solid rgba(148,163,184,.1);border-radius:0;background:transparent}
.ke-calm-ui .ke-email-stat-grid .ke-stat-card:last-child,.ke-calm-ui .ke-daily-report-stat:last-child{border-right:0}
.ke-calm-ui .ke-daily-report-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
.ke-calm-ui .ke-daily-report-stat strong{font-size:21px}
.ke-calm-ui .ke-email-layout{gap:14px}
.ke-calm-ui .ke-email-alert-card{background:#0c1523;border-color:rgba(255,93,108,.14)}
.ke-calm-ui .ke-email-fold{background:#0f1827}

/* Mobile dock is intentionally hidden on desktop. */
.ke-mobile-dock,.ke-mobile-nav-scrim{display:none}

@media (max-width:1180px){
  .ke-calm-ui{--ke-sidebar-width:86px}
  .ke-calm-ui .ke-sidebar{width:86px;padding-left:8px;padding-right:8px}
  .ke-calm-ui .ke-workspace{margin-left:86px}
  .ke-calm-ui .ke-nav-item.is-active:before{left:-8px}
  .ke-calm-ui .ke-global-device-filter{grid-template-columns:16px minmax(92px,1fr)}
  .ke-calm-ui .ke-global-device-filter .ke-select{min-width:92px}
  .ke-calm-ui .ke-daily-report-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:900px){
  body.ke-standalone-page{padding-bottom:env(safe-area-inset-bottom)}
  .ke-calm-ui{--ke-sidebar-width:0px}
  .ke-calm-ui .ke-sidebar{z-index:110;width:min(84vw,320px);padding:18px 14px;transform:translateX(-105%);box-shadow:24px 0 70px rgba(0,0,0,.42)}
  .ke-calm-ui.is-mobile-menu .ke-sidebar{transform:translateX(0)}
  .ke-calm-ui .ke-sidebar-brand{justify-content:flex-start;gap:11px;padding:4px 6px 18px}
  .ke-calm-ui .ke-sidebar-brand>div:last-child{display:block}
  .ke-calm-ui .ke-nav{overflow-y:auto}
  .ke-calm-ui .ke-nav-item{min-height:48px;flex-direction:row;justify-content:flex-start;gap:12px;padding:0 13px;text-align:left}
  .ke-calm-ui .ke-nav-item>span:nth-child(2){font-size:13px}
  .ke-calm-ui .ke-nav-item.is-active:before{left:0}
  .ke-calm-ui .ke-nav-count{position:static;margin-left:auto;border:0}
  .ke-calm-ui .ke-secondary-nav>summary{grid-template-columns:22px 1fr 18px;justify-items:stretch;gap:10px;padding:11px 13px;font-size:12px;text-align:left}
  .ke-calm-ui .ke-secondary-nav>summary .dashicons:last-child{display:block}
  .ke-calm-ui .ke-workspace{margin-left:0}
  .ke-calm-ui .ke-topbar{min-height:64px;padding:9px 12px}
  .ke-calm-ui .ke-mobile-menu{display:inline-flex}
  .ke-calm-ui .ke-topbar-left{min-width:0}
  .ke-calm-ui .ke-topbar h1{max-width:34vw;overflow:hidden;font-size:19px;text-overflow:ellipsis;white-space:nowrap}
  .ke-calm-ui .ke-topbar-actions{gap:6px}
  .ke-calm-ui .ke-command-button{display:flex;width:40px;min-height:40px}
  .ke-calm-ui .ke-global-device-filter{display:grid!important;grid-template-columns:15px minmax(76px,1fr);min-height:40px;max-width:122px;padding:3px 6px}
  .ke-calm-ui .ke-global-device-filter .ke-select{min-width:76px;max-width:90px;font-size:9px}
  .ke-calm-ui #ke-global-add{width:40px;min-height:40px;padding:0}
  .ke-calm-ui #ke-global-add>span:nth-child(2),.ke-calm-ui #ke-global-add>.dashicons:last-child{display:none}
  .ke-calm-ui .ke-user-button{display:none}
  .ke-calm-ui .ke-main{padding:20px 14px calc(96px + env(safe-area-inset-bottom))}
  .ke-calm-ui .ke-focus-header{grid-template-columns:1fr;padding:22px 20px}
  .ke-calm-ui .ke-focus-header h2{font-size:27px}
  .ke-calm-ui .ke-focus-metrics{grid-template-columns:repeat(3,minmax(150px,1fr));overflow-x:auto;overscroll-behavior-inline:contain}
  .ke-calm-ui .ke-focus-metric{min-width:150px;padding:14px}
  .ke-calm-ui .ke-focus-progress{width:100%;min-width:0}
  .ke-calm-ui .ke-panel{padding:18px;border-radius:17px}
  .ke-calm-ui .ke-dashboard-details-grid{grid-template-columns:1fr}
  .ke-calm-ui .ke-smart-toolbar{align-items:stretch}
  .ke-calm-ui .ke-smart-toolbar .ke-searchbox{max-width:none;flex-basis:calc(100% - 92px);min-width:0}
  .ke-calm-ui .ke-toolbar-filter-toggle{flex:0 0 82px}
  .ke-calm-ui .ke-toolbar-key-control{order:3;width:100%;margin-left:0}
  .ke-calm-ui .ke-smart-toolbar.is-filter-open .ke-toolbar-optional:not(.ke-duplicate-device-filter){order:4;width:100%;display:flex!important}
  .ke-calm-ui .ke-smart-toolbar.is-filter-open select.ke-toolbar-optional{display:block!important}
  .ke-calm-ui .ke-toolbar-primary-action{order:2;flex:0 0 auto;margin-left:0}
  .ke-calm-ui .ke-email-toolbar .ke-toolbar-filter-toggle{margin-left:auto}
  .ke-calm-ui .ke-filter-chips{margin-left:-14px;margin-right:-14px;padding:0 14px 4px}
  .ke-calm-ui .ke-email-layout{grid-template-columns:1fr}
  .ke-calm-ui .ke-email-stat-grid,.ke-calm-ui .ke-daily-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ke-calm-ui .ke-email-stat-grid .ke-stat-card,.ke-calm-ui .ke-daily-report-stat{border-right:0;border-bottom:1px solid rgba(148,163,184,.09)}
  .ke-calm-ui .ke-daily-report-summary .ke-daily-report-stat:nth-child(odd),.ke-calm-ui .ke-email-stat-grid .ke-stat-card:nth-child(odd){border-right:1px solid rgba(148,163,184,.09)}

  .ke-mobile-dock{position:fixed;z-index:95;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));height:66px;display:grid;grid-template-columns:repeat(6,1fr);padding:6px;border:1px solid rgba(148,163,184,.16);border-radius:20px;background:rgba(12,20,33,.95);box-shadow:0 18px 50px rgba(0,0,0,.38);backdrop-filter:blur(20px)}
  .ke-mobile-dock button{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:14px;background:transparent;color:#7789a2;cursor:pointer}
  .ke-mobile-dock button.is-active{background:rgba(237,58,150,.12);color:#fff}
  .ke-mobile-dock button.is-active .dashicons{color:#ff71b7}
  .ke-mobile-dock .dashicons{font-size:19px}
  .ke-mobile-dock small{font-size:8px;font-weight:750;white-space:nowrap}
  .ke-mobile-nav-scrim{position:fixed;z-index:105;inset:0;display:none;border:0;background:rgba(2,6,12,.68);backdrop-filter:blur(3px)}
  .ke-calm-ui.is-mobile-menu .ke-mobile-nav-scrim{display:block}

  /* Responsive tables become readable cards instead of tiny horizontal spreadsheets. */
  .ke-calm-ui .ke-table-wrap{overflow:visible}
  .ke-calm-ui .ke-responsive-table{min-width:0!important;border-collapse:separate;border-spacing:0}
  .ke-calm-ui .ke-responsive-table thead{display:none}
  .ke-calm-ui .ke-responsive-table tbody{display:grid;gap:12px}
  .ke-calm-ui .ke-responsive-table tbody tr{position:relative;display:block;margin:0;padding:8px 15px;border:1px solid rgba(148,163,184,.11);border-radius:16px;background:#0f1827;overflow:hidden}
  .ke-calm-ui .ke-responsive-table tbody tr:hover{background:#0f1827}
  .ke-calm-ui .ke-responsive-table tbody td{width:100%!important;height:auto!important;display:grid!important;grid-template-columns:minmax(92px,34%) minmax(0,1fr);align-items:center;gap:12px;padding:11px 0!important;border:0;border-bottom:1px solid rgba(148,163,184,.075);text-align:left!important}
  .ke-calm-ui .ke-responsive-table tbody td:last-child{border-bottom:0}
  .ke-calm-ui .ke-responsive-table tbody td:before{content:attr(data-label);color:#73849b;font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
  .ke-calm-ui .ke-responsive-table tbody td.ke-mobile-action-cell{grid-template-columns:1fr}
  .ke-calm-ui .ke-responsive-table tbody td.ke-mobile-action-cell:before{display:none}
  .ke-calm-ui .ke-responsive-table tbody td.ke-mobile-action-cell .ke-row-actions{justify-content:flex-start}
  .ke-calm-ui .ke-responsive-table tbody td.ke-check-col{position:absolute;z-index:2;right:11px;top:10px;width:auto!important;display:block!important;padding:0!important;border:0}
  .ke-calm-ui .ke-responsive-table tbody td.ke-check-col:before{display:none}
  .ke-calm-ui .ke-responsive-table tbody td.ke-mobile-full-cell{display:block!important;padding:0!important;border:0}
  .ke-calm-ui .ke-responsive-table tbody td.ke-mobile-full-cell:before{display:none}
  .ke-calm-ui .ke-responsive-table tfoot{display:none}
  .ke-calm-ui .ke-table-studios td:nth-child(6){display:grid!important}
  .ke-calm-ui .ke-table-footer{margin-top:10px;border:1px solid rgba(148,163,184,.1);border-radius:14px;background:#0c1523}
  .ke-calm-ui .ke-studio-table-wrap{max-height:none;min-height:0}
  .ke-calm-ui .ke-bulkbar{top:70px}
  .ke-calm-ui .ke-modal{width:100%;max-width:none;max-height:calc(100dvh - 12px);border-radius:20px 20px 0 0;align-self:end}
  .ke-calm-ui .ke-modal-backdrop{align-items:flex-end;padding:6px 6px 0}
  .ke-calm-ui .ke-drawer{width:min(100%,520px)}
}

@media (max-width:560px){
  .ke-calm-ui .ke-topbar h1{max-width:28vw;font-size:17px}
  .ke-calm-ui .ke-command-button{display:none}
  .ke-calm-ui .ke-global-device-filter{max-width:112px}
  .ke-calm-ui .ke-focus-header{padding:20px 17px}
  .ke-calm-ui .ke-focus-header h2{font-size:24px}
  .ke-calm-ui .ke-focus-header p{font-size:11px;line-height:1.5}
  .ke-calm-ui .ke-focus-metric .ke-stat-icon{display:none}
  .ke-calm-ui .ke-focus-metric{min-width:132px}
  .ke-calm-ui .ke-focus-metric strong{font-size:20px}
  .ke-calm-ui .ke-panel-head{align-items:flex-start}
  .ke-calm-ui .ke-email-stat-grid,.ke-calm-ui .ke-daily-report-summary{grid-template-columns:1fr}
  .ke-calm-ui .ke-daily-report-summary .ke-daily-report-stat:nth-child(odd),.ke-calm-ui .ke-email-stat-grid .ke-stat-card:nth-child(odd){border-right:0}
  .ke-mobile-dock{left:6px;right:6px;bottom:calc(5px + env(safe-area-inset-bottom));height:64px;border-radius:18px}
  .ke-mobile-dock small{font-size:7px}
  .ke-calm-ui .ke-responsive-table tbody td{grid-template-columns:minmax(82px,32%) minmax(0,1fr);gap:9px}
  .ke-calm-ui .ke-action-item{grid-template-columns:34px minmax(0,1fr)}
  .ke-calm-ui .ke-action-item>button{grid-column:2;justify-self:start}
}

@media (prefers-reduced-motion:reduce){
  .ke-calm-ui *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ========================================================================== 
   KingEmpire V1.7.1 · Compact Gmail Account Directory
   One calm full-width row per Gmail account on desktop, adaptive cards below.
   ========================================================================== */
.ke-calm-ui .ke-email-account-strip{
  display:flex;
  flex-direction:column;
  gap:7px;
  overflow:visible;
  margin-bottom:14px;
  padding:0;
}
.ke-calm-ui .ke-email-account-list-head,
.ke-calm-ui .ke-email-account-pill{
  display:grid;
  grid-template-columns:minmax(255px,1.35fr) minmax(230px,1.05fr) minmax(120px,.52fr) 62px 84px;
  align-items:center;
  column-gap:14px;
}
.ke-calm-ui .ke-email-account-list-head{
  min-height:32px;
  padding:0 14px;
  color:#718198;
  font-size:8px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.ke-calm-ui .ke-email-account-list-head span:nth-child(4){text-align:center}
.ke-calm-ui .ke-email-account-list-head span:last-child{text-align:right}
.ke-calm-ui .ke-email-account-pill{
  position:relative;
  min-width:0;
  min-height:68px;
  padding:10px 14px;
  border-radius:13px;
  background:#0f1827;
  overflow:visible;
}
.ke-calm-ui .ke-email-account-pill:hover{
  border-color:rgba(148,163,184,.2);
  background:#111c2c;
}
.ke-calm-ui .ke-email-account-main{
  gap:9px;
  min-width:0;
}
.ke-calm-ui .ke-email-account-main i{
  flex:0 0 7px;
  width:7px;
  height:7px;
}
.ke-calm-ui .ke-email-account-main strong{
  font-size:10.5px;
  line-height:1.25;
}
.ke-calm-ui .ke-email-account-main small{
  max-width:100%;
  margin-top:3px;
  overflow:hidden;
  color:#718198;
  font-size:8px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ke-calm-ui .ke-email-account-relation{
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent!important;
}
.ke-calm-ui .ke-email-account-relation strong{
  overflow:hidden;
  color:#e5edf8;
  font-size:10px!important;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ke-calm-ui .ke-email-account-relation small{
  margin-top:3px!important;
  overflow:hidden;
  color:#718198;
  font-size:8px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ke-calm-ui .ke-email-account-device{
  min-width:0;
  display:flex;
  align-items:center;
  gap:6px;
  color:#99a9bd;
}
.ke-calm-ui .ke-email-account-device .dashicons{
  width:14px;
  height:14px;
  color:#6f819a;
  font-size:14px;
}
.ke-calm-ui .ke-email-account-device strong{
  overflow:hidden;
  font-size:9px;
  font-weight:750;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ke-calm-ui .ke-email-account-count{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.ke-calm-ui .ke-email-account-count b{
  min-width:0;
  height:auto;
  display:block;
  padding:0;
  border-radius:0;
  background:transparent;
  color:var(--ke-gold);
  font-size:11px;
}
.ke-calm-ui .ke-email-account-count small{
  margin-top:4px;
  color:#64748b;
  font-size:7px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.ke-calm-ui .ke-email-account-editor{
  position:relative;
  min-width:0;
  justify-self:end;
}
.ke-calm-ui .ke-email-account-editor>summary{
  list-style:none;
}
.ke-calm-ui .ke-email-account-editor>summary::-webkit-details-marker{display:none}
.ke-calm-ui .ke-email-map-toggle{
  min-height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:0 9px;
  border:1px solid rgba(148,163,184,.14);
  border-radius:9px;
  background:#111d2f;
  color:#c7d2e2;
  font-size:8px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}
.ke-calm-ui .ke-email-map-toggle:hover,
.ke-calm-ui .ke-email-account-editor[open]>.ke-email-map-toggle{
  border-color:rgba(237,58,150,.3);
  background:rgba(237,58,150,.1);
  color:#fff;
}
.ke-calm-ui .ke-email-map-toggle .dashicons{
  width:13px;
  height:13px;
  font-size:13px;
}
.ke-calm-ui .ke-email-account-map{
  position:absolute;
  z-index:35;
  right:0;
  top:calc(100% + 8px);
  width:min(650px,calc(100vw - var(--ke-sidebar-width) - 60px));
  display:grid;
  grid-template-columns:minmax(150px,.72fr) minmax(240px,1.28fr) auto;
  gap:8px;
  align-items:center;
  margin:0;
  padding:10px;
  border:1px solid rgba(148,163,184,.17);
  border-radius:13px;
  background:#101b2b;
  box-shadow:0 20px 55px rgba(0,0,0,.42);
}
.ke-calm-ui .ke-email-account-map .ke-select{
  min-height:36px;
  height:36px;
  font-size:9px;
}
.ke-calm-ui .ke-email-account-map .ke-primary-button{
  min-width:92px;
}
.ke-calm-ui .ke-email-readonly-mark{
  justify-self:end;
  color:#718198;
  font-size:8px;
}
.ke-calm-ui .ke-email-account-pill.is-unmapped{
  border-color:rgba(255,155,84,.2);
}
.ke-calm-ui .ke-email-account-pill.is-error,
.ke-calm-ui .ke-email-account-pill.is-reauthorization_required{
  border-color:rgba(255,93,108,.25);
}

@media (max-width:1280px){
  .ke-calm-ui .ke-email-account-list-head,
  .ke-calm-ui .ke-email-account-pill{
    grid-template-columns:minmax(225px,1.25fr) minmax(205px,1fr) minmax(105px,.48fr) 54px 78px;
    column-gap:10px;
  }
  .ke-calm-ui .ke-email-account-pill{padding-left:12px;padding-right:12px}
}

@media (max-width:1020px){
  .ke-calm-ui .ke-email-account-list-head{display:none}
  .ke-calm-ui .ke-email-account-pill{
    grid-template-columns:minmax(220px,1.25fr) minmax(190px,1fr) minmax(105px,.55fr) 52px 76px;
    min-height:66px;
  }
  .ke-calm-ui .ke-email-account-map{
    width:min(620px,calc(100vw - 42px));
  }
}

@media (max-width:800px){
  .ke-calm-ui .ke-email-account-strip{gap:8px}
  .ke-calm-ui .ke-email-account-pill{
    grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) auto;
    grid-template-areas:
      "mail relation editor"
      "device count editor";
    row-gap:7px;
    min-height:82px;
    padding:11px 12px;
  }
  .ke-calm-ui .ke-email-account-main{grid-area:mail}
  .ke-calm-ui .ke-email-account-relation{grid-area:relation}
  .ke-calm-ui .ke-email-account-device{grid-area:device;padding-left:16px}
  .ke-calm-ui .ke-email-account-count{grid-area:count;align-items:flex-start;flex-direction:row;gap:4px;justify-content:flex-start}
  .ke-calm-ui .ke-email-account-count small{margin-top:2px}
  .ke-calm-ui .ke-email-account-editor,.ke-calm-ui .ke-email-readonly-mark{grid-area:editor}
  .ke-calm-ui .ke-email-account-map{
    position:fixed;
    z-index:125;
    left:12px;
    right:12px;
    top:auto;
    bottom:calc(82px + env(safe-area-inset-bottom));
    width:auto;
    grid-template-columns:1fr 1.35fr auto;
  }
}

@media (max-width:580px){
  .ke-calm-ui .ke-email-account-pill{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "mail editor"
      "relation relation"
      "device count";
    min-height:0;
    padding:11px;
  }
  .ke-calm-ui .ke-email-account-main small{white-space:normal;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}
  .ke-calm-ui .ke-email-account-relation{padding-left:16px}
  .ke-calm-ui .ke-email-account-device{padding-left:16px}
  .ke-calm-ui .ke-email-map-toggle{width:36px;padding:0;font-size:0}
  .ke-calm-ui .ke-email-map-toggle .dashicons{width:15px;height:15px;font-size:15px}
  .ke-calm-ui .ke-email-account-map{
    grid-template-columns:1fr;
    bottom:calc(78px + env(safe-area-inset-bottom));
    padding:12px;
  }
  .ke-calm-ui .ke-email-account-map .ke-primary-button{width:100%}
}


/* V2.0.1 — owner/report/laporan table clarity */
.ke-table-owners{min-width:940px;table-layout:fixed}
.ke-table-owners th:nth-child(1),.ke-table-owners td:nth-child(1){width:34%}
.ke-table-owners th:nth-child(2),.ke-table-owners td:nth-child(2){width:21%}
.ke-table-owners th:nth-child(3),.ke-table-owners td:nth-child(3){width:9%}
.ke-table-owners th:nth-child(4),.ke-table-owners td:nth-child(4){width:14%}
.ke-table-owners th:nth-child(5),.ke-table-owners td:nth-child(5){width:10%;white-space:nowrap}
.ke-table-owners th:nth-child(6),.ke-table-owners td:nth-child(6){width:12%}
.ke-table-owners .ke-person-row{max-width:100%}
.ke-table-owners .ke-person-row>span:last-child{display:block;min-width:0}
.ke-table-owners .ke-person-row strong{display:block;line-height:1.35;white-space:normal;word-break:break-word}
.ke-table-owners td:nth-child(2) strong{display:block;white-space:normal;word-break:break-word}
.ke-table-owners td:nth-child(5) .ke-badge{display:inline-flex}

.ke-table-panel .ke-table:not(.ke-table-studios):not(.ke-daily-report-table){table-layout:fixed}
.ke-table-panel .ke-table:not(.ke-table-studios):not(.ke-daily-report-table) td{word-break:break-word}

.ke-daily-report-table{min-width:1180px;table-layout:fixed}
.ke-daily-report-table th:nth-child(1),.ke-daily-report-table td:nth-child(1){width:46px}
.ke-daily-report-table th:nth-child(2),.ke-daily-report-table td:nth-child(2){width:13%}
.ke-daily-report-table th:nth-child(3),.ke-daily-report-table td:nth-child(3){width:14%}
.ke-daily-report-table th:nth-child(4),.ke-daily-report-table td:nth-child(4){width:11%}
.ke-daily-report-table th:nth-child(5),.ke-daily-report-table td:nth-child(5){width:9%}
.ke-daily-report-table th:nth-child(6),.ke-daily-report-table td:nth-child(6){width:15%}
.ke-daily-report-table th:nth-child(7),.ke-daily-report-table td:nth-child(7){width:13%}
.ke-daily-report-table th:nth-child(8),.ke-daily-report-table td:nth-child(8){width:15%}
.ke-daily-report-table th:nth-child(9),.ke-daily-report-table td:nth-child(9){width:10%}
.ke-daily-report-table .ke-report-number{text-align:center}
.ke-daily-report-table td:nth-child(4) .ke-report-device{max-width:100%;overflow:hidden;text-overflow:ellipsis}

@media (max-width:900px){
  .ke-calm-ui .ke-table-owners,.ke-calm-ui .ke-daily-report-table{min-width:0!important}
  .ke-calm-ui .ke-table-owners tbody td.ke-mobile-action-cell,
  .ke-calm-ui .ke-daily-report-table tbody td.ke-mobile-action-cell{grid-template-columns:1fr}
}

/* V3.0.1 — per-shop Etsy API profile */
.ke-shop-api-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid rgba(148,163,184,.13);border-radius:14px;background:#0b1524}
.ke-shop-api-card>.dashicons{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:rgba(148,163,184,.08);color:#92a3b9;font-size:20px}
.ke-shop-api-card>div:nth-child(2){min-width:0}.ke-shop-api-card strong,.ke-shop-api-card small{display:block}.ke-shop-api-card strong{font-size:12px}.ke-shop-api-card small{margin-top:3px;color:#7d8fa8;font-size:9px;line-height:1.45;overflow-wrap:anywhere}
.ke-shop-api-card.is-connected{border-color:rgba(51,211,153,.22);background:rgba(51,211,153,.045)}.ke-shop-api-card.is-connected>.dashicons{background:rgba(51,211,153,.12);color:#65e2b3}
.ke-shop-api-card.is-warning{border-color:rgba(255,174,84,.24);background:rgba(255,174,84,.045)}.ke-shop-api-card.is-warning>.dashicons{background:rgba(255,174,84,.12);color:#ffbd79}
.ke-shop-api-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.ke-shop-api-actions .ke-text-button.is-danger{color:#ff8198}
.ke-api-ok{color:#65e2b3!important}.ke-api-off{color:#ff9c70!important}
@media(max-width:760px){.ke-shop-api-card{grid-template-columns:38px minmax(0,1fr)}.ke-shop-api-actions{grid-column:1/-1;justify-content:flex-start;padding-left:50px}}
@media(max-width:520px){.ke-shop-api-card{grid-template-columns:1fr}.ke-shop-api-card>.dashicons{display:none}.ke-shop-api-actions{padding-left:0;flex-wrap:wrap}}
@media(min-width:1321px){.ke-daily-report-summary,.ke-calm-ui .ke-daily-report-summary{grid-template-columns:repeat(7,minmax(0,1fr))}.ke-daily-report-stat strong,.ke-calm-ui .ke-daily-report-stat strong{font-size:clamp(16px,1.05vw,22px);font-variant-numeric:tabular-nums;letter-spacing:-.02em}}
.ke-daily-report-stat.is-orange{color:#ff9f5a}
.ke-email-badge.is-payout,.ke-email-badge.is-sent_to_bank{background:rgba(82,215,255,.11);color:#66dfff}.ke-email-badge.is-ready,.ke-email-badge.is-auto{background:rgba(22,199,132,.11);color:#5be1aa}.ke-email-badge.is-baseline{background:rgba(139,92,246,.12);color:#c3a8ff}.ke-email-badge.is-currency_review,.ke-email-badge.is-amount_review{background:rgba(255,174,84,.12);color:#ffbd79}

/* V5.0.3 — compact Studio Posting Matrix, desktop + responsive web */
.ke-studio-posting-filter{display:inline-flex;align-items:center;gap:3px;min-height:36px;padding:3px;border:1px solid rgba(148,163,184,.13);border-radius:11px;background:rgba(5,13,26,.34);white-space:nowrap}
.ke-studio-posting-filter button{min-height:28px;display:inline-flex;align-items:center;gap:5px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:#7f90a7;cursor:pointer;font-size:9px;font-weight:850;line-height:1;white-space:nowrap}
.ke-studio-posting-filter button:hover{color:#eef3fb}.ke-studio-posting-filter button.is-active{background:rgba(237,58,150,.12);color:#ff7abc}
.ke-studio-posting-filter button span{min-width:17px;height:17px;display:inline-grid;place-items:center;padding:0 4px;border-radius:99px;background:rgba(148,163,184,.09);color:#9eacc0;font-size:8px;font-variant-numeric:tabular-nums}.ke-studio-posting-filter button.is-active span{background:rgba(237,58,150,.15);color:#ff9aca}
.ke-table-studios{min-width:1280px}
.ke-table-studios th:nth-child(1){width:82px}.ke-table-studios th:nth-child(2){width:210px}.ke-table-studios th:nth-child(3),.ke-table-studios th:nth-child(4),.ke-table-studios th:nth-child(5){width:68px}.ke-table-studios th:nth-child(6){width:140px}.ke-table-studios th:nth-child(7){width:66px}.ke-table-studios th:nth-child(8){width:255px}.ke-table-studios th:nth-child(9){width:132px}.ke-table-studios th:nth-child(10){width:112px}.ke-table-studios th:nth-child(11){width:82px}
.ke-studio-mobile-code{display:none}
.ke-studio-posting-cell{padding-top:6px!important;padding-bottom:6px!important}
.ke-studio-posting-details{min-width:0}.ke-studio-posting-details>summary{list-style:none;display:flex;align-items:center;gap:6px;min-height:29px;cursor:pointer;min-width:0}.ke-studio-posting-details>summary::-webkit-details-marker{display:none}.ke-studio-posting-details>summary>.dashicons{width:13px;height:13px;margin-left:auto;color:#65778f;font-size:13px;transition:transform .16s ease}.ke-studio-posting-details[open]>summary>.dashicons{transform:rotate(180deg)}
.ke-posting-state{display:inline-flex;align-items:center;justify-content:center;min-width:43px;height:21px;padding:0 7px;border-radius:99px;font-size:8px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}.ke-posting-state.is-posted{background:rgba(49,214,158,.11);color:#66e2b6}.ke-posting-state.is-unposted{background:rgba(255,190,75,.1);color:#f4c86d}
.ke-posting-summary{min-width:0;overflow:hidden;color:#93a4bb;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.ke-posting-summary strong{color:#e9eff8;font-size:10px}
.ke-posted-shop-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px;padding:6px;border-radius:9px;background:rgba(5,13,26,.38)}.ke-posted-shop-chip{max-width:100%;display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid rgba(74,198,255,.12);border-radius:8px;background:rgba(74,198,255,.045);color:#a4bad0;font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ke-posted-shop-chip strong{color:#65d6ff;font-variant-numeric:tabular-nums}
.ke-studio-posting-empty{display:flex;align-items:center;gap:7px;min-width:0}.ke-studio-posting-empty small{margin:0;overflow:hidden;color:#72849d;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1180px){.ke-table-studios{min-width:1110px}.ke-table-studios th:nth-child(8){width:235px}}
@media(max-width:900px){
  .ke-studio-toolbar{gap:7px}.ke-studio-toolbar .ke-searchbox{flex:1 1 100%}.ke-studio-posting-filter{order:2;max-width:100%;overflow-x:auto;scrollbar-width:none}.ke-studio-posting-filter::-webkit-scrollbar{display:none}.ke-studio-toolbar #ke-studio-filter,.ke-studio-toolbar #ke-studio-device-filter{flex:1 1 150px}.ke-studio-toolbar #ke-add-studio{margin-left:auto}
  .ke-calm-ui .ke-table-studios{min-width:0!important}
  .ke-calm-ui .ke-table-studios tbody{gap:7px}
  .ke-calm-ui .ke-table-studios tbody tr{padding:6px 12px;border-radius:13px}
  .ke-calm-ui .ke-table-studios tbody td{grid-template-columns:86px minmax(0,1fr);gap:9px;padding:7px 0!important}
  .ke-calm-ui .ke-table-studios tbody td:nth-child(1),
  .ke-calm-ui .ke-table-studios tbody td:nth-child(3),
  .ke-calm-ui .ke-table-studios tbody td:nth-child(4),
  .ke-calm-ui .ke-table-studios tbody td:nth-child(5),
  .ke-calm-ui .ke-table-studios tbody td:nth-child(6),
  .ke-calm-ui .ke-table-studios tbody td:nth-child(7),
  .ke-calm-ui .ke-table-studios tbody td:nth-child(9){display:none!important}
  .ke-calm-ui .ke-table-studios tbody td:nth-child(2){grid-template-columns:minmax(0,1fr);padding-top:8px!important}.ke-calm-ui .ke-table-studios tbody td:nth-child(2):before{display:none}
  .ke-studio-mobile-code{display:inline-flex;align-items:center;justify-content:center;float:left;min-width:36px;height:20px;margin:0 7px 2px 0;padding:0 6px;border-radius:7px;background:rgba(237,58,150,.1);color:#ff8ec4;font-size:8px;font-weight:900;letter-spacing:.06em}
  .ke-calm-ui .ke-studio-name-link,.ke-calm-ui .ke-studio-name-cell>strong{display:inline;line-height:20px;font-size:12px}.ke-calm-ui .ke-studio-vault-link,.ke-calm-ui .ke-studio-name-cell>small{display:none}
  .ke-calm-ui .ke-table-studios tbody td:nth-child(8){grid-template-columns:86px minmax(0,1fr)}
  .ke-calm-ui .ke-table-studios tbody td:nth-child(10){grid-template-columns:86px minmax(0,1fr)}
  .ke-calm-ui .ke-table-studios tbody td:nth-child(11){grid-template-columns:1fr;padding-bottom:4px!important}.ke-calm-ui .ke-table-studios tbody td:nth-child(11):before{display:none}
  .ke-calm-ui .ke-table-studios tbody td:nth-child(11) .ke-row-actions{justify-content:flex-end}
  .ke-studio-posting-details>summary{min-height:24px}.ke-posted-shop-list{padding:5px;margin-top:5px}.ke-posting-summary{font-size:8px}
  .ke-studio-table-footer{min-height:0;padding:10px 12px}.ke-studio-footer-controls{gap:8px}.ke-page-size{display:none}
}
@media(max-width:560px){.ke-studio-toolbar #ke-add-studio{width:auto;min-width:0;padding:0 10px;font-size:9px}.ke-studio-posting-filter button{padding:0 7px;font-size:8px}.ke-calm-ui .ke-table-studios tbody td{grid-template-columns:72px minmax(0,1fr)}.ke-calm-ui .ke-table-studios tbody td:nth-child(8),.ke-calm-ui .ke-table-studios tbody td:nth-child(10){grid-template-columns:72px minmax(0,1fr)}.ke-posting-state{min-width:38px;padding:0 5px}}


/* V5.0.4 Multi-Studio Shop Picker */
.ke-multi-studio-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:210px;overflow:auto;padding:7px;border:1px solid var(--ke-border,#263248);border-radius:12px;background:rgba(5,14,29,.38)}
.ke-studio-choice{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 9px;border:1px solid rgba(123,141,174,.18);border-radius:10px;background:rgba(12,25,46,.74);cursor:pointer}
.ke-studio-choice:has(input:checked){border-color:rgba(236,72,153,.7);box-shadow:0 0 0 1px rgba(236,72,153,.16) inset}
.ke-studio-choice input{width:15px;height:15px;accent-color:#ec4899;flex:0 0 auto}
.ke-studio-choice span{display:flex;min-width:0;align-items:center;gap:6px}
.ke-studio-choice strong{font-size:11px;white-space:nowrap}
.ke-studio-choice small{font-size:10px;color:var(--ke-muted,#8190a8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ke-studio-choice:has(input:disabled){opacity:.42;cursor:not-allowed}
.ke-multi-studio-empty{padding:10px 12px;border:1px dashed rgba(123,141,174,.28);border-radius:10px;color:var(--ke-muted,#8190a8);font-size:11px}
@media(max-width:760px){.ke-multi-studio-picker{grid-template-columns:repeat(2,minmax(0,1fr));max-height:180px}.ke-studio-choice{padding:7px 8px}.ke-studio-choice small{display:none}}


/* V5.1.0 Five-Lane Turbo: compact, scan-first, no giant cards. */
.ke-al-five-lane-panel{padding:18px 20px}.ke-five-lane-head{align-items:center}.ke-five-lane-badge{display:inline-flex;align-items:center;height:28px;padding:0 10px;border:1px solid rgba(242,56,147,.32);border-radius:999px;background:rgba(242,56,147,.08);color:#ff6bb5;font-size:10px;font-weight:800;letter-spacing:.06em;white-space:nowrap}.ke-five-lane-picker{display:grid;gap:7px;margin-top:14px}.ke-five-lane-pick-row{display:grid;grid-template-columns:30px minmax(180px,1fr) minmax(200px,1.15fr) 12px;gap:8px;align-items:center;min-height:42px;padding:5px 8px;border:1px solid rgba(116,143,176,.14);border-radius:12px;background:rgba(7,16,31,.46)}.ke-five-lane-pick-row>b{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#14243a;color:#8ea2bd;font-size:10px}.ke-five-lane-pick-row .ke-select{height:34px;min-height:34px;padding-top:0;padding-bottom:0;font-size:11px}.ke-five-lane-ready-dot{width:8px;height:8px;border-radius:50%;background:#334155}.ke-five-lane-pick-row.is-ready .ke-five-lane-ready-dot{background:#35d3a7;box-shadow:0 0 0 4px rgba(53,211,167,.08)}.ke-five-lane-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:11px}.ke-five-lane-actions button{min-height:34px;padding:0 12px}.ke-five-lane-actions small{margin-left:auto;color:#7186a2;font-size:10px}.ke-five-lane-progress{margin-top:13px}.ke-five-lane-summary{display:flex;align-items:center;gap:8px;margin-bottom:7px;font-size:10px;color:#7f94ad}.ke-five-lane-summary strong{color:#dce8f5}.ke-five-lane-row{display:grid;grid-template-columns:26px minmax(135px,.8fr) 94px minmax(130px,.7fr) minmax(220px,1.5fr);gap:10px;align-items:center;padding:8px 9px;border-top:1px solid rgba(116,143,176,.11)}.ke-five-lane-row:first-of-type{border-top:0}.ke-five-lane-index{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#111f34;color:#94a8bf;font-size:9px;font-weight:800}.ke-five-lane-shop,.ke-five-lane-detail{min-width:0}.ke-five-lane-shop strong,.ke-five-lane-detail strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#f2f7fc}.ke-five-lane-shop small,.ke-five-lane-detail small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:9px;color:#7288a2}.ke-five-lane-stage{display:inline-flex;justify-content:center;align-items:center;height:24px;border-radius:999px;font-size:8px;font-weight:900;letter-spacing:.05em;background:#14243a;color:#94a8bf}.ke-five-lane-stage.is-uploading{background:rgba(39,185,255,.12);color:#57caff}.ke-five-lane-stage.is-preparing{background:rgba(139,92,246,.13);color:#ad89ff}.ke-five-lane-stage.is-ready{background:rgba(53,211,167,.12);color:#55dfb7}.ke-five-lane-stage.is-verifying{background:rgba(242,56,147,.12);color:#ff6bb5}.ke-five-lane-stage.is-rate{background:rgba(245,184,65,.13);color:#f5c45c}.ke-five-lane-stage.is-complete{background:rgba(53,211,167,.12);color:#55dfb7}.ke-five-lane-bar{display:flex;align-items:center;gap:7px}.ke-five-lane-bar>div{height:5px;flex:1;overflow:hidden;border-radius:99px;background:#07101f}.ke-five-lane-bar>div>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f23893,#8b5cf6)}.ke-five-lane-bar b{font-size:9px;color:#b6c5d6}.ke-five-lane-empty{padding:13px;border:1px dashed rgba(116,143,176,.18);border-radius:12px;background:rgba(7,16,31,.35)}.ke-five-lane-empty strong,.ke-five-lane-empty small{display:block}.ke-five-lane-empty strong{font-size:11px;color:#dbe7f5}.ke-five-lane-empty small{margin-top:3px;font-size:9px;color:#7186a2}
@media(max-width:900px){.ke-five-lane-pick-row{grid-template-columns:26px 1fr 1fr 8px}.ke-five-lane-actions small{width:100%;margin-left:0}.ke-five-lane-row{grid-template-columns:24px minmax(105px,.9fr) 82px minmax(95px,.7fr);gap:7px}.ke-five-lane-detail{grid-column:2 / -1;padding-left:0}.ke-five-lane-stage{height:22px}.ke-al-five-lane-panel{padding:14px}}
@media(max-width:620px){.ke-five-lane-pick-row{grid-template-columns:24px 1fr 8px}.ke-five-lane-pick-row [data-five-studio]{grid-column:2}.ke-five-lane-row{grid-template-columns:22px 1fr 76px}.ke-five-lane-bar{grid-column:2 / -1}.ke-five-lane-detail{grid-column:2 / -1}.ke-five-lane-actions button{flex:1 1 auto}.ke-five-lane-head small{max-width:260px}}

/* V5.1.0 primary 5-Lane entry + clearly secondary single-store mode */
.ke-single-mode-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:9px 11px;border:1px solid rgba(148,163,184,.14);border-radius:12px;background:rgba(15,23,42,.38)}
.ke-single-mode-head>div{display:flex;align-items:baseline;gap:9px;min-width:0;flex-wrap:wrap}.ke-single-mode-head strong{font-size:13px}.ke-single-mode-head small{font-size:11px;color:var(--ke-muted,#8da0bd)}.ke-single-mode-head>span{font-size:9px;font-weight:800;letter-spacing:.08em;padding:4px 7px;border-radius:999px;background:rgba(148,163,184,.1);color:var(--ke-muted,#8da0bd)}
.ke-al-five-lane-panel{border-color:rgba(236,72,153,.24);box-shadow:0 12px 32px rgba(0,0,0,.08)}
.ke-al-five-lane-panel #ke-al-five-lane-start:disabled{opacity:.5;cursor:not-allowed;filter:saturate(.55)}
@media(max-width:620px){.ke-single-mode-head{padding:8px 9px}.ke-single-mode-head small{flex-basis:100%}.ke-single-mode-head>span{display:none}}


/* V6.2.4 shop balance column */
.ke-table-shops-v14 .ke-shop-balance-cell{min-width:140px;}
.ke-shop-balance-cell .ke-shop-balance-amount{display:block;font-weight:700;color:#7ef0c4;}
.ke-shop-balance-cell .ke-shop-balance-amount.is-negative{color:#ff8b9c;}
.ke-shop-balance-cell small{display:block;color:var(--ke-text-soft, #8aa0c6);margin-top:4px;}

/* V6.3.0 Multi-Database: 5-Lane rows include Toko + Database + Studio. */
.ke-five-lane-pick-row.ke-five-lane-pick-row-db{grid-template-columns:30px minmax(160px,.85fr) minmax(170px,.9fr) minmax(190px,1.1fr) 12px}
@media(max-width:1050px){.ke-five-lane-pick-row.ke-five-lane-pick-row-db{grid-template-columns:26px 1fr 1fr 1fr 8px}}
@media(max-width:720px){.ke-five-lane-pick-row.ke-five-lane-pick-row-db{grid-template-columns:24px 1fr 8px}.ke-five-lane-pick-row.ke-five-lane-pick-row-db [data-five-vault],.ke-five-lane-pick-row.ke-five-lane-pick-row-db [data-five-studio]{grid-column:2}}


/* V6.3.1 · Studio Multi-Database Binding Editor */
.ke-vault-bindings-shell{display:grid;gap:10px;margin-top:2px}.ke-vault-db-card{padding:12px;border:1px solid var(--ke-border,#20304d);border-radius:13px;background:linear-gradient(145deg,rgba(16,30,53,.86),rgba(8,18,35,.9))}.ke-vault-db-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:9px}.ke-vault-db-head>div{min-width:0;display:flex;flex-direction:column;gap:2px}.ke-vault-db-head strong{color:#f5f8ff;font-size:12px;line-height:1.35}.ke-vault-db-head small{color:var(--ke-muted,#8397bb);font-size:9px;line-height:1.35}.ke-vault-db-status{flex:0 0 auto;display:inline-flex;align-items:center;padding:4px 7px;border:1px solid rgba(255,255,255,.08);border-radius:999px;font-size:8px;font-weight:900;letter-spacing:.08em}.ke-vault-db-status.is-online{border-color:rgba(55,211,155,.24);background:rgba(55,211,155,.09);color:#52e5ae}.ke-vault-db-status.is-offline{border-color:rgba(255,116,142,.22);background:rgba(255,116,142,.08);color:#ff8aa2}.ke-vault-db-card>label{display:block;margin:0 0 6px;color:#91a7cb;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.ke-vault-db-card select{width:100%}.ke-vault-bindings-empty{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px dashed #314362;border-radius:13px;background:#0a1528}.ke-vault-bindings-empty>.dashicons{color:#69b8ff;margin-top:2px}.ke-vault-bindings-empty>div{display:flex;flex-direction:column;gap:3px}.ke-vault-bindings-empty strong{font-size:11px;color:#eef5ff}.ke-vault-bindings-empty small{font-size:9px;color:#8196b8;line-height:1.45}@media(max-width:620px){.ke-vault-db-head{align-items:flex-start}.ke-vault-db-status{font-size:7px}.ke-vault-db-card{padding:10px}}
