@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--ark-bg:#f4f6f8;--ark-panel:#fff;--ark-ink:#101314;--ark-muted:#737b80;--ark-line:#e5e8ea;--ark-sidebar:#101312;--ark-accent:#b9f20d;--ark-green:#6d8400;--ark-danger:#b42318;--ark-shadow:0 12px 36px rgba(16,24,40,.06);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ark-ink)}*{box-sizing:border-box}body{margin:0;background:var(--ark-bg);color:var(--ark-ink)}a{text-decoration:none;color:inherit}.ark-login-body{min-height:100vh;background:radial-gradient(circle at 80% 10%,rgba(185,242,13,.16),transparent 26%),linear-gradient(135deg,#f6f7f2,#eef1ea);display:grid;place-items:center;padding:28px}.ark-login-shell{width:min(1040px,100%);display:grid;grid-template-columns:.85fr 1.15fr;gap:26px;align-items:stretch}.ark-login-brand{min-height:560px;background:#101312;color:#fff;border-radius:30px;padding:34px;display:flex;align-items:flex-end;gap:14px;box-shadow:var(--ark-shadow);position:relative;overflow:hidden}.ark-login-brand:before{content:"";position:absolute;width:430px;height:430px;border:1px solid rgba(255,255,255,.08);border-radius:50%;top:-170px;right:-170px;box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.02)}.ark-login-brand strong{display:block;font-size:24px}.ark-login-brand span{display:block;color:#adb4af;font-size:13px;margin-top:3px}.ark-brand-mark{width:48px;height:48px;display:grid;place-items:center;background:var(--ark-accent);color:#F1F5F9;border-radius:14px;font-weight:900;letter-spacing:-.04em;position:relative;z-index:1}.ark-login-card{background:#fff;border:1px solid var(--ark-line);border-radius:30px;padding:clamp(28px,5vw,58px);box-shadow:var(--ark-shadow);align-self:stretch;display:flex;flex-direction:column;justify-content:center}.ark-login-kicker{font-size:11px;font-weight:800;letter-spacing:.13em;color:#80877e}.ark-login-card h1{font-size:48px;line-height:.95;letter-spacing:-.055em;margin:14px 0 14px}.ark-login-card>p{margin:0 0 26px;color:var(--ark-muted);line-height:1.65}.ark-login-form{display:grid;gap:16px}.ark-login-form label>span,.ark-field>span{display:block;font-size:12px;font-weight:750;color:#4c5558;margin-bottom:7px}.ark-login-form input,.ark-field input,.ark-field select,.ark-field textarea{width:100%;border:1px solid #d9dde0;background:#fff;border-radius:12px;padding:12px 13px;min-height:47px;font:inherit;outline:none;transition:.2s}.ark-login-form input:focus,.ark-field input:focus,.ark-field select:focus,.ark-field textarea:focus{border-color:#9cbd17;box-shadow:0 0 0 4px rgba(185,242,13,.12)}.ark-check-row{display:flex!important;align-items:center;gap:8px}.ark-check-row input{width:16px!important;min-height:auto}.ark-check-row span{margin:0!important}.ark-primary-btn{border:0;background:#101312;color:#fff;border-radius:12px;min-height:48px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:14px;font-weight:800;cursor:pointer;transition:.2s}.ark-primary-btn:hover{transform:translateY(-1px);background:#1c211f}.ark-primary-btn span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--ark-accent);color:#F1F5F9}.ark-login-foot{margin-top:22px;color:#9aa09c;font-size:11px}.ark-alert{border-radius:12px;padding:12px 14px;font-size:13px;margin:0 0 16px}.ark-alert-error{background:#fff0f0;color:#a52a22;border:1px solid #ffd5d1}.ark-alert-success{background:#f3fbdc;color:#4d6200;border:1px solid #d9ef9b}.ark-app-body{min-height:100vh;overflow-x:hidden}.ark-app-shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.ark-sidebar{position:sticky;top:0;height:100vh;background:var(--ark-sidebar);color:#fff;padding:20px 15px;display:flex;flex-direction:column;z-index:30}.ark-sidebar-brand{display:flex;align-items:center;gap:11px;padding:5px 6px 25px}.ark-sidebar-brand .ark-brand-mark{width:42px;height:42px;border-radius:12px;font-size:13px}.ark-sidebar-brand strong{display:block;font-size:15px}.ark-sidebar-brand span{display:block;color:#7f8984;font-size:11px;margin-top:2px;text-transform:uppercase;letter-spacing:.08em}.ark-nav{display:grid;gap:5px}.ark-nav a{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 12px;border-radius:11px;color:#aeb5b1;font-size:13px;font-weight:700;transition:.18s}.ark-nav a:hover{background:#191e1b;color:#fff}.ark-nav a.active{background:#222821;color:#fff;box-shadow:inset 3px 0 0 var(--ark-accent)}.ark-nav-icon{width:25px;text-align:center;color:#d7ddd9;font-size:15px}.ark-sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding-top:15px}.ark-mini-profile{display:flex;align-items:center;gap:10px;padding:8px}.ark-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e9efd5;color:#526500;font-weight:850;font-size:11px;flex:0 0 36px}.ark-mini-profile strong{display:block;font-size:12px}.ark-mini-profile small{display:block;color:#7f8984;font-size:10px;margin-top:2px}.ark-logout{display:block;margin-top:6px;padding:9px 9px;color:#8f9893;font-size:11px}.ark-main{min-width:0}.ark-topbar{min-height:88px;padding:18px clamp(18px,3vw,36px);display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--ark-line);background:rgba(244,246,248,.92);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}.ark-topbar h1{margin:3px 0 0;font-size:25px;letter-spacing:-.035em}.ark-top-kicker{font-size:9px;font-weight:850;letter-spacing:.13em;color:#8b928e}.ark-top-actions{display:flex;align-items:center;gap:10px}.ark-version{padding:6px 9px;border:1px solid var(--ark-line);background:#fff;border-radius:999px;color:#70777a;font-size:10px;font-weight:800}.ark-menu-btn{display:none;border:0;background:#fff;border:1px solid var(--ark-line);width:40px;height:40px;border-radius:10px;font-size:18px}.ark-content{padding:clamp(20px,3vw,36px);max-width:1600px;margin:0 auto}.ark-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.ark-section-head h2{font-size:31px;letter-spacing:-.045em;margin:0 0 5px}.ark-section-head p{margin:0;color:var(--ark-muted);font-size:13px}.ark-section-badge{background:#eef7d1;border:1px solid #d8eaa0;color:#5a7100;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800}.ark-metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.ark-metric{background:#fff;border:1px solid var(--ark-line);border-radius:16px;padding:17px;box-shadow:0 5px 18px rgba(16,24,40,.035)}.ark-metric>span{display:block;color:#777f82;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.ark-metric>strong{display:block;margin:9px 0 5px;font-size:25px;letter-spacing:-.04em}.ark-metric>small{color:#AEBBC8;font-size:10px}.ark-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ark-panel{background:#fff;border:1px solid var(--ark-line);border-radius:18px;padding:20px;margin-bottom:18px;box-shadow:0 5px 18px rgba(16,24,40,.035)}.ark-panel-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.ark-panel-title h3{margin:0;font-size:17px;letter-spacing:-.025em}.ark-panel-title span{font-size:10px;color:#8b9396;font-weight:700}.ark-breakdown>div{display:flex;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid #f0f2f3;font-size:12px}.ark-breakdown>div:last-child{border-bottom:0}.ark-breakdown strong{font-size:12px}.ark-empty{color:#AEBBC8;font-size:12px;padding:10px 0}.ark-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ark-field-full,.ark-form-actions{grid-column:1/-1}.ark-form-actions{padding-top:3px}.ark-form-actions .ark-primary-btn{min-width:150px}.ark-table-wrap{overflow:auto;border:1px solid var(--ark-line);border-radius:13px}.ark-table{width:100%;border-collapse:collapse;min-width:760px}.ark-table th{background:#f8f9fa;color:#798184;text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.07em;padding:11px 12px;border-bottom:1px solid var(--ark-line)}.ark-table td{padding:12px;border-bottom:1px solid #eef0f1;font-size:12px;vertical-align:middle}.ark-table tbody tr:last-child td{border-bottom:0}.ark-table td strong{display:block;font-size:12px}.ark-table td small{display:block;color:#AEBBC8;margin-top:3px}.ark-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;background:#f0f2f3;color:#596166;font-size:9px;font-weight:800;white-space:nowrap}.ark-pill-income,.ark-pill-active,.ark-pill-enrolled,.ark-pill-done{background:#e8f8ed;color:#217244}.ark-pill-expense,.ark-pill-urgent,.ark-pill-lost,.ark-pill-cancelled{background:#fff0ef;color:#b42318}.ark-pill-high,.ark-pill-payment_pending,.ark-pill-follow_up{background:#fff5df;color:#9d6200}.ark-empty-cell{text-align:center!important;color:#AEBBC8!important;padding:28px!important}.ark-sidebar-overlay{display:none}.ark-sidebar.open{transform:translateX(0)}
@media(max-width:1250px){.ark-metric-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:960px){.ark-app-shell{grid-template-columns:1fr}.ark-sidebar{position:fixed;left:0;top:0;width:250px;transform:translateX(-102%);transition:.22s;box-shadow:18px 0 50px rgba(0,0,0,.18)}.ark-menu-btn{display:inline-grid;place-items:center}.ark-topbar{justify-content:flex-start}.ark-top-actions{margin-left:auto}.ark-form-grid{grid-template-columns:repeat(2,1fr)}.ark-two-col{grid-template-columns:1fr}.ark-login-shell{grid-template-columns:1fr}.ark-login-brand{display:none}}
@media(max-width:640px){.ark-content{padding:17px 12px}.ark-topbar{padding:13px 12px;min-height:72px}.ark-topbar h1{font-size:21px}.ark-version{display:none}.ark-section-head{align-items:flex-start;flex-direction:column}.ark-section-head h2{font-size:26px}.ark-metric-grid{grid-template-columns:repeat(2,1fr);gap:9px}.ark-metric{padding:14px}.ark-metric>strong{font-size:20px}.ark-form-grid{grid-template-columns:1fr}.ark-panel{padding:14px;border-radius:15px}.ark-login-body{padding:12px}.ark-login-card{padding:28px 20px;border-radius:22px}.ark-login-card h1{font-size:40px}}

/* V0.3 Academy + Fees */
.ark-nav{overflow-y:auto;min-height:0;padding-right:2px}.ark-nav::-webkit-scrollbar{width:4px}.ark-nav::-webkit-scrollbar-thumb{background:#303632;border-radius:10px}.ark-sidebar-bottom{flex:0 0 auto}.ark-metric-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.ark-table-link{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border:1px solid #dfe4e1;border-radius:9px;background:#fff;font-size:10px;font-weight:800;white-space:nowrap}.ark-table-link:hover{border-color:#b7d13b;background:#f8fce9}.ark-secondary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border:1px solid var(--ark-line);border-radius:11px;background:#fff;font-size:12px;font-weight:800}.ark-detail-back{margin-bottom:13px}.ark-detail-back a{color:#687175;font-size:11px;font-weight:800}.ark-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.ark-profile-grid>div{padding:12px 0;border-bottom:1px solid #eef0f1}.ark-profile-grid span{display:block;color:#AEBBC8;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}.ark-profile-grid strong{display:block;font-size:12px}.ark-note-box{margin-top:16px;padding:13px 14px;border-radius:12px;background:#f7f8f8;color:#626b6f;font-size:12px;line-height:1.55}.ark-success-box{padding:15px;border-radius:12px;background:#f1f9d7;border:1px solid #d8eaa0;color:#536900;font-size:12px;font-weight:750}.ark-panel-copy{margin:-2px 0 18px;color:var(--ark-muted);font-size:12px;line-height:1.6}.ark-pill-overdue{background:#fff0ef;color:#b42318}.ark-pill-partial{background:#fff5df;color:#9d6200}.ark-pill-unpaid,.ark-pill-upcoming{background:#eef3f5;color:#CFD9E3}.ark-pill-completed{background:#e8f8ed;color:#217244}.ark-pill-paused{background:#fff5df;color:#9d6200}
@media(max-width:1250px){.ark-metric-grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.ark-metric-grid-4{grid-template-columns:repeat(2,1fr)}.ark-profile-grid{grid-template-columns:1fr}}


/* V0.4 — cards, filters, profile media, delete actions */
.ark-filter-panel{background:#fff;border:1px solid var(--ark-line);border-radius:16px;padding:14px 16px;margin-bottom:18px;box-shadow:0 5px 18px rgba(16,24,40,.025)}
.ark-filter-form{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr)) auto;gap:10px;align-items:end}
.ark-filter-field span{display:block;margin:0 0 6px;color:#7b8386;font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
.ark-filter-field input,.ark-filter-field select{width:100%;min-height:39px;border:1px solid #dfe3e5;background:#fff;border-radius:10px;padding:0 10px;font:inherit;font-size:11px;outline:none}
.ark-filter-field input:focus,.ark-filter-field select:focus{border-color:#a9c72b;box-shadow:0 0 0 3px rgba(185,242,13,.1)}
.ark-filter-actions{display:flex;align-items:center;gap:9px;min-height:39px}.ark-filter-apply{min-height:39px;border:0;border-radius:10px;background:#111512;color:#fff;padding:0 13px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.ark-filter-actions a{font-size:10px;font-weight:800;color:#778084;white-space:nowrap}
.ark-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.ark-person-card{border:1px solid #e1e5e6;border-radius:16px;background:#fff;padding:16px;box-shadow:0 5px 16px rgba(16,24,40,.025);transition:.18s}.ark-person-card:hover{transform:translateY(-1px);box-shadow:0 10px 25px rgba(16,24,40,.055);border-color:#d7ddda}
.ark-person-card-head{display:flex;align-items:center;gap:11px;min-width:0}.ark-profile-avatar{width:44px;height:44px;border-radius:13px;overflow:hidden;display:grid;place-items:center;flex:0 0 44px;background:#eaf1d3;color:#506500;font-size:12px;font-weight:900}.ark-profile-avatar img{width:100%;height:100%;display:block;object-fit:cover}.ark-person-card-title{min-width:0;flex:1}.ark-person-card-title h4{margin:0;font-size:15px;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ark-person-card-title span{display:block;margin-top:3px;color:#AEBBC8;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ark-mode-badge{align-self:flex-start;border-radius:999px;padding:6px 8px;font-size:8px;font-weight:900;letter-spacing:.08em}.ark-mode-online{background:#e9f3ff;color:#275f9b}.ark-mode-offline{background:#f1f8d9;color:#617600}
.ark-card-info{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0 12px}.ark-card-info>div{min-width:0;padding:10px;border-radius:11px;background:#f8f9f9}.ark-card-info span,.ark-money-row span{display:block;color:#AEBBC8;font-size:8px;font-weight:850;letter-spacing:.05em;text-transform:uppercase;margin-bottom:4px}.ark-card-info strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ark-money-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;border:1px solid #edf0f1;border-radius:11px;overflow:hidden}.ark-money-row>div{padding:9px;background:#fff;border-right:1px solid #edf0f1}.ark-money-row>div:last-child{border-right:0}.ark-money-row strong{font-size:11px;white-space:nowrap}.ark-text-warn{color:#a35f00}.ark-text-good{color:#287044}
.ark-person-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;color:#AEBBC8;font-size:9px}.ark-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid #f0f1f2}.ark-card-actions .ark-secondary-btn{min-height:35px;padding:0 11px;font-size:10px}
.ark-delete-form{display:inline-flex;margin:0}.ark-delete-btn{border:0;background:transparent;color:#b42318;font-size:9px;font-weight:850;cursor:pointer;padding:7px 4px}.ark-delete-btn:hover{text-decoration:underline}.ark-field-hint{display:block;margin-top:5px;color:#AEBBC8;font-size:9px}.ark-empty-box{padding:24px;text-align:center;border:1px dashed #dce1e2;border-radius:12px}
@media(max-width:1180px){.ark-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ark-filter-form{grid-template-columns:repeat(3,minmax(120px,1fr))}.ark-filter-actions{grid-column:1/-1}}
@media(max-width:720px){.ark-card-grid{grid-template-columns:1fr}.ark-filter-form{grid-template-columns:1fr 1fr}.ark-filter-actions{grid-column:1/-1}.ark-person-card{padding:14px}}
@media(max-width:460px){.ark-filter-form{grid-template-columns:1fr}.ark-card-info{grid-template-columns:1fr}.ark-money-row{grid-template-columns:1fr}.ark-money-row>div{border-right:0;border-bottom:1px solid #edf0f1}.ark-money-row>div:last-child{border-bottom:0}}


/* V0.5 — editing + team permission system */
.ark-inline-actions{display:flex;gap:9px;margin:-8px 0 16px}.ark-edit-panel{border-color:#dbe6b2;box-shadow:0 0 0 3px rgba(185,242,13,.055)}.ark-edit-note{margin:13px 0 0}.ark-view-only-box{padding:13px 14px;border:1px solid #e4e8e9;border-radius:11px;background:#f8f9fa;color:#667075;font-size:11px;font-weight:700;line-height:1.5}.ark-hidden-form{display:none!important}.ark-profile-media{display:flex;align-items:center;gap:13px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #eef0f1}.ark-profile-media h3{margin:0;font-size:16px}.ark-profile-media p{margin:3px 0 0;color:#AEBBC8;font-size:11px}.ark-access-chip-row{display:flex;flex-wrap:wrap;gap:8px}.ark-access-chip{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid #e0e5e1;border-radius:10px;background:#fff;font-size:10px;font-weight:850}.ark-access-chip:hover{background:#f8fce9;border-color:#cfe078}.ark-permission-table{overflow:hidden;border:1px solid #e1e5e6;border-radius:13px}.ark-permission-row{display:grid;grid-template-columns:minmax(160px,1.4fr) repeat(3,minmax(90px,.6fr));align-items:center;min-height:46px;padding:0 13px;border-bottom:1px solid #edf0f1}.ark-permission-row:last-child{border-bottom:0}.ark-permission-row>strong{font-size:11px}.ark-permission-row>label{display:flex;align-items:center;gap:6px;font-size:10px;color:#B0BECC}.ark-permission-row input{accent-color:#9cc900}.ark-permission-head{background:#f8f9fa;color:#AEBBC8;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.ark-permission-head>span{text-align:left}.ark-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.ark-team-card{padding:16px;border:1px solid #e1e5e6;border-radius:16px;background:#fff}.ark-team-access{margin:14px 0 0;padding:11px;border-radius:11px;background:#f8f9f9}.ark-team-access>span{display:block;color:#AEBBC8;font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.ark-team-access p{margin:5px 0 0;color:#586064;font-size:10px;line-height:1.55}
@media(max-width:1100px){.ark-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.ark-team-grid{grid-template-columns:1fr}.ark-permission-row{grid-template-columns:1.2fr repeat(3,.7fr);padding:0 8px}.ark-permission-row>label span{display:none}}

/* V0.6 finance-growth modules */
.ark-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.ark-row-actions form{margin:0}.ark-row-actions .ark-delete-form{display:inline-flex}.ark-pill-approved{background:#eef7d1;color:#5a7100}.ark-pill-pending,.ark-pill-prospect,.ark-pill-contacted,.ark-pill-meeting,.ark-pill-proposal,.ark-pill-negotiation{background:#eef3f5;color:#CFD9E3}.ark-pill-paid{background:#e8f8ed;color:#217244}.ark-pill-inactive{background:#f0f2f3;color:#6d7478}

/* =========================================================
   V0.6.1 — GLOBAL CARD-FIRST DATA UI
   Permanent product rule: saved operational data is displayed
   as cards, not spreadsheet-like rows.
========================================================= */
.ark-table-wrap{
  overflow:visible;
  border:0;
  border-radius:0;
}
.ark-record-card-table{
  width:100%;
  min-width:0!important;
  display:block;
  border-collapse:separate;
}
.ark-record-card-table thead{
  display:none;
}
.ark-record-card-table tbody{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}
.ark-record-card-table tbody tr{
  min-width:0;
}
.ark-record-card-table .ark-record-card{
  display:flex;
  flex-direction:column;
  padding:15px;
  border:1px solid #e1e5e6;
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 16px rgba(16,24,40,.025);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.ark-record-card-table .ark-record-card:hover{
  transform:translateY(-1px);
  border-color:#d5dcda;
  box-shadow:0 10px 25px rgba(16,24,40,.055);
}
.ark-record-card-table .ark-record-card td{
  width:100%;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  min-height:34px;
  padding:8px 0;
  border:0;
  border-bottom:1px solid #eff1f2;
  font-size:11px;
  line-height:1.45;
  text-align:right;
  overflow-wrap:anywhere;
}
.ark-record-card-table .ark-record-card td::before{
  content:attr(data-label);
  flex:0 0 auto;
  max-width:45%;
  color:#AEBBC8;
  font-size:8px;
  font-weight:850;
  letter-spacing:.06em;
  line-height:1.4;
  text-transform:uppercase;
  text-align:left;
}
.ark-record-card-table .ark-record-card td:last-child{
  border-bottom:0;
}
.ark-record-card-table .ark-record-card .ark-record-primary{
  display:block;
  min-height:auto;
  margin:0 0 5px;
  padding:0 0 12px;
  text-align:left;
}
.ark-record-card-table .ark-record-card .ark-record-primary::before{
  display:block;
  max-width:none;
  margin-bottom:6px;
}
.ark-record-card-table .ark-record-card .ark-record-primary strong{
  display:block;
  color:#171b19;
  font-size:14px;
  letter-spacing:-.02em;
}
.ark-record-card-table .ark-record-card .ark-record-primary small{
  display:block;
  margin-top:3px;
  color:#AEBBC8;
  font-size:10px;
}
.ark-record-card-table .ark-record-card td>strong{
  display:inline;
  font-size:11px;
}
.ark-record-card-table .ark-record-card td>small{
  display:inline;
  margin:0;
}
.ark-record-card-table .ark-record-card td .ark-pill{
  margin-left:auto;
}
.ark-record-card-table .ark-record-card td form{
  margin:0 0 0 auto;
}
.ark-record-card-table .ark-record-card td .ark-row-actions,
.ark-record-card-table .ark-record-card td .ark-delete-form{
  margin-left:auto;
}
.ark-record-card-table .ark-record-card .ark-record-actions-cell{
  align-items:center;
  padding-top:11px;
}
.ark-record-card-table .ark-record-card .ark-record-actions-cell::before{
  content:'Actions';
}
.ark-record-card-table .ark-record-empty-card{
  grid-column:1/-1;
  display:block;
  border:1px dashed #dce1e2;
  border-radius:14px;
  background:#fff;
}
.ark-record-card-table .ark-record-empty-card .ark-empty-cell{
  display:block;
  width:100%;
  border:0!important;
  text-align:center!important;
}
.ark-record-card-table .ark-record-empty-card .ark-empty-cell::before{
  display:none;
}

/* Keep cards compact and readable on every screen size. */
@media(max-width:1180px){
  .ark-record-card-table tbody{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .ark-record-card-table tbody{grid-template-columns:1fr}
  .ark-record-card-table .ark-record-card{padding:14px}
}
@media(max-width:420px){
  .ark-record-card-table .ark-record-card td{
    display:block;
    text-align:left;
  }
  .ark-record-card-table .ark-record-card td::before{
    display:block;
    max-width:none;
    margin-bottom:4px;
  }
  .ark-record-card-table .ark-record-card td .ark-pill,
  .ark-record-card-table .ark-record-card td form,
  .ark-record-card-table .ark-record-card td .ark-row-actions,
  .ark-record-card-table .ark-record-card td .ark-delete-form{
    margin-left:0;
  }
}

/* =========================================================
   V0.8 — STABILIZED FOUNDER DASHBOARD + COMMISSION LEDGER
========================================================= */
.ark-founder-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:26px;align-items:stretch;margin-bottom:18px;padding:30px;border-radius:24px;background:linear-gradient(135deg,#101312 0%,#171c18 60%,#20281b 100%);color:#fff;box-shadow:0 20px 48px rgba(16,19,18,.14)}
.ark-founder-hero:before{content:"";position:absolute;width:380px;height:380px;border-radius:50%;right:-160px;top:-250px;border:1px solid rgba(185,242,13,.14);box-shadow:0 0 0 70px rgba(185,242,13,.025),0 0 0 140px rgba(185,242,13,.018);pointer-events:none}
.ark-founder-copy,.ark-founder-profit{position:relative;z-index:2}.ark-founder-kicker{font-size:9px;font-weight:900;letter-spacing:.16em;color:#b6c0b9}.ark-founder-copy h2{margin:10px 0 9px;font-size:clamp(32px,4vw,52px);line-height:.98;letter-spacing:-.055em}.ark-founder-copy p{max-width:690px;margin:0;color:#aeb7b1;font-size:13px;line-height:1.65}.ark-quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.ark-quick-actions a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.11);border-radius:10px;background:rgba(255,255,255,.055);color:#f4f7f4;font-size:10px;font-weight:850;transition:.18s}.ark-quick-actions a:hover{border-color:rgba(185,242,13,.55);background:rgba(185,242,13,.08);transform:translateY(-1px)}
.ark-founder-profit{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:22px;border:1px solid rgba(185,242,13,.18);border-radius:18px;background:rgba(185,242,13,.07);backdrop-filter:blur(8px)}.ark-founder-profit>span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#bdc6c0}.ark-founder-profit>strong{display:block;margin:10px 0 7px;color:#c8ff22;font-size:clamp(31px,3vw,45px);line-height:1;letter-spacing:-.05em}.ark-founder-profit>small{color:#aeb7b1;font-size:10px;line-height:1.5}.ark-founder-profit>em{display:inline-flex;align-self:flex-start;margin-top:13px;padding:6px 8px;border-radius:999px;background:rgba(255,255,255,.08);color:#dde4df;font-size:9px;font-style:normal;font-weight:800}
.ark-core-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.ark-core-card{position:relative;display:block;min-height:142px;padding:17px 18px;border:1px solid var(--ark-line);border-radius:17px;background:#fff;box-shadow:0 7px 20px rgba(16,24,40,.035);transition:.18s}.ark-core-card:hover{transform:translateY(-2px);border-color:#d4ddcf;box-shadow:0 14px 30px rgba(16,24,40,.065)}.ark-core-card>span{display:block;color:#AEBBC8;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.ark-core-card>strong{display:block;margin:9px 0 6px;font-size:27px;letter-spacing:-.045em}.ark-core-card>small{display:block;max-width:85%;color:#AEBBC8;font-size:10px;line-height:1.45}.ark-core-card>b{position:absolute;right:16px;bottom:15px;color:#687300;font-size:9px}
.ark-attention-panel{margin-bottom:18px;padding:20px;border:1px solid var(--ark-line);border-radius:19px;background:#fff;box-shadow:0 6px 20px rgba(16,24,40,.035)}.ark-attention-panel .ark-panel-title{margin-bottom:14px}.ark-attention-panel .ark-panel-title h3{margin:0}.ark-attention-panel .ark-panel-title p{margin:4px 0 0;color:#AEBBC8;font-size:10px}.ark-attention-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.ark-attention-card{position:relative;min-height:104px;padding:13px 14px;border:1px solid #e7eaeb;border-radius:13px;background:#fafbfb;transition:.18s}.ark-attention-card:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:10px;background:#c7cccf}.ark-attention-card>span{display:block;color:#AEBBC8;font-size:9px;font-weight:850}.ark-attention-card>strong{display:block;margin:8px 0 5px;font-size:18px;letter-spacing:-.03em}.ark-attention-card>small{color:#AEBBC8;font-size:9px;line-height:1.4}.ark-attention-card:hover{transform:translateY(-1px);background:#fff}.ark-attention-danger:before{background:#d43b30}.ark-attention-warn:before{background:#e7a61a}.ark-attention-good:before{background:#4d9f68}.ark-attention-neutral:before{background:#798287}
.ark-business-pulse{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.ark-pulse-card{position:relative;padding:18px;border:1px solid var(--ark-line);border-radius:18px;background:#fff;box-shadow:0 6px 18px rgba(16,24,40,.03)}.ark-pulse-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eff7d8;color:#5d7200;font-size:12px;font-weight:950}.ark-pulse-title{margin:13px 0}.ark-pulse-title span{display:block;color:#AEBBC8;font-size:8px;font-weight:900;letter-spacing:.11em}.ark-pulse-title strong{display:block;margin-top:4px;font-size:15px}.ark-pulse-stats{display:grid;grid-template-columns:1fr 1fr;gap:1px;border:1px solid #edf0f1;border-radius:11px;overflow:hidden;background:#edf0f1}.ark-pulse-stats>div{padding:10px;background:#fff}.ark-pulse-stats span{display:block;color:#91999c;font-size:8px}.ark-pulse-stats strong{display:block;margin-top:4px;font-size:11px}.ark-pulse-card>a{display:inline-block;margin-top:13px;color:#617500;font-size:9px;font-weight:850}
.ark-top-courses .ark-panel-title p{margin:4px 0 0;color:#AEBBC8;font-size:10px}.ark-course-pulse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ark-course-pulse{padding:14px;border:1px solid #e5e8e9;border-radius:13px;background:#fafbfb;transition:.18s}.ark-course-pulse:hover{background:#fff;border-color:#ccd9a5;transform:translateY(-1px)}.ark-course-pulse>span{display:block;min-height:30px;color:#737c7f;font-size:9px;font-weight:850;line-height:1.45}.ark-course-pulse>strong{display:block;margin:7px 0 9px;font-size:16px}.ark-course-pulse>div{display:grid;gap:4px}.ark-course-pulse small{color:#AEBBC8;font-size:9px}
.ark-mini-feed{display:grid}.ark-mini-feed>a{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #eef0f1}.ark-mini-feed>a:last-child{border-bottom:0}.ark-feed-dot{width:8px;height:8px;border-radius:50%;background:#a8c626;box-shadow:0 0 0 4px #f1f6df}.ark-feed-money{background:#3c9460;box-shadow:0 0 0 4px #e9f5ed}.ark-mini-feed strong{display:block;font-size:11px}.ark-mini-feed small{display:block;margin-top:3px;color:#AEBBC8;font-size:9px}.ark-mini-feed em{color:#B0BECC;font-size:9px;font-style:normal;font-weight:800}.ark-recent-grid .ark-panel{margin-bottom:0}
.ark-commission-help{margin-top:13px;padding:12px 13px;border-radius:11px;background:#f5f8ed;color:#626c54;font-size:10px;line-height:1.55}.ark-commission-grid{align-items:stretch}.ark-commission-card{display:flex;flex-direction:column}.ark-commission-amount{margin:15px 0 12px;padding:13px;border-radius:12px;background:#101312;color:#fff}.ark-commission-amount>span{display:block;color:#aeb7b1;font-size:8px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.ark-commission-amount>strong{display:block;margin:6px 0 3px;color:#c7fb2d;font-size:23px;letter-spacing:-.04em}.ark-commission-amount>small{color:#aeb7b1;font-size:9px}.ark-finance-linked{color:#277443;font-weight:850}.ark-finance-waiting{color:#9b6a11;font-weight:850}.ark-card-highlight{outline:3px solid rgba(185,242,13,.28);border-color:#b5d34a!important;animation:arkCardPulse 1.1s ease 1}@keyframes arkCardPulse{0%{transform:scale(.985)}55%{transform:scale(1.008)}100%{transform:scale(1)}}
.ark-sidebar{background:linear-gradient(180deg,#0d100f 0%,#121714 62%,#0f130f 100%)}.ark-nav a.active{background:linear-gradient(90deg,#252c23,#1c221d);box-shadow:inset 3px 0 0 var(--ark-accent),0 5px 15px rgba(0,0,0,.12)}.ark-topbar{background:rgba(247,248,249,.94)}
@media(max-width:1280px){.ark-attention-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ark-course-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.ark-founder-hero{grid-template-columns:1fr}.ark-core-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ark-business-pulse{grid-template-columns:1fr}.ark-attention-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ark-founder-hero{padding:20px;border-radius:18px}.ark-founder-copy h2{font-size:34px}.ark-quick-actions{display:grid;grid-template-columns:1fr 1fr}.ark-core-metrics{grid-template-columns:1fr 1fr}.ark-attention-grid{grid-template-columns:1fr}.ark-course-pulse-grid{grid-template-columns:1fr}.ark-founder-profit{padding:17px}.ark-core-card{min-height:126px;padding:14px}.ark-core-card>strong{font-size:21px}}
@media(max-width:420px){.ark-core-metrics{grid-template-columns:1fr}.ark-quick-actions{grid-template-columns:1fr 1fr}}


/* =========================================================
   V0.9 BUSINESS INTELLIGENCE DASHBOARD
========================================================= */
.ark-bi-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:24px;align-items:stretch;margin-bottom:16px;padding:28px;border-radius:24px;background:
radial-gradient(circle at 82% 14%,rgba(139,92,246,.34),transparent 30%),
radial-gradient(circle at 20% 115%,rgba(20,184,166,.22),transparent 38%),
linear-gradient(135deg,#121628 0%,#17172c 48%,#10272a 100%);color:#fff;box-shadow:0 20px 52px rgba(32,39,62,.16)}
.ark-bi-hero:after{content:"";position:absolute;inset:auto -80px -160px auto;width:360px;height:360px;border-radius:50%;border:1px solid rgba(255,255,255,.09);box-shadow:0 0 0 65px rgba(255,255,255,.025),0 0 0 130px rgba(255,255,255,.015)}
.ark-bi-hero-copy,.ark-bi-profit{position:relative;z-index:1}.ark-bi-eyebrow{font-size:9px;font-weight:900;letter-spacing:.16em;color:#bbc3d9}.ark-bi-hero h2{margin:9px 0 8px;font-size:clamp(34px,4vw,54px);line-height:.98;letter-spacing:-.055em}.ark-bi-hero p{max-width:720px;margin:0;color:#b5bfd0;font-size:12px;line-height:1.65}
.ark-bi-switch{display:inline-flex;gap:4px;margin-top:20px;padding:4px;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:rgba(255,255,255,.055)}.ark-bi-switch a{min-width:86px;padding:8px 12px;border-radius:9px;color:#c6cfdb;font-size:9px;font-weight:850;text-align:center}.ark-bi-switch a.active{background:#fff;color:#171926;box-shadow:0 6px 18px rgba(0,0,0,.13)}
.ark-bi-profit{display:flex;flex-direction:column;justify-content:center;padding:22px;border:1px solid rgba(255,255,255,.12);border-radius:19px;background:rgba(255,255,255,.075);backdrop-filter:blur(10px)}.ark-bi-profit>span{font-size:8px;font-weight:900;letter-spacing:.12em;color:#c2cbd6}.ark-bi-profit>strong{display:block;margin:10px 0 11px;color:#d9ff65;font-size:clamp(32px,3vw,47px);line-height:1;letter-spacing:-.055em}.ark-bi-profit-row{display:flex;flex-wrap:wrap;gap:10px}.ark-bi-profit-row small{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.07);color:#d5dbe3;font-size:8px;font-weight:750}.ark-bi-profit>em{margin-top:13px;color:#c2cad5;font-size:9px;font-style:normal}

.ark-bi-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin-bottom:16px}.ark-bi-kpi{position:relative;overflow:hidden;min-height:145px;padding:15px;border:1px solid var(--ark-line);border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(25,34,48,.045);transition:.18s}.ark-bi-kpi:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--bi-color)}.ark-bi-kpi:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(25,34,48,.08)}.ark-bi-kpi-icon{width:32px;height:32px;display:grid;place-items:center;margin-bottom:17px;border-radius:10px;background:var(--bi-soft);color:var(--bi-color);font-size:13px;font-weight:900}.ark-bi-kpi>span{display:block;color:#818a90;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.ark-bi-kpi>strong{display:block;margin:7px 0 6px;font-size:22px;letter-spacing:-.04em}.ark-bi-kpi>small{display:block;color:#AEBBC8;font-size:8px;line-height:1.45}
.ark-bi-violet{--bi-color:#7C5CF2;--bi-soft:#F0ECFF}.ark-bi-green{--bi-color:#22A06B;--bi-soft:#E9F8F0}.ark-bi-blue{--bi-color:#3B82F6;--bi-soft:#EAF2FF}.ark-bi-orange{--bi-color:#F59E42;--bi-soft:#FFF2E4}.ark-bi-pink{--bi-color:#E84C91;--bi-soft:#FDEAF3}.ark-bi-cyan{--bi-color:#0EA5B7;--bi-soft:#E6F8FA}

.ark-bi-chart-grid{display:grid;gap:14px;margin-bottom:14px}.ark-bi-chart-grid-main{grid-template-columns:minmax(0,1.65fr) minmax(300px,.65fr)}.ark-bi-chart-card{margin-bottom:0;min-width:0}.ark-bi-chart-card .ark-panel-title{margin-bottom:7px}.ark-bi-chart-card .ark-panel-title p,.ark-bi-scorecard .ark-panel-title p{margin:4px 0 0;color:#AEBBC8;font-size:9px}
.ark-chart-wrap{position:relative;min-width:0}.ark-bi-canvas{display:block;width:100%;height:285px}.ark-bi-chart-side .ark-bi-canvas{height:250px}.ark-bi-year-chart .ark-bi-canvas{height:270px}
.ark-chart-legend{display:flex;flex-wrap:wrap;gap:8px 14px;min-height:26px;margin-top:6px;padding-top:10px;border-top:1px solid #F0F2F4}.ark-chart-legend span{display:inline-flex;align-items:center;gap:6px;color:#747E84;font-size:8px}.ark-chart-legend i{width:7px;height:7px;border-radius:50%}.ark-chart-legend b{font-weight:800;color:#667077}.ark-chart-legend em{font-style:normal;font-weight:800;color:#22282C}
.ark-chart-tooltip{position:absolute;z-index:8;min-width:142px;padding:9px 10px;border:1px solid #E0E5E8;border-radius:10px;background:rgba(19,23,25,.94);box-shadow:0 10px 30px rgba(0,0,0,.16);color:#fff;pointer-events:none}.ark-chart-tooltip strong{display:block;margin-bottom:6px;font-size:9px}.ark-chart-tooltip span{display:flex;align-items:center;gap:6px;margin-top:4px;color:#CAD0D4;font-size:8px}.ark-chart-tooltip span i{width:6px;height:6px;border-radius:50%}.ark-chart-tooltip span b{margin-left:auto;color:#fff}

.ark-bi-lower-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr);gap:14px;margin-bottom:14px}.ark-bi-lower-grid>.ark-panel{margin-bottom:0}.ark-bi-score-list{display:grid}.ark-bi-score-list>a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #EFF1F2}.ark-bi-score-list>a:last-child{border-bottom:0}.ark-bi-score-list span{display:block;font-size:10px;font-weight:800}.ark-bi-score-list small{display:block;margin-top:3px;color:#979FA4;font-size:8px}.ark-bi-score-list strong{font-size:13px;letter-spacing:-.02em}.ark-bi-attention{background:linear-gradient(180deg,#fff,#FCFCFD)}.ark-bi-course-panel{background:linear-gradient(180deg,#fff,#FCFDFF)}

@media(max-width:1380px){.ark-bi-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.ark-bi-hero{grid-template-columns:1fr}.ark-bi-chart-grid-main,.ark-bi-lower-grid{grid-template-columns:1fr}.ark-bi-chart-side .ark-bi-canvas{height:280px}}
@media(max-width:720px){.ark-bi-hero{padding:20px;border-radius:19px}.ark-bi-hero h2{font-size:36px}.ark-bi-kpi-grid{grid-template-columns:1fr 1fr}.ark-bi-kpi{min-height:132px}.ark-bi-canvas{height:245px}.ark-chart-legend{gap:7px 10px}}
@media(max-width:430px){.ark-bi-kpi-grid{grid-template-columns:1fr}.ark-bi-switch{width:100%}.ark-bi-switch a{flex:1}.ark-bi-canvas{height:225px}}


/* =========================================================
   V1.0 — ARK AURORA DESIGN SYSTEM
   Premium colorful SaaS visual language
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --ark-bg:#F4F6FB;
  --ark-panel:#FFFFFF;
  --ark-ink:#141526;
  --ark-muted:#73778B;
  --ark-line:#E6E8F0;
  --ark-sidebar:#111426;
  --ark-accent:#7C5CFC;
  --ark-green:#19A974;
  --ark-danger:#E5484D;
  --ark-shadow:0 16px 44px rgba(30,36,66,.075);
  --section:#7C5CFC;
  --section-2:#B85CFF;
  --section-soft:#F1EDFF;
  --section-rgb:124,92,252;
  font-family:'Manrope',Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body{font-family:'Manrope',Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:
radial-gradient(circle at 92% 1%,rgba(var(--section-rgb),.075),transparent 24%),
radial-gradient(circle at 12% 100%,rgba(20,184,166,.055),transparent 25%),
#F5F7FC;color:var(--ark-ink)}
.ark-section-dashboard{--section:#7C5CFC;--section-2:#22C7A9;--section-soft:#F0EDFF;--section-rgb:124,92,252}
.ark-section-students{--section:#7C3AED;--section-2:#C45BF4;--section-soft:#F3E8FF;--section-rgb:124,58,237}
.ark-section-courses{--section:#10A56F;--section-2:#78D55B;--section-soft:#E7F8F0;--section-rgb:16,165,111}
.ark-section-batches{--section:#3977F6;--section-2:#4DC6F4;--section-soft:#EAF2FF;--section-rgb:57,119,246}
.ark-section-fees{--section:#F59E0B;--section-2:#F7C948;--section-soft:#FFF5D9;--section-rgb:245,158,11}
.ark-section-leads{--section:#EC4899;--section-2:#FF8066;--section-soft:#FDEAF3;--section-rgb:236,72,153}
.ark-section-institutions{--section:#06A7A0;--section-2:#31D0AA;--section-soft:#E5FAF8;--section-rgb:6,167,160}
.ark-section-finance{--section:#5B65F6;--section-2:#27A8FF;--section-soft:#EBEDFF;--section-rgb:91,101,246}
.ark-section-recurring{--section:#8B5CF6;--section-2:#D05DF6;--section-soft:#F2ECFF;--section-rgb:139,92,246}
.ark-section-commissions{--section:#F04483;--section-2:#F59E42;--section-soft:#FDEBF3;--section-rgb:240,68,131}
.ark-section-marketing{--section:#0EA5E9;--section-2:#14B8A6;--section-soft:#E8F7FD;--section-rgb:14,165,233}
.ark-section-webinars{--section:#F97316;--section-2:#EF4D8D;--section-soft:#FFF0E6;--section-rgb:249,115,22}
.ark-section-clients{--section:#3B82F6;--section-2:#7C5CFC;--section-soft:#EAF2FF;--section-rgb:59,130,246}
.ark-section-tasks{--section:#14A37F;--section-2:#6FCF57;--section-soft:#E8F7F2;--section-rgb:20,163,127}
.ark-section-team{--section:#7357E8;--section-2:#D85BEA;--section-soft:#F0ECFF;--section-rgb:115,87,232}

.ark-app-shell{grid-template-columns:264px minmax(0,1fr)}
.ark-sidebar{
  padding:20px 14px;
  background:
  radial-gradient(circle at 8% 0%,rgba(124,92,252,.28),transparent 25%),
  radial-gradient(circle at 105% 72%,rgba(14,165,233,.16),transparent 27%),
  linear-gradient(180deg,#13162B 0%,#101321 100%);
  box-shadow:12px 0 40px rgba(20,24,49,.09)
}
.ark-sidebar-brand{padding:5px 8px 27px}.ark-sidebar-brand .ark-brand-mark{
  background:linear-gradient(135deg,#B9F20D,#72E78C);
  color:#111426;
  box-shadow:0 8px 24px rgba(185,242,13,.2)
}
.ark-sidebar-brand strong{font-size:16px;letter-spacing:-.025em}.ark-sidebar-brand span{color:#747C9C}
.ark-nav{gap:6px}.ark-nav a{
  position:relative;overflow:hidden;min-height:47px;border:1px solid transparent;border-radius:13px;
  color:#A5ABC3;font-size:12px;font-weight:750
}
.ark-nav a:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.015));opacity:0;transition:.2s}
.ark-nav a:hover{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.055);color:#fff}
.ark-nav a:hover:before{opacity:1}
.ark-nav a.active{background:linear-gradient(90deg,rgba(var(--section-rgb),.30),rgba(var(--section-rgb),.10));border-color:rgba(var(--section-rgb),.36);color:#fff;box-shadow:0 10px 28px rgba(0,0,0,.12)}
.ark-nav a.active:after{content:"";position:absolute;left:0;top:9px;bottom:9px;width:3px;border-radius:0 4px 4px 0;background:linear-gradient(180deg,var(--section),var(--section-2))}
.ark-nav-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.055);color:#D5DAE9}
.ark-nav a.active .ark-nav-icon{background:rgba(255,255,255,.12);color:#fff}
.ark-sidebar-bottom{border-top-color:rgba(255,255,255,.07)}.ark-mini-profile{padding:10px;border-radius:13px;background:rgba(255,255,255,.035)}
.ark-mini-profile .ark-avatar{background:linear-gradient(135deg,var(--section),var(--section-2));color:#fff}
.ark-logout{color:#7F87A6}.ark-logout:hover{color:#fff}

.ark-topbar{
  min-height:92px;padding:18px clamp(20px,3vw,42px);
  border-bottom:1px solid rgba(226,229,239,.8);
  background:rgba(247,248,252,.82);
  backdrop-filter:blur(22px) saturate(130%);
  box-shadow:0 6px 24px rgba(29,35,67,.025)
}
.ark-topbar h1{font-size:27px;font-weight:800;letter-spacing:-.045em}.ark-top-kicker{color:var(--section);font-size:8px;font-weight:900;letter-spacing:.17em}
.ark-version{border:1px solid rgba(var(--section-rgb),.15);background:var(--section-soft);color:var(--section);font-weight:850}
.ark-top-actions .ark-avatar{background:linear-gradient(135deg,var(--section),var(--section-2));color:#fff;box-shadow:0 8px 18px rgba(var(--section-rgb),.18)}

.ark-content{padding:clamp(22px,3vw,40px);max-width:1680px}
.ark-section-head{position:relative;margin-bottom:22px;padding:4px 0 0}.ark-section-head:before{
  content:"";display:block;width:42px;height:5px;margin-bottom:12px;border-radius:999px;background:linear-gradient(90deg,var(--section),var(--section-2))
}
.ark-section-head h2{font-size:30px;font-weight:800;letter-spacing:-.055em}.ark-section-head p{max-width:790px;color:#7F8495;font-size:12px;line-height:1.65}
.ark-section-badge{border:1px solid rgba(var(--section-rgb),.16);background:var(--section-soft);color:var(--section);box-shadow:none}

.ark-panel{
  position:relative;border:1px solid rgba(225,228,239,.9);border-radius:21px;background:rgba(255,255,255,.94);
  box-shadow:0 12px 34px rgba(32,38,70,.052);overflow:hidden
}
.ark-panel:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--section),var(--section-2));opacity:.72}
.ark-panel-title h3{font-size:14px;font-weight:800;letter-spacing:-.025em}.ark-panel-title>span{color:var(--section);background:var(--section-soft);border-radius:999px;padding:6px 9px;font-size:8px;font-weight:900}
.ark-panel-title p{color:#9095A5!important}

.ark-form-grid{gap:14px 16px}.ark-field>span,.ark-login-form label>span{color:#62697A;font-size:9px;font-weight:850;letter-spacing:.045em;text-transform:uppercase}
.ark-field input,.ark-field select,.ark-field textarea,.ark-login-form input{
  border:1px solid #E2E5EE;background:#FBFCFF;border-radius:13px;color:#242638;font-family:inherit;font-weight:550
}
.ark-field input:hover,.ark-field select:hover,.ark-field textarea:hover{border-color:#D5D8E6;background:#fff}
.ark-field input:focus,.ark-field select:focus,.ark-field textarea:focus,.ark-login-form input:focus{border-color:rgba(var(--section-rgb),.55);box-shadow:0 0 0 4px rgba(var(--section-rgb),.10);background:#fff}
.ark-primary-btn{
  min-height:47px;border-radius:13px;background:linear-gradient(135deg,var(--section),var(--section-2));box-shadow:0 9px 24px rgba(var(--section-rgb),.20);font-family:inherit
}
.ark-primary-btn:hover{background:linear-gradient(135deg,var(--section),var(--section-2));transform:translateY(-2px);box-shadow:0 14px 30px rgba(var(--section-rgb),.25)}
.ark-primary-btn span{background:rgba(255,255,255,.20);color:#fff}.ark-secondary-btn{
  border-color:#E2E5EE;background:#fff;color:#4E5367;border-radius:11px;font-weight:800;transition:.18s
}
.ark-secondary-btn:hover{border-color:rgba(var(--section-rgb),.28);background:var(--section-soft);color:var(--section);transform:translateY(-1px)}
.ark-compact-btn{display:inline-flex;min-height:40px;margin-top:10px}

.ark-filter-panel{border-radius:18px;border-color:#E4E6EF;background:linear-gradient(180deg,#fff,#FBFCFF);box-shadow:0 9px 26px rgba(36,41,73,.04)}
.ark-filter-field span{color:#7D8294}.ark-filter-field input,.ark-filter-field select{border-color:#E3E6EF;background:#FAFBFD;border-radius:11px}
.ark-filter-field input:focus,.ark-filter-field select:focus{border-color:rgba(var(--section-rgb),.45);box-shadow:0 0 0 3px rgba(var(--section-rgb),.09)}
.ark-filter-apply{background:linear-gradient(135deg,var(--section),var(--section-2));box-shadow:0 7px 18px rgba(var(--section-rgb),.16)}

.ark-person-card,.ark-record-card-table .ark-record-card,.ark-team-card{
  position:relative;overflow:hidden;border:1px solid #E4E7EF;border-radius:19px;background:
  radial-gradient(circle at 104% -4%,rgba(var(--section-rgb),.10),transparent 34%),
  linear-gradient(180deg,#fff 0%,#FCFCFF 100%);
  box-shadow:0 9px 26px rgba(31,36,69,.048)
}
.ark-person-card:before,.ark-record-card-table .ark-record-card:before,.ark-team-card:before{
  content:"";position:absolute;left:0;top:0;right:0;height:3px;background:linear-gradient(90deg,var(--section),var(--section-2))
}
.ark-person-card:hover,.ark-record-card-table .ark-record-card:hover,.ark-team-card:hover{transform:translateY(-3px);border-color:rgba(var(--section-rgb),.22);box-shadow:0 17px 38px rgba(31,36,69,.09)}
.ark-profile-avatar{background:linear-gradient(135deg,var(--section-soft),#fff);color:var(--section);border:1px solid rgba(var(--section-rgb),.12)}
.ark-person-card-title h4{font-weight:800;color:#1D2030}.ark-card-info>div{background:linear-gradient(180deg,#F8F9FD,#F4F6FA);border:1px solid #EEF0F5}
.ark-money-row{border-color:#EAECF3}.ark-money-row>div{background:rgba(255,255,255,.85);border-color:#EAECF3}
.ark-card-actions{border-top-color:#ECEEF4}.ark-delete-btn{color:#D34A52}
.ark-auto-edit{order:-1}.ark-row-actions .ark-auto-edit{min-height:33px;padding:0 10px;font-size:9px}
.ark-table-link{color:var(--section);font-weight:850}
.ark-table-link:hover{color:var(--section-2)}

.ark-record-card-table tbody{gap:15px}.ark-record-card-table .ark-record-card td{border-color:#EEF0F5}.ark-record-card-table .ark-card-field-label{color:#979CAE}
.ark-record-card-table .ark-card-field-value{color:#333649;font-weight:650}

.ark-metric{
  position:relative;overflow:hidden;border:1px solid #E4E6EF;border-radius:18px;background:
  radial-gradient(circle at 105% 0%,rgba(var(--section-rgb),.12),transparent 40%),#fff;
  box-shadow:0 9px 27px rgba(31,36,69,.045)
}
.ark-metric:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--section),var(--section-2))}
.ark-metric span{color:#858A9C}.ark-metric strong{font-weight:800;color:#202233}.ark-metric small{color:#999EAD}

.ark-pill{border:1px solid transparent;font-weight:850}.ark-pill-income,.ark-pill-paid,.ark-pill-active,.ark-pill-completed{background:#E9F9F2;color:#17825B;border-color:#D8F2E6}
.ark-pill-expense,.ark-pill-operating_expense{background:#FFF2E8;color:#BD6817;border-color:#FFE4CE}
.ark-pill-commission_payout{background:#FDEAF3;color:#C53E78;border-color:#F8D5E6}
.ark-pill-approved{background:#F0EBFF;color:#6845D6;border-color:#E1D7FF}
.ark-pill-pending,.ark-pill-upcoming,.ark-pill-todo{background:#EDF3FF;color:#3E68B5;border-color:#DCE8FF}
.ark-pill-overdue,.ark-pill-urgent,.ark-pill-blocked{background:#FFF0F0;color:#C53A42;border-color:#FFDCDC}
.ark-pill-online{background:#E9F4FF;color:#2773BA}.ark-pill-offline{background:#F1F7E2;color:#647E1B}

.ark-alert{border-radius:14px;box-shadow:0 7px 20px rgba(30,36,66,.04)}.ark-alert-success{background:linear-gradient(90deg,#EAF9F1,#F4FBE9);border-color:#D7EEDC;color:#26704F}
.ark-alert-error{background:linear-gradient(90deg,#FFF0F0,#FFF7F3);border-color:#F7D8D8;color:#B83C43}

.ark-universal-editor{
  margin-bottom:22px;border-color:rgba(var(--section-rgb),.24);
  background:radial-gradient(circle at 100% 0%,rgba(var(--section-rgb),.12),transparent 28%),#fff;
  box-shadow:0 18px 46px rgba(var(--section-rgb),.08)
}
.ark-editor-close{padding:7px 10px;border-radius:10px;background:#F4F5F8;color:#787E8D;font-size:9px;font-weight:850}
.ark-editor-close:hover{background:var(--section-soft);color:var(--section)}
.ark-readonly-value{min-height:45px;display:flex;align-items:center;padding:0 13px;border:1px dashed #DDE0EA;border-radius:12px;background:#F8F9FC;color:#5E6475;font-size:11px;font-weight:750}
.ark-linked-edit-notice{padding:18px;border:1px solid rgba(var(--section-rgb),.15);border-radius:15px;background:var(--section-soft)}
.ark-linked-edit-notice strong{display:block;color:var(--section);font-size:12px}.ark-linked-edit-notice p{max-width:760px;margin:6px 0 0;color:#666C7C;font-size:11px;line-height:1.65}

.ark-commission-card .ark-commission-amount{background:linear-gradient(135deg,#FDEAF3,#FFF6E9);border-color:#F8DDE7}.ark-commission-card .ark-commission-amount strong{color:#C63774}
.ark-finance-linked{color:#19805A!important}.ark-finance-waiting{color:#A46720!important}

.ark-bi-hero{background:
radial-gradient(circle at 86% 10%,rgba(149,83,255,.36),transparent 29%),
radial-gradient(circle at 12% 120%,rgba(20,209,174,.22),transparent 40%),
linear-gradient(135deg,#171A35 0%,#24204E 48%,#123D42 100%)}
.ark-bi-kpi{border-radius:19px}.ark-bi-kpi:hover{transform:translateY(-3px)}
.ark-bi-chart-card{background:radial-gradient(circle at 100% 0%,rgba(var(--section-rgb),.045),transparent 32%),#fff}

.ark-login-body{background:
radial-gradient(circle at 90% 10%,rgba(124,92,252,.16),transparent 27%),
radial-gradient(circle at 10% 90%,rgba(34,199,169,.13),transparent 27%),
linear-gradient(135deg,#F7F8FC,#EFF2FA)}
.ark-login-brand{background:
radial-gradient(circle at 85% 5%,rgba(124,92,252,.38),transparent 30%),
radial-gradient(circle at 0% 100%,rgba(34,199,169,.22),transparent 34%),
linear-gradient(145deg,#15182E,#101321)}
.ark-login-card{border-color:#E4E6EF}.ark-login-card h1{font-weight:800;color:#1A1C2D}

@media(max-width:720px){
  .ark-app-shell{grid-template-columns:1fr}.ark-content{padding:19px 13px 32px}.ark-topbar{min-height:76px;padding:12px 14px}.ark-topbar h1{font-size:22px}
  .ark-section-head h2{font-size:27px}.ark-panel{border-radius:17px}.ark-person-card,.ark-record-card-table .ark-record-card,.ark-team-card{border-radius:16px}
}



/* =========================================================
   V1.1 — ARK UNIFIED CLOUD THEME
   One calm visual system across every module.
========================================================= */
.ark-app-body{
  --section:#2F8DF6!important;
  --section-2:#55A9F7!important;
  --section-soft:#EDF6FF!important;
  --section-rgb:47,141,246!important;
  --ark-bg:#F7F9FC;
  --ark-panel:#FFFFFF;
  --ark-ink:#242936;
  --ark-muted:#717988;
  --ark-line:#E6EBF1;
  --ark-sidebar:#F2F6FA;
  --ark-accent:#2F8DF6;
  --ark-green:#20B486;
  --ark-danger:#E85C67;
  --ark-shadow:0 8px 28px rgba(36,48,73,.055);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  background:#F8FAFC!important;
}
.ark-app-body *{font-family:inherit}
.ark-app-shell{grid-template-columns:252px minmax(0,1fr)}
.ark-sidebar{
  background:#F2F6FA!important;
  color:#E8EEF5!important;
  border-right:1px solid #E1E8F0;
  box-shadow:none!important;
  padding:20px 14px;
}
.ark-sidebar:before{content:none!important}
.ark-sidebar-brand{padding:4px 9px 27px}
.ark-sidebar-brand .ark-brand-mark{
  background:linear-gradient(145deg,#2F8DF6,#5CB8F7)!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(47,141,246,.22)!important
}
.ark-sidebar-brand strong{color:#EEF3F8!important;font-size:16px!important;font-weight:800!important}
.ark-sidebar-brand span{color:#AEBBC8!important}
.ark-nav{gap:4px!important}
.ark-nav a{
  min-height:46px!important;
  color:#CFD9E3!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  font-size:12px!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.ark-nav a:before,.ark-nav a:after{content:none!important}
.ark-nav a:hover{background:#E9F2FB!important;color:#2F8DF6!important}
.ark-nav a.active{background:#E7F3FF!important;color:#2F8DF6!important;box-shadow:none!important}
.ark-nav-icon{
  width:27px!important;height:27px!important;display:grid!important;place-items:center!important;
  background:transparent!important;color:#AEBBC8!important;font-size:14px!important
}
.ark-nav a.active .ark-nav-icon,.ark-nav a:hover .ark-nav-icon{color:#2F8DF6!important;background:transparent!important}
.ark-sidebar-bottom{border-top:1px solid #DDE5ED!important}
.ark-mini-profile{background:transparent!important;padding:9px!important}
.ark-mini-profile .ark-avatar,.ark-top-actions .ark-avatar{
  background:#E5F2FF!important;color:#2F8DF6!important;box-shadow:none!important
}
.ark-mini-profile strong{color:#E8EEF5!important}
.ark-mini-profile small,.ark-logout{color:#8B96A5!important}
.ark-logout:hover{color:#2F8DF6!important}

.ark-topbar{
  min-height:82px!important;
  padding:14px clamp(20px,3vw,38px)!important;
  background:rgba(255,255,255,.94)!important;
  border-bottom:1px solid #E7ECF2!important;
  box-shadow:none!important;
  backdrop-filter:blur(16px)!important
}
.ark-top-kicker{color:#AEBBC8!important;font-size:8px!important;letter-spacing:.14em!important}
.ark-topbar h1{color:#EEF3F8!important;font-size:23px!important;font-weight:750!important;letter-spacing:-.035em!important}
.ark-version{background:#F6F9FC!important;border-color:#E1E8EF!important;color:#AEBBC8!important}
.ark-content{max-width:1540px!important;padding:30px clamp(22px,3vw,42px)!important}
.ark-section-head:before{background:#2F8DF6!important;width:34px!important;height:3px!important}
.ark-section-head h2{color:#EEF3F8!important}
.ark-section-badge{background:#EDF6FF!important;color:#2F8DF6!important;border-color:#D6EAFF!important}

.ark-panel{
  border:1px solid #E4EAF0!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 4px 18px rgba(33,45,65,.035)!important;
  padding:20px!important
}
.ark-panel:before{content:none!important}
.ark-panel-title h3{color:#E8EEF5!important;font-size:14px!important;font-weight:700!important}
.ark-panel-title p{color:#AEBBC8!important}
.ark-panel-title>span{background:#F3F7FB!important;color:#69778A!important}
.ark-primary-btn,.ark-filter-apply{
  background:#2F8DF6!important;
  box-shadow:0 6px 15px rgba(47,141,246,.18)!important;
  border-radius:9px!important
}
.ark-primary-btn:hover,.ark-filter-apply:hover{background:#197EEA!important;transform:translateY(-1px)!important}
.ark-primary-btn span{background:rgba(255,255,255,.20)!important;color:#fff!important}
.ark-secondary-btn{
  background:#fff!important;border-color:#DDE4EB!important;color:#596779!important;border-radius:9px!important
}
.ark-secondary-btn:hover{background:#F1F7FD!important;border-color:#C9E2F8!important;color:#2F8DF6!important}
.ark-table-link{color:#2F8DF6!important}
.ark-table-link:hover{color:#197EEA!important}
.ark-field>span,.ark-login-form label>span{color:#C4CFDA!important}
.ark-field input,.ark-field select,.ark-field textarea,.ark-login-form input{
  background:#fff!important;border:1px solid #DDE4EB!important;border-radius:9px!important;
  font-size:12px!important;color:#E8EEF5!important
}
.ark-field input:focus,.ark-field select:focus,.ark-field textarea:focus,.ark-login-form input:focus{
  border-color:#71B7F8!important;box-shadow:0 0 0 3px rgba(47,141,246,.10)!important
}
.ark-filter-panel{
  background:#fff!important;border:1px solid #E4EAF0!important;border-radius:12px!important;box-shadow:none!important
}
.ark-filter-field input,.ark-filter-field select{background:#F9FBFD!important;border-color:#DEE5EC!important;border-radius:8px!important}
.ark-filter-field input:focus,.ark-filter-field select:focus{border-color:#7ABCF8!important;box-shadow:0 0 0 3px rgba(47,141,246,.08)!important}

.ark-person-card,.ark-record-card-table .ark-record-card,.ark-team-card{
  border:1px solid #E2E8EF!important;border-radius:13px!important;
  background:#fff!important;box-shadow:0 3px 14px rgba(36,48,73,.035)!important
}
.ark-person-card:before,.ark-record-card-table .ark-record-card:before,.ark-team-card:before{content:none!important}
.ark-person-card:hover,.ark-record-card-table .ark-record-card:hover,.ark-team-card:hover{
  transform:translateY(-2px)!important;border-color:#CFE1F3!important;box-shadow:0 10px 24px rgba(36,48,73,.07)!important
}
.ark-profile-avatar{background:#EAF5FF!important;color:#2F8DF6!important;border-color:#D6EAFE!important}
.ark-card-info>div{background:#F8FAFC!important;border-color:#EDF1F5!important}
.ark-money-row>div{background:#fff!important;border-color:#EDF1F5!important}
.ark-metric{
  background:#fff!important;border-color:#E3E9EF!important;border-radius:12px!important;box-shadow:none!important
}
.ark-metric:before{background:#2F8DF6!important}
.ark-mode-online{background:#EAF5FF!important;color:#2F79BE!important}
.ark-mode-offline{background:#F1F7F3!important;color:#4C8468!important}

/* =========================================================
   V1.1 — REFERENCE-INSPIRED DASHBOARD
========================================================= */
.ark-section-dashboard .ark-content{background:#fff}
.ark-hub-titlebar{
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;
  margin:0 0 22px;padding:3px 0 4px
}
.ark-hub-eyebrow{display:block;color:#AEBBC8;font-size:8px;font-weight:800;letter-spacing:.16em}
.ark-hub-titlebar h2{margin:6px 0 4px;color:#F1F5F9;font-size:35px;font-weight:750;letter-spacing:-.045em}
.ark-hub-titlebar p{margin:0;color:#AEBBC8;font-size:11px}
.ark-hub-period{display:inline-flex;gap:2px;padding:3px;border:1px solid #DDE5ED;border-radius:9px;background:#F6F9FC}
.ark-hub-period a{min-width:86px;padding:7px 11px;border-radius:7px;color:#AEBBC8;font-size:9px;font-weight:700;text-align:center}
.ark-hub-period a.active{background:#fff;color:#2F8DF6;box-shadow:0 2px 8px rgba(45,65,90,.07)}

.ark-hub-overview{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  margin-bottom:18px;border:1px solid #DFE6ED;border-radius:13px;background:#fff;
  box-shadow:0 3px 14px rgba(35,50,72,.035);overflow:hidden
}
.ark-hub-stat{
  position:relative;min-width:0;padding:18px 18px 16px;border-right:1px solid #E7ECF1;background:#fff;
  transition:.18s
}
.ark-hub-stat:last-child{border-right:0}
.ark-hub-stat:hover{background:#FAFCFE}
.ark-hub-stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ark-hub-stat-top span{color:#B0BECC;font-size:8px;font-weight:800;letter-spacing:.06em}
.ark-hub-stat-top i{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#F3F7FB;color:#AEBBC8;font-style:normal;font-size:10px}
.ark-hub-stat-main{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin:10px 0 5px}
.ark-hub-stat-main strong{color:#E8EEF5;font-size:23px;font-weight:500;letter-spacing:-.035em;white-space:nowrap}
.ark-hub-stat>small{display:block;color:#AEBBC8;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ark-hub-stat-profit>small{color:#20A779}
.ark-hub-stat-cost>small{color:#C18438}
.ark-hub-spark{width:88px;height:30px;overflow:visible;flex:0 0 88px}

.ark-hub-grid{display:grid;gap:16px;margin-bottom:16px}
.ark-hub-grid-main{grid-template-columns:minmax(0,1.48fr) minmax(315px,.72fr)}
.ark-hub-grid-activity{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.ark-hub-grid .ark-panel{margin-bottom:0!important}
.ark-hub-financial .ark-bi-canvas{height:278px!important}
.ark-hub-cost-mix .ark-bi-canvas,.ark-hub-health .ark-bi-canvas{height:230px!important}
.ark-bi-chart-card{background:#fff!important}
.ark-chart-legend{border-top:1px solid #EEF2F5!important}
.ark-chart-legend span{color:#AEBBC8!important}

.ark-hub-health{min-height:100%}
.ark-hub-rings{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:8px 0 17px}
.ark-hub-ring-item{text-align:center}
.ark-hub-ring{
  --ring:0;--ring-color:#2F8DF6;
  width:88px;height:88px;margin:0 auto 9px;border-radius:50%;
  display:grid;place-items:center;
  background:conic-gradient(var(--ring-color) calc(var(--ring)*1%),#EAF0F5 0);
  position:relative
}
.ark-hub-ring:before{content:"";position:absolute;inset:8px;border-radius:50%;background:#fff}
.ark-hub-ring>div{position:relative;z-index:1}
.ark-hub-ring strong{font-size:15px;font-weight:700;color:#E8EEF5}
.ark-hub-ring-item>span{display:block;color:#CFD9E3;font-size:9px;font-weight:700}
.ark-hub-ring-item>small{display:block;margin-top:3px;color:#AEBBC8;font-size:7.5px;line-height:1.35}
.ark-hub-health-foot{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #EDF1F5}
.ark-hub-health-foot>div{padding:13px 12px 2px}
.ark-hub-health-foot>div:first-child{border-right:1px solid #EDF1F5}
.ark-hub-health-foot span{display:block;color:#AEBBC8;font-size:8px;font-weight:700}
.ark-hub-health-foot strong{display:block;margin-top:4px;color:#E8EEF5;font-size:14px;font-weight:650}

.ark-hub-activity-list,.ark-hub-team-list{display:grid}
.ark-hub-activity-list>a,.ark-hub-team-row{
  display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;
  padding:11px 0;border-bottom:1px solid #EDF1F5
}
.ark-hub-activity-list>a:last-child,.ark-hub-team-row:last-child{border-bottom:0}
.ark-hub-activity-avatar,.ark-hub-member-avatar{
  width:35px;height:35px;display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:750
}
.ark-activity-money{background:#E8F8F2;color:#17966B}
.ark-activity-student{background:#EAF5FF;color:#2F8DF6}
.ark-hub-activity-copy strong,.ark-hub-member-copy strong{display:block;color:#E8EEF5;font-size:10px;font-weight:650}
.ark-hub-activity-copy small,.ark-hub-member-copy small{display:block;margin-top:3px;color:#AEBBC8;font-size:8px}
.ark-hub-activity-list em{color:#C7D2DD;font-size:9px;font-style:normal;font-weight:650}
.ark-hub-member-avatar{background:#EAF5FF;color:#2F8DF6}
.ark-hub-member-progress{display:flex;align-items:center;gap:8px}
.ark-hub-member-progress>span{width:72px;height:5px;overflow:hidden;border-radius:999px;background:#E9EEF3}
.ark-hub-member-progress>span i{display:block;width:calc(var(--member-progress)*1%);height:100%;background:#2F8DF6;border-radius:999px}
.ark-hub-member-progress>strong{min-width:30px;color:#647286;font-size:8px;font-weight:700;text-align:right}

.ark-hub-attention{padding-bottom:10px!important}
.ark-hub-attention-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border:1px solid #E6EBF0;border-radius:10px;overflow:hidden}
.ark-hub-attention-item{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px;border-right:1px solid #E9EDF2;background:#fff}
.ark-hub-attention-item:last-child{border-right:0}
.ark-hub-attention-item>i{width:7px;height:7px;border-radius:50%;background:#9AA6B5}
.ark-hub-attention-item span{display:block;color:#536174;font-size:8px;font-weight:700}
.ark-hub-attention-item small{display:block;margin-top:2px;color:#AEBBC8;font-size:7px}
.ark-hub-attention-item>strong{color:#E8EEF5;font-size:10px;font-weight:700;white-space:nowrap}
.ark-attention-tone-red>i{background:#EC6570}.ark-attention-tone-blue>i{background:#2F8DF6}.ark-attention-tone-amber>i{background:#F1A440}.ark-attention-tone-purple>i{background:#7567F4}.ark-attention-tone-green>i{background:#20B486}

.ark-hub-course-list{display:grid}
.ark-hub-course-list>a{display:grid;grid-template-columns:minmax(135px,1fr) minmax(90px,.8fr) minmax(125px,.8fr);align-items:center;gap:13px;padding:11px 0;border-bottom:1px solid #EDF1F5}
.ark-hub-course-list>a:last-child{border-bottom:0}
.ark-hub-course-name strong{display:block;color:#E8EEF5;font-size:9px;font-weight:650}
.ark-hub-course-name small,.ark-hub-course-money small{display:block;margin-top:3px;color:#AEBBC8;font-size:7.5px}
.ark-hub-course-bar{height:6px;border-radius:999px;background:#E8EDF2;overflow:hidden}
.ark-hub-course-bar span{display:block;height:100%;border-radius:999px;background:#2F8DF6}
.ark-hub-course-money{text-align:right}.ark-hub-course-money strong{display:block;color:#465264;font-size:9px;font-weight:700}

.ark-section-dashboard .ark-bi-chart-card .ark-panel-title p{font-size:8px!important}
.ark-section-dashboard .ark-panel-title h3{font-size:12px!important}
.ark-section-dashboard .ark-panel-title{margin-bottom:13px!important}

.ark-login-body{
  background:linear-gradient(135deg,#F7FAFD,#EDF4FA)!important
}
.ark-login-brand{
  background:linear-gradient(145deg,#1F6EB8,#2F8DF6)!important
}
.ark-login-brand:before{border-color:rgba(255,255,255,.14)!important}
.ark-login-card h1{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
.ark-login-brand .ark-brand-mark{background:#fff!important;color:#2F8DF6!important}

@media(max-width:1350px){
  .ark-hub-overview{grid-template-columns:repeat(3,1fr)}
  .ark-hub-stat:nth-child(3){border-right:0}.ark-hub-stat:nth-child(-n+3){border-bottom:1px solid #E7ECF1}
  .ark-hub-attention-grid{grid-template-columns:repeat(3,1fr)}.ark-hub-attention-item:nth-child(3){border-right:0}
}
@media(max-width:1100px){
  .ark-hub-grid-main,.ark-hub-grid-activity{grid-template-columns:1fr}
  .ark-hub-overview{grid-template-columns:repeat(2,1fr)}
  .ark-hub-stat:nth-child(odd){border-right:1px solid #E7ECF1}.ark-hub-stat:nth-child(even){border-right:0}
  .ark-hub-stat{border-bottom:1px solid #E7ECF1}.ark-hub-stat:last-child{border-bottom:0}
}
@media(max-width:760px){
  .ark-content{padding:20px 13px!important}.ark-hub-titlebar{align-items:flex-start;flex-direction:column}.ark-hub-titlebar h2{font-size:30px}
  .ark-hub-period{width:100%}.ark-hub-period a{flex:1}
  .ark-hub-overview{grid-template-columns:1fr}
  .ark-hub-stat{border-right:0!important;border-bottom:1px solid #E7ECF1!important}.ark-hub-stat:last-child{border-bottom:0!important}
  .ark-hub-rings{grid-template-columns:1fr 1fr 1fr}.ark-hub-ring{width:75px;height:75px}
  .ark-hub-attention-grid{grid-template-columns:1fr}.ark-hub-attention-item{border-right:0;border-bottom:1px solid #E9EDF2}.ark-hub-attention-item:last-child{border-bottom:0}
  .ark-hub-course-list>a{grid-template-columns:1fr}.ark-hub-course-money{text-align:left}
}
@media(max-width:430px){
  .ark-hub-rings{grid-template-columns:1fr}.ark-hub-ring{width:86px;height:86px}
  .ark-hub-stat-main strong{font-size:21px}.ark-hub-spark{width:76px}
}


/* =========================================================
   V1.1.1 — DASHBOARD COMMISSION PAYOUT LEDGER
========================================================= */
.ark-hub-commission-ledger{margin-bottom:16px!important;padding:0!important;overflow:hidden}
.ark-hub-commission-head{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:18px 20px 15px;border-bottom:1px solid #E9EEF3
}
.ark-hub-commission-head .ark-panel-title{margin:0!important}
.ark-hub-commission-total{
  min-width:190px;padding-left:18px;border-left:1px solid #E7ECF1;text-align:right
}
.ark-hub-commission-total>span{
  display:block;color:#AEBBC8;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.06em
}
.ark-hub-commission-total>strong{
  display:block;margin-top:4px;color:#E8EEF5;font-size:20px;font-weight:650;letter-spacing:-.025em
}
.ark-hub-commission-total>small{display:block;margin-top:2px;color:#AEBBC8;font-size:7.5px}
.ark-hub-commission-list{display:grid}
.ark-hub-commission-row{
  display:grid;
  grid-template-columns:38px minmax(145px,1.15fr) minmax(140px,1fr) minmax(110px,.72fr) minmax(100px,.55fr);
  align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid #EDF1F5;background:#fff;transition:.16s
}
.ark-hub-commission-row:last-child{border-bottom:0}
.ark-hub-commission-row:hover{background:#F9FBFD}
.ark-hub-commission-avatar{
  width:35px;height:35px;display:grid;place-items:center;border-radius:50%;
  background:#EAF5FF;color:#2F8DF6;font-size:9px;font-weight:750
}
.ark-hub-commission-person strong,
.ark-hub-commission-related strong,
.ark-hub-commission-date strong{
  display:block;color:#E8EEF5;font-size:9.5px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.ark-hub-commission-person small,
.ark-hub-commission-date small{
  display:block;margin-top:3px;color:#AEBBC8;font-size:7.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.ark-hub-commission-related>span,
.ark-hub-commission-date>span{
  display:block;margin-bottom:3px;color:#B8C4D0;font-size:7px;font-weight:700;text-transform:uppercase;letter-spacing:.05em
}
.ark-hub-commission-amount{text-align:right}
.ark-hub-commission-amount strong{display:block;color:#E8EEF5;font-size:11px;font-weight:750}
.ark-hub-commission-amount span{
  display:inline-block;margin-top:3px;padding:3px 6px;border-radius:999px;background:#E8F8F2;color:#1A936A;font-size:6.5px;font-weight:750;text-transform:uppercase
}
.ark-hub-commission-foot{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:13px 20px;border-top:1px solid #E8EDF2;background:#FAFCFE
}
.ark-hub-commission-foot>div{display:flex;align-items:center;gap:10px}
.ark-hub-commission-foot span{color:#AEBBC8;font-size:8px;font-weight:650}
.ark-hub-commission-foot strong{color:#E8EEF5;font-size:13px;font-weight:750}
.ark-hub-commission-empty{
  display:flex;align-items:center;gap:12px;padding:24px 20px;color:#7B8796
}
.ark-hub-commission-empty>span{
  width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#F0F6FC;color:#2F8DF6;font-size:13px;font-weight:800
}
.ark-hub-commission-empty strong{display:block;color:#DCE5EE;font-size:10px}
.ark-hub-commission-empty small{display:block;margin-top:3px;color:#AEBBC8;font-size:8px}

@media(max-width:980px){
  .ark-hub-commission-row{
    grid-template-columns:38px minmax(150px,1fr) minmax(120px,.8fr) minmax(100px,.65fr);
  }
  .ark-hub-commission-related{display:none}
}
@media(max-width:700px){
  .ark-hub-commission-head{align-items:flex-start;flex-direction:column}
  .ark-hub-commission-total{width:100%;padding:11px 0 0;border-left:0;border-top:1px solid #E7ECF1;text-align:left}
  .ark-hub-commission-row{
    grid-template-columns:36px minmax(0,1fr) auto;
    gap:10px;padding:12px 14px
  }
  .ark-hub-commission-related,.ark-hub-commission-date{display:none}
  .ark-hub-commission-foot{align-items:flex-start;flex-direction:column;padding:12px 14px}
}


/* =========================================================
   V1.1.2 — DASHBOARD COURSE PERFORMANCE FIX
========================================================= */
.ark-hub-bottom-charts .ark-hub-yearly .ark-bi-canvas{height:255px!important}
.ark-hub-bottom-charts .ark-hub-cost-mix .ark-bi-canvas{height:255px!important}

.ark-hub-course-health-full{
  margin-bottom:16px!important;
  width:100%;
  min-width:0;
  overflow:hidden
}
.ark-hub-course-health-full .ark-panel-title{
  margin-bottom:14px!important
}
.ark-course-performance-head{
  display:grid;
  grid-template-columns:minmax(220px,1.5fr) 100px minmax(240px,1.45fr) 130px 130px;
  gap:18px;
  align-items:center;
  padding:0 4px 9px;
  border-bottom:1px solid #E5EAF0;
  color:#AEBBC8;
  font-size:7.5px;
  font-weight:750;
  letter-spacing:.055em;
  text-transform:uppercase
}
.ark-hub-course-list-full>a{
  display:grid!important;
  grid-template-columns:minmax(220px,1.5fr) 100px minmax(240px,1.45fr) 130px 130px!important;
  gap:18px!important;
  align-items:center!important;
  min-height:68px;
  padding:13px 4px!important;
  border-bottom:1px solid #EDF1F5!important
}
.ark-hub-course-list-full>a:last-child{border-bottom:0!important}
.ark-hub-course-list-full>a:hover{background:#FAFCFE}
.ark-hub-course-list-full .ark-hub-course-name{
  min-width:0
}
.ark-hub-course-list-full .ark-hub-course-name strong{
  display:block;
  color:#E8EEF5;
  font-size:10px;
  font-weight:650;
  line-height:1.35;
  white-space:normal;
  overflow-wrap:anywhere
}
.ark-hub-course-list-full .ark-hub-course-name small{
  display:block;
  margin-top:4px;
  color:#AEBBC8;
  font-size:7.5px
}
.ark-hub-course-students{
  text-align:left
}
.ark-hub-course-students strong{
  display:block;
  color:#E8EEF5;
  font-size:14px;
  font-weight:650
}
.ark-hub-course-students small{
  display:block;
  margin-top:2px;
  color:#AEBBC8;
  font-size:7.5px
}
.ark-hub-course-progress{
  min-width:0
}
.ark-hub-course-progress-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:7px
}
.ark-hub-course-progress-top span{
  color:#CFD9E3;
  font-size:8px;
  font-weight:700
}
.ark-hub-course-progress-top small{
  color:#AEBBC8;
  font-size:7px;
  white-space:nowrap
}
.ark-hub-course-list-full .ark-hub-course-bar{
  width:100%;
  height:7px;
  border-radius:999px;
  background:#E7ECF1;
  overflow:hidden
}
.ark-hub-course-list-full .ark-hub-course-bar span{
  display:block;
  height:100%;
  min-width:0;
  border-radius:999px;
  background:#2F8DF6
}
.ark-hub-course-list-full .ark-hub-course-money{
  min-width:0;
  text-align:right
}
.ark-hub-course-list-full .ark-hub-course-money strong{
  display:block;
  color:#E8EEF5;
  font-size:10px;
  font-weight:700;
  white-space:nowrap
}
.ark-hub-course-list-full .ark-hub-course-money small{
  display:block;
  margin-top:3px;
  color:#AEBBC8;
  font-size:7px
}
.ark-hub-course-list-full .ark-course-collected strong{color:#168B66}
.ark-hub-course-list-full .ark-course-pending strong{color:#B6782F}

@media(max-width:1180px){
  .ark-course-performance-head{
    grid-template-columns:minmax(190px,1.4fr) 80px minmax(180px,1.25fr) 110px 110px;
    gap:12px
  }
  .ark-hub-course-list-full>a{
    grid-template-columns:minmax(190px,1.4fr) 80px minmax(180px,1.25fr) 110px 110px!important;
    gap:12px!important
  }
}
@media(max-width:900px){
  .ark-course-performance-head{display:none}
  .ark-hub-course-list-full{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    padding-top:2px
  }
  .ark-hub-course-list-full>a{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:10px 14px!important;
    padding:14px!important;
    border:1px solid #E4EAF0!important;
    border-radius:11px;
    background:#fff
  }
  .ark-hub-course-list-full>a:last-child{border-bottom:1px solid #E4EAF0!important}
  .ark-hub-course-list-full .ark-hub-course-name{grid-column:1/2}
  .ark-hub-course-students{grid-column:2/3;text-align:right}
  .ark-hub-course-progress{grid-column:1/-1}
  .ark-hub-course-list-full .ark-course-collected{grid-column:1/2;text-align:left}
  .ark-hub-course-list-full .ark-course-pending{grid-column:2/3;text-align:right}
}
@media(max-width:620px){
  .ark-hub-course-list-full{grid-template-columns:1fr}
  .ark-hub-course-health-full{padding:15px!important}
}


/* =========================================================
   V1.2 — CONNECTED DATA ENGINE UI
========================================================= */
.ark-sync-note{
  display:block;margin-top:7px;color:#B8C4D0;font-size:7.5px;font-weight:500
}
.ark-hub-overview{
  grid-template-columns:repeat(6,minmax(0,1fr))!important
}
@media(max-width:1450px){
  .ark-hub-overview{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .ark-hub-stat:nth-child(3n){border-right:0!important}
}
@media(max-width:1050px){
  .ark-hub-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ark-hub-stat:nth-child(odd){border-right:1px solid #E7ECF1!important}
  .ark-hub-stat:nth-child(even){border-right:0!important}
}
@media(max-width:720px){
  .ark-hub-overview{grid-template-columns:1fr!important}
  .ark-hub-stat{border-right:0!important}
}


/* =========================================================
   V1.3 — REPORTS & ANALYTICS
========================================================= */
.ark-report-filter{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-bottom:16px;padding:10px;border:1px solid #E2E8EF;border-radius:12px;background:#fff
}
.ark-report-preset{display:flex;gap:3px;flex-wrap:wrap;padding:3px;border-radius:9px;background:#F4F7FA}
.ark-report-preset a{
  min-height:34px;display:flex;align-items:center;padding:0 12px;border-radius:7px;
  color:#AEBBC8;font-size:8.5px;font-weight:700
}
.ark-report-preset a:hover{color:#2F8DF6}
.ark-report-preset a.active{background:#fff;color:#2F8DF6;box-shadow:0 2px 8px rgba(45,65,90,.07)}
.ark-report-custom{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.ark-report-custom label span{display:block;margin:0 0 4px;color:#AEBBC8;font-size:7px;font-weight:700;text-transform:uppercase}
.ark-report-custom input{
  height:36px;padding:0 9px;border:1px solid #DDE5EC;border-radius:8px;background:#fff;color:#4E5969;font-size:9px
}
.ark-report-custom .ark-filter-apply,.ark-report-print{min-height:36px!important;height:36px;padding:0 12px!important;font-size:8px!important}
.ark-report-print{cursor:pointer}

.ark-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.ark-report-metric{
  position:relative;overflow:hidden;min-height:110px;padding:15px;border:1px solid #E3E8EE;border-radius:12px;background:#fff
}
.ark-report-metric:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#2F8DF6}
.ark-report-metric>span{display:block;color:#AEBBC8;font-size:7.5px;font-weight:750;text-transform:uppercase;letter-spacing:.05em}
.ark-report-metric>strong{display:block;margin:9px 0 5px;color:#2F3744;font-size:20px;font-weight:650;letter-spacing:-.035em}
.ark-report-metric>small{display:block;color:#AEBBC8;font-size:7.5px;line-height:1.4}
.ark-report-green:before{background:#20B486}.ark-report-purple:before{background:#7567F4}.ark-report-cyan:before{background:#22A8E8}
.ark-report-amber:before{background:#F2A443}.ark-report-pink:before{background:#F08A9B}.ark-report-blue:before{background:#2F8DF6}

.ark-report-chart-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.6fr) minmax(250px,.6fr);gap:14px;margin-bottom:14px}
.ark-report-chart-grid .ark-panel{margin-bottom:0!important}
.ark-report-chart-grid .ark-bi-canvas{height:255px!important}
.ark-report-mix .ark-bi-canvas{height:220px!important}

.ark-report-pulse{margin-bottom:14px!important}
.ark-report-pulse-grid{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #E7ECF1;border-radius:10px;overflow:hidden}
.ark-report-pulse-grid>div{padding:13px;border-right:1px solid #E7ECF1;background:#fff}
.ark-report-pulse-grid>div:last-child{border-right:0}
.ark-report-pulse-grid span{display:block;color:#AEBBC8;font-size:7px;font-weight:750;text-transform:uppercase}
.ark-report-pulse-grid strong{display:block;margin-top:6px;color:#E8EEF5;font-size:16px;font-weight:650}
.ark-report-pulse-grid small{display:block;margin-top:3px;color:#AEBBC8;font-size:7px}

.ark-report-section{margin-bottom:14px!important}
.ark-report-table-wrap{overflow:auto}
.ark-report-table{width:100%;border-collapse:collapse;min-width:700px}
.ark-report-table th{
  padding:8px 10px;border-bottom:1px solid #E3E9EF;color:#AEBBC8;font-size:7px;font-weight:750;text-align:left;text-transform:uppercase;letter-spacing:.05em
}
.ark-report-table td{padding:11px 10px;border-bottom:1px solid #EDF1F4;color:#C7D2DD;font-size:8.5px;vertical-align:middle}
.ark-report-table tr:last-child td{border-bottom:0}
.ark-report-table td strong{color:#E8EEF5;font-size:9px}
.ark-report-table td small{display:block;margin-top:2px;color:#AEBBC8;font-size:7px}

.ark-report-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ark-report-stack{display:grid}
.ark-report-stack-card{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;
  padding:11px 0;border-bottom:1px solid #EDF1F4
}
.ark-report-stack-card:last-child{border-bottom:0}
.ark-report-stack-card>div:first-child strong{display:block;color:#E8EEF5;font-size:9px;font-weight:650}
.ark-report-stack-card>div:first-child small{display:block;margin-top:3px;color:#AEBBC8;font-size:7px}
.ark-report-stack-card>div:last-child{text-align:right}
.ark-report-stack-card>div:last-child>span{display:block;color:#AEBBC8;font-size:7px}
.ark-report-stack-card>div:last-child>strong{display:block;margin-top:3px;color:#E8EEF5;font-size:10px;font-weight:700}
.ark-report-stack-card>div:last-child>small{display:block;margin-top:2px;color:#20A779;font-size:7px}
.ark-report-footnote{margin:3px 0 20px;color:#B8C4D0;font-size:7.5px;text-align:right}

@media(max-width:1220px){
  .ark-report-chart-grid{grid-template-columns:1fr 1fr}
  .ark-report-pl{grid-column:1/-1}
  .ark-report-metrics{grid-template-columns:repeat(2,1fr)}
  .ark-report-pulse-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:800px){
  .ark-report-filter{align-items:flex-start;flex-direction:column}
  .ark-report-custom{width:100%}
  .ark-report-chart-grid,.ark-report-two-col{grid-template-columns:1fr}
  .ark-report-pl{grid-column:auto}
  .ark-report-pulse-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .ark-report-metrics{grid-template-columns:1fr}
  .ark-report-pulse-grid{grid-template-columns:1fr}
  .ark-report-pulse-grid>div{border-right:0;border-bottom:1px solid #E7ECF1}
  .ark-report-preset{width:100%}.ark-report-preset a{flex:1;justify-content:center}
  .ark-report-custom label{flex:1;min-width:120px}.ark-report-custom input{width:100%}
}

@media print{
  .ark-sidebar,.ark-topbar,.ark-report-filter,.ark-table-link,.ark-menu-btn{display:none!important}
  .ark-app-shell{display:block!important}.ark-main{display:block!important}
  .ark-content{max-width:none!important;padding:10px!important}
  .ark-panel,.ark-report-metric{break-inside:avoid;box-shadow:none!important}
  body{background:#fff!important}
}


/* =========================================================
   V1.4 — ATTENDANCE, LEARNING PROGRESS & CERTIFICATES
========================================================= */
.ark-learning-mini,.ark-attendance-mini{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px
}
.ark-learning-mini span,.ark-attendance-mini span{
  display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border:1px solid #E7ECF1;border-radius:999px;
  background:#F8FAFC;color:#AEBBC8;font-size:7px
}
.ark-learning-mini b,.ark-attendance-mini b{color:#E8EEF5;font-size:8px}
.ark-attendance-mark{margin-bottom:16px!important}
.ark-attendance-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px;padding:8px 10px;border-radius:9px;background:#F7FAFC
}
.ark-attendance-toolbar span{color:#AEBBC8;font-size:7.5px}
.ark-attendance-students{display:grid}
.ark-attendance-student{
  display:grid;grid-template-columns:36px minmax(140px,1fr) 130px minmax(150px,.8fr);align-items:center;gap:11px;
  padding:10px 0;border-bottom:1px solid #EDF1F4
}
.ark-attendance-student:last-child{border-bottom:0}
.ark-attendance-student .ark-profile-avatar{width:34px;height:34px}
.ark-attendance-student-name strong{display:block;color:#E8EEF5;font-size:9px}
.ark-attendance-student-name small{display:block;margin-top:2px;color:#AEBBC8;font-size:7px}
.ark-att-status,.ark-att-note{
  height:35px;border:1px solid #DDE5EC;border-radius:8px;background:#fff;color:#CFD9E3;font-size:8px;padding:0 9px
}
.ark-att-session-card .ark-attendance-mini{margin-bottom:4px}
.ark-attendance-history{display:grid}
.ark-attendance-history>div{
  display:grid;grid-template-columns:72px minmax(0,1fr) minmax(100px,.5fr);align-items:center;gap:12px;
  padding:10px 0;border-bottom:1px solid #EDF1F4
}
.ark-attendance-history>div:last-child{border-bottom:0}
.ark-attendance-history strong{display:block;color:#E8EEF5;font-size:9px}
.ark-attendance-history small{display:block;margin-top:2px;color:#AEBBC8;font-size:7px}
.ark-attendance-history em{color:#AEBBC8;font-size:7.5px;font-style:normal;text-align:right}
.ark-att-history-status{display:inline-flex;justify-content:center;padding:5px 7px;border-radius:999px;font-size:7px;font-weight:700}
.ark-att-present{background:#E9F8F2;color:#18845F}.ark-att-late{background:#FFF5E6;color:#B67620}
.ark-att-absent{background:#FFF0F1;color:#C84B58}.ark-att-excused{background:#EEF3FF;color:#5270B9}

.ark-cert-eligibility-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.ark-cert-eligibility-card{
  padding:14px;border:1px solid #E3E9EF;border-radius:12px;background:#fff
}
.ark-cert-eligibility-card.is-eligible{border-color:#CFEBDC;background:#FCFFFD}
.ark-cert-eligibility-head{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px}
.ark-cert-eligibility-head .ark-profile-avatar{width:34px;height:34px}
.ark-cert-eligibility-head strong{display:block;color:#E8EEF5;font-size:9px}
.ark-cert-eligibility-head small{display:block;margin-top:2px;color:#AEBBC8;font-size:7px}
.ark-cert-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px}
.ark-cert-checks span{padding:7px;border-radius:8px;background:#F7F9FB;color:#AEBBC8;font-size:6.8px;text-align:center}
.ark-cert-checks b{display:block;margin-bottom:2px;color:#DCE5EE;font-size:8px}
.ark-cert-reason{display:block;margin-top:9px;color:#B26D2A;font-size:7px;line-height:1.45}
.ark-checkbox-field{
  display:flex!important;align-items:flex-start;gap:9px;padding:10px 11px;border:1px solid #E2E8EE;border-radius:10px;background:#FAFCFE
}
.ark-checkbox-field input{margin-top:2px}
.ark-checkbox-field span strong{display:block;color:#495666;font-size:8px}
.ark-checkbox-field span small{display:block;margin-top:2px;color:#AEBBC8;font-size:7px}

.ark-certificate-print-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.ark-certificate-paper{
  width:min(100%,1050px);min-height:680px;margin:0 auto;padding:65px 75px;border:1px solid #DCE5ED;border-radius:18px;
  background:
    radial-gradient(circle at 0 0,rgba(47,141,246,.08),transparent 28%),
    radial-gradient(circle at 100% 100%,rgba(32,180,134,.07),transparent 28%),
    #fff;
  box-shadow:0 20px 55px rgba(37,52,75,.08);text-align:center
}
.ark-certificate-brand{display:grid;justify-items:center}.ark-cert-mark{width:58px;height:58px;display:grid;place-items:center;border-radius:15px;background:#2F8DF6;color:#fff;font-size:14px;font-weight:800}
.ark-certificate-brand strong{margin-top:10px;color:#E8EEF5;font-size:17px}.ark-certificate-brand small{margin-top:3px;color:#AEBBC8;font-size:8px}
.ark-cert-kicker{display:block;margin-top:50px;color:#2F8DF6;font-size:10px;font-weight:800;letter-spacing:.16em}
.ark-certificate-paper>p{margin:16px 0 0;color:#AEBBC8;font-size:11px}
.ark-certificate-paper h2{margin:13px 0 0;color:#F1F5F9;font-size:42px;font-weight:600;letter-spacing:-.04em}
.ark-certificate-paper h3{margin:12px 0 0;color:#2F8DF6;font-size:23px;font-weight:650}
.ark-cert-batch{font-size:9px!important}.ark-cert-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:52px auto 0;max-width:700px}
.ark-cert-stats div{padding:13px;border-top:1px solid #DDE5EC}.ark-cert-stats span{display:block;color:#AEBBC8;font-size:7px;text-transform:uppercase}.ark-cert-stats strong{display:block;margin-top:5px;color:#DCE5EE;font-size:9px}
.ark-cert-sign{display:flex;justify-content:flex-end;margin-top:70px}.ark-cert-sign>div{width:180px;text-align:center}.ark-cert-sign span{display:block;border-top:1px solid #7F8A98}.ark-cert-sign strong{display:block;margin-top:7px;color:#DCE5EE;font-size:8px}.ark-cert-sign small{display:block;margin-top:2px;color:#AEBBC8;font-size:7px}

.ark-hub-health-foot-4{grid-template-columns:repeat(4,1fr)!important}
.ark-hub-health-foot-4>div{border-right:1px solid #EDF1F5}
.ark-hub-health-foot-4>div:last-child{border-right:0}

@media(max-width:1000px){
  .ark-cert-eligibility-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .ark-attendance-student{grid-template-columns:34px minmax(0,1fr);gap:9px}
  .ark-att-status,.ark-att-note{grid-column:1/-1;width:100%}
  .ark-cert-eligibility-grid{grid-template-columns:1fr}
  .ark-hub-health-foot-4{grid-template-columns:1fr 1fr!important}
  .ark-hub-health-foot-4>div:nth-child(2){border-right:0}
  .ark-certificate-paper{padding:40px 20px;min-height:620px}.ark-certificate-paper h2{font-size:32px}.ark-cert-stats{grid-template-columns:1fr}
}
@media print{
  .ark-certificate-print-actions,.ark-sidebar,.ark-topbar{display:none!important}
  .ark-certificate-paper{width:100%!important;max-width:none!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
  .ark-content{padding:0!important}
}


/* =========================================================
   V1.6 — DARK APP EXPERIENCE
========================================================= */
html{background:#0B0F14;color-scheme:dark}
body,.ark-app-body{
  --ark-bg:#0B0F14!important;
  --ark-panel:#141B24!important;
  --ark-ink:#E8EEF5!important;
  --ark-muted:#8D9BAD!important;
  --ark-line:#263242!important;
  --ark-sidebar:#10161E!important;
  --ark-accent:#4EA1FF!important;
  --ark-green:#37C991!important;
  --ark-danger:#FF6B78!important;
  --section:#4EA1FF!important;
  --section-2:#65B6FF!important;
  --section-soft:#17283A!important;
  --section-rgb:78,161,255!important;
  background:#0B0F14!important;
  color:#E8EEF5!important;
}
.ark-app-body,.ark-login-body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
.ark-main,.ark-content,.ark-section-dashboard .ark-content{background:#0B0F14!important}
.ark-app-body *{scrollbar-color:#344256 #111720}
.ark-app-body ::selection{background:#2F78B9;color:#fff}

/* Shell */
.ark-sidebar{
  background:linear-gradient(180deg,#10161E 0%,#0E141C 100%)!important;
  border-right:1px solid #202B38!important;color:#E8EEF5!important;box-shadow:none!important
}
.ark-sidebar-brand strong,.ark-mini-profile strong{color:#EFF5FB!important}
.ark-sidebar-brand span,.ark-mini-profile small,.ark-logout{color:#77879A!important}
.ark-sidebar-brand .ark-brand-mark,.ark-brand-mark{background:linear-gradient(145deg,#2F8DF6,#5EB7FF)!important;color:#fff!important}
.ark-nav a{color:#8E9BAD!important;background:transparent!important;border:0!important}
.ark-nav a:hover{background:#17212D!important;color:#EAF3FC!important}
.ark-nav a.active{background:#16283A!important;color:#64B5FF!important;box-shadow:inset 3px 0 0 #4EA1FF!important}
.ark-nav-icon{color:inherit!important}
.ark-sidebar-bottom{border-top-color:#202B38!important}
.ark-avatar{background:#18324A!important;color:#68B8FF!important}
.ark-topbar{
  background:rgba(11,15,20,.90)!important;border-bottom:1px solid #202B38!important;color:#E8EEF5!important;
  backdrop-filter:blur(18px) saturate(130%)!important
}
.ark-topbar h1,.ark-section-head h2{color:#F0F5FA!important}
.ark-top-kicker{color:#6F8194!important}
.ark-version{background:#141B24!important;border-color:#283545!important;color:#7F8EA1!important}
.ark-menu-btn{background:#141B24!important;border-color:#2A3747!important;color:#DCE6EF!important}

/* App controls */
.ark-install-btn{
  min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #2B3B4D;
  border-radius:9px;background:#141B24;color:#AFC0D2;font:inherit;font-size:9px;font-weight:700;cursor:pointer
}
.ark-install-btn:hover,.ark-install-btn.is-ready{border-color:#315E89;background:#152536;color:#62B3FF}
.ark-install-btn span{font-size:13px}.ark-install-btn b{font-size:9px}
.ark-sync-status{
  display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 9px;border:1px solid #273443;
  border-radius:999px;background:#111821;color:#AEBBC8;font-size:8px;font-weight:700
}
.ark-sync-status i{width:7px;height:7px;border-radius:50%;background:#596879}
.ark-sync-status.is-live i{background:#37C991;box-shadow:0 0 0 4px rgba(55,201,145,.08)}
.ark-sync-status.is-syncing i{background:#4EA1FF;animation:arkSyncPulse 1s ease infinite}
.ark-sync-status.is-offline i{background:#FF6B78}.ark-sync-status.is-update i{background:#F2B84B}
@keyframes arkSyncPulse{50%{opacity:.35}}

/* Dark surfaces */
.ark-panel,.ark-person-card,.ark-record-card-table .ark-record-card,.ark-team-card,.ark-metric,.ark-filter-panel,
.ark-hub-overview,.ark-hub-stat,.ark-bi-chart-card,.ark-report-metric,.ark-cert-eligibility-card,.ark-universal-editor,
.ark-attention-panel,.ark-hub-attention,.ark-hub-course-health,.ark-hub-commission-ledger{
  background:#141B24!important;border-color:#263242!important;box-shadow:0 8px 24px rgba(0,0,0,.15)!important;color:#E8EEF5!important
}
.ark-panel-title h3,.ark-person-card-title h4,.ark-card-field-value,.ark-record-card-table strong,
.ark-hub-stat-main strong,.ark-hub-course-name strong,.ark-hub-course-money strong,.ark-report-stack-card strong,
.ark-report-table td strong,.ark-attendance-history strong,.ark-cert-eligibility-head strong{color:#E8EEF5!important}
.ark-section-head p,.ark-panel-title p,.ark-panel-title span,.ark-card-field-label,.ark-person-card-title span,
.ark-record-card-table small,.ark-metric span,.ark-metric small,.ark-empty,.ark-hub-stat>small,
.ark-report-stack-card small,.ark-report-table td,.ark-report-table td small{color:#AEBBC8!important}
.ark-section-badge{background:#17283A!important;border-color:#264A6C!important;color:#66B8FF!important}

/* Forms */
.ark-field>span,.ark-login-form label>span,.ark-filter-field span{color:#C3CED9!important}
.ark-field input,.ark-field select,.ark-field textarea,.ark-login-form input,.ark-filter-field input,.ark-filter-field select,
.ark-att-status,.ark-att-note,.ark-report-custom input{
  background:#0F151D!important;border-color:#2A3747!important;color:#E8EEF5!important
}
.ark-field input::placeholder,.ark-field textarea::placeholder,.ark-att-note::placeholder{color:#5F6D7C!important}
.ark-field input:focus,.ark-field select:focus,.ark-field textarea:focus,.ark-login-form input:focus,
.ark-filter-field input:focus,.ark-filter-field select:focus{border-color:#4EA1FF!important;box-shadow:0 0 0 3px rgba(78,161,255,.12)!important}
select option{background:#121923;color:#E8EEF5}
.ark-readonly-value,.ark-linked-edit-notice,.ark-checkbox-field{background:#101821!important;border-color:#2A3747!important;color:#A8B5C2!important}

/* Buttons */
.ark-primary-btn,.ark-filter-apply{background:#2F8DF6!important;color:#fff!important;border:0!important;box-shadow:0 7px 18px rgba(47,141,246,.20)!important}
.ark-primary-btn:hover,.ark-filter-apply:hover{background:#48A0FA!important}
.ark-secondary-btn,.ark-editor-close{background:#151E28!important;border-color:#2B3949!important;color:#B3C0CD!important}
.ark-secondary-btn:hover,.ark-editor-close:hover{background:#1B2A38!important;border-color:#365779!important;color:#65B6FF!important}
.ark-delete-btn{color:#FF7A85!important}.ark-table-link{color:#65B6FF!important}

/* Data cards / tables */
.ark-table-wrap{border-color:#263242!important;background:#111821!important}
.ark-table th,.ark-report-table th{background:#101720!important;color:#AEBBC8!important;border-color:#263242!important}
.ark-table td,.ark-report-table td{border-color:#222D39!important}
.ark-record-card-table .ark-record-card td,.ark-card-actions,.ark-person-meta{border-color:#263242!important}
.ark-card-info>div,.ark-money-row>div,.ark-report-pulse-grid>div,.ark-hub-attention-item,.ark-hub-commission-row,
.ark-hub-commission-foot,.ark-attendance-toolbar,.ark-cert-checks span{background:#101720!important;border-color:#263242!important}
.ark-card-info span,.ark-money-row span{color:#AEBBC8!important}
.ark-profile-avatar{background:#17283A!important;border-color:#285078!important;color:#6BB9FF!important}
.ark-mode-online,.ark-pill-online{background:#142A3D!important;color:#67B7FF!important}
.ark-mode-offline{background:#162921!important;color:#66D09B!important}
.ark-pill{background:#1B2632!important;color:#AEBBC8!important;border-color:#2D3A48!important}
.ark-pill-income,.ark-pill-active,.ark-pill-enrolled,.ark-pill-done,.ark-pill-paid,.ark-pill-completed{background:#133024!important;color:#66D09B!important}
.ark-pill-expense,.ark-pill-urgent,.ark-pill-lost,.ark-pill-cancelled,.ark-pill-overdue{background:#351D25!important;color:#FF8A95!important}
.ark-pill-high,.ark-pill-payment_pending,.ark-pill-follow_up,.ark-pill-pending{background:#342A18!important;color:#F3C766!important}

/* Dashboard */
.ark-hub-titlebar h2{color:#F2F6FA!important}.ark-hub-titlebar p,.ark-hub-eyebrow,.ark-sync-note{color:#AEBBC8!important}
.ark-hub-period,.ark-bi-switch{background:#111821!important;border-color:#283646!important}
.ark-hub-period a,.ark-bi-switch a{color:#8090A2!important}
.ark-hub-period a.active,.ark-bi-switch a.active{background:#1A2633!important;color:#66B8FF!important;box-shadow:none!important}
.ark-hub-overview{background:#141B24!important;border-color:#263242!important}
.ark-hub-stat{background:#141B24!important;border-color:#263242!important}
.ark-hub-stat:hover,.ark-hub-commission-row:hover,.ark-hub-course-list-full>a:hover{background:#17212C!important}
.ark-hub-stat-top span,.ark-hub-stat>small{color:#AEBBC8!important}
.ark-hub-stat-top i{background:#1B2632!important;color:#91A0B1!important}
.ark-hub-ring:before{background:#141B24!important}
.ark-hub-ring{background:conic-gradient(var(--ring-color) calc(var(--ring)*1%),#253140 0)!important}
.ark-hub-ring strong,.ark-hub-health-foot strong,.ark-hub-member-copy strong,.ark-hub-activity-copy strong{color:#E6EDF4!important}
.ark-hub-ring-item>span,.ark-hub-health-foot span{color:#B8C4D0!important}
.ark-hub-health-foot,.ark-hub-member-progress>span{border-color:#263242!important;background:#111821!important}
.ark-hub-course-bar,.ark-hub-course-list-full .ark-hub-course-bar{background:#253140!important}
.ark-hub-team-row,.ark-hub-activity-list>a,.ark-hub-course-list>a,.ark-hub-commission-row{border-color:#253140!important}
.ark-hub-activity-avatar,.ark-hub-member-avatar{background:#17283A!important;color:#68B7FF!important}
.ark-hub-attention-grid,.ark-course-performance-head{border-color:#263242!important}
.ark-hub-attention-item span,.ark-hub-course-progress-top span{color:#C3CED9!important}
.ark-hub-attention-item small,.ark-hub-course-progress-top small{color:#AEBBC8!important}

/* Charts */
.ark-chart-legend{border-color:#263242!important}
.ark-chart-legend span,.ark-chart-legend b{color:#B8C4D0!important}.ark-chart-legend em{color:#DCE5EE!important}
.ark-chart-tooltip{background:#0A0F15!important;border-color:#334155!important}

/* Reports */
.ark-report-filter,.ark-report-preset{background:#111821!important;border-color:#263242!important}
.ark-report-preset a{color:#AEBBC8!important}.ark-report-preset a.active{background:#1A2633!important;color:#65B6FF!important;box-shadow:none!important}
.ark-report-pulse-grid,.ark-report-table-wrap{border-color:#263242!important}.ark-report-stack-card{border-color:#263242!important}

/* Attendance / learning */
.ark-learning-mini span,.ark-attendance-mini span{background:#101720!important;border-color:#263242!important;color:#AEBBC8!important}
.ark-learning-mini b,.ark-attendance-mini b{color:#DCE6F0!important}
.ark-attendance-student,.ark-attendance-history>div{border-color:#263242!important}
.ark-attendance-student-name strong{color:#E3EBF3!important}.ark-attendance-student-name small{color:#AEBBC8!important}
.ark-cert-eligibility-card.is-eligible{background:#12221C!important;border-color:#25543E!important}.ark-cert-reason{color:#E9B65B!important}

/* Alerts */
.ark-alert-success{background:#12251D!important;border-color:#23543D!important;color:#78D6A5!important}
.ark-alert-error{background:#301B22!important;border-color:#57303A!important;color:#FF9099!important}

/* Login */
.ark-login-body{background:radial-gradient(circle at 80% 10%,rgba(47,141,246,.13),transparent 28%),linear-gradient(135deg,#090D12,#101720)!important;color:#E8EEF5!important}
.ark-login-brand{background:radial-gradient(circle at 85% 5%,rgba(78,161,255,.18),transparent 30%),linear-gradient(145deg,#101821,#0C1219)!important;border:1px solid #202C39!important}
.ark-login-card{background:#141B24!important;border-color:#263242!important;box-shadow:0 20px 60px rgba(0,0,0,.25)!important}
.ark-login-card h1{color:#F3F7FB!important}.ark-login-card>p,.ark-login-foot,.ark-login-kicker{color:#AEBBC8!important}

/* Install dialog */
.ark-install-modal{position:fixed;inset:0;z-index:300;display:none;place-items:center;padding:18px;background:rgba(3,7,12,.72);backdrop-filter:blur(8px)}
.ark-install-modal.show{display:grid}
.ark-install-dialog{position:relative;width:min(430px,100%);padding:26px;border:1px solid #2A3747;border-radius:18px;background:#141B24;color:#E8EEF5;box-shadow:0 24px 70px rgba(0,0,0,.42)}
.ark-install-close{position:absolute;right:12px;top:12px;width:34px;height:34px;border:1px solid #2A3747;border-radius:50%;background:#101720;color:#A7B4C1;font-size:18px;cursor:pointer}
.ark-install-logo{width:52px;height:52px;display:grid;place-items:center;border-radius:14px;background:#2F8DF6;color:#fff;font-weight:800}
.ark-install-copy strong{display:block;margin:18px 0 8px;font-size:18px}.ark-install-copy p{margin:0;color:#B8C4D0;font-size:12px;line-height:1.7}
.ark-install-dialog>small{display:block;margin-top:18px;padding-top:14px;border-top:1px solid #263242;color:#AEBBC8;font-size:9px;line-height:1.6}

/* Live sync toast */
.ark-sync-toast{position:fixed;right:18px;bottom:20px;z-index:290;display:none;align-items:center;gap:16px;width:min(420px,calc(100vw - 24px));padding:14px;border:1px solid #314158;border-radius:14px;background:#141B24;box-shadow:0 18px 50px rgba(0,0,0,.36)}
.ark-sync-toast.show{display:flex}.ark-sync-toast div{min-width:0;flex:1}
.ark-sync-toast strong{display:block;color:#E7EEF5;font-size:11px}.ark-sync-toast span{display:block;margin-top:3px;color:#AEBBC8;font-size:9px;line-height:1.4}
.ark-sync-toast button{border:0;border-radius:9px;padding:9px 12px;background:#2F8DF6;color:#fff;font-size:9px;font-weight:700;white-space:nowrap}

.ark-mobile-nav,.ark-sidebar-backdrop{display:none}

/* =========================================================
   V1.6 — MOBILE APP QUALITY PASS
========================================================= */
@media(max-width:960px){
  .ark-app-shell{display:block!important;min-height:100dvh!important}
  .ark-sidebar{position:fixed!important;left:0!important;top:0!important;width:min(86vw,320px)!important;height:100dvh!important;padding-top:calc(18px + env(safe-area-inset-top))!important;padding-bottom:calc(16px + env(safe-area-inset-bottom))!important;transform:translateX(-104%)!important;transition:transform .22s ease!important;z-index:210!important;overflow-y:auto!important}
  .ark-sidebar.open{transform:translateX(0)!important}
  .ark-sidebar-backdrop{position:fixed;inset:0;z-index:200;border:0;background:rgba(2,6,10,.66);backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:.2s;display:block}
  .ark-sidebar-backdrop.show{opacity:1;pointer-events:auto}
  body.ark-nav-open{overflow:hidden}
  .ark-menu-btn{display:grid!important;place-items:center!important;flex:0 0 38px}
  .ark-topbar{min-height:68px!important;padding:calc(10px + env(safe-area-inset-top)) 12px 10px!important;gap:10px!important}
  .ark-topbar>div:nth-child(2){min-width:0}.ark-topbar h1{font-size:19px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40vw}.ark-top-kicker{display:none!important}
  .ark-top-actions{gap:7px!important}.ark-version{display:none!important}
  .ark-install-btn{width:35px;padding:0!important;justify-content:center!important}.ark-install-btn b{display:none!important}.ark-install-btn span{font-size:15px!important}
  .ark-sync-status{padding:0 8px!important}.ark-sync-status b{display:none!important}
  .ark-content{width:100%!important;max-width:100%!important;overflow:hidden!important;padding:16px 12px calc(84px + env(safe-area-inset-bottom))!important}
  .ark-content>*{max-width:100%!important;min-width:0!important}
  .ark-section-head{gap:10px!important;margin-bottom:15px!important}.ark-section-head h2{font-size:25px!important;line-height:1.08!important;overflow-wrap:anywhere}.ark-section-head p{font-size:12px!important;line-height:1.55!important}
  .ark-panel{padding:15px!important;border-radius:14px!important}.ark-panel-title{align-items:flex-start!important;gap:10px!important}.ark-panel-title h3{font-size:14px!important;line-height:1.3!important;overflow-wrap:anywhere}.ark-panel-title p{font-size:10px!important;line-height:1.5!important}
  .ark-metric-grid,.ark-metric-grid-4,.ark-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .ark-metric{min-width:0!important;padding:13px!important}.ark-metric>span{font-size:9px!important}.ark-metric>strong{font-size:21px!important}.ark-metric>small{font-size:9px!important;line-height:1.4}
  .ark-two-col,.ark-hub-grid,.ark-hub-grid-main,.ark-hub-grid-activity,.ark-report-chart-grid,.ark-report-two-col,.ark-bi-chart-grid-main,.ark-bi-lower-grid,.ark-business-pulse{grid-template-columns:1fr!important}
  .ark-card-grid,.ark-person-grid,.ark-team-grid,.ark-commission-grid,.ark-cert-eligibility-grid{grid-template-columns:1fr!important}
  .ark-person-card,.ark-record-card-table .ark-record-card,.ark-team-card{width:100%!important;min-width:0!important;overflow:hidden!important}
  .ark-person-card-head,.ark-cert-eligibility-head{grid-template-columns:auto minmax(0,1fr) auto!important}
  .ark-person-card-title,.ark-card-info>div,.ark-money-row>div{min-width:0!important}
  .ark-person-card-title h4,.ark-person-card-title span,.ark-card-info strong,.ark-money-row strong,.ark-record-card-table td,.ark-record-card-table strong,.ark-record-card-table small{overflow-wrap:anywhere!important;word-break:break-word!important}
  .ark-person-card-title h4{font-size:14px!important}.ark-person-card-title span{font-size:10px!important}.ark-card-info span,.ark-money-row span,.ark-card-field-label{font-size:9px!important}.ark-card-info strong,.ark-money-row strong,.ark-card-field-value{font-size:12px!important}
  .ark-card-actions,.ark-row-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.ark-card-actions>*{flex:1 1 auto!important;min-width:96px!important}.ark-card-actions .ark-secondary-btn,.ark-card-actions .ark-primary-btn,.ark-card-actions .ark-delete-btn{width:100%!important;justify-content:center!important}
  .ark-form-grid{grid-template-columns:1fr!important;gap:12px!important}.ark-field,.ark-field-full,.ark-form-actions{grid-column:1/-1!important;min-width:0!important}
  .ark-field input,.ark-field select,.ark-field textarea,.ark-login-form input,.ark-filter-field input,.ark-filter-field select,.ark-att-status,.ark-att-note,.ark-report-custom input{font-size:16px!important;min-width:0!important}
  .ark-filter-panel,.ark-filter-bar{width:100%!important;min-width:0!important}.ark-filter-grid{grid-template-columns:1fr!important}.ark-filter-field{min-width:0!important}.ark-filter-actions{width:100%!important;display:flex!important;gap:8px!important}.ark-filter-actions>*{flex:1!important}
  .ark-table-wrap{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.ark-table.ark-record-card-table,.ark-report-table.ark-record-card-table{min-width:0!important;width:100%!important}
  .ark-record-card-table tbody{grid-template-columns:1fr!important}.ark-record-card-table .ark-record-card{width:100%!important;max-width:100%!important}.ark-record-card-table .ark-record-card td{min-width:0!important;overflow-wrap:anywhere!important}
  .ark-report-table-wrap{overflow:visible!important}
  .ark-hub-overview{grid-template-columns:1fr!important}.ark-hub-stat{border-right:0!important}.ark-hub-stat-main strong{font-size:22px!important}.ark-hub-spark{width:80px!important;flex-basis:80px!important}
  .ark-hub-titlebar{align-items:flex-start!important;flex-direction:column!important;gap:12px!important}.ark-hub-titlebar h2{font-size:29px!important}.ark-hub-period{width:100%!important}.ark-hub-period a{flex:1!important}
  .ark-bi-canvas{height:220px!important;max-width:100%!important}.ark-chart-wrap{overflow:hidden!important}.ark-chart-legend{gap:6px 9px!important}
  .ark-hub-rings{grid-template-columns:repeat(3,1fr)!important;gap:5px!important}.ark-hub-ring{width:74px!important;height:74px!important}.ark-hub-ring-item>span{font-size:8px!important}.ark-hub-ring-item>small{font-size:7px!important}
  .ark-hub-health-foot-4{grid-template-columns:1fr 1fr!important}.ark-hub-attention-grid{grid-template-columns:1fr!important}.ark-hub-attention-item{border-right:0!important;border-bottom:1px solid #263242!important}
  .ark-hub-course-list-full{grid-template-columns:1fr!important}.ark-hub-course-list-full>a{grid-template-columns:1fr auto!important;max-width:100%!important}.ark-course-performance-head{display:none!important}
  .ark-hub-commission-row{grid-template-columns:34px minmax(0,1fr) auto!important;padding:12px!important}.ark-hub-commission-related,.ark-hub-commission-date{display:none!important}
  .ark-report-pulse-grid{grid-template-columns:1fr 1fr!important}.ark-report-custom{width:100%!important}.ark-report-custom label{flex:1 1 130px!important;min-width:0!important}.ark-report-custom input{width:100%!important}
  .ark-attendance-student{grid-template-columns:34px minmax(0,1fr)!important}.ark-att-status,.ark-att-note{grid-column:1/-1!important;width:100%!important}.ark-attendance-history>div{grid-template-columns:1fr!important;gap:6px!important}.ark-attendance-history em{text-align:left!important}
  .ark-cert-checks{grid-template-columns:1fr 1fr 1fr!important}
  .ark-sync-toast{left:12px!important;right:12px!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;width:auto!important}
  .ark-install-modal{padding:12px!important}
  img,svg,canvas{max-width:100%!important}
  p,strong,small,span,h1,h2,h3,h4{overflow-wrap:anywhere}
  button,a,input,select,textarea{touch-action:manipulation}

  .ark-mobile-nav{
    position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:180;display:grid;
    grid-auto-flow:column;grid-auto-columns:1fr;align-items:center;min-height:62px;padding:5px;border:1px solid #263242;
    border-radius:17px;background:rgba(16,23,32,.94);backdrop-filter:blur(20px) saturate(135%);box-shadow:0 16px 45px rgba(0,0,0,.38)
  }
  .ark-mobile-nav a,.ark-mobile-nav button{min-width:0;height:50px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:12px;background:transparent;color:#AEBBC8;font:inherit;cursor:pointer}
  .ark-mobile-nav a.active{background:#17283A;color:#65B6FF}.ark-mobile-nav span{font-size:16px;line-height:1}.ark-mobile-nav b{font-size:8px;font-weight:650;white-space:nowrap}
}

@media(max-width:520px){
  .ark-login-body{padding:12px!important;align-items:center!important}.ark-login-card{padding:26px 18px!important;border-radius:20px!important}.ark-login-card h1{font-size:38px!important}
  .ark-metric-grid,.ark-metric-grid-4,.ark-report-metrics{grid-template-columns:1fr 1fr!important}.ark-report-pulse-grid{grid-template-columns:1fr!important}
  .ark-hub-rings{grid-template-columns:1fr!important}.ark-hub-ring{width:84px!important;height:84px!important}.ark-card-info,.ark-money-row{grid-template-columns:1fr!important}.ark-cert-checks{grid-template-columns:1fr!important}
  .ark-section-badge{max-width:100%!important;white-space:normal!important}
}
@media(max-width:380px){
  .ark-metric-grid,.ark-metric-grid-4,.ark-report-metrics{grid-template-columns:1fr!important}.ark-topbar h1{max-width:34vw!important}.ark-avatar{width:32px!important;height:32px!important;flex-basis:32px!important}
}

@media(display-mode:standalone){
  .ark-install-btn{display:none!important}.ark-topbar{padding-top:calc(10px + env(safe-area-inset-top))!important}.ark-sidebar{padding-top:calc(18px + env(safe-area-inset-top))!important}
}

@media print{
  html,body,.ark-app-body,.ark-main,.ark-content{background:#fff!important;color:#111!important}
  .ark-certificate-paper{background:#fff!important;color:#222!important}
}


/* =========================================================
   V1.6.1 — SIDEBAR READABILITY TUNING
========================================================= */
.ark-sidebar .ark-nav a{
  font-size:13.5px!important;
  font-weight:650!important;
  letter-spacing:-.01em!important;
}
.ark-sidebar .ark-nav-icon{
  font-size:15px!important;
}
.ark-sidebar-brand strong{
  font-size:17px!important;
}
.ark-sidebar-brand span{
  font-size:9px!important;
}
.ark-mini-profile strong{
  font-size:11px!important;
}
.ark-mini-profile small,
.ark-sidebar .ark-logout{
  font-size:9px!important;
}

@media(max-width:960px){
  .ark-sidebar .ark-nav a{
    font-size:14px!important;
    min-height:48px!important;
  }
  .ark-sidebar .ark-nav-icon{
    font-size:16px!important;
  }
}


/* =========================================================
   V1.6.2 — MOBILE COURSE PERFORMANCE FIX
========================================================= */
@media(max-width:960px){
  .ark-hub-course-health-full{
    overflow:visible!important;
  }

  .ark-hub-course-health-full .ark-panel-title{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:12px!important;
    flex-wrap:wrap!important;
  }

  .ark-hub-course-health-full .ark-panel-title .ark-table-link{
    min-height:40px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 14px!important;
    border-radius:13px!important;
    border:1px solid #314158!important;
    background:#141B24!important;
    color:#65B6FF!important;
    white-space:nowrap!important;
  }

  .ark-hub-course-health-full .ark-panel-title h3{
    color:#F1F6FB!important;
  }

  .ark-hub-course-health-full .ark-panel-title p{
    color:#B8C4D0!important;
    max-width:100%!important;
  }

  .ark-hub-course-list-full{
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding-top:4px!important;
  }

  .ark-hub-course-list-full > a{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:12px 14px!important;
    padding:16px!important;
    border:1px solid #263242!important;
    border-radius:18px!important;
    background:#141B24!important;
    box-shadow:0 8px 22px rgba(0,0,0,.20)!important;
    overflow:hidden!important;
  }

  .ark-hub-course-list-full > a:hover{
    background:#17212C!important;
  }

  .ark-hub-course-list-full .ark-hub-course-name{
    grid-column:1/2!important;
    min-width:0!important;
  }

  .ark-hub-course-list-full .ark-hub-course-name strong{
    color:#E8EEF5!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.35!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }

  .ark-hub-course-list-full .ark-hub-course-name small{
    color:#B8C4D0!important;
    font-size:10px!important;
    margin-top:5px!important;
  }

  .ark-hub-course-students{
    grid-column:2/3!important;
    text-align:right!important;
    align-self:start!important;
  }

  .ark-hub-course-students strong{
    color:#E8EEF5!important;
    font-size:28px!important;
    line-height:1!important;
    font-weight:750!important;
  }

  .ark-hub-course-students small{
    color:#B8C4D0!important;
    font-size:10px!important;
    margin-top:5px!important;
  }

  .ark-hub-course-progress{
    grid-column:1/-1!important;
    min-width:0!important;
  }

  .ark-hub-course-progress-top{
    margin-bottom:9px!important;
    gap:8px!important;
  }

  .ark-hub-course-progress-top span{
    color:#C2D0DD!important;
    font-size:11px!important;
    font-weight:700!important;
  }

  .ark-hub-course-progress-top small{
    color:#B8C4D0!important;
    font-size:10px!important;
  }

  .ark-hub-course-list-full .ark-hub-course-bar{
    background:#253140!important;
    height:10px!important;
    border-radius:999px!important;
  }

  .ark-hub-course-list-full .ark-hub-course-bar span{
    background:#2F8DF6!important;
  }

  .ark-hub-course-list-full .ark-hub-course-money{
    min-width:0!important;
  }

  .ark-hub-course-list-full .ark-hub-course-money strong{
    font-size:13px!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .ark-hub-course-list-full .ark-hub-course-money small{
    color:#B8C4D0!important;
    font-size:10px!important;
    margin-top:5px!important;
  }

  .ark-hub-course-list-full .ark-course-collected{
    grid-column:1/2!important;
    text-align:left!important;
  }

  .ark-hub-course-list-full .ark-course-pending{
    grid-column:2/3!important;
    text-align:right!important;
  }

  .ark-hub-course-list-full .ark-course-collected strong{
    color:#66D09B!important;
  }

  .ark-hub-course-list-full .ark-course-pending strong{
    color:#F3C766!important;
  }
}

@media(max-width:520px){
  .ark-hub-course-health-full .ark-panel-title{
    align-items:flex-start!important;
  }

  .ark-hub-course-health-full .ark-panel-title .ark-table-link{
    min-height:38px!important;
    padding:0 13px!important;
    font-size:11px!important;
  }

  .ark-hub-course-list-full > a{
    grid-template-columns:minmax(0,1fr) auto!important;
    padding:15px!important;
  }

  .ark-hub-course-students strong{
    font-size:24px!important;
  }

  .ark-hub-course-list-full .ark-hub-course-money strong{
    font-size:12px!important;
  }
}


/* =========================================================
   V1.6.3 — COMPLETE DARK-MODE CONTRAST AUDIT
   Important text: #F1F5F9
   Standard text:  #D5DEE8
   Secondary text: #B8C4D0
========================================================= */
.ark-app-body{
  --ark-text-strong:#F1F5F9;
  --ark-text:#D5DEE8;
  --ark-text-muted:#B8C4D0;
  --ark-text-faint:#9FAEBE;
}

/* Page / panel headings */
.ark-app-body h1,
.ark-app-body h2,
.ark-app-body h3,
.ark-app-body h4,
.ark-app-body h5,
.ark-app-body h6,
.ark-topbar h1,
.ark-section-head h2,
.ark-panel-title h3,
.ark-hub-titlebar h2{
  color:#F1F5F9!important;
}

/* Core body copy */
.ark-app-body p,
.ark-section-head p,
.ark-panel-title p,
.ark-hub-titlebar p,
.ark-note-box,
.ark-view-only-box,
.ark-linked-edit-notice,
.ark-readonly-value{
  color:#C8D3DE!important;
}

/* Important numbers / values */
.ark-metric strong,
.ark-hub-stat-main strong,
.ark-hub-health-foot strong,
.ark-hub-course-students strong,
.ark-hub-course-money strong,
.ark-hub-course-progress-top span,
.ark-hub-commission-total strong,
.ark-hub-commission-amount strong,
.ark-hub-commission-person strong,
.ark-hub-commission-related strong,
.ark-hub-commission-date strong,
.ark-report-metric strong,
.ark-report-pulse-grid strong,
.ark-report-stack-card strong,
.ark-card-info strong,
.ark-money-row strong,
.ark-card-field-value,
.ark-profile-grid strong,
.ark-person-card-title h4,
.ark-team-card strong,
.ark-attendance-student-name strong,
.ark-attendance-history strong,
.ark-cert-eligibility-head strong,
.ark-cert-checks b,
.ark-learning-mini b,
.ark-attendance-mini b{
  color:#F1F5F9!important;
}

/* Regular labels and text that must remain clearly readable */
.ark-field>span,
.ark-login-form label>span,
.ark-filter-field span,
.ark-card-info span,
.ark-money-row span,
.ark-card-field-label,
.ark-person-card-title span,
.ark-profile-grid span,
.ark-metric span,
.ark-hub-stat-top span,
.ark-hub-ring-item>span,
.ark-hub-health-foot span,
.ark-hub-activity-copy small,
.ark-hub-member-copy small,
.ark-hub-course-name small,
.ark-hub-course-money small,
.ark-hub-course-progress-top small,
.ark-hub-attention-item span,
.ark-hub-attention-item small,
.ark-hub-commission-total span,
.ark-hub-commission-total small,
.ark-hub-commission-person small,
.ark-hub-commission-related>span,
.ark-hub-commission-date>span,
.ark-hub-commission-date small,
.ark-report-table th,
.ark-report-table td,
.ark-report-table td small,
.ark-report-stack-card small,
.ark-report-pulse-grid span,
.ark-report-pulse-grid small,
.ark-attendance-student-name small,
.ark-attendance-history small,
.ark-attendance-history em,
.ark-cert-eligibility-head small,
.ark-cert-reason,
.ark-learning-mini span,
.ark-attendance-mini span{
  color:#B8C4D0!important;
}

/* Small helper copy remains muted but visible */
.ark-metric small,
.ark-top-kicker,
.ark-hub-eyebrow,
.ark-sync-note,
.ark-login-kicker,
.ark-login-foot,
.ark-sidebar-brand span,
.ark-mini-profile small{
  color:#A8B6C5!important;
}

/* Form controls and typed values */
.ark-field input,
.ark-field select,
.ark-field textarea,
.ark-login-form input,
.ark-filter-field input,
.ark-filter-field select,
.ark-report-custom input,
.ark-att-status,
.ark-att-note{
  color:#F1F5F9!important;
  caret-color:#65B6FF!important;
}
.ark-field input::placeholder,
.ark-field textarea::placeholder,
.ark-login-form input::placeholder,
.ark-filter-field input::placeholder,
.ark-att-note::placeholder{
  color:#91A1B3!important;
  opacity:1!important;
}
select option{
  color:#F1F5F9!important;
  background:#121923!important;
}

/* Data tables */
.ark-table th,
.ark-report-table th{
  color:#B9C6D3!important;
}
.ark-table td,
.ark-report-table td{
  color:#D5DEE8!important;
}
.ark-table td strong,
.ark-report-table td strong,
.ark-record-card-table strong{
  color:#F1F5F9!important;
}
.ark-table td small,
.ark-record-card-table small{
  color:#B8C4D0!important;
}

/* Filters / utility controls */
.ark-version,
.ark-sync-status,
.ark-install-btn,
.ark-secondary-btn,
.ark-editor-close{
  color:#C7D2DD!important;
}
.ark-filter-reset,
.ark-filter-clear{
  color:#B8C4D0!important;
}

/* Dashboard activity and course text */
.ark-hub-activity-list em,
.ark-hub-member-progress>strong{
  color:#C8D3DE!important;
}
.ark-hub-course-name strong{
  color:#F1F5F9!important;
}
.ark-hub-course-progress-top span{
  color:#D8E1EA!important;
}

/* Course Performance values: keep semantic colors bright */
.ark-hub-course-list-full .ark-course-collected strong{
  color:#64D8A1!important;
}
.ark-hub-course-list-full .ark-course-pending strong{
  color:#FFD06B!important;
}

/* Finance/status semantic text gets dark-mode-safe shades */
.ark-pill-income,
.ark-pill-active,
.ark-pill-enrolled,
.ark-pill-done,
.ark-pill-paid,
.ark-pill-completed{
  color:#76E2AF!important;
}
.ark-pill-expense,
.ark-pill-urgent,
.ark-pill-lost,
.ark-pill-cancelled,
.ark-pill-overdue{
  color:#FF909A!important;
}
.ark-pill-high,
.ark-pill-payment_pending,
.ark-pill-follow_up,
.ark-pill-pending{
  color:#FFD16F!important;
}
.ark-mode-online,
.ark-pill-online{
  color:#78C4FF!important;
}
.ark-mode-offline{
  color:#78D9A9!important;
}

/* Buttons: ensure label never inherits old dark text */
.ark-primary-btn,
.ark-primary-btn *,
.ark-filter-apply,
.ark-filter-apply *{
  color:#FFFFFF!important;
}
.ark-secondary-btn,
.ark-secondary-btn *,
.ark-editor-close{
  color:#D3DDE7!important;
}
.ark-secondary-btn:hover,
.ark-secondary-btn:hover *,
.ark-editor-close:hover{
  color:#7CC6FF!important;
}
.ark-delete-btn,
.ark-delete-btn *{
  color:#FF8C96!important;
}
.ark-table-link{
  color:#72BDFF!important;
}

/* Sidebar readability + active states */
.ark-sidebar .ark-nav a{
  color:#C0CBD6!important;
}
.ark-sidebar .ark-nav a:hover{
  color:#F1F5F9!important;
}
.ark-sidebar .ark-nav a.active{
  color:#7CC6FF!important;
}
.ark-sidebar-brand strong,
.ark-mini-profile strong{
  color:#F1F5F9!important;
}
.ark-sidebar .ark-logout{
  color:#B8C4D0!important;
}
.ark-sidebar .ark-logout:hover{
  color:#FF8C96!important;
}

/* Empty states must remain readable */
.ark-empty,
.ark-empty-box{
  color:#B8C4D0!important;
}

/* Report controls */
.ark-report-preset a{
  color:#B4C1CE!important;
}
.ark-report-preset a.active{
  color:#7CC6FF!important;
}
.ark-report-custom label span{
  color:#B8C4D0!important;
}

/* Attendance semantic labels */
.ark-att-present{color:#76E2AF!important}
.ark-att-late{color:#FFD16F!important}
.ark-att-absent{color:#FF909A!important}
.ark-att-excused{color:#91B7FF!important}

/* Login screen */
.ark-login-card h1,
.ark-login-brand strong{
  color:#F1F5F9!important;
}
.ark-login-card>p,
.ark-login-brand p,
.ark-login-foot{
  color:#B8C4D0!important;
}
.ark-check-row span{
  color:#C7D2DD!important;
}

/* Install dialog / live-sync dialog */
.ark-install-dialog,
.ark-install-copy strong,
.ark-sync-toast strong{
  color:#F1F5F9!important;
}
.ark-install-copy p,
.ark-install-dialog>small,
.ark-sync-toast span{
  color:#B8C4D0!important;
}

/* Mobile nav */
.ark-mobile-nav a,
.ark-mobile-nav button{
  color:#AEBBC8!important;
}
.ark-mobile-nav a.active{
  color:#7CC6FF!important;
}
.ark-mobile-nav b{
  color:inherit!important;
}

/* Canvas chart legend text */
.ark-chart-legend span,
.ark-chart-legend b{
  color:#B8C4D0!important;
}
.ark-chart-legend em{
  color:#F1F5F9!important;
}

/* Universal protection against accidentally transparent/faded content */
.ark-app-body [disabled]{
  opacity:.72!important;
}
.ark-app-body .ark-panel,
.ark-app-body .ark-person-card,
.ark-app-body .ark-record-card,
.ark-app-body .ark-metric{
  text-shadow:none!important;
}

/* Mobile contrast must not be weakened by old media-query styles */
@media(max-width:960px){
  .ark-app-body h1,
  .ark-app-body h2,
  .ark-app-body h3,
  .ark-app-body h4,
  .ark-person-card-title h4,
  .ark-hub-course-list-full .ark-hub-course-name strong{
    color:#F1F5F9!important;
  }

  .ark-section-head p,
  .ark-panel-title p,
  .ark-person-card-title span,
  .ark-card-info span,
  .ark-money-row span,
  .ark-hub-course-list-full .ark-hub-course-name small,
  .ark-hub-course-list-full .ark-hub-course-money small{
    color:#B8C4D0!important;
  }

  .ark-card-info strong,
  .ark-money-row strong,
  .ark-hub-course-students strong{
    color:#F1F5F9!important;
  }
}

/* Printing remains light and readable */
@media print{
  .ark-certificate-paper,
  .ark-certificate-paper *{
    color:#222!important;
  }
  .ark-certificate-paper h3{
    color:#2F8DF6!important;
  }
}


/* =========================================================
   V1.6.4 — MOBILE BUSINESS HEALTH + SIDEBAR VISIBILITY
========================================================= */

/* Left navigation: all sidebar labels/icons stay clearly visible. */
.ark-sidebar .ark-nav a,
.ark-sidebar .ark-nav a:visited{
  color:#F1F5F9!important;
}
.ark-sidebar .ark-nav-icon{
  color:#F1F5F9!important;
}
.ark-sidebar .ark-nav a:hover,
.ark-sidebar .ark-nav a:hover .ark-nav-icon{
  color:#FFFFFF!important;
}
.ark-sidebar .ark-nav a.active,
.ark-sidebar .ark-nav a.active .ark-nav-icon{
  color:#FFFFFF!important;
}
.ark-sidebar .ark-logout,
.ark-sidebar .ark-logout:visited{
  color:#F1F5F9!important;
}
.ark-sidebar .ark-logout:hover{
  color:#FF909A!important;
}
.ark-sidebar-brand span,
.ark-mini-profile small{
  color:#C7D2DD!important;
}

/* Business Health period chip should never fall back to a light-theme badge. */
.ark-hub-health .ark-panel-title>span{
  background:#17212C!important;
  border:1px solid #2B3A4A!important;
  color:#C7D2DD!important;
  border-radius:999px!important;
  padding:7px 10px!important;
  line-height:1.2!important;
  white-space:normal!important;
  text-align:center!important;
}

/* Mobile: make Business Health compact instead of a tall vertical stack. */
@media(max-width:760px){
  .ark-hub-health{
    min-height:0!important;
    height:auto!important;
    padding:15px!important;
    overflow:hidden!important;
  }

  .ark-hub-health .ark-panel-title{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:10px!important;
    margin-bottom:8px!important;
  }

  .ark-hub-health .ark-panel-title>div{
    min-width:0!important;
  }

  .ark-hub-health .ark-panel-title h3{
    font-size:16px!important;
    line-height:1.25!important;
  }

  .ark-hub-health .ark-panel-title p{
    margin-top:5px!important;
    font-size:10px!important;
    line-height:1.45!important;
    max-width:100%!important;
  }

  .ark-hub-health .ark-panel-title>span{
    max-width:100px!important;
    font-size:9px!important;
    padding:7px 9px!important;
  }

  .ark-hub-rings{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:start!important;
    gap:8px!important;
    padding:14px 0 16px!important;
  }

  .ark-hub-ring-item{
    min-width:0!important;
    text-align:center!important;
  }

  .ark-hub-ring{
    width:68px!important;
    height:68px!important;
    margin:0 auto 8px!important;
  }

  .ark-hub-ring:before{
    inset:7px!important;
  }

  .ark-hub-ring strong{
    font-size:13px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  .ark-hub-ring-item>span{
    min-height:26px!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    color:#F1F5F9!important;
    font-size:8.5px!important;
    font-weight:700!important;
    line-height:1.25!important;
    overflow-wrap:anywhere!important;
  }

  .ark-hub-ring-item>small{
    display:block!important;
    margin-top:2px!important;
    color:#AEBBC8!important;
    font-size:7.25px!important;
    line-height:1.3!important;
    overflow-wrap:anywhere!important;
  }

  .ark-hub-health-foot-4{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    margin-top:2px!important;
    border:1px solid #263242!important;
    border-radius:12px!important;
    overflow:hidden!important;
    background:#101720!important;
  }

  .ark-hub-health-foot-4>div{
    min-width:0!important;
    padding:12px!important;
    border:0!important;
    background:#101720!important;
  }

  .ark-hub-health-foot-4>div:nth-child(odd){
    border-right:1px solid #263242!important;
  }

  .ark-hub-health-foot-4>div:nth-child(-n+2){
    border-bottom:1px solid #263242!important;
  }

  .ark-hub-health-foot-4 span{
    color:#B8C4D0!important;
    font-size:8.5px!important;
    line-height:1.3!important;
  }

  .ark-hub-health-foot-4 strong{
    margin-top:5px!important;
    color:#F1F5F9!important;
    font-size:17px!important;
    line-height:1.15!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
}

/* Small phones: still keep all 3 signals on one row. */
@media(max-width:520px){
  .ark-hub-rings{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;
  }

  .ark-hub-ring{
    width:64px!important;
    height:64px!important;
  }

  .ark-hub-ring:before{
    inset:6px!important;
  }

  .ark-hub-ring strong{
    font-size:12px!important;
  }

  .ark-hub-ring-item>span{
    font-size:8px!important;
  }

  .ark-hub-ring-item>small{
    font-size:6.8px!important;
  }
}

@media(max-width:380px){
  .ark-hub-health{
    padding:13px!important;
  }

  .ark-hub-health .ark-panel-title{
    grid-template-columns:1fr!important;
  }

  .ark-hub-health .ark-panel-title>span{
    justify-self:start!important;
    max-width:none!important;
  }

  .ark-hub-ring{
    width:58px!important;
    height:58px!important;
  }

  .ark-hub-ring strong{
    font-size:11px!important;
  }

  .ark-hub-health-foot-4>div{
    padding:10px!important;
  }
}


/* =========================================================
   V1.6.5 — COMPLETE MOBILE TYPOGRAPHY / READABILITY PASS
   Target: no important mobile text below a comfortable size.
========================================================= */
@media(max-width:960px){

  /* Global mobile reading baseline */
  .ark-app-body{
    font-size:14px!important;
    line-height:1.5!important;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
  }

  /* Header / section hierarchy */
  .ark-topbar h1{
    font-size:21px!important;
    line-height:1.15!important;
  }

  .ark-section-head h2,
  .ark-hub-titlebar h2{
    font-size:27px!important;
    line-height:1.12!important;
  }

  .ark-section-head p,
  .ark-hub-titlebar p{
    font-size:13px!important;
    line-height:1.55!important;
  }

  .ark-panel-title h3{
    font-size:16px!important;
    line-height:1.3!important;
  }

  .ark-panel-title p{
    font-size:12px!important;
    line-height:1.5!important;
  }

  .ark-panel-title>span,
  .ark-section-badge{
    font-size:11px!important;
    line-height:1.35!important;
  }

  /* Forms */
  .ark-field>span,
  .ark-filter-field span,
  .ark-login-form label>span{
    font-size:12px!important;
    line-height:1.35!important;
  }

  .ark-field input,
  .ark-field select,
  .ark-field textarea,
  .ark-filter-field input,
  .ark-filter-field select,
  .ark-login-form input,
  .ark-report-custom input,
  .ark-att-status,
  .ark-att-note{
    font-size:16px!important;
    line-height:1.4!important;
  }

  .ark-field-hint,
  .ark-panel-copy,
  .ark-view-only-box,
  .ark-note-box,
  .ark-linked-edit-notice,
  .ark-readonly-value{
    font-size:11.5px!important;
    line-height:1.55!important;
  }

  /* Buttons / links */
  .ark-primary-btn,
  .ark-secondary-btn,
  .ark-filter-apply,
  .ark-delete-btn,
  .ark-table-link,
  .ark-editor-close,
  .ark-detail-back a{
    font-size:12px!important;
    line-height:1.2!important;
  }

  .ark-primary-btn,
  .ark-secondary-btn,
  .ark-filter-apply{
    min-height:42px!important;
  }

  /* Status pills / badges */
  .ark-pill,
  .ark-mode-badge,
  .ark-mode-online,
  .ark-mode-offline{
    font-size:10.5px!important;
    line-height:1.2!important;
    min-height:26px!important;
  }

  /* Standard card typography */
  .ark-person-card-title h4{
    font-size:15px!important;
    line-height:1.35!important;
  }

  .ark-person-card-title span{
    font-size:11px!important;
    line-height:1.4!important;
  }

  .ark-card-info span,
  .ark-money-row span,
  .ark-card-field-label,
  .ark-profile-grid span{
    font-size:10.5px!important;
    line-height:1.35!important;
  }

  .ark-card-info strong,
  .ark-money-row strong,
  .ark-card-field-value,
  .ark-profile-grid strong{
    font-size:13px!important;
    line-height:1.4!important;
  }

  .ark-person-meta{
    font-size:11px!important;
    line-height:1.4!important;
  }

  /* Metric cards */
  .ark-metric>span{
    font-size:10.5px!important;
    line-height:1.3!important;
  }

  .ark-metric>strong{
    font-size:22px!important;
    line-height:1.12!important;
  }

  .ark-metric>small{
    font-size:10.5px!important;
    line-height:1.4!important;
  }

  /* Cardified table labels / values */
  .ark-record-card-table .ark-record-card td::before{
    font-size:10.5px!important;
    line-height:1.3!important;
  }

  .ark-record-card-table .ark-record-card td{
    font-size:12.5px!important;
    line-height:1.45!important;
  }

  .ark-record-card-table .ark-record-card td strong{
    font-size:13px!important;
    line-height:1.4!important;
  }

  .ark-record-card-table .ark-record-card td small{
    font-size:10.5px!important;
    line-height:1.4!important;
  }

  /* Dashboard KPI cards */
  .ark-hub-stat-top span{
    font-size:10.5px!important;
    line-height:1.3!important;
  }

  .ark-hub-stat-main strong{
    font-size:24px!important;
    line-height:1.1!important;
  }

  .ark-hub-stat>small{
    font-size:10.5px!important;
    line-height:1.4!important;
  }

  /* Dashboard activity / people */
  .ark-hub-activity-copy strong,
  .ark-hub-member-copy strong{
    font-size:12.5px!important;
    line-height:1.35!important;
  }

  .ark-hub-activity-copy small,
  .ark-hub-member-copy small{
    font-size:10.5px!important;
    line-height:1.4!important;
  }

  .ark-hub-activity-list em,
  .ark-hub-member-progress>strong{
    font-size:10.5px!important;
  }

  /* Dashboard attention */
  .ark-hub-attention-item span{
    font-size:11px!important;
    line-height:1.35!important;
  }

  .ark-hub-attention-item strong{
    font-size:19px!important;
    line-height:1.15!important;
  }

  .ark-hub-attention-item small{
    font-size:10.5px!important;
    line-height:1.4!important;
  }

  /* Business Health */
  .ark-hub-health .ark-panel-title h3{
    font-size:17px!important;
  }

  .ark-hub-health .ark-panel-title p{
    font-size:12px!important;
  }

  .ark-hub-health .ark-panel-title>span{
    font-size:10.5px!important;
  }

  .ark-hub-ring strong{
    font-size:14px!important;
  }

  .ark-hub-ring-item>span{
    font-size:10px!important;
    line-height:1.3!important;
  }

  .ark-hub-ring-item>small{
    font-size:9.5px!important;
    line-height:1.35!important;
  }

  .ark-hub-health-foot-4 span{
    font-size:10.5px!important;
    line-height:1.35!important;
  }

  .ark-hub-health-foot-4 strong{
    font-size:18px!important;
  }

  /* Course Performance */
  .ark-hub-course-list-full .ark-hub-course-name strong{
    font-size:14.5px!important;
    line-height:1.35!important;
  }

  .ark-hub-course-list-full .ark-hub-course-name small,
  .ark-hub-course-students small,
  .ark-hub-course-progress-top small,
  .ark-hub-course-list-full .ark-hub-course-money small{
    font-size:10.5px!important;
    line-height:1.35!important;
  }

  .ark-hub-course-progress-top span{
    font-size:11.5px!important;
  }

  .ark-hub-course-list-full .ark-hub-course-money strong{
    font-size:13.5px!important;
  }

  /* Commission list */
  .ark-hub-commission-total>span,
  .ark-hub-commission-total>small,
  .ark-hub-commission-person small,
  .ark-hub-commission-related>span,
  .ark-hub-commission-date>span,
  .ark-hub-commission-date small{
    font-size:10.5px!important;
    line-height:1.35!important;
  }

  .ark-hub-commission-person strong,
  .ark-hub-commission-related strong,
  .ark-hub-commission-date strong{
    font-size:12px!important;
    line-height:1.35!important;
  }

  .ark-hub-commission-amount strong{
    font-size:13px!important;
  }

  .ark-hub-commission-amount span{
    font-size:9.5px!important;
  }

  .ark-hub-commission-foot span{
    font-size:10.5px!important;
  }

  .ark-hub-commission-foot strong{
    font-size:14px!important;
  }

  /* Reports */
  .ark-report-preset a{
    font-size:11px!important;
    line-height:1.25!important;
  }

  .ark-report-custom label span{
    font-size:10.5px!important;
  }

  .ark-report-metric>span{
    font-size:10.5px!important;
  }

  .ark-report-metric>strong{
    font-size:21px!important;
  }

  .ark-report-metric>small{
    font-size:10.5px!important;
    line-height:1.4!important;
  }

  .ark-report-pulse-grid span{
    font-size:10px!important;
  }

  .ark-report-pulse-grid strong{
    font-size:18px!important;
  }

  .ark-report-pulse-grid small{
    font-size:10px!important;
  }

  .ark-report-table th{
    font-size:10.5px!important;
  }

  .ark-report-table td{
    font-size:12px!important;
    line-height:1.45!important;
  }

  .ark-report-table td strong{
    font-size:12.5px!important;
  }

  .ark-report-table td small{
    font-size:10.5px!important;
  }

  .ark-report-stack-card>div:first-child strong{
    font-size:12.5px!important;
  }

  .ark-report-stack-card>div:first-child small,
  .ark-report-stack-card>div:last-child>span,
  .ark-report-stack-card>div:last-child>small{
    font-size:10.5px!important;
    line-height:1.4!important;
  }

  .ark-report-stack-card>div:last-child>strong{
    font-size:13px!important;
  }

  .ark-report-footnote{
    font-size:10px!important;
  }

  /* Attendance / learning */
  .ark-learning-mini span,
  .ark-attendance-mini span{
    font-size:10.5px!important;
  }

  .ark-learning-mini b,
  .ark-attendance-mini b{
    font-size:11.5px!important;
  }

  .ark-attendance-toolbar span{
    font-size:10.5px!important;
    line-height:1.4!important;
  }

  .ark-attendance-student-name strong{
    font-size:13px!important;
  }

  .ark-attendance-student-name small{
    font-size:10.5px!important;
  }

  .ark-attendance-history strong{
    font-size:12.5px!important;
  }

  .ark-attendance-history small,
  .ark-attendance-history em{
    font-size:10.5px!important;
  }

  .ark-att-history-status{
    font-size:10px!important;
  }

  /* Certificates */
  .ark-cert-eligibility-head strong{
    font-size:12.5px!important;
  }

  .ark-cert-eligibility-head small{
    font-size:10.5px!important;
  }

  .ark-cert-checks span{
    font-size:10px!important;
  }

  .ark-cert-checks b{
    font-size:11.5px!important;
  }

  .ark-cert-reason{
    font-size:10.5px!important;
    line-height:1.5!important;
  }

  /* Chart legends */
  .ark-chart-legend span,
  .ark-chart-legend b,
  .ark-chart-legend em{
    font-size:10.5px!important;
  }

  /* Sidebar drawer */
  .ark-sidebar .ark-nav a{
    font-size:15px!important;
    line-height:1.25!important;
  }

  .ark-sidebar .ark-nav-icon{
    font-size:17px!important;
  }

  .ark-sidebar-brand strong{
    font-size:18px!important;
  }

  .ark-sidebar-brand span{
    font-size:10.5px!important;
  }

  .ark-mini-profile strong{
    font-size:13px!important;
  }

  .ark-mini-profile small,
  .ark-sidebar .ark-logout{
    font-size:11.5px!important;
  }

  /* Mobile bottom nav */
  .ark-mobile-nav b{
    font-size:10.5px!important;
    line-height:1.15!important;
  }

  .ark-mobile-nav span{
    font-size:18px!important;
  }

  /* Install / sync UI */
  .ark-install-copy strong{
    font-size:18px!important;
  }

  .ark-install-copy p{
    font-size:12px!important;
  }

  .ark-install-dialog>small{
    font-size:10.5px!important;
  }

  .ark-sync-toast strong{
    font-size:12.5px!important;
  }

  .ark-sync-toast span{
    font-size:10.5px!important;
  }

  .ark-sync-toast button{
    font-size:11px!important;
  }

  /* Empty states and alerts */
  .ark-empty,
  .ark-empty-box{
    font-size:12px!important;
    line-height:1.5!important;
  }

  .ark-alert,
  .ark-success-box{
    font-size:12px!important;
    line-height:1.5!important;
  }
}

/* Small phones should stay readable, not shrink typography. */
@media(max-width:520px){
  .ark-section-head h2,
  .ark-hub-titlebar h2{
    font-size:25px!important;
  }

  .ark-panel-title h3{
    font-size:15.5px!important;
  }

  .ark-metric>strong{
    font-size:21px!important;
  }

  .ark-hub-ring{
    width:66px!important;
    height:66px!important;
  }

  .ark-hub-ring strong{
    font-size:13px!important;
  }

  .ark-hub-ring-item>span{
    font-size:9.8px!important;
  }

  .ark-hub-ring-item>small{
    font-size:9px!important;
  }

  .ark-hub-course-list-full .ark-hub-course-money strong{
    font-size:13px!important;
  }

  .ark-mobile-nav b{
    font-size:10px!important;
  }
}

/* Very narrow phones: layout may compress, text should not become tiny. */
@media(max-width:380px){
  .ark-app-body{
    font-size:13.5px!important;
  }

  .ark-sidebar .ark-nav a{
    font-size:14.5px!important;
  }

  .ark-mobile-nav b{
    font-size:9.5px!important;
  }

  .ark-hub-ring{
    width:60px!important;
    height:60px!important;
  }

  .ark-hub-ring-item>span{
    font-size:9.5px!important;
  }

  .ark-hub-ring-item>small{
    font-size:8.8px!important;
  }
}


/* =========================================================
   V1.6.6 — BRAND LOGO + LIGHT / DARK THEME TOGGLE
========================================================= */
.ark-brand-mark-logo{
  background:transparent!important;
  box-shadow:none!important;
  border-radius:16px!important;
  overflow:hidden!important;
  padding:0!important;
}
.ark-logo-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}
.ark-login-brand .ark-brand-mark.ark-brand-mark-logo{
  width:72px!important;
  height:72px!important;
  border-radius:18px!important;
  box-shadow:0 16px 42px rgba(0,0,0,.18)!important;
}
.ark-sidebar-brand .ark-brand-mark.ark-brand-mark-logo{
  width:48px!important;
  height:48px!important;
  border-radius:14px!important;
}
.ark-login-tools{
  display:flex;
  justify-content:flex-end;
  margin-bottom:10px;
}
.ark-theme-toggle{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 11px;
  border:1px solid #2B3B4D;
  border-radius:9px;
  background:#141B24;
  color:#C8D3DE;
  font:inherit;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
  transition:.18s ease;
}
.ark-theme-toggle:hover{
  border-color:#3E5E7A;
  background:#152536;
  color:#FFFFFF;
}
.ark-theme-toggle span{font-size:13px;line-height:1}
.ark-theme-toggle b{font-size:10px;font-weight:700;line-height:1}

html[data-theme="light"]{color-scheme:light;background:#F4F7FB}
html[data-theme="light"] body{background:#F4F7FB!important;color:#111827!important}
html[data-theme="light"] .ark-app-body{background:#F4F7FB!important;color:#111827!important}
html[data-theme="light"] .ark-login-body{
  background:radial-gradient(circle at 80% 10%,rgba(47,141,246,.10),transparent 28%),linear-gradient(135deg,#F8FAFC,#EEF2F6)!important;
  color:#111827!important
}
html[data-theme="light"] .ark-login-brand{
  background:radial-gradient(circle at 85% 5%,rgba(47,141,246,.14),transparent 30%),linear-gradient(145deg,#FFFFFF,#F3F7FB)!important;
  border:1px solid #E4E7EC!important;color:#111827!important
}
html[data-theme="light"] .ark-login-brand strong,
html[data-theme="light"] .ark-login-card h1,
html[data-theme="light"] .ark-sidebar-brand strong,
html[data-theme="light"] .ark-mini-profile strong,
html[data-theme="light"] .ark-topbar h1,
html[data-theme="light"] .ark-section-head h2,
html[data-theme="light"] .ark-panel-title h3,
html[data-theme="light"] .ark-hub-titlebar h2,
html[data-theme="light"] .ark-app-body h1,
html[data-theme="light"] .ark-app-body h2,
html[data-theme="light"] .ark-app-body h3,
html[data-theme="light"] .ark-app-body h4{color:#101828!important}
html[data-theme="light"] .ark-login-brand span,
html[data-theme="light"] .ark-login-card>p,
html[data-theme="light"] .ark-login-foot,
html[data-theme="light"] .ark-top-kicker,
html[data-theme="light"] .ark-section-head p,
html[data-theme="light"] .ark-panel-title p,
html[data-theme="light"] .ark-hub-titlebar p,
html[data-theme="light"] .ark-app-body p,
html[data-theme="light"] .ark-app-body small,
html[data-theme="light"] .ark-field-hint,
html[data-theme="light"] .ark-empty,
html[data-theme="light"] .ark-empty-box,
html[data-theme="light"] .ark-sidebar-brand span,
html[data-theme="light"] .ark-mini-profile small,
html[data-theme="light"] .ark-logout,
html[data-theme="light"] .ark-card-info span,
html[data-theme="light"] .ark-money-row span,
html[data-theme="light"] .ark-card-field-label,
html[data-theme="light"] .ark-profile-grid span,
html[data-theme="light"] .ark-metric span,
html[data-theme="light"] .ark-metric small,
html[data-theme="light"] .ark-hub-stat-top span,
html[data-theme="light"] .ark-hub-stat>small,
html[data-theme="light"] .ark-hub-ring-item>span,
html[data-theme="light"] .ark-hub-ring-item>small,
html[data-theme="light"] .ark-hub-health-foot span,
html[data-theme="light"] .ark-hub-course-name small,
html[data-theme="light"] .ark-hub-course-money small,
html[data-theme="light"] .ark-hub-course-progress-top small,
html[data-theme="light"] .ark-hub-attention-item span,
html[data-theme="light"] .ark-hub-attention-item small,
html[data-theme="light"] .ark-hub-commission-total span,
html[data-theme="light"] .ark-hub-commission-total small,
html[data-theme="light"] .ark-hub-commission-person small,
html[data-theme="light"] .ark-hub-commission-date span,
html[data-theme="light"] .ark-hub-commission-date small,
html[data-theme="light"] .ark-report-table th,
html[data-theme="light"] .ark-report-table td,
html[data-theme="light"] .ark-report-table td small,
html[data-theme="light"] .ark-report-stack-card small,
html[data-theme="light"] .ark-attendance-student-name small,
html[data-theme="light"] .ark-attendance-history small,
html[data-theme="light"] .ark-cert-eligibility-head small,
html[data-theme="light"] .ark-cert-reason,
html[data-theme="light"] .ark-learning-mini span,
html[data-theme="light"] .ark-attendance-mini span{color:#667085!important}
html[data-theme="light"] .ark-sidebar{background:#FFFFFF!important;color:#111827!important;border-right:1px solid #E4E7EC!important}
html[data-theme="light"] .ark-sidebar-bottom{border-top:1px solid #E4E7EC!important}
html[data-theme="light"] .ark-nav a,
html[data-theme="light"] .ark-nav a:visited{color:#475467!important;background:transparent!important}
html[data-theme="light"] .ark-nav-icon{color:#475467!important}
html[data-theme="light"] .ark-nav a:hover,
html[data-theme="light"] .ark-nav a:hover .ark-nav-icon{background:#EEF4FF!important;color:#175CD3!important}
html[data-theme="light"] .ark-nav a.active,
html[data-theme="light"] .ark-nav a.active .ark-nav-icon{background:#E8F1FE!important;color:#175CD3!important;box-shadow:inset 3px 0 0 #2F8DF6!important}
html[data-theme="light"] .ark-avatar{background:#E8F1FE!important;color:#175CD3!important}
html[data-theme="light"] .ark-topbar{background:rgba(255,255,255,.92)!important;border-bottom:1px solid #E4E7EC!important;color:#111827!important}
html[data-theme="light"] .ark-version,
html[data-theme="light"] .ark-sync-status,
html[data-theme="light"] .ark-install-btn,
html[data-theme="light"] .ark-theme-toggle,
html[data-theme="light"] .ark-menu-btn,
html[data-theme="light"] .ark-bi-switch,
html[data-theme="light"] .ark-hub-period{background:#FFFFFF!important;color:#475467!important;border-color:#D0D5DD!important}
html[data-theme="light"] .ark-theme-toggle:hover,
html[data-theme="light"] .ark-install-btn:hover{background:#EFF6FF!important;color:#175CD3!important;border-color:#B2CCFF!important}
html[data-theme="light"] .ark-panel,
html[data-theme="light"] .ark-person-card,
html[data-theme="light"] .ark-record-card-table .ark-record-card,
html[data-theme="light"] .ark-team-card,
html[data-theme="light"] .ark-metric,
html[data-theme="light"] .ark-filter-panel,
html[data-theme="light"] .ark-hub-overview,
html[data-theme="light"] .ark-hub-stat,
html[data-theme="light"] .ark-bi-chart-card,
html[data-theme="light"] .ark-report-metric,
html[data-theme="light"] .ark-cert-eligibility-card,
html[data-theme="light"] .ark-universal-editor,
html[data-theme="light"] .ark-attention-panel,
html[data-theme="light"] .ark-hub-attention,
html[data-theme="light"] .ark-hub-course-health,
html[data-theme="light"] .ark-hub-commission-ledger,
html[data-theme="light"] .ark-login-card,
html[data-theme="light"] .ark-hub-health,
html[data-theme="light"] .ark-hub-course-health-full{
  background:#FFFFFF!important;border:1px solid #E4E7EC!important;color:#111827!important;box-shadow:0 8px 24px rgba(16,24,40,.06)!important
}
html[data-theme="light"] .ark-card-info strong,
html[data-theme="light"] .ark-money-row strong,
html[data-theme="light"] .ark-card-field-value,
html[data-theme="light"] .ark-profile-grid strong,
html[data-theme="light"] .ark-metric strong,
html[data-theme="light"] .ark-hub-stat-main strong,
html[data-theme="light"] .ark-hub-health-foot strong,
html[data-theme="light"] .ark-hub-course-name strong,
html[data-theme="light"] .ark-hub-course-students strong,
html[data-theme="light"] .ark-hub-course-money strong,
html[data-theme="light"] .ark-hub-commission-amount strong,
html[data-theme="light"] .ark-hub-commission-foot strong,
html[data-theme="light"] .ark-report-metric strong,
html[data-theme="light"] .ark-report-stack-card strong,
html[data-theme="light"] .ark-attendance-student-name strong,
html[data-theme="light"] .ark-attendance-history strong,
html[data-theme="light"] .ark-cert-eligibility-head strong,
html[data-theme="light"] .ark-cert-checks b{color:#111827!important}
html[data-theme="light"] .ark-field>span,
html[data-theme="light"] .ark-login-form label>span,
html[data-theme="light"] .ark-filter-field span{color:#344054!important}
html[data-theme="light"] .ark-field input,
html[data-theme="light"] .ark-field select,
html[data-theme="light"] .ark-field textarea,
html[data-theme="light"] .ark-login-form input,
html[data-theme="light"] .ark-filter-field input,
html[data-theme="light"] .ark-filter-field select,
html[data-theme="light"] .ark-report-custom input,
html[data-theme="light"] .ark-att-status,
html[data-theme="light"] .ark-att-note{background:#FFFFFF!important;border-color:#D0D5DD!important;color:#101828!important}
html[data-theme="light"] .ark-field input::placeholder,
html[data-theme="light"] .ark-field textarea::placeholder,
html[data-theme="light"] .ark-login-form input::placeholder,
html[data-theme="light"] .ark-filter-field input::placeholder,
html[data-theme="light"] .ark-att-note::placeholder{color:#98A2B3!important}
html[data-theme="light"] .ark-field input:focus,
html[data-theme="light"] .ark-field select:focus,
html[data-theme="light"] .ark-field textarea:focus,
html[data-theme="light"] .ark-login-form input:focus,
html[data-theme="light"] .ark-filter-field input:focus,
html[data-theme="light"] .ark-filter-field select:focus{border-color:#2F8DF6!important;box-shadow:0 0 0 3px rgba(47,141,246,.12)!important}
html[data-theme="light"] .ark-readonly-value,
html[data-theme="light"] .ark-linked-edit-notice,
html[data-theme="light"] .ark-checkbox-field{background:#F8FAFC!important;border-color:#E4E7EC!important;color:#475467!important}
html[data-theme="light"] .ark-table-wrap,
html[data-theme="light"] .ark-report-table-wrap{background:#FFFFFF!important;border-color:#E4E7EC!important}
html[data-theme="light"] .ark-table th,
html[data-theme="light"] .ark-report-table th{background:#F8FAFC!important;color:#667085!important;border-color:#E4E7EC!important}
html[data-theme="light"] .ark-table td,
html[data-theme="light"] .ark-report-table td{color:#344054!important;border-color:#EEF2F6!important}
html[data-theme="light"] .ark-table td strong,
html[data-theme="light"] .ark-report-table td strong{color:#111827!important}
html[data-theme="light"] .ark-primary-btn,
html[data-theme="light"] .ark-filter-apply{background:#175CD3!important;color:#FFFFFF!important;box-shadow:0 8px 18px rgba(23,92,211,.16)!important}
html[data-theme="light"] .ark-primary-btn span{background:#2F8DF6!important;color:#FFFFFF!important}
html[data-theme="light"] .ark-secondary-btn,
html[data-theme="light"] .ark-editor-close{background:#FFFFFF!important;border-color:#D0D5DD!important;color:#344054!important}
html[data-theme="light"] .ark-delete-btn{color:#DC2626!important}
html[data-theme="light"] .ark-table-link{color:#175CD3!important}
html[data-theme="light"] .ark-section-badge,
html[data-theme="light"] .ark-panel-title>span,
html[data-theme="light"] .ark-hub-health .ark-panel-title>span{background:#EEF4FF!important;border:1px solid #B2CCFF!important;color:#175CD3!important}
html[data-theme="light"] .ark-bi-switch a,
html[data-theme="light"] .ark-hub-period a,
html[data-theme="light"] .ark-report-preset a{color:#667085!important}
html[data-theme="light"] .ark-bi-switch a.active,
html[data-theme="light"] .ark-hub-period a.active,
html[data-theme="light"] .ark-report-preset a.active{background:#E8F1FE!important;color:#175CD3!important}
html[data-theme="light"] .ark-hub-course-bar,
html[data-theme="light"] .ark-hub-course-list-full .ark-hub-course-bar{background:#E4E7EC!important}
html[data-theme="light"] .ark-hub-ring:before{background:#FFFFFF!important}
html[data-theme="light"] .ark-hub-course-list-full > a{background:#FFFFFF!important;border-color:#E4E7EC!important}
html[data-theme="light"] .ark-mobile-nav{background:rgba(255,255,255,.96)!important;border-color:#D0D5DD!important;box-shadow:0 16px 40px rgba(16,24,40,.12)!important}
html[data-theme="light"] .ark-mobile-nav a,
html[data-theme="light"] .ark-mobile-nav button{color:#667085!important}
html[data-theme="light"] .ark-mobile-nav a.active{background:#E8F1FE!important;color:#175CD3!important}
html[data-theme="light"] .ark-sidebar-backdrop{background:rgba(15,23,42,.18)!important}
html[data-theme="light"] .ark-install-modal{background:rgba(15,23,42,.35)!important}
html[data-theme="light"] .ark-install-dialog,
html[data-theme="light"] .ark-sync-toast{background:#FFFFFF!important;color:#111827!important;border-color:#D0D5DD!important;box-shadow:0 18px 50px rgba(16,24,40,.18)!important}
html[data-theme="light"] .ark-install-copy p,
html[data-theme="light"] .ark-install-dialog>small,
html[data-theme="light"] .ark-sync-toast span{color:#667085!important}
html[data-theme="light"] .ark-chart-tooltip{background:#FFFFFF!important;border-color:#D0D5DD!important;color:#111827!important;box-shadow:0 12px 30px rgba(16,24,40,.12)!important}
html[data-theme="light"] .ark-chart-legend span,
html[data-theme="light"] .ark-chart-legend b{color:#667085!important}
html[data-theme="light"] .ark-chart-legend em{color:#111827!important}

@media(max-width:960px){
  .ark-sidebar-brand .ark-brand-mark.ark-brand-mark-logo{width:50px!important;height:50px!important}
}
@media(max-width:520px){
  .ark-top-actions .ark-theme-toggle{width:36px;justify-content:center;padding:0!important}
  .ark-top-actions .ark-theme-toggle b{display:none!important}
}


/* =========================================================
   V1.6.7 — COMPLETE LIGHT-MODE SURFACE / COLOR AUDIT
   This layer intentionally sits last so it wins over all
   earlier dark-mode !important rules.
========================================================= */

/* Reset the global theme variables themselves, not just individual cards. */
html[data-theme="light"] body,
html[data-theme="light"] .ark-app-body{
  --ark-bg:#F4F7FB!important;
  --ark-panel:#FFFFFF!important;
  --ark-ink:#101828!important;
  --ark-muted:#667085!important;
  --ark-line:#E4E7EC!important;
  --ark-sidebar:#FFFFFF!important;
  --ark-accent:#2F8DF6!important;
  --ark-green:#16A34A!important;
  --ark-danger:#DC2626!important;
  --section:#2F8DF6!important;
  --section-2:#60A5FA!important;
  --section-soft:#EEF4FF!important;
  --section-rgb:47,141,246!important;
}

/* The missing root surfaces that caused the black page canvas. */
html[data-theme="light"] .ark-app-shell,
html[data-theme="light"] .ark-main,
html[data-theme="light"] .ark-content,
html[data-theme="light"] .ark-section-dashboard .ark-content{
  background:#F4F7FB!important;
  color:#101828!important;
}

/* Ensure browser chrome / selection / scrollbar visually match light mode. */
html[data-theme="light"] .ark-app-body *{
  scrollbar-color:#C7D0DB #F1F5F9!important;
}
html[data-theme="light"] .ark-app-body ::selection{
  background:#B2DDFF!important;
  color:#101828!important;
}

/* Generic white surfaces */
html[data-theme="light"] .ark-panel,
html[data-theme="light"] .ark-person-card,
html[data-theme="light"] .ark-record-card-table .ark-record-card,
html[data-theme="light"] .ark-team-card,
html[data-theme="light"] .ark-metric,
html[data-theme="light"] .ark-filter-panel,
html[data-theme="light"] .ark-hub-overview,
html[data-theme="light"] .ark-hub-stat,
html[data-theme="light"] .ark-bi-chart-card,
html[data-theme="light"] .ark-report-metric,
html[data-theme="light"] .ark-cert-eligibility-card,
html[data-theme="light"] .ark-universal-editor,
html[data-theme="light"] .ark-attention-panel,
html[data-theme="light"] .ark-hub-attention,
html[data-theme="light"] .ark-hub-course-health,
html[data-theme="light"] .ark-hub-course-health-full,
html[data-theme="light"] .ark-hub-commission-ledger,
html[data-theme="light"] .ark-hub-health,
html[data-theme="light"] .ark-report-filter,
html[data-theme="light"] .ark-report-preset,
html[data-theme="light"] .ark-table-wrap,
html[data-theme="light"] .ark-report-table-wrap{
  background:#FFFFFF!important;
  border-color:#E4E7EC!important;
  color:#101828!important;
}

/* Nested surfaces that were still inheriting dark backgrounds. */
html[data-theme="light"] .ark-card-info>div,
html[data-theme="light"] .ark-money-row>div,
html[data-theme="light"] .ark-report-pulse-grid>div,
html[data-theme="light"] .ark-hub-attention-item,
html[data-theme="light"] .ark-hub-commission-row,
html[data-theme="light"] .ark-hub-commission-foot,
html[data-theme="light"] .ark-attendance-toolbar,
html[data-theme="light"] .ark-cert-checks span,
html[data-theme="light"] .ark-learning-mini span,
html[data-theme="light"] .ark-attendance-mini span,
html[data-theme="light"] .ark-hub-health-foot,
html[data-theme="light"] .ark-hub-member-progress>span,
html[data-theme="light"] .ark-attendance-history>div{
  background:#F8FAFC!important;
  border-color:#E4E7EC!important;
  color:#344054!important;
}

/* Business Health: the screenshot-specific dark footer issue. */
html[data-theme="light"] .ark-hub-health-foot-4{
  background:#F8FAFC!important;
  border-color:#E4E7EC!important;
}
html[data-theme="light"] .ark-hub-health-foot-4>div{
  background:#F8FAFC!important;
  border-color:#E4E7EC!important;
}
html[data-theme="light"] .ark-hub-health-foot-4>div:nth-child(odd){
  border-right-color:#E4E7EC!important;
}
html[data-theme="light"] .ark-hub-health-foot-4>div:nth-child(-n+2){
  border-bottom-color:#E4E7EC!important;
}
html[data-theme="light"] .ark-hub-health-foot-4 span{
  color:#667085!important;
}
html[data-theme="light"] .ark-hub-health-foot-4 strong{
  color:#101828!important;
}

/* Business Health donut tracks / centers */
html[data-theme="light"] .ark-hub-ring{
  background:conic-gradient(var(--ring-color) calc(var(--ring)*1%),#E4E7EC 0)!important;
}
html[data-theme="light"] .ark-hub-ring:before{
  background:#FFFFFF!important;
}
html[data-theme="light"] .ark-hub-ring strong{
  color:#101828!important;
}
html[data-theme="light"] .ark-hub-ring-item>span{
  color:#344054!important;
}
html[data-theme="light"] .ark-hub-ring-item>small{
  color:#667085!important;
}

/* Dashboard utility blocks */
html[data-theme="light"] .ark-hub-stat-top i{
  background:#EEF2F6!important;
  color:#475467!important;
}
html[data-theme="light"] .ark-hub-stat:hover,
html[data-theme="light"] .ark-hub-commission-row:hover,
html[data-theme="light"] .ark-hub-course-list-full>a:hover{
  background:#F8FAFC!important;
}
html[data-theme="light"] .ark-hub-course-bar,
html[data-theme="light"] .ark-hub-course-list-full .ark-hub-course-bar{
  background:#E4E7EC!important;
}
html[data-theme="light"] .ark-hub-team-row,
html[data-theme="light"] .ark-hub-activity-list>a,
html[data-theme="light"] .ark-hub-course-list>a,
html[data-theme="light"] .ark-hub-commission-row,
html[data-theme="light"] .ark-hub-attention-grid,
html[data-theme="light"] .ark-course-performance-head,
html[data-theme="light"] .ark-chart-legend{
  border-color:#E4E7EC!important;
}
html[data-theme="light"] .ark-hub-activity-avatar,
html[data-theme="light"] .ark-hub-member-avatar,
html[data-theme="light"] .ark-profile-avatar{
  background:#EEF4FF!important;
  border-color:#B2CCFF!important;
  color:#175CD3!important;
}

/* Mobile Course Performance had explicit dark card rules. */
html[data-theme="light"] .ark-hub-course-health-full .ark-panel-title .ark-table-link{
  background:#FFFFFF!important;
  border-color:#D0D5DD!important;
  color:#175CD3!important;
}
html[data-theme="light"] .ark-hub-course-list-full > a{
  background:#FFFFFF!important;
  border-color:#E4E7EC!important;
  box-shadow:0 8px 20px rgba(16,24,40,.06)!important;
}
html[data-theme="light"] .ark-hub-course-list-full .ark-hub-course-name strong,
html[data-theme="light"] .ark-hub-course-students strong{
  color:#101828!important;
}
html[data-theme="light"] .ark-hub-course-list-full .ark-hub-course-name small,
html[data-theme="light"] .ark-hub-course-students small,
html[data-theme="light"] .ark-hub-course-progress-top span,
html[data-theme="light"] .ark-hub-course-progress-top small,
html[data-theme="light"] .ark-hub-course-list-full .ark-hub-course-money small{
  color:#667085!important;
}

/* Forms / selectors / read-only boxes */
html[data-theme="light"] .ark-field input,
html[data-theme="light"] .ark-field select,
html[data-theme="light"] .ark-field textarea,
html[data-theme="light"] .ark-login-form input,
html[data-theme="light"] .ark-filter-field input,
html[data-theme="light"] .ark-filter-field select,
html[data-theme="light"] .ark-att-status,
html[data-theme="light"] .ark-att-note,
html[data-theme="light"] .ark-report-custom input{
  background:#FFFFFF!important;
  color:#101828!important;
  border-color:#D0D5DD!important;
}
html[data-theme="light"] select option{
  background:#FFFFFF!important;
  color:#101828!important;
}
html[data-theme="light"] .ark-readonly-value,
html[data-theme="light"] .ark-linked-edit-notice,
html[data-theme="light"] .ark-checkbox-field{
  background:#F8FAFC!important;
  color:#475467!important;
  border-color:#E4E7EC!important;
}

/* Table rows / cardified tables */
html[data-theme="light"] .ark-table th,
html[data-theme="light"] .ark-report-table th{
  background:#F8FAFC!important;
  color:#667085!important;
  border-color:#E4E7EC!important;
}
html[data-theme="light"] .ark-table td,
html[data-theme="light"] .ark-report-table td,
html[data-theme="light"] .ark-record-card-table .ark-record-card td,
html[data-theme="light"] .ark-card-actions,
html[data-theme="light"] .ark-person-meta{
  background:#FFFFFF!important;
  color:#344054!important;
  border-color:#EEF2F6!important;
}

/* Semantic badges: use light-mode backgrounds rather than dark chips. */
html[data-theme="light"] .ark-pill{
  background:#F2F4F7!important;
  color:#475467!important;
  border-color:#E4E7EC!important;
}
html[data-theme="light"] .ark-pill-income,
html[data-theme="light"] .ark-pill-active,
html[data-theme="light"] .ark-pill-enrolled,
html[data-theme="light"] .ark-pill-done,
html[data-theme="light"] .ark-pill-paid,
html[data-theme="light"] .ark-pill-completed,
html[data-theme="light"] .ark-mode-offline{
  background:#ECFDF3!important;
  color:#027A48!important;
  border-color:#ABEFC6!important;
}
html[data-theme="light"] .ark-pill-expense,
html[data-theme="light"] .ark-pill-urgent,
html[data-theme="light"] .ark-pill-lost,
html[data-theme="light"] .ark-pill-cancelled,
html[data-theme="light"] .ark-pill-overdue{
  background:#FEF3F2!important;
  color:#B42318!important;
  border-color:#FECDCA!important;
}
html[data-theme="light"] .ark-pill-high,
html[data-theme="light"] .ark-pill-payment_pending,
html[data-theme="light"] .ark-pill-follow_up,
html[data-theme="light"] .ark-pill-pending{
  background:#FFFAEB!important;
  color:#B54708!important;
  border-color:#FEDF89!important;
}
html[data-theme="light"] .ark-mode-online,
html[data-theme="light"] .ark-pill-online{
  background:#EFF8FF!important;
  color:#175CD3!important;
  border-color:#B2DDFF!important;
}

/* Alerts */
html[data-theme="light"] .ark-alert-success{
  background:#ECFDF3!important;
  border-color:#ABEFC6!important;
  color:#027A48!important;
}
html[data-theme="light"] .ark-alert-error{
  background:#FEF3F2!important;
  border-color:#FECDCA!important;
  color:#B42318!important;
}

/* Install / dialogs */
html[data-theme="light"] .ark-install-close{
  background:#F8FAFC!important;
  border-color:#D0D5DD!important;
  color:#475467!important;
}
html[data-theme="light"] .ark-install-dialog,
html[data-theme="light"] .ark-sync-toast{
  background:#FFFFFF!important;
  color:#101828!important;
  border-color:#D0D5DD!important;
}
html[data-theme="light"] .ark-install-dialog>small{
  border-top-color:#E4E7EC!important;
}

/* Reports */
html[data-theme="light"] .ark-report-filter,
html[data-theme="light"] .ark-report-preset{
  background:#FFFFFF!important;
  border-color:#E4E7EC!important;
}
html[data-theme="light"] .ark-report-pulse-grid,
html[data-theme="light"] .ark-report-stack-card{
  border-color:#E4E7EC!important;
}

/* Attendance / certificate light semantic surface */
html[data-theme="light"] .ark-cert-eligibility-card.is-eligible{
  background:#ECFDF3!important;
  border-color:#ABEFC6!important;
}
html[data-theme="light"] .ark-cert-reason{
  color:#B54708!important;
}

/* Mobile shell/nav */
html[data-theme="light"] .ark-mobile-nav{
  background:rgba(255,255,255,.96)!important;
  border-color:#D0D5DD!important;
}
html[data-theme="light"] .ark-mobile-nav a.active{
  background:#E8F1FE!important;
  color:#175CD3!important;
}

/* Safety net: normal text must never inherit dark-mode near-white on a white card. */
html[data-theme="light"] .ark-app-body{
  --ark-text-strong:#101828!important;
  --ark-text:#344054!important;
  --ark-text-muted:#667085!important;
  --ark-text-faint:#98A2B3!important;
}


/* =========================================================
   V2.0 — FINAL PRODUCTIVITY FEATURES
========================================================= */

/* Sidebar count badge */
.ark-nav a{position:relative}
.ark-nav-count{
  margin-left:auto;
  min-width:20px;
  height:20px;
  padding:0 5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#314158;
  color:#FFFFFF!important;
  font-size:9px;
  font-weight:750;
}
html[data-theme="light"] .ark-nav-count{
  background:#E8F1FE;
  color:#175CD3!important;
}

/* Global search */
.ark-global-search{
  flex:1 1 320px;
  max-width:430px;
  min-width:180px;
  margin-left:auto;
}
.ark-search-box{
  height:38px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 5px 0 11px;
  border:1px solid #2B3949;
  border-radius:11px;
  background:#111821;
}
.ark-search-box>span{color:#8EA0B3;font-size:15px}
.ark-search-box input{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#F1F5F9;
  font:inherit;
  font-size:11px;
}
.ark-search-box input::placeholder{color:#7F8FA1}
.ark-search-box button{
  height:28px;
  padding:0 10px;
  border:0;
  border-radius:8px;
  background:#1C2B3B;
  color:#7CC6FF;
  font:inherit;
  font-size:9px;
  font-weight:700;
  cursor:pointer;
}
.ark-search-toggle{display:none}
html[data-theme="light"] .ark-search-box{
  background:#FFFFFF;
  border-color:#D0D5DD;
}
html[data-theme="light"] .ark-search-box input{color:#101828}
html[data-theme="light"] .ark-search-box input::placeholder{color:#98A2B3}
html[data-theme="light"] .ark-search-box button{
  background:#EEF4FF;
  color:#175CD3;
}

.ark-search-page{margin-bottom:14px!important}
.ark-search-page-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
}
.ark-search-page-form input{
  min-height:44px;
  border:1px solid #2A3747;
  border-radius:10px;
  background:#0F151D;
  color:#F1F5F9;
  padding:0 13px;
  font:inherit;
  font-size:13px;
  outline:0;
}
.ark-search-page-form input:focus{
  border-color:#4EA1FF;
  box-shadow:0 0 0 3px rgba(78,161,255,.12);
}
html[data-theme="light"] .ark-search-page-form input{
  background:#FFFFFF;
  color:#101828;
  border-color:#D0D5DD;
}
.ark-search-results{display:grid}
.ark-search-result{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:13px 0;
  border-bottom:1px solid #263242;
  text-decoration:none;
}
.ark-search-result:last-child{border-bottom:0}
.ark-search-result:hover .ark-search-result-copy strong{color:#7CC6FF}
.ark-search-result-icon{
  width:36px;height:36px;display:grid;place-items:center;
  border-radius:10px;background:#17283A;color:#7CC6FF;font-weight:750
}
.ark-search-result-copy{min-width:0}
.ark-search-result-copy small{display:block;color:#8FA0B2;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.ark-search-result-copy strong{display:block;margin-top:2px;color:#F1F5F9;font-size:13px;line-height:1.35}
.ark-search-result-copy p{margin:3px 0 0!important;color:#AEBBC8!important;font-size:10px!important;line-height:1.4!important}
.ark-search-arrow{color:#7CC6FF;font-size:16px}
html[data-theme="light"] .ark-search-result{border-color:#E4E7EC}
html[data-theme="light"] .ark-search-result-icon{background:#EEF4FF;color:#175CD3}
html[data-theme="light"] .ark-search-result-copy strong{color:#101828}
html[data-theme="light"] .ark-search-result-copy small,
html[data-theme="light"] .ark-search-result-copy p{color:#667085!important}

/* Backup */
.ark-backup-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px!important;
}
.ark-backup-hero-copy{display:flex;align-items:center;gap:14px;min-width:0}
.ark-data-icon{
  width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;
  border-radius:14px;background:#17283A;color:#7CC6FF;font-size:20px;font-weight:800
}
.ark-backup-hero h3{margin:0;color:#F1F5F9;font-size:16px}
.ark-backup-hero p{margin:5px 0 0!important;color:#AEBBC8!important;font-size:10.5px!important;line-height:1.5!important}
.ark-export-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.ark-export-card{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px;border:1px solid #263242;border-radius:13px;background:#101720
}
.ark-export-card>div{min-width:0}
.ark-export-card span{display:block;color:#7CC6FF;font-size:8px;font-weight:800;letter-spacing:.08em}
.ark-export-card strong{display:block;margin-top:4px;color:#F1F5F9;font-size:11px}
.ark-export-card small{display:block;margin-top:3px;color:#8FA0B2;font-size:9px}
.ark-export-card a{
  flex:0 0 auto;padding:8px 10px;border:1px solid #314158;border-radius:9px;
  color:#7CC6FF;text-decoration:none;font-size:9px;font-weight:700
}
.ark-backup-note strong{color:#F1F5F9;font-size:11px}
.ark-backup-note p{margin:5px 0 0!important;color:#AEBBC8!important;font-size:10px!important}
html[data-theme="light"] .ark-data-icon{background:#EEF4FF;color:#175CD3}
html[data-theme="light"] .ark-backup-hero h3,
html[data-theme="light"] .ark-export-card strong,
html[data-theme="light"] .ark-backup-note strong{color:#101828}
html[data-theme="light"] .ark-backup-hero p,
html[data-theme="light"] .ark-export-card small,
html[data-theme="light"] .ark-backup-note p{color:#667085!important}
html[data-theme="light"] .ark-export-card{background:#F8FAFC;border-color:#E4E7EC}
html[data-theme="light"] .ark-export-card a{border-color:#B2CCFF;color:#175CD3;background:#FFFFFF}

/* Trash */
.ark-trash-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ark-trash-toolbar form{margin:0}
.ark-trash-list{display:grid}
.ark-trash-card{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid #263242;
}
.ark-trash-card:last-child{border-bottom:0}
.ark-trash-icon{
  width:40px;height:40px;display:grid;place-items:center;border-radius:11px;
  background:#2C1D22;color:#FF909A;font-size:15px;font-weight:800
}
.ark-trash-copy{min-width:0}
.ark-trash-copy small{display:block;color:#8FA0B2;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.ark-trash-copy strong{display:block;margin-top:2px;color:#F1F5F9;font-size:12.5px;overflow-wrap:anywhere}
.ark-trash-copy p{margin:4px 0 0!important;color:#AEBBC8!important;font-size:9.5px!important}
.ark-trash-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.ark-trash-actions form{margin:0}
.ark-trash-actions .ark-primary-btn,
.ark-trash-actions .ark-delete-btn{min-height:34px;padding:0 10px;font-size:9px}
html[data-theme="light"] .ark-trash-card{border-color:#E4E7EC}
html[data-theme="light"] .ark-trash-icon{background:#FEF3F2;color:#B42318}
html[data-theme="light"] .ark-trash-copy strong{color:#101828}
html[data-theme="light"] .ark-trash-copy small,
html[data-theme="light"] .ark-trash-copy p{color:#667085!important}

/* Mobile */
@media(max-width:960px){
  .ark-global-search{
    flex:0 0 auto;
    min-width:0;
    max-width:none;
    margin-left:auto;
  }
  .ark-search-toggle{
    width:36px;height:36px;display:grid;place-items:center;
    border:1px solid #2A3747;border-radius:9px;background:#141B24;color:#C8D3DE;
    font:inherit;font-size:17px;cursor:pointer
  }
  .ark-search-box{
    display:none;
    position:fixed;
    left:12px;right:12px;
    top:calc(70px + env(safe-area-inset-top));
    z-index:240;
    height:50px;
    box-shadow:0 18px 50px rgba(0,0,0,.35);
  }
  .ark-global-search.open .ark-search-box{display:flex}
  .ark-search-box input{font-size:16px!important}
  .ark-search-box button{height:36px;font-size:11px}
  html[data-theme="light"] .ark-search-toggle{background:#FFFFFF;border-color:#D0D5DD;color:#475467}

  .ark-search-page-form{grid-template-columns:1fr}
  .ark-search-page-form input{font-size:16px}
  .ark-search-result{grid-template-columns:38px minmax(0,1fr) auto}
  .ark-search-result-copy small{font-size:10px}
  .ark-search-result-copy strong{font-size:13.5px}
  .ark-search-result-copy p{font-size:11px!important}

  .ark-backup-hero{align-items:flex-start;flex-direction:column}
  .ark-backup-hero .ark-primary-btn{width:100%;justify-content:center}
  .ark-export-grid{grid-template-columns:1fr 1fr}
  .ark-export-card strong{font-size:12px}
  .ark-export-card small{font-size:10.5px}
  .ark-export-card a{font-size:10.5px}

  .ark-trash-card{grid-template-columns:40px minmax(0,1fr)}
  .ark-trash-actions{grid-column:1/-1;justify-content:flex-start;padding-left:52px}
  .ark-trash-copy small{font-size:10px}
  .ark-trash-copy strong{font-size:13px}
  .ark-trash-copy p{font-size:10.5px!important}
}
@media(max-width:520px){
  .ark-export-grid{grid-template-columns:1fr}
  .ark-trash-toolbar{align-items:stretch;flex-direction:column}
}


/* =========================================================
   V2.1.0 — EASY MODE + ACCESSIBLE NEUMORPHISM
   Soft depth, strong text contrast, simple hierarchy.
========================================================= */

:root{
  --neu-bg:#0F161F;
  --neu-surface:#121B25;
  --neu-surface-2:#151F2B;
  --neu-inset:#0D141C;
  --neu-shadow-dark:rgba(0,0,0,.52);
  --neu-shadow-light:rgba(255,255,255,.035);
  --neu-text:#F2F6FA;
  --neu-muted:#A7B5C4;
  --neu-line:rgba(255,255,255,.055);
  --neu-blue:#5EB1FF;
  --neu-green:#5ED7A0;
  --neu-amber:#F6C85F;
  --neu-red:#FF858F;
  --neu-purple:#A78BFA;
}

html[data-theme="light"]{
  --neu-bg:#E9EFF6;
  --neu-surface:#ECF2F8;
  --neu-surface-2:#F0F5FA;
  --neu-inset:#E4EBF3;
  --neu-shadow-dark:rgba(163,177,198,.42);
  --neu-shadow-light:rgba(255,255,255,.92);
  --neu-text:#101828;
  --neu-muted:#5F6C7B;
  --neu-line:rgba(95,108,123,.12);
  --neu-blue:#2563EB;
  --neu-green:#078A55;
  --neu-amber:#A35C00;
  --neu-red:#C83242;
  --neu-purple:#7047C8;
}

/* Full application canvas */
.ark-app-body,
.ark-app-shell,
.ark-main,
.ark-content{
  background:var(--neu-bg)!important;
  color:var(--neu-text)!important;
}
.ark-content{
  background-image:
    radial-gradient(circle at 12% 0%,rgba(94,177,255,.055),transparent 24%),
    radial-gradient(circle at 100% 18%,rgba(167,139,250,.04),transparent 22%)!important;
}
html[data-theme="light"] .ark-content{
  background-image:
    radial-gradient(circle at 12% 0%,rgba(37,99,235,.05),transparent 25%),
    radial-gradient(circle at 100% 18%,rgba(112,71,200,.035),transparent 24%)!important;
}

/* Neumorphic raised surfaces */
.ark-panel,
.ark-metric,
.ark-person-card,
.ark-team-card,
.ark-hub-stat,
.ark-bi-chart-card,
.ark-report-metric,
.ark-filter-panel,
.ark-universal-editor,
.ark-record-card-table .ark-record-card,
.ark-class-kpi,
.ark-simple-kpi{
  background:linear-gradient(145deg,var(--neu-surface-2),var(--neu-surface))!important;
  border:1px solid var(--neu-line)!important;
  box-shadow:
    10px 10px 24px var(--neu-shadow-dark),
    -7px -7px 18px var(--neu-shadow-light)!important;
}
html[data-theme="light"] .ark-panel,
html[data-theme="light"] .ark-metric,
html[data-theme="light"] .ark-person-card,
html[data-theme="light"] .ark-team-card,
html[data-theme="light"] .ark-hub-stat,
html[data-theme="light"] .ark-bi-chart-card,
html[data-theme="light"] .ark-report-metric,
html[data-theme="light"] .ark-filter-panel,
html[data-theme="light"] .ark-universal-editor,
html[data-theme="light"] .ark-record-card-table .ark-record-card,
html[data-theme="light"] .ark-class-kpi,
html[data-theme="light"] .ark-simple-kpi{
  background:linear-gradient(145deg,#F0F5FA,#E7EDF4)!important;
}

/* Sidebar / topbar: same visual language without hurting readability */
.ark-sidebar{
  background:linear-gradient(180deg,#101821,#0D141C)!important;
  border-right:1px solid var(--neu-line)!important;
  box-shadow:8px 0 28px rgba(0,0,0,.18)!important;
}
html[data-theme="light"] .ark-sidebar{
  background:linear-gradient(180deg,#EEF3F8,#E8EEF5)!important;
  border-right:1px solid rgba(95,108,123,.12)!important;
  box-shadow:8px 0 28px rgba(163,177,198,.22)!important;
}
.ark-topbar{
  background:rgba(15,22,31,.88)!important;
  border-bottom:1px solid var(--neu-line)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.12)!important;
}
html[data-theme="light"] .ark-topbar{
  background:rgba(233,239,246,.9)!important;
  border-bottom:1px solid rgba(95,108,123,.12)!important;
  box-shadow:0 8px 28px rgba(163,177,198,.16)!important;
}

/* Inset form controls */
.ark-field input,
.ark-field select,
.ark-field textarea,
.ark-filter-field input,
.ark-filter-field select,
.ark-login-form input,
.ark-search-page-form input,
.ark-report-custom input,
.ark-att-status,
.ark-att-note,
.ark-class-calendar-filter select,
.ark-class-calendar-filter input{
  background:var(--neu-inset)!important;
  color:var(--neu-text)!important;
  border:1px solid transparent!important;
  box-shadow:
    inset 4px 4px 10px var(--neu-shadow-dark),
    inset -4px -4px 9px var(--neu-shadow-light)!important;
}
html[data-theme="light"] .ark-field input,
html[data-theme="light"] .ark-field select,
html[data-theme="light"] .ark-field textarea,
html[data-theme="light"] .ark-filter-field input,
html[data-theme="light"] .ark-filter-field select,
html[data-theme="light"] .ark-login-form input,
html[data-theme="light"] .ark-search-page-form input,
html[data-theme="light"] .ark-report-custom input,
html[data-theme="light"] .ark-att-status,
html[data-theme="light"] .ark-att-note,
html[data-theme="light"] .ark-class-calendar-filter select,
html[data-theme="light"] .ark-class-calendar-filter input{
  background:#E6EDF4!important;
  color:#101828!important;
}
.ark-field input:focus,
.ark-field select:focus,
.ark-field textarea:focus,
.ark-filter-field input:focus,
.ark-filter-field select:focus{
  border-color:rgba(94,177,255,.45)!important;
  box-shadow:
    inset 3px 3px 8px var(--neu-shadow-dark),
    inset -3px -3px 8px var(--neu-shadow-light),
    0 0 0 3px rgba(94,177,255,.10)!important;
}

/* Buttons: raised, not glossy */
.ark-secondary-btn,
.ark-table-link,
.ark-filter-apply,
.ark-theme-toggle,
.ark-install-btn,
.ark-menu-btn,
.ark-search-toggle{
  background:linear-gradient(145deg,var(--neu-surface-2),var(--neu-surface))!important;
  border:1px solid var(--neu-line)!important;
  color:var(--neu-text)!important;
  box-shadow:
    5px 5px 12px var(--neu-shadow-dark),
    -4px -4px 10px var(--neu-shadow-light)!important;
}
.ark-secondary-btn:active,
.ark-table-link:active,
.ark-filter-apply:active,
.ark-theme-toggle:active,
.ark-install-btn:active,
.ark-menu-btn:active,
.ark-search-toggle:active{
  box-shadow:
    inset 3px 3px 7px var(--neu-shadow-dark),
    inset -3px -3px 7px var(--neu-shadow-light)!important;
  transform:translateY(1px);
}
html[data-theme="light"] .ark-secondary-btn,
html[data-theme="light"] .ark-table-link,
html[data-theme="light"] .ark-filter-apply,
html[data-theme="light"] .ark-theme-toggle,
html[data-theme="light"] .ark-install-btn,
html[data-theme="light"] .ark-menu-btn,
html[data-theme="light"] .ark-search-toggle{
  background:linear-gradient(145deg,#F0F5FA,#E6ECF3)!important;
  color:#344054!important;
}
.ark-primary-btn{
  background:linear-gradient(145deg,#3F9FF8,#237ED4)!important;
  border:0!important;
  color:#fff!important;
  box-shadow:7px 7px 16px rgba(0,0,0,.28),-3px -3px 10px rgba(94,177,255,.10)!important;
}
html[data-theme="light"] .ark-primary-btn{
  background:linear-gradient(145deg,#3E8EF5,#2563EB)!important;
  box-shadow:7px 7px 16px rgba(163,177,198,.34),-4px -4px 12px rgba(255,255,255,.8)!important;
}

/* Strong contrast remains more important than decorative depth */
.ark-panel-title h3,
.ark-section-head h2,
.ark-metric strong,
.ark-person-card-title h4,
.ark-card-info strong,
.ark-money-row strong{
  color:var(--neu-text)!important;
}
.ark-panel-title p,
.ark-section-head p,
.ark-metric small,
.ark-person-card-title span,
.ark-card-info span,
.ark-money-row span{
  color:var(--neu-muted)!important;
}

/* =========================================================
   SIMPLE DASHBOARD
========================================================= */
.ark-easy-dashboard{display:grid;gap:18px}
.ark-simple-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.ark-simple-kpi{
  min-height:124px;
  display:flex;
  align-items:center;
  gap:14px;
  border-radius:22px;
  padding:18px;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease;
}
.ark-simple-kpi:hover{transform:translateY(-2px)}
.ark-simple-kpi-icon{
  width:46px;height:46px;flex:0 0 46px;
  display:grid;place-items:center;border-radius:15px;
  background:var(--neu-inset);
  box-shadow:inset 3px 3px 8px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light);
  color:var(--neu-blue);font-size:18px;font-weight:800;
}
.ark-simple-kpi>div{min-width:0}
.ark-simple-kpi small{display:block;color:var(--neu-muted);font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.07em}
.ark-simple-kpi strong{display:block;margin-top:5px;color:var(--neu-text);font-size:24px;letter-spacing:-.04em;overflow-wrap:anywhere}
.ark-simple-kpi p{margin:4px 0 0!important;color:var(--neu-muted)!important;font-size:10px!important}
.ark-simple-kpi-profit .ark-simple-kpi-icon{color:var(--neu-green)}
.ark-simple-kpi-danger .ark-simple-kpi-icon{color:var(--neu-red)}
.ark-simple-kpi-pending .ark-simple-kpi-icon{color:var(--neu-amber)}
.ark-simple-kpi-students .ark-simple-kpi-icon{color:var(--neu-purple)}

.ark-simple-grid{display:grid;gap:18px}
.ark-simple-grid-main{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
.ark-simple-grid-lower{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}

.ark-today-list{display:grid}
.ark-today-list>a{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:13px 0;
  border-bottom:1px solid var(--neu-line);
}
.ark-today-list>a:last-child{border-bottom:0}
.ark-today-icon{
  width:40px;height:40px;display:grid;place-items:center;border-radius:13px;
  background:var(--neu-inset);
  box-shadow:inset 3px 3px 8px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light);
  color:var(--neu-blue);font-weight:800;
}
.ark-today-list small{display:block;color:var(--neu-muted);font-size:10px}
.ark-today-list strong{display:block;margin-top:2px;color:var(--neu-text);font-size:17px}
.ark-today-list p{margin:2px 0 0!important;color:var(--neu-muted)!important;font-size:10px!important;line-height:1.4!important}
.ark-today-list>b{color:var(--neu-blue)}

.ark-class-summary-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.ark-class-summary{
  padding:13px 10px;
  border-radius:16px;
  background:var(--neu-inset);
  box-shadow:inset 3px 3px 8px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light);
}
.ark-class-summary i{display:block;width:8px;height:8px;border-radius:50%;margin-bottom:9px}
.ark-class-summary span{display:block;color:var(--neu-muted);font-size:9px}
.ark-class-summary strong{display:block;margin-top:3px;color:var(--neu-text);font-size:20px}
.ark-class-summary-completed i{background:var(--neu-green)}
.ark-class-summary-upcoming i{background:var(--neu-blue)}
.ark-class-summary-missed i{background:var(--neu-red)}
.ark-class-summary-holiday i{background:var(--neu-purple)}
.ark-next-class{
  margin-top:14px;padding:14px;border-radius:16px;background:var(--neu-inset);
  box-shadow:inset 3px 3px 8px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light)
}
.ark-next-class span{color:var(--neu-muted);font-size:9px;text-transform:uppercase;letter-spacing:.07em}
.ark-next-class strong{display:block;margin-top:5px;color:var(--neu-text);font-size:14px}
.ark-next-class p{margin:3px 0 0!important;color:var(--neu-muted)!important;font-size:10px!important}

.ark-attention-simple-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ark-attention-simple-item{
  position:relative;
  min-height:112px;
  padding:14px;border-radius:16px;background:var(--neu-inset);
  box-shadow:inset 3px 3px 8px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light)
}
.ark-attention-simple-item>span{display:block;color:var(--neu-muted);font-size:10px}
.ark-attention-simple-item>strong{display:block;margin-top:7px;color:var(--neu-text);font-size:22px}
.ark-attention-simple-item>small{display:block;margin-top:4px;color:var(--neu-muted);font-size:9.5px}
.ark-attention-simple-item>b{position:absolute;right:13px;top:13px;color:var(--neu-blue)}
.ark-attention-danger>strong{color:var(--neu-red)!important}
.ark-attention-warning>strong{color:var(--neu-amber)!important}

.ark-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ark-quick-action{
  display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;
  padding:12px;border-radius:15px;background:var(--neu-inset);
  box-shadow:inset 3px 3px 8px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light)
}
.ark-quick-action>span{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(94,177,255,.10);color:var(--neu-blue);font-weight:800}
.ark-quick-action strong{display:block;color:var(--neu-text);font-size:11px}
.ark-quick-action small{display:block;margin-top:2px;color:var(--neu-muted);font-size:8.5px;line-height:1.35}
.ark-quick-action>b{color:var(--neu-blue)}
.ark-quick-green>span{color:var(--neu-green);background:rgba(94,215,160,.09)}
.ark-quick-purple>span{color:var(--neu-purple);background:rgba(167,139,250,.09)}
.ark-quick-orange>span{color:var(--neu-amber);background:rgba(246,200,95,.09)}
.ark-owner-note{
  margin-top:12px;padding:13px;border-radius:15px;background:var(--neu-inset);
  box-shadow:inset 3px 3px 8px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light)
}
.ark-owner-note span{display:block;color:var(--neu-muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em}
.ark-owner-note strong{display:block;margin-top:4px;color:var(--neu-text);font-size:17px}
.ark-owner-note small{display:block;margin-top:4px;color:var(--neu-muted);font-size:9px;line-height:1.4}

/* =========================================================
   CLASS CALENDAR
========================================================= */
.ark-class-kpis{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px
}
.ark-class-kpi{
  min-height:100px;border-radius:20px;padding:16px;display:flex;gap:12px;align-items:center
}
.ark-class-kpi>i{width:10px;height:10px;border-radius:50%;flex:0 0 10px}
.ark-class-kpi span{display:block;color:var(--neu-muted);font-size:10px;font-weight:700}
.ark-class-kpi strong{display:block;margin-top:4px;color:var(--neu-text);font-size:23px}
.ark-class-kpi small{display:block;margin-top:2px;color:var(--neu-muted);font-size:9px}
.ark-class-kpi-completed>i{background:var(--neu-green)}
.ark-class-kpi-upcoming>i{background:var(--neu-blue)}
.ark-class-kpi-missed>i{background:var(--neu-red)}
.ark-class-kpi-holiday>i{background:var(--neu-purple)}

.ark-class-calendar-panel{overflow:hidden}
.ark-class-calendar-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.ark-class-calendar-head h3{margin:0;color:var(--neu-text);font-size:17px}
.ark-class-calendar-head p{margin:5px 0 0!important;color:var(--neu-muted)!important;font-size:10px!important}
.ark-class-calendar-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ark-class-calendar-filter select,.ark-class-calendar-filter input{min-height:38px;border-radius:10px;padding:0 10px;font:inherit;font-size:10px}
.ark-class-calendar-filter button{
  min-height:38px;padding:0 13px;border:0;border-radius:10px;background:#2F8DF6;color:#fff;font:inherit;font-size:10px;font-weight:750;cursor:pointer
}
.ark-calendar-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin:8px 0 12px}
.ark-calendar-nav a{color:var(--neu-blue);font-size:10px;font-weight:700}
.ark-calendar-nav a:last-child{text-align:right}
.ark-calendar-nav strong{color:var(--neu-text);font-size:12px}
.ark-class-calendar-wrap{overflow-x:auto;padding:10px 4px 14px}
.ark-class-calendar{
  min-width:760px;
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:10px;
}
.ark-calendar-weekday{
  padding:0 6px 6px;color:var(--neu-muted);font-size:9px;font-weight:800;text-align:center;text-transform:uppercase;letter-spacing:.06em
}
.ark-calendar-day{
  min-height:116px;padding:10px;border-radius:16px;background:var(--neu-inset);
  box-shadow:inset 3px 3px 9px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light);
  border:1px solid transparent
}
.ark-calendar-empty{opacity:.35;box-shadow:none;background:transparent}
.ark-calendar-day.is-today{border-color:rgba(94,177,255,.55);box-shadow:inset 3px 3px 9px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light),0 0 0 2px rgba(94,177,255,.08)}
.ark-calendar-date{display:flex;align-items:center;justify-content:space-between;gap:5px}
.ark-calendar-date strong{color:var(--neu-text);font-size:12px}
.ark-calendar-date span{padding:3px 5px;border-radius:999px;background:rgba(94,177,255,.12);color:var(--neu-blue);font-size:7px;font-weight:750}
.ark-calendar-dots{display:flex;gap:4px;margin-top:7px}
.ark-calendar-dots i,.ark-calendar-legend i{width:7px;height:7px;border-radius:50%;display:block}
.ark-calendar-dots .is-completed,.ark-calendar-legend .is-completed{background:var(--neu-green)}
.ark-calendar-dots .is-upcoming,.ark-calendar-legend .is-upcoming{background:var(--neu-blue)}
.ark-calendar-dots .is-missed,.ark-calendar-legend .is-missed{background:var(--neu-red)}
.ark-calendar-dots .is-holiday,.ark-calendar-legend .is-holiday{background:var(--neu-purple)}
.ark-calendar-items{display:grid;gap:5px;margin-top:8px}
.ark-calendar-items>a{text-decoration:none}
.ark-calendar-item{display:block;padding:5px 6px;border-radius:8px;background:rgba(255,255,255,.025)}
.ark-calendar-item b{display:block;color:var(--neu-text);font-size:8px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ark-calendar-item small{display:block;margin-top:2px;color:var(--neu-muted);font-size:6.8px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ark-calendar-item-completed{border-left:2px solid var(--neu-green)}
.ark-calendar-item-upcoming{border-left:2px solid var(--neu-blue)}
.ark-calendar-item-missed{border-left:2px solid var(--neu-red)}
.ark-calendar-item-holiday{border-left:2px solid var(--neu-purple)}
.ark-calendar-items em{color:var(--neu-muted);font-size:7px;font-style:normal}
.ark-calendar-legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:4px}
.ark-calendar-legend span{display:flex;align-items:center;gap:6px;color:var(--neu-muted);font-size:9px}
.ark-class-schedule-warning{margin-top:12px;padding:10px 12px;border-radius:12px;background:rgba(246,200,95,.08);color:var(--neu-amber);font-size:9.5px;line-height:1.5}
.ark-class-manage-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ark-holiday-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ark-holiday-card{
  display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border-radius:14px;background:var(--neu-inset);
  box-shadow:inset 3px 3px 8px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light)
}
.ark-holiday-card>span{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(167,139,250,.10);color:var(--neu-purple)}
.ark-holiday-card strong{display:block;color:var(--neu-text);font-size:11px}
.ark-holiday-card small{display:block;margin-top:3px;color:var(--neu-muted);font-size:9px}

/* =========================================================
   PARTNER DRAWINGS
========================================================= */
.ark-finance-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ark-owner-accounting-note{margin-top:12px;padding:11px 12px;border-radius:13px;background:rgba(94,177,255,.07);color:var(--neu-muted);font-size:9.5px;line-height:1.5}
.ark-owner-accounting-note strong{color:var(--neu-blue)}
.ark-drawing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ark-drawing-card{
  display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;gap:11px;
  padding:13px;border-radius:15px;background:var(--neu-inset);
  box-shadow:inset 3px 3px 8px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light)
}
.ark-drawing-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:rgba(94,177,255,.10);color:var(--neu-blue);font-size:10px;font-weight:800}
.ark-drawing-copy small{display:block;color:var(--neu-muted);font-size:8px}
.ark-drawing-copy strong{display:block;margin-top:2px;color:var(--neu-text);font-size:11px}
.ark-drawing-copy p{margin:2px 0 0!important;color:var(--neu-muted)!important;font-size:8px!important}
.ark-drawing-amount{text-align:right}
.ark-drawing-amount strong{display:block;color:var(--neu-text);font-size:13px}
.ark-drawing-amount small{display:block;margin-top:2px;color:var(--neu-muted);font-size:8px}

/* Light-theme nested neumorphic surfaces */
html[data-theme="light"] .ark-simple-kpi-icon,
html[data-theme="light"] .ark-today-icon,
html[data-theme="light"] .ark-class-summary,
html[data-theme="light"] .ark-next-class,
html[data-theme="light"] .ark-attention-simple-item,
html[data-theme="light"] .ark-quick-action,
html[data-theme="light"] .ark-owner-note,
html[data-theme="light"] .ark-calendar-day,
html[data-theme="light"] .ark-holiday-card,
html[data-theme="light"] .ark-drawing-card{
  background:#E5ECF3!important;
}
html[data-theme="light"] .ark-calendar-item{background:rgba(37,99,235,.035)!important}

/* Mobile */
@media(max-width:1050px){
  .ark-simple-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ark-simple-grid-main,.ark-simple-grid-lower{grid-template-columns:1fr}
  .ark-finance-entry-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .ark-panel{border-radius:18px!important;padding:15px!important}
  .ark-simple-kpis{gap:11px}
  .ark-simple-kpi{min-height:105px;padding:13px;border-radius:17px;gap:10px}
  .ark-simple-kpi-icon{width:40px;height:40px;flex-basis:40px;border-radius:12px}
  .ark-simple-kpi strong{font-size:19px}
  .ark-simple-kpi small{font-size:9.5px}
  .ark-simple-kpi p{font-size:9.5px!important}

  .ark-class-summary-grid{gap:7px}
  .ark-class-summary{padding:10px 7px;border-radius:13px}
  .ark-class-summary span{font-size:8.5px}
  .ark-class-summary strong{font-size:18px}
  .ark-quick-actions{grid-template-columns:1fr}
  .ark-attention-simple-grid{grid-template-columns:1fr 1fr}

  .ark-class-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ark-class-kpi{min-height:90px;border-radius:16px;padding:13px}
  .ark-class-calendar-head{flex-direction:column}
  .ark-class-calendar-filter{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.65fr) auto}
  .ark-class-calendar-filter select,.ark-class-calendar-filter input{font-size:16px!important;min-width:0}
  .ark-class-calendar{min-width:0;gap:5px}
  .ark-calendar-weekday{font-size:8px;padding:0 1px 4px}
  .ark-calendar-day{min-height:72px;padding:6px;border-radius:11px}
  .ark-calendar-date strong{font-size:10px}
  .ark-calendar-date span{display:none}
  .ark-calendar-dots{gap:2px;margin-top:6px;flex-wrap:wrap}
  .ark-calendar-dots i{width:5px;height:5px}
  .ark-calendar-items{display:none}
  .ark-calendar-legend{margin-top:10px}
  .ark-class-manage-grid{grid-template-columns:1fr}
  .ark-holiday-list{grid-template-columns:1fr}
  .ark-drawing-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .ark-simple-kpis{grid-template-columns:1fr 1fr}
  .ark-simple-kpi{display:block}
  .ark-simple-kpi-icon{margin-bottom:10px}
  .ark-simple-kpi strong{font-size:17px}
  .ark-attention-simple-grid{grid-template-columns:1fr 1fr}
  .ark-class-calendar-filter{grid-template-columns:1fr 1fr}
  .ark-class-calendar-filter button{grid-column:1/-1}
  .ark-drawing-card{grid-template-columns:38px minmax(0,1fr) auto}
  .ark-drawing-card .ark-delete-form{grid-column:1/-1;margin-left:49px}
}


/* V2.1 neumorphic navigation/login polish */
.ark-nav a{
  border:1px solid transparent!important;
}
.ark-nav a:hover{
  background:var(--neu-surface)!important;
  box-shadow:4px 4px 10px var(--neu-shadow-dark),-3px -3px 8px var(--neu-shadow-light)!important;
}
.ark-nav a.active{
  background:var(--neu-inset)!important;
  box-shadow:inset 3px 3px 8px var(--neu-shadow-dark),inset -3px -3px 7px var(--neu-shadow-light)!important;
  border-color:var(--neu-line)!important;
}
html[data-theme="light"] .ark-nav a:hover{
  background:#EEF3F8!important;
}
html[data-theme="light"] .ark-nav a.active{
  background:#E2EAF2!important;
  color:#175CD3!important;
}
.ark-mobile-nav{
  background:rgba(15,22,31,.94)!important;
  border:1px solid var(--neu-line)!important;
  box-shadow:10px 10px 24px var(--neu-shadow-dark),-6px -6px 18px var(--neu-shadow-light)!important;
}
html[data-theme="light"] .ark-mobile-nav{
  background:rgba(233,239,246,.96)!important;
}
.ark-login-body{
  background:var(--neu-bg)!important;
}
.ark-login-card{
  background:linear-gradient(145deg,var(--neu-surface-2),var(--neu-surface))!important;
  border:1px solid var(--neu-line)!important;
  box-shadow:14px 14px 34px var(--neu-shadow-dark),-10px -10px 28px var(--neu-shadow-light)!important;
}
html[data-theme="light"] .ark-login-card{
  background:linear-gradient(145deg,#F0F5FA,#E7EDF4)!important;
}
.ark-search-box{
  background:var(--neu-inset)!important;
  border:1px solid var(--neu-line)!important;
  box-shadow:inset 3px 3px 8px var(--neu-shadow-dark),inset -3px -3px 8px var(--neu-shadow-light)!important;
}
html[data-theme="light"] .ark-search-box{
  background:#E5ECF3!important;
}


/* V2.1 secondary surfaces — carry neumorphism through existing modules */
.ark-card-info>div,
.ark-money-row>div,
.ark-report-pulse-grid>div,
.ark-report-stack-card,
.ark-hub-course-list-full>a,
.ark-hub-commission-row,
.ark-attendance-student,
.ark-attendance-history>div,
.ark-cert-checks span,
.ark-learning-mini span,
.ark-attendance-mini span,
.ark-readonly-value,
.ark-linked-edit-notice,
.ark-checkbox-field,
.ark-note-box,
.ark-view-only-box{
  background:var(--neu-inset)!important;
  border:1px solid var(--neu-line)!important;
  box-shadow:
    inset 3px 3px 8px var(--neu-shadow-dark),
    inset -3px -3px 8px var(--neu-shadow-light)!important;
  color:var(--neu-text)!important;
}
html[data-theme="light"] .ark-card-info>div,
html[data-theme="light"] .ark-money-row>div,
html[data-theme="light"] .ark-report-pulse-grid>div,
html[data-theme="light"] .ark-report-stack-card,
html[data-theme="light"] .ark-hub-course-list-full>a,
html[data-theme="light"] .ark-hub-commission-row,
html[data-theme="light"] .ark-attendance-student,
html[data-theme="light"] .ark-attendance-history>div,
html[data-theme="light"] .ark-cert-checks span,
html[data-theme="light"] .ark-learning-mini span,
html[data-theme="light"] .ark-attendance-mini span,
html[data-theme="light"] .ark-readonly-value,
html[data-theme="light"] .ark-linked-edit-notice,
html[data-theme="light"] .ark-checkbox-field,
html[data-theme="light"] .ark-note-box,
html[data-theme="light"] .ark-view-only-box{
  background:#E5ECF3!important;
}
.ark-table-wrap,
.ark-report-table-wrap{
  border:0!important;
  border-radius:16px!important;
  background:var(--neu-inset)!important;
  box-shadow:inset 4px 4px 10px var(--neu-shadow-dark),inset -4px -4px 10px var(--neu-shadow-light)!important;
}
.ark-table th,
.ark-report-table th{
  background:transparent!important;
  border-color:var(--neu-line)!important;
}
.ark-table td,
.ark-report-table td{
  border-color:var(--neu-line)!important;
}
html[data-theme="light"] .ark-table-wrap,
html[data-theme="light"] .ark-report-table-wrap{
  background:#E5ECF3!important;
}


/* =========================================================
   V2.2 — ARK CORE BUSINESS OS
   Professional, clean, low-cognitive-load product system.
========================================================= */
:root{
  --core-bg:#F5F7FA;
  --core-surface:#FFFFFF;
  --core-surface-2:#F8FAFC;
  --core-text:#17212B;
  --core-muted:#687586;
  --core-line:#E4E9EF;
  --core-blue:#246BFD;
  --core-green:#139B68;
  --core-amber:#D99016;
  --core-red:#D95055;
  --core-shadow:0 8px 28px rgba(28,43,58,.06);
}
html[data-theme="dark"]{
  --core-bg:#0D131A;
  --core-surface:#131B24;
  --core-surface-2:#18212C;
  --core-text:#F2F5F8;
  --core-muted:#A8B3C0;
  --core-line:#273341;
  --core-blue:#69A7FF;
  --core-green:#58C99B;
  --core-amber:#F2BE65;
  --core-red:#FF8F97;
  --core-shadow:0 10px 30px rgba(0,0,0,.20);
}
.ark-app-body,
.ark-app-shell,
.ark-main,
.ark-content{
  background:var(--core-bg)!important;
  color:var(--core-text)!important;
}
.ark-app-shell{grid-template-columns:218px minmax(0,1fr)!important}
.ark-sidebar{
  width:auto!important;
  background:var(--core-surface)!important;
  color:var(--core-text)!important;
  border-right:1px solid var(--core-line)!important;
  box-shadow:none!important;
  padding:18px 13px!important;
}
.ark-sidebar-brand{padding:4px 7px 22px!important;gap:10px!important}
.ark-sidebar-brand .ark-brand-mark.ark-brand-mark-logo{width:42px!important;height:42px!important;border-radius:11px!important}
.ark-sidebar-brand strong{color:var(--core-text)!important;font-size:14px!important}
.ark-sidebar-brand span{color:var(--core-muted)!important;font-size:9px!important}
.ark-nav{gap:4px!important}
.ark-nav a{
  min-height:43px!important;
  padding:0 11px!important;
  border-radius:10px!important;
  color:var(--core-muted)!important;
  font-size:13px!important;
  font-weight:650!important;
}
.ark-nav-icon{color:inherit!important;font-size:15px!important;width:23px!important}
.ark-nav a:hover{background:var(--core-surface-2)!important;color:var(--core-text)!important}
.ark-nav a.active{
  background:rgba(36,107,253,.10)!important;
  color:var(--core-blue)!important;
  box-shadow:none!important;
}
.ark-sidebar-bottom{border-top:1px solid var(--core-line)!important;padding-top:12px!important}
.ark-system-links{display:flex;gap:6px;margin:0 0 10px}
.ark-system-links a{
  flex:1;display:flex;align-items:center;justify-content:center;gap:5px;
  min-height:32px;border:1px solid var(--core-line);border-radius:8px;
  color:var(--core-muted);font-size:9.5px;font-weight:700;background:var(--core-surface-2)
}
.ark-system-links a:hover{color:var(--core-blue);border-color:rgba(36,107,253,.28)}
.ark-mini-profile strong{color:var(--core-text)!important}
.ark-mini-profile small,.ark-logout{color:var(--core-muted)!important}

.ark-topbar{
  min-height:72px!important;
  padding:12px 24px!important;
  background:color-mix(in srgb,var(--core-bg) 92%,transparent)!important;
  border-bottom:1px solid var(--core-line)!important;
  box-shadow:none!important;
}
.ark-top-kicker{display:none!important}
.ark-topbar h1{font-size:20px!important;color:var(--core-text)!important;letter-spacing:-.025em!important}
.ark-content{max-width:1320px!important;padding:24px!important}
.ark-section-head{margin-bottom:18px!important;align-items:center!important}
.ark-section-head h2{font-size:25px!important;color:var(--core-text)!important;letter-spacing:-.035em!important}
.ark-section-head p{font-size:12px!important;color:var(--core-muted)!important;margin-top:4px!important;max-width:720px}
.ark-section-badge{
  background:var(--core-surface)!important;border:1px solid var(--core-line)!important;
  color:var(--core-muted)!important;font-size:10px!important;border-radius:8px!important
}

.ark-panel,
.ark-metric,
.ark-person-card,
.ark-team-card,
.ark-bi-chart-card,
.ark-report-metric,
.ark-filter-panel,
.ark-record-card-table .ark-record-card{
  background:var(--core-surface)!important;
  border:1px solid var(--core-line)!important;
  box-shadow:var(--core-shadow)!important;
  border-radius:14px!important;
}
.ark-panel{padding:18px!important}
.ark-panel-title{margin-bottom:15px!important}
.ark-panel-title h3{color:var(--core-text)!important;font-size:15px!important}
.ark-panel-title p,.ark-panel-copy{color:var(--core-muted)!important}
.ark-panel-title>span{background:var(--core-surface-2)!important;color:var(--core-muted)!important;border:1px solid var(--core-line)!important;border-radius:7px!important}

.ark-field>span,.ark-filter-field span{color:var(--core-text)!important;font-size:11px!important}
.ark-field input,.ark-field select,.ark-field textarea,
.ark-filter-field input,.ark-filter-field select,
.ark-login-form input,.ark-report-custom input,.ark-att-status,.ark-att-note{
  background:var(--core-surface-2)!important;
  color:var(--core-text)!important;
  border:1px solid var(--core-line)!important;
  box-shadow:none!important;
  border-radius:9px!important;
}
.ark-field input:focus,.ark-field select:focus,.ark-field textarea:focus,
.ark-filter-field input:focus,.ark-filter-field select:focus{
  border-color:var(--core-blue)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--core-blue) 14%,transparent)!important;
}
.ark-primary-btn{
  background:var(--core-blue)!important;color:#fff!important;border-radius:9px!important;
  box-shadow:none!important;min-height:42px!important
}
.ark-secondary-btn{
  background:var(--core-surface)!important;color:var(--core-text)!important;
  border:1px solid var(--core-line)!important;border-radius:9px!important;box-shadow:none!important
}
.ark-delete-btn{border-radius:8px!important}
.ark-theme-toggle,.ark-install-btn,.ark-sync-status,.ark-version,.ark-menu-btn{
  background:var(--core-surface)!important;border-color:var(--core-line)!important;color:var(--core-muted)!important;box-shadow:none!important
}

/* Dashboard */
.ark-core-dashboard{display:grid;gap:16px}
.ark-core-money{
  background:linear-gradient(135deg,#18324B,#102132);
  color:#fff;border-radius:18px;padding:24px;border:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 36px rgba(16,33,50,.16)
}
html[data-theme="light"] .ark-core-money{background:linear-gradient(135deg,#173A5D,#1D4B74)}
.ark-core-money-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.ark-core-money-head>div:first-child>span{font-size:10px;color:#B9CAD9;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.ark-core-money-head>div:first-child>strong{display:block;font-size:38px;line-height:1;margin-top:7px;letter-spacing:-.045em;color:#fff}
.ark-core-money-head p{margin:7px 0 0!important;color:#B9CAD9!important;font-size:11px!important}
.ark-core-profit{text-align:right}
.ark-core-profit span{display:block;color:#B9CAD9;font-size:10px}
.ark-core-profit b{display:block;margin-top:5px;font-size:17px;color:#fff}
.ark-core-money-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:22px}
.ark-core-money-card{padding:13px;border-radius:11px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.09)}
.ark-core-money-card span{display:block;color:#C6D3DF;font-size:9px;font-weight:700}
.ark-core-money-card strong{display:block;color:#fff;font-size:18px;margin-top:5px;letter-spacing:-.02em}
.ark-core-money-card small{display:block;color:#AFC0CF;font-size:8.5px;margin-top:4px;line-height:1.35}
.ark-core-drawings{display:flex;align-items:center;gap:12px;margin-top:14px;padding-top:13px;border-top:1px solid rgba(255,255,255,.12)}
.ark-core-drawings>span{color:#AFC0CF;font-size:9px}
.ark-core-drawings p{margin:0!important;color:#EAF0F5!important;font-size:10px!important;flex:1}
.ark-core-drawings i{color:#72889B;padding:0 5px}
.ark-core-drawings a{color:#fff;font-size:9px;font-weight:700}

.ark-core-two-col{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}
.ark-core-section{
  background:var(--core-surface);border:1px solid var(--core-line);border-radius:14px;
  padding:18px;box-shadow:var(--core-shadow)
}
.ark-core-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.ark-core-section-head span{font-size:9px;color:var(--core-muted);font-weight:750;text-transform:uppercase;letter-spacing:.08em}
.ark-core-section-head h3{margin:3px 0 0;color:var(--core-text);font-size:15px}
.ark-core-section-head a{color:var(--core-blue);font-size:10px;font-weight:700}
.ark-core-class-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.ark-core-class-grid>div{background:var(--core-surface-2);border:1px solid var(--core-line);border-radius:10px;padding:12px}
.ark-core-class-grid span{display:block;color:var(--core-muted);font-size:9px}
.ark-core-class-grid strong{display:block;color:var(--core-text);font-size:22px;margin-top:4px}
.ark-core-next{margin-top:12px;padding:12px;border-radius:10px;background:color-mix(in srgb,var(--core-blue) 6%,var(--core-surface))}
.ark-core-next span{font-size:9px;color:var(--core-muted)}
.ark-core-next strong{display:block;margin-top:3px;color:var(--core-text);font-size:12px}
.ark-core-next p{margin:3px 0 0!important;color:var(--core-muted)!important;font-size:9.5px!important}
.ark-core-business-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ark-core-business-row a{
  display:grid;grid-template-columns:34px 1fr auto;gap:8px;align-items:center;
  padding:12px;border:1px solid var(--core-line);border-radius:10px;background:var(--core-surface-2)
}
.ark-core-business-row a>span{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--core-blue) 10%,var(--core-surface));color:var(--core-blue)}
.ark-core-business-row small{display:block;color:var(--core-muted);font-size:9px}
.ark-core-business-row strong{display:block;color:var(--core-text);font-size:17px;margin-top:2px}
.ark-core-business-row b{color:var(--core-muted)}
.ark-core-actions{margin-top:14px}
.ark-core-actions>span{display:block;color:var(--core-muted);font-size:9px;margin-bottom:7px}
.ark-core-actions>div{display:flex;gap:7px;flex-wrap:wrap}
.ark-core-actions a{padding:8px 10px;border-radius:8px;background:var(--core-surface-2);border:1px solid var(--core-line);color:var(--core-text);font-size:9.5px;font-weight:700}

/* Students */
.ark-auto-note{display:flex;gap:10px;align-items:flex-start;background:color-mix(in srgb,var(--core-blue) 7%,var(--core-surface));border:1px solid color-mix(in srgb,var(--core-blue) 18%,var(--core-line));border-radius:10px;padding:11px;margin-bottom:14px}
.ark-auto-note>span{font-size:16px}
.ark-auto-note strong{color:var(--core-text);font-size:10px}
.ark-auto-note p{margin:2px 0 0!important;color:var(--core-muted)!important;font-size:9.5px!important}
.ark-core-student-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.ark-core-student-card{background:var(--core-surface);border:1px solid var(--core-line);border-radius:12px;padding:14px}
.ark-core-student-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}
.ark-core-student-head h4{margin:0;color:var(--core-text);font-size:13px}
.ark-core-student-head p{margin:2px 0 0!important;color:var(--core-muted)!important;font-size:9.5px!important}
.ark-core-student-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.ark-core-student-stats>div,.ark-core-student-schedule{background:var(--core-surface-2);border:1px solid var(--core-line);border-radius:9px;padding:10px}
.ark-core-student-stats span,.ark-core-student-schedule span{display:block;color:var(--core-muted);font-size:8.5px}
.ark-core-student-stats strong{display:block;color:var(--core-text);font-size:13px;margin-top:3px}
.ark-core-student-schedule{margin-top:8px}
.ark-core-student-schedule strong{display:block;color:var(--core-text);font-size:10px;margin-top:3px}
.ark-core-student-schedule small{display:block;color:var(--core-muted);font-size:8.5px;margin-top:2px}
.ark-core-student-actions{display:flex;gap:7px;margin-top:10px}
.ark-core-student-actions a{flex:1;text-align:center;padding:8px;border:1px solid var(--core-line);border-radius:8px;color:var(--core-text);font-size:9.5px;font-weight:700}
.ark-core-student-actions a:last-child{color:var(--core-blue)}

/* Money */
.ark-money-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.ark-money-overview article{background:var(--core-surface);border:1px solid var(--core-line);border-radius:12px;padding:15px;box-shadow:var(--core-shadow)}
.ark-money-overview span{display:block;color:var(--core-muted);font-size:9px}
.ark-money-overview strong{display:block;color:var(--core-text);font-size:20px;margin-top:5px}
.ark-money-overview small{display:block;color:var(--core-muted);font-size:9px;margin-top:3px}
.ark-owner-split{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}
.ark-owner-split>div{background:var(--core-surface-2);border:1px solid var(--core-line);border-radius:10px;padding:12px}
.ark-owner-split span{display:block;color:var(--core-muted);font-size:9px}
.ark-owner-split strong{display:block;color:var(--core-text);font-size:18px;margin-top:4px}
.ark-owner-split small{display:block;color:var(--core-muted);font-size:8.5px;margin-top:3px}
.ark-simple-ledger{margin-top:14px;border-top:1px solid var(--core-line)}
.ark-simple-ledger>div{display:grid;grid-template-columns:70px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--core-line)}
.ark-simple-ledger span{font-size:9px;color:var(--core-muted)}
.ark-simple-ledger strong{font-size:10px;color:var(--core-text)}
.ark-simple-ledger b{font-size:11px;color:var(--core-text)}

/* Calendar polish */
.ark-class-kpis{gap:9px!important}
.ark-class-kpi,.ark-class-calendar-panel,.ark-holiday-card{box-shadow:none!important}
.ark-class-kpi{background:var(--core-surface)!important;border-color:var(--core-line)!important;border-radius:12px!important}
.ark-class-calendar-panel{background:var(--core-surface)!important;border-color:var(--core-line)!important}
.ark-calendar-day{background:var(--core-surface)!important;border-color:var(--core-line)!important}
.ark-calendar-empty{background:transparent!important}
.ark-calendar-weekday{color:var(--core-muted)!important}
.ark-class-calendar-filter select,.ark-class-calendar-filter input{background:var(--core-surface-2)!important;color:var(--core-text)!important;border-color:var(--core-line)!important}

/* Hide legacy learning/certificate complexity from everyday student view. Data stays intact. */
.ark-learning-metrics,.ark-learning-progress-panel{display:none!important}

/* tables */
.ark-table th{background:var(--core-surface-2)!important;color:var(--core-muted)!important;border-color:var(--core-line)!important}
.ark-table td{background:var(--core-surface)!important;color:var(--core-text)!important;border-color:var(--core-line)!important}
.ark-table td strong{color:var(--core-text)!important}

/* search */
.ark-search-box{background:var(--core-surface)!important;border-color:var(--core-line)!important;box-shadow:none!important}
.ark-search-box input{color:var(--core-text)!important}
.ark-search-box button{background:color-mix(in srgb,var(--core-blue) 10%,var(--core-surface))!important;color:var(--core-blue)!important}

/* mobile */
@media(max-width:960px){
  .ark-app-shell{grid-template-columns:1fr!important}
  .ark-sidebar{width:230px!important}
  .ark-content{padding:18px 14px 92px!important}
  .ark-topbar{padding:11px 14px!important}
  .ark-mobile-nav{
    left:8px!important;right:8px!important;bottom:8px!important;
    background:var(--core-surface)!important;border:1px solid var(--core-line)!important;
    border-radius:14px!important;box-shadow:0 12px 30px rgba(0,0,0,.14)!important;
    padding:5px!important
  }
  .ark-mobile-nav a,.ark-mobile-nav button{color:var(--core-muted)!important}
  .ark-mobile-nav a.active{background:color-mix(in srgb,var(--core-blue) 10%,var(--core-surface))!important;color:var(--core-blue)!important}
  .ark-core-money{padding:18px}
  .ark-core-money-head>div:first-child>strong{font-size:31px}
  .ark-core-money-grid{grid-template-columns:1fr 1fr}
  .ark-core-two-col{grid-template-columns:1fr}
  .ark-core-student-grid{grid-template-columns:1fr}
  .ark-money-overview{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .ark-section-head{align-items:flex-start!important}
  .ark-section-head h2{font-size:22px!important}
  .ark-section-badge{display:none!important}
  .ark-core-money-grid{grid-template-columns:1fr 1fr}
  .ark-core-money-card strong{font-size:16px}
  .ark-core-drawings{align-items:flex-start;flex-wrap:wrap}
  .ark-core-drawings p{flex-basis:100%}
  .ark-core-class-grid{grid-template-columns:1fr 1fr}
  .ark-core-business-row{grid-template-columns:1fr 1fr}
  .ark-money-overview{grid-template-columns:1fr 1fr}
  .ark-owner-split{grid-template-columns:1fr 1fr}
}


/* =========================================================
   V2.3 — PROFESSIONAL WHITE SAAS UI
   Final layer: replaces pale-blue/neumorphic styling.
========================================================= */

:root{
  --pro-white:#FFFFFF;
  --pro-page:#FFFFFF;
  --pro-soft:#F8FAFC;
  --pro-soft-2:#F3F5F7;
  --pro-line:#E6E9EE;
  --pro-line-strong:#D8DEE6;
  --pro-text:#141A22;
  --pro-text-2:#344054;
  --pro-muted:#667085;
  --pro-faint:#98A2B3;
  --pro-brand:#A6D900;
  --pro-brand-dark:#6E9000;
  --pro-brand-soft:#F3F9D8;
  --pro-green:#16A36A;
  --pro-green-soft:#EAFBF3;
  --pro-blue:#3478F6;
  --pro-blue-soft:#EDF4FF;
  --pro-purple:#7757D8;
  --pro-purple-soft:#F1EDFF;
  --pro-orange:#F59A23;
  --pro-orange-soft:#FFF4E5;
  --pro-red:#E24C5B;
  --pro-red-soft:#FFF0F2;
  --pro-cyan:#0F9EAF;
  --pro-cyan-soft:#E8F9FB;
  --pro-shadow:0 1px 2px rgba(16,24,40,.04),0 8px 24px rgba(16,24,40,.035);
  --pro-radius:14px;
}

/* -------------------------
   Base / typography
------------------------- */
html[data-theme="light"],
html[data-theme="light"] body,
html[data-theme="light"] .ark-app-body,
html[data-theme="light"] .ark-app-shell,
html[data-theme="light"] .ark-main,
html[data-theme="light"] .ark-content{
  background:#FFFFFF!important;
  color:var(--pro-text)!important;
}

body,
button,
input,
select,
textarea{
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
}

.ark-app-body{
  font-size:14px!important;
  line-height:1.5!important;
  letter-spacing:-.005em;
}

.ark-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:24px 28px 40px!important;
}

.ark-section-head{
  margin:0 0 18px!important;
  padding:0!important;
  align-items:flex-end!important;
}
.ark-section-head h2{
  margin:0!important;
  color:var(--pro-text)!important;
  font-size:28px!important;
  line-height:1.15!important;
  font-weight:760!important;
  letter-spacing:-.035em!important;
}
.ark-section-head p{
  margin:6px 0 0!important;
  max-width:760px!important;
  color:var(--pro-muted)!important;
  font-size:14px!important;
  line-height:1.5!important;
}
.ark-section-badge{
  background:var(--pro-soft)!important;
  border:1px solid var(--pro-line)!important;
  border-radius:999px!important;
  color:var(--pro-text-2)!important;
  font-size:12px!important;
  font-weight:700!important;
  padding:7px 11px!important;
}

/* -------------------------
   Sidebar
------------------------- */
.ark-app-shell{
  grid-template-columns:218px minmax(0,1fr)!important;
}
.ark-sidebar{
  width:auto!important;
  padding:18px 14px!important;
  background:#FFFFFF!important;
  border-right:1px solid var(--pro-line)!important;
  color:var(--pro-text)!important;
  box-shadow:none!important;
}
.ark-sidebar-brand{
  gap:10px!important;
  padding:2px 6px 22px!important;
}
.ark-sidebar-brand .ark-brand-mark.ark-brand-mark-logo{
  width:42px!important;
  height:42px!important;
  border-radius:11px!important;
}
.ark-sidebar-brand strong{
  color:var(--pro-text)!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:760!important;
}
.ark-sidebar-brand span{
  margin-top:3px!important;
  color:var(--pro-muted)!important;
  font-size:9px!important;
  font-weight:650!important;
  letter-spacing:.08em!important;
}
.ark-nav{
  gap:5px!important;
}
.ark-nav a,
.ark-nav a:visited{
  min-height:42px!important;
  padding:0 11px!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#475467!important;
  font-size:13px!important;
  font-weight:670!important;
  box-shadow:none!important;
}
.ark-nav-icon{
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:8px!important;
  color:#7A8699!important;
  font-size:14px!important;
}
.ark-nav a:hover{
  background:var(--pro-soft)!important;
  color:var(--pro-text)!important;
}
.ark-nav a:hover .ark-nav-icon{
  background:#FFFFFF!important;
  color:var(--pro-text)!important;
  box-shadow:0 0 0 1px var(--pro-line)!important;
}
.ark-nav a.active{
  background:var(--pro-brand-soft)!important;
  color:#1E2B00!important;
  box-shadow:none!important;
}
.ark-nav a.active .ark-nav-icon{
  background:#FFFFFF!important;
  color:var(--pro-brand-dark)!important;
  box-shadow:0 0 0 1px #DDEAA6!important;
}
.ark-sidebar-bottom{
  padding-top:14px!important;
  border-top:1px solid var(--pro-line)!important;
}
.ark-system-links{
  gap:7px!important;
}
.ark-system-links a{
  min-height:34px!important;
  background:var(--pro-soft)!important;
  border:1px solid var(--pro-line)!important;
  color:var(--pro-muted)!important;
  border-radius:9px!important;
  font-size:10px!important;
  box-shadow:none!important;
}
.ark-system-links a:hover{
  background:#FFFFFF!important;
  color:var(--pro-text)!important;
  border-color:var(--pro-line-strong)!important;
}
.ark-mini-profile{
  padding:12px 7px 7px!important;
}
.ark-mini-profile strong{
  color:var(--pro-text)!important;
  font-size:12px!important;
}
.ark-mini-profile small,
.ark-logout{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}

/* -------------------------
   Header
------------------------- */
.ark-topbar{
  min-height:64px!important;
  padding:10px 22px!important;
  gap:12px!important;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid var(--pro-line)!important;
  box-shadow:none!important;
  backdrop-filter:blur(12px)!important;
}
@media(min-width:961px){
  .ark-topbar-title{display:none!important}
}
.ark-global-search{
  max-width:520px!important;
  margin-left:0!important;
  margin-right:auto!important;
}
.ark-search-box{
  height:40px!important;
  background:var(--pro-soft)!important;
  border:1px solid var(--pro-line)!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
.ark-search-box>span{
  color:var(--pro-faint)!important;
}
.ark-search-box input{
  color:var(--pro-text)!important;
  font-size:13px!important;
}
.ark-search-box input::placeholder{
  color:var(--pro-faint)!important;
}
.ark-search-box button{
  height:30px!important;
  padding:0 11px!important;
  border-radius:8px!important;
  background:#FFFFFF!important;
  border:1px solid var(--pro-line)!important;
  color:var(--pro-text-2)!important;
  font-size:11px!important;
  font-weight:700!important;
}
.ark-top-actions{
  gap:7px!important;
}
.ark-theme-toggle,
.ark-install-btn,
.ark-sync-status,
.ark-version,
.ark-menu-btn{
  min-height:36px!important;
  background:#FFFFFF!important;
  border:1px solid var(--pro-line)!important;
  color:var(--pro-text-2)!important;
  border-radius:9px!important;
  box-shadow:none!important;
}
.ark-theme-toggle{
  padding:0 10px!important;
}
.ark-theme-toggle b,
.ark-install-btn b,
.ark-sync-status b{
  font-size:11px!important;
}
.ark-version{display:none!important}
.ark-install-btn{
  width:38px!important;
  padding:0!important;
  justify-content:center!important;
}
.ark-install-btn b{display:none!important}
.ark-top-actions>.ark-avatar{
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  background:var(--pro-brand-soft)!important;
  color:#506900!important;
}

/* -------------------------
   Panels / forms
------------------------- */
.ark-panel,
.ark-filter-panel,
.ark-person-card,
.ark-metric,
.ark-core-section,
.ark-class-calendar-panel,
.ark-holiday-card,
.ark-report-metric,
.ark-bi-chart-card{
  background:#FFFFFF!important;
  border:1px solid var(--pro-line)!important;
  border-radius:var(--pro-radius)!important;
  box-shadow:var(--pro-shadow)!important;
}
.ark-panel{
  padding:20px!important;
  margin-bottom:16px!important;
}
.ark-panel-title{
  margin-bottom:16px!important;
}
.ark-panel-title h3{
  margin:0!important;
  color:var(--pro-text)!important;
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:740!important;
}
.ark-panel-title p,
.ark-panel-copy{
  margin-top:5px!important;
  color:var(--pro-muted)!important;
  font-size:13px!important;
  line-height:1.45!important;
}
.ark-panel-title>span{
  background:var(--pro-soft)!important;
  border:1px solid var(--pro-line)!important;
  color:var(--pro-muted)!important;
  border-radius:999px!important;
  padding:5px 9px!important;
  font-size:10px!important;
}

/* Four columns use wide screens efficiently. */
.ark-form-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px 14px!important;
}
.ark-field>span,
.ark-filter-field span,
.ark-login-form label>span{
  margin-bottom:6px!important;
  color:var(--pro-text-2)!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:720!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
}
.ark-field input,
.ark-field select,
.ark-field textarea,
.ark-filter-field input,
.ark-filter-field select,
.ark-login-form input,
.ark-report-custom input,
.ark-att-status,
.ark-att-note{
  min-height:42px!important;
  padding:9px 11px!important;
  background:#FFFFFF!important;
  border:1px solid var(--pro-line-strong)!important;
  border-radius:9px!important;
  color:var(--pro-text)!important;
  font-size:14px!important;
  box-shadow:none!important;
}
.ark-field textarea{
  min-height:78px!important;
  resize:vertical!important;
}
.ark-field input:focus,
.ark-field select:focus,
.ark-field textarea:focus,
.ark-filter-field input:focus,
.ark-filter-field select:focus{
  border-color:#9FBA37!important;
  box-shadow:0 0 0 3px rgba(166,217,0,.13)!important;
}
.ark-field input::placeholder,
.ark-field textarea::placeholder,
.ark-filter-field input::placeholder{
  color:var(--pro-faint)!important;
}
.ark-form-actions{
  padding-top:0!important;
}
.ark-primary-btn{
  min-height:42px!important;
  padding:0 14px!important;
  gap:10px!important;
  border:0!important;
  border-radius:9px!important;
  background:#171C22!important;
  color:#FFFFFF!important;
  font-size:13px!important;
  font-weight:720!important;
  box-shadow:none!important;
}
.ark-primary-btn:hover{
  background:#242B33!important;
  transform:translateY(-1px)!important;
}
.ark-primary-btn span{
  width:23px!important;
  height:23px!important;
  background:var(--pro-brand)!important;
  color:#111827!important;
  font-size:12px!important;
}
.ark-secondary-btn{
  min-height:38px!important;
  padding:0 12px!important;
  background:#FFFFFF!important;
  border:1px solid var(--pro-line-strong)!important;
  border-radius:9px!important;
  color:var(--pro-text-2)!important;
  font-size:12px!important;
  font-weight:680!important;
  box-shadow:none!important;
}
.ark-delete-btn{
  color:#C83D4B!important;
  font-size:11px!important;
  font-weight:700!important;
}
.ark-auto-note{
  padding:11px 13px!important;
  margin-bottom:15px!important;
  background:#FAFCEB!important;
  border:1px solid #E4EDB5!important;
  border-radius:10px!important;
}
.ark-auto-note strong{
  color:#374500!important;
  font-size:12px!important;
}
.ark-auto-note p{
  margin-top:3px!important;
  color:#67722F!important;
  font-size:11px!important;
  line-height:1.4!important;
}

/* Compact filters */
.ark-filter-panel{
  padding:12px 14px!important;
  margin-bottom:16px!important;
}
.ark-filter-panel form,
.ark-filter-grid{
  align-items:end!important;
  gap:10px!important;
}
.ark-filter-field input,
.ark-filter-field select{
  min-height:38px!important;
  font-size:13px!important;
}

/* -------------------------
   Dashboard
------------------------- */
.ark-core-dashboard{
  gap:16px!important;
}
.ark-core-money{
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:var(--pro-text)!important;
}
.ark-core-money-head{
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr)!important;
  gap:12px!important;
}
.ark-core-money-head>div{
  min-width:0!important;
  padding:19px 20px!important;
  border:1px solid var(--pro-line)!important;
  border-radius:14px!important;
  box-shadow:var(--pro-shadow)!important;
  text-align:left!important;
}
.ark-core-money-head>div:first-child{
  background:linear-gradient(135deg,#F0FBF5,#FFFFFF)!important;
  border-color:#CDEEDD!important;
}
.ark-core-profit{
  background:linear-gradient(135deg,#F4F0FF,#FFFFFF)!important;
  border-color:#DED4FC!important;
}
.ark-core-money-head>div:first-child>span,
.ark-core-profit span{
  color:var(--pro-muted)!important;
  font-size:11px!important;
  font-weight:700!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
}
.ark-core-money-head>div:first-child>strong{
  margin-top:7px!important;
  color:#0A7649!important;
  font-size:34px!important;
  line-height:1.05!important;
  font-weight:780!important;
  letter-spacing:-.04em!important;
}
.ark-core-profit b{
  margin-top:7px!important;
  color:#6542BE!important;
  font-size:27px!important;
  line-height:1.1!important;
  font-weight:770!important;
}
.ark-core-money-head p{
  margin:6px 0 0!important;
  color:var(--pro-muted)!important;
  font-size:12px!important;
}
.ark-core-money-grid{
  margin-top:12px!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.ark-core-money-card{
  padding:16px!important;
  background:#FFFFFF!important;
  border:1px solid var(--pro-line)!important;
  border-radius:13px!important;
  box-shadow:var(--pro-shadow)!important;
  border-top-width:3px!important;
}
.ark-core-money-owner{border-top-color:var(--pro-blue)!important;background:linear-gradient(180deg,#F7FAFF,#FFFFFF)!important}
.ark-core-money-partner{border-top-color:var(--pro-orange)!important;background:linear-gradient(180deg,#FFF9F0,#FFFFFF)!important}
.ark-core-money-pending{border-top-color:#E7B129!important;background:linear-gradient(180deg,#FFFBEF,#FFFFFF)!important}
.ark-core-money-expense{border-top-color:var(--pro-red)!important;background:linear-gradient(180deg,#FFF7F8,#FFFFFF)!important}
.ark-core-money-card span{
  color:var(--pro-muted)!important;
  font-size:11px!important;
  font-weight:680!important;
}
.ark-core-money-card strong{
  margin-top:5px!important;
  color:var(--pro-text)!important;
  font-size:22px!important;
  line-height:1.1!important;
  font-weight:760!important;
}
.ark-core-money-card small{
  margin-top:5px!important;
  color:var(--pro-muted)!important;
  font-size:11px!important;
  line-height:1.4!important;
}
.ark-core-drawings{
  margin-top:11px!important;
  padding:11px 14px!important;
  background:var(--pro-soft)!important;
  border:1px solid var(--pro-line)!important;
  border-radius:10px!important;
}
.ark-core-drawings>span,
.ark-core-drawings p{
  color:var(--pro-muted)!important;
  font-size:11px!important;
}
.ark-core-drawings p b{
  color:var(--pro-text)!important;
}
.ark-core-drawings a{
  color:var(--pro-brand-dark)!important;
  font-size:11px!important;
}
.ark-core-two-col{
  grid-template-columns:1.15fr .85fr!important;
  gap:12px!important;
}
.ark-core-section{
  padding:18px!important;
}
.ark-core-section-head{
  margin-bottom:14px!important;
}
.ark-core-section-head span{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}
.ark-core-section-head h3{
  color:var(--pro-text)!important;
  font-size:17px!important;
  font-weight:730!important;
}
.ark-core-section-head a{
  color:var(--pro-brand-dark)!important;
  font-size:11px!important;
}
.ark-core-class-grid{
  gap:9px!important;
}
.ark-core-class-grid>div{
  padding:13px!important;
  background:#FFFFFF!important;
  border:1px solid var(--pro-line)!important;
  border-radius:10px!important;
}
.ark-core-class-grid>div:nth-child(1){background:var(--pro-cyan-soft)!important;border-color:#C7EDF1!important}
.ark-core-class-grid>div:nth-child(2){background:var(--pro-green-soft)!important;border-color:#C8EEDC!important}
.ark-core-class-grid>div:nth-child(3){background:var(--pro-blue-soft)!important;border-color:#D5E4FF!important}
.ark-core-class-grid>div:nth-child(4){background:var(--pro-red-soft)!important;border-color:#F5CCD1!important}
.ark-core-class-grid span{
  color:var(--pro-muted)!important;
  font-size:11px!important;
}
.ark-core-class-grid strong{
  margin-top:4px!important;
  color:var(--pro-text)!important;
  font-size:23px!important;
}
.ark-core-next{
  margin-top:10px!important;
  padding:12px 13px!important;
  background:var(--pro-soft)!important;
  border:1px solid var(--pro-line)!important;
}
.ark-core-next span{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}
.ark-core-next strong{
  color:var(--pro-text)!important;
  font-size:13px!important;
}
.ark-core-next p{
  color:var(--pro-muted)!important;
  font-size:11px!important;
}
.ark-core-business-row{
  gap:9px!important;
}
.ark-core-business-row a{
  padding:13px!important;
  background:#FFFFFF!important;
  border:1px solid var(--pro-line)!important;
  border-radius:11px!important;
}
.ark-core-business-row a:first-child>span{
  background:var(--pro-blue-soft)!important;
  color:var(--pro-blue)!important;
}
.ark-core-business-row a:last-child>span{
  background:var(--pro-purple-soft)!important;
  color:var(--pro-purple)!important;
}
.ark-core-business-row small{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}
.ark-core-business-row strong{
  color:var(--pro-text)!important;
  font-size:19px!important;
}
.ark-core-actions>span{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}
.ark-core-actions a{
  padding:8px 11px!important;
  background:var(--pro-soft)!important;
  border:1px solid var(--pro-line)!important;
  color:var(--pro-text-2)!important;
  border-radius:8px!important;
  font-size:11px!important;
}
.ark-core-actions a:hover{
  background:var(--pro-brand-soft)!important;
  border-color:#DFE9A8!important;
}

/* -------------------------
   Students
------------------------- */
.ark-core-student-grid{
  grid-template-columns:repeat(auto-fit,minmax(340px,1fr))!important;
  gap:12px!important;
}
.ark-core-student-card{
  padding:16px!important;
  background:#FFFFFF!important;
  border:1px solid var(--pro-line)!important;
  border-radius:13px!important;
  box-shadow:var(--pro-shadow)!important;
}
.ark-core-student-head h4{
  color:var(--pro-text)!important;
  font-size:15px!important;
  font-weight:740!important;
}
.ark-core-student-head p{
  color:var(--pro-muted)!important;
  font-size:11px!important;
}
.ark-core-student-stats{
  gap:8px!important;
}
.ark-core-student-stats>div{
  padding:11px!important;
  background:var(--pro-soft)!important;
  border:1px solid var(--pro-line)!important;
}
.ark-core-student-stats>div:first-child{
  background:var(--pro-green-soft)!important;
  border-color:#CBECDD!important;
}
.ark-core-student-stats>div:last-child{
  background:var(--pro-orange-soft)!important;
  border-color:#F6DEBC!important;
}
.ark-core-student-stats span,
.ark-core-student-schedule span{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}
.ark-core-student-stats strong{
  color:var(--pro-text)!important;
  font-size:15px!important;
}
.ark-core-student-schedule{
  padding:11px!important;
  background:#FFFFFF!important;
  border:1px solid var(--pro-line)!important;
}
.ark-core-student-schedule strong{
  color:var(--pro-text)!important;
  font-size:12px!important;
}
.ark-core-student-schedule small{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}
.ark-core-student-actions a{
  padding:8px 10px!important;
  border:1px solid var(--pro-line)!important;
  color:var(--pro-text-2)!important;
  font-size:11px!important;
}
.ark-core-student-actions a:last-child{
  background:var(--pro-brand-soft)!important;
  border-color:#DFE9A8!important;
  color:#506900!important;
}

/* -------------------------
   Clients
------------------------- */
.ark-card-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(360px,1fr))!important;
  gap:12px!important;
}
.ark-person-card{
  padding:16px!important;
  border-radius:13px!important;
}
.ark-person-card-head{
  gap:11px!important;
}
.ark-person-card-title h4{
  color:var(--pro-text)!important;
  font-size:16px!important;
  font-weight:750!important;
}
.ark-person-card-title span{
  color:var(--pro-muted)!important;
  font-size:11px!important;
}
.ark-card-info{
  gap:8px!important;
  margin-top:14px!important;
}
.ark-card-info>div{
  padding:10px 11px!important;
  background:var(--pro-soft)!important;
  border:1px solid var(--pro-line)!important;
  border-radius:9px!important;
}
.ark-card-info span,
.ark-money-row span{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}
.ark-card-info strong,
.ark-money-row strong{
  color:var(--pro-text)!important;
  font-size:12px!important;
}
.ark-money-row{
  gap:0!important;
  margin-top:8px!important;
  overflow:hidden!important;
  border:1px solid var(--pro-line)!important;
  border-radius:9px!important;
  background:#FFFFFF!important;
}
.ark-money-row>div{
  padding:10px 11px!important;
  background:#FFFFFF!important;
  border:0!important;
  border-right:1px solid var(--pro-line)!important;
}
.ark-money-row>div:last-child{
  border-right:0!important;
}
.ark-person-meta{
  margin-top:9px!important;
  padding:8px 0!important;
  border:0!important;
  color:var(--pro-muted)!important;
  font-size:10px!important;
}
.ark-card-actions{
  margin-top:9px!important;
  padding-top:10px!important;
  border-top:1px solid var(--pro-line)!important;
  background:transparent!important;
}

/* -------------------------
   Money
------------------------- */
.ark-money-overview{
  gap:10px!important;
  margin-bottom:14px!important;
}
.ark-money-overview article{
  padding:16px!important;
  border-radius:13px!important;
  border-top-width:3px!important;
}
.ark-money-overview article:nth-child(1){border-top-color:var(--pro-green)!important;background:linear-gradient(180deg,#F5FCF8,#FFFFFF)!important}
.ark-money-overview article:nth-child(2){border-top-color:var(--pro-red)!important;background:linear-gradient(180deg,#FFF7F8,#FFFFFF)!important}
.ark-money-overview article:nth-child(3){border-top-color:var(--pro-purple)!important;background:linear-gradient(180deg,#FAF8FF,#FFFFFF)!important}
.ark-money-overview article:nth-child(4){border-top-color:var(--pro-orange)!important;background:linear-gradient(180deg,#FFF9F1,#FFFFFF)!important}
.ark-money-overview span{
  color:var(--pro-muted)!important;
  font-size:11px!important;
}
.ark-money-overview strong{
  margin-top:5px!important;
  color:var(--pro-text)!important;
  font-size:24px!important;
  font-weight:760!important;
}
.ark-money-overview small{
  color:var(--pro-muted)!important;
  font-size:11px!important;
}
.ark-owner-split{
  gap:9px!important;
}
.ark-owner-split>div{
  padding:13px!important;
  border-radius:10px!important;
}
.ark-owner-split>div:first-child{
  background:var(--pro-blue-soft)!important;
  border:1px solid #D3E2FF!important;
}
.ark-owner-split>div:last-child{
  background:var(--pro-orange-soft)!important;
  border:1px solid #F6DEBC!important;
}
.ark-owner-split span{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}
.ark-owner-split strong{
  color:var(--pro-text)!important;
  font-size:19px!important;
}
.ark-owner-split small{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}

/* Desktop transaction tables: no more oversized stacked record cards */
@media(min-width:761px){
  .ark-table-wrap{
    overflow:auto!important;
    border:1px solid var(--pro-line)!important;
    border-radius:11px!important;
    background:#FFFFFF!important;
  }
  .ark-table{
    min-width:720px!important;
    width:100%!important;
    border-collapse:separate!important;
    border-spacing:0!important;
  }
  .ark-table th{
    padding:10px 12px!important;
    background:var(--pro-soft)!important;
    color:var(--pro-muted)!important;
    border-bottom:1px solid var(--pro-line)!important;
    font-size:10px!important;
    font-weight:720!important;
    letter-spacing:.04em!important;
  }
  .ark-table td{
    padding:12px!important;
    background:#FFFFFF!important;
    color:var(--pro-text-2)!important;
    border-bottom:1px solid #EEF1F4!important;
    font-size:12px!important;
  }
  .ark-table tr:last-child td{border-bottom:0!important}
  .ark-table td strong{
    color:var(--pro-text)!important;
    font-size:12px!important;
  }
  .ark-table td small{
    color:var(--pro-muted)!important;
    font-size:10px!important;
  }
}

/* -------------------------
   Classes calendar
------------------------- */
.ark-class-kpis{
  gap:10px!important;
  margin-bottom:14px!important;
}
.ark-class-kpi{
  padding:14px 15px!important;
  min-height:84px!important;
  border-radius:12px!important;
  box-shadow:var(--pro-shadow)!important;
}
.ark-class-kpi-completed{background:var(--pro-green-soft)!important;border-color:#C6ECD9!important}
.ark-class-kpi-upcoming{background:var(--pro-blue-soft)!important;border-color:#D2E2FF!important}
.ark-class-kpi-missed{background:var(--pro-red-soft)!important;border-color:#F2CCD1!important}
.ark-class-kpi-holiday{background:var(--pro-purple-soft)!important;border-color:#DDD3FA!important}
.ark-class-kpi>i{
  width:9px!important;height:9px!important;
}
.ark-class-kpi span{
  color:var(--pro-muted)!important;
  font-size:11px!important;
}
.ark-class-kpi strong{
  margin-top:3px!important;
  color:var(--pro-text)!important;
  font-size:24px!important;
}
.ark-class-kpi small{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}
.ark-class-calendar-panel{
  padding:18px!important;
}
.ark-class-calendar-head h3{
  color:var(--pro-text)!important;
  font-size:18px!important;
}
.ark-class-calendar-head p{
  color:var(--pro-muted)!important;
  font-size:12px!important;
}
.ark-class-calendar-filter select,
.ark-class-calendar-filter input{
  min-height:38px!important;
  background:#FFFFFF!important;
  border:1px solid var(--pro-line-strong)!important;
  border-radius:8px!important;
  color:var(--pro-text)!important;
  font-size:12px!important;
}
.ark-class-calendar-filter button{
  min-height:38px!important;
  border:0!important;
  border-radius:8px!important;
  background:#171C22!important;
  color:#FFFFFF!important;
  font-size:12px!important;
  font-weight:700!important;
}
.ark-calendar-nav{
  margin:10px 0 13px!important;
}
.ark-calendar-nav a{
  color:var(--pro-brand-dark)!important;
  font-size:11px!important;
}
.ark-calendar-nav strong{
  color:var(--pro-text)!important;
  font-size:14px!important;
}
.ark-calendar-weekday{
  color:var(--pro-muted)!important;
  font-size:10px!important;
  font-weight:700!important;
}
.ark-calendar-day{
  min-height:112px!important;
  padding:9px!important;
  background:#FFFFFF!important;
  border:1px solid var(--pro-line)!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
.ark-calendar-day:hover{
  border-color:var(--pro-line-strong)!important;
  box-shadow:0 5px 14px rgba(16,24,40,.05)!important;
}
.ark-calendar-day.is-today{
  border-color:#B7CA58!important;
  box-shadow:0 0 0 2px rgba(166,217,0,.13)!important;
}
.ark-calendar-date strong{
  color:var(--pro-text)!important;
  font-size:13px!important;
}
.ark-calendar-date span{
  background:var(--pro-brand-soft)!important;
  color:#506900!important;
  font-size:8px!important;
}
.ark-calendar-items{
  gap:5px!important;
}
.ark-calendar-item{
  padding:6px 7px!important;
  border-radius:7px!important;
  background:var(--pro-soft)!important;
}
.ark-calendar-item b{
  color:var(--pro-text)!important;
  font-size:10px!important;
}
.ark-calendar-item small{
  color:var(--pro-muted)!important;
  font-size:8px!important;
}
.ark-calendar-item-completed{background:var(--pro-green-soft)!important;border-left:3px solid var(--pro-green)!important}
.ark-calendar-item-upcoming{background:var(--pro-blue-soft)!important;border-left:3px solid var(--pro-blue)!important}
.ark-calendar-item-missed{background:var(--pro-red-soft)!important;border-left:3px solid var(--pro-red)!important}
.ark-calendar-item-holiday{background:var(--pro-purple-soft)!important;border-left:3px solid var(--pro-purple)!important}
.ark-calendar-legend span{
  color:var(--pro-muted)!important;
  font-size:10px!important;
}

/* -------------------------
   Pills / semantic color
------------------------- */
.ark-pill{
  min-height:25px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  font-size:10px!important;
  font-weight:720!important;
}
.ark-pill-income,
.ark-pill-active,
.ark-pill-enrolled,
.ark-pill-done,
.ark-pill-paid,
.ark-pill-completed{
  background:var(--pro-green-soft)!important;
  color:#087B4A!important;
  border:1px solid #BAE8D0!important;
}
.ark-pill-expense,
.ark-pill-urgent,
.ark-pill-lost,
.ark-pill-cancelled,
.ark-pill-overdue{
  background:var(--pro-red-soft)!important;
  color:#B83240!important;
  border:1px solid #F2C7CC!important;
}
.ark-pill-high,
.ark-pill-payment_pending,
.ark-pill-follow_up,
.ark-pill-pending{
  background:var(--pro-orange-soft)!important;
  color:#9B5B00!important;
  border:1px solid #F3D6AD!important;
}

/* -------------------------
   Login
------------------------- */
html[data-theme="light"] .ark-login-body{
  background:#FFFFFF!important;
}
html[data-theme="light"] .ark-login-brand{
  background:#171C22!important;
  border:0!important;
}
html[data-theme="light"] .ark-login-card{
  border:1px solid var(--pro-line)!important;
  box-shadow:var(--pro-shadow)!important;
}

/* -------------------------
   Dark mode remains available,
   but the default product is white.
------------------------- */
html[data-theme="dark"]{
  --pro-page:#0C1117;
  --pro-white:#121922;
  --pro-soft:#171F29;
  --pro-soft-2:#1B2530;
  --pro-line:#273341;
  --pro-line-strong:#344354;
  --pro-text:#F3F6F9;
  --pro-text-2:#D5DEE7;
  --pro-muted:#9FACBA;
  --pro-faint:#7F8C99;
  --pro-shadow:0 8px 24px rgba(0,0,0,.16);
}
html[data-theme="dark"] body,
html[data-theme="dark"] .ark-app-body,
html[data-theme="dark"] .ark-app-shell,
html[data-theme="dark"] .ark-main,
html[data-theme="dark"] .ark-content{
  background:#0C1117!important;
  color:var(--pro-text)!important;
}
html[data-theme="dark"] .ark-sidebar,
html[data-theme="dark"] .ark-topbar,
html[data-theme="dark"] .ark-panel,
html[data-theme="dark"] .ark-filter-panel,
html[data-theme="dark"] .ark-person-card,
html[data-theme="dark"] .ark-core-section,
html[data-theme="dark"] .ark-core-money-card,
html[data-theme="dark"] .ark-class-calendar-panel,
html[data-theme="dark"] .ark-calendar-day,
html[data-theme="dark"] .ark-money-overview article{
  background:#121922!important;
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-sidebar-brand strong,
html[data-theme="dark"] .ark-nav a,
html[data-theme="dark"] .ark-section-head h2,
html[data-theme="dark"] .ark-panel-title h3,
html[data-theme="dark"] .ark-core-section-head h3,
html[data-theme="dark"] .ark-person-card-title h4,
html[data-theme="dark"] .ark-calendar-date strong{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-nav a.active{
  background:#202A18!important;
  color:#DDF58A!important;
}
html[data-theme="dark"] .ark-nav a.active .ark-nav-icon{
  background:#182012!important;
  color:#C8E64D!important;
  box-shadow:0 0 0 1px #3E4F24!important;
}
html[data-theme="dark"] .ark-search-box,
html[data-theme="dark"] .ark-field input,
html[data-theme="dark"] .ark-field select,
html[data-theme="dark"] .ark-field textarea,
html[data-theme="dark"] .ark-filter-field input,
html[data-theme="dark"] .ark-filter-field select,
html[data-theme="dark"] .ark-class-calendar-filter select,
html[data-theme="dark"] .ark-class-calendar-filter input{
  background:#171F29!important;
  color:#F3F6F9!important;
  border-color:#344354!important;
}
html[data-theme="dark"] .ark-secondary-btn,
html[data-theme="dark"] .ark-theme-toggle,
html[data-theme="dark"] .ark-install-btn,
html[data-theme="dark"] .ark-sync-status,
html[data-theme="dark"] .ark-menu-btn{
  background:#171F29!important;
  color:#D5DEE7!important;
  border-color:#344354!important;
}
html[data-theme="dark"] .ark-core-money-head>div:first-child,
html[data-theme="dark"] .ark-core-profit{
  background:#121922!important;
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-core-money-head>div:first-child>strong{color:#60D59B!important}
html[data-theme="dark"] .ark-core-profit b{color:#A994F2!important}

/* -------------------------
   Responsive
------------------------- */
@media(max-width:1180px){
  .ark-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .ark-core-money-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:960px){
  .ark-app-shell{grid-template-columns:1fr!important}
  .ark-sidebar{
    width:236px!important;
    background:#FFFFFF!important;
  }
  html[data-theme="dark"] .ark-sidebar{background:#121922!important}
  .ark-topbar{
    min-height:62px!important;
    padding:9px 12px!important;
  }
  .ark-topbar-title{display:block!important}
  .ark-topbar-title .ark-top-kicker{display:none!important}
  .ark-topbar-title h1{
    margin:0!important;
    color:var(--pro-text)!important;
    font-size:19px!important;
    font-weight:750!important;
  }
  .ark-content{
    padding:18px 14px 92px!important;
  }
  .ark-form-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .ark-core-two-col{
    grid-template-columns:1fr!important;
  }
  .ark-core-money-head{
    grid-template-columns:1fr 1fr!important;
  }
  .ark-mobile-nav{
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    padding:5px!important;
    background:#FFFFFF!important;
    border:1px solid var(--pro-line)!important;
    border-radius:14px!important;
    box-shadow:0 12px 30px rgba(16,24,40,.12)!important;
  }
  html[data-theme="dark"] .ark-mobile-nav{
    background:#121922!important;
    border-color:#273341!important;
  }
  .ark-mobile-nav a,
  .ark-mobile-nav button{
    color:var(--pro-muted)!important;
  }
  .ark-mobile-nav a.active{
    background:var(--pro-brand-soft)!important;
    color:#506900!important;
  }
}
@media(max-width:640px){
  .ark-section-head{
    align-items:flex-start!important;
    gap:9px!important;
  }
  .ark-section-head h2{font-size:23px!important}
  .ark-section-head p{font-size:13px!important}
  .ark-form-grid{grid-template-columns:1fr!important}
  .ark-panel{padding:15px!important}
  .ark-panel-title h3{font-size:16px!important}
  .ark-core-money-head{grid-template-columns:1fr!important}
  .ark-core-money-head>div:first-child>strong{font-size:29px!important}
  .ark-core-profit b{font-size:23px!important}
  .ark-core-money-grid{grid-template-columns:1fr 1fr!important}
  .ark-core-money-card strong{font-size:18px!important}
  .ark-money-overview{grid-template-columns:1fr 1fr!important}
  .ark-money-overview strong{font-size:20px!important}
  .ark-owner-split{grid-template-columns:1fr 1fr!important}
  .ark-card-grid{grid-template-columns:1fr!important}
  .ark-core-student-grid{grid-template-columns:1fr!important}
  .ark-class-kpis{grid-template-columns:1fr 1fr!important}
  .ark-calendar-day{
    min-height:72px!important;
    padding:6px!important;
  }
  .ark-calendar-items{display:none!important}
  .ark-calendar-weekday{font-size:9px!important}
  .ark-calendar-date strong{font-size:11px!important}
}


/* =========================================================
   V2.4 — SYNCED COURSES + ONE-CLICK CLASS MANAGEMENT
========================================================= */

/* Six desktop core areas remain compact and readable. */
.ark-nav a{font-size:13px!important}

/* Course builder */
.ark-course-builder .ark-form-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.ark-weekday-options{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.ark-weekday-options label{
  position:relative;
  cursor:pointer;
}
.ark-weekday-options input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.ark-weekday-options span{
  min-width:46px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--pro-line-strong,#D8DEE6);
  border-radius:9px;
  background:#FFFFFF;
  color:#475467;
  font-size:12px;
  font-weight:700;
  transition:.15s ease;
}
.ark-weekday-options input:checked + span{
  background:#F3F9D8;
  border-color:#CFE17E;
  color:#405400;
}
.ark-course-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:12px;
}
.ark-course-card{
  padding:16px;
  background:#FFFFFF;
  border:1px solid var(--pro-line,#E6E9EE);
  border-radius:13px;
  box-shadow:var(--pro-shadow);
}
.ark-course-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.ark-course-card-head small{
  display:block;
  color:#98A2B3;
  font-size:9px;
  font-weight:800;
  letter-spacing:.09em;
}
.ark-course-card-head h4{
  margin:4px 0 0;
  color:#141A22;
  font-size:16px;
  line-height:1.3;
  font-weight:760;
}
.ark-course-schedule,
.ark-course-money{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:13px;
}
.ark-course-schedule>div,
.ark-course-money>div{
  padding:10px 11px;
  background:#F8FAFC;
  border:1px solid #E6E9EE;
  border-radius:9px;
}
.ark-course-schedule span,
.ark-course-money span{
  display:block;
  color:#667085;
  font-size:10px;
}
.ark-course-schedule strong,
.ark-course-money strong{
  display:block;
  margin-top:3px;
  color:#141A22;
  font-size:12px;
  line-height:1.35;
}
.ark-course-stats{
  display:flex;
  flex-wrap:wrap;
  gap:7px 14px;
  margin-top:12px;
  padding:10px 0;
  border-top:1px solid #EEF1F4;
  border-bottom:1px solid #EEF1F4;
}
.ark-course-stats span{
  color:#667085;
  font-size:10px;
}
.ark-course-stats b{
  color:#141A22;
  font-weight:750;
}

/* One-click class checklist */
.ark-class-checklist-panel{
  padding:18px!important;
}
.ark-class-checklist{
  display:grid;
  border:1px solid #E6E9EE;
  border-radius:11px;
  overflow:hidden;
}
.ark-class-check-form{
  display:grid;
  grid-template-columns:38px 66px minmax(180px,1fr) auto auto;
  gap:10px;
  align-items:center;
  min-height:58px;
  padding:8px 12px;
  margin:0;
  background:#FFFFFF;
  border-bottom:1px solid #EEF1F4;
}
.ark-class-check-form:last-child{border-bottom:0}
.ark-class-check-form:hover{background:#FBFCFD}
.ark-class-check-form.is-done{background:#FAFEFC}
.ark-class-check-form.is-saving{opacity:.55;pointer-events:none}

.ark-class-check-toggle{
  width:28px;
  height:28px;
  position:relative;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.ark-class-check-toggle input{
  position:absolute;
  opacity:0;
}
.ark-class-check-toggle span{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border:2px solid #CBD5E1;
  border-radius:6px;
  background:#FFFFFF;
  transition:.15s ease;
}
.ark-class-check-toggle input:checked + span{
  background:#16A36A;
  border-color:#16A36A;
}
.ark-class-check-toggle input:checked + span:after{
  content:"✓";
  color:#FFFFFF;
  font-size:14px;
  font-weight:900;
  line-height:1;
}
.ark-class-check-toggle input:disabled + span{
  cursor:not-allowed;
  opacity:.65;
}
.ark-class-check-date strong{
  display:block;
  color:#344054;
  font-size:11px;
}
.ark-class-check-date small{
  display:block;
  margin-top:1px;
  color:#667085;
  font-size:10px;
}
.ark-class-check-copy{
  min-width:0;
}
.ark-class-check-copy strong{
  display:block;
  color:#141A22;
  font-size:12.5px;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.ark-class-check-copy small{
  display:block;
  margin-top:2px;
  color:#667085;
  font-size:10.5px;
  line-height:1.35;
}
.ark-class-check-status{
  min-width:82px;
  text-align:right;
}
.ark-class-attendance-link{
  min-width:72px;
  color:#506900;
  font-size:10.5px;
  font-weight:720;
  text-align:right;
}
.ark-class-attendance-link.is-muted{
  color:#98A2B3;
}
.ark-class-check-hint{
  margin-top:9px;
  color:#667085;
  font-size:10.5px;
  line-height:1.45;
}
.ark-class-manage-grid-simple{
  grid-template-columns:minmax(0,680px)!important;
}

/* Dark theme */
html[data-theme="dark"] .ark-weekday-options span,
html[data-theme="dark"] .ark-course-card,
html[data-theme="dark"] .ark-class-check-form{
  background:#121922;
  border-color:#273341;
  color:#D5DEE7;
}
html[data-theme="dark"] .ark-weekday-options input:checked + span{
  background:#202A18;
  border-color:#52692C;
  color:#DDF58A;
}
html[data-theme="dark"] .ark-course-card-head h4,
html[data-theme="dark"] .ark-course-schedule strong,
html[data-theme="dark"] .ark-course-money strong,
html[data-theme="dark"] .ark-course-stats b,
html[data-theme="dark"] .ark-class-check-copy strong,
html[data-theme="dark"] .ark-class-check-date strong{
  color:#F3F6F9;
}
html[data-theme="dark"] .ark-course-schedule>div,
html[data-theme="dark"] .ark-course-money>div{
  background:#171F29;
  border-color:#273341;
}
html[data-theme="dark"] .ark-course-stats,
html[data-theme="dark"] .ark-class-checklist,
html[data-theme="dark"] .ark-class-check-form{
  border-color:#273341;
}
html[data-theme="dark"] .ark-class-check-form:hover,
html[data-theme="dark"] .ark-class-check-form.is-done{
  background:#151D26;
}
html[data-theme="dark"] .ark-class-check-toggle span{
  background:#171F29;
  border-color:#526071;
}

/* Mobile */
@media(max-width:960px){
  .ark-course-builder .ark-form-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:680px){
  .ark-course-builder .ark-form-grid{
    grid-template-columns:1fr!important;
  }
  .ark-course-grid{
    grid-template-columns:1fr;
  }
  .ark-class-check-form{
    grid-template-columns:34px 58px minmax(0,1fr) auto;
    gap:8px;
    padding:9px 10px;
  }
  .ark-class-check-status{
    grid-column:3/4;
    text-align:left;
    min-width:0;
  }
  .ark-class-attendance-link{
    grid-column:4/5;
    grid-row:1/3;
    align-self:center;
    min-width:0;
  }
  .ark-class-check-copy strong{font-size:12px}
  .ark-class-check-copy small{font-size:10px}
}


/* =========================================================
   V2.5 — MODERN FLAT SAAS DESIGN + SIMPLE CLASSES
   No neumorphism. No raised/inset cards.
========================================================= */

:root{
  --saas-bg:#FFFFFF;
  --saas-surface:#FFFFFF;
  --saas-subtle:#F7F8FA;
  --saas-subtle-2:#F2F4F7;
  --saas-border:#E4E7EC;
  --saas-border-strong:#D0D5DD;
  --saas-text:#101828;
  --saas-text-2:#344054;
  --saas-muted:#667085;
  --saas-faint:#98A2B3;
  --saas-lime:#B9F20D;
  --saas-lime-dark:#648000;
  --saas-blue:#2970FF;
  --saas-green:#079455;
  --saas-orange:#DC6803;
  --saas-red:#D92D20;
  --saas-purple:#7F56D9;
}

/* Kill neumorphic shadows / gradients from all earlier layers. */
html[data-theme="light"] .ark-app-body,
html[data-theme="light"] .ark-app-shell,
html[data-theme="light"] .ark-main,
html[data-theme="light"] .ark-content,
html[data-theme="light"] .ark-sidebar,
html[data-theme="light"] .ark-topbar{
  background:#FFFFFF!important;
}

.ark-panel,
.ark-filter-panel,
.ark-person-card,
.ark-metric,
.ark-core-section,
.ark-class-calendar-panel,
.ark-holiday-card,
.ark-report-metric,
.ark-bi-chart-card,
.ark-course-card,
.ark-core-student-card,
.ark-core-money-card,
.ark-money-overview article,
.ark-core-money-head>div,
.ark-card-info>div,
.ark-money-row,
.ark-money-row>div,
.ark-core-class-grid>div,
.ark-core-business-row a,
.ark-core-next,
.ark-owner-split>div,
.ark-auto-note{
  box-shadow:none!important;
  background-image:none!important;
}

/* Crisp base hierarchy */
.ark-content{
  padding:22px 26px 42px!important;
}
.ark-section-head{
  margin-bottom:18px!important;
}
.ark-section-head h2{
  font-size:28px!important;
  font-weight:760!important;
  letter-spacing:-.035em!important;
  color:var(--saas-text)!important;
}
.ark-section-head p{
  font-size:14px!important;
  color:var(--saas-muted)!important;
}
.ark-section-badge{
  background:var(--saas-subtle)!important;
  border:1px solid var(--saas-border)!important;
  color:var(--saas-text-2)!important;
}

/* Sidebar */
.ark-sidebar{
  border-right:1px solid var(--saas-border)!important;
  box-shadow:none!important;
}
.ark-nav a,
.ark-nav a:visited{
  color:#475467!important;
  background:transparent!important;
  box-shadow:none!important;
}
.ark-nav a:hover{
  background:var(--saas-subtle)!important;
  color:var(--saas-text)!important;
}
.ark-nav a.active{
  background:#F3F8DF!important;
  color:#344500!important;
  box-shadow:none!important;
}
.ark-nav a.active .ark-nav-icon{
  background:transparent!important;
  box-shadow:none!important;
  color:#718F00!important;
}
.ark-nav-icon{
  background:transparent!important;
  box-shadow:none!important;
}

/* Topbar */
.ark-topbar{
  border-bottom:1px solid var(--saas-border)!important;
  box-shadow:none!important;
}
.ark-search-box{
  background:var(--saas-subtle)!important;
  border:1px solid var(--saas-border)!important;
  box-shadow:none!important;
}
.ark-theme-toggle,
.ark-install-btn,
.ark-sync-status,
.ark-menu-btn,
.ark-secondary-btn{
  background:#FFFFFF!important;
  border:1px solid var(--saas-border-strong)!important;
  box-shadow:none!important;
}

/* Standard flat surfaces */
.ark-panel,
.ark-filter-panel,
.ark-person-card,
.ark-course-card,
.ark-core-student-card,
.ark-core-section{
  background:#FFFFFF!important;
  border:1px solid var(--saas-border)!important;
  border-radius:12px!important;
  box-shadow:none!important;
}
.ark-panel{
  padding:18px!important;
}
.ark-panel-title h3{
  font-size:17px!important;
  font-weight:740!important;
  color:var(--saas-text)!important;
}
.ark-panel-title p{
  font-size:13px!important;
  color:var(--saas-muted)!important;
}

/* Inputs: flat, normal SaaS fields */
.ark-field input,
.ark-field select,
.ark-field textarea,
.ark-filter-field input,
.ark-filter-field select,
.ark-login-form input,
.ark-report-custom input,
.ark-att-status,
.ark-att-note,
.ark-simple-attendance-edit input,
.ark-simple-attendance-edit select{
  background:#FFFFFF!important;
  border:1px solid var(--saas-border-strong)!important;
  border-radius:8px!important;
  box-shadow:none!important;
  color:var(--saas-text)!important;
  font-size:14px!important;
}
.ark-field input:focus,
.ark-field select:focus,
.ark-field textarea:focus,
.ark-filter-field input:focus,
.ark-filter-field select:focus,
.ark-simple-attendance-edit input:focus,
.ark-simple-attendance-edit select:focus{
  border-color:#84AD00!important;
  box-shadow:0 0 0 3px rgba(185,242,13,.14)!important;
}
.ark-primary-btn{
  background:#171B21!important;
  border-radius:8px!important;
  box-shadow:none!important;
  font-size:13px!important;
}
.ark-primary-btn:hover{
  background:#262C34!important;
  box-shadow:none!important;
}

/* Remove gradients from dashboard cards too. */
.ark-core-money-head>div,
.ark-core-profit,
.ark-core-money-card,
.ark-money-overview article,
.ark-owner-split>div,
.ark-core-class-grid>div{
  background:#FFFFFF!important;
  background-image:none!important;
  border:1px solid var(--saas-border)!important;
}
.ark-core-money-head>div:first-child{border-top:3px solid var(--saas-green)!important}
.ark-core-profit{border-top:3px solid var(--saas-purple)!important}
.ark-core-money-owner{border-top:3px solid var(--saas-blue)!important}
.ark-core-money-partner{border-top:3px solid var(--saas-orange)!important}
.ark-core-money-pending{border-top:3px solid #F79009!important}
.ark-core-money-expense{border-top:3px solid var(--saas-red)!important}

/* =========================================================
   SIMPLE CLASSES
========================================================= */

.ark-student-calendar-toolbar{
  margin-bottom:14px;
  padding:12px 14px;
  background:#FFFFFF;
  border:1px solid var(--saas-border);
  border-radius:10px;
}
.ark-student-calendar-form{
  display:grid;
  grid-template-columns:minmax(280px,1fr) 190px auto;
  gap:10px;
  align-items:end;
}
.ark-student-calendar-form label{
  min-width:0;
}
.ark-student-calendar-form label>span{
  display:block;
  margin-bottom:5px;
  color:var(--saas-muted);
  font-size:10px;
  font-weight:720;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.ark-student-calendar-form select,
.ark-student-calendar-form input{
  width:100%;
  min-height:40px;
  padding:0 11px;
  border:1px solid var(--saas-border-strong);
  border-radius:8px;
  background:#FFFFFF;
  color:var(--saas-text);
  font:inherit;
  font-size:13px;
  outline:0;
}
.ark-student-calendar-form select:focus,
.ark-student-calendar-form input:focus{
  border-color:#84AD00;
  box-shadow:0 0 0 3px rgba(185,242,13,.14);
}
.ark-student-calendar-form button{
  min-height:40px;
  padding:0 14px;
  border:0;
  border-radius:8px;
  background:#171B21;
  color:#FFFFFF;
  font:inherit;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}

.ark-student-class-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid var(--saas-border);
  border-radius:10px;
  overflow:hidden;
  margin-bottom:14px;
  background:#FFFFFF;
}
.ark-student-class-summary-item{
  padding:13px 14px;
  border-right:1px solid var(--saas-border);
}
.ark-student-class-summary-item:last-child{
  border-right:0;
}
.ark-student-class-summary-item span{
  display:block;
  color:var(--saas-muted);
  font-size:10px;
  font-weight:680;
}
.ark-student-class-summary-item strong{
  display:block;
  margin-top:4px;
  color:var(--saas-text);
  font-size:13px;
  line-height:1.35;
  font-weight:720;
}
.ark-student-class-summary-item.is-attendance strong{
  color:var(--saas-green);
}

.ark-simple-calendar-panel{
  padding:16px;
  background:#FFFFFF;
  border:1px solid var(--saas-border);
  border-radius:12px;
}
.ark-simple-calendar-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:13px;
}
.ark-simple-calendar-head h3{
  margin:0;
  color:var(--saas-text);
  font-size:18px;
  font-weight:750;
}
.ark-simple-calendar-head p{
  margin:3px 0 0;
  color:var(--saas-muted);
  font-size:12px;
}
.ark-simple-calendar-nav{
  display:flex;
  align-items:center;
  gap:6px;
}
.ark-simple-calendar-nav a{
  min-width:34px;
  height:34px;
  padding:0 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--saas-border);
  border-radius:7px;
  background:#FFFFFF;
  color:var(--saas-text-2);
  font-size:11px;
  font-weight:700;
}
.ark-simple-calendar-nav a:hover{
  background:var(--saas-subtle);
}

.ark-simple-calendar{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:6px;
}
.ark-simple-weekday{
  padding:6px 5px;
  color:var(--saas-muted);
  font-size:9px;
  font-weight:740;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.ark-simple-day{
  min-height:96px;
  padding:8px;
  position:relative;
  border:1px solid var(--saas-border);
  border-radius:8px;
  background:#FFFFFF;
  overflow:hidden;
}
.ark-simple-day.is-empty{
  border-color:transparent;
  background:transparent;
}
.ark-simple-day.is-off{
  background:#FCFCFD;
}
.ark-simple-day.is-today{
  border-color:#B8D34D;
  box-shadow:inset 0 0 0 1px #B8D34D!important;
}
.ark-simple-day-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:4px;
}
.ark-simple-day-top strong{
  color:var(--saas-text);
  font-size:11px;
  font-weight:730;
}
.ark-simple-day-top span{
  padding:2px 5px;
  border-radius:999px;
  background:#F3F8DF;
  color:#5F7700;
  font-size:7px;
  font-weight:760;
}
.ark-simple-no-class{
  display:block;
  margin-top:17px;
  color:#D0D5DD;
  text-align:center;
}

.ark-simple-day-action{
  width:100%;
  margin-top:11px;
  padding:7px 6px;
  display:grid;
  grid-template-columns:8px minmax(0,1fr) auto;
  gap:6px;
  align-items:center;
  border:0;
  border-radius:6px;
  background:var(--saas-subtle);
  color:var(--saas-text-2);
  font:inherit;
  cursor:pointer;
  text-align:left;
}
.ark-simple-day-action:hover{
  background:#F0F2F5;
}
.ark-simple-day-action b{
  min-width:0;
  color:inherit;
  font-size:9px;
  font-weight:720;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ark-simple-day-action small{
  color:var(--saas-faint);
  font-size:7px;
}
.ark-simple-status-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#98A2B3;
}
.status-present .ark-simple-day-action{background:#ECFDF3;color:#067647}
.status-present .ark-simple-status-dot{background:#079455}
.status-late .ark-simple-day-action{background:#FFF7ED;color:#B54708}
.status-late .ark-simple-status-dot{background:#F79009}
.status-absent .ark-simple-day-action,
.status-missed .ark-simple-day-action{background:#FEF3F2;color:#B42318}
.status-absent .ark-simple-status-dot,
.status-missed .ark-simple-status-dot{background:#D92D20}
.status-excused .ark-simple-day-action{background:#F4F3FF;color:#6941C6}
.status-excused .ark-simple-status-dot{background:#7F56D9}
.status-pending .ark-simple-day-action{background:#EFF8FF;color:#175CD3}
.status-pending .ark-simple-status-dot{background:#2970FF}
.status-no_class .ark-simple-day-action{background:#F2F4F7;color:#475467}
.status-no_class .ark-simple-status-dot{background:#667085}

.ark-simple-calendar-legend{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:12px;
  color:var(--saas-muted);
  font-size:9px;
}
.ark-simple-calendar-legend span{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.ark-simple-calendar-legend i{
  width:7px;
  height:7px;
  border-radius:50%;
}
.legend-present i{background:#079455}
.legend-late i{background:#F79009}
.legend-absent i,.legend-missed i{background:#D92D20}
.legend-pending i{background:#2970FF}
.legend-no_class i{background:#667085}

/* Editor modal */
body.ark-class-editor-open{
  overflow:hidden;
}
.ark-class-editor[hidden]{
  display:none!important;
}
.ark-class-editor{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:18px;
}
.ark-class-editor-backdrop{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:rgba(16,24,40,.34);
  cursor:default;
}
.ark-class-editor-dialog{
  width:min(470px,100%);
  position:relative;
  z-index:1;
  padding:22px;
  background:#FFFFFF;
  border:1px solid var(--saas-border);
  border-radius:14px;
  box-shadow:0 20px 60px rgba(16,24,40,.16)!important;
}
.ark-class-editor-close{
  position:absolute;
  top:12px;
  right:12px;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:1px solid var(--saas-border);
  border-radius:8px;
  background:#FFFFFF;
  color:var(--saas-muted);
  font-size:20px;
  cursor:pointer;
}
.ark-class-editor-kicker{
  display:block;
  color:var(--saas-muted);
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.ark-class-editor-dialog h3{
  margin:5px 0 0;
  color:var(--saas-text);
  font-size:20px;
  font-weight:760;
}
.ark-class-editor-dialog>p{
  margin:3px 0 17px;
  color:var(--saas-muted);
  font-size:12px;
}
.ark-class-editor-topic span{
  display:block;
  margin-bottom:5px;
  color:var(--saas-text-2);
  font-size:11px;
  font-weight:700;
}
.ark-class-editor-topic em{
  color:var(--saas-faint);
  font-style:normal;
  font-weight:500;
}
.ark-class-editor-topic input{
  width:100%;
  min-height:40px;
  padding:0 11px;
  border:1px solid var(--saas-border-strong);
  border-radius:8px;
  background:#FFFFFF;
  color:var(--saas-text);
  font:inherit;
  font-size:13px;
  outline:0;
}
.ark-class-editor-options{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:14px;
}
.ark-class-editor-options button{
  min-height:66px;
  padding:8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  border:1px solid var(--saas-border);
  border-radius:9px;
  background:#FFFFFF;
  color:var(--saas-text-2);
  font:inherit;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
}
.ark-class-editor-options button:hover{
  border-color:#B7C0CC;
  background:var(--saas-subtle);
}
.ark-class-editor-options button i{
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  border-radius:7px;
  font-style:normal;
  font-size:13px;
  font-weight:850;
}
.ark-class-editor-options .status-present i{background:#ECFDF3;color:#067647}
.ark-class-editor-options .status-late i{background:#FFF7ED;color:#B54708}
.ark-class-editor-options .status-absent i{background:#FEF3F2;color:#B42318}
.ark-class-editor-options .status-excused i{background:#F4F3FF;color:#6941C6}
.ark-class-editor-options .status-no_class i{background:#F2F4F7;color:#475467}
.ark-class-editor-options .status-reset i{background:#EFF8FF;color:#175CD3}
.ark-class-editor-footer{
  margin-top:15px;
  padding-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-top:1px solid var(--saas-border);
}
.ark-class-editor-footer a{
  color:#648000;
  font-size:10px;
  font-weight:720;
}
.ark-class-editor-footer span{
  color:var(--saas-faint);
  font-size:9px;
  text-align:right;
}

/* Optional settings stay collapsed. */
.ark-calendar-more{
  margin-top:12px;
  border:1px solid var(--saas-border);
  border-radius:9px;
  background:#FFFFFF;
}
.ark-calendar-more summary{
  padding:11px 13px;
  color:var(--saas-text-2);
  font-size:11px;
  font-weight:700;
  cursor:pointer;
  list-style:none;
}
.ark-calendar-more summary::-webkit-details-marker{display:none}
.ark-calendar-more summary:after{
  content:"+";
  float:right;
  color:var(--saas-muted);
}
.ark-calendar-more[open] summary:after{content:"−"}
.ark-calendar-more-body{
  padding:0 13px 13px;
  border-top:1px solid var(--saas-border);
}
.ark-calendar-more-body .ark-form-grid{
  grid-template-columns:1fr 180px!important;
  margin-top:12px;
}

/* Deeper single-class edit */
.ark-simple-class-detail{
  max-width:760px;
}
.ark-simple-detail-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid var(--saas-border);
  border-radius:9px;
  overflow:hidden;
  margin-bottom:16px;
}
.ark-simple-detail-grid>div{
  padding:12px;
  border-right:1px solid var(--saas-border);
}
.ark-simple-detail-grid>div:last-child{border-right:0}
.ark-simple-detail-grid span{
  display:block;
  color:var(--saas-muted);
  font-size:9px;
  font-weight:680;
}
.ark-simple-detail-grid strong{
  display:block;
  margin-top:4px;
  color:var(--saas-text);
  font-size:12px;
}
.ark-simple-attendance-edit{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:10px;
  margin-bottom:12px;
}
.ark-simple-attendance-edit label>span{
  display:block;
  margin-bottom:5px;
  color:var(--saas-text-2);
  font-size:10px;
  font-weight:700;
}
.ark-simple-attendance-edit select,
.ark-simple-attendance-edit input{
  width:100%;
  min-height:40px;
  padding:0 10px;
}

/* Dark remains flat too */
html[data-theme="dark"] .ark-student-calendar-toolbar,
html[data-theme="dark"] .ark-simple-calendar-panel,
html[data-theme="dark"] .ark-student-class-summary,
html[data-theme="dark"] .ark-calendar-more,
html[data-theme="dark"] .ark-class-editor-dialog{
  background:#121922!important;
  border-color:#273341!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .ark-student-calendar-form select,
html[data-theme="dark"] .ark-student-calendar-form input,
html[data-theme="dark"] .ark-class-editor-topic input{
  background:#171F29!important;
  border-color:#344354!important;
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-student-class-summary-item,
html[data-theme="dark"] .ark-simple-detail-grid>div{
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-simple-day{
  background:#121922!important;
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-simple-day.is-off{
  background:#10171F!important;
}
html[data-theme="dark"] .ark-simple-day-top strong,
html[data-theme="dark"] .ark-simple-calendar-head h3,
html[data-theme="dark"] .ark-student-class-summary-item strong,
html[data-theme="dark"] .ark-class-editor-dialog h3{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-class-editor-options button{
  background:#171F29!important;
  border-color:#344354!important;
  color:#D5DEE7!important;
}
html[data-theme="dark"] .ark-class-editor-close{
  background:#171F29!important;
  border-color:#344354!important;
  color:#D5DEE7!important;
}
html[data-theme="dark"] .ark-calendar-more-body{
  border-color:#273341!important;
}

/* Responsive */
@media(max-width:960px){
  .ark-content{
    padding:18px 14px 90px!important;
  }
  .ark-student-calendar-form{
    grid-template-columns:minmax(0,1fr) 170px auto;
  }
  .ark-student-class-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .ark-student-class-summary-item:nth-child(2){
    border-right:0;
  }
  .ark-student-class-summary-item:nth-child(-n+2){
    border-bottom:1px solid var(--saas-border);
  }
}
@media(max-width:680px){
  .ark-section-head h2{font-size:24px!important}
  .ark-section-head p{font-size:13px!important}

  .ark-student-calendar-form{
    grid-template-columns:1fr 1fr;
  }
  .ark-student-calendar-form label:first-of-type{
    grid-column:1/-1;
  }
  .ark-student-calendar-form button{
    align-self:end;
  }

  .ark-student-class-summary{
    grid-template-columns:1fr 1fr;
  }

  .ark-simple-calendar-panel{
    padding:11px;
  }
  .ark-simple-calendar-head{
    align-items:flex-start;
  }
  .ark-simple-calendar{
    gap:3px;
  }
  .ark-simple-weekday{
    padding:5px 1px;
    font-size:8px;
  }
  .ark-simple-day{
    min-height:65px;
    padding:5px;
    border-radius:6px;
  }
  .ark-simple-day-top strong{
    font-size:10px;
  }
  .ark-simple-day-top span{
    display:none;
  }
  .ark-simple-day-action{
    margin-top:7px;
    padding:5px 4px;
    grid-template-columns:6px minmax(0,1fr);
  }
  .ark-simple-day-action small{
    display:none;
  }
  .ark-simple-day-action b{
    font-size:8px;
  }
  .ark-simple-status-dot{
    width:6px;
    height:6px;
  }
  .ark-simple-no-class{
    margin-top:10px;
  }

  .ark-class-editor{
    padding:10px;
    align-items:end;
  }
  .ark-class-editor-dialog{
    width:100%;
    max-height:88vh;
    overflow:auto;
    padding:18px;
    border-radius:14px 14px 8px 8px;
  }
  .ark-class-editor-options{
    grid-template-columns:repeat(2,1fr);
  }
  .ark-class-editor-options button{
    min-height:58px;
  }
  .ark-class-editor-footer{
    align-items:flex-start;
    flex-direction:column;
  }
  .ark-class-editor-footer span{
    text-align:left;
  }

  .ark-calendar-more-body .ark-form-grid{
    grid-template-columns:1fr!important;
  }

  .ark-simple-detail-grid{
    grid-template-columns:1fr 1fr;
  }
  .ark-simple-detail-grid>div:nth-child(2){
    border-right:0;
  }
  .ark-simple-detail-grid>div:nth-child(-n+2){
    border-bottom:1px solid var(--saas-border);
  }
  .ark-simple-attendance-edit{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V2.6 — ADMIN USERS / PARTNER ACCESS
========================================================= */
.ark-system-links-3{
  grid-template-columns:1fr!important;
}
.ark-system-links-3 a{
  justify-content:flex-start!important;
  gap:7px!important;
  padding:0 10px!important;
}

.ark-admin-user-intro{
  display:flex;
  align-items:flex-start;
  gap:13px;
  padding:15px!important;
  background:#FAFCEB!important;
  border-color:#E1EAB1!important;
}
.ark-admin-user-intro-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#F1F8CE;
  color:#627D00;
  font-size:17px;
  font-weight:800;
}
.ark-admin-user-intro strong{
  display:block;
  color:#273200;
  font-size:13px;
  font-weight:750;
}
.ark-admin-user-intro p{
  margin:4px 0 0!important;
  color:#66752E!important;
  font-size:11.5px!important;
  line-height:1.45!important;
}

.ark-full-access-box{
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:13px;
  background:#F8FAFC;
  border:1px solid #E4E7EC;
  border-radius:9px;
}
.ark-full-access-box>i{
  width:25px;
  height:25px;
  flex:0 0 25px;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:#ECFDF3;
  color:#067647;
  font-style:normal;
  font-size:13px;
  font-weight:850;
}
.ark-full-access-box strong{
  display:block;
  color:#101828;
  font-size:12px;
  font-weight:730;
}
.ark-full-access-box p{
  margin:3px 0 0!important;
  color:#667085!important;
  font-size:10.5px!important;
  line-height:1.45!important;
}

.ark-admin-user-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:11px;
}
.ark-admin-user-card{
  padding:15px;
  background:#FFFFFF;
  border:1px solid #E4E7EC;
  border-radius:11px;
}
.ark-admin-user-head{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}
.ark-admin-user-head .ark-profile-avatar{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
}
.ark-admin-user-head>div{
  min-width:0;
}
.ark-admin-user-head strong{
  display:block;
  color:#101828;
  font-size:13px;
  font-weight:740;
  overflow-wrap:anywhere;
}
.ark-admin-user-head small{
  display:block;
  margin-top:2px;
  color:#667085;
  font-size:10px;
  overflow-wrap:anywhere;
}
.ark-admin-user-access{
  margin-top:12px;
  padding:10px 11px;
  background:#F8FAFC;
  border:1px solid #EAECF0;
  border-radius:8px;
}
.ark-admin-user-access span{
  display:block;
  color:#98A2B3;
  font-size:9px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.ark-admin-user-access strong{
  display:block;
  margin-top:3px;
  color:#344054;
  font-size:11px;
}
.ark-owner-protected{
  color:#667085;
  font-size:10px;
  font-weight:650;
}

/* Dark mode */
html[data-theme="dark"] .ark-admin-user-intro{
  background:#202718!important;
  border-color:#3C4B27!important;
}
html[data-theme="dark"] .ark-admin-user-intro-icon{
  background:#2B351D;
  color:#D4EB79;
}
html[data-theme="dark"] .ark-admin-user-intro strong{
  color:#EAF6B5;
}
html[data-theme="dark"] .ark-admin-user-intro p{
  color:#AFC07A!important;
}
html[data-theme="dark"] .ark-full-access-box,
html[data-theme="dark"] .ark-admin-user-card,
html[data-theme="dark"] .ark-admin-user-access{
  background:#121922!important;
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-full-access-box strong,
html[data-theme="dark"] .ark-admin-user-head strong,
html[data-theme="dark"] .ark-admin-user-access strong{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-full-access-box p,
html[data-theme="dark"] .ark-admin-user-head small,
html[data-theme="dark"] .ark-owner-protected{
  color:#9FACBA!important;
}

@media(max-width:680px){
  .ark-admin-user-grid{
    grid-template-columns:1fr;
  }
  .ark-admin-user-head{
    grid-template-columns:38px minmax(0,1fr);
  }
  .ark-admin-user-head>.ark-pill{
    grid-column:2;
    justify-self:start;
  }
}


/* =========================================================
   V2.6.1 — COMPLETE DARK MODE AUDIT
   Final layer. Intentionally overrides every later white-only
   V2.3 / V2.4 / V2.5 / V2.6 component.
========================================================= */

html[data-theme="dark"]{
  color-scheme:dark;
  --saas-bg:#0B1016!important;
  --saas-surface:#121922!important;
  --saas-subtle:#171F29!important;
  --saas-subtle-2:#1C2530!important;
  --saas-border:#273341!important;
  --saas-border-strong:#344354!important;
  --saas-text:#F3F6F9!important;
  --saas-text-2:#D6DEE7!important;
  --saas-muted:#A5B1BE!important;
  --saas-faint:#7F8D9C!important;
  --saas-lime:#B9F20D!important;
  --saas-lime-dark:#D5F66C!important;

  --pro-white:#121922!important;
  --pro-page:#0B1016!important;
  --pro-soft:#171F29!important;
  --pro-soft-2:#1C2530!important;
  --pro-line:#273341!important;
  --pro-line-strong:#344354!important;
  --pro-text:#F3F6F9!important;
  --pro-text-2:#D6DEE7!important;
  --pro-muted:#A5B1BE!important;
  --pro-faint:#7F8D9C!important;
  --pro-shadow:none!important;

  --core-bg:#0B1016!important;
  --core-surface:#121922!important;
  --core-surface-2:#171F29!important;
  --core-border:#273341!important;
  --core-text:#F3F6F9!important;
  --core-muted:#A5B1BE!important;
}

/* ---------------------------------------------------------
   ROOT / APP CHROME
--------------------------------------------------------- */
html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] .ark-app-body,
html[data-theme="dark"] .ark-app-shell,
html[data-theme="dark"] .ark-main,
html[data-theme="dark"] .ark-content{
  background:#0B1016!important;
  color:#F3F6F9!important;
}

html[data-theme="dark"] .ark-sidebar,
html[data-theme="dark"] .ark-topbar,
html[data-theme="dark"] .ark-mobile-nav{
  background:#101720!important;
  border-color:#273341!important;
  color:#F3F6F9!important;
  box-shadow:none!important;
}

html[data-theme="dark"] .ark-topbar{
  background:rgba(16,23,32,.96)!important;
}

html[data-theme="dark"] .ark-sidebar-brand strong,
html[data-theme="dark"] .ark-mini-profile strong,
html[data-theme="dark"] .ark-topbar h1,
html[data-theme="dark"] .ark-topbar-title h1{
  color:#F3F6F9!important;
}

html[data-theme="dark"] .ark-sidebar-brand span,
html[data-theme="dark"] .ark-mini-profile small,
html[data-theme="dark"] .ark-logout{
  color:#9FACBA!important;
}

/* Sidebar navigation */
html[data-theme="dark"] .ark-nav a,
html[data-theme="dark"] .ark-nav a:visited{
  background:transparent!important;
  color:#C3CDD7!important;
}
html[data-theme="dark"] .ark-nav-icon{
  background:transparent!important;
  color:#93A2B2!important;
}
html[data-theme="dark"] .ark-nav a:hover{
  background:#171F29!important;
  color:#FFFFFF!important;
}
html[data-theme="dark"] .ark-nav a:hover .ark-nav-icon{
  background:#1D2732!important;
  color:#DDE6EE!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .ark-nav a.active{
  background:#202A18!important;
  color:#E6F7AA!important;
}
html[data-theme="dark"] .ark-nav a.active .ark-nav-icon{
  background:#182012!important;
  color:#D5F66C!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .ark-nav-count{
  background:#344354!important;
  color:#FFFFFF!important;
}
html[data-theme="dark"] .ark-system-links a{
  background:#171F29!important;
  border-color:#273341!important;
  color:#B8C4D0!important;
}
html[data-theme="dark"] .ark-system-links a:hover{
  background:#1C2631!important;
  border-color:#3A495A!important;
  color:#F3F6F9!important;
}

/* Topbar controls/search */
html[data-theme="dark"] .ark-search-box,
html[data-theme="dark"] .ark-theme-toggle,
html[data-theme="dark"] .ark-install-btn,
html[data-theme="dark"] .ark-sync-status,
html[data-theme="dark"] .ark-version,
html[data-theme="dark"] .ark-menu-btn{
  background:#171F29!important;
  border-color:#344354!important;
  color:#D6DEE7!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .ark-search-box input{
  background:transparent!important;
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-search-box input::placeholder{
  color:#738292!important;
}
html[data-theme="dark"] .ark-search-box>span{
  color:#7F8D9C!important;
}
html[data-theme="dark"] .ark-search-box button{
  background:#202A35!important;
  border-color:#344354!important;
  color:#D5F66C!important;
}
html[data-theme="dark"] .ark-top-actions>.ark-avatar,
html[data-theme="dark"] .ark-avatar{
  background:#202A18!important;
  color:#D5F66C!important;
}

/* ---------------------------------------------------------
   UNIVERSAL TYPOGRAPHY
--------------------------------------------------------- */
html[data-theme="dark"] .ark-section-head h2,
html[data-theme="dark"] .ark-panel-title h3,
html[data-theme="dark"] .ark-core-section-head h3,
html[data-theme="dark"] .ark-person-card-title h4,
html[data-theme="dark"] .ark-course-card-head h4,
html[data-theme="dark"] .ark-core-student-head h4,
html[data-theme="dark"] .ark-simple-calendar-head h3,
html[data-theme="dark"] .ark-class-editor-dialog h3,
html[data-theme="dark"] .ark-login-card h1,
html[data-theme="dark"] .ark-app-body h1,
html[data-theme="dark"] .ark-app-body h2,
html[data-theme="dark"] .ark-app-body h3,
html[data-theme="dark"] .ark-app-body h4{
  color:#F3F6F9!important;
}

html[data-theme="dark"] .ark-section-head p,
html[data-theme="dark"] .ark-panel-title p,
html[data-theme="dark"] .ark-panel-copy,
html[data-theme="dark"] .ark-person-card-title span,
html[data-theme="dark"] .ark-core-student-head p,
html[data-theme="dark"] .ark-simple-calendar-head p,
html[data-theme="dark"] .ark-app-body small{
  color:#A5B1BE!important;
}

html[data-theme="dark"] .ark-section-badge,
html[data-theme="dark"] .ark-panel-title>span{
  background:#171F29!important;
  border-color:#344354!important;
  color:#B8C4D0!important;
}

/* ---------------------------------------------------------
   ALL PRIMARY SURFACES / CARDS
--------------------------------------------------------- */
html[data-theme="dark"] .ark-panel,
html[data-theme="dark"] .ark-filter-panel,
html[data-theme="dark"] .ark-person-card,
html[data-theme="dark"] .ark-course-card,
html[data-theme="dark"] .ark-core-student-card,
html[data-theme="dark"] .ark-core-section,
html[data-theme="dark"] .ark-metric,
html[data-theme="dark"] .ark-report-metric,
html[data-theme="dark"] .ark-bi-chart-card,
html[data-theme="dark"] .ark-cert-eligibility-card,
html[data-theme="dark"] .ark-universal-editor,
html[data-theme="dark"] .ark-attention-panel,
html[data-theme="dark"] .ark-hub-attention,
html[data-theme="dark"] .ark-hub-course-health,
html[data-theme="dark"] .ark-hub-course-health-full,
html[data-theme="dark"] .ark-hub-commission-ledger,
html[data-theme="dark"] .ark-hub-health,
html[data-theme="dark"] .ark-record-card-table .ark-record-card,
html[data-theme="dark"] .ark-team-card,
html[data-theme="dark"] .ark-holiday-card,
html[data-theme="dark"] .ark-backup-hero,
html[data-theme="dark"] .ark-backup-note,
html[data-theme="dark"] .ark-search-page,
html[data-theme="dark"] .ark-simple-class-detail{
  background:#121922!important;
  border-color:#273341!important;
  color:#F3F6F9!important;
  box-shadow:none!important;
  background-image:none!important;
}

/* Nested surfaces */
html[data-theme="dark"] .ark-card-info>div,
html[data-theme="dark"] .ark-money-row,
html[data-theme="dark"] .ark-money-row>div,
html[data-theme="dark"] .ark-profile-grid>div,
html[data-theme="dark"] .ark-core-next,
html[data-theme="dark"] .ark-core-drawings,
html[data-theme="dark"] .ark-core-business-row a,
html[data-theme="dark"] .ark-core-class-grid>div,
html[data-theme="dark"] .ark-core-student-stats>div,
html[data-theme="dark"] .ark-core-student-schedule,
html[data-theme="dark"] .ark-course-schedule>div,
html[data-theme="dark"] .ark-course-money>div,
html[data-theme="dark"] .ark-owner-split>div,
html[data-theme="dark"] .ark-report-pulse-grid>div,
html[data-theme="dark"] .ark-attendance-toolbar,
html[data-theme="dark"] .ark-readonly-value,
html[data-theme="dark"] .ark-linked-edit-notice,
html[data-theme="dark"] .ark-checkbox-field,
html[data-theme="dark"] .ark-full-access-box,
html[data-theme="dark"] .ark-admin-user-access,
html[data-theme="dark"] .ark-export-card,
html[data-theme="dark"] .ark-trash-card{
  background:#171F29!important;
  border-color:#273341!important;
  color:#D6DEE7!important;
  box-shadow:none!important;
  background-image:none!important;
}

/* ---------------------------------------------------------
   FORMS / INPUTS / SELECTS / FILE INPUT
--------------------------------------------------------- */
html[data-theme="dark"] .ark-field>span,
html[data-theme="dark"] .ark-filter-field span,
html[data-theme="dark"] .ark-login-form label>span,
html[data-theme="dark"] .ark-simple-attendance-edit label>span,
html[data-theme="dark"] .ark-student-calendar-form label>span,
html[data-theme="dark"] .ark-class-editor-topic span{
  color:#C8D2DC!important;
}

html[data-theme="dark"] .ark-field input,
html[data-theme="dark"] .ark-field select,
html[data-theme="dark"] .ark-field textarea,
html[data-theme="dark"] .ark-filter-field input,
html[data-theme="dark"] .ark-filter-field select,
html[data-theme="dark"] .ark-login-form input,
html[data-theme="dark"] .ark-report-custom input,
html[data-theme="dark"] .ark-att-status,
html[data-theme="dark"] .ark-att-note,
html[data-theme="dark"] .ark-simple-attendance-edit input,
html[data-theme="dark"] .ark-simple-attendance-edit select,
html[data-theme="dark"] .ark-student-calendar-form select,
html[data-theme="dark"] .ark-student-calendar-form input,
html[data-theme="dark"] .ark-class-editor-topic input,
html[data-theme="dark"] .ark-search-page-form input{
  background:#171F29!important;
  border-color:#344354!important;
  color:#F3F6F9!important;
  box-shadow:none!important;
}

html[data-theme="dark"] .ark-field input::placeholder,
html[data-theme="dark"] .ark-field textarea::placeholder,
html[data-theme="dark"] .ark-filter-field input::placeholder,
html[data-theme="dark"] .ark-login-form input::placeholder,
html[data-theme="dark"] .ark-att-note::placeholder,
html[data-theme="dark"] .ark-class-editor-topic input::placeholder,
html[data-theme="dark"] .ark-search-page-form input::placeholder{
  color:#738292!important;
}

html[data-theme="dark"] select option{
  background:#171F29!important;
  color:#F3F6F9!important;
}

html[data-theme="dark"] input[type="file"]{
  color:#AEB9C5!important;
}
html[data-theme="dark"] input[type="file"]::file-selector-button{
  background:#202A35!important;
  border:1px solid #344354!important;
  color:#E5EBF1!important;
}

/* Buttons */
html[data-theme="dark"] .ark-primary-btn,
html[data-theme="dark"] .ark-filter-apply,
html[data-theme="dark"] .ark-student-calendar-form button{
  background:#D5F66C!important;
  border-color:#D5F66C!important;
  color:#172000!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .ark-primary-btn:hover,
html[data-theme="dark"] .ark-filter-apply:hover,
html[data-theme="dark"] .ark-student-calendar-form button:hover{
  background:#C5E958!important;
  color:#172000!important;
}
html[data-theme="dark"] .ark-primary-btn span{
  background:#172000!important;
  color:#D5F66C!important;
}
html[data-theme="dark"] .ark-secondary-btn,
html[data-theme="dark"] .ark-editor-close{
  background:#171F29!important;
  border-color:#344354!important;
  color:#D6DEE7!important;
}
html[data-theme="dark"] .ark-secondary-btn:hover{
  background:#202A35!important;
  color:#FFFFFF!important;
}

/* ---------------------------------------------------------
   DASHBOARD / MONEY
--------------------------------------------------------- */
html[data-theme="dark"] .ark-core-money,
html[data-theme="dark"] .ark-core-dashboard{
  background:transparent!important;
  color:#F3F6F9!important;
}

html[data-theme="dark"] .ark-core-money-head>div,
html[data-theme="dark"] .ark-core-profit,
html[data-theme="dark"] .ark-core-money-card,
html[data-theme="dark"] .ark-money-overview article,
html[data-theme="dark"] .ark-owner-split>div{
  background:#121922!important;
  border-color:#273341!important;
  color:#F3F6F9!important;
  box-shadow:none!important;
  background-image:none!important;
}

html[data-theme="dark"] .ark-core-money-head>div:first-child{
  border-top-color:#37C889!important;
}
html[data-theme="dark"] .ark-core-profit{
  border-top-color:#A78BFA!important;
}
html[data-theme="dark"] .ark-core-money-owner{
  border-top-color:#60A5FA!important;
}
html[data-theme="dark"] .ark-core-money-partner{
  border-top-color:#F5A64A!important;
}
html[data-theme="dark"] .ark-core-money-pending{
  border-top-color:#F5C451!important;
}
html[data-theme="dark"] .ark-core-money-expense{
  border-top-color:#FB7185!important;
}

html[data-theme="dark"] .ark-core-money-head>div:first-child>span,
html[data-theme="dark"] .ark-core-profit span,
html[data-theme="dark"] .ark-core-money-card span,
html[data-theme="dark"] .ark-money-overview span,
html[data-theme="dark"] .ark-owner-split span,
html[data-theme="dark"] .ark-core-drawings>span,
html[data-theme="dark"] .ark-core-drawings p,
html[data-theme="dark"] .ark-core-class-grid span,
html[data-theme="dark"] .ark-core-business-row small{
  color:#A5B1BE!important;
}
html[data-theme="dark"] .ark-core-money-head>div:first-child>strong{
  color:#64D8A1!important;
}
html[data-theme="dark"] .ark-core-profit b{
  color:#B6A2FF!important;
}
html[data-theme="dark"] .ark-core-money-card strong,
html[data-theme="dark"] .ark-money-overview strong,
html[data-theme="dark"] .ark-owner-split strong,
html[data-theme="dark"] .ark-core-class-grid strong,
html[data-theme="dark"] .ark-core-business-row strong,
html[data-theme="dark"] .ark-core-next strong{
  color:#F3F6F9!important;
}

/* ---------------------------------------------------------
   STUDENTS / COURSES / CLIENTS
--------------------------------------------------------- */
html[data-theme="dark"] .ark-core-student-head h4,
html[data-theme="dark"] .ark-core-student-stats strong,
html[data-theme="dark"] .ark-core-student-schedule strong,
html[data-theme="dark"] .ark-course-card-head h4,
html[data-theme="dark"] .ark-course-schedule strong,
html[data-theme="dark"] .ark-course-money strong,
html[data-theme="dark"] .ark-course-stats b,
html[data-theme="dark"] .ark-person-card-title h4,
html[data-theme="dark"] .ark-card-info strong,
html[data-theme="dark"] .ark-money-row strong{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-core-student-head p,
html[data-theme="dark"] .ark-core-student-stats span,
html[data-theme="dark"] .ark-core-student-schedule span,
html[data-theme="dark"] .ark-core-student-schedule small,
html[data-theme="dark"] .ark-course-card-head small,
html[data-theme="dark"] .ark-course-schedule span,
html[data-theme="dark"] .ark-course-money span,
html[data-theme="dark"] .ark-course-stats span,
html[data-theme="dark"] .ark-person-card-title span,
html[data-theme="dark"] .ark-card-info span,
html[data-theme="dark"] .ark-money-row span,
html[data-theme="dark"] .ark-person-meta{
  color:#A5B1BE!important;
}

html[data-theme="dark"] .ark-weekday-options span{
  background:#171F29!important;
  border-color:#344354!important;
  color:#C5CFD9!important;
}
html[data-theme="dark"] .ark-weekday-options input:checked + span{
  background:#202A18!important;
  border-color:#52692C!important;
  color:#DDF58A!important;
}

/* ---------------------------------------------------------
   SIMPLE CLASS CALENDAR
--------------------------------------------------------- */
html[data-theme="dark"] .ark-student-calendar-toolbar,
html[data-theme="dark"] .ark-student-class-summary,
html[data-theme="dark"] .ark-simple-calendar-panel,
html[data-theme="dark"] .ark-calendar-more,
html[data-theme="dark"] .ark-class-editor-dialog,
html[data-theme="dark"] .ark-simple-class-detail{
  background:#121922!important;
  border-color:#273341!important;
  color:#F3F6F9!important;
  box-shadow:none!important;
}

html[data-theme="dark"] .ark-student-class-summary-item{
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-student-class-summary-item span,
html[data-theme="dark"] .ark-simple-calendar-head p,
html[data-theme="dark"] .ark-simple-weekday,
html[data-theme="dark"] .ark-class-editor-kicker,
html[data-theme="dark"] .ark-class-editor-dialog>p,
html[data-theme="dark"] .ark-simple-detail-grid span{
  color:#A5B1BE!important;
}
html[data-theme="dark"] .ark-student-class-summary-item strong,
html[data-theme="dark"] .ark-simple-calendar-head h3,
html[data-theme="dark"] .ark-simple-day-top strong,
html[data-theme="dark"] .ark-class-editor-dialog h3,
html[data-theme="dark"] .ark-simple-detail-grid strong{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-simple-calendar-nav a{
  background:#171F29!important;
  border-color:#344354!important;
  color:#D6DEE7!important;
}
html[data-theme="dark"] .ark-simple-calendar-nav a:hover{
  background:#202A35!important;
}
html[data-theme="dark"] .ark-simple-day{
  background:#121922!important;
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-simple-day.is-off{
  background:#0F151D!important;
}
html[data-theme="dark"] .ark-simple-day.is-empty{
  background:transparent!important;
  border-color:transparent!important;
}
html[data-theme="dark"] .ark-simple-day.is-today{
  border-color:#8AAA26!important;
  box-shadow:inset 0 0 0 1px #8AAA26!important;
}
html[data-theme="dark"] .ark-simple-day-top span{
  background:#202A18!important;
  color:#D5F66C!important;
}
html[data-theme="dark"] .ark-simple-no-class{
  color:#40505F!important;
}

/* Semantic calendar statuses */
html[data-theme="dark"] .status-present .ark-simple-day-action{
  background:#10251C!important;
  color:#7AE2AE!important;
}
html[data-theme="dark"] .status-late .ark-simple-day-action{
  background:#2A2114!important;
  color:#F5C06B!important;
}
html[data-theme="dark"] .status-absent .ark-simple-day-action,
html[data-theme="dark"] .status-missed .ark-simple-day-action{
  background:#2B171B!important;
  color:#FF9AA5!important;
}
html[data-theme="dark"] .status-excused .ark-simple-day-action{
  background:#211B31!important;
  color:#BFA9FF!important;
}
html[data-theme="dark"] .status-pending .ark-simple-day-action{
  background:#13243A!important;
  color:#8EC5FF!important;
}
html[data-theme="dark"] .status-no_class .ark-simple-day-action{
  background:#1C2530!important;
  color:#BBC5CF!important;
}
html[data-theme="dark"] .ark-simple-day-action small{
  color:#91A0AF!important;
}

/* Class editor */
html[data-theme="dark"] .ark-class-editor-backdrop{
  background:rgba(0,0,0,.62)!important;
}
html[data-theme="dark"] .ark-class-editor-close{
  background:#171F29!important;
  border-color:#344354!important;
  color:#D6DEE7!important;
}
html[data-theme="dark"] .ark-class-editor-options button{
  background:#171F29!important;
  border-color:#344354!important;
  color:#D6DEE7!important;
}
html[data-theme="dark"] .ark-class-editor-options button:hover{
  background:#202A35!important;
  border-color:#45586B!important;
}
html[data-theme="dark"] .ark-class-editor-options .status-present i{
  background:#10251C!important;color:#7AE2AE!important;
}
html[data-theme="dark"] .ark-class-editor-options .status-late i{
  background:#2A2114!important;color:#F5C06B!important;
}
html[data-theme="dark"] .ark-class-editor-options .status-absent i{
  background:#2B171B!important;color:#FF9AA5!important;
}
html[data-theme="dark"] .ark-class-editor-options .status-excused i{
  background:#211B31!important;color:#BFA9FF!important;
}
html[data-theme="dark"] .ark-class-editor-options .status-no_class i{
  background:#1C2530!important;color:#BBC5CF!important;
}
html[data-theme="dark"] .ark-class-editor-options .status-reset i{
  background:#13243A!important;color:#8EC5FF!important;
}
html[data-theme="dark"] .ark-class-editor-footer{
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-class-editor-footer a{
  color:#D5F66C!important;
}
html[data-theme="dark"] .ark-class-editor-footer span{
  color:#8493A2!important;
}
html[data-theme="dark"] .ark-calendar-more summary{
  color:#D6DEE7!important;
}
html[data-theme="dark"] .ark-calendar-more-body{
  border-color:#273341!important;
}

/* ---------------------------------------------------------
   TABLES / CARDIFIED TABLES
--------------------------------------------------------- */
html[data-theme="dark"] .ark-table-wrap,
html[data-theme="dark"] .ark-report-table-wrap{
  background:#121922!important;
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-table th,
html[data-theme="dark"] .ark-report-table th{
  background:#171F29!important;
  color:#A5B1BE!important;
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-table td,
html[data-theme="dark"] .ark-report-table td{
  background:#121922!important;
  color:#D6DEE7!important;
  border-color:#202B36!important;
}
html[data-theme="dark"] .ark-table td strong,
html[data-theme="dark"] .ark-report-table td strong{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-table td small,
html[data-theme="dark"] .ark-report-table td small{
  color:#93A2B2!important;
}
html[data-theme="dark"] .ark-record-card-table .ark-record-card td,
html[data-theme="dark"] .ark-card-actions{
  background:#121922!important;
  border-color:#273341!important;
  color:#D6DEE7!important;
}
html[data-theme="dark"] .ark-record-card-table .ark-record-card td::before{
  color:#8999A8!important;
}

/* ---------------------------------------------------------
   SEARCH
--------------------------------------------------------- */
html[data-theme="dark"] .ark-search-result{
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-search-result-icon{
  background:#17283A!important;
  color:#8EC5FF!important;
}
html[data-theme="dark"] .ark-search-result-copy small{
  color:#8493A2!important;
}
html[data-theme="dark"] .ark-search-result-copy strong{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-search-result-copy p{
  color:#A5B1BE!important;
}
html[data-theme="dark"] .ark-search-arrow{
  color:#8EC5FF!important;
}

/* ---------------------------------------------------------
   BACKUP / EXPORT
--------------------------------------------------------- */
html[data-theme="dark"] .ark-data-icon{
  background:#17283A!important;
  color:#8EC5FF!important;
}
html[data-theme="dark"] .ark-backup-hero h3,
html[data-theme="dark"] .ark-export-card strong,
html[data-theme="dark"] .ark-backup-note strong{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-backup-hero p,
html[data-theme="dark"] .ark-export-card small,
html[data-theme="dark"] .ark-backup-note p{
  color:#A5B1BE!important;
}
html[data-theme="dark"] .ark-export-card a{
  background:#121922!important;
  border-color:#344354!important;
  color:#8EC5FF!important;
}

/* ---------------------------------------------------------
   TRASH
--------------------------------------------------------- */
html[data-theme="dark"] .ark-trash-card{
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-trash-icon{
  background:#2B171B!important;
  color:#FF9AA5!important;
}
html[data-theme="dark"] .ark-trash-copy small,
html[data-theme="dark"] .ark-trash-copy p{
  color:#A5B1BE!important;
}
html[data-theme="dark"] .ark-trash-copy strong{
  color:#F3F6F9!important;
}

/* ---------------------------------------------------------
   ADMIN USERS
--------------------------------------------------------- */
html[data-theme="dark"] .ark-admin-user-intro{
  background:#202718!important;
  border-color:#3C4B27!important;
}
html[data-theme="dark"] .ark-admin-user-intro-icon{
  background:#2B351D!important;
  color:#D4EB79!important;
}
html[data-theme="dark"] .ark-admin-user-intro strong{
  color:#EAF6B5!important;
}
html[data-theme="dark"] .ark-admin-user-intro p{
  color:#AFC07A!important;
}
html[data-theme="dark"] .ark-full-access-box,
html[data-theme="dark"] .ark-admin-user-card,
html[data-theme="dark"] .ark-admin-user-access{
  background:#171F29!important;
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-full-access-box strong,
html[data-theme="dark"] .ark-admin-user-head strong,
html[data-theme="dark"] .ark-admin-user-access strong{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-full-access-box p,
html[data-theme="dark"] .ark-admin-user-head small,
html[data-theme="dark"] .ark-owner-protected{
  color:#A5B1BE!important;
}
html[data-theme="dark"] .ark-admin-user-access span{
  color:#8493A2!important;
}

/* ---------------------------------------------------------
   STATUS PILLS / ALERTS
--------------------------------------------------------- */
html[data-theme="dark"] .ark-pill{
  background:#1C2530!important;
  color:#C6D0DA!important;
  border-color:#344354!important;
}
html[data-theme="dark"] .ark-pill-income,
html[data-theme="dark"] .ark-pill-active,
html[data-theme="dark"] .ark-pill-enrolled,
html[data-theme="dark"] .ark-pill-done,
html[data-theme="dark"] .ark-pill-paid,
html[data-theme="dark"] .ark-pill-completed{
  background:#10251C!important;
  color:#7AE2AE!important;
  border-color:#1F5A3F!important;
}
html[data-theme="dark"] .ark-pill-expense,
html[data-theme="dark"] .ark-pill-urgent,
html[data-theme="dark"] .ark-pill-lost,
html[data-theme="dark"] .ark-pill-cancelled,
html[data-theme="dark"] .ark-pill-overdue{
  background:#2B171B!important;
  color:#FF9AA5!important;
  border-color:#643039!important;
}
html[data-theme="dark"] .ark-pill-high,
html[data-theme="dark"] .ark-pill-payment_pending,
html[data-theme="dark"] .ark-pill-follow_up,
html[data-theme="dark"] .ark-pill-pending{
  background:#2A2114!important;
  color:#F5C06B!important;
  border-color:#5A4322!important;
}
html[data-theme="dark"] .ark-mode-online,
html[data-theme="dark"] .ark-pill-online{
  background:#13243A!important;
  color:#8EC5FF!important;
  border-color:#2D527D!important;
}
html[data-theme="dark"] .ark-alert-success,
html[data-theme="dark"] .ark-success-box{
  background:#10251C!important;
  border-color:#1F5A3F!important;
  color:#7AE2AE!important;
}
html[data-theme="dark"] .ark-alert-error{
  background:#2B171B!important;
  border-color:#643039!important;
  color:#FF9AA5!important;
}

/* ---------------------------------------------------------
   LOGIN / DIALOGS / TOASTS
--------------------------------------------------------- */
html[data-theme="dark"] .ark-login-body{
  background:#0B1016!important;
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-login-brand{
  background:#0F151D!important;
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-login-card{
  background:#121922!important;
  border-color:#273341!important;
  color:#F3F6F9!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .ark-login-brand strong,
html[data-theme="dark"] .ark-login-card h1{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-login-brand span,
html[data-theme="dark"] .ark-login-card>p,
html[data-theme="dark"] .ark-login-foot{
  color:#A5B1BE!important;
}

html[data-theme="dark"] .ark-install-dialog,
html[data-theme="dark"] .ark-sync-toast,
html[data-theme="dark"] .ark-chart-tooltip{
  background:#121922!important;
  border-color:#344354!important;
  color:#F3F6F9!important;
  box-shadow:0 20px 60px rgba(0,0,0,.35)!important;
}
html[data-theme="dark"] .ark-install-close{
  background:#171F29!important;
  border-color:#344354!important;
  color:#D6DEE7!important;
}
html[data-theme="dark"] .ark-install-copy p,
html[data-theme="dark"] .ark-install-dialog>small,
html[data-theme="dark"] .ark-sync-toast span{
  color:#A5B1BE!important;
}

/* ---------------------------------------------------------
   REPORTS / CHART SUPPORT
--------------------------------------------------------- */
html[data-theme="dark"] .ark-report-filter,
html[data-theme="dark"] .ark-report-preset,
html[data-theme="dark"] .ark-report-stack-card,
html[data-theme="dark"] .ark-report-pulse-grid>div{
  background:#121922!important;
  border-color:#273341!important;
  color:#D6DEE7!important;
}
html[data-theme="dark"] .ark-report-preset a{
  color:#A5B1BE!important;
}
html[data-theme="dark"] .ark-report-preset a.active{
  background:#202A18!important;
  color:#D5F66C!important;
}
html[data-theme="dark"] .ark-chart-legend span,
html[data-theme="dark"] .ark-chart-legend b{
  color:#A5B1BE!important;
}
html[data-theme="dark"] .ark-chart-legend em{
  color:#F3F6F9!important;
}

/* ---------------------------------------------------------
   ATTENDANCE / CERTIFICATES / LEGACY SURFACES
--------------------------------------------------------- */
html[data-theme="dark"] .ark-attendance-history>div,
html[data-theme="dark"] .ark-cert-checks span,
html[data-theme="dark"] .ark-learning-mini span,
html[data-theme="dark"] .ark-attendance-mini span{
  background:#171F29!important;
  border-color:#273341!important;
  color:#D6DEE7!important;
}
html[data-theme="dark"] .ark-attendance-student-name strong,
html[data-theme="dark"] .ark-attendance-history strong,
html[data-theme="dark"] .ark-cert-eligibility-head strong,
html[data-theme="dark"] .ark-cert-checks b{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-attendance-student-name small,
html[data-theme="dark"] .ark-attendance-history small,
html[data-theme="dark"] .ark-cert-eligibility-head small,
html[data-theme="dark"] .ark-cert-reason{
  color:#A5B1BE!important;
}

/* ---------------------------------------------------------
   MOBILE DARK MODE
--------------------------------------------------------- */
@media(max-width:960px){
  html[data-theme="dark"] .ark-sidebar{
    background:#101720!important;
    border-color:#273341!important;
  }
  html[data-theme="dark"] .ark-search-toggle{
    background:#171F29!important;
    border-color:#344354!important;
    color:#D6DEE7!important;
  }
  html[data-theme="dark"] .ark-search-box{
    background:#171F29!important;
    border-color:#344354!important;
    box-shadow:0 18px 50px rgba(0,0,0,.38)!important;
  }
  html[data-theme="dark"] .ark-mobile-nav{
    background:rgba(16,23,32,.98)!important;
    border-color:#273341!important;
    box-shadow:0 12px 30px rgba(0,0,0,.28)!important;
  }
  html[data-theme="dark"] .ark-mobile-nav a,
  html[data-theme="dark"] .ark-mobile-nav button{
    color:#9FACBA!important;
  }
  html[data-theme="dark"] .ark-mobile-nav a.active{
    background:#202A18!important;
    color:#D5F66C!important;
  }
}

/* ---------------------------------------------------------
   DARK MODE SCROLLBARS / NATIVE CONTROLS
--------------------------------------------------------- */
html[data-theme="dark"] .ark-app-body *{
  scrollbar-color:#465565 #121922!important;
}
html[data-theme="dark"] .ark-app-body ::selection{
  background:#41551A!important;
  color:#F3F6F9!important;
}


/* =========================================================
   V2.6.2 — DASHBOARD MONTHLY REVENUE FILTER
========================================================= */
.ark-dashboard-month-filter{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:11px 13px;
  background:#FFFFFF;
  border:1px solid #E4E7EC;
  border-radius:10px;
}
.ark-dashboard-month-filter>div:first-child{
  min-width:0;
}
.ark-dashboard-month-filter>div:first-child span{
  display:block;
  color:#667085;
  font-size:9px;
  font-weight:720;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.ark-dashboard-month-filter>div:first-child strong{
  display:block;
  margin-top:2px;
  color:#101828;
  font-size:13px;
  font-weight:750;
}
.ark-dashboard-month-actions{
  display:flex;
  align-items:center;
  gap:6px;
}
.ark-dashboard-month-actions form{
  display:flex;
  align-items:center;
  gap:6px;
  margin:0;
}
.ark-dashboard-month-actions input[type="month"]{
  height:35px;
  min-width:150px;
  padding:0 9px;
  border:1px solid #D0D5DD;
  border-radius:7px;
  background:#FFFFFF;
  color:#101828;
  font:inherit;
  font-size:11px;
  outline:0;
}
.ark-dashboard-month-actions input[type="month"]:focus{
  border-color:#84AD00;
  box-shadow:0 0 0 3px rgba(185,242,13,.14);
}
.ark-dashboard-month-actions button,
.ark-month-arrow{
  height:35px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #D0D5DD;
  border-radius:7px;
  background:#FFFFFF;
  color:#344054;
  font:inherit;
  font-size:11px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}
.ark-dashboard-month-actions button{
  padding:0 11px;
  background:#171B21;
  border-color:#171B21;
  color:#FFFFFF;
}
.ark-month-arrow{
  width:35px;
  flex:0 0 35px;
}
.ark-month-arrow:hover{
  background:#F7F8FA;
}
.ark-dashboard-month-actions button:hover{
  background:#262C34;
}

/* Dark mode */
html[data-theme="dark"] .ark-dashboard-month-filter{
  background:#121922!important;
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-dashboard-month-filter>div:first-child span{
  color:#A5B1BE!important;
}
html[data-theme="dark"] .ark-dashboard-month-filter>div:first-child strong{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-dashboard-month-actions input[type="month"],
html[data-theme="dark"] .ark-month-arrow{
  background:#171F29!important;
  border-color:#344354!important;
  color:#D6DEE7!important;
}
html[data-theme="dark"] .ark-dashboard-month-actions input[type="month"]{
  color-scheme:dark;
}
html[data-theme="dark"] .ark-dashboard-month-actions button{
  background:#D5F66C!important;
  border-color:#D5F66C!important;
  color:#172000!important;
}
html[data-theme="dark"] .ark-month-arrow:hover{
  background:#202A35!important;
}

@media(max-width:680px){
  .ark-dashboard-month-filter{
    align-items:stretch;
    flex-direction:column;
    gap:9px;
  }
  .ark-dashboard-month-actions{
    width:100%;
  }
  .ark-dashboard-month-actions form{
    flex:1;
  }
  .ark-dashboard-month-actions input[type="month"]{
    width:100%;
    min-width:0;
    flex:1;
    font-size:14px;
  }
  .ark-dashboard-month-actions button{
    flex:0 0 auto;
  }
}


/* =========================================================
   V2.6.3 — REVENUE DATE-RANGE FILTER
========================================================= */
.ark-revenue-filter{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:10px 16px;
  align-items:center;
  padding:13px 14px;
  background:#FFFFFF;
  border:1px solid #E4E7EC;
  border-radius:10px;
}
.ark-revenue-filter-head{
  min-width:150px;
}
.ark-revenue-filter-head span{
  display:block;
  color:#667085;
  font-size:9px;
  font-weight:720;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.ark-revenue-filter-head strong{
  display:block;
  margin-top:2px;
  color:#101828;
  font-size:13px;
  line-height:1.25;
  font-weight:750;
}
.ark-revenue-filter-head small{
  display:block;
  margin-top:2px;
  color:#98A2B3;
  font-size:9.5px;
  line-height:1.3;
}
.ark-revenue-filter-presets{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:6px;
  min-width:0;
}
.ark-period-chip{
  min-height:34px;
  padding:0 11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #D0D5DD;
  border-radius:7px;
  background:#FFFFFF;
  color:#475467;
  font:inherit;
  font-size:10.5px;
  font-weight:700;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
  transition:background .14s ease,border-color .14s ease,color .14s ease;
}
.ark-period-chip:hover{
  background:#F7F8FA;
  color:#101828;
}
.ark-period-chip.active{
  background:#F3F8DF;
  border-color:#D8E99B;
  color:#4F6500;
}
.ark-custom-range-form{
  grid-column:1/-1;
  display:none;
  grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) auto;
  gap:9px;
  align-items:end;
  padding-top:11px;
  border-top:1px solid #EAECF0;
}
.ark-custom-range-form.is-open{
  display:grid;
}
.ark-custom-range-form label{
  min-width:0;
}
.ark-custom-range-form label>span{
  display:block;
  margin-bottom:5px;
  color:#667085;
  font-size:9px;
  font-weight:720;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.ark-custom-range-form input[type="date"]{
  width:100%;
  height:39px;
  padding:0 10px;
  border:1px solid #D0D5DD;
  border-radius:8px;
  background:#FFFFFF;
  color:#101828;
  font:inherit;
  font-size:12px;
  outline:0;
}
.ark-custom-range-form input[type="date"]:focus{
  border-color:#84AD00;
  box-shadow:0 0 0 3px rgba(185,242,13,.14);
}
.ark-custom-range-form button{
  height:39px;
  padding:0 14px;
  border:0;
  border-radius:8px;
  background:#171B21;
  color:#FFFFFF;
  font:inherit;
  font-size:11px;
  font-weight:720;
  cursor:pointer;
}
.ark-custom-range-form button:hover{
  background:#262C34;
}

/* Dark mode */
html[data-theme="dark"] .ark-revenue-filter{
  background:#121922!important;
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-revenue-filter-head span{
  color:#A5B1BE!important;
}
html[data-theme="dark"] .ark-revenue-filter-head strong{
  color:#F3F6F9!important;
}
html[data-theme="dark"] .ark-revenue-filter-head small{
  color:#8493A2!important;
}
html[data-theme="dark"] .ark-period-chip{
  background:#171F29!important;
  border-color:#344354!important;
  color:#B9C4CE!important;
}
html[data-theme="dark"] .ark-period-chip:hover{
  background:#202A35!important;
  color:#FFFFFF!important;
}
html[data-theme="dark"] .ark-period-chip.active{
  background:#202A18!important;
  border-color:#52692C!important;
  color:#D5F66C!important;
}
html[data-theme="dark"] .ark-custom-range-form{
  border-color:#273341!important;
}
html[data-theme="dark"] .ark-custom-range-form label>span{
  color:#A5B1BE!important;
}
html[data-theme="dark"] .ark-custom-range-form input[type="date"]{
  background:#171F29!important;
  border-color:#344354!important;
  color:#F3F6F9!important;
  color-scheme:dark;
}
html[data-theme="dark"] .ark-custom-range-form button{
  background:#D5F66C!important;
  color:#172000!important;
}
html[data-theme="dark"] .ark-custom-range-form button:hover{
  background:#C5E958!important;
}

@media(max-width:900px){
  .ark-revenue-filter{
    grid-template-columns:1fr;
    align-items:start;
  }
  .ark-revenue-filter-presets{
    justify-content:flex-start;
  }
  .ark-custom-range-form{
    grid-column:1;
  }
}
@media(max-width:680px){
  .ark-revenue-filter{
    padding:12px;
  }
  .ark-revenue-filter-presets{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .ark-period-chip{
    min-height:40px;
    font-size:11px;
  }
  .ark-custom-range-form{
    grid-template-columns:1fr;
  }
  .ark-custom-range-form input[type="date"]{
    min-height:44px;
    font-size:16px;
  }
  .ark-custom-range-form button{
    min-height:44px;
    font-size:12px;
  }
}


/* =========================================================
   V2.6.4 — SIDEBAR UTILITY ALIGNMENT FIX
========================================================= */
.ark-sidebar-bottom{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

.ark-system-links,
.ark-system-links-3{
  width:100%!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:6px!important;
  margin:0 0 12px!important;
  box-sizing:border-box!important;
}

.ark-system-links a,
.ark-system-links-3 a{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  flex:0 0 auto!important;
  box-sizing:border-box!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-height:36px!important;
  padding:0 10px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

.ark-system-links a span,
.ark-system-links-3 a span{
  width:18px!important;
  flex:0 0 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.ark-mini-profile{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

.ark-mini-profile>div{
  min-width:0!important;
}

.ark-mini-profile strong,
.ark-mini-profile small{
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

@media(max-width:960px){
  .ark-system-links,
  .ark-system-links-3{
    display:flex!important;
    flex-direction:column!important;
  }
  .ark-system-links a,
  .ark-system-links-3 a{
    width:100%!important;
  }
}


/* =========================================================
   V2.6.6 — REAL SIDEBAR ICONS
========================================================= */
.ark-nav-icon,.ark-system-links a span,.ark-mobile-nav-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}.ark-nav-icon svg,.ark-system-links a span svg,.ark-mobile-nav-icon svg{width:18px;height:18px;display:block;stroke:currentColor;fill:none}.ark-sidebar .ark-nav-icon{font-size:0!important}.ark-mobile-nav-icon{font-size:0!important}.ark-mobile-nav b{margin-top:2px}.ark-system-links a span{font-size:0!important}.ark-system-links a{align-items:center!important}.ark-nav a.active .ark-nav-icon svg,.ark-nav a:hover .ark-nav-icon svg,.ark-system-links a:hover span svg,.ark-mobile-nav a.active .ark-mobile-nav-icon svg{stroke:currentColor}
