@font-face{
  font-family:'Manrope';
  src:url('../fonts/Manrope-VF.ttf') format('truetype');
  font-weight:200 800;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Comfortaa';
  src:url('../fonts/Comfortaa-Regular.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Comfortaa';
  src:url('../fonts/Comfortaa-Bold.ttf') format('truetype');
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

:root{
  --kkp-accent:#1d3557;
  --kkp-accent-2:#355d8e;
  --kkp-accent-soft:#eef4ff;
  --kkp-bg:#f4f2eb;
  --kkp-surface:#fbfaf7;
  --kkp-surface-2:#ffffff;
  --kkp-surface-soft:#f6f8fc;
  --kkp-border:#d8ddd4;
  --kkp-border-strong:#bcc6d4;
  --kkp-text:#1f2937;
  --kkp-muted:#667085;
  --kkp-success:#0f766e;
  --kkp-warning:#b45309;
  --kkp-danger:#b42318;
  --kkp-shadow-sm:0 10px 24px rgba(15,23,42,.06);
  --kkp-shadow-md:0 16px 38px rgba(15,23,42,.08);
  --kkp-shadow-lg:0 26px 60px rgba(15,23,42,.12);
  --kkp-radius-sm:14px;
  --kkp-radius-md:20px;
  --kkp-radius-lg:30px;
  --kkp-space-1:8px;
  --kkp-space-2:12px;
  --kkp-space-3:16px;
  --kkp-space-4:20px;
  --kkp-space-5:28px;
  --kkp-space-6:40px;
  --kkp-motion-fast:180ms cubic-bezier(.2,.65,.25,1);
  --kkp-motion-medium:220ms cubic-bezier(.2,.65,.25,1);
  --kkp-motion-slow:320ms cubic-bezier(.2,.65,.25,1);
  --kkp-focus:0 0 0 4px rgba(53,93,142,.16);
  --kkp-topbar-h:88px;
}

html{scroll-behavior:smooth}
body.kkp-shell-page{
  margin:0;
  overflow-x:hidden;
  background:
    radial-gradient(circle at top left, rgba(53,93,142,.09) 0%, rgba(53,93,142,0) 28%),
    linear-gradient(180deg, #f8f7f2 0%, #f2f0e8 100%);
  color:var(--kkp-text);
  font-family:'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body.kkp-shell-page #page,
body.kkp-shell-page .site,
body.kkp-shell-page .site-content,
body.kkp-shell-page .content-area,
body.kkp-shell-page .site-main,
body.kkp-shell-page .container,
body.kkp-shell-page .et-l,
body.kkp-shell-page .et-db #et-boc,
body.kkp-shell-page #et-main-area,
body.kkp-shell-page #content-area,
body.kkp-shell-page #left-area{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  float:none;
}
body.kkp-shell-page #main-content,
body.kkp-shell-page article,
body.kkp-shell-page .entry-content,
body.kkp-shell-page .container,
body.kkp-shell-page .et-l,
body.kkp-shell-page .et-db #et-boc,
body.kkp-shell-page #et-main-area,
body.kkp-shell-page #content-area,
body.kkp-shell-page #left-area{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  float:none;
}
body.kkp-shell-page #main-content .container::before{display:none!important}
body.kkp-shell-page #main-content>.container{width:100%;max-width:none;padding:0}
body.kkp-shell-page #left-area{padding-right:0;border-right:0}
body.kkp-shell-page #masthead,
body.kkp-shell-page #colophon,
body.kkp-shell-page #top-header,
body.kkp-shell-page #main-header,
body.kkp-shell-page .site-header,
body.kkp-shell-page .site-footer,
body.kkp-shell-page .header,
body.kkp-shell-page .footer,
body.kkp-shell-page .main-navigation,
body.kkp-shell-page .primary-navigation,
body.kkp-shell-page .secondary-navigation,
body.kkp-shell-page .nav-menu,
body.kkp-shell-page .wp-block-navigation,
body.kkp-shell-page .elementor-location-header,
body.kkp-shell-page .elementor-location-footer,
body.kkp-shell-page .et-l--header,
body.kkp-shell-page .et-l--footer{
  display:none!important;
}
body.kkp-shell-page #sidebar,
body.kkp-shell-page #secondary,
body.kkp-shell-page .sidebar,
body.kkp-shell-page .widget-area,
body.kkp-shell-page .wp-block-search,
body.kkp-shell-page .wp-block-latest-comments,
body.kkp-shell-page .widget_recent_comments,
body.kkp-shell-page .wp-block-latest-posts,
body.kkp-shell-page #comments,
body.kkp-shell-page .comments-area{
  display:none!important;
}

body.kkp-app-template{
  min-height:100vh;
  overflow-x:hidden;
  background:
    radial-gradient(circle at top left, rgba(53,93,142,.09) 0%, rgba(53,93,142,0) 28%),
    linear-gradient(180deg, #f8f7f2 0%, #f2f0e8 100%);
  color:var(--kkp-text);
  font-family:'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.kkp-app-root{
  min-height:100vh;
}

.kkp-login-wrap,
.kkp-app,
.kkp-app *{
  box-sizing:border-box;
}

.kkp-login-wrap,
.kkp-app{
  font-family:'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color:var(--kkp-text);
}

body.kkp-nav-lock{
  overflow:hidden;
  touch-action:none;
}

.kkp-login-wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(24px, 4vw, 48px);
}

.kkp-login-layout{
  width:min(100%, 1180px);
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
  gap:18px;
  align-items:stretch;
}

.kkp-login-hero,
.kkp-login-panel{
  padding:clamp(22px, 3vw, 34px);
  border-radius:30px;
  border:1px solid rgba(188,198,212,.58);
  background:linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(245,247,252,.92) 100%);
  box-shadow:var(--kkp-shadow-md);
}

.kkp-login-hero{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:20px;
  background:
    radial-gradient(circle at top right, rgba(53,93,142,.07) 0%, rgba(53,93,142,0) 24%),
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(246,248,252,.96) 100%);
}

.kkp-login-hero h2{
  margin:8px 0 0;
  font-size:clamp(30px, 4.2vw, 50px);
  line-height:1.04;
  letter-spacing:-.05em;
  color:#10233b;
  max-width:13ch;
}

.kkp-login-hero p{
  margin:10px 0 0;
  color:var(--kkp-muted);
  font-size:15px;
  line-height:1.72;
  max-width:56ch;
}

.kkp-login-hero-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.kkp-login-hero-list .kkp-mini-pill{
  justify-content:center;
  min-height:40px;
  text-align:center;
  padding:10px 12px;
  background:#fff;
}

.kkp-login-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.kkp-app{
  min-height:100vh;
  width:min(100%, 1760px);
  margin:0 auto;
  padding:clamp(16px, 2vw, 28px);
  position:relative;
  opacity:1;
  transform:none;
  transition:opacity var(--kkp-motion-slow), transform var(--kkp-motion-slow);
}

.kkp-app.is-ready{
  opacity:1;
  transform:none;
}

.kkp-app-topbar{
  position:sticky;
  top:0;
  z-index:30;
  min-height:var(--kkp-topbar-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 22px;
  border:1px solid rgba(255,255,255,.74);
  border-radius:28px;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(18px);
  box-shadow:var(--kkp-shadow-sm);
}

.kkp-app-topbar-brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:14px;
}

.kkp-app-brandmark{
  width:52px;
  height:52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(255,255,255,.9) 0%, rgba(238,244,255,.96) 100%);
  border:1px solid rgba(29,53,87,.12);
  overflow:hidden;
  box-shadow:0 6px 16px rgba(15,23,42,.08);
}
.kkp-app-brandmark img{width:100%;height:100%;object-fit:contain}
.kkp-app-brandmark-fallback{
  width:26px;
  height:26px;
  border-radius:10px;
  background:linear-gradient(135deg, var(--kkp-accent) 0%, var(--kkp-accent-2) 100%);
}

.kkp-app-topbar-copy{min-width:0}
.kkp-app-overline{
  display:block;
  color:#718096;
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.kkp-app-topbar-copy h1{
  margin:2px 0 0;
  font-size:clamp(24px, 2vw, 32px);
  line-height:1.05;
  letter-spacing:-.03em;
  color:#111827;
}
.kkp-app-topbar-copy p{
  margin:6px 0 0;
  color:var(--kkp-muted);
  font-size:14px;
}

.kkp-app-topbar-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.kkp-app-frame{
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:20px;
  margin-top:20px;
  align-items:start;
}

.kkp-app-sidebar{
  position:sticky;
  top:calc(var(--kkp-topbar-h) + 20px);
  align-self:start;
}

.kkp-app-main{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.kkp-view{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.kkp-shell-nav,
.kkp-card,
.kkp-login-card{
  background:rgba(251,250,247,.9);
  border:1px solid rgba(188,198,212,.58);
  border-radius:var(--kkp-radius-lg);
  box-shadow:var(--kkp-shadow-md);
}

.kkp-shell-nav{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:18px;
  backdrop-filter:blur(16px);
}
.kkp-shell-nav-group{display:flex;flex-direction:column;gap:10px}
.kkp-shell-nav-label{
  color:#7b8796;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.kkp-shell-nav-list{display:flex;flex-direction:column;gap:8px}
.kkp-shell-nav-link{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:13px 14px;
  border-radius:18px;
  border:1px solid transparent;
  background:transparent;
  color:#1f2937;
  text-decoration:none;
  transition:transform var(--kkp-motion-fast), background var(--kkp-motion-fast), border-color var(--kkp-motion-fast), box-shadow var(--kkp-motion-fast);
}
.kkp-shell-nav-link:hover{
  transform:translateY(-1px);
  background:#fff;
  border-color:#d7dfea;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.kkp-shell-nav-link.is-active{
  background:linear-gradient(180deg, #294975 0%, var(--kkp-accent) 100%);
  color:#fff;
  border-color:transparent;
  box-shadow:0 18px 34px rgba(29,53,87,.18);
}
.kkp-shell-nav-link.is-secondary{background:#f8f9fb;border-color:#eceff4}
.kkp-shell-nav-link.is-secondary.is-active{background:#eef4ff;color:#17355a;border-color:#cfdcf6}
.kkp-shell-nav-title{font-weight:700;font-size:15px;line-height:1.18}
.kkp-shell-nav-note{color:#748197;font-size:12px;line-height:1.45}
.kkp-shell-nav-link.is-active .kkp-shell-nav-note{color:rgba(255,255,255,.78)}

.kkp-shell-support-card{
  padding:16px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(240,244,251,.96) 100%);
  border:1px solid #e3e8f0;
  display:grid;
  gap:12px;
}
.kkp-shell-support-stat{display:flex;justify-content:space-between;gap:14px;color:#314255}
.kkp-shell-support-stat span{color:var(--kkp-muted);font-size:13px}
.kkp-shell-support-stat strong{font-size:15px;color:#12253f}

.kkp-page-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:18px;
  padding:2px 2px 18px;
  border-bottom:1px solid rgba(196,203,213,.72);
}
.kkp-page-hero-copy{min-width:0;flex:1}
.kkp-page-kicker,
.kkp-card-kicker,
.kkp-hero-kicker{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:6px 11px;
  border-radius:999px;
  background:var(--kkp-accent-soft);
  color:#264267;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.kkp-page-hero h2{
  margin:10px 0 0;
  font-size:clamp(32px, 4vw, 46px);
  line-height:1.02;
  letter-spacing:-.05em;
  color:#111827;
}
.kkp-page-hero p{
  max-width:760px;
  margin:10px 0 0;
  color:var(--kkp-muted);
  font-size:15px;
  line-height:1.7;
}
.kkp-page-hero-pills,
.kkp-dashboard-band,
.kkp-inline-tags,
.kkp-button-row,
.kkp-pdf-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.kkp-page-hero-pills{margin-top:16px}
.kkp-page-hero-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.kkp-card,
.kkp-login-card{
  padding:clamp(18px, 2vw, 28px);
  width:100%;
}
.kkp-card h3,
.kkp-card h4,
.kkp-login-card h3{
  margin:0;
  color:#111827;
  letter-spacing:-.03em;
}
.kkp-card h3{font-size:clamp(24px, 2vw, 34px);line-height:1.06;margin-top:10px}
.kkp-card h4{font-size:18px;line-height:1.2;margin-bottom:10px}
.kkp-muted{color:var(--kkp-muted)}
.kkp-rich-copy,
.kkp-flow-note{margin-top:8px;color:#4c5a6e;line-height:1.75;font-size:14px}
.kkp-flow-note strong,.kkp-rich-copy strong{color:#1f2937}
.kkp-text-danger{color:#b42318}
.kkp-spacing-top{margin-top:14px}
.kkp-spacing-top-sm{margin-top:10px}
.kkp-spacing-bottom{margin-bottom:14px}
.kkp-inline-action{margin-top:10px}
.kkp-card-soft{
  background:linear-gradient(180deg, #f8fbff 0%, #f2f6fe 100%);
  border-color:#d3e0f0;
}

.kkp-login-card{max-width:560px;width:min(100%,560px)}
.kkp-brand{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.kkp-logo,.kkp-logo-fallback{width:54px;height:54px;border-radius:16px;object-fit:contain;background:linear-gradient(135deg, var(--kkp-accent) 0%, var(--kkp-accent-2) 100%)}
.kkp-brand-title{font-family:'Comfortaa','Manrope',sans-serif;font-weight:700;font-size:20px;color:#13263f}
.kkp-brand-subtitle{margin-top:4px;color:var(--kkp-muted);font-size:14px}
.kkp-login-hints{margin:10px 0 0 18px;padding:0}
.kkp-login-hints li{margin:6px 0;color:#506174;line-height:1.6}

.kkp-login-form label,
.kkp-field label{display:block;margin-bottom:6px;font-size:13px;font-weight:700;color:#223247}
.kkp-field-span-full{grid-column:1 / -1}
.kkp-login-form input[type="text"],
.kkp-login-form input[type="password"],
.kkp-field input[type="text"],
.kkp-field input[type="email"],
.kkp-field input[type="date"],
.kkp-field input[type="number"],
.kkp-field input[type="password"],
.kkp-field select,
.kkp-field textarea,
.kkp-request-form textarea,
.kkp-ticket-reply-form textarea,
.kkp-ai-form textarea{
  width:100%;
  max-width:100%;
  min-height:46px;
  padding:12px 14px;
  border:1px solid #d7dde8;
  border-radius:18px;
  background:linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color:#1f2937;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(15,23,42,.03);
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.kkp-field textarea,
.kkp-request-form textarea,
.kkp-ticket-reply-form textarea,
.kkp-ai-form textarea{min-height:128px;line-height:1.6;resize:vertical}
.kkp-request-form input[type="file"],
.kkp-ticket-reply-form input[type="file"]{display:block;margin-top:10px}
.kkp-login-form input[type="text"]:focus,
.kkp-login-form input[type="password"]:focus,
.kkp-field input:focus,
.kkp-field select:focus,
.kkp-field textarea:focus,
.kkp-request-form textarea:focus,
.kkp-ticket-reply-form textarea:focus,
.kkp-ai-form textarea:focus{outline:none;border-color:var(--kkp-accent-2);box-shadow:var(--kkp-focus)}

.kkp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.kkp-form-actions{margin-top:14px}
.kkp-composer-form{display:flex;flex-direction:column;gap:14px}
.kkp-inline-form + .kkp-inline-form{margin-left:6px}
.kkp-manager-form-sections{display:grid;gap:16px}
.kkp-manager-form-sections .kkp-card-soft{padding:22px}
.kkp-manager-form-sections h4{margin:0 0 8px;font-size:18px;line-height:1.3;color:#10233c}
.kkp-manager-ticket-editor{display:block}
.kkp-manager-ticket-form{display:flex;flex-direction:column;gap:22px}
.kkp-manager-ticket-form hr{border:0;border-top:1px solid #dce5f1;margin:24px 0}
.kkp-manager-ticket-form h4{margin:0 0 10px;font-size:20px;line-height:1.25;color:#13263f}
.kkp-manager-ticket-form .button,
.kkp-manager-ticket-form .button-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid #cbd7e8;
  background:#fff;
  color:#203856;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}
.kkp-manager-ticket-form .button-secondary{background:#f6f9fd}
.kkp-manager-ticket-form .button-link-delete{color:#b42318;font-weight:800}
.kkp-sticky-actions{
  position:sticky;
  bottom:18px;
  z-index:5;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:18px;
  padding:14px;
  border:1px solid rgba(188,198,212,.64);
  border-radius:24px;
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 40px rgba(15,23,42,.14);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.kkp-customer-dossier-head .kkp-kpis{margin-top:18px}
.kkp-choice{display:flex;gap:10px;align-items:flex-start;line-height:1.45}
.kkp-choice input[type="checkbox"]{margin-top:3px}
.kkp-multi-select{min-height:180px}
.kkp-selection-list{display:grid;gap:10px}
.kkp-selection-item{
  padding:14px 16px;
  border:1px solid #d7e2f0;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(247,250,255,.92));
  box-shadow:0 8px 22px rgba(15,23,42,.05);
}
.kkp-selection-item strong{display:block;margin-bottom:4px;color:#10233c}
.kkp-selection-item span{display:block;color:#58687d;line-height:1.5}

.kkp-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid transparent;
  background:linear-gradient(180deg, #2d507f 0%, var(--kkp-accent) 100%);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  letter-spacing:-.01em;
  box-shadow:0 12px 24px rgba(29,53,87,.16);
  transition:transform var(--kkp-motion-fast), box-shadow var(--kkp-motion-fast), filter var(--kkp-motion-fast), background var(--kkp-motion-fast);
}
.kkp-button:hover{transform:translateY(-1px);filter:brightness(.98);box-shadow:0 16px 28px rgba(29,53,87,.2)}
.kkp-button:focus-visible{outline:none;box-shadow:var(--kkp-focus),0 16px 28px rgba(29,53,87,.2)}
.kkp-button-ghost{
  border-color:#ced8e8;
  background:linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  color:#15324f;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}
.kkp-button-quiet{
  border-color:#e1e6ef;
  background:#ffffff;
  color:#405066;
  box-shadow:none;
}
.kkp-button-small{min-height:38px;padding:8px 14px;font-size:13px}
.kkp-button-block{width:100%}
.kkp-app-nav-toggle{display:none}

.kkp-guide,
.kkp-inline-surface,
.kkp-ticket-subitem-box,
.kkp-detail-box{
  border:1px solid #d5ddeb;
  border-radius:22px;
  background:linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}
.kkp-guide{
  margin-bottom:16px;
  padding:18px 20px;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.kkp-guide strong{display:block;margin-bottom:8px;color:#10243f}
.kkp-guide ol{margin:0 0 0 20px;padding:0}
.kkp-guide li{margin:6px 0;color:#4f6074;line-height:1.6}
.kkp-inline-surface{padding:14px 16px}
.kkp-detail-box{margin-top:10px;padding:0}
.kkp-detail-box summary,
.kkp-ticket-subitem-box summary{
  cursor:pointer;
  padding:14px 16px;
  font-weight:700;
  color:#1a2b40;
  list-style:none;
}
.kkp-detail-box summary::-webkit-details-marker,
.kkp-ticket-subitem-box summary::-webkit-details-marker{display:none}
.kkp-detail-box[open] summary,
.kkp-ticket-subitem-box[open] summary{border-bottom:1px solid #e2e8f0}
.kkp-detail-box > :not(summary),
.kkp-ticket-subitem-box > :not(summary){padding:0 16px 16px}

.kkp-mini-pill,
.kkp-status-pill{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 12px;
  border:1px solid #d7dfec;
  border-radius:999px;
  background:rgba(255,255,255,.76);
  color:#18324f;
  font-size:12px;
  font-weight:800;
}
.kkp-status-pill.is-accent{background:#eef4ff;border-color:#cfe0f7}
.kkp-status-pill.is-ok{background:#edfdf3;border-color:#b7e5c9;color:#166534}
.kkp-status-pill.is-warn{background:#fff8eb;border-color:#f3d5a0;color:#92400e}
.kkp-status-pill.is-muted{background:#f8fafc;border-color:#e2e8f0;color:#475569}

.kkp-alert{
  padding:14px 16px;
  border-radius:18px;
  margin:0 0 14px;
  border:1px solid #dfe5ef;
  background:#fff;
  box-shadow:0 8px 18px rgba(15,23,42,.04);
}
.kkp-alert-warn{background:#fff8ee;border-color:#f2d1a4;color:#8a4b0b}
.kkp-alert-ok{background:#eefbf4;border-color:#b7e4c7;color:#166534}
.kkp-alert-success{background:#eefbf4;border-color:#b7e4c7;color:#166534}
.kkp-alert-danger{background:#fff2f1;border-color:#f0b7b2;color:#a32d20}
.kkp-alert-info{background:#f3f8ff;border-color:#c9daee;color:#1f4978}

.kkp-manager-app .kkp-app-topbar{background:rgba(253,252,249,.92)}
.kkp-manager-main{display:grid;gap:18px}
.kkp-manager-hero{padding-bottom:22px;margin-bottom:0}
.kkp-manager-hero .kkp-page-hero-copy p{max-width:74ch}
.kkp-manager-subnav{margin-top:8px;padding-top:6px}
.kkp-manager-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:16px;
}
.kkp-manager-section-head h3{margin-top:6px}
.kkp-manager-inline-form{display:grid;gap:14px}
.kkp-manager-dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}
.kkp-manager-dashboard-grid > .kkp-card:first-child{grid-column:span 7}
.kkp-manager-dashboard-grid > .kkp-card:nth-child(2){grid-column:span 5}
.kkp-manager-dashboard-grid > .kkp-card{min-width:0}

.kkp-dashboard-grid{
  display:grid;
  grid-template-columns:minmax(0,1.28fr) minmax(360px,.82fr);
  gap:18px;
  align-items:start;
}

.kkp-dashboard-priority-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.kkp-priority-card{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:0;
  min-height:100%;
  background:linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-color:#cfdbef;
}

.kkp-priority-card-lead{
  grid-column:span 2;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 36%),
    linear-gradient(135deg, #18324f 0%, #21405f 55%, #2e567f 100%);
  border-color:#1a3553;
  box-shadow:var(--kkp-shadow-lg);
}

.kkp-priority-card-lead .kkp-card-kicker{
  background:rgba(255,255,255,.14);
  color:#eef5ff;
}

.kkp-priority-card-lead h3,
.kkp-priority-card-lead .kkp-priority-copy,
.kkp-priority-card-lead .kkp-priority-caption{
  color:#fff;
}

.kkp-priority-card h3{
  margin-top:0;
  font-size:clamp(24px, 1.7vw, 32px);
  line-height:1.08;
  max-width:16ch;
}

.kkp-priority-copy{
  margin:0;
  color:var(--kkp-muted);
  font-size:15px;
  line-height:1.72;
}

.kkp-priority-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
}

.kkp-priority-card-lead .kkp-priority-meta .kkp-mini-pill{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.16);
  color:#fff;
}

.kkp-priority-metric{
  font-size:clamp(36px, 4vw, 52px);
  line-height:1;
  letter-spacing:-.06em;
  font-weight:800;
  color:#10233b;
}

.kkp-priority-caption{
  color:#667085;
  font-size:13px;
  line-height:1.55;
}

.kkp-priority-card.is-warn{
  border-color:#efd7ae;
  background:linear-gradient(180deg, #fffdf9 0%, #fff7eb 100%);
}

.kkp-priority-card.is-danger{
  border-color:#f0c4c4;
  background:linear-gradient(180deg, #fffafa 0%, #fff2f2 100%);
}
.kkp-dashboard-primary,
.kkp-dashboard-sidebar,
.kkp-ticket-page-main,
.kkp-ticket-page-side{display:flex;flex-direction:column;gap:18px;min-width:0}
.kkp-dashboard-secondary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin-top:18px;
}
.kkp-dashboard-hero{
  background:
    radial-gradient(circle at top right, rgba(53,93,142,.10) 0%, rgba(53,93,142,0) 30%),
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(245,248,253,.98) 100%);
  border-color:#d1dce9;
  color:#1f2937;
  box-shadow:var(--kkp-shadow-md);
}
.kkp-dashboard-hero h3{color:#0f172a;max-width:20ch}
.kkp-dashboard-hero-text{max-width:68ch;color:#5c6b80;font-size:15px;line-height:1.72;margin:12px 0 0}
.kkp-dashboard-band{margin-top:16px}
.kkp-dashboard-hero-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
.kkp-dashboard-hero-panel{
  padding:16px;
  border:1px solid #d8e0eb;
  border-radius:20px;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
}
.kkp-dashboard-hero-panel strong{display:block;margin-bottom:6px;color:#5b6b80;font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.kkp-dashboard-hero-panel p{margin:0;color:#17263d;line-height:1.7}
.kkp-dashboard-priority,
.kkp-dashboard-accent-card,
.kkp-request-card{
  background:linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  border-color:#cfdbef;
}

.kkp-request-card .kkp-request-form h3{max-width:18ch}

.kkp-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.kkp-kpi{
  min-width:0;
  padding:16px;
  border-radius:18px;
  border:1px solid #dde5f0;
  background:rgba(255,255,255,.92);
}
.kkp-kpi .n{display:block;font-size:30px;line-height:1;font-weight:800;letter-spacing:-.05em;color:#12253f}
.kkp-kpi .l{display:block;margin-top:6px;color:#67758a;font-size:13px;line-height:1.45}

.kkp-kv{display:grid;grid-template-columns:1fr;gap:10px}
.kkp-kv > div{
  display:grid;
  grid-template-columns:minmax(120px,.92fr) minmax(0,1.08fr);
  gap:14px;
  align-items:start;
  padding-bottom:10px;
  border-bottom:1px dashed #d6dde8;
}
.kkp-kv > div:last-child{padding-bottom:0;border-bottom:0}
.kkp-kv strong{font-weight:800;color:#1a2a40}
.kkp-kv span{
  min-width:0;
  color:#334155;
  line-height:1.6;
  white-space:normal;
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:auto;
}

.kkp-traffic-status{
  margin-top:14px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid #d9e2ee;
  background:#fff;
}
.kkp-traffic-dot{width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 2px rgba(255,255,255,.8),0 0 0 1px rgba(15,23,42,.08)}
.kkp-traffic-dot-green{background:radial-gradient(circle at 30% 30%, #58e08e 0%, #16a34a 70%)}
.kkp-traffic-dot-yellow{background:radial-gradient(circle at 30% 30%, #ffe17a 0%, #d4a908 72%)}
.kkp-traffic-dot-red{background:radial-gradient(circle at 30% 30%, #ff9c9c 0%, #dc2626 72%)}
.kkp-traffic-dot-neutral{background:radial-gradient(circle at 30% 30%, #d4dbe7 0%, #8b95a7 72%)}
.kkp-traffic-label{font-size:12px;font-weight:800;color:#213247}

.kkp-ticket-page-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
  gap:18px;
  margin-bottom:18px;
}
.kkp-ticketcenter-focus{
  margin-bottom:18px;
  border-color:#d5dfeb;
  background:linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}
.kkp-ticketcenter-focus-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.kkp-ticketcenter-focus-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:18px 0 14px;
}
.kkp-ticketcenter-focus-card{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  padding:16px;
  border:1px solid #dbe3ef;
  border-radius:18px;
  background:#fff;
}
.kkp-ticketcenter-focus-card strong{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#64748b;
}
.kkp-ticketcenter-focus-card span{
  font-size:18px;
  line-height:1.3;
  font-weight:800;
  color:#13253d;
}
.kkp-ticket-list{display:flex;flex-direction:column;gap:18px}
.kkp-ticket-card{
  padding:20px;
  border:1px solid #d8e0ec;
  border-radius:24px;
  background:linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow:0 12px 28px rgba(15,23,42,.06);
}
.kkp-ticket-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:14px;border-bottom:1px solid #e7ecf3}
.kkp-ticket-card-head h3{margin:8px 0 0;font-size:24px;line-height:1.08;max-width:22ch}
.kkp-ticket-badges{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.kkp-ticket-card-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:16px;margin-top:16px}
.kkp-ticket-section{
  min-width:0;
  padding:16px;
  border:1px solid #e3e9f3;
  border-radius:22px;
  background:#fcfdff;
}
.kkp-ticket-section[data-ticket-section="lineitems"]{order:1;grid-column:1}
.kkp-ticket-section[data-ticket-section="approval"]{order:2;grid-column:2}
.kkp-ticket-section[data-ticket-section="conversation"]{order:3;grid-column:1}
.kkp-ticket-section[data-ticket-section="documents"]{order:4;grid-column:2}
.kkp-ticket-document-stack{display:grid;gap:16px}
.kkp-ticket-thread{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.kkp-ticket-thread-item{padding:12px 0;border-bottom:1px dashed #dbe2ec}
.kkp-ticket-thread-item:last-child{padding-bottom:0;border-bottom:0}
.kkp-ticket-thread-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:6px}
.kkp-ticket-reply-form{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.kkp-ticket-subitem-box{margin-top:4px}
.kkp-customer-ticket-items{display:flex;flex-direction:column;gap:14px}
.kkp-customer-ticket-item{
  padding:14px;
  border:1px dashed #d3dbe8;
  border-radius:20px;
  background:#fff;
}
.kkp-ticket-item-remove{margin-top:10px}
.kkp-estimate-lineitems,
.kkp-estimate-selection-grid{display:grid;gap:10px;margin-top:10px}
.kkp-estimate-lineitem,
.kkp-estimate-option{
  display:block;
  padding:14px;
  border:1px solid #dbe3ef;
  border-radius:18px;
  background:#fff;
}
.kkp-lineitem-card{
  border-color:#d4dfed;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.kkp-lineitem-head-copy{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}
.kkp-estimate-option-grid{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.kkp-estimate-option-main{display:flex;gap:12px;align-items:flex-start;min-width:0}
.kkp-estimate-option input[type="checkbox"],
.kkp-estimate-option input[type="radio"]{margin-top:4px;accent-color:var(--kkp-accent)}
.kkp-estimate-option.is-selected{border-color:#b8cce9;background:#f6f9ff}
.kkp-estimate-option.is-mandatory{box-shadow:inset 0 0 0 1px rgba(29,53,87,.06)}
.kkp-estimate-option.is-option-group{border-style:solid;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}
.kkp-estimate-lineitem-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.kkp-estimate-decision-box{margin-top:12px}
.kkp-estimate-intro,
.kkp-estimate-intro-copy{margin-top:12px}
.kkp-ticket-attachment-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 0;border-bottom:1px dashed #dce4ee}
.kkp-ticket-attachment-row:last-child{padding-bottom:0;border-bottom:0}
.kkp-comment-line{padding:6px 0;border-bottom:1px dashed #d6dde8}
.kkp-comment-line:last-child{border-bottom:0}

.kkp-doc-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.kkp-doc-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border:1px solid #dde4ef;border-radius:18px;background:#fff}
.kkp-invoice-detail-head .kkp-button-row{align-items:flex-start;justify-content:flex-end}
.kkp-document-detail-head .kkp-button-row{align-items:flex-start;justify-content:flex-end}
.kkp-address-block{
  margin-top:14px;
  padding:16px 18px;
  border:1px solid #dae2ed;
  border-radius:20px;
  background:rgba(255,255,255,.92);
  color:#243246;
  line-height:1.72;
  white-space:pre-line;
}
.kkp-mini-form{display:inline-flex}
.kkp-inline-stack,
.kkp-mini-form{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.kkp-document-preview-shell{
  min-height:760px;
  border-radius:26px;
  overflow:hidden;
  border:1px solid rgba(188,198,212,.58);
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(247,249,252,.96) 100%);
  box-shadow:0 18px 38px rgba(15,23,42,.08);
}
.kkp-document-preview-shell iframe{
  display:block;
  width:100%;
  min-height:760px;
  border:0;
  background:#fff;
}
.kkp-document-history-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  margin:18px 0;
}
.kkp-communication-timeline{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.kkp-communication-event{
  padding:18px 20px;
  border:1px solid #dce4ee;
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 12px 28px rgba(15,23,42,.05);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.kkp-communication-event__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.kkp-communication-event__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}
.kkp-communication-event__head > div{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.kkp-communication-event__head strong{
  font-size:1.02rem;
  line-height:1.4;
  color:#1f314b;
}
.kkp-customer-dossier-head{
  margin-bottom:18px;
}
.kkp-card .kkp-table td .kkp-button-row,
.kkp-card .kkp-table th .kkp-button-row{
  flex-wrap:wrap;
}
.kkp-inline-stack input[type="text"],
.kkp-inline-stack input[type="number"],
.kkp-inline-stack input[type="date"],
.kkp-mini-form input[type="text"],
.kkp-mini-form input[type="number"],
.kkp-mini-form input[type="date"]{
  min-width:min(100%, 180px);
  width:auto;
}
.kkp-manager-document-editor{
  margin-top:18px;
}
.kkp-manager-document-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.kkp-manager-document-form .form-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}
.kkp-manager-document-form .form-table th,
.kkp-manager-document-form .form-table td{
  padding:0;
  vertical-align:top;
}
.kkp-manager-document-form .form-table th{
  width:220px;
  padding-right:18px;
  color:#1e2d42;
  font-weight:800;
}
.kkp-manager-document-form .form-table td .description{
  color:#617187;
}
.kkp-manager-document-form .widefat{
  width:100%;
  border:1px solid #d8e0eb;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}
.kkp-manager-document-form .widefat th,
.kkp-manager-document-form .widefat td{
  padding:12px 14px;
}
.kkp-manager-document-form .widefat thead th{
  background:#f7f9fc;
}
.kkp-manager-document-form .button,
.kkp-manager-document-form .button-secondary,
.kkp-manager-document-form .button-link-delete{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid #cbd7e8;
  background:#fff;
  color:#203856;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}
.kkp-manager-document-form .button-secondary{background:#f6f9fd}
.kkp-manager-document-form .button-link-delete{color:#b42318}
.kkp-table-wrap{overflow:auto;border:1px solid #dde4ef;border-radius:22px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.04)}
.kkp-table{width:100%;min-width:760px;border-collapse:collapse;font-size:14px}
.kkp-table th,.kkp-table td{padding:14px 16px;border-bottom:1px solid #e5ebf2;vertical-align:top}
.kkp-table th{background:#f7f9fc;color:#17253a;text-align:left;font-weight:800}
.kkp-table td.right,.kkp-table th.right{text-align:right}

.kkp-subtabs,
.kkp-subnav,
.kkp-subnav-buttons,
.kkp-dashboard-links{display:flex;flex-wrap:wrap;gap:8px}
.kkp-subtab,
.kkp-subnav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid #d8dfeb;
  background:#fff;
  color:#1f2937;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
}
.kkp-subtab-active,
.kkp-subnav-link-active{background:var(--kkp-accent);color:#fff;border-color:var(--kkp-accent)}

.kkp-cal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.kkp-cal-embed-wrap{border:1px solid #dbe3ef;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 12px 24px rgba(15,23,42,.06)}
.kkp-cal-embed{display:block;width:100%;min-height:860px;border:0}

.kkp-ai-chat{margin-top:12px;border:1px solid #dde4ef;border-radius:24px;background:#fff;overflow:hidden;box-shadow:0 12px 28px rgba(15,23,42,.06)}
.kkp-ai-messages{max-height:460px;overflow:auto;padding:16px;background:linear-gradient(180deg, #f8fbff 0%, #f1f6ff 100%);border-bottom:1px solid #dde4ef}
.kkp-ai-message{margin-bottom:10px;padding:12px 14px;border-radius:16px;border:1px solid #dde4ef;background:#fff}
.kkp-ai-message-user{border-color:#cad8ef;background:#eef5ff}
.kkp-ai-message-assistant{border-color:#d9e2d2;background:#f7faf5}
.kkp-ai-head{font-size:11px;color:#5f6b7b;margin-bottom:4px;font-weight:800;letter-spacing:.02em}
.kkp-ai-text{line-height:1.65;font-size:14px;color:#233042}
.kkp-ai-form{padding:16px;display:flex;flex-direction:column;gap:10px}
.kkp-ai-actions{display:flex;gap:8px;flex-wrap:wrap}

.kkp-update-modal{
  position:fixed;
  inset:0;
  z-index:60;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(15,23,42,.42);
  backdrop-filter:blur(10px);
}
.kkp-update-modal.is-hidden{display:none}
.kkp-update-modal-card{
  position:relative;
  width:min(100%, 680px);
  padding:26px 26px 22px;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(221,228,239,.92);
  box-shadow:var(--kkp-shadow-lg);
}
.kkp-update-modal-card h3{margin:0 0 12px;font-size:30px;line-height:1.06;letter-spacing:-.04em}
.kkp-update-modal-card ul{margin:10px 0 0 20px}
.kkp-update-modal-card li{margin:6px 0;line-height:1.65;color:#4f6074}
.kkp-update-modal-close{
  position:absolute;
  top:16px;
  right:16px;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid #d7dfeb;
  background:#fff;
  color:#526175;
  font-size:24px;
  cursor:pointer;
}
.kkp-update-modal-actions{display:flex;justify-content:flex-end;margin-top:16px}

.kkp-mobile-drawer,
.kkp-mobile-nav{display:none}
.kkp-inline-form{display:inline-block}

@media (max-width: 1599px){
  .kkp-dashboard-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width: 1279px){
  .kkp-login-layout{grid-template-columns:1fr}
  .kkp-app-main{padding-bottom:112px}
  .kkp-app-frame,
  .kkp-dashboard-priority-grid,
  .kkp-dashboard-grid,
  .kkp-ticket-page-grid,
  .kkp-ticket-card-grid,
  .kkp-dashboard-secondary-grid{
    grid-template-columns:1fr;
  }
  .kkp-dashboard-priority-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .kkp-priority-card-lead{grid-column:span 2}
  .kkp-app-sidebar{display:none}
  .kkp-app-nav-toggle{display:inline-flex}
  .kkp-mobile-drawer{
    display:grid;
    place-items:start end;
    position:fixed;
    inset:0;
    z-index:50;
    padding:24px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    background:rgba(15,23,42,.38);
    backdrop-filter:blur(10px);
    transition:opacity .22s ease, visibility .22s ease;
  }
  .kkp-app.is-nav-open .kkp-mobile-drawer{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  .kkp-mobile-drawer-sheet{
    width:min(100%, 420px);
    height:100%;
    padding:18px;
    border-radius:28px;
    background:rgba(250,249,246,.96);
    border:1px solid rgba(220,226,235,.92);
    box-shadow:var(--kkp-shadow-lg);
    overflow:auto;
    transform:translateX(14px) scale(.985);
    transition:transform .22s ease;
  }
  .kkp-app.is-nav-open .kkp-mobile-drawer-sheet{transform:translateX(0) scale(1)}
  .kkp-mobile-drawer-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
  .kkp-mobile-nav{
    position:fixed;
    left:clamp(12px, 2vw, 20px);
    right:clamp(12px, 2vw, 20px);
    bottom:calc(12px + env(safe-area-inset-bottom));
    z-index:35;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(0,1fr));
    gap:8px;
    margin:0;
    padding:10px;
    border-radius:24px;
    background:rgba(255,255,255,.86);
    border:1px solid rgba(214,221,233,.9);
    backdrop-filter:blur(16px);
    box-shadow:var(--kkp-shadow-sm);
  }
  .kkp-mobile-nav-link{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:10px 12px;
    border-radius:18px;
    color:#304256;
    text-decoration:none;
    font-weight:800;
    font-size:13px;
  }
  .kkp-mobile-nav-link.is-active{background:#eef4ff;color:#18324f}
}

@media (max-width: 1023px){
  .kkp-page-hero{align-items:flex-start;flex-direction:column}
  .kkp-page-hero-actions{justify-content:flex-start}
  .kkp-manager-section-head{flex-direction:column}
  .kkp-manager-dashboard-grid{grid-template-columns:1fr}
  .kkp-dashboard-priority-grid,
  .kkp-dashboard-hero-grid,
  .kkp-ticketcenter-focus-grid,
  .kkp-kpis,
  .kkp-form-grid,
  .kkp-ticket-document-stack{grid-template-columns:1fr}
  .kkp-priority-card-lead{grid-column:auto}
  .kkp-ticket-card-head,
  .kkp-ticketcenter-focus-head,
  .kkp-cal-header,
  .kkp-doc-list li{flex-direction:column;align-items:flex-start}
  .kkp-ticket-badges{justify-content:flex-start}
  .kkp-estimate-option-grid{flex-direction:column}
  .kkp-manager-document-form .form-table,
  .kkp-manager-document-form .form-table tbody,
  .kkp-manager-document-form .form-table tr,
  .kkp-manager-document-form .form-table th,
  .kkp-manager-document-form .form-table td{
    display:block;
    width:100%;
  }
  .kkp-manager-document-form .form-table th{
    padding-right:0;
    margin-bottom:6px;
  }
}

@media (max-width: 767px){
  .kkp-login-layout{gap:14px}
  .kkp-login-hero-list{grid-template-columns:1fr}
  .kkp-app{padding:12px}
  .kkp-app-topbar{padding:16px 18px;min-height:auto;align-items:flex-start;flex-direction:column}
  .kkp-app-topbar-actions{width:100%;justify-content:space-between}
  .kkp-app-topbar-copy h1{font-size:28px}
  .kkp-page-hero h2{font-size:32px}
  .kkp-login-hero h2{font-size:clamp(28px, 9vw, 38px)}
  .kkp-card,
  .kkp-login-card,
  .kkp-shell-nav,
  .kkp-update-modal-card{border-radius:24px;padding:18px}
  .kkp-card h3{font-size:28px}
  .kkp-priority-card h3{max-width:none}
  .kkp-ticket-card-head h3{font-size:22px}
  .kkp-kv > div{grid-template-columns:1fr;gap:4px}
  .kkp-button-row{flex-direction:column;align-items:stretch}
  .kkp-button,.kkp-button-ghost,.kkp-button-quiet{width:100%}
  .kkp-app-main{padding-bottom:92px}
  .kkp-mobile-nav{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom))}
  .kkp-inline-form + .kkp-inline-form{margin-left:0;margin-top:6px}
}

@media (max-width: 479px){
  .kkp-app-topbar-copy h1{font-size:24px}
  .kkp-page-hero h2{font-size:28px}
  .kkp-card h3{font-size:24px}
  .kkp-table{min-width:640px}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .kkp-app *,
  .kkp-login-wrap *{
    transition:none!important;
    animation:none!important;
  }
}

.kkp-login-hero{
  border-color:rgba(194,204,219,.52);
  box-shadow:0 24px 56px rgba(15,23,42,.08);
}

.kkp-login-panel{
  background:linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(248,250,253,.96) 100%);
}

.kkp-login-hero h2{
  max-width:15ch;
  letter-spacing:-.045em;
}

.kkp-mail-center,
.kkp-mail-table-card,
.kkp-mail-reply-box,
.kkp-iframe-shell,
.kkp-mail-body-preview,
.kkp-code-block{
  width:100%;
}

.kkp-mail-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0 18px;
}

.kkp-mail-workspace-grid{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(360px,.9fr);
  gap:18px;
}

.kkp-mail-table-card .kkp-table tr.is-active td{
  background:linear-gradient(180deg, rgba(238,244,255,.72) 0%, rgba(249,251,255,.95) 100%);
}

.kkp-mail-meta-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:16px 0 18px;
}

.kkp-mail-meta-item{
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(188,198,212,.58);
  background:rgba(255,255,255,.7);
  display:flex;
  flex-direction:column;
  gap:6px;
}

.kkp-mail-meta-item strong{
  font-size:12px;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:#58677b;
}

.kkp-mail-body-preview{
  padding:20px 22px;
  border-radius:22px;
  border:1px solid rgba(188,198,212,.58);
  background:linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(247,249,252,.96) 100%);
  line-height:1.75;
  color:#243446;
  overflow:auto;
}

.kkp-mail-body-preview p:first-child{margin-top:0}
.kkp-mail-body-preview p:last-child{margin-bottom:0}

.kkp-mail-reply-box{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(188,198,212,.52);
}

.kkp-iframe-shell{
  min-height:720px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(188,198,212,.6);
  background:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78);
}

.kkp-iframe-shell iframe{
  display:block;
  width:100%;
  min-height:720px;
  border:0;
  background:#fff;
}

.kkp-code-block{
  margin:0;
  padding:18px 20px;
  border-radius:18px;
  border:1px solid rgba(188,198,212,.58);
  background:#0f172a;
  color:#e5edf6;
  overflow:auto;
  white-space:pre-wrap;
  word-break:break-word;
}

.kkp-simple-list{
  display:grid;
  gap:12px;
}

.kkp-simple-list-item{
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(188,198,212,.55);
  background:rgba(255,255,255,.72);
  display:flex;
  flex-direction:column;
  gap:6px;
}

.kkp-simple-list-item span{
  color:var(--kkp-muted);
  font-size:14px;
}

@media (max-width: 1180px){
  .kkp-mail-workspace-grid,
  .kkp-mail-meta-grid,
  .kkp-document-history-grid{
    grid-template-columns:1fr;
  }
  .kkp-communication-event__head{
    flex-direction:column;
    align-items:flex-start;
  }
  .kkp-document-preview-shell,
  .kkp-document-preview-shell iframe{
    min-height:560px;
  }
}

body.kkp-app-template::before,
body.kkp-shell-page::before{
  content:"";
  position:fixed;
  inset:-10% auto auto -12%;
  width:44vw;
  height:44vw;
  pointer-events:none;
  border-radius:999px;
  background:radial-gradient(circle, rgba(87,129,184,.18) 0%, rgba(87,129,184,0) 68%);
  filter:blur(12px);
  z-index:0;
}

body.kkp-app-template::after,
body.kkp-shell-page::after{
  content:"";
  position:fixed;
  inset:auto -10% 4% auto;
  width:34vw;
  height:34vw;
  pointer-events:none;
  border-radius:999px;
  background:radial-gradient(circle, rgba(239,244,255,.92) 0%, rgba(239,244,255,0) 72%);
  filter:blur(10px);
  z-index:0;
}

.kkp-login-wrap,
.kkp-app{
  position:relative;
  z-index:1;
}

.kkp-app-topbar,
.kkp-app-sidebar,
.kkp-card-soft,
.kkp-priority-card,
.kkp-mail-meta-item,
.kkp-simple-list-item,
.kkp-mail-body-preview{
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}

.kkp-app-topbar{
  background:linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(249,251,255,.86) 100%);
  border:1px solid rgba(188,198,212,.52);
  box-shadow:0 18px 36px rgba(15,23,42,.08);
}

.kkp-app-sidebar{
  background:linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(246,248,252,.88) 100%);
  border:1px solid rgba(188,198,212,.48);
  box-shadow:0 18px 34px rgba(15,23,42,.06);
}

.kkp-card-soft,
.kkp-priority-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(247,249,252,.95) 100%);
  border-color:rgba(188,198,212,.5);
  box-shadow:0 18px 42px rgba(15,23,42,.08);
}

.kkp-priority-card{
  position:relative;
  overflow:hidden;
}

.kkp-priority-card::after{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg, rgba(29,53,87,.9) 0%, rgba(87,129,184,.28) 100%);
}

.kkp-mail-center .kkp-card-soft,
.kkp-mail-table-card{
  border:1px solid rgba(188,198,212,.52);
  box-shadow:0 18px 38px rgba(15,23,42,.07);
}

.kkp-mail-toolbar{
  padding:10px 0 2px;
}

.kkp-mail-meta-grid{
  margin-top:18px;
}

.kkp-mail-reply-box{
  padding-top:20px;
}

.kkp-login-hero,
.kkp-login-panel{
  box-shadow:0 24px 54px rgba(15,23,42,.08);
}

.kkp-manager-entity-layout{
  display:grid;
  grid-template-columns:minmax(320px, 420px) minmax(0, 1fr);
  gap:24px;
  align-items:start;
}

.kkp-manager-entity-list,
.kkp-manager-entity-editor{
  min-width:0;
}

.kkp-selection-list-compact{
  display:grid;
  gap:12px;
}

.kkp-selection-item.is-active{
  border-color:rgba(29,53,87,.4);
  box-shadow:0 14px 28px rgba(29,53,87,.08);
}

.kkp-manager-entity-metabox{
  margin-top:18px;
}

.kkp-admin-embed-shell{
  overflow:hidden;
}

.kkp-admin-embed{
  color:var(--kkp-ink);
}

.kkp-admin-embed .wrap{
  margin:0;
  max-width:none;
}

.kkp-admin-embed h1,
.kkp-admin-embed h2,
.kkp-admin-embed h3,
.kkp-admin-embed h4{
  color:var(--kkp-ink);
}

.kkp-admin-embed .form-table,
.kkp-admin-embed table.widefat{
  width:100%;
  max-width:100%;
}

.kkp-admin-embed .form-table th,
.kkp-admin-embed .form-table td{
  padding:14px 12px;
  vertical-align:top;
}

.kkp-admin-embed .form-table th{
  width:240px;
  color:var(--kkp-ink);
}

.kkp-admin-embed input[type="text"],
.kkp-admin-embed input[type="email"],
.kkp-admin-embed input[type="url"],
.kkp-admin-embed input[type="number"],
.kkp-admin-embed input[type="password"],
.kkp-admin-embed input[type="date"],
.kkp-admin-embed textarea,
.kkp-admin-embed select{
  width:100%;
  max-width:100%;
  min-height:48px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(188,198,212,.68);
  background:rgba(255,255,255,.94);
  color:var(--kkp-ink);
  box-sizing:border-box;
}

.kkp-admin-embed textarea{
  min-height:160px;
}

.kkp-admin-embed input[type="checkbox"],
.kkp-admin-embed input[type="radio"]{
  min-height:0;
  width:auto;
}

.kkp-admin-embed .button,
.kkp-admin-embed .button-secondary,
.kkp-admin-embed .button-primary{
  border-radius:999px;
  min-height:44px;
  padding:0 18px;
  box-shadow:none;
}

.kkp-admin-embed .button-primary{
  background:linear-gradient(180deg, #355d93 0%, #1d3557 100%);
  border-color:#1d3557;
}

.kkp-admin-embed .notice,
.kkp-admin-embed .updated,
.kkp-admin-embed .error{
  margin:0 0 18px;
  border-radius:16px;
  overflow:hidden;
}

.kkp-admin-embed .description{
  color:var(--kkp-muted);
}

@media (max-width: 1180px){
  .kkp-manager-entity-layout{
    grid-template-columns:1fr;
  }
}
