:root{--kkcc-navy:#102744;--kkcc-navy2:#173e64;--kkcc-gold:#c7a45a;--kkcc-ink:#182d43;--kkcc-muted:#6e8093;--kkcc-line:#e1e8f0;--kkcc-bg:#f4f7fb}
body.kkcs-control-center-page{margin:0!important;background:var(--kkcc-bg)!important;color:var(--kkcc-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.kkcs-control-center-page #wpadminbar,body.kkcs-control-center-page .site-header,body.kkcs-control-center-page #masthead,body.kkcs-control-center-page .site-footer,body.kkcs-control-center-page #colophon,body.kkcs-control-center-page .wp-site-blocks>header,body.kkcs-control-center-page .wp-site-blocks>footer{display:none!important}
body.kkcs-control-center-page #page,body.kkcs-control-center-page .site,body.kkcs-control-center-page #content,body.kkcs-control-center-page .site-content,body.kkcs-control-center-page .content-area,body.kkcs-control-center-page .entry-content,body.kkcs-control-center-page .wp-site-blocks,body.kkcs-control-center-page main{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body.kkcs-control-center-page .entry-header,body.kkcs-control-center-page .entry-footer,body.kkcs-control-center-page .page-header{display:none!important}body.kkcs-control-center-page .entry-content>*{max-width:none!important}
.kkcs-control-app{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh;background:var(--kkcc-bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--kkcc-ink)}
.kkcs-control-sidebar{position:sticky;top:0;height:100vh;overflow:auto;box-sizing:border-box;padding:22px 15px;background:linear-gradient(180deg,#102744 0%,#0d2037 100%);color:#fff;display:flex;flex-direction:column;z-index:20}
.kkcs-control-brand{display:flex;align-items:center;gap:11px;padding:5px 9px 25px;color:#fff!important;text-decoration:none!important;border-bottom:1px solid rgba(255,255,255,.13)}.kkcs-control-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#fff,#e9edf3);color:var(--kkcc-navy);font-family:Georgia,serif;font-weight:900;font-size:27px;box-shadow:0 5px 18px rgba(0,0,0,.2)}.kkcs-control-brand b{display:block;font-size:17px;letter-spacing:.2px}.kkcs-control-brand small{display:block;margin-top:3px;color:#d8c28c;font-size:9px;letter-spacing:1.4px;font-weight:800}.kkcs-control-nav-label{padding:23px 11px 9px;color:#8fa6bd;font-size:9px;font-weight:900;letter-spacing:1.8px}.kkcs-control-sidebar nav{display:flex;flex-direction:column;gap:5px}.kkcs-control-nav-link{display:flex;align-items:center;gap:11px;padding:11px 10px;border:1px solid transparent;border-radius:11px;color:#dce6f0!important;text-decoration:none!important;transition:background .15s,border-color .15s}.kkcs-control-nav-link:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.08)}.kkcs-control-nav-link.is-active{background:linear-gradient(100deg,rgba(202,166,88,.22),rgba(255,255,255,.07));border-color:rgba(202,166,88,.4);color:#fff!important}.kkcs-control-nav-icon{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.08);color:#e4c77e;font-size:17px}.kkcs-control-nav-link.is-active .kkcs-control-nav-icon{background:var(--kkcc-gold);color:#172b42}.kkcs-control-nav-link b{display:block;font-size:12px;font-weight:750}.kkcs-control-nav-link small{display:block;margin-top:3px;color:#9eb1c4;font-size:9px;line-height:1.3}.kkcs-control-sidebar-foot{display:flex;align-items:center;gap:8px;margin-top:auto;padding:18px 10px 0;color:#a9c3b3;font-size:10px}.kkcs-control-status-dot{width:7px;height:7px;border-radius:50%;background:#55c58a;box-shadow:0 0 0 4px rgba(85,197,138,.12)}
.kkcs-control-main{min-width:0;display:flex;flex-direction:column}.kkcs-control-topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px clamp(20px,3vw,42px);background:#fff;border-bottom:1px solid var(--kkcc-line)}.kkcs-control-eyebrow{color:#a77d29;font-size:9px;font-weight:900;letter-spacing:1.7px}.kkcs-control-topbar h1{margin:5px 0 0!important;color:var(--kkcc-navy)!important;font-size:27px!important;line-height:1.2!important;font-weight:800!important}.kkcs-control-user{display:flex;align-items:center;gap:10px}.kkcs-control-avatar{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#f6eedc;color:#8e6921;font-size:15px;font-weight:900}.kkcs-control-user b{display:block;font-size:11px;color:#213950}.kkcs-control-user small{display:block;margin-top:3px;color:#7a8b9b;font-size:9px}.kkcs-control-user>a{margin-left:9px;color:#526b82!important;font-size:11px;font-weight:750;text-decoration:none!important}.kkcs-control-user>a:hover{color:#9a7429!important}.kkcs-control-content{width:100%;max-width:1600px;box-sizing:border-box;padding:25px clamp(18px,3vw,42px);margin:0 auto;flex:1}.kkcs-control-content .wrap.kkcs-wrap,.kkcs-control-content>.wrap{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}.kkcs-control-content .kkcs-top{margin-top:0}.kkcs-control-content .kkcs-top h1{display:none}.kkcs-control-content .kkcs-top{margin-bottom:16px}.kkcs-control-content .notice{border-radius:10px;padding:8px 13px}.kkcs-control-content .widefat{border:0!important}.kkcs-control-content .widefat th{font-size:11px;color:#66788c;text-transform:uppercase;letter-spacing:.45px}.kkcs-control-content .widefat td{font-size:12px;padding:13px 11px;vertical-align:middle}.kkcs-control-content .widefat.striped>tbody>:nth-child(odd){background:#f6f8fb}.kkcs-control-content .button,.kkcs-control-content button{border-radius:9px!important;min-height:38px!important;padding:6px 14px!important;font-weight:750!important}.kkcs-control-content input:not([type=checkbox]):not([type=hidden]),.kkcs-control-content select,.kkcs-control-content textarea{max-width:100%;min-height:42px;border:1px solid #d8e1eb;border-radius:9px;padding:8px 11px;box-shadow:none}.kkcs-control-content input:focus,.kkcs-control-content select:focus,.kkcs-control-content textarea:focus{border-color:#b99a56;box-shadow:0 0 0 3px rgba(199,164,90,.14);outline:0}.kkcs-control-content .form-table th{width:180px;padding:16px 10px 16px 0}.kkcs-control-content .form-table td{padding:11px 10px}.kkcs-control-content .form-table .regular-text{width:min(100%,460px)}.kkcs-control-content hr{border:0;border-top:1px solid var(--kkcc-line);margin:26px 0}.kkcs-control-footer{padding:15px clamp(20px,3vw,42px);border-top:1px solid var(--kkcc-line);background:#fff;color:#8291a0;font-size:10px}.kkcs-control-footer span{padding:0 5px;color:var(--kkcc-gold)}.kkcs-control-login{max-width:480px;margin:12vh auto;padding:32px;background:#fff;border:1px solid var(--kkcc-line);border-radius:20px;box-shadow:0 20px 60px rgba(16,39,68,.1);font-family:Inter,sans-serif}.kkcs-control-login h1{color:var(--kkcc-navy);font-size:26px}.kkcs-control-primary{display:inline-flex;padding:12px 17px;border-radius:10px;background:var(--kkcc-navy);color:#fff!important;text-decoration:none!important;font-weight:800}
@media(max-width:980px){.kkcs-control-app{grid-template-columns:210px minmax(0,1fr)}.kkcs-control-sidebar{padding:18px 10px}.kkcs-control-nav-link{padding:10px 8px}.kkcs-control-nav-link small{display:none}.kkcs-control-content{padding:20px}.kkcs-control-topbar{padding:20px}}
@media(max-width:700px){.kkcs-control-app{display:block}.kkcs-control-sidebar{position:relative;height:auto;padding:12px;overflow:visible}.kkcs-control-brand{padding:3px 5px 12px}.kkcs-control-mark{width:37px;height:37px;font-size:23px}.kkcs-control-nav-label{padding:13px 5px 7px}.kkcs-control-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.kkcs-control-nav-link{padding:8px 7px;gap:7px}.kkcs-control-nav-icon{width:28px;height:28px;flex-basis:28px;font-size:14px}.kkcs-control-nav-link b{font-size:10px}.kkcs-control-sidebar-foot{padding:11px 5px 0}.kkcs-control-topbar{align-items:flex-start;flex-direction:column;padding:17px 16px;gap:12px}.kkcs-control-topbar h1{font-size:23px!important}.kkcs-control-user{width:100%}.kkcs-control-content{padding:15px 12px}.kkcs-control-content .kkcs-admin-grid,.kkcs-control-content .kkcs-main-grid,.kkcs-control-content .kkcs-scanner-layout{grid-template-columns:1fr}.kkcs-control-content .kkcs-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.kkcs-control-content .kkcs-card{padding:13px}.kkcs-control-content .kkcs-card strong{font-size:25px}.kkcs-control-content .kkcs-panel{padding:15px}.kkcs-control-content .form-table,.kkcs-control-content .form-table tbody,.kkcs-control-content .form-table tr,.kkcs-control-content .form-table th,.kkcs-control-content .form-table td{display:block;width:100%;box-sizing:border-box}.kkcs-control-content .form-table th{padding:12px 0 3px}.kkcs-control-content .form-table td{padding:4px 0 10px}.kkcs-control-content .widefat{min-width:680px}.kkcs-control-content .kkcs-table-wrap{overflow-x:auto}.kkcs-control-content .kkcs-admin-filters{flex-direction:column;align-items:stretch}.kkcs-control-content .kkcs-admin-filters>*{width:100%;box-sizing:border-box}.kkcs-control-footer{padding:13px 15px}}
/* Theme-specific chrome removal for the dedicated control center page */
body.kkcs-control-center-page #main-header,body.kkcs-control-center-page #top-header,body.kkcs-control-center-page #main-footer,body.kkcs-control-center-page .et-l--header,body.kkcs-control-center-page .et-l--footer{display:none!important}
body.kkcs-control-center-page .kkcs-control-content .wrap>h1{display:none!important}


/* v0.5.3: true full-width app canvas, remove theme/widget sidebars, improve event picker and buttons */
body.kkcs-control-center-page #secondary,
body.kkcs-control-center-page #sidebar,
body.kkcs-control-center-page aside.widget-area,
body.kkcs-control-center-page .widget-area,
body.kkcs-control-center-page .et_pb_sidebar,
body.kkcs-control-center-page .et_pb_widget_area,
body.kkcs-control-center-page .sidebar,
body.kkcs-control-center-page .recent-comments-widget,
body.kkcs-control-center-page .widget_recent_comments,
body.kkcs-control-center-page .et_pb_widget{display:none!important}
body.kkcs-control-center-page #primary,
body.kkcs-control-center-page #main-content,
body.kkcs-control-center-page .et_pb_post,
body.kkcs-control-center-page .et_pb_pagebuilder_layout,
body.kkcs-control-center-page .et_pb_section,
body.kkcs-control-center-page .et_pb_row,
body.kkcs-control-center-page .et_pb_column,
body.kkcs-control-center-page .container,
body.kkcs-control-center-page .content-container{width:100%!important;max-width:none!important;float:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}
body.kkcs-control-center-page .et_pb_row{display:block!important}
body.kkcs-control-center-page .et_pb_column{margin-right:0!important}
body.kkcs-control-center-page .kkcs-control-app{width:100%;max-width:none;min-height:100vh;overflow-x:clip}
body.kkcs-control-center-page .kkcs-control-main{width:100%;min-width:0}
body.kkcs-control-center-page .kkcs-control-content{width:100%;max-width:1800px;min-width:0}
body.kkcs-control-center-page .kkcs-control-content button.button-primary,
body.kkcs-control-center-page .kkcs-control-content input.button-primary,
body.kkcs-control-center-page .kkcs-control-content a.button-primary,
body.kkcs-control-center-page .kkcs-control-content .kkcs-button,
body.kkcs-control-center-page .kkcs-control-content .button.button-primary{background:#173e64!important;background-color:#173e64!important;border-color:#173e64!important;color:#fff!important;text-shadow:none!important;box-shadow:0 3px 8px rgba(16,39,68,.12)!important}
body.kkcs-control-center-page .kkcs-control-content button.button-primary:hover,
body.kkcs-control-center-page .kkcs-control-content input.button-primary:hover,
body.kkcs-control-center-page .kkcs-control-content a.button-primary:hover,
body.kkcs-control-center-page .kkcs-control-content .kkcs-button:hover,
body.kkcs-control-center-page .kkcs-control-content .button.button-primary:hover{background:#102744!important;background-color:#102744!important;border-color:#102744!important;color:#fff!important}
body.kkcs-control-center-page .kkcs-control-content .kkcs-event-picker-simple{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);align-items:center;gap:28px;width:100%;box-sizing:border-box}
body.kkcs-control-center-page .kkcs-control-content .kkcs-event-picker-simple>div{min-width:0;overflow-wrap:anywhere}
body.kkcs-control-center-page .kkcs-control-content .kkcs-event-picker-simple h2{font-size:clamp(20px,2vw,28px);line-height:1.2;overflow-wrap:anywhere}
body.kkcs-control-center-page .kkcs-control-content .kkcs-event-select-form{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px;min-width:0;width:100%;margin:0!important}
body.kkcs-control-center-page .kkcs-control-content .kkcs-event-select-form label{display:block;margin:0!important}
body.kkcs-control-center-page .kkcs-control-content .kkcs-event-select-form select{display:block;width:100%;min-width:0;box-sizing:border-box}
body.kkcs-control-center-page .kkcs-control-content .kkcs-event-select-form button{width:max-content;max-width:100%;white-space:normal;line-height:1.35;padding:10px 16px!important}
body.kkcs-control-center-page .kkcs-control-content .kkcs-event-select-form button,
body.kkcs-control-center-page .kkcs-control-content .kkcs-event-select-form button *{color:#fff!important}
@media(max-width:900px){body.kkcs-control-center-page .kkcs-control-content .kkcs-event-picker-simple{grid-template-columns:minmax(0,1fr);gap:18px}}
@media(max-width:700px){body.kkcs-control-center-page .kkcs-control-app{width:100%;margin:0!important}.kkcs-control-center-page .kkcs-control-content{padding:15px 12px}.kkcs-control-center-page .kkcs-control-content .kkcs-event-picker-simple{padding:17px!important}.kkcs-control-center-page .kkcs-control-content .kkcs-event-select-form button{width:100%}}

/* v0.5.4: remove the empty Divi/theme column that leaves a large blank strip beside the app */
body.kkcs-control-center-page #et-main-area,
body.kkcs-control-center-page #main-content,
body.kkcs-control-center-page #content-area,
body.kkcs-control-center-page #left-area,
body.kkcs-control-center-page #primary,
body.kkcs-control-center-page .site-main,
body.kkcs-control-center-page .content-area,
body.kkcs-control-center-page .entry-content,
body.kkcs-control-center-page .et_builder_inner_content,
body.kkcs-control-center-page .et_pb_post,
body.kkcs-control-center-page .et_pb_pagebuilder_layout,
body.kkcs-control-center-page .et_pb_section,
body.kkcs-control-center-page .et_pb_row,
body.kkcs-control-center-page .et_pb_column,
body.kkcs-control-center-page .container,
body.kkcs-control-center-page .content-container {
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}
body.kkcs-control-center-page #sidebar,
body.kkcs-control-center-page #secondary,
body.kkcs-control-center-page .et_pb_sidebar,
body.kkcs-control-center-page .et_pb_widget_area,
body.kkcs-control-center-page .widget-area {display:none!important;width:0!important;max-width:0!important;}
body.kkcs-control-center-page .et_pb_row:has(.kkcs-control-app) > .et_pb_column:not(:has(.kkcs-control-app)),
body.kkcs-control-center-page .et_pb_row:has(.kkcs-control-app) > [class*="et_pb_column"]:not(:has(.kkcs-control-app)) {display:none!important;width:0!important;max-width:0!important;}
body.kkcs-control-center-page .kkcs-control-app {display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;width:100%!important;max-width:none!important;min-height:100vh;}
body.kkcs-control-center-page .kkcs-control-main {width:100%!important;max-width:none!important;min-width:0!important;}
body.kkcs-control-center-page .kkcs-control-content {width:100%!important;max-width:none!important;margin:0!important;min-width:0!important;}
@media(max-width:980px){body.kkcs-control-center-page .kkcs-control-app{grid-template-columns:210px minmax(0,1fr)!important}}
@media(max-width:700px){body.kkcs-control-center-page .kkcs-control-app{display:block!important;width:100%!important}body.kkcs-control-center-page .kkcs-control-content{width:100%!important;max-width:none!important}}

/* v0.5.5: remove the stray vertical divider/border from the surrounding WordPress/Divi layout */
body.kkcs-control-center-page #et-main-area,
body.kkcs-control-center-page #main-content,
body.kkcs-control-center-page #content-area,
body.kkcs-control-center-page #left-area,
body.kkcs-control-center-page #primary,
body.kkcs-control-center-page .site-main,
body.kkcs-control-center-page .content-area,
body.kkcs-control-center-page .entry-content,
body.kkcs-control-center-page .et_builder_inner_content,
body.kkcs-control-center-page .et_pb_post,
body.kkcs-control-center-page .et_pb_pagebuilder_layout,
body.kkcs-control-center-page .et_pb_section,
body.kkcs-control-center-page .et_pb_row,
body.kkcs-control-center-page .et_pb_column,
body.kkcs-control-center-page .container,
body.kkcs-control-center-page .content-container {
  border:0!important;
  border-left:0!important;
  border-right:0!important;
  box-shadow:none!important;
  outline:0!important;
}

/* v0.5.6: break out of constrained theme content wrappers on the Control Center page.
   The stray vertical line is typically the right edge of a fixed-width Divi/WordPress
   content container, not a border on the KardKo app itself. */
html:has(body.kkcs-control-center-page),
body.kkcs-control-center-page {
  width:100%!important; max-width:none!important; margin:0!important; padding:0!important;
  overflow-x:hidden!important;
}
body.kkcs-control-center-page #page,
body.kkcs-control-center-page #et-boc,
body.kkcs-control-center-page #et-main-area,
body.kkcs-control-center-page #main-content,
body.kkcs-control-center-page #content,
body.kkcs-control-center-page #content-area,
body.kkcs-control-center-page #left-area,
body.kkcs-control-center-page .site,
body.kkcs-control-center-page .site-content,
body.kkcs-control-center-page .content-area,
body.kkcs-control-center-page .site-main,
body.kkcs-control-center-page .entry,
body.kkcs-control-center-page article.page,
body.kkcs-control-center-page .entry-content,
body.kkcs-control-center-page .et_builder_inner_content,
body.kkcs-control-center-page .et-l,
body.kkcs-control-center-page .et-l--post,
body.kkcs-control-center-page .et_builder_outer_content {
  width:100%!important; max-width:none!important; min-width:0!important;
  margin-left:0!important; margin-right:0!important; padding-left:0!important; padding-right:0!important;
  border-left:0!important; border-right:0!important; box-shadow:none!important;
  box-sizing:border-box!important; float:none!important;
}
body.kkcs-control-center-page #page,
body.kkcs-control-center-page #et-boc,
body.kkcs-control-center-page #et-main-area,
body.kkcs-control-center-page #main-content,
body.kkcs-control-center-page .site-content,
body.kkcs-control-center-page .content-area { display:block!important; }
body.kkcs-control-center-page .entry-title,
body.kkcs-control-center-page .et_pb_title_container,
body.kkcs-control-center-page .et_post_meta_wrapper,
body.kkcs-control-center-page .entry-header,
body.kkcs-control-center-page .et-l--header,
body.kkcs-control-center-page .et-l--footer { display:none!important; }
body.kkcs-control-center-page .kkcs-control-app {
  display:grid!important; grid-template-columns:260px minmax(0,1fr)!important;
  width:100%!important; max-width:none!important; margin:0!important; border:0!important; box-shadow:none!important;
}
body.kkcs-control-center-page .kkcs-control-main,
body.kkcs-control-center-page .kkcs-control-topbar,
body.kkcs-control-center-page .kkcs-control-content,
body.kkcs-control-center-page .kkcs-control-footer { min-width:0!important; max-width:none!important; }
@media(max-width:980px) { body.kkcs-control-center-page .kkcs-control-app { grid-template-columns:210px minmax(0,1fr)!important; } }
@media(max-width:700px) { body.kkcs-control-center-page .kkcs-control-app { display:block!important; grid-template-columns:minmax(0,1fr)!important; } }


/* v0.5.7: robust full-viewport breakout from Divi's constrained 80% content row.
   The persistent vertical line is the theme column edge, so the app itself must
   escape that constrained row rather than only clearing the row's border. */
body.kkcs-control-center-page {
  overflow-x:hidden!important;
  padding-top:0!important;
}
body.kkcs-control-center-page #page,
body.kkcs-control-center-page #et-boc,
body.kkcs-control-center-page #et-main-area,
body.kkcs-control-center-page #main-content,
body.kkcs-control-center-page .et_builder_outer_content,
body.kkcs-control-center-page .et-l--post,
body.kkcs-control-center-page .et_pb_section,
body.kkcs-control-center-page .et_pb_row,
body.kkcs-control-center-page .et_pb_column,
body.kkcs-control-center-page .entry-content,
body.kkcs-control-center-page .et_builder_inner_content {
  max-width:none!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
body.kkcs-control-center-page .kkcs-control-app {
  position:relative!important;
  left:50%!important;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:-50vw!important;
  margin-right:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:var(--kkcc-bg,#f4f7fb)!important;
  grid-template-columns:280px minmax(0,1fr)!important;
  box-sizing:border-box!important;
  z-index:2!important;
}
body.kkcs-control-center-page .kkcs-control-sidebar {
  width:280px!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.kkcs-control-center-page .kkcs-control-main {
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  border:0!important;
  box-shadow:none!important;
}
body.kkcs-control-center-page .kkcs-control-topbar,
body.kkcs-control-center-page .kkcs-control-content,
body.kkcs-control-center-page .kkcs-control-footer {
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
/* Hide theme-generated page title/header remnants outside the app. */
body.kkcs-control-center-page .entry-title,
body.kkcs-control-center-page .page-title,
body.kkcs-control-center-page .et_pb_title_container,
body.kkcs-control-center-page .et_post_meta_wrapper,
body.kkcs-control-center-page .entry-header,
body.kkcs-control-center-page .page-header,
body.kkcs-control-center-page .et-l--header,
body.kkcs-control-center-page .et-l--footer,
body.kkcs-control-center-page .et_builder_inner_content > .et_pb_section:not(:has(.kkcs-control-app)),
body.kkcs-control-center-page .et_pb_section:not(:has(.kkcs-control-app)) {
  display:none!important;
}
@media(max-width:1100px) {
  body.kkcs-control-center-page .kkcs-control-app {
    grid-template-columns:240px minmax(0,1fr)!important;
  }
  body.kkcs-control-center-page .kkcs-control-sidebar {width:240px!important;}
}
@media(max-width:700px) {
  body.kkcs-control-center-page .kkcs-control-app {
    display:block!important;
    width:100vw!important;
    max-width:100vw!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.kkcs-control-center-page .kkcs-control-sidebar {
    width:100%!important;
    max-width:100%!important;
  }
}




/* v0.5.9: safe top-gap cleanup. Do not hide theme sections/rows/columns wholesale,
   because WordPress themes can wrap the shortcode in those elements and blank the app. */
html:has(body.kkcs-control-center-page),
body.kkcs-control-center-page {
  margin:0!important;
  padding:0!important;
  min-height:0!important;
  overflow-x:hidden!important;
}
body.kkcs-control-center-page #page,
body.kkcs-control-center-page #et-boc,
body.kkcs-control-center-page #et-main-area,
body.kkcs-control-center-page #main-content,
body.kkcs-control-center-page .et_builder_outer_content,
body.kkcs-control-center-page .et-l--post,
body.kkcs-control-center-page .et_builder_inner_content,
body.kkcs-control-center-page .entry-content,
body.kkcs-control-center-page article.page {
  margin-top:0!important;
  padding-top:0!important;
  border-top:0!important;
  min-height:0!important;
}
/* Hide only known theme-generated title/header/footer elements; preserve content wrappers. */
body.kkcs-control-center-page .entry-title,
body.kkcs-control-center-page .page-title,
body.kkcs-control-center-page .wp-block-post-title,
body.kkcs-control-center-page .et_pb_post_title,
body.kkcs-control-center-page .et_pb_title_container,
body.kkcs-control-center-page .et_pb_fullwidth_header,
body.kkcs-control-center-page .et_post_meta_wrapper,
body.kkcs-control-center-page .entry-header,
body.kkcs-control-center-page .page-header,
body.kkcs-control-center-page .et-l--header,
body.kkcs-control-center-page .et-l--footer {
  display:none!important;
}
body.kkcs-control-center-page .kkcs-control-app {
  position:relative!important;
  top:0!important;
  margin-top:0!important;
}


/* v0.6.0: full-bleed premium workspace; remove leftover theme title, divider and nested sidebar scrolling. */
html:has(body.kkcs-control-center-page),
body.kkcs-control-center-page {
  margin:0!important;padding:0!important;overflow-x:hidden!important;background:#f4f7fb!important;
}
body.kkcs-control-center-page #wpadminbar,
body.kkcs-control-center-page #main-header,
body.kkcs-control-center-page #top-header,
body.kkcs-control-center-page #main-footer,
body.kkcs-control-center-page #page-container > header,
body.kkcs-control-center-page .site-header,
body.kkcs-control-center-page #masthead,
body.kkcs-control-center-page .entry-header,
body.kkcs-control-center-page .page-header,
body.kkcs-control-center-page .entry-title,
body.kkcs-control-center-page .page-title,
body.kkcs-control-center-page .wp-block-post-title,
body.kkcs-control-center-page .et_pb_post_title,
body.kkcs-control-center-page .et_pb_title_container,
body.kkcs-control-center-page .et_pb_fullwidth_header,
body.kkcs-control-center-page .et_post_meta_wrapper,
body.kkcs-control-center-page .et-l--header,
body.kkcs-control-center-page .et-l--footer,
body.kkcs-control-center-page .site-footer,
body.kkcs-control-center-page #colophon {display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;}
body.kkcs-control-center-page #page-container,
body.kkcs-control-center-page #et-boc,
body.kkcs-control-center-page #et-main-area,
body.kkcs-control-center-page #main-content,
body.kkcs-control-center-page #content-area,
body.kkcs-control-center-page #left-area,
body.kkcs-control-center-page #primary,
body.kkcs-control-center-page article,
body.kkcs-control-center-page .site,
body.kkcs-control-center-page #page,
body.kkcs-control-center-page .site-content,
body.kkcs-control-center-page .content-area,
body.kkcs-control-center-page .entry-content,
body.kkcs-control-center-page .et_builder_outer_content,
body.kkcs-control-center-page .et_builder_inner_content,
body.kkcs-control-center-page .et_pb_post,
body.kkcs-control-center-page .et_pb_pagebuilder_layout,
body.kkcs-control-center-page .container {width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;float:none!important;box-sizing:border-box!important;}
/* Divi uses these pseudo-elements to draw the thin vertical sidebar divider. */
body.kkcs-control-center-page .container:before,
body.kkcs-control-center-page .container:after,
body.kkcs-control-center-page #content-area:before,
body.kkcs-control-center-page #content-area:after,
body.kkcs-control-center-page #main-content:before,
body.kkcs-control-center-page #main-content:after {display:none!important;content:none!important;border:0!important;box-shadow:none!important;}
body.kkcs-control-center-page #sidebar,
body.kkcs-control-center-page #secondary,
body.kkcs-control-center-page .et_pb_sidebar,
body.kkcs-control-center-page .et_pb_widget_area,
body.kkcs-control-center-page .widget-area {display:none!important;width:0!important;max-width:0!important;border:0!important;}
body.kkcs-control-center-page .kkcs-control-app {position:relative!important;left:auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-height:100vh;grid-template-columns:260px minmax(0,1fr)!important;overflow:visible!important;}
body.kkcs-control-center-page .kkcs-control-sidebar {position:relative!important;top:auto!important;height:auto!important;min-height:100vh;max-height:none!important;overflow:visible!important;overflow-y:visible!important;scrollbar-width:none!important;}
body.kkcs-control-center-page .kkcs-control-sidebar::-webkit-scrollbar {display:none!important;width:0!important;height:0!important;}
body.kkcs-control-center-page .kkcs-control-main {min-width:0!important;width:100%!important;max-width:none!important;border:0!important;box-shadow:none!important;}
body.kkcs-control-center-page .kkcs-control-topbar {margin:0!important;padding-top:22px!important;border-top:0!important;}
body.kkcs-control-center-page .kkcs-control-content {width:100%!important;max-width:none!important;margin:0!important;}
@media(max-width:980px) {
 body.kkcs-control-center-page .kkcs-control-app {grid-template-columns:220px minmax(0,1fr)!important;}
 body.kkcs-control-center-page .kkcs-control-sidebar {width:220px!important;}
}
@media(max-width:700px) {
 body.kkcs-control-center-page .kkcs-control-app {display:block!important;width:100%!important;grid-template-columns:minmax(0,1fr)!important;}
 body.kkcs-control-center-page .kkcs-control-sidebar {width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;}
 body.kkcs-control-center-page .kkcs-control-topbar {padding:17px 15px!important;}
 body.kkcs-control-center-page .kkcs-control-content {padding:15px 12px!important;}
}

/* Business Cards app navigation must not appear inside the Events control center. */
body.kkcs-control-center-page .kardko-bottom-nav,
body.kkcs-control-center-page #kardko-bottom-nav,
body.kkcs-control-center-page .kk-bottom-nav,
body.kkcs-control-center-page .kk-mobile-nav,
body.kkcs-control-center-page .mobile-bottom-nav,
body.kkcs-control-center-page .bottom-navigation,
body.kkcs-control-center-page .app-bottom-nav,
body.kkcs-control-center-page .kardko-mobile-navigation,
body.kkcs-control-center-page nav.kardko-mobile-menu,
body.kkcs-control-center-page [class*="bottom-nav"],
body.kkcs-control-center-page [id*="bottom-nav"],
body.kkcs-control-center-page [class*="mobile-nav"],
body.kkcs-control-center-page [id*="mobile-nav"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


/* v0.9.6 LIVE CONTROL CENTER FIX:
   The previous Divi compatibility overrides hid .entry-content itself.
   Since the Control Center shortcode is rendered inside that wrapper, the
   whole dashboard disappeared for logged-in administrators. Restore only
   the content wrapper on this page while continuing to hide theme chrome. */
body.kkcs-control-center-page .entry-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.kkcs-control-center-page .entry-content > .kkcs-control-app,
body.kkcs-control-center-page .entry-content .kkcs-control-app {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}
@media (max-width: 700px) {
  body.kkcs-control-center-page .entry-content .kkcs-control-app {
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
}


/* v0.9.7: Do not hide the first Divi section. The shortcode output is nested
   inside that section, so hiding the section makes the entire live dashboard blank. */
body.kkcs-control-center-page .et_builder_inner_content > .et_pb_section:first-child {
  visibility: visible !important;
  opacity: 1 !important;
}
body.kkcs-control-center-page .et_builder_inner_content > .et_pb_section:first-child .kkcs-control-app {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}
