:root{--green:#059669;--green2:#10b981;--slate:#0f172a;--muted:#64748b;--bg:#f8fafc;--card:#fff;--line:#e2e8f0;--danger:#ef4444;--warn:#f59e0b;--ok:#22c55e}*{box-sizing:border-box}body{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:#0f172a}.app-shell{display:flex;min-height:100vh}.sidebar{width:276px;background:linear-gradient(180deg,#0f172a 0%,#111827 58%,#064e3b 100%);color:white;padding:20px;position:sticky;top:0;height:100vh;box-shadow:10px 0 32px rgba(15,23,42,.12);z-index:20}.brand{font-weight:950;font-size:25px;letter-spacing:-.8px}.navlink{display:flex;gap:10px;align-items:center;color:#cbd5e1;text-decoration:none;padding:12px 14px;border-radius:15px;margin:5px 0;font-weight:800;transition:.18s}.navlink:hover,.navlink.active{background:linear-gradient(135deg,#10b981,#059669);color:white;box-shadow:0 10px 22px rgba(16,185,129,.22);transform:translateX(2px)}.content{flex:1;padding:24px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;background:rgba(255,255,255,.86);backdrop-filter:blur(10px);border:1px solid #e2e8f0;border-radius:26px;padding:16px 18px;box-shadow:0 10px 28px rgba(15,23,42,.06)}.fw-black{font-weight:950}.profile-pill{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 12px;box-shadow:0 8px 20px rgba(15,23,42,.08);cursor:pointer}.avatar,.avatar-lg{width:34px;height:34px;border-radius:999px;background:linear-gradient(135deg,#10b981,#059669);color:white;display:inline-flex;align-items:center;justify-content:center;font-weight:950}.avatar-lg{width:54px;height:54px;font-size:22px}.profile-menu{position:absolute;right:24px;top:90px;background:#fff;border:1px solid var(--line);border-radius:22px;width:330px;box-shadow:0 25px 60px rgba(15,23,42,.18);padding:14px;z-index:99;display:none}.profile-menu.show{display:block}.metric-card{border:1px solid #eef2f7;border-radius:24px;box-shadow:0 12px 30px rgba(15,23,42,.08);background:white;padding:22px}.metric-card h2{font-weight:950;font-size:42px;letter-spacing:-1.5px}.metric-card small{color:var(--muted)}.stat-gradient{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff}.stat-green{background:linear-gradient(135deg,#064e3b,#059669);color:#fff}.stat-amber{background:linear-gradient(135deg,#78350f,#d97706);color:#fff}.stat-red{background:linear-gradient(135deg,#7f1d1d,#dc2626);color:#fff}.form-type-card{border:1px solid #e2e8f0;border-radius:24px;background:white;padding:22px;box-shadow:0 6px 18px rgba(15,23,42,.05);transition:.2s;height:100%;position:relative;overflow:hidden}.form-type-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:var(--green)}.form-type-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(15,23,42,.13)}.form-icon{width:56px;height:56px;border-radius:19px;display:flex;align-items:center;justify-content:center;color:white;font-size:28px;box-shadow:0 10px 25px rgba(15,23,42,.16);margin-bottom:12px}.field-palette{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.field-chip{border:1px solid #e2e8f0;background:#fff;border-radius:18px;padding:13px;display:flex;align-items:center;gap:10px;font-weight:850;cursor:pointer;transition:.15s}.field-chip:hover{border-color:#10b981;background:#ecfdf5;transform:translateY(-2px)}.builder-field{border:1px solid #e2e8f0;border-radius:18px;padding:12px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.04)}.kanban-board{display:flex;gap:18px;overflow-x:auto;padding-bottom:20px}.kanban-column{min-width:350px;flex:1;background:#eef2f7;border-radius:26px;padding:14px;max-height:calc(100vh - 170px);display:flex;flex-direction:column;border:1px solid #dbe4ee}.kanban-column[data-status="parado"]{background:#f8fafc}.kanban-column[data-status="em_criacao"]{background:#eff6ff}.kanban-column[data-status="finalizado"]{background:#ecfdf5}.kanban-list{overflow-y:auto;min-height:480px;padding:4px}.kanban-card{background:white;border-radius:22px;padding:0;margin:12px 0;box-shadow:0 10px 24px rgba(15,23,42,.10);overflow:hidden;border:1px solid #e2e8f0;cursor:pointer;transition:.15s}.kanban-card:hover{transform:translateY(-2px);box-shadow:0 18px 35px rgba(15,23,42,.16)}.kanban-card.dragging{opacity:.55;transform:rotate(2deg)}.kanban-cover{height:128px;background:linear-gradient(135deg,#d1fae5,#bfdbfe);background-size:cover;background-position:center;position:relative}.kanban-cover.noimg:after{content:"Karina Hub";position:absolute;right:12px;bottom:10px;font-weight:950;color:rgba(15,23,42,.25)}.kanban-body{padding:14px}.card-meta{font-size:12px;color:#64748b;font-weight:800}.kv{font-size:12px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:5px 7px;display:inline-block}.badge-rec,.badge-due{font-weight:850;border-radius:999px;padding:5px 10px;font-size:12px;display:inline-flex;gap:4px;align-items:center}.rec-unica{background:#e0f2fe;color:#0369a1}.rec-diaria{background:#f3e8ff;color:#7e22ce}.rec-semanal{background:#fef3c7;color:#92400e}.rec-mensal{background:#dcfce7;color:#166534}.rec-anual,.rec-personalizada{background:#e5e7eb;color:#374151}.due-ok{background:#dcfce7;color:#166534}.due-warn{background:#fef3c7;color:#92400e}.due-danger{background:#fee2e2;color:#991b1b}.due-neutral{background:#f1f5f9;color:#475569}.task-hero{border-radius:30px;min-height:260px;background:linear-gradient(135deg,#0f172a,#064e3b);background-size:cover;background-position:center;display:flex;align-items:end;padding:28px;box-shadow:0 18px 42px rgba(15,23,42,.18)}.toast-hub{position:fixed;right:20px;bottom:20px;z-index:9999}.notif-pop{background:#111827;color:white;border-radius:20px;padding:16px;box-shadow:0 18px 40px rgba(0,0,0,.25);margin-top:10px;width:360px;border-left:5px solid #10b981}.notif-center-item{border:1px solid #e2e8f0;border-radius:18px;padding:14px;margin-bottom:10px;background:#fff}.calendar-title{font-size:30px;font-weight:950;letter-spacing:-1px}.calendar-grid{background:white;border-radius:24px;border:1px solid #e2e8f0;overflow:hidden;box-shadow:0 12px 30px rgba(15,23,42,.07)}.cal-head,.cal-row{display:grid;grid-template-columns:repeat(7,1fr)}.cal-head div{padding:13px;background:#0f172a;color:#fff;font-weight:950}.cal-day{min-height:126px;border:1px solid #e2e8f0;padding:9px;background:#fff}.cal-day.out{background:#f8fafc;color:#94a3b8}.cal-event{border-radius:12px;padding:6px 8px;margin-top:5px;font-size:12px;font-weight:850;background:#ecfdf5;color:#047857;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none;display:block;border-left:4px solid #10b981}.week-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}.week-day{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:14px;min-height:520px;box-shadow:0 8px 22px rgba(15,23,42,.06)}.day-schedule{background:white;border-radius:24px;border:1px solid #e2e8f0;padding:12px}.hour-row{display:grid;grid-template-columns:80px 1fr;min-height:62px;border-bottom:1px solid #eef2f7}.hour-label{font-weight:850;color:#64748b;padding-top:8px}.timeline-item{border-left:4px solid #10b981;padding-left:14px;margin-bottom:16px;background:#fff;border-radius:0 16px 16px 0;padding:10px 10px 10px 14px}.timeline-criação{border-color:#22c55e;background:#f0fdf4}.timeline-comentário{border-color:#3b82f6;background:#eff6ff}.timeline-alteração{border-color:#f59e0b;background:#fffbeb}.timeline-arquivo{border-color:#8b5cf6;background:#f5f3ff}.timeline-visualização{border-color:#64748b;background:#f8fafc}.timeline-andamento,.timeline-checklist{border-color:#06b6d4;background:#ecfeff}.timeline-histórico{border-color:#111827;background:#f8fafc}.file-row,.check-item{border:1px solid #e2e8f0;border-radius:14px;padding:10px;margin-bottom:8px;background:#fff}.login-bg{background:linear-gradient(135deg,#0f172a 0%,#064e3b 55%,#10b981 100%);min-height:100vh}.login-card{border-radius:30px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}.action-row{display:flex;gap:8px;flex-wrap:wrap}.btn-soft{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;font-weight:800}.table-card{border-collapse:separate;border-spacing:0 10px}.table-card tr{background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.05)}.table-card td,.table-card th{padding:14px;vertical-align:middle}.pulse-ring{animation:pulseRing 1.6s infinite}@keyframes pulseRing{0%{box-shadow:0 0 0 0 rgba(239,68,68,.35)}70%{box-shadow:0 0 0 12px rgba(239,68,68,0)}100%{box-shadow:0 0 0 0 rgba(239,68,68,0)}}@media(max-width:900px){.app-shell{display:block}.sidebar{height:auto;width:auto;position:relative}.content{padding:12px}.kanban-column{min-width:310px}.topbar{align-items:flex-start;gap:12px;flex-direction:column}.week-grid{grid-template-columns:1fr}.cal-head,.cal-row{font-size:12px}}
/* v4.2 refinamentos */
.stat-blue{background:linear-gradient(135deg,#1e3a8a,#2563eb);color:#fff}.stat-purple{background:linear-gradient(135deg,#581c87,#9333ea);color:#fff}.stat-slate{background:linear-gradient(135deg,#334155,#0f172a);color:#fff}.stat-pink{background:linear-gradient(135deg,#831843,#db2777);color:#fff}.metric-card:not(.stat-gradient):not(.stat-green):not(.stat-amber):not(.stat-red):not(.stat-blue):not(.stat-purple):not(.stat-slate):not(.stat-pink){color:#0f172a}.metric-card span{font-weight:900}.chip{border-radius:999px;font-size:12px;font-weight:900;padding:6px 9px;display:inline-flex;gap:4px;align-items:center;border:1px solid transparent}.chip-user{background:#dbeafe;color:#1e40af;border-color:#93c5fd}.chip-sector{background:#f3e8ff;color:#6b21a8;border-color:#d8b4fe}.chip-date{background:#dcfce7;color:#166534;border-color:#86efac}.chip-social{background:#e0f2fe;color:#0369a1}.chip-file{background:#fae8ff;color:#86198f}.chip-view{background:#f1f5f9;color:#334155}.chip-health{background:#fff7ed;color:#9a3412;border-color:#fed7aa}.avatar-xl{width:110px;height:110px;border-radius:34px;background:linear-gradient(135deg,#10b981,#0f172a);display:inline-flex;align-items:center;justify-content:center;color:white;font-size:48px;font-weight:950;box-shadow:0 18px 45px rgba(15,23,42,.25)}.mini-stat{border:1px solid #e2e8f0;border-radius:18px;padding:18px;background:#f8fafc;font-weight:950}.timeline-item b:before{content:'👤 ';}.timeline-criação b:before{content:'🟢 ';}.timeline-comentário b:before{content:'💬 ';}.timeline-alteração b:before{content:'🟠 ';}.timeline-arquivo b:before{content:'📎 ';}.timeline-visualização b:before{content:'👁 ';}.timeline-andamento b:before{content:'⚡ ';}.dark-mode{--bg:#0f172a;--card:#1e293b;--line:#334155;color:#e2e8f0;background:#0f172a}.dark-mode .content,.dark-mode body{background:#0f172a;color:#e2e8f0}.dark-mode .metric-card,.dark-mode .topbar,.dark-mode .form-type-card,.dark-mode .profile-menu,.dark-mode .kanban-card,.dark-mode .week-day,.dark-mode .calendar-grid,.dark-mode .day-schedule,.dark-mode .notif-center-item,.dark-mode .builder-field,.dark-mode .file-row,.dark-mode .check-item{background:#1e293b!important;color:#e2e8f0!important;border-color:#334155!important}.dark-mode .text-muted,.dark-mode .card-meta{color:#94a3b8!important}.dark-mode .kv{background:#0f172a;color:#e2e8f0;border-color:#334155}.dark-mode .cal-day{background:#1e293b;color:#e2e8f0;border-color:#334155}.dark-mode .form-control,.dark-mode .form-select{background:#0f172a;color:#e2e8f0;border-color:#334155}.app-install-hint{position:fixed;left:16px;bottom:16px;background:#0f172a;color:#fff;border-radius:999px;padding:10px 14px;font-weight:900;box-shadow:0 15px 40px rgba(15,23,42,.2);z-index:90}


/* v4.4 - correção de legibilidade e recorrência */
.task-hero .kv,
.task-hero .kv.text-white,
.task-hero .chip,
.task-hero .badge-rec,
.task-hero .badge-due{
  color:#0f172a!important;
  background:rgba(255,255,255,.94)!important;
  border-color:rgba(255,255,255,.88)!important;
  text-shadow:none!important;
  box-shadow:0 6px 16px rgba(0,0,0,.12);
}
.task-hero .badge-rec.rec-diaria{background:#f3e8ff!important;color:#6b21a8!important}
.task-hero .badge-rec.rec-semanal{background:#fef3c7!important;color:#92400e!important}
.task-hero .badge-rec.rec-mensal{background:#dcfce7!important;color:#166534!important}
.task-hero .badge-rec.rec-anual{background:#e5e7eb!important;color:#111827!important}
.task-hero .badge-rec.rec-personalizada{background:#fae8ff!important;color:#86198f!important}
.recurrence-box{border:1px solid #dbe4ee;background:#f8fafc;border-radius:18px;padding:14px;margin-top:10px}
.recurrence-box .form-check{margin-right:12px;margin-bottom:8px}
.recurrence-hint{font-size:12px;color:#475569;font-weight:700;margin-top:6px}
.chip-date{min-width:fit-content}.chip-user,.chip-sector,.chip-date{font-weight:950!important}


/* =========================================================
   Karina Hub v4.8 - MOBILE/PWA REAL
   - Esconde sidebar no celular
   - Menu inferior fixo em ícones
   - Perfil vira bottom sheet
   - Ajusta notificações mobile
   ========================================================= */
@media (max-width: 900px){
  html, body{width:100%; max-width:100%; overflow-x:hidden; background:#f3f7fb!important;}
  body{padding-bottom:86px!important; -webkit-tap-highlight-color: transparent;}

  .app-shell{display:block!important; min-height:100vh!important;}
  .sidebar{display:none!important; width:0!important; height:0!important; padding:0!important; overflow:hidden!important;}
  .content{padding:12px!important; margin:0!important; width:100%!important; max-width:100%!important;}

  .topbar{
    position:sticky!important; top:8px!important; z-index:80!important;
    display:flex!important; flex-direction:row!important; align-items:center!important; justify-content:space-between!important;
    gap:8px!important; width:100%!important; padding:12px 14px!important; margin:0 0 14px 0!important;
    border-radius:22px!important; background:rgba(255,255,255,.96)!important; backdrop-filter:blur(14px)!important;
    box-shadow:0 10px 28px rgba(15,23,42,.10)!important;
  }
  .topbar h1{font-size:25px!important; line-height:1.05!important; max-width:210px!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;}
  .topbar small{font-size:12px!important; display:block!important; max-width:210px!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;}
  .topbar .d-flex.align-items-center.gap-2{gap:8px!important; flex-shrink:0!important;}
  .topbar .btn.btn-dark.rounded-pill{width:54px!important;height:54px!important;border-radius:18px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-weight:950!important;font-size:15px!important;box-shadow:0 8px 18px rgba(15,23,42,.16)!important;}

  .profile-pill{width:54px!important;height:54px!important;padding:0!important;border-radius:18px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;box-shadow:0 8px 18px rgba(15,23,42,.14)!important;}
  .profile-pill .avatar{width:44px!important;height:44px!important;font-size:22px!important;}
  .profile-pill div:not(:first-child){display:none!important;}

  .metric-card{border-radius:24px!important;padding:18px!important;margin-bottom:14px!important;box-shadow:0 10px 24px rgba(15,23,42,.08)!important;}
  .metric-card h2{font-size:40px!important;}
  .metric-card small{font-size:15px!important;color:rgba(255,255,255,.82)!important;font-weight:700!important;}
  .metric-card:not(.stat-gradient):not(.stat-green):not(.stat-amber):not(.stat-red):not(.stat-blue):not(.stat-purple):not(.stat-slate):not(.stat-pink) small{color:#64748b!important;}
  .row.g-4>[class*="col-"]{margin-bottom:12px!important;}

  .kanban-board{gap:12px!important; padding-bottom:16px!important; scroll-snap-type:x mandatory!important;}
  .kanban-column{min-width:86vw!important; max-height:none!important; scroll-snap-align:start!important; border-radius:24px!important;}
  .kanban-list{min-height:380px!important; max-height:none!important;}
  .kanban-card{border-radius:22px!important;}
  .kanban-cover{height:112px!important;}

  .calendar-title{font-size:24px!important;}
  .calendar-grid{border-radius:20px!important; overflow-x:auto!important;}
  .cal-head,.cal-row{min-width:720px!important;}
  .cal-day{min-height:105px!important; padding:7px!important;}
  .cal-event{font-size:11px!important; padding:5px 7px!important;}
  .week-grid{grid-template-columns:1fr!important;}
  .day-schedule{border-radius:20px!important;}

  .task-hero{min-height:210px!important;border-radius:24px!important;padding:18px!important;}
  .task-hero h1,.task-hero h2{font-size:28px!important;line-height:1.05!important;}
  .task-hero p{font-size:14px!important;}

  .form-control,.form-select,.btn{min-height:46px!important;font-size:16px!important;}
  input[type="range"]{height:38px!important;}
  .form-check-input{width:1.35em!important;height:1.35em!important;}

  .profile-menu{
    position:fixed!important; left:0!important; right:0!important; bottom:0!important; top:auto!important;
    width:100%!important; max-height:82vh!important; overflow-y:auto!important;
    border-radius:28px 28px 0 0!important; padding:18px!important; z-index:10001!important;
    box-shadow:0 -18px 55px rgba(15,23,42,.28)!important;
    transform:translateY(110%)!important; display:block!important; transition:transform .22s ease!important;
  }
  .profile-menu.show{transform:translateY(0)!important;}
  .kh-mobile-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:10000;display:none;}
  .kh-mobile-backdrop.show{display:block;}

  .kh-mobile-bottom-nav{
    position:fixed!important; left:10px!important; right:10px!important; bottom:10px!important; z-index:9999!important;
    background:rgba(15,23,42,.96)!important; backdrop-filter:blur(16px)!important;
    border:1px solid rgba(255,255,255,.08)!important; border-radius:26px!important;
    min-height:68px!important; padding:8px 10px!important; display:flex!important; justify-content:space-around!important; align-items:center!important;
    box-shadow:0 18px 45px rgba(15,23,42,.35)!important;
  }
  .kh-mobile-bottom-nav a{
    width:52px!important;height:52px!important;border-radius:19px!important; display:flex!important; flex-direction:column!important;
    align-items:center!important; justify-content:center!important; text-decoration:none!important; color:#cbd5e1!important;
    font-size:21px!important; font-weight:900!important; position:relative!important;
  }
  .kh-mobile-bottom-nav a span{font-size:9px!important;line-height:1!important;margin-top:2px!important;white-space:nowrap!important;}
  .kh-mobile-bottom-nav a.active{background:linear-gradient(135deg,#10b981,#059669)!important;color:#fff!important;box-shadow:0 8px 20px rgba(16,185,129,.34)!important;}
  .kh-mobile-bottom-nav a.kh-notif-dot::after{content:attr(data-count);position:absolute;top:0;right:0;background:#ef4444;color:#fff;border-radius:999px;font-size:10px;min-width:17px;height:17px;display:flex;align-items:center;justify-content:center;border:2px solid #0f172a;}

  .kh-mobile-notif-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-bottom:16px!important;}
  .kh-mobile-notif-actions .btn{width:100%!important;margin:0!important;border-radius:16px!important;font-size:14px!important;min-height:50px!important;}
  .kh-mobile-notif-actions .btn:nth-child(n+3){display:none!important;}
  .notif-center-item{border-radius:20px!important;padding:14px!important;}
  .notif-pop{left:12px!important;right:12px!important;bottom:88px!important;width:auto!important;position:fixed!important;}
}

@media (min-width:901px){
  .kh-mobile-bottom-nav,.kh-mobile-backdrop{display:none!important;}
}

/* KH MOBILE V4.9 FINAL */
@media (max-width: 768px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;background:#f3f7fb!important;}
  body{padding-bottom:96px!important;font-size:16px!important;}
  .app-shell{display:block!important;width:100%!important;min-height:100vh!important;margin:0!important;padding:0!important;}
  aside.sidebar,.sidebar{display:none!important;visibility:hidden!important;opacity:0!important;width:0!important;min-width:0!important;max-width:0!important;height:0!important;overflow:hidden!important;padding:0!important;margin:0!important;position:absolute!important;left:-9999px!important;}
  main.content,.content{width:100%!important;max-width:100%!important;margin:0!important;padding:12px 12px 112px!important;min-width:0!important;}
  .topbar{width:100%!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:12px 12px!important;margin:0 0 14px!important;border-radius:22px!important;position:sticky!important;top:0!important;z-index:60!important;background:rgba(255,255,255,.96)!important;box-shadow:0 10px 28px rgba(15,23,42,.10)!important;backdrop-filter:blur(12px)!important;}
  .topbar>div:first-child{min-width:0!important;flex:1!important;overflow:hidden!important;}
  .topbar h1{font-size:25px!important;line-height:1.05!important;letter-spacing:-.8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;margin:0!important;}
  .topbar small{font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;max-width:100%!important;}
  .topbar .d-flex.align-items-center.gap-2{gap:6px!important;flex:0 0 auto!important;}
  .topbar a.btn.btn-dark.rounded-pill{width:54px!important;height:54px!important;min-width:54px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;font-size:0!important;position:relative!important;background:#111827!important;box-shadow:0 10px 22px rgba(17,24,39,.22)!important;}
  .topbar a.btn.btn-dark.rounded-pill::before{content:'🔔';font-size:24px!important;line-height:1!important;}
  .topbar a.btn.btn-dark.rounded-pill span{position:absolute!important;right:4px!important;top:3px!important;background:#ef4444!important;color:#fff!important;border-radius:999px!important;min-width:20px!important;height:20px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;font-weight:950!important;border:2px solid #fff!important;}
  .profile-pill{width:54px!important;height:54px!important;min-width:54px!important;padding:0!important;border-radius:18px!important;justify-content:center!important;box-shadow:0 10px 22px rgba(15,23,42,.12)!important;}
  .profile-pill>div{display:none!important;}
  .avatar{width:42px!important;height:42px!important;font-size:18px!important;}
  .profile-menu{position:fixed!important;left:12px!important;right:12px!important;bottom:98px!important;top:auto!important;width:auto!important;max-height:72vh!important;overflow:auto!important;border-radius:26px!important;padding:18px!important;z-index:9999!important;box-shadow:0 24px 70px rgba(15,23,42,.34)!important;transform:translateY(110%)!important;display:block!important;opacity:0!important;pointer-events:none!important;transition:.22s ease!important;}
  .profile-menu.show{transform:translateY(0)!important;opacity:1!important;pointer-events:auto!important;}
  .kh-mobile-profile-backdrop{position:fixed!important;inset:0!important;background:rgba(15,23,42,.36)!important;z-index:9998!important;display:none!important;}
  .kh-mobile-profile-backdrop.show{display:block!important;}
  .metric-card{border-radius:24px!important;padding:18px!important;margin-bottom:14px!important;box-shadow:0 12px 28px rgba(15,23,42,.08)!important;}
  .metric-card h2{font-size:40px!important;}
  .metric-card small,.metric-card .text-muted{color:rgba(255,255,255,.82)!important;font-weight:700!important;}
  .metric-card:not(.stat-gradient):not(.stat-green):not(.stat-amber):not(.stat-red):not(.stat-blue):not(.stat-purple):not(.stat-slate):not(.stat-pink) small,
  .metric-card:not(.stat-gradient):not(.stat-green):not(.stat-amber):not(.stat-red):not(.stat-blue):not(.stat-purple):not(.stat-slate):not(.stat-pink) .text-muted{color:#475569!important;}
  .row.g-4{--bs-gutter-y:12px!important;}
  .col-md-3,.col-md-4,.col-lg-4,.col-lg-6,.col-lg-8,.col-lg-12{width:100%!important;max-width:100%!important;flex:0 0 100%!important;}
  .kh-mobile-bottomnav{position:fixed!important;left:10px!important;right:10px!important;bottom:10px!important;height:76px!important;background:rgba(15,23,42,.97)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:26px!important;z-index:9997!important;display:flex!important;align-items:center!important;justify-content:space-around!important;box-shadow:0 18px 50px rgba(15,23,42,.42)!important;backdrop-filter:blur(14px)!important;padding:8px!important;}
  .kh-mobile-bottomnav a{color:#cbd5e1!important;text-decoration:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:62px!important;height:58px!important;border-radius:19px!important;font-size:11px!important;font-weight:900!important;line-height:1!important;}
  .kh-mobile-bottomnav a .ico{font-size:24px!important;line-height:1!important;}
  .kh-mobile-bottomnav a.active{background:linear-gradient(135deg,#10b981,#059669)!important;color:#fff!important;box-shadow:0 10px 24px rgba(16,185,129,.34)!important;}
  .kh-mobile-bottomnav a.active .ico{transform:scale(1.08)!important;}
  .kh-mobile-hide{display:none!important;}
  .mobile-clean-actions .btn,.mobile-clean-actions button{width:100%!important;margin:0 0 10px!important;border-radius:18px!important;padding:14px 16px!important;font-size:16px!important;font-weight:900!important;}
  body.kh-page-notifications .metric-card .btn{white-space:normal!important;}
  body.kh-page-notifications .metric-card{overflow:hidden!important;}
  body.kh-page-notifications .form-switch{display:flex!important;align-items:center!important;gap:10px!important;min-height:44px!important;}
  body.kh-page-notifications .form-switch .form-check-input{width:54px!important;height:30px!important;margin:0!important;flex:0 0 auto!important;}
  input[type=range].form-range{height:34px!important;}
  .kanban-board{padding-bottom:90px!important;}
  .calendar-grid,.table-card,.metric-card canvas{max-width:100%!important;overflow:hidden!important;}
}
@media (min-width: 769px){.kh-mobile-bottomnav,.kh-mobile-profile-backdrop{display:none!important}}
/* KH_MOBILE_V4_10 START */
/* Ajuste forte de mobile: remove sidebar e usa só rodapé */
.kh-mobile-bottom-nav{display:none!important}
.kh-mobile-notification-actions{display:none!important}
@media (min-width: 769px){
  .kh-mobile-only,.kh-mobile-bottom-nav,.kh-mobile-notification-actions{display:none!important}
}
@media (max-width: 768px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;background:#f8fafc!important}
  body{padding-bottom:96px!important}
  .app-shell{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
  .sidebar{display:none!important;width:0!important;min-width:0!important;max-width:0!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
  .content{width:100%!important;max-width:100%!important;margin:0!important;padding:12px!important;overflow-x:hidden!important}
  .topbar{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:10px!important;border-radius:24px!important;padding:16px!important;margin:2px 0 16px!important;position:relative!important;top:auto!important}
  .topbar h1{font-size:26px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:245px!important}
  .topbar small{font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:230px!important;display:block!important}
  .topbar>div:first-child{min-width:0!important}
  .topbar .d-flex.align-items-center.gap-2{gap:8px!important;justify-content:flex-end!important;min-width:118px!important}
  .topbar a[href*="notifications"]{width:58px!important;height:58px!important;border-radius:22px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;font-size:22px!important;position:relative!important;box-shadow:0 10px 28px rgba(15,23,42,.18)!important;background:#111827!important;color:#fff!important;overflow:hidden!important;white-space:nowrap!important}
  .topbar a[href*="notifications"] #notifCount{position:absolute!important;right:7px!important;top:4px!important;background:#ef4444!important;color:#fff!important;min-width:20px!important;height:20px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;font-size:12px!important;font-weight:950!important;border:2px solid #fff!important}
  .profile-pill{width:58px!important;height:58px!important;border-radius:22px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;box-shadow:0 10px 28px rgba(15,23,42,.18)!important}
  .profile-pill>div{display:none!important}
  .profile-pill .avatar{width:48px!important;height:48px!important;font-size:20px!important}
  #profileMenu{display:none!important;position:fixed!important;left:14px!important;right:14px!important;bottom:92px!important;top:auto!important;width:auto!important;max-width:none!important;max-height:72vh!important;overflow:auto!important;z-index:10050!important;border-radius:28px!important;padding:18px!important;box-shadow:0 24px 70px rgba(15,23,42,.35)!important;background:#fff!important}
  #profileMenu.show{display:block!important;animation:khSheetUp .18s ease-out!important}
  @keyframes khSheetUp{from{transform:translateY(20px);opacity:.4}to{transform:translateY(0);opacity:1}}
  .metric-card,.form-type-card,.kanban-card,.week-day,.day-schedule,.calendar-grid{border-radius:24px!important}
  .metric-card{padding:22px!important;margin-bottom:16px!important}
  .metric-card h2{font-size:42px!important}
  .row.g-4{--bs-gutter-y:14px!important}
  .col-md-3,.col-md-4,.col-lg-4,.col-lg-8,.col-lg-6{width:100%!important;flex:0 0 100%!important;max-width:100%!important}
  .kh-mobile-bottom-nav{position:fixed!important;left:10px!important;right:10px!important;bottom:10px!important;height:74px!important;background:#0f172a!important;border-radius:28px!important;box-shadow:0 18px 45px rgba(15,23,42,.38)!important;display:flex!important;align-items:center!important;justify-content:space-around!important;z-index:10020!important;padding:8px!important;border:1px solid rgba(255,255,255,.08)!important}
  .kh-mobile-bottom-nav a{color:#cbd5e1!important;text-decoration:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:62px!important;height:58px!important;border-radius:20px!important;font-size:11px!important;font-weight:900!important;line-height:1!important}
  .kh-mobile-bottom-nav a .kh-nav-icon{font-size:24px!important;line-height:1!important}
  .kh-mobile-bottom-nav a.active{background:#10b981!important;color:#fff!important;box-shadow:0 10px 26px rgba(16,185,129,.35)!important}
  .kh-mobile-notification-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-bottom:14px!important}
  .kh-mobile-notification-actions button{border:0!important;border-radius:18px!important;padding:12px 14px!important;font-weight:900!important;background:#059669!important;color:#fff!important;box-shadow:0 8px 18px rgba(5,150,105,.18)!important}
  .kh-mobile-notification-actions button.secondary{background:#111827!important}
  .kh-hide-mobile-duplicate{display:none!important}
  /* Calendário mobile em formato lista legível */
  .calendar-title{font-size:28px!important;margin-bottom:8px!important}
  .calendar-grid{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
  .calendar-grid .cal-head{display:none!important}
  .calendar-grid .cal-row{display:block!important}
  .calendar-grid .cal-day{display:block!important;min-height:auto!important;border:1px solid #e2e8f0!important;background:#fff!important;border-radius:20px!important;margin:0 0 10px!important;padding:12px!important;box-shadow:0 6px 16px rgba(15,23,42,.06)!important}
  .calendar-grid .cal-day.out{display:none!important}
  .calendar-grid .cal-day b{font-size:0!important;display:block!important;margin-bottom:8px!important}
  .calendar-grid .cal-day b:before{content:attr(data-kh-label)!important;font-size:16px!important;font-weight:950!important;color:#0f172a!important}
  .cal-event{font-size:12px!important;white-space:normal!important;line-height:1.2!important;margin-top:6px!important;padding:8px 9px!important}
  .week-grid{display:block!important}
  .week-day{min-height:auto!important;margin-bottom:12px!important}
  .day-schedule{padding:10px!important}.hour-row{grid-template-columns:58px 1fr!important;min-height:48px!important}.hour-label{font-size:12px!important}
}
/* KH_MOBILE_V4_10 END */


/* KH MOBILE V4.11 CLEAN NOTIFICATIONS */
/* Desktop: não mostrar controles específicos de mobile */
@media (min-width: 769px){
  .kh-mobile-only-action{display:none!important;visibility:hidden!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}
}

/* Mobile: rodapé maior e mais confortável, sem diminuir */
@media (max-width: 768px){
  body{padding-bottom:118px!important;}
  .kh-mobile-bottomnav{
    left:10px!important; right:10px!important; bottom:10px!important;
    height:88px!important; border-radius:30px!important; padding:10px 9px!important;
  }
  .kh-mobile-bottomnav a{
    width:66px!important; height:68px!important; border-radius:23px!important;
    font-size:11px!important; gap:5px!important;
  }
  .kh-mobile-bottomnav a .ico{font-size:27px!important;}
  .kh-mobile-bottomnav a.active{box-shadow:0 12px 28px rgba(16,185,129,.38)!important;}
  .kh-mobile-bottomnav a.active .ico{transform:scale(1.12)!important;}

  /* Central de notificações limpa */
  body.kh-page-notifications .kh-mobile-only-action{display:inline-flex!important;}
  body.kh-page-notifications .kh-desktop-only-action{display:none!important;}
  body.kh-page-notifications .kh-notif-actions-clean{
    display:grid!important; grid-template-columns:1fr 1fr!important; gap:12px!important; margin-bottom:18px!important;
  }
  body.kh-page-notifications .kh-notif-actions-clean .btn,
  body.kh-page-notifications .kh-notif-actions-clean button,
  body.kh-page-notifications .kh-notif-actions-clean a.btn{
    width:100%!important; min-height:54px!important; border-radius:18px!important;
    font-size:16px!important; font-weight:900!important; padding:13px 14px!important;
    display:flex!important; align-items:center!important; justify-content:center!important; white-space:normal!important;
  }
  body.kh-page-notifications .kh-notif-actions-clean .wide{grid-column:1 / -1!important;}
  body.kh-page-notifications .kh-old-mobile-btn{display:none!important;}

  /* Switch menos quebrado */
  body.kh-page-notifications .form-switch{display:flex!important;align-items:center!important;gap:12px!important;}
  body.kh-page-notifications .form-switch .form-check-input{width:58px!important;height:32px!important;min-width:58px!important;margin:0!important;}
}

/* KH MOBILE V4.12 FINAL CLEAN */
@media (max-width: 768px){
  html, body{width:100%!important; max-width:100%!important; overflow-x:hidden!important;}
  body{padding-bottom:126px!important;}

  /* Mobile sem lateral: a tela inteira fica livre */
  .sidebar,
  aside.sidebar,
  .app-shell > .sidebar{
    display:none!important;
    visibility:hidden!important;
    width:0!important;
    min-width:0!important;
    max-width:0!important;
    flex:0 0 0!important;
    transform:translateX(-120%)!important;
    overflow:hidden!important;
  }
  .app-shell{display:block!important; width:100%!important; max-width:100%!important;}
  .content,
  main.content,
  .app-shell > .content{
    margin-left:0!important;
    padding-left:14px!important;
    padding-right:14px!important;
    width:100%!important;
    max-width:100%!important;
  }

  /* Topo mais limpo no mobile */
  .topbar{padding:16px!important; border-radius:22px!important; gap:10px!important; align-items:center!important;}
  .topbar h1{font-size:27px!important; line-height:1.05!important; max-width:calc(100vw - 170px)!important; overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important;}
  .topbar small{font-size:13px!important; display:block!important; max-width:calc(100vw - 170px)!important; overflow:hidden!important; text-overflow:ellipsis!important; white-space:nowrap!important;}
  .topbar .d-flex.align-items-center.gap-2{gap:9px!important; flex-shrink:0!important;}
  .topbar a[href*="p=notifications"]{
    width:62px!important; height:62px!important; border-radius:22px!important;
    display:flex!important; align-items:center!important; justify-content:center!important;
    font-size:0!important; position:relative!important; padding:0!important;
    background:#111827!important; color:#fff!important;
  }
  .topbar a[href*="p=notifications"]:before{content:'🔔'; font-size:30px!important; line-height:1!important;}
  .topbar a[href*="p=notifications"] #notifCount{
    position:absolute!important; right:3px!important; top:3px!important;
    min-width:22px!important; height:22px!important; padding:0 5px!important;
    border-radius:999px!important; background:#ef4444!important; color:#fff!important;
    display:flex!important; align-items:center!important; justify-content:center!important;
    font-size:13px!important; font-weight:900!important; border:2px solid #fff!important;
  }
  .profile-pill{width:62px!important; height:62px!important; padding:0!important; border-radius:50%!important; display:flex!important; align-items:center!important; justify-content:center!important;}
  .profile-pill > div{display:none!important;}
  .profile-pill .avatar{width:56px!important;height:56px!important;font-size:25px!important;}

  /* Rodapé mobile único, um pouco maior, sem sombra/nav duplicado atrás */
  .kh-mobile-bottomnav,
  .mobile-bottom-nav,
  #khMobileBottomNav{
    display:flex!important;
    position:fixed!important;
    left:14px!important; right:14px!important; bottom:12px!important;
    height:98px!important; z-index:99999!important;
    background:#0f172a!important;
    border:1px solid rgba(255,255,255,.08)!important;
    border-radius:31px!important;
    padding:10px!important;
    box-shadow:0 18px 42px rgba(2,6,23,.34)!important;
    backdrop-filter:blur(16px)!important;
    overflow:visible!important;
  }
  .kh-mobile-bottomnav:before,.kh-mobile-bottomnav:after,
  .mobile-bottom-nav:before,.mobile-bottom-nav:after,
  #khMobileBottomNav:before,#khMobileBottomNav:after{display:none!important;content:none!important;}
  .kh-mobile-bottomnav a,
  .mobile-bottom-nav a,
  #khMobileBottomNav a{
    flex:1!important; min-width:0!important; height:78px!important; border-radius:25px!important;
    display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important;
    color:#fff!important; text-decoration:none!important; font-size:12px!important; font-weight:900!important; gap:5px!important;
    background:transparent!important;
  }
  .kh-mobile-bottomnav a .ico,
  .mobile-bottom-nav a .ico,
  #khMobileBottomNav a .ico{font-size:30px!important; line-height:1!important;}
  .kh-mobile-bottomnav a.active,
  .mobile-bottom-nav a.active,
  #khMobileBottomNav a.active{background:#10b981!important; box-shadow:0 14px 30px rgba(16,185,129,.42)!important;}

  /* Central de notificações: sem repetição de botões */
  body.kh-page-notifications .kh-legacy-notif-button,
  body.kh-page-notifications .kh-hide-always{display:none!important;visibility:hidden!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}
  body.kh-page-notifications .kh-notif-clean-v412{display:grid!important; grid-template-columns:1fr 1fr!important; gap:12px!important; margin:0 0 18px!important;}
  body.kh-page-notifications .kh-notif-clean-v412 .btn{min-height:56px!important;border-radius:18px!important;font-size:17px!important;font-weight:900!important;display:flex!important;align-items:center!important;justify-content:center!important;}
  body.kh-page-notifications .kh-notif-clean-v412 .wide{grid-column:1 / -1!important;}
  body.kh-page-notifications .form-switch{display:flex!important;align-items:center:center!important;gap:12px!important;}
  body.kh-page-notifications .form-switch .form-check-input{width:58px!important;height:32px!important;min-width:58px!important;}
}

@media (min-width: 769px){
  .kh-mobile-bottomnav,.mobile-bottom-nav,#khMobileBottomNav{display:none!important;}
  .kh-legacy-notif-button,.kh-hide-always{display:none!important;visibility:hidden!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}
  .kh-notif-clean-v412 .kh-mobile-only{display:none!important;}
}
/* KH_V4_14_CSS */
.task-admin-actions{background:#fff7ed;border:1px solid #fed7aa;border-radius:18px;padding:14px;margin-bottom:14px}.task-admin-actions .btn{font-weight:800}.table-card td,.table-card th{vertical-align:middle}@media(max-width:768px){.task-admin-actions .btn{width:100%;margin-bottom:6px}.task-admin-actions form{width:100%}}
/* Central de Notificações V2 */
.notif-v2{max-width:1500px;margin:auto}.notif-hero{background:linear-gradient(135deg,#0f172a,#064e3b);color:#fff;border-radius:28px;padding:28px 32px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 18px 45px rgba(15,23,42,.14)}.notif-hero h2{font-weight:900;margin:4px 0}.notif-hero p{margin:0;color:#cbd5e1}.notif-eyebrow{font-size:11px;font-weight:900;letter-spacing:1.5px;color:#6ee7b7}.notif-hero-count{min-width:115px;text-align:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);border-radius:22px;padding:14px}.notif-hero-count b{display:block;font-size:34px}.notif-hero-count span{font-size:12px;color:#d1fae5}.notif-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.notif-stats a{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:16px 18px;text-decoration:none;color:#111827;box-shadow:0 8px 25px rgba(15,23,42,.04);display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}.notif-stats a>span{font-size:23px;grid-row:1/3}.notif-stats b{font-size:23px;line-height:1}.notif-stats small{color:#64748b}.notif-layout{display:grid;grid-template-columns:330px 1fr;gap:18px;align-items:start}.notif-settings-card,.notif-feed-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:22px;box-shadow:0 10px 35px rgba(15,23,42,.05)}.notif-settings-card{position:sticky;top:16px}.notif-switch-row{display:flex;justify-content:space-between;align-items:center;background:#f8fafc;border-radius:16px;padding:14px}.notif-switch-row span{display:flex;flex-direction:column}.notif-switch-row small{color:#64748b}.notif-toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:18px;flex-wrap:wrap}.notif-search{flex:1;min-width:240px}.notif-search .form-control{border-radius:14px}.notif-tabs{display:flex;gap:6px;background:#f1f5f9;padding:5px;border-radius:14px}.notif-tabs a{padding:8px 12px;border-radius:10px;text-decoration:none;color:#475569;font-weight:800;font-size:13px}.notif-tabs a.active{background:#fff;color:#059669;box-shadow:0 2px 8px rgba(15,23,42,.08)}.notif-list{display:flex;flex-direction:column;gap:10px}.notif-item{display:flex;gap:14px;border:1px solid #e2e8f0;border-radius:19px;padding:16px;transition:.2s;background:#fff}.notif-item.is-unread{border-color:#a7f3d0;background:#f0fdf8;box-shadow:inset 4px 0 #10b981}.notif-item.is-urgent{box-shadow:inset 4px 0 #ef4444}.notif-item.is-read{opacity:.78}.notif-icon{width:44px;height:44px;min-width:44px;border-radius:14px;background:#f1f5f9;display:grid;place-items:center;font-size:20px}.notif-body{flex:1;min-width:0}.notif-title-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.new-dot{font-size:9px;background:#10b981;color:#fff;border-radius:99px;padding:3px 7px;margin-left:7px}.notif-priority{font-size:10px;font-weight:900;border-radius:99px;padding:4px 8px;background:#111827;color:#fff}.notif-priority.urgente{background:#dc2626}.notif-priority.alta{background:#f97316}.notif-message{font-size:15px;margin:4px 0;color:#334155}.notif-body small{color:#94a3b8}.notif-actions{display:flex;gap:7px;margin-top:10px;flex-wrap:wrap}.notif-actions form{margin:0}.notif-empty{text-align:center;padding:60px 20px;color:#64748b}.notif-empty div{font-size:45px}.notif-empty h4{font-weight:900;color:#334155;margin-top:10px}
@media(max-width:900px){.notif-layout{grid-template-columns:1fr}.notif-settings-card{position:static}.notif-stats{grid-template-columns:repeat(2,1fr)}.notif-hero{padding:22px}.notif-hero-count{display:none}}@media(max-width:560px){.notif-stats{grid-template-columns:1fr 1fr}.notif-feed-card,.notif-settings-card{padding:14px;border-radius:18px}.notif-item{padding:13px}.notif-tabs{width:100%;overflow:auto}.notif-title-row{align-items:flex-start}.notif-hero h2{font-size:23px}}
/* Dashboard V2 */
.sector-dashboard-hero{background:linear-gradient(135deg,#0f172a,#172554 60%,#1d4ed8);color:#fff;border-radius:28px;padding:30px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 22px 55px rgba(15,23,42,.18)}.sector-dashboard-hero small{font-weight:900;letter-spacing:.13em;opacity:.65}.sector-dashboard-hero h2{font-size:34px;font-weight:900;margin:5px 0}.sector-dashboard-hero p{margin:0;opacity:.72}.sector-focus{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);padding:12px 16px;border-radius:999px;font-weight:800;white-space:nowrap}.dashboard-kpis .metric-card{border:1px solid #e7eaf0;border-radius:22px;box-shadow:0 10px 30px rgba(15,23,42,.055);transition:.2s}.dashboard-kpis .metric-card:hover{transform:translateY(-3px);box-shadow:0 16px 35px rgba(15,23,42,.09)}.dashboard-kpis h2{font-size:30px!important}@media(max-width:800px){.sector-dashboard-hero{align-items:flex-start;flex-direction:column}.sector-focus{white-space:normal}}

/* Dashboard operacional premium V4 */
.ops-dashboard-hero{background:linear-gradient(120deg,#071d18,#0b3d31 60%,#116149);color:#fff;border-radius:28px;padding:30px 34px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 20px 50px rgba(6,78,59,.18);overflow:hidden;position:relative}.ops-dashboard-hero:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.06);right:-90px;top:-160px}.ops-dashboard-hero h2{font-size:34px;font-weight:900;margin:5px 0}.ops-dashboard-hero p{margin:0;color:#d1fae5}.ops-eyebrow{font-size:11px;font-weight:900;letter-spacing:1.5px;color:#10b981}.ops-dashboard-hero .ops-eyebrow{color:#6ee7b7}.ops-hero-side{min-width:190px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);padding:16px 20px;border-radius:20px;display:flex;flex-direction:column;position:relative;z-index:2}.ops-hero-side b{font-size:22px}.ops-hero-side span{font-size:12px;color:#d1fae5}.ops-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.ops-kpi{background:#fff;border:1px solid #e8edf0;border-radius:20px;padding:18px;display:flex;gap:14px;align-items:center;box-shadow:0 8px 24px rgba(15,23,42,.05)}.ops-kpi-icon{width:46px;height:46px;border-radius:15px;background:#f1f5f9;display:grid;place-items:center;font-size:21px}.ops-kpi span,.ops-kpi small{display:block;color:#64748b}.ops-kpi span{font-size:12px;font-weight:800;text-transform:uppercase}.ops-kpi b{font-size:28px;line-height:1.1;display:block;color:#0f172a}.ops-kpi small{font-size:11px;margin-top:3px}.ops-kpi.late{border-color:#fecaca;background:#fffafa}.ops-kpi.today{border-color:#fde68a}.ops-panel{background:#fff;border:1px solid #e8edf0;border-radius:24px;padding:24px;box-shadow:0 10px 30px rgba(15,23,42,.05)}.ops-panel-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.ops-panel-head h4,.ops-attention h4{font-weight:900;margin:4px 0}.ops-panel-head a{font-size:13px;text-decoration:none;color:#047857;font-weight:800}.ops-panel-badge{background:#ecfdf5;color:#047857;padding:7px 12px;border-radius:999px;font-weight:800;font-size:12px}.ops-timeline-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #f1f5f9}.ops-dot{width:10px;height:10px;background:#10b981;border-radius:50%;margin-top:7px;flex:none}.ops-timeline-item p{margin:2px 0;color:#475569}.ops-timeline-item small{color:#94a3b8}.attention-stat{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid #eef2f7}.attention-stat b{font-size:22px}.order-detail-hero{background:linear-gradient(120deg,#0f172a,#1e3a32);color:#fff;border-radius:24px;padding:25px 28px;display:flex;justify-content:space-between;align-items:end}.order-detail-hero h3{font-weight:900;margin:5px 0}.order-detail-hero p{margin:0;color:#cbd5e1}.order-detail-hero>div:last-child{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:4px}.order-detail-hero strong{font-size:28px}.back-link{display:block;color:#a7f3d0;text-decoration:none;margin-bottom:12px;font-weight:700}.order-summary{display:grid;gap:5px}.order-summary span{color:#64748b;font-size:12px;text-transform:uppercase;font-weight:800}.order-summary b{font-size:25px}.invoice-edit-row{display:grid;grid-template-columns:1fr 1fr 1fr 1.4fr auto;gap:8px;margin-bottom:8px}.kanban-choice{display:flex;gap:12px;background:#f8fafc;border:1px solid #dbe4ea;border-radius:16px;padding:14px;cursor:pointer}.kanban-choice input{margin-top:4px}.kanban-choice span,.kanban-choice small{display:block}.kanban-choice small{color:#64748b;margin-top:3px}@media(max-width:991px){.ops-kpi-grid{grid-template-columns:repeat(2,1fr)}.ops-dashboard-hero{align-items:flex-start;gap:20px}.invoice-edit-row{grid-template-columns:1fr 1fr}.order-detail-hero{align-items:flex-start;gap:15px}}@media(max-width:600px){.ops-kpi-grid{grid-template-columns:1fr}.ops-dashboard-hero,.order-detail-hero{flex-direction:column}.ops-hero-side{width:100%}.order-detail-hero>div:last-child{text-align:left;align-items:flex-start}.invoice-edit-row{grid-template-columns:1fr}}

/* Central de Integrações */
.integration-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(125deg,#071d18,#0d6b4e);color:#fff;border-radius:26px;padding:28px 30px;margin-bottom:18px;box-shadow:0 18px 45px rgba(6,78,59,.14)}.integration-hero small{font-weight:900;letter-spacing:.1em;color:#6ee7b7}.integration-hero h2{font-weight:900;margin:4px 0}.integration-hero p{margin:0;color:#d1fae5;max-width:850px}.integration-badge{font-size:34px;background:rgba(255,255,255,.12);padding:15px 19px;border-radius:20px}.integration-status{font-weight:800;color:#059669;background:#ecfdf5;padding:8px 13px;border-radius:999px;height:max-content}.integration-switches{display:grid;grid-template-columns:1fr 1fr;gap:10px}.integration-switches label{display:flex;gap:10px;align-items:flex-start;border:1px solid #e2e8f0;border-radius:15px;padding:12px;cursor:pointer}.integration-switches input{margin-top:4px}.integration-switches span small,.integration-form-row small{display:block;color:#64748b}.integration-form-row{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #eef2f7;padding:11px 0}@media(max-width:800px){.integration-switches{grid-template-columns:1fr}.integration-hero{align-items:flex-start}.integration-badge{display:none}}

/* Integracoes V2.2 - acabamento premium e isolamento de estilos */
.integration-hero{padding:30px 32px!important;border-radius:24px!important;margin:0 0 20px!important;background:linear-gradient(120deg,#073b2d 0%,#0b7653 65%,#12a36f 100%)!important;box-shadow:0 18px 45px rgba(15,23,42,.10)!important}
.integration-card{padding:24px!important;border-radius:22px!important}
.integration-card h3,.integration-card h4{margin:3px 0 7px!important;font-weight:850!important}
.integration-card label{display:block!important;font-weight:750!important;margin-bottom:7px!important;color:#334155!important}
.integration-status{display:inline-flex!important;align-items:center!important;white-space:nowrap!important;border:1px solid #a7f3d0!important}
.integration-switches{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-top:12px!important}
.integration-switches>label{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;padding:14px 15px!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:16px!important;min-height:70px!important;box-shadow:0 4px 12px rgba(15,23,42,.035)!important}
.integration-switches>label input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;width:42px!important;height:24px!important;min-width:42px!important;border-radius:999px!important;background:#cbd5e1!important;position:relative!important;margin:0!important;cursor:pointer!important;transition:.2s!important}
.integration-switches>label input[type=checkbox]:after{content:''!important;position:absolute!important;width:18px!important;height:18px!important;left:3px!important;top:3px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 1px 4px rgba(0,0,0,.22)!important;transition:.2s!important}
.integration-switches>label input[type=checkbox]:checked{background:#10a66f!important}.integration-switches>label input[type=checkbox]:checked:after{transform:translateX(18px)!important}
.integration-switches>label span{display:flex!important;flex-direction:column!important;gap:2px!important;line-height:1.25!important}.integration-switches>label span b{font-size:14px!important;color:#0f172a!important}.integration-switches>label span small{font-size:12px!important;color:#64748b!important;font-weight:500!important}
.integration-form-row{padding:13px 0!important}.integration-form-row>div{min-width:0!important}.integration-form-row b{display:block!important;color:#0f172a!important;line-height:1.25!important}.integration-form-row small{margin-top:3px!important;font-size:12px!important;word-break:break-word!important}.integration-form-row .badge{flex:none!important}
.metric-card .table-responsive{margin-top:12px!important}.metric-card table th{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.04em!important;color:#64748b!important}.metric-card table td{vertical-align:middle!important}
@media(max-width:900px){.integration-switches{grid-template-columns:1fr!important}.integration-hero{padding:22px!important}.integration-card{padding:18px!important}}

/* Comentários separados da Timeline */
.comments-card .comments-list{max-height:520px;overflow:auto;padding-right:3px}
.comment-item{padding:12px 0;border-top:1px solid #e8edf3}
.comment-item:first-child{border-top:0;padding-top:0}
.comment-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:5px}
.comment-head b{font-size:14px;color:#111827}
.comment-head small{font-size:12px;color:#64748b;white-space:nowrap}
.comment-text{background:#f8fafc;border:1px solid #e8edf3;border-radius:12px;padding:10px 12px;color:#1f2937;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:991px){.comments-card .comments-list{max-height:none}.comment-head{align-items:flex-start;flex-direction:column;gap:2px}}

/* Demanda v4.15 - abas de projeto, atualizacoes, comentarios e timeline */
.task-tabs-shell{margin-top:22px}.task-tabs-nav{display:flex;gap:8px;flex-wrap:wrap;background:#fff;padding:8px;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 8px 24px rgba(15,23,42,.06);position:sticky;top:8px;z-index:20}.task-tab-btn{border:0;background:transparent;padding:11px 16px;border-radius:13px;font-weight:900;color:#475569}.task-tab-btn.active{background:#0f172a;color:#fff}.task-tab-panel{display:none;margin-top:16px}.task-tab-panel.active{display:block}.task-tab-panel>.metric-card{margin-top:0!important}.task-update-compose{border:1px solid #dbeafe;background:#f8fbff;border-radius:18px;padding:16px;margin-bottom:16px}.task-update-grid{display:grid;grid-template-columns:230px 1fr auto;gap:10px;align-items:end}.task-update-entry{border-left:4px solid #2563eb;background:#f8fafc;border-radius:0 16px 16px 0;padding:12px 14px;margin-bottom:10px}.task-update-entry small{color:#64748b}.task-pager{display:flex;gap:6px;justify-content:center;align-items:center;margin-top:16px;flex-wrap:wrap}.task-pager button{border:1px solid #e2e8f0;background:#fff;border-radius:10px;padding:6px 10px;font-weight:800}.task-pager button.active{background:#0f172a;color:#fff}.task-tabs-shell .comments-card{max-width:none}.task-tabs-shell .comments-list{max-height:none!important;overflow:visible!important}@media(max-width:900px){.task-tabs-nav{position:static}.task-tab-btn{flex:1 1 45%;text-align:center}.task-update-grid{grid-template-columns:1fr}.task-tabs-shell{margin-top:12px}}
/* Demanda V4.3 - navegação por abas */
.task-tabs-v43{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 14px;padding:8px;background:#eef2f7;border:1px solid #dbe4ee;border-radius:18px;position:sticky;top:8px;z-index:15}.task-tabs-v43 button{border:0;background:transparent;padding:11px 15px;border-radius:12px;font-weight:850;color:#334155}.task-tabs-v43 button.active{background:#fff;color:#047857;box-shadow:0 4px 14px rgba(15,23,42,.10)}.task-tab-stage-v43>.metric-card{margin-top:0!important}.task-tab-stage-v43{margin-bottom:24px}.task-tab-hidden-v43{display:none!important}
/* Demanda v4.4 - leitura limpa */
.task-project-read-card:not(.is-editing) .task-edit-control,.task-project-read-card:not(.is-editing) .task-edit-label,.task-project-read-card:not(.is-editing) .task-edit-only{display:none!important}.task-project-read-card.is-editing .task-read-field{display:none!important}.task-read-field{padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;min-height:58px;margin-bottom:4px}.task-read-field small{display:block;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.task-read-field div{font-weight:650;color:#0f172a;margin-top:3px;white-space:pre-wrap}.task-edit-pencil{float:right}

/* KarinaHub v4.7 — abas compactas, responsivas e visual de agenda */
.task-tabs-v43{gap:4px!important;padding:5px!important;border-radius:14px!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:thin;position:sticky;top:6px;backdrop-filter:blur(10px)}
.task-tabs-v43 button{padding:8px 11px!important;border-radius:9px!important;font-size:13px!important;white-space:nowrap;flex:0 0 auto;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.task-tabs-v43 button:hover{transform:translateY(-1px)}
.task-tab-stage-v43>.metric-card{animation:khTabIn .18s ease-out}
@keyframes khTabIn{from{opacity:.25;transform:translateY(5px)}to{opacity:1;transform:none}}
.task-tab-stage-v43{position:relative}.task-tab-stage-v43:before{content:'';position:absolute;left:20px;top:0;bottom:0;border-left:1px dashed rgba(15,118,110,.12);pointer-events:none}
.task-tab-stage-v43>.metric-card{position:relative;background:linear-gradient(90deg,rgba(240,253,250,.42),#fff 12%,#fff);box-shadow:0 12px 32px rgba(15,23,42,.06)}
.sync-status-panel{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 14px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0}.sync-status-panel small{display:block;color:#64748b;margin-top:2px}.sync-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#94a3b8}.sync-dot.on{background:#10b981;box-shadow:0 0 0 5px rgba(16,185,129,.12)}.sync-meta{text-align:right;font-size:13px}.danger-zone{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid #fecaca!important;background:#fffafa!important}.reset-purchases-form{display:flex;gap:8px;min-width:420px}.reset-purchases-form input{min-width:230px}
@media(max-width:768px){.task-tabs-v43{margin:10px -4px 10px!important;border-radius:12px!important}.task-tabs-v43 button{font-size:12px!important;padding:7px 9px!important}.task-tab-stage-v43:before{display:none}.task-read-field{min-height:48px;padding:8px 10px}.sync-status-panel,.danger-zone{display:block}.sync-meta{text-align:left;margin-top:10px}.reset-purchases-form{min-width:0;display:grid;margin-top:12px}.reset-purchases-form input{min-width:0}.metric-card{border-radius:16px!important}}

/* KarinaHub v4.8 — Demanda como agenda física digital */
body:has(.task-hero) .content{background:radial-gradient(circle at 20% 15%,rgba(16,185,129,.06),transparent 25%),#f3f5f2}.task-tabs-v43{max-width:1180px;margin:18px auto 0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;position:relative!important;top:auto!important;z-index:25}.task-tabs-v43 button{background:#e8dfc9!important;border:1px solid rgba(88,70,45,.14)!important;border-bottom:0!important;border-radius:11px 11px 4px 4px!important;color:#514632!important;box-shadow:0 3px 7px rgba(56,43,27,.08)!important}.task-tabs-v43 button:nth-child(2){background:#dcebdc!important}.task-tabs-v43 button:nth-child(3){background:#e9ddeb!important}.task-tabs-v43 button:nth-child(4){background:#dbe8ee!important}.task-tabs-v43 button:nth-child(5){background:#e8e1c9!important}.task-tabs-v43 button:nth-child(6){background:#e2e4ed!important}.task-tabs-v43 button.active{background:#fffdf6!important;color:#075e45!important;transform:translateY(3px)!important;box-shadow:0 -3px 10px rgba(56,43,27,.08)!important}.task-tab-stage-v43{max-width:1180px;min-height:650px;margin:0 auto 30px!important;padding:28px 34px 30px 52%;border-radius:10px 22px 22px 10px;background:linear-gradient(90deg,#fbf7ea 0,#fffdf6 48.7%,#d4cbb9 49.4%,#8d8371 49.8%,#d7cfbd 50.2%,#fffdf7 51%,#fffef9 100%);border:1px solid #ded6c7;box-shadow:0 28px 65px rgba(44,36,25,.17),inset 0 0 30px rgba(122,104,76,.05);position:relative;overflow:hidden;perspective:1600px}.task-tab-stage-v43:before{content:'KARINA HUB • AGENDA DA DEMANDA';position:absolute;left:4.5%;top:28px;width:40%;border-left:0!important;color:#8b806d;font-size:11px;letter-spacing:.16em;font-weight:900}.task-tab-stage-v43:after{content:'Organize • acompanhe • conclua';position:absolute;left:4.5%;top:58px;width:40%;font-family:Georgia,serif;font-size:30px;color:#24352d;line-height:1.1}.agenda-left-info{position:absolute;left:4.5%;top:125px;width:40%;bottom:38px;padding:20px;border:1px solid rgba(120,101,72,.16);border-radius:8px;background:repeating-linear-gradient(#fffdf5 0,#fffdf5 31px,#e9e2d4 32px);color:#3d473f;overflow:auto}.agenda-left-info h3{font-family:Georgia,serif;font-weight:700;font-size:21px;margin-bottom:16px}.agenda-left-info .agenda-note{background:#fff2a8;padding:14px 15px;box-shadow:0 7px 14px rgba(79,64,28,.10);transform:rotate(-.7deg);margin:14px 0;border-radius:2px}.agenda-left-info .agenda-meta{display:grid;gap:8px;font-size:13px}.agenda-left-info .agenda-meta span{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed #cfc6b5;padding-bottom:6px}.task-tab-stage-v43>.metric-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:8px 0!important;animation:none!important;transform-origin:left center}.task-tab-stage-v43.kh-page-turn-next>.metric-card{animation:khPageTurnNext .48s cubic-bezier(.2,.7,.2,1)}.task-tab-stage-v43.kh-page-turn-prev>.metric-card{animation:khPageTurnPrev .48s cubic-bezier(.2,.7,.2,1)}@keyframes khPageTurnNext{0%{opacity:.35;transform:rotateY(-14deg) translateX(22px)}100%{opacity:1;transform:none}}@keyframes khPageTurnPrev{0%{opacity:.35;transform:rotateY(14deg) translateX(-22px)}100%{opacity:1;transform:none}}.task-tab-stage-v43 .task-read-field{background:rgba(255,255,255,.45);border-color:#e3dccd}.task-tab-stage-v43 h4{font-family:Georgia,serif;color:#2f3c34}.agenda-page-no{position:absolute;right:25px;bottom:12px;color:#a39885;font:12px Georgia,serif}
@media(max-width:900px){.task-tabs-v43{overflow-x:auto!important;flex-wrap:nowrap!important;margin:10px 0 0!important;padding:0 4px!important}.task-tabs-v43 button{font-size:12px!important;padding:8px 10px!important}.task-tab-stage-v43{min-height:560px;padding:24px 18px 35px!important;border-radius:10px!important;background:linear-gradient(90deg,#f0eadc 0 8px,#fffdf6 8px 100%)!important;box-shadow:0 16px 38px rgba(44,36,25,.14)!important}.task-tab-stage-v43:before,.task-tab-stage-v43:after,.agenda-left-info{display:none!important}.task-tab-stage-v43>.metric-card{padding:0!important}.task-tab-stage-v43.kh-page-turn-next>.metric-card{animation:khMobilePage .32s ease-out}@keyframes khMobilePage{0%{opacity:.15;transform:translateX(22px) rotateY(-5deg)}100%{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){.task-tab-stage-v43>.metric-card{animation:none!important}.task-tabs-v43 button{transition:none!important}}

/* KarinaHub v4.9 — agenda física maior, capa dura, páginas funcionais e virada de folha */
body:has(.task-hero) .content{overflow-x:hidden}.agenda-tabs-v49{max-width:1460px!important;padding:0 28px!important;margin:18px auto -1px!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:thin}.agenda-tabs-v49 button{font-size:12px!important;padding:9px 13px!important;min-width:max-content!important;position:relative;z-index:3}.agenda-cover-v49{max-width:1500px;margin:0 auto 38px;padding:18px;background:linear-gradient(135deg,#123c32,#0a2b25 48%,#174b3f);border-radius:28px 28px 34px 34px;box-shadow:0 32px 80px rgba(15,35,29,.28),inset 0 0 0 2px rgba(255,255,255,.08),inset 0 -12px 30px rgba(0,0,0,.18);position:relative}.agenda-cover-v49:before,.agenda-cover-v49:after{content:'';position:absolute;top:32px;bottom:32px;width:9px;background:rgba(0,0,0,.16);filter:blur(6px);z-index:0}.agenda-cover-v49:before{left:14px}.agenda-cover-v49:after{right:14px}.agenda-book-v49{height:760px;display:grid;grid-template-columns:1fr 1fr;position:relative;perspective:2200px;filter:drop-shadow(0 15px 18px rgba(0,0,0,.18))}.agenda-book-v49:before{content:'';position:absolute;left:50%;top:0;bottom:0;width:26px;transform:translateX(-50%);background:linear-gradient(90deg,rgba(60,47,30,.12),rgba(70,54,35,.42) 48%,rgba(255,255,255,.5) 52%,rgba(60,47,30,.10));z-index:8;pointer-events:none}.agenda-book-v49:after{content:attr(data-page);position:absolute;right:30px;bottom:17px;color:#9b8e76;font:12px Georgia,serif;z-index:9}.agenda-page-v49{min-width:0;background:linear-gradient(90deg,#fffdf5,#fffef9);border:1px solid #ddd3bd;position:relative;overflow:hidden}.agenda-left-v49{border-radius:16px 2px 2px 16px;box-shadow:inset -14px 0 24px rgba(94,76,48,.08)}.agenda-right-v49{border-radius:2px 16px 16px 2px;box-shadow:inset 14px 0 24px rgba(94,76,48,.07)}.agenda-page-v49:after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0,transparent 31px,rgba(174,158,128,.10) 32px)}.agenda-page-head-v49{height:118px;padding:30px 42px 18px;position:relative;z-index:2;border-bottom:1px solid rgba(154,137,106,.18)}.agenda-page-head-v49 h3{font:700 27px Georgia,serif;color:#263a32;margin:3px 0 1px}.agenda-page-head-v49 small{color:#8b7e69}.agenda-kicker-v49{font-size:10px;font-weight:900;letter-spacing:.14em;color:#8b806d}.agenda-page-body-v49{height:calc(100% - 118px);padding:24px 42px 46px;overflow:auto;position:relative;z-index:2;scrollbar-width:thin}.agenda-project-intro-v49{padding:20px;border:1px solid #e4dbc7;border-radius:12px;background:rgba(255,255,255,.5)}.agenda-project-intro-v49>span{font-size:10px;letter-spacing:.15em;font-weight:900;color:#8d806a}.agenda-project-intro-v49 h3{font:700 25px Georgia,serif;margin:12px 0;line-height:1.2}.agenda-project-intro-v49 p,.agenda-note-v49{background:#fff0a6;padding:16px;border-radius:4px;box-shadow:0 8px 16px rgba(90,70,28,.08)}.agenda-page-body-v49>.metric-card{display:block!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.agenda-page-body-v49>.metric-card>h4{display:none!important}.agenda-right-v49 .task-project-read-card form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.agenda-right-v49 .task-project-read-card form>[class*="col-"]{width:auto!important;max-width:none!important;grid-column:span 1}.agenda-right-v49 .task-project-read-card form>.col-12{grid-column:1/-1}.agenda-right-v49 .task-read-field{min-width:0!important;overflow-wrap:anywhere}.agenda-right-v49 .comments-list{max-height:none!important;overflow:visible!important}.agenda-right-v49 .timeline-item,.agenda-right-v49 .comment-item,.agenda-right-v49 .file-row,.agenda-right-v49 .check-item,.agenda-right-v49 .task-update-entry{background:rgba(248,250,252,.82)!important;border:1px solid rgba(203,213,225,.7)!important;border-left:4px solid #78958a!important;border-radius:12px!important;padding:12px 14px!important;margin:0 0 10px!important}.agenda-empty-v49{padding:30px;text-align:center;color:#8b806d;border:1px dashed #d9cfbb;border-radius:12px}.agenda-pager-v49{display:flex;justify-content:center;align-items:center;gap:10px;margin:18px 0 2px}.agenda-pager-v49 button{width:34px;height:34px;border:1px solid #d8cfbd;background:#fffdf6;border-radius:50%;font-size:20px;line-height:1}.agenda-pager-v49 button:disabled{opacity:.3}.agenda-pager-v49 span{font-size:12px;font-weight:800;color:#766b58}.agenda-turn-sheet-v49{position:absolute;top:0;bottom:0;width:50%;z-index:40;background:linear-gradient(90deg,#fffdf4,#fffefa 70%,#e7decb);border:1px solid #d9cfba;box-shadow:0 10px 35px rgba(56,43,26,.25);backface-visibility:hidden;transform-style:preserve-3d;pointer-events:none}.agenda-turn-sheet-v49:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0,transparent 31px,rgba(174,158,128,.10) 32px)}.agenda-turn-sheet-v49.turn-next{right:0;transform-origin:left center;animation:agendaFlipNext .62s cubic-bezier(.45,.05,.2,1) forwards}.agenda-turn-sheet-v49.turn-prev{left:0;transform-origin:right center;animation:agendaFlipPrev .62s cubic-bezier(.45,.05,.2,1) forwards}@keyframes agendaFlipNext{0%{transform:rotateY(0);box-shadow:-3px 8px 20px rgba(56,43,26,.12)}48%{box-shadow:-35px 14px 38px rgba(56,43,26,.28)}100%{transform:rotateY(-180deg);box-shadow:none}}@keyframes agendaFlipPrev{0%{transform:rotateY(0);box-shadow:3px 8px 20px rgba(56,43,26,.12)}48%{box-shadow:35px 14px 38px rgba(56,43,26,.28)}100%{transform:rotateY(180deg);box-shadow:none}}
@media(max-width:1100px){.agenda-cover-v49{margin-left:0;margin-right:0;padding:12px;border-radius:22px}.agenda-book-v49{height:700px}.agenda-page-head-v49{padding:24px 26px 16px}.agenda-page-body-v49{padding:20px 26px 42px}.agenda-page-head-v49 h3{font-size:23px}}
@media(max-width:760px){.agenda-tabs-v49{padding:0 8px!important;margin-top:10px!important}.agenda-cover-v49{padding:9px;border-radius:18px;margin-bottom:22px}.agenda-book-v49{display:block;height:690px}.agenda-left-v49{display:none}.agenda-right-v49{height:100%;border-radius:12px}.agenda-book-v49:before{display:none}.agenda-page-head-v49{height:100px;padding:20px 20px 12px}.agenda-page-head-v49 h3{font-size:22px}.agenda-page-body-v49{height:calc(100% - 100px);padding:16px 18px 42px}.agenda-right-v49 .task-project-read-card form{grid-template-columns:1fr}.agenda-right-v49 .task-project-read-card form>[class*="col-"]{grid-column:1!important}.agenda-turn-sheet-v49{width:100%;left:0!important;right:0!important}.agenda-turn-sheet-v49.turn-next{transform-origin:left center}.agenda-turn-sheet-v49.turn-prev{transform-origin:right center}.agenda-book-v49:after{right:18px;bottom:12px}.task-tabs-v43 button{font-size:11px!important;padding:8px 9px!important}}
@media(prefers-reduced-motion:reduce){.agenda-turn-sheet-v49{display:none!important}}

/* KarinaHub v5.0 — escritório interativo / mesa de trabalho */
.page-desk .sidebar{display:none!important}.page-desk .app-shell{display:block!important}.page-desk .content{margin:0!important;padding:0!important;max-width:none!important;background:#071b18!important;min-height:100vh}.page-desk .topbar{position:absolute;z-index:80;left:24px;right:24px;top:18px;background:rgba(5,25,22,.78)!important;border:1px solid rgba(255,255,255,.12)!important;color:#fff!important;backdrop-filter:blur(16px);box-shadow:0 12px 34px rgba(0,0,0,.18);padding:11px 16px!important;border-radius:20px!important}.page-desk .topbar>div:first-child{display:none}.page-desk .profile-pill{background:rgba(255,255,255,.10)!important;color:#fff!important;border-color:rgba(255,255,255,.16)!important}.page-desk .sector-switch{background:#0d312a;color:#fff;border-color:#31584f}.page-desk .profile-menu{z-index:100}.kh-office-desk{min-height:100vh;position:relative;overflow:hidden;background:radial-gradient(circle at 50% -20%,#1b5144 0,#0a2b25 37%,#061c18 68%,#041512 100%);padding:92px 3vw 28px;transition:filter .35s ease,transform .35s ease}.kh-office-desk:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(255,255,255,.05),transparent 25%,transparent 70%,rgba(0,0,0,.15));pointer-events:none}.kh-desk-header{max-width:1580px;margin:0 auto 14px;color:white;display:flex;justify-content:space-between;align-items:end;gap:20px;padding:0 12px}.kh-desk-eyebrow{font-size:10px;letter-spacing:.18em;color:#8cf3c9;font-weight:900}.kh-desk-header h2{font-size:clamp(25px,3vw,44px);font-weight:950;margin:4px 0}.kh-desk-header p{margin:0;color:#bfe2d5}.kh-desk-status{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:10px 16px;border-radius:16px;min-width:105px;text-align:right}.kh-desk-status b,.kh-desk-status span{display:block}.kh-desk-status b{font-size:20px}.kh-desk-status span{font-size:11px;color:#bfe2d5}.kh-desk-surface{max-width:1580px;height:min(75vh,820px);min-height:640px;margin:auto;position:relative;border-radius:34px;background:linear-gradient(90deg,rgba(73,37,19,.12),rgba(255,255,255,.03) 45%,rgba(73,37,19,.10)),repeating-linear-gradient(92deg,#8d5634 0,#8d5634 9px,#925b38 10px,#8a5130 23px,#965d38 25px);box-shadow:0 40px 90px rgba(0,0,0,.38),inset 0 2px 0 rgba(255,255,255,.14),inset 0 -18px 42px rgba(62,29,14,.24);border:12px solid #5c321e;overflow:hidden;isolation:isolate}.kh-desk-grain{position:absolute;inset:0;opacity:.23;background:repeating-linear-gradient(2deg,transparent 0 28px,rgba(53,25,12,.18) 29px 30px),radial-gradient(ellipse at 10% 33%,transparent 0 23px,rgba(55,28,14,.24) 24px 25px,transparent 27px),radial-gradient(ellipse at 75% 65%,transparent 0 32px,rgba(55,28,14,.22) 33px 34px,transparent 36px);pointer-events:none}.kh-desk-object{position:absolute;display:block;text-decoration:none!important;color:inherit;transform-style:preserve-3d;transition:transform .24s cubic-bezier(.2,.8,.2,1),filter .24s ease;z-index:5}.kh-desk-object:hover,.kh-desk-object:focus-visible{transform:translateY(-10px) scale(1.035) rotate(0deg)!important;filter:drop-shadow(0 22px 18px rgba(36,17,7,.35));z-index:30;outline:none}.kh-desk-object.kh-opening{transform:scale(1.16)!important;z-index:70;filter:drop-shadow(0 30px 26px rgba(0,0,0,.38))}.kh-desk-zooming .kh-desk-object:not(.kh-opening){filter:blur(2px);opacity:.72}.kh-object-tooltip{position:absolute;left:50%;top:-34px;transform:translateX(-50%) translateY(5px);white-space:nowrap;background:#071d19;color:white;font-size:12px;font-weight:850;padding:7px 11px;border-radius:99px;box-shadow:0 9px 24px rgba(0,0,0,.2);opacity:0;pointer-events:none;transition:.18s;z-index:50}.kh-desk-object:hover .kh-object-tooltip,.kh-desk-object:focus-visible .kh-object-tooltip{opacity:1;transform:translateX(-50%) translateY(0)}
/* tablet dashboard */.kh-obj-tablet{left:5%;top:8%;width:26%;height:35%;transform:rotate(-3deg)}.kh-tablet-shell{width:100%;height:100%;border-radius:28px;background:linear-gradient(145deg,#202b30,#071113);padding:14px;box-shadow:0 20px 25px rgba(34,17,8,.38),inset 0 0 0 2px #3f4a4d}.kh-tablet-screen{height:100%;border-radius:18px;padding:17px;color:white;background:radial-gradient(circle at 80% 0,#1eb886 0,#075b48 33%,#082d27 70%);position:relative;overflow:hidden}.kh-screen-brand{font-weight:950;font-size:15px}.kh-mini-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:13px}.kh-mini-kpis i{font-style:normal;background:rgba(255,255,255,.11);border-radius:8px;text-align:center;padding:7px 3px;font-weight:900}.kh-mini-chart{height:40%;display:flex;align-items:end;gap:7px;padding:10px 4px 0}.kh-mini-chart b{flex:1;background:linear-gradient(#89f2ce,#26b686);border-radius:5px 5px 1px 1px}.kh-mini-chart b:nth-child(1){height:38%}.kh-mini-chart b:nth-child(2){height:72%}.kh-mini-chart b:nth-child(3){height:52%}.kh-mini-chart b:nth-child(4){height:90%}.kh-mini-chart b:nth-child(5){height:65%}.kh-tablet-screen small{position:absolute;bottom:12px;right:15px;color:#baf3df}.kh-camera{position:absolute;top:7px;left:50%;width:5px;height:5px;background:#020708;border-radius:50%}
/* creation notebook */.kh-obj-notebook{left:37%;top:9%;width:17%;height:28%;transform:rotate(4deg)}.kh-notebook{height:100%;background:#172f52;border-radius:9px 14px 14px 9px;padding:11px 11px 11px 18px;box-shadow:0 16px 22px rgba(33,16,6,.34);position:relative}.kh-elastic{position:absolute;right:12px;top:0;bottom:0;width:6px;background:#e2a9a8;box-shadow:1px 0 0 rgba(0,0,0,.18)}.kh-notebook-page{height:100%;background:repeating-linear-gradient(#fbf8ea 0,#fbf8ea 25px,#d9d4c5 26px);border-radius:4px 9px 9px 4px;padding:16px;color:#213047}.kh-notebook-page b,.kh-notebook-page span{display:block}.kh-notebook-page b{font:900 16px Georgia}.kh-notebook-page span{font-size:11px}.kh-notebook-page em{display:grid;place-items:center;margin:18px auto 5px;width:38px;height:38px;border:2px dashed #597ca5;border-radius:50%;font:normal 25px Georgia}.kh-notebook-page u{display:block;width:74%;height:1px;background:#8796a5;margin:9px 0;text-decoration:none}.kh-pen{position:absolute;width:9px;height:110%;right:-13px;top:-6%;border-radius:6px;background:linear-gradient(90deg,#b7843b,#f1c46e,#8b5b24);box-shadow:3px 6px 8px rgba(0,0,0,.22)}
/* Kanban clipboard */.kh-obj-kanban{left:60%;top:8%;width:21%;height:31%;transform:rotate(-2deg)}.kh-clipboard{height:100%;background:linear-gradient(145deg,#d7ad72,#ac7744);border-radius:10px;padding:30px 16px 15px;box-shadow:0 17px 24px rgba(35,17,7,.34),inset 0 0 0 2px rgba(83,46,18,.18);position:relative}.kh-clip{position:absolute;top:-8px;left:33%;width:34%;height:27px;background:linear-gradient(#cfd3d2,#838d8b);border-radius:5px 5px 10px 10px;box-shadow:0 4px 5px rgba(0,0,0,.22)}.kh-board-title{text-align:center;font-weight:950;font-size:12px;color:#50361f;margin-bottom:9px}.kh-postits{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;height:72%}.kh-postits b{background:#fff0a5;border-radius:2px;box-shadow:0 4px 4px rgba(53,37,15,.12);transform:rotate(-2deg)}.kh-postits b:nth-child(2),.kh-postits b:nth-child(5){background:#c9e8d5;transform:rotate(2deg)}.kh-postits b:nth-child(3){background:#d8d6f6}.kh-postits b:after{content:"";display:block;width:55%;height:2px;background:rgba(75,71,54,.25);margin:15px auto;box-shadow:0 7px rgba(75,71,54,.2),0 14px rgba(75,71,54,.15)}
/* real calendar */.kh-obj-calendar{right:4%;top:8%;width:12%;height:30%;transform:rotate(3deg)}.kh-real-calendar{height:100%;background:#fffaf0;border-radius:7px 7px 12px 12px;box-shadow:0 16px 22px rgba(35,17,7,.32);padding:24px 12px 10px;text-align:center;position:relative;border-top:15px solid #bb4f48}.kh-cal-rings{position:absolute;top:-25px;left:10%;right:10%;display:flex;justify-content:space-around}.kh-cal-rings i{width:8px;height:26px;border:3px solid #363e42;border-radius:9px}.kh-real-calendar strong{display:block;font:900 clamp(38px,4vw,66px) Georgia;color:#243536;line-height:.9}.kh-real-calendar>b{display:block;font-size:12px;color:#bd4c46;margin:7px 0 2px}.kh-real-calendar small{font-size:9px;letter-spacing:.18em}.kh-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin-top:9px}.kh-cal-grid i{height:8px;background:#e8e2d8;border-radius:1px}
/* purchases tablet */.kh-obj-purchases{left:8%;bottom:8%;width:25%;height:28%;transform:rotate(2deg)}.kh-purchase-device{height:100%;background:#182122;border-radius:18px;padding:10px;box-shadow:0 18px 26px rgba(35,17,7,.36)}.kh-purchase-screen{height:100%;border-radius:10px;background:linear-gradient(135deg,#093b30,#0d9a6c);color:#fff;padding:14px;position:relative;overflow:hidden}.kh-purchase-screen>span{font-size:10px;font-weight:900;letter-spacing:.16em}.kh-purchase-screen>b{display:block;font-size:28px;margin-top:6px}.kh-bars{height:44%;display:flex;gap:7px;align-items:end}.kh-bars i{flex:1;background:#c1f5dc;border-radius:4px 4px 0 0}.kh-bars i:nth-child(1){height:45%}.kh-bars i:nth-child(2){height:75%}.kh-bars i:nth-child(3){height:58%}.kh-bars i:nth-child(4){height:94%}.kh-purchase-screen small{position:absolute;right:12px;bottom:8px;color:#c7f9e7}.kh-card-stack{position:absolute;right:-18px;bottom:-12px;width:90px;height:48px}.kh-card-stack i{position:absolute;inset:0;border-radius:7px;background:#e7d8b4;box-shadow:0 5px 8px #0002}.kh-card-stack i:last-child{transform:translate(9px,7px);background:#f3ead2}
/* forms */.kh-obj-forms{left:39%;bottom:8%;width:16%;height:27%;transform:rotate(-4deg)}.kh-form-pad{height:100%;background:#f4efe2;border:7px solid #bc8b51;border-radius:7px;padding:28px 14px 10px;box-shadow:0 17px 22px rgba(35,17,7,.32);position:relative}.kh-form-clip{position:absolute;top:-10px;left:30%;width:40%;height:24px;background:#9ca3a4;border-radius:5px}.kh-form-pad b{font-size:11px;letter-spacing:.08em}.kh-form-pad span{display:block;height:7px;border-bottom:1px solid #a79b89;margin:9px 0}.kh-form-pad span.short{width:65%}.kh-form-pad em{position:absolute;right:15px;bottom:12px;font:normal 22px sans-serif;color:#16845f}
/* integrations phone */.kh-obj-integrations{left:63%;bottom:8%;width:10%;height:26%;transform:rotate(5deg)}.kh-phone{height:100%;background:#151b1c;border-radius:24px;padding:8px;box-shadow:0 17px 22px rgba(35,17,7,.34)}.kh-phone-screen{height:100%;border-radius:18px;background:linear-gradient(160deg,#101f2b,#1f6d6a);color:#fff;display:grid;place-items:center;align-content:center;gap:6px}.kh-phone-screen b{font-size:11px;letter-spacing:.15em}.kh-phone-screen i{font:normal 34px sans-serif;color:#7bf0c5}.kh-phone-screen small{font-size:9px}.kh-cable{position:absolute;width:62px;height:62px;border:5px solid #272e2e;border-left-color:transparent;border-top-color:transparent;border-radius:50%;right:-45px;bottom:-24px;transform:rotate(20deg)}
/* support toolbox */.kh-obj-support{right:8%;bottom:9%;width:15%;height:22%;transform:rotate(-2deg)}.kh-toolbox{height:100%;background:linear-gradient(#d75a4d 0 30%,#9c342c 31%);border-radius:12px;box-shadow:0 17px 22px rgba(35,17,7,.34);position:relative;padding:42px 16px 10px;color:#fff;text-align:center}.kh-toolbox:before{content:"";position:absolute;width:55%;height:34px;left:22.5%;top:-24px;border:9px solid #72271f;border-bottom:0;border-radius:12px 12px 0 0}.kh-toolbox>i{position:absolute;left:0;right:0;top:38%;height:5px;background:#7a2924}.kh-toolbox b{font-size:28px}.kh-toolbox span{font-size:17px;margin:0 4px}
/* desk decor */.kh-desk-coffee{position:absolute;right:23%;top:45%;width:76px;height:76px;z-index:2}.kh-desk-coffee div{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#eee7da;border:7px solid #d8cbb9;font-size:27px;box-shadow:0 12px 18px rgba(35,17,7,.3)}.kh-desk-coffee i{position:absolute;right:0;top:20px;width:24px;height:25px;border:7px solid #d8cbb9;border-left:0;border-radius:0 18px 18px 0}.kh-desk-plant{position:absolute;left:1%;top:42%;z-index:1;text-align:center}.kh-desk-plant div{font-size:72px;filter:drop-shadow(0 11px 7px rgba(0,0,0,.25))}.kh-desk-plant i{display:block;width:58px;height:42px;background:#98583c;margin:-20px auto 0;clip-path:polygon(10% 0,90% 0,76% 100%,24% 100%)}.kh-desk-mouse{position:absolute;right:30%;top:46%;width:55px;height:78px;border-radius:50% 50% 45% 45%;background:#d6d7d4;box-shadow:0 11px 15px #0004;transform:rotate(7deg)}.kh-desk-mouse i{display:block;width:2px;height:25px;background:#9a9d9b;margin:auto}.kh-desk-legend{position:absolute;left:50%;transform:translateX(-50%);bottom:14px;display:flex;gap:16px;background:rgba(26,16,10,.48);color:#f9eadc;padding:7px 12px;border-radius:99px;font-size:10px;z-index:10;backdrop-filter:blur(7px)}.kh-desk-legend span{display:flex;align-items:center;gap:6px}.kh-desk-legend .live{width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 4px rgba(74,222,128,.16)}
/* ambient dust/light */.kh-desk-ambient span{position:absolute;border-radius:50%;background:rgba(146,255,213,.12);filter:blur(2px);animation:khFloat 7s ease-in-out infinite}.kh-desk-ambient span:nth-child(1){width:7px;height:7px;left:12%;top:22%}.kh-desk-ambient span:nth-child(2){width:10px;height:10px;right:13%;top:35%;animation-delay:-2s}.kh-desk-ambient span:nth-child(3){width:5px;height:5px;left:57%;top:12%;animation-delay:-4s}@keyframes khFloat{50%{transform:translateY(-18px);opacity:.45}}
/* module identity frames */
body:not(.page-desk) .content{position:relative}.page-purchases .content:before,.page-kanban .content:before,.page-calendar .content:before{content:"";position:fixed;z-index:-1;inset:0 0 0 260px;pointer-events:none}.page-purchases .content:before{background:radial-gradient(circle at 90% 10%,#d6efe5,#f4f7f6 42%)}.page-kanban .content:before{background:linear-gradient(135deg,#f2eadc,#f8fafc 42%)}.page-calendar .content:before{background:linear-gradient(#f8fafc,#eef5f2)}
@media(max-width:1000px){.page-desk .topbar{left:12px;right:12px;top:10px}.kh-office-desk{padding:78px 12px 16px}.kh-desk-header{align-items:center}.kh-desk-surface{height:auto;min-height:980px;border-width:8px;border-radius:24px}.kh-obj-tablet{left:5%;top:5%;width:43%;height:23%}.kh-obj-notebook{left:57%;top:5%;width:31%;height:20%}.kh-obj-kanban{left:6%;top:33%;width:39%;height:22%}.kh-obj-calendar{right:7%;top:31%;width:26%;height:22%}.kh-obj-purchases{left:5%;bottom:auto;top:61%;width:43%;height:21%}.kh-obj-forms{left:55%;bottom:auto;top:59%;width:29%;height:21%}.kh-obj-integrations{left:20%;bottom:3%;width:19%;height:15%}.kh-obj-support{right:10%;bottom:4%;width:29%;height:15%}.kh-desk-coffee{right:41%;top:45%;transform:scale(.8)}.kh-desk-mouse,.kh-desk-plant{display:none}}
@media(max-width:600px){.page-desk .topbar{padding:8px 10px!important}.page-desk .topbar .btn-dark{padding:7px 9px!important}.page-desk .profile-pill{padding:5px 8px!important}.kh-office-desk{padding-top:74px}.kh-desk-header{padding:0 4px 8px}.kh-desk-header p{font-size:11px}.kh-desk-status{display:none}.kh-desk-surface{min-height:1040px;border-width:6px}.kh-desk-object:hover{transform:none!important}.kh-object-tooltip{top:-28px;font-size:10px;padding:5px 8px;opacity:1;background:rgba(7,29,25,.78)}.kh-obj-tablet{left:5%;top:4%;width:55%;height:19%}.kh-obj-notebook{left:65%;top:4%;width:29%;height:18%}.kh-obj-kanban{left:5%;top:28%;width:48%;height:20%}.kh-obj-calendar{right:7%;top:29%;width:29%;height:19%}.kh-obj-purchases{left:5%;top:54%;width:55%;height:19%}.kh-obj-forms{right:6%;left:auto;top:55%;width:29%;height:19%}.kh-obj-integrations{left:14%;bottom:4%;width:24%;height:15%}.kh-obj-support{right:7%;bottom:5%;width:37%;height:14%}.kh-desk-coffee{right:42%;top:43%;transform:scale(.64)}.kh-desk-legend{width:92%;justify-content:center;bottom:6px}.kh-desk-legend span:last-child{display:none}.kh-tablet-shell{padding:8px;border-radius:18px}.kh-tablet-screen{padding:10px}.kh-mini-kpis{margin-top:7px}.kh-notebook{padding:7px 8px 7px 12px}.kh-notebook-page{padding:10px}.kh-real-calendar{padding-top:18px}.kh-real-calendar strong{font-size:42px}.kh-cal-grid{gap:2px}.kh-purchase-screen{padding:9px}.kh-purchase-screen>b{font-size:20px}.kh-phone{border-radius:17px}.kh-toolbox b{font-size:20px}}
@media(prefers-reduced-motion:reduce){.kh-desk-object,.kh-office-desk,.kh-desk-ambient span{transition:none!important;animation:none!important}}

/* ===== v5.6 MODO JOGO FÍSICO ===== */
.page-desk .topbar{left:auto!important;right:3vw!important;top:18px!important;width:auto!important;min-width:420px;max-width:720px}.page-desk .topbar>div:last-child{margin-left:auto!important;justify-content:flex-end!important}.page-desk .sector-switch{min-width:190px}.page-desk .kh-office-desk{padding-top:32px!important}.page-desk .kh-desk-header{padding-top:72px!important;position:relative;z-index:3}.page-desk .kh-desk-header:before{content:'✦ KARINA HUB • MINHA MESA';position:absolute;top:24px;left:12px;padding:8px 14px;border:1px solid #ffffff26;border-radius:999px;background:#071d19aa;font-size:11px;font-weight:900;letter-spacing:.12em;color:#9ff1cf}.page-desk .kh-desk-header h2{font-family:Georgia,serif;font-weight:800;text-shadow:0 3px 0 #0003}.page-desk .kh-object-tooltip{opacity:1!important;top:auto!important;bottom:-38px!important;background:#f1dfb7!important;color:#3c2717!important;border-radius:2px!important;font-family:Georgia,serif!important;text-transform:uppercase;box-shadow:0 5px 8px #0004!important;transform:translateX(-50%) rotate(-1deg)!important}.page-desk .kh-desk-object:nth-of-type(even) .kh-object-tooltip{transform:translateX(-50%) rotate(1deg)!important}

.kh-game-mode:not(.page-desk){background:#24170f!important}.kh-game-mode:not(.page-desk) .sidebar{display:none!important}.kh-game-mode:not(.page-desk) .content{margin:0!important;max-width:none!important;min-height:100vh!important;padding:88px 3vw 38px!important;background:radial-gradient(circle at 50% 0,#6f4529 0,#3a2417 35%,#21150e 75%,#160e09 100%)!important;position:relative}.kh-game-mode:not(.page-desk) .content:after{content:'';position:fixed;inset:0;pointer-events:none;opacity:.16;background:repeating-linear-gradient(92deg,#0000 0 18px,#12090655 19px 20px);z-index:0}.kh-game-mode:not(.page-desk) .topbar{position:fixed!important;z-index:90!important;left:3vw!important;right:3vw!important;top:14px!important;background:#100d0bcf!important;border:1px solid #ffffff1f!important;color:#fff!important;backdrop-filter:blur(16px);border-radius:18px!important;padding:10px 14px!important;box-shadow:0 14px 35px #0006!important}.kh-game-mode:not(.page-desk) .topbar h1{font-family:Georgia,serif!important;font-size:22px!important;color:#fff!important}.kh-game-mode:not(.page-desk) .topbar small{color:#d5c6b9!important}.kh-game-mode:not(.page-desk) .topbar>div:last-child{margin-left:auto!important}.kh-game-mode:not(.page-desk) .profile-pill{background:#ffffff10!important;color:#fff!important;border-color:#ffffff20!important}.kh-game-mode:not(.page-desk) .sector-switch{background:#1c332c!important;color:#fff!important;border-color:#4d6a60!important}.kh-game-mode:not(.page-desk) .kh-desk-return{border-color:#d9b98c!important;color:#f5e7d0!important}.kh-game-mode:not(.page-desk) .kh-mode-toggle{background:#efe3cf!important;color:#25180f!important;border:0!important;font-weight:900}.kh-game-mode:not(.page-desk) .content>*:not(.topbar):not(.profile-menu):not(.toast-hub){position:relative;z-index:2}

/* physical module frames */
.kh-game-mode.page-kanban .content{padding-left:5vw!important;padding-right:5vw!important}.kh-game-mode.page-kanban .content:before{content:'KANBAN';display:block;position:absolute!important;z-index:1!important;left:7vw!important;right:7vw!important;top:105px!important;bottom:30px!important;background:linear-gradient(#c7975f,#ad7643)!important;border:14px solid #714521!important;border-radius:26px!important;box-shadow:0 28px 70px #0008,inset 0 0 0 2px #e6c18e!important}.kh-game-mode.page-kanban .content:after{background:repeating-linear-gradient(0deg,#0000 0 42px,#5e361518 43px),repeating-linear-gradient(90deg,#0000 0 72px,#fff1 73px)!important}.kh-game-mode.page-kanban .kanban-board,.kh-game-mode.page-kanban .kanban-grid,.kh-game-mode.page-kanban [class*='kanban']{position:relative}.kh-game-mode.page-kanban .kanban-column,.kh-game-mode.page-kanban .kanban-col{background:#ead7ad!important;border:0!important;box-shadow:0 7px 13px #4b2a1680!important;border-radius:4px!important}.kh-game-mode.page-kanban .task-card{border-radius:3px!important;box-shadow:0 6px 10px #0003!important;transform:rotate(-.25deg);border:0!important}.kh-game-mode.page-kanban .task-card:nth-child(even){transform:rotate(.35deg)}

.kh-game-mode.page-calendar .content:before{content:'';position:absolute!important;z-index:1!important;left:7vw!important;right:7vw!important;top:105px!important;bottom:30px!important;background:#f3ead7!important;border:18px solid #70451f!important;border-radius:30px!important;box-shadow:0 30px 70px #0008,inset 0 0 40px #9a6d3930!important}.kh-game-mode.page-calendar .calendar-grid,.kh-game-mode.page-calendar .week-grid,.kh-game-mode.page-calendar .day-schedule{background:#fffaf0!important;border-radius:10px!important;border:1px solid #d8c7aa!important;box-shadow:0 8px 22px #4b2a1630!important}.kh-game-mode.page-calendar .calendar-title{font-family:Georgia,serif!important;font-size:30px!important}.kh-game-mode.page-calendar .cal-day{background:#fffdf7!important;border-color:#dbcdb8!important}

.kh-game-mode.page-purchases .content:before,.kh-game-mode.page-dashboard .content:before{content:'';position:absolute!important;z-index:1!important;left:5vw!important;right:5vw!important;top:102px!important;bottom:26px!important;background:#101615!important;border:16px solid #0b0f0f!important;border-radius:44px!important;box-shadow:0 34px 75px #0009,inset 0 0 0 2px #3c4845!important}.kh-game-mode.page-purchases .content:after,.kh-game-mode.page-dashboard .content:after{content:'';position:absolute;z-index:1;top:112px;left:50%;width:8px;height:8px;border-radius:50%;background:#26322f;box-shadow:0 0 0 3px #080b0b}
.kh-game-mode.page-purchases .content>*,.kh-game-mode.page-dashboard .content>*{max-width:1500px;margin-left:auto;margin-right:auto}.kh-game-mode.page-purchases .metric-card,.kh-game-mode.page-dashboard .metric-card{background:#14201e!important;color:#f5f8f7!important;border-color:#2d423d!important}.kh-game-mode.page-purchases .text-muted,.kh-game-mode.page-dashboard .text-muted{color:#9db7af!important}

.kh-game-mode.page-create .content:before,.kh-game-mode.page-forms .content:before,.kh-game-mode.page-support .content:before{content:'';position:absolute!important;z-index:1!important;left:12vw!important;right:12vw!important;top:105px!important;bottom:30px!important;background:repeating-linear-gradient(#f8f0dc 0 34px,#d8c9aa 35px,#f8f0dc 36px)!important;border:14px solid #70451f!important;border-radius:16px!important;box-shadow:0 28px 65px #0008!important}.kh-game-mode.page-create .metric-card,.kh-game-mode.page-forms .metric-card,.kh-game-mode.page-support .metric-card{background:#fffaf0e8!important;border:1px solid #d8c7aa!important;box-shadow:0 7px 15px #4b2a1625!important}

.kh-game-mode.page-integrations .content:before{content:'';position:absolute!important;z-index:1!important;left:22vw!important;right:22vw!important;top:105px!important;bottom:28px!important;background:#091b1a!important;border:14px solid #101313!important;border-radius:48px!important;box-shadow:0 32px 75px #0009,inset 0 0 0 2px #324541!important}

@media(max-width:900px){.page-desk .topbar{left:12px!important;right:12px!important;min-width:0!important;width:auto!important}.page-desk .topbar .sector-switch{min-width:130px}.page-desk .kh-office-desk{padding-top:20px!important}.page-desk .kh-desk-header{padding-top:86px!important}.kh-game-mode:not(.page-desk) .content{padding:82px 12px 24px!important}.kh-game-mode:not(.page-desk) .topbar{left:10px!important;right:10px!important;top:8px!important}.kh-game-mode:not(.page-desk) .topbar>div:first-child{display:none!important}.kh-game-mode:not(.page-desk) .topbar .sector-switch{max-width:125px}.kh-game-mode.page-kanban .content:before,.kh-game-mode.page-calendar .content:before,.kh-game-mode.page-purchases .content:before,.kh-game-mode.page-dashboard .content:before,.kh-game-mode.page-create .content:before,.kh-game-mode.page-forms .content:before,.kh-game-mode.page-support .content:before,.kh-game-mode.page-integrations .content:before{left:4px!important;right:4px!important;top:74px!important;bottom:8px!important;border-width:7px!important;border-radius:20px!important}.kh-game-mode.page-kanban .kanban-board,.kh-game-mode.page-kanban .kanban-grid{overflow-x:auto!important;display:flex!important;scroll-snap-type:x mandatory}.kh-game-mode.page-kanban .kanban-column,.kh-game-mode.page-kanban .kanban-col{min-width:84vw!important;scroll-snap-align:center}.kh-game-mode.page-calendar .calendar-grid{overflow-x:auto!important}.kh-game-mode.page-calendar .cal-day{min-height:86px!important}}

/* v5.7 — experiência física: cada módulo vira o próprio objeto, sem aparência de painel solto */
.kh-game-mode:not(.page-desk) .content{overflow-x:hidden!important;padding-top:92px!important}
.kh-game-mode:not(.page-desk) .topbar{max-width:1540px!important;margin:auto!important;left:24px!important;right:24px!important}
.kh-game-mode:not(.page-desk) .topbar>div:first-child{max-width:38%}
.kh-game-mode:not(.page-desk) .topbar>div:last-child{justify-content:flex-end!important}
.kh-game-mode:not(.page-desk) .kh-mode-toggle{box-shadow:inset 0 0 0 1px #cdbb9d!important}

/* TABLET — Dashboard e Compras: bezel real + tela clara, conteúdo não vaza */
.kh-game-mode.page-dashboard .content,.kh-game-mode.page-purchases .content{padding:125px max(6vw,55px) 58px!important}
.kh-game-mode.page-dashboard .content:before,.kh-game-mode.page-purchases .content:before{left:3.5vw!important;right:3.5vw!important;top:105px!important;bottom:24px!important;border:18px solid #090d0d!important;border-radius:48px!important;background:#eef4f1!important;box-shadow:0 32px 80px #000a,inset 0 0 0 3px #34433f!important}
.kh-game-mode.page-dashboard .content>*:not(.topbar):not(.profile-menu):not(.toast-hub),.kh-game-mode.page-purchases .content>*:not(.topbar):not(.profile-menu):not(.toast-hub){max-width:1420px!important;position:relative!important;z-index:3!important}
.kh-game-mode.page-dashboard .metric-card,.kh-game-mode.page-purchases .metric-card{background:#fff!important;color:#13231e!important;border:1px solid #dce8e3!important;box-shadow:0 5px 18px #173c2e12!important}
.kh-game-mode.page-dashboard .text-muted,.kh-game-mode.page-purchases .text-muted{color:#64756f!important}

/* CRIAÇÃO / FORMULÁRIOS — prancheta de papel; cards viram fichas presas na folha */
.kh-game-mode.page-create .content,.kh-game-mode.page-forms .content,.kh-game-mode.page-fill_form .content{padding:138px max(14vw,70px) 62px!important}
.kh-game-mode.page-create .content:before,.kh-game-mode.page-forms .content:before,.kh-game-mode.page-fill_form .content:before{content:'';position:absolute!important;z-index:1!important;left:10vw!important;right:10vw!important;top:112px!important;bottom:28px!important;background:repeating-linear-gradient(#fffaf0 0 37px,#dfd2b8 38px,#fffaf0 39px)!important;border:18px solid #76502d!important;border-radius:22px!important;box-shadow:0 30px 75px #0008,inset 0 0 0 2px #c99d67!important}
.kh-game-mode.page-create .content:after,.kh-game-mode.page-forms .content:after,.kh-game-mode.page-fill_form .content:after{content:''!important;position:absolute!important;z-index:2!important;top:104px!important;left:50%!important;transform:translateX(-50%)!important;width:180px!important;height:42px!important;background:linear-gradient(#aeb7b8,#778386)!important;border-radius:8px 8px 14px 14px!important;box-shadow:0 5px 10px #0005!important;opacity:1!important}
.kh-game-mode.page-create .row,.kh-game-mode.page-forms .row{position:relative;z-index:3}
.kh-game-mode.page-create .form-type-card,.kh-game-mode.page-forms .form-type-card{background:#fff8e8!important;border:1px solid #d9c7a4!important;border-radius:5px!important;box-shadow:3px 5px 12px #4d321f2b!important;transform:rotate(-.25deg);min-height:155px}
.kh-game-mode.page-create .form-type-card:nth-child(even){transform:rotate(.25deg)}

/* KANBAN — quadro físico com post-its; três trilhos que cabem na prancheta */
.kh-game-mode.page-kanban .content{padding:142px 6vw 55px!important}
.kh-game-mode.page-kanban .content:before{top:110px!important;left:3.5vw!important;right:3.5vw!important;bottom:25px!important;border:18px solid #69401f!important;background:linear-gradient(100deg,#bd8b56,#d0a06b 45%,#b77e49)!important}
.kh-game-mode.page-kanban .kanban-board{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;max-width:1480px!important;margin:auto!important;overflow:hidden!important}
.kh-game-mode.page-kanban .kanban-column{min-width:0!important;max-height:calc(100vh - 190px)!important;overflow:hidden!important;background:#efe0bd!important;border-radius:7px!important;padding:15px!important;box-shadow:0 8px 20px #3a210f55!important}
.kh-game-mode.page-kanban .kanban-list{overflow-y:auto!important;max-height:calc(100vh - 255px)!important;padding:6px 5px 30px!important}
.kh-game-mode.page-kanban .kanban-card{background:#fff0a8!important;border:0!important;border-radius:2px!important;box-shadow:2px 6px 12px #3d281633!important;margin-bottom:14px!important;overflow:hidden!important}
.kh-game-mode.page-kanban .kanban-card:nth-child(3n+2){background:#d9f0cf!important}.kh-game-mode.page-kanban .kanban-card:nth-child(3n){background:#ead9f4!important}
.kh-game-mode.page-kanban .kanban-cover{max-height:105px!important}.kh-game-mode.page-kanban .kanban-body{padding:12px!important}

/* CALENDÁRIO — agenda de mesa encadernada, grade dentro da folha */
.kh-game-mode.page-calendar .content{padding:145px 5vw 58px!important}
.kh-game-mode.page-calendar .content:before{top:112px!important;left:3.5vw!important;right:3.5vw!important;bottom:25px!important;background:linear-gradient(#f7edda,#fffaf0)!important;border:18px solid #70451f!important;border-radius:24px!important}
.kh-game-mode.page-calendar .content:after{content:'●   ●   ●   ●   ●   ●   ●   ●   ●   ●   ●   ●'!important;position:absolute!important;z-index:3!important;top:109px!important;left:50%!important;transform:translateX(-50%)!important;color:#25211d!important;letter-spacing:18px!important;white-space:nowrap!important;opacity:1!important;background:none!important}
.kh-game-mode.page-calendar .calendar-title{font-family:Georgia,serif!important;color:#35291d!important;font-size:34px!important;font-weight:800!important}
.kh-game-mode.page-calendar .calendar-grid{position:relative!important;z-index:3!important;background:#fffdf7!important;overflow:hidden!important;border:1px solid #ccb996!important;border-radius:8px!important;box-shadow:0 8px 20px #53391e22!important}
.kh-game-mode.page-calendar .cal-head{background:#6d3f25!important;color:#fff!important}.kh-game-mode.page-calendar .cal-day{background:#fffdf7!important;min-width:0!important}

/* DEMANDA — sempre uma agenda aberta quando veio do ambiente físico */
.kh-game-mode.page-task .content{padding:125px 4vw 55px!important}
.kh-game-mode.page-task .task-hero{max-width:1420px!important;margin:0 auto 14px!important}
.kh-game-mode.page-task .task-tabs-v43{max-width:1320px!important}
.kh-game-mode.page-task .task-tab-stage-v43{max-width:1320px!important;min-height:620px!important;border:14px solid #173d34!important;border-radius:22px!important;box-shadow:0 30px 70px #0007,inset 0 0 0 2px #6d8a7f!important}

@media(max-width:900px){
 .kh-game-mode:not(.page-desk) .topbar{left:8px!important;right:8px!important;top:7px!important;max-width:none!important}.kh-game-mode:not(.page-desk) .topbar>div:last-child{width:100%!important;flex-wrap:nowrap!important;overflow-x:auto!important}.kh-game-mode:not(.page-desk) .topbar .profile-pill{min-width:130px!important}
 .kh-game-mode.page-dashboard .content,.kh-game-mode.page-purchases .content,.kh-game-mode.page-create .content,.kh-game-mode.page-forms .content,.kh-game-mode.page-fill_form .content,.kh-game-mode.page-kanban .content,.kh-game-mode.page-calendar .content,.kh-game-mode.page-task .content{padding:92px 12px 22px!important}
 .kh-game-mode.page-dashboard .content:before,.kh-game-mode.page-purchases .content:before,.kh-game-mode.page-create .content:before,.kh-game-mode.page-forms .content:before,.kh-game-mode.page-fill_form .content:before,.kh-game-mode.page-kanban .content:before,.kh-game-mode.page-calendar .content:before{left:4px!important;right:4px!important;top:78px!important;bottom:5px!important;border-width:7px!important;border-radius:18px!important}
 .kh-game-mode.page-kanban .kanban-board{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;gap:12px!important;padding:3px!important}.kh-game-mode.page-kanban .kanban-column{flex:0 0 88vw!important;max-height:calc(100vh - 125px)!important;scroll-snap-align:center!important}.kh-game-mode.page-kanban .kanban-list{max-height:calc(100vh - 195px)!important}
 .kh-game-mode.page-calendar .calendar-grid{overflow-x:auto!important}.kh-game-mode.page-calendar .cal-head,.kh-game-mode.page-calendar .cal-row{min-width:760px!important}.kh-game-mode.page-calendar .calendar-title{font-size:25px!important}
 .kh-game-mode.page-task .task-tab-stage-v43{border-width:7px!important;border-radius:16px!important;min-height:650px!important}
}

/* v5.8 — navegação física fixa + enquadramento e detalhes */
@media(min-width:901px){
 body.kh-game-mode:not(.page-desk) .sidebar{display:flex!important;position:fixed!important;left:14px!important;top:14px!important;bottom:14px!important;width:205px!important;z-index:120!important;border-radius:22px!important;padding:18px 12px!important;background:linear-gradient(180deg,#0b1815,#13251f)!important;border:1px solid #ffffff1b!important;box-shadow:0 22px 55px #0008!important;overflow-y:auto!important}
 body.kh-game-mode:not(.page-desk) .sidebar .brand{font-family:Georgia,serif;font-size:19px!important}
 body.kh-game-mode:not(.page-desk) .sidebar .navlink{border-radius:12px!important;margin:3px 0!important;padding:10px 11px!important;color:#e7efe9!important}
 body.kh-game-mode:not(.page-desk) .sidebar .navlink:hover,body.kh-game-mode:not(.page-desk) .sidebar .navlink.active{background:#f0dfb8!important;color:#302015!important;transform:translateX(4px)}
 body.kh-game-mode:not(.page-desk) .content{margin-left:225px!important;width:calc(100% - 225px)!important;padding-top:112px!important}
 body.kh-game-mode:not(.page-desk) .topbar{left:245px!important;right:24px!important;max-width:none!important}
 body.kh-game-mode:not(.page-desk) .kh-desk-return{display:none!important}
}
/* evita topo/conteúdo cortado */
.kh-game-mode.page-task .task-hero{margin-top:12px!important}.kh-game-mode.page-task .task-tabs-v43{position:relative!important;top:auto!important;z-index:6!important;margin-top:14px!important}.kh-game-mode.page-task .task-tab-stage-v43{overflow:hidden!important}
/* integrações e suporte dentro do objeto */
.kh-game-mode.page-integrations .content{padding:135px max(20vw,180px) 58px!important}.kh-game-mode.page-integrations .content:before{left:14vw!important;right:14vw!important;top:108px!important;bottom:25px!important}.kh-game-mode.page-integrations .content>*:not(.topbar):not(.profile-menu):not(.toast-hub){max-width:980px!important;margin-left:auto!important;margin-right:auto!important;overflow-wrap:anywhere!important}.kh-game-mode.page-integrations .metric-card,.kh-game-mode.page-integrations .card{max-width:100%!important;overflow:hidden!important}
.kh-game-mode.page-support .content>*:not(.topbar):not(.profile-menu):not(.toast-hub){max-width:1180px!important;margin-left:auto!important;margin-right:auto!important}
/* papel/prancheta com bordas irregulares */
.kh-game-mode.page-create .content:before,.kh-game-mode.page-forms .content:before,.kh-game-mode.page-fill_form .content:before{clip-path:polygon(.5% 1%,4% .3%,8% .8%,13% .2%,18% .9%,24% .2%,30% .7%,36% .1%,43% .8%,50% .2%,57% .9%,64% .2%,71% .7%,78% .2%,85% .8%,92% .2%,99.5% .8%,99% 99%,93% 99.5%,86% 99%,79% 99.6%,72% 99%,65% 99.5%,58% 99%,51% 99.7%,44% 99%,37% 99.5%,30% 99%,23% 99.6%,16% 99%,9% 99.5%,1% 99%)}
/* calendário: folha destacável + hover de página */
.kh-game-mode.page-calendar .calendar-grid{transform-origin:50% 0;transition:transform .35s ease,box-shadow .35s ease}.kh-game-mode.page-calendar .calendar-grid:hover{transform:perspective(1200px) rotateX(1.2deg) translateY(-3px);box-shadow:0 18px 34px #53391e35!important}.kh-game-mode.page-calendar .cal-day{transition:transform .18s ease,box-shadow .18s ease}.kh-game-mode.page-calendar .cal-day:hover{transform:translateY(-2px);box-shadow:inset 0 0 0 2px #caa97a,0 5px 12px #0001;z-index:2}
/* animações sutis dos objetos */
.kh-game-mode .metric-card,.kh-game-mode .card,.kh-game-mode .kanban-card{transition:transform .2s ease,box-shadow .2s ease}.kh-game-mode .metric-card:hover,.kh-game-mode .card:hover{transform:translateY(-2px)}
@media(max-width:900px){
 body.kh-game-mode:not(.page-desk) .sidebar{display:none!important}
 body.kh-game-mode:not(.page-desk) .content{margin-left:0!important;width:100%!important;padding-top:94px!important}
 .kh-game-mode.page-integrations .content{padding:94px 14px 24px!important}.kh-game-mode.page-integrations .content:before{left:5px!important;right:5px!important;top:78px!important;bottom:5px!important}
 .kh-game-mode.page-task .task-hero{margin-top:0!important}.kh-game-mode.page-task .task-tabs-v43{overflow-x:auto!important;white-space:nowrap!important;padding-bottom:3px!important}.kh-game-mode.page-task .task-tab-stage-v43{width:100%!important;max-width:100%!important}
}

/* v5.8.1 — gaveta retrátil: objeto continua protagonista */
@media(min-width:901px){
 body.kh-game-mode:not(.page-desk) .sidebar{width:58px!important;left:12px!important;top:50%!important;bottom:auto!important;height:auto!important;max-height:86vh!important;transform:translateY(-50%)!important;padding:10px 7px!important;border-radius:18px!important;overflow:hidden!important;transition:width .26s ease,box-shadow .26s ease!important;background:linear-gradient(180deg,#10241e,#0b1815)!important;box-shadow:0 16px 42px #0006!important}
 body.kh-game-mode:not(.page-desk) .sidebar:hover,body.kh-game-mode:not(.page-desk) .sidebar:focus-within{width:214px!important;overflow-y:auto!important;box-shadow:0 22px 58px #0009!important}
 body.kh-game-mode:not(.page-desk) .sidebar .brand{height:42px!important;margin:0 0 8px!important;font-size:0!important;white-space:nowrap!important;display:flex!important;align-items:center!important;gap:9px!important;padding:0 8px!important}
 body.kh-game-mode:not(.page-desk) .sidebar .brand:before{content:'🗂️';font-size:22px!important;flex:0 0 26px!important}
 body.kh-game-mode:not(.page-desk) .sidebar .brand:after{content:'Navegação';font:800 16px Georgia,serif!important;opacity:0!important;transition:opacity .18s ease!important}
 body.kh-game-mode:not(.page-desk) .sidebar:hover .brand:after,body.kh-game-mode:not(.page-desk) .sidebar:focus-within .brand:after{opacity:1!important}
 body.kh-game-mode:not(.page-desk) .sidebar .navlink{height:43px!important;padding:10px 10px!important;margin:3px 0!important;white-space:nowrap!important;overflow:hidden!important;gap:12px!important;font-size:0!important;border-radius:11px!important}
 body.kh-game-mode:not(.page-desk) .sidebar .navlink::first-letter{font-size:19px!important}
 body.kh-game-mode:not(.page-desk) .sidebar:hover .navlink,body.kh-game-mode:not(.page-desk) .sidebar:focus-within .navlink{font-size:14px!important}
 body.kh-game-mode:not(.page-desk) .sidebar hr,body.kh-game-mode:not(.page-desk) .sidebar small{display:none!important}
 body.kh-game-mode:not(.page-desk) .content{margin-left:0!important;width:100%!important;padding-left:max(5vw,72px)!important}
 body.kh-game-mode:not(.page-desk) .topbar{left:max(6vw,88px)!important;right:24px!important}
}
@media(max-width:900px){body.kh-game-mode:not(.page-desk) .sidebar{display:none!important}.kh-game-mode:not(.page-desk) .content{margin-left:0!important;width:100%!important}}

/* v5.8.2 — lingueta discreta + gaveta por clique */
@media(min-width:901px){
 body.kh-game-mode:not(.page-desk) .sidebar{display:flex!important;position:fixed!important;left:0!important;top:50%!important;bottom:auto!important;width:44px!important;height:62px!important;max-height:none!important;transform:translateY(-50%)!important;padding:0!important;border-radius:0 16px 16px 0!important;overflow:hidden!important;background:linear-gradient(180deg,#6f4729,#4b2e1d)!important;border:1px solid #b98756!important;border-left:0!important;box-shadow:4px 8px 20px #0005!important;transition:width .28s ease,height .28s ease,background .28s ease!important;z-index:140!important}
 body.kh-game-mode:not(.page-desk) .sidebar::before{content:'☰';position:absolute;left:0;top:0;width:44px;height:62px;display:flex;align-items:center;justify-content:center;color:#fff7e7;font-size:22px;font-weight:900;cursor:pointer;z-index:3;text-shadow:0 2px 4px #0008}
 body.kh-game-mode:not(.page-desk) .sidebar .brand,body.kh-game-mode:not(.page-desk) .sidebar .navlink{opacity:0!important;pointer-events:none!important;transform:translateX(-12px)!important;transition:opacity .18s ease,transform .22s ease!important}
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open{width:238px!important;height:auto!important;max-height:82vh!important;padding:18px 12px 14px 54px!important;overflow-y:auto!important;background:linear-gradient(180deg,#10241e,#0b1815)!important;border-color:#ffffff22!important;border-radius:0 20px 20px 0!important;box-shadow:12px 20px 55px #0009!important}
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open::before{content:'×';height:54px;font-size:28px}
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open .brand{display:block!important;height:auto!important;margin:0 0 10px!important;padding:0!important;font:800 17px Georgia,serif!important;color:#f5ead4!important;white-space:normal!important;opacity:1!important;pointer-events:auto!important;transform:none!important}
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open .brand:before,body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open .brand:after{display:none!important;content:none!important}
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open .navlink{display:flex!important;height:auto!important;min-height:42px!important;padding:10px 11px!important;margin:4px 0!important;font-size:14px!important;white-space:normal!important;opacity:1!important;pointer-events:auto!important;transform:none!important;border-radius:11px!important}
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open .navlink:hover,body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open .navlink.active{background:#f0dfb8!important;color:#302015!important;transform:translateX(3px)!important}
 body.kh-game-mode:not(.page-desk) .content{margin-left:0!important;width:100%!important;padding-left:3vw!important}
 body.kh-game-mode:not(.page-desk) .topbar{left:3vw!important;right:3vw!important}
}

/* v5.8.3 — menu vertical por hover, uma opção por linha */
@media(min-width:901px){
 body.kh-game-mode:not(.page-desk) .sidebar{
   width:46px!important;height:58px!important;padding:0!important;overflow:hidden!important;
   border-radius:0 15px 15px 0!important;background:linear-gradient(180deg,#70482b,#4b2f1f)!important;
 }
 body.kh-game-mode:not(.page-desk) .sidebar::before{
   content:'☰'!important;width:46px!important;height:58px!important;font-size:21px!important;
 }
 body.kh-game-mode:not(.page-desk) .sidebar:hover,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within,
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open{
   width:246px!important;height:auto!important;max-height:86vh!important;
   padding:14px 12px 14px 52px!important;overflow-y:auto!important;
   background:linear-gradient(180deg,#10241e,#0a1714)!important;border-radius:0 18px 18px 0!important;
   box-shadow:12px 20px 55px #0009!important;
 }
 body.kh-game-mode:not(.page-desk) .sidebar:hover::before,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within::before,
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open::before{content:'×'!important;height:52px!important;font-size:25px!important}
 body.kh-game-mode:not(.page-desk) .sidebar:hover .brand,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within .brand,
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open .brand{
   display:flex!important;align-items:center!important;opacity:1!important;pointer-events:auto!important;
   transform:none!important;height:42px!important;margin:0 0 8px!important;padding:0 8px!important;
   font:800 16px Georgia,serif!important;color:#f5ead4!important;white-space:nowrap!important;
 }
 body.kh-game-mode:not(.page-desk) .sidebar:hover .brand:before,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within .brand:before,
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open .brand:before{content:'🚀'!important;display:inline!important;font-size:18px!important;margin-right:8px!important}
 body.kh-game-mode:not(.page-desk) .sidebar:hover .brand:after,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within .brand:after,
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open .brand:after{display:none!important;content:none!important}
 body.kh-game-mode:not(.page-desk) .sidebar:hover .navlink,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within .navlink,
 body.kh-game-mode:not(.page-desk) .sidebar.kh-drawer-open .navlink{
   display:flex!important;align-items:center!important;width:100%!important;min-width:0!important;
   height:42px!important;min-height:42px!important;padding:9px 10px!important;margin:3px 0!important;
   font-size:14px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;
   opacity:1!important;pointer-events:auto!important;transform:none!important;border-radius:10px!important;
 }
 body.kh-game-mode:not(.page-desk) .sidebar .navlink>*{flex:0 0 auto!important}
 body.kh-game-mode:not(.page-desk) .sidebar:hover .navlink:hover{background:#f0dfb8!important;color:#302015!important;transform:translateX(3px)!important}
}

/* v5.8.4 — MENU FÍSICO ESTÁVEL: vertical real, sem herança horizontal */
@media (min-width:901px){
 body.kh-game-mode:not(.page-desk) .sidebar{
   box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
   left:0!important;top:50%!important;bottom:auto!important;right:auto!important;transform:translateY(-50%)!important;
   width:48px!important;height:58px!important;min-width:48px!important;max-width:48px!important;max-height:58px!important;
   padding:0!important;margin:0!important;gap:0!important;overflow:hidden!important;
   border-radius:0 15px 15px 0!important;background:linear-gradient(180deg,#70482b,#4b2f1f)!important;
   border:1px solid #b98756!important;border-left:0!important;box-shadow:5px 10px 24px #0006!important;z-index:999!important;
   transition:width .22s ease,max-width .22s ease,height .22s ease,max-height .22s ease,background .22s ease!important;
 }
 body.kh-game-mode:not(.page-desk) .sidebar::before{
   content:'☰'!important;position:absolute!important;left:0!important;top:0!important;width:48px!important;height:58px!important;
   display:flex!important;align-items:center!important;justify-content:center!important;color:#fff7e7!important;font-size:22px!important;font-weight:900!important;
   z-index:5!important;pointer-events:none!important;
 }
 body.kh-game-mode:not(.page-desk) .sidebar>.brand,
 body.kh-game-mode:not(.page-desk) .sidebar>.navlink,
 body.kh-game-mode:not(.page-desk) .sidebar>hr,
 body.kh-game-mode:not(.page-desk) .sidebar>small{
   display:none!important;
 }
 body.kh-game-mode:not(.page-desk) .sidebar:hover,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within{
   width:255px!important;min-width:255px!important;max-width:255px!important;height:auto!important;max-height:82vh!important;
   padding:12px!important;padding-top:14px!important;overflow-y:auto!important;overflow-x:hidden!important;
   background:linear-gradient(180deg,#10241e,#091713)!important;border-radius:0 18px 18px 0!important;border-color:#ffffff26!important;
   box-shadow:14px 22px 60px #000a!important;
 }
 body.kh-game-mode:not(.page-desk) .sidebar:hover::before,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within::before{display:none!important;content:none!important}
 body.kh-game-mode:not(.page-desk) .sidebar:hover>.brand,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within>.brand{
   box-sizing:border-box!important;display:block!important;width:100%!important;height:auto!important;margin:0 0 9px!important;padding:10px 12px!important;
   opacity:1!important;pointer-events:auto!important;transform:none!important;white-space:nowrap!important;overflow:hidden!important;
   color:#f7ead5!important;font:800 16px/1.2 Georgia,serif!important;border-bottom:1px solid #ffffff18!important;
 }
 body.kh-game-mode:not(.page-desk) .sidebar:hover>.brand::before,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within>.brand::before,
 body.kh-game-mode:not(.page-desk) .sidebar:hover>.brand::after,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within>.brand::after{display:none!important;content:none!important}
 body.kh-game-mode:not(.page-desk) .sidebar:hover>.navlink,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within>.navlink{
   box-sizing:border-box!important;display:flex!important;flex:none!important;align-items:center!important;justify-content:flex-start!important;
   width:100%!important;max-width:100%!important;height:43px!important;min-height:43px!important;margin:2px 0!important;padding:0 12px!important;
   opacity:1!important;pointer-events:auto!important;transform:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
   color:#eaf2ed!important;font-size:14px!important;line-height:43px!important;border-radius:10px!important;text-decoration:none!important;
 }
 body.kh-game-mode:not(.page-desk) .sidebar:hover>.navlink:hover,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within>.navlink:hover,
 body.kh-game-mode:not(.page-desk) .sidebar:hover>.navlink.active,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within>.navlink.active{
   background:#f0dfb8!important;color:#302015!important;transform:none!important;
 }
 body.kh-game-mode:not(.page-desk) .content{margin-left:0!important;width:100%!important;padding-left:3vw!important}
 body.kh-game-mode:not(.page-desk) .topbar{left:3vw!important;right:3vw!important}
}

/* v5.8.5 — navegação física preservada + contenção definitiva */
html,body{max-width:100%;overflow-x:hidden}
body.kh-game-mode:not(.page-desk) .app-shell,
body.kh-game-mode:not(.page-desk) .content{max-width:100vw!important;overflow-x:hidden!important}
@media (min-width:901px){
 body.kh-game-mode:not(.page-desk) .sidebar{z-index:10000!important}
 body.kh-game-mode:not(.page-desk) .sidebar:hover,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 body.kh-game-mode:not(.page-desk) .sidebar:hover>.navlink,
 body.kh-game-mode:not(.page-desk) .sidebar:focus-within>.navlink{flex:0 0 43px!important;width:100%!important;max-width:100%!important}
 body.kh-game-mode:not(.page-desk) .content{box-sizing:border-box!important;padding-left:clamp(24px,3vw,52px)!important;padding-right:clamp(24px,3vw,52px)!important}
 body.kh-game-mode:not(.page-desk) .content>*:not(.topbar):not(.profile-menu):not(.toast-hub){box-sizing:border-box;max-width:100%!important}
 body.kh-game-mode.page-task .content{padding-top:118px!important}
 body.kh-game-mode.page-task .task-hero{width:100%!important;max-width:1420px!important;overflow:hidden!important}
 body.kh-game-mode.page-task .task-tabs-v43,
 body.kh-game-mode.page-task .task-tab-stage-v43{width:100%!important;max-width:1320px!important;box-sizing:border-box!important}
}
@media (max-width:900px){
 body.kh-game-mode:not(.page-desk) .content{padding-left:12px!important;padding-right:12px!important;max-width:100vw!important;overflow-x:hidden!important}
 body.kh-game-mode:not(.page-desk) .topbar{max-width:calc(100vw - 16px)!important;left:8px!important;right:8px!important}
 body.kh-game-mode.page-task .task-hero,
 body.kh-game-mode.page-task .task-tabs-v43,
 body.kh-game-mode.page-task .task-tab-stage-v43{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}
}

/* v5.8.6 — IMERSAO FISICA: enquadramento real, sem vazamentos */
body.kh-game-mode:not(.page-desk){background:radial-gradient(circle at 50% 0,#4b2b18 0,#24140c 58%,#130b07 100%)!important}
body.kh-game-mode:not(.page-desk) .content{position:relative!important;box-sizing:border-box!important;overflow-x:hidden!important}
body.kh-game-mode:not(.page-desk) .content>*:not(.topbar):not(.profile-menu):not(.toast-hub){box-sizing:border-box!important}

/* Kanban = uma unica prancheta real; nada pode sair dela */
.kh-game-mode.page-kanban .content{padding:150px max(6vw,84px) 72px!important;min-height:100vh!important}
.kh-game-mode.page-kanban .content:before{content:''!important;left:max(4vw,58px)!important;right:max(4vw,58px)!important;top:116px!important;bottom:38px!important;background:linear-gradient(105deg,#9b6639,#bd8650 46%,#936037)!important;border:12px solid #5a351d!important;border-radius:28px!important;box-shadow:0 34px 80px #000a,inset 0 0 0 3px #d4a36f,inset 0 0 45px #4a260d55!important;overflow:hidden!important}
.kh-game-mode.page-kanban .content:after{content:''!important;position:absolute!important;z-index:4!important;top:105px!important;left:50%!important;transform:translateX(-50%)!important;width:190px!important;height:48px!important;border-radius:9px 9px 17px 17px!important;background:linear-gradient(#aeb4b2 0 28%,#707a78 30% 100%)!important;border:2px solid #555f5c!important;box-shadow:0 6px 12px #0007,inset 0 2px #e8eceb!important;opacity:1!important;pointer-events:none!important}
.kh-game-mode.page-kanban .kanban-board{position:relative!important;z-index:3!important;width:100%!important;max-width:1380px!important;height:calc(100vh - 225px)!important;min-height:600px!important;margin:0 auto!important;padding:28px 24px 22px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;background:rgba(86,48,24,.18)!important;border-radius:14px!important;overflow:hidden!important}
.kh-game-mode.page-kanban .kanban-column{height:100%!important;min-width:0!important;max-height:none!important;padding:18px 14px 14px!important;background:linear-gradient(100deg,#f4e7c7,#ead6a9)!important;border:1px solid #c8a977!important;border-radius:5px!important;box-shadow:4px 8px 18px #3b210f66!important;overflow:hidden!important;transform:rotate(-.15deg)!important}
.kh-game-mode.page-kanban .kanban-column:nth-child(2){transform:rotate(.12deg)!important}.kh-game-mode.page-kanban .kanban-column:nth-child(3){transform:rotate(-.08deg)!important}
.kh-game-mode.page-kanban .kanban-column>div:first-child{height:42px!important;border-bottom:2px solid #b99562!important;margin-bottom:8px!important;padding:0 4px 8px!important}
.kh-game-mode.page-kanban .kanban-column h4{font-family:Georgia,serif!important;color:#352315!important;font-size:22px!important}
.kh-game-mode.page-kanban .kanban-list{height:calc(100% - 52px)!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding:7px 6px 28px!important;scrollbar-width:thin!important}
.kh-game-mode.page-kanban .kanban-card{width:100%!important;max-width:100%!important;margin:0 0 17px!important;border-radius:2px!important;box-shadow:3px 7px 13px #4b321d45!important;overflow:hidden!important;transform:rotate(-.35deg)!important;transition:transform .18s ease,box-shadow .18s ease!important}
.kh-game-mode.page-kanban .kanban-card:nth-child(even){transform:rotate(.35deg)!important}.kh-game-mode.page-kanban .kanban-card:hover{transform:translateY(-3px) rotate(0)!important;box-shadow:5px 11px 18px #3b251655!important}
.kh-game-mode.page-kanban .kanban-cover{width:100%!important;height:92px!important;max-height:92px!important;background-size:cover!important;background-position:center!important}.kh-game-mode.page-kanban .kanban-body{padding:11px!important;overflow:hidden!important}.kh-game-mode.page-kanban .kanban-body *{max-width:100%!important;overflow-wrap:anywhere!important}

/* Tablet: tela e conteudo ficam DENTRO do bezel */
.kh-game-mode.page-dashboard .content,.kh-game-mode.page-purchases .content{padding:140px max(7vw,92px) 70px!important}
.kh-game-mode.page-dashboard .content>*:not(.topbar):not(.profile-menu):not(.toast-hub),.kh-game-mode.page-purchases .content>*:not(.topbar):not(.profile-menu):not(.toast-hub){width:100%!important;max-width:1360px!important;margin-left:auto!important;margin-right:auto!important;position:relative!important;z-index:3!important;overflow:hidden!important}

/* Pranchetas: fichas ficam contidas na folha */
.kh-game-mode.page-create .content,.kh-game-mode.page-forms .content,.kh-game-mode.page-fill_form .content{padding-left:max(13vw,110px)!important;padding-right:max(13vw,110px)!important}
.kh-game-mode.page-create .content>.row,.kh-game-mode.page-forms .content>.row{width:100%!important;max-width:1260px!important;margin-left:auto!important;margin-right:auto!important;overflow:visible!important}

@media(max-width:900px){
 .kh-game-mode.page-kanban .content{padding:102px 13px 25px!important}
 .kh-game-mode.page-kanban .content:before{left:5px!important;right:5px!important;top:82px!important;bottom:6px!important;border-width:7px!important;border-radius:18px!important}
 .kh-game-mode.page-kanban .content:after{top:75px!important;width:110px!important;height:31px!important;border-radius:6px 6px 10px 10px!important}
 .kh-game-mode.page-kanban .kanban-board{height:calc(100vh - 130px)!important;min-height:620px!important;display:flex!important;gap:13px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:20px 12px 14px!important;scroll-snap-type:x mandatory!important}
 .kh-game-mode.page-kanban .kanban-column{flex:0 0 calc(100vw - 52px)!important;height:100%!important;scroll-snap-align:center!important;padding:14px 11px!important}
 .kh-game-mode.page-kanban .kanban-column h4{font-size:19px!important}.kh-game-mode.page-kanban .kanban-list{height:calc(100% - 48px)!important}
 .kh-game-mode.page-dashboard .content,.kh-game-mode.page-purchases .content{padding:102px 15px 28px!important}
 .kh-game-mode.page-create .content,.kh-game-mode.page-forms .content,.kh-game-mode.page-fill_form .content{padding-left:14px!important;padding-right:14px!important}
}

/* ===== v6.0 TRUE PHYSICAL CONTAINMENT — NO LEAKS ===== */
body.kh-game-mode:not(.page-desk){background:#24150d!important;overflow:hidden!important}
body.kh-game-mode:not(.page-desk) .app-shell{height:100vh!important;min-height:0!important;overflow:hidden!important;background:radial-gradient(circle at 50% 0,#68442c 0,#2a180f 58%,#160c08 100%)!important}
body.kh-game-mode:not(.page-desk) main.content{height:100vh!important;min-width:0!important;overflow:hidden!important;padding:104px 28px 22px!important;position:relative!important}
body.kh-game-mode:not(.page-desk) main.content:before,body.kh-game-mode:not(.page-desk) main.content:after{display:none!important;content:none!important}
body.kh-game-mode:not(.page-desk) .topbar{position:absolute!important;z-index:80!important;top:14px!important;left:28px!important;right:28px!important;height:76px!important;margin:0!important;background:#18120f!important;color:#fff!important;border:1px solid #4d4037!important;border-radius:18px!important;box-shadow:0 12px 28px #0005!important;overflow:hidden!important}
body.kh-game-mode:not(.page-desk) .topbar h1,body.kh-game-mode:not(.page-desk) .topbar small{color:#fff!important}
.kh-physical-object{position:relative!important;width:100%!important;height:calc(100vh - 126px)!important;margin:0!important;overflow:visible!important;isolation:isolate!important;filter:drop-shadow(0 28px 30px #0007)}
.kh-physical-viewport{position:absolute!important;z-index:5!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important;background:#f8fafc!important}
.kh-physical-viewport>*{max-width:100%!important;box-sizing:border-box!important}.kh-physical-viewport>.container,.kh-physical-viewport>.container-fluid{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
.kh-device-chrome{display:none}.kh-object-clip{display:none}.kh-object-decor{pointer-events:none;position:absolute;inset:0;z-index:20}.kh-pencil,.kh-trash,.kh-paperclip{position:absolute;display:block;filter:drop-shadow(0 4px 3px #0004)}
/* tablet */
.kh-physical-tablet{background:linear-gradient(145deg,#1d2526,#050708 68%);border:2px solid #465052;border-radius:42px;padding:22px 18px 20px!important;box-shadow:inset 0 0 0 5px #0b0f10,inset 0 0 0 7px #394245,0 28px 60px #0008!important}
.kh-physical-tablet:before{content:'';position:absolute;z-index:30;top:8px;left:50%;width:7px;height:7px;border-radius:50%;background:#050505;box-shadow:0 0 0 2px #263033,0 0 5px #54b8a6;transform:translateX(-50%)}
.kh-physical-tablet .kh-device-chrome{display:flex!important;position:absolute;z-index:15;left:28px;right:28px;top:18px;height:34px;align-items:center;justify-content:space-between;padding:0 10px;color:#d8ebe6;font-size:11px;font-weight:800;background:linear-gradient(180deg,#0b2420,#071714);border-radius:13px 13px 0 0;border-bottom:1px solid #23443d}
.kh-physical-tablet .kh-physical-viewport{left:28px!important;right:28px!important;top:52px!important;bottom:28px!important;border-radius:0 0 20px 20px!important;background:#eef5f2!important;box-shadow:inset 0 0 0 1px #cad9d4!important}
.kh-battery{width:24px;height:11px;border:1.5px solid currentColor;border-radius:3px;display:inline-block;margin-left:6px;position:relative}.kh-battery:after{content:'';position:absolute;right:-4px;top:2px;width:2px;height:5px;background:currentColor}.kh-battery i{display:block;width:72%;height:100%;background:#5ee7ad;border-radius:1px}.kh-device-right{display:flex;align-items:center;gap:5px}.kh-physical-tablet .kh-trash{right:-20px;bottom:18px;font-size:31px;color:#c9c2b7;transform:rotate(8deg)}.kh-physical-tablet .kh-paperclip{left:-17px;bottom:54px;font-size:34px;color:#b8a58d;transform:rotate(-24deg)}
/* clipboard */
.kh-physical-clipboard{background:linear-gradient(90deg,#8b572d,#b67a42 8%,#9a6233 92%,#70431f);border:8px solid #6b3f20;border-radius:26px;padding:32px 34px 28px!important;box-shadow:inset 0 0 25px #3b1d0d88,0 25px 55px #0007!important}
.kh-physical-clipboard .kh-object-clip{display:block;position:absolute;z-index:25;top:-8px;left:50%;width:180px;height:55px;transform:translateX(-50%);border-radius:9px 9px 18px 18px;background:linear-gradient(#b9c1c1,#747d7d 65%,#555d5d);border:2px solid #596161;box-shadow:0 7px 10px #0006,inset 0 2px #e5ebeb}
.kh-physical-clipboard .kh-physical-viewport{left:34px!important;right:34px!important;top:34px!important;bottom:28px!important;border-radius:4px!important;background:repeating-linear-gradient(#fffaf0 0,#fffaf0 37px,#e6d7b9 38px)!important;box-shadow:0 4px 12px #2c160d55!important;padding:18px!important}
.kh-physical-clipboard .kh-pencil{right:-13px;top:22%;font-size:48px;color:#d6a43d;transform:rotate(7deg)}.kh-physical-clipboard .kh-paperclip{left:-18px;bottom:14%;font-size:38px;color:#b7b2a8;transform:rotate(-20deg)}
/* calendar */
.kh-physical-calendar{background:#7a4b26;border-radius:20px;padding:34px 30px 25px!important;box-shadow:inset 0 0 22px #3b1d0d88,0 28px 55px #0007!important}
.kh-physical-calendar:before{content:'●   ●   ●   ●   ●   ●   ●   ●   ●   ●   ●';position:absolute;z-index:30;top:10px;left:50%;transform:translateX(-50%);white-space:nowrap;letter-spacing:17px;color:#1f1b17;font-size:17px;text-shadow:0 2px #c6a77f}
.kh-physical-calendar .kh-physical-viewport{left:30px!important;right:30px!important;top:34px!important;bottom:25px!important;border-radius:5px 5px 13px 13px!important;background:#fffaf0!important;box-shadow:0 7px 18px #2b160c66!important;padding:14px!important;overflow:auto!important}
.kh-physical-calendar .kh-pencil{right:-16px;bottom:8%;font-size:52px;color:#c79035;transform:rotate(12deg)}
.kh-page-turn{animation:khPageTurn .34s ease}@keyframes khPageTurn{0%{transform:perspective(1200px) rotateY(0);filter:brightness(1)}45%{transform:perspective(1200px) rotateY(-4deg) translateX(-5px);filter:brightness(.94)}100%{transform:none;filter:none}}
/* agenda */
.kh-physical-agenda{background:#173f36;border-radius:28px;padding:18px!important;box-shadow:inset 0 0 0 3px #0b2b24,0 28px 58px #0008!important}
.kh-physical-agenda .kh-physical-viewport{inset:18px!important;border-radius:15px!important;background:#fffaf0!important;box-shadow:inset 50% 0 18px #0002!important;padding:18px!important}
.kh-physical-agenda .kh-pencil{right:-15px;top:18%;font-size:48px;color:#d2a340;transform:rotate(8deg)}
/* kill old fake physical layers inside the REAL viewport */
.kh-physical-viewport:before,.kh-physical-viewport:after{display:none!important;content:none!important}
.kh-physical-viewport .kanban-board{margin:0!important;width:100%!important;max-width:100%!important}.kh-physical-viewport .calendar-grid{width:100%!important;max-width:100%!important}.kh-physical-viewport .row{max-width:100%!important;margin-left:0!important;margin-right:0!important}
/* desktop nav stays outside object */
@media(min-width:901px){body.kh-game-mode:not(.page-desk) .sidebar{z-index:100!important}.kh-physical-viewport .kanban-board{height:100%!important;overflow-x:auto!important}.kh-physical-viewport .kanban-column{max-height:none!important;height:calc(100% - 4px)!important}}
/* mobile: same object, smaller bezel, no horizontal page leak */
@media(max-width:900px){body.kh-game-mode:not(.page-desk){overflow:auto!important}body.kh-game-mode:not(.page-desk) .app-shell{height:100dvh!important;overflow:hidden!important}body.kh-game-mode:not(.page-desk) main.content{height:100dvh!important;padding:84px 8px 8px!important}body.kh-game-mode:not(.page-desk) .topbar{top:7px!important;left:7px!important;right:7px!important;height:68px!important;padding:8px 10px!important}.kh-physical-object{height:calc(100dvh - 92px)!important}.kh-physical-tablet{border-radius:24px;padding:14px 9px 10px!important}.kh-physical-tablet .kh-device-chrome{left:15px;right:15px;top:11px;height:29px}.kh-physical-tablet .kh-physical-viewport{left:15px!important;right:15px!important;top:40px!important;bottom:15px!important;border-radius:0 0 13px 13px!important}.kh-physical-clipboard{padding:24px 13px 13px!important;border-width:5px}.kh-physical-clipboard .kh-object-clip{width:112px;height:39px}.kh-physical-clipboard .kh-physical-viewport{left:13px!important;right:13px!important;top:25px!important;bottom:13px!important;padding:9px!important}.kh-physical-calendar{padding:25px 10px 10px!important}.kh-physical-calendar .kh-physical-viewport{left:10px!important;right:10px!important;top:25px!important;bottom:10px!important;padding:6px!important}.kh-physical-calendar:before{font-size:11px;letter-spacing:7px;top:5px}.kh-object-decor{display:none}.kh-physical-viewport .cal-head,.kh-physical-viewport .cal-row{min-width:720px!important}.kh-physical-viewport .kanban-column{min-width:82vw!important}.kh-physical-agenda{padding:9px!important}.kh-physical-agenda .kh-physical-viewport{inset:9px!important;padding:8px!important}}


/* v6.0.1 — acabamento de imersão e edição real */
.kh-kanban-edit{position:absolute;z-index:12;right:10px;top:10px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#fff9;border:1px solid #8a6a35;box-shadow:0 3px 8px #0003;text-decoration:none;transform:rotate(3deg);transition:.18s ease}
.kh-kanban-edit:hover{transform:rotate(-7deg) scale(1.12);background:#fff}
.kh-physical-clipboard .kanban-card{position:relative;transform:rotate(var(--kh-tilt,0deg));transition:transform .18s ease,box-shadow .18s ease}
.kh-physical-clipboard .kanban-card:hover{transform:rotate(0deg) translateY(-3px);box-shadow:0 10px 18px #4b2b1660!important}
.kh-physical-calendar .cal-day{transition:transform .16s ease,box-shadow .16s ease;background:#fffdf7}
.kh-physical-calendar .cal-day:hover{position:relative;z-index:4;transform:translateY(-2px);box-shadow:0 7px 13px #4a2b1830}
.kh-page-turn{animation:khPaperTurn .28s ease}
@keyframes khPaperTurn{0%{transform:perspective(900px) rotateY(0);filter:brightness(1)}45%{transform:perspective(900px) rotateY(-1.7deg) translateX(-3px);filter:brightness(.96)}100%{transform:none;filter:none}}
#editar-demanda:target{animation:khEditFocus .65s ease;box-shadow:0 0 0 4px #f2c94c88,0 16px 30px #0002}
@keyframes khEditFocus{0%{transform:scale(.985)}60%{transform:scale(1.008)}100%{transform:none}}

/* v6.0.3 — edição inline e notificação-envelope */
.kh-inline-edit{margin-top:8px}.kh-inline-edit summary{cursor:pointer;display:inline-block;font-size:12px;font-weight:800;color:#7a552b;background:#fff8e7;border:1px dashed #c9a56d;border-radius:999px;padding:5px 9px}.kh-inline-edit[open] summary{background:#f6e7c4}
.kh-soft-interaction .kh-physical-viewport{filter:brightness(.995)}
.toast-hub{pointer-events:none}.kh-envelope-notif{pointer-events:auto;position:relative;width:310px;min-height:122px;margin:12px;cursor:pointer;transform:translateX(-125%) rotate(-5deg);animation:khEnvelopeArrive .58s cubic-bezier(.2,.85,.25,1.15) forwards;filter:drop-shadow(0 15px 16px #0005)}.kh-envelope-notif:before{content:'';position:absolute;inset:28px 0 0;background:#e9d2a3;border:2px solid #a47b48;border-radius:5px;clip-path:polygon(0 0,50% 52%,100% 0,100% 100%,0 100%)}.kh-envelope-flap{position:absolute;z-index:3;left:0;right:0;top:28px;height:58px;background:#f4dfb4;border:2px solid #a47b48;clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:top;transition:.4s}.kh-envelope-letter{position:relative;z-index:2;margin:0 15px;padding:13px 15px 18px;background:#fffdf5;border:1px solid #d8c39a;border-radius:5px;transition:.4s;min-height:92px}.kh-envelope-letter b{display:block;color:#2a2118}.kh-envelope-letter p{margin:5px 0;font-size:13px;color:#55483a}.kh-envelope-letter small{color:#8c6d43;font-weight:700}.kh-envelope-notif.open .kh-envelope-flap{transform:rotateX(165deg)}.kh-envelope-notif.open .kh-envelope-letter{transform:translateY(-28px) scale(1.03)}@keyframes khEnvelopeArrive{to{transform:translateX(0) rotate(0)}}
@media(max-width:600px){.kh-envelope-notif{width:min(86vw,310px);margin:8px}}


/* v6.1.0 — botão Editar demanda na agenda e Correio Karina */
.kh-agenda-edit-demand{margin-left:auto;align-self:center;border:0;border-radius:999px;background:#0b6b50;color:#fff;padding:10px 18px;font-weight:900;box-shadow:0 7px 16px #0b6b5030;cursor:pointer}.agenda-page-head-v49{display:flex!important;align-items:center!important;gap:12px!important}.task-project-read-card:not(.is-editing) form .task-edit-control,.task-project-read-card:not(.is-editing) form .task-edit-only{display:none!important}.task-project-read-card.is-editing form .task-edit-control,.task-project-read-card.is-editing form .task-edit-only{display:block!important}
.kh-mail-center{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;pointer-events:none;opacity:0;transition:.22s}.kh-mail-center.show{opacity:1;pointer-events:auto}.kh-mail-backdrop{position:absolute;inset:0;background:#07140dcc;backdrop-filter:blur(7px)}.kh-mail-stage{position:relative;width:min(92vw,560px);padding:26px 24px 22px;border-radius:30px;background:linear-gradient(145deg,#f3e2b8,#cda86d);border:3px solid #76502e;box-shadow:0 30px 90px #0009;text-align:center;transform:translateY(30px) scale(.92);transition:.35s cubic-bezier(.2,.9,.25,1.1)}.kh-mail-center.show .kh-mail-stage{transform:none}.kh-mail-brand{font:900 13px/1.2 system-ui;letter-spacing:.14em;color:#56391f;margin-bottom:18px}.kh-mail-envelope{position:relative;margin:auto;width:min(100%,430px);min-height:245px;background:#d5aa68;border:2px solid #79512c;border-radius:8px;overflow:visible;box-shadow:0 14px 25px #593d2450}.kh-mail-envelope:after{content:'';position:absolute;inset:0;z-index:3;background:#e4bf80;clip-path:polygon(0 35%,50% 72%,100% 35%,100% 100%,0 100%);pointer-events:none}.kh-mail-flap{position:absolute;z-index:5;inset:0 0 auto;height:145px;background:#efcf96;clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:top;transition:.55s}.kh-mail-letter{position:absolute;z-index:2;left:7%;right:7%;top:28px;min-height:180px;padding:25px 24px;background:#fffaf0;border:1px solid #bfa77c;border-radius:5px;box-shadow:0 4px 10px #0002;transition:.55s;overflow:hidden}.kh-mail-letter h3{font:900 clamp(20px,4vw,28px)/1.1 Georgia,serif;color:#25352d;margin:8px 0}.kh-mail-letter p{font:600 15px/1.45 system-ui;color:#554b3d;margin:0 0 12px}.kh-mail-letter small{color:#8b7659}.kh-mail-type{font:900 11px system-ui;letter-spacing:.12em;color:#0b6b50}.kh-mail-center.reading .kh-mail-flap{transform:rotateX(178deg);z-index:1}.kh-mail-center.reading .kh-mail-letter{transform:translateY(-92px) scale(1.04);z-index:6;min-height:250px}.kh-mail-actions,.kh-mail-read-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}.kh-mail-read-actions{display:none}.kh-mail-center.reading .kh-mail-actions{display:none}.kh-mail-center.reading .kh-mail-read-actions{display:flex}.kh-mail-actions button,.kh-mail-read-actions button,.kh-mail-read-actions a{border:0;border-radius:999px;padding:12px 17px;font-weight:900;text-decoration:none;background:#0b6b50;color:#fff}.kh-mail-actions [data-act=later]{background:#5c4a38}.kh-mail-counter{margin-top:13px;font:800 12px system-ui;color:#654b2f}.kh-mail-center.leaving .kh-mail-stage{transform:translateX(110vw) rotate(9deg);opacity:0}
@media(max-width:600px){.kh-agenda-edit-demand{padding:9px 12px;font-size:13px}.agenda-page-head-v49{align-items:flex-start!important;flex-wrap:wrap!important}.kh-mail-stage{width:94vw;padding:20px 14px;border-radius:24px}.kh-mail-envelope{min-height:220px}.kh-mail-letter{padding:20px 16px}.kh-mail-center.reading .kh-mail-letter{transform:translateY(-70px) scale(1.02)}}
\n/* v6.2 E-commerce */
.kh-ecom{max-width:1500px;margin:auto}.kh-ecom-hero{background:linear-gradient(135deg,#052e2b,#0f766e);color:#fff;border-radius:28px;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 20px 45px #064e3b30}.kh-ecom-hero small{letter-spacing:2px;color:#99f6e4;font-weight:900}.kh-ecom-hero h2{font-weight:950;margin:4px 0}.kh-ecom-cart{font-size:58px}.kh-ecom-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}.kh-ecom-tabs a{padding:11px 16px;border-radius:14px;background:#fff;color:#334155;text-decoration:none;font-weight:850;border:1px solid #e2e8f0}.kh-ecom-tabs a.active{background:#0f766e;color:#fff}.kh-ecom-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.kh-ecom-kpis>div{background:#fff;padding:16px;border-radius:18px;border:1px solid #e5e7eb}.kh-ecom-kpis span,.kh-ecom-kpis b{display:block}.kh-ecom-kpis b{font-size:22px}.kh-ecom-kpis .bad b{color:#dc2626}.kh-ecom-kpis .good b{color:#059669}.kh-ecom-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:14px;margin-top:14px}.kh-ecom-grid canvas{height:300px!important}.kh-ecom-row{padding:10px 0;border-bottom:1px dashed #d1d5db}.kh-ecom-row small{display:block;color:#64748b}.kh-ecom-desk{width:170px;height:105px;background:#111827;border:8px solid #374151;border-radius:18px;color:#fff;display:grid;place-items:center;transform:rotate(-4deg);box-shadow:0 12px 20px #0004}.kh-ecom-desk b,.kh-ecom-desk small{font-size:10px}@media(max-width:900px){.kh-ecom-kpis{grid-template-columns:repeat(2,1fr)}.kh-ecom-grid{grid-template-columns:1fr}.kh-ecom-hero{padding:20px}.kh-ecom-cart{font-size:38px}.kh-ecom-tabs{overflow:auto;flex-wrap:nowrap}.kh-ecom-tabs a{white-space:nowrap}}\n/* v6.2.1 E-commerce analytics */
.kh-ecom-filters{position:sticky;top:8px;z-index:8;background:rgba(255,255,255,.96);backdrop-filter:blur(8px)}
.kh-ecom-filters label{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin-bottom:4px}.kh-sort{color:inherit;text-decoration:none;white-space:nowrap;font-weight:800}.kh-sort span{opacity:.55;font-size:.8em}.kh-sort:hover{color:#198754}.kh-sort-table th{position:sticky;top:0;background:#f8fafc;z-index:2}.kh-ecom-grid .metric-card{min-height:310px}.kh-ecom-grid canvas{max-height:250px}.kh-problem-kpis{margin-bottom:16px}@media(max-width:767px){.kh-ecom-filters{position:relative;top:auto}.kh-ecom-grid{grid-template-columns:1fr}.kh-ecom-grid .metric-card{min-height:280px}.kh-sort-table{min-width:1050px}}
/* v6.3.1 ecommerce dashboard refinement */
.kh-analysis-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 18px}.kh-analysis-cards a{display:grid!important;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:14px 16px!important;border:1px solid #dce6e3!important;border-radius:16px!important;background:#fff!important;color:#243044!important;text-decoration:none!important;box-shadow:0 4px 14px rgba(14,52,43,.05)}.kh-analysis-cards a span{grid-row:1/3;width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#edf8f4;font-size:21px}.kh-analysis-cards a b{font-size:15px}.kh-analysis-cards a small{color:#7b8797;font-size:11px}.kh-analysis-cards a.active{background:linear-gradient(135deg,#064c3d,#0b7559)!important;color:#fff!important;border-color:transparent!important}.kh-analysis-cards a.active small{color:#d7f4ea}.kh-analysis-cards a.active span{background:rgba(255,255,255,.14)}
.kh-ecom-extra-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 18px}.kh-ecom-extra-kpis>div{background:#fff;border:1px solid #e3ebe9;border-radius:15px;padding:13px 16px}.kh-ecom-extra-kpis small{display:block;color:#718096;font-weight:700;text-transform:uppercase;font-size:10px;letter-spacing:.04em}.kh-ecom-extra-kpis b{display:block;margin-top:4px;font-size:20px;color:#142033}.kh-dashboard-results{margin-top:18px!important;padding:18px!important}.kh-results-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}.kh-results-head small{color:#0c8c68;font-weight:800;letter-spacing:.08em}.kh-results-head h4{margin:3px 0}.kh-results-head p{margin:0;color:#738096;font-size:13px}.kh-dashboard-results table{min-width:980px}.kh-dashboard-results thead th{font-size:11px;text-transform:uppercase;color:#63738a;white-space:nowrap}.kh-dashboard-results tbody td{vertical-align:middle;font-size:13px}.kh-ecom-filters{border:2px solid #dcebe6!important;box-shadow:0 8px 24px rgba(9,63,50,.06)!important}
@media(max-width:800px){.kh-analysis-cards{grid-template-columns:1fr}.kh-ecom-extra-kpis{grid-template-columns:1fr 1fr}.kh-results-head{align-items:flex-start;flex-direction:column}.kh-results-head .btn{width:100%}}

/* v6.4.0 — Giro do Colchão */
.kh-mattress{max-width:1580px;margin:0 auto 50px}.kh-mattress-hero{background:linear-gradient(125deg,#082f2b,#0d5f50 55%,#16836b);color:#fff;border-radius:28px;padding:25px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 22px 48px rgba(6,78,59,.2);position:relative;overflow:hidden}.kh-mattress-hero:after{content:"";position:absolute;width:280px;height:140px;border-radius:55% 45% 0 0;background:rgba(255,255,255,.055);right:-60px;bottom:-90px}.kh-mattress-hero span{font-size:11px;letter-spacing:1.5px;font-weight:900;color:#a7f3d0}.kh-mattress-hero h2{font-size:34px;font-weight:950;margin:4px 0}.kh-mattress-hero p{margin:0;color:#d1fae5}.kh-mattress-today{position:relative;z-index:1;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:19px;padding:13px 18px;min-width:150px;text-align:center}.kh-mattress-today small,.kh-mattress-today b{display:block}.kh-mattress-today strong{display:block;font-size:27px}.kh-mattress-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0 18px}.kh-mattress-tabs a{background:#fff;border:1px solid #dfe8e4;color:#334155;border-radius:14px;padding:10px 15px;text-decoration:none;font-weight:850;box-shadow:0 5px 16px rgba(15,23,42,.04)}.kh-mattress-tabs a.active{background:#0b775b;color:#fff;border-color:#0b775b}.kh-giro-kpi{height:100%;background:#fff;border:1px solid #e3ebe8;border-radius:19px;padding:16px;box-shadow:0 8px 22px rgba(15,23,42,.045)}.kh-giro-kpi span{font-size:23px;display:block}.kh-giro-kpi small{font-size:10px;text-transform:uppercase;letter-spacing:.6px;font-weight:900;color:#64748b}.kh-giro-kpi strong{display:block;font-size:30px;line-height:1.1;margin-top:4px}.kh-giro-kpi.warn{background:#fffaf0;border-color:#fde68a}.kh-giro-kpi.ok{background:#f0fdf8;border-color:#a7f3d0}.kh-giro-card{background:#fff;border:1px solid #e2ebe7;border-radius:22px;padding:21px;box-shadow:0 10px 30px rgba(15,23,42,.05)}.kh-giro-card>small{font-size:10px;letter-spacing:1px;font-weight:900;color:#059669}.kh-giro-card h4{font-weight:900}.kh-seller{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px dashed #d9e2de}.kh-seller b{background:#ecfdf5;color:#047857;border-radius:99px;min-width:34px;text-align:center;padding:4px 9px}.kh-mattress .table thead th{font-size:11px;text-transform:uppercase;letter-spacing:.4px;color:#587064;white-space:nowrap}.kh-mattress .table tbody td{vertical-align:middle}.kh-mattress .form-control,.kh-mattress .form-select{border-radius:12px;min-height:44px}.kh-mattress-desk{width:138px;height:92px;border-radius:21px;background:linear-gradient(145deg,#f8f4e8,#e7dcc3);border:8px solid #7e5a35;box-shadow:0 13px 20px rgba(0,0,0,.32);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#29362f;transform:rotate(3deg);position:relative}.kh-mattress-desk:before,.kh-mattress-desk:after{content:"";position:absolute;width:12px;height:82%;top:9%;background:repeating-linear-gradient(#5f4630 0 8px,#d5bf9d 9px 13px);border-radius:9px}.kh-mattress-desk:before{left:8px}.kh-mattress-desk:after{right:8px}.kh-mattress-desk b{font-size:21px;line-height:1}.kh-mattress-desk span{font-family:Georgia,serif;font-style:italic}.kh-mattress-desk small{font-size:9px;color:#64748b;margin-top:4px}.kh-obj-mattress{left:43%;bottom:2%;width:12%;height:16%}
@media(max-width:1000px){.kh-obj-mattress{left:43%;bottom:2%;width:18%;height:13%}.kh-mattress-desk{width:110px;height:78px}.kh-mattress-hero{padding:20px}.kh-mattress-tabs{overflow:auto;flex-wrap:nowrap}.kh-mattress-tabs a{white-space:nowrap}}
@media(max-width:600px){.kh-mattress{padding-left:0!important;padding-right:0!important}.kh-mattress-hero{border-radius:21px;align-items:flex-start}.kh-mattress-hero h2{font-size:27px}.kh-mattress-today{min-width:105px;padding:10px}.kh-mattress-today strong{font-size:20px}.kh-giro-card{padding:14px;border-radius:17px}.kh-obj-mattress{left:40%;bottom:2%;width:20%;height:12%}.kh-mattress-desk{width:86px;height:64px;border-width:5px}.kh-mattress-desk b{font-size:16px}.kh-mattress-desk span{font-size:10px}}

/* v6.5.1 Giro: ficha sem modal/overlay */
.giro-client-sheet{background:#fff;border:1px solid #dbe7e2;border-radius:18px;padding:20px;margin:8px 0 18px;box-shadow:0 10px 30px rgba(11,55,44,.08)}
.giro-client-sheet label{font-weight:700;color:#29453e;margin-bottom:5px}.giro-history-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.giro-history-item{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #e3ebe8;border-radius:12px;background:#f9fbfa}
/* Giro do Colchão — dashboard/agenda v2 */
.kh-giro-kpi em{display:block;font-style:normal;font-size:11px;color:#94a3b8;margin-top:7px}.kh-giro-kpi.giro-kpi-main{background:linear-gradient(145deg,#073b32,#0b775b);color:#fff;border:0}.kh-giro-kpi.giro-kpi-main small,.kh-giro-kpi.giro-kpi-main em{color:#d1fae5}.kh-giro-kpi.danger{background:#fff5f5;border-color:#fecaca}.giro-dashboard-filter{border-top:4px solid #0b775b}.giro-dashboard-filter label,.giro-filter-box label{font-size:11px;font-weight:850;color:#475569;margin:0 0 5px 3px}.giro-filter-result{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:12px;padding:9px 12px;color:#065f46;font-size:12px}.giro-dashboard-table{max-height:480px;overflow:auto}.giro-dashboard-table thead{position:sticky;top:0;background:#fff;z-index:2}.giro-bars{display:grid;gap:13px}.giro-bar-row>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:5px}.giro-bar-row b{color:#047857}.giro-bar-track{height:9px;background:#edf3f0;border-radius:999px;overflow:hidden}.giro-bar-track i{display:block;height:100%;background:linear-gradient(90deg,#0b775b,#34d399);border-radius:999px}.giro-base-summary{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:11px;color:#64748b}.giro-base-summary span{background:#f8fafc;border-radius:10px;padding:7px 9px}.giro-base-summary b{display:block;color:#0f172a;font-size:17px}.giro-filter-box{background:linear-gradient(145deg,#f8fafc,#f0fdf8);border:1px solid #dceae4;border-radius:16px;padding:14px;margin-top:15px}.kh-mattress .btn-group .btn{border-radius:10px!important;margin-left:4px}.kh-mattress .btn-group .btn.active{background:#0b775b;border-color:#0b775b;color:#fff}@media(max-width:768px){.kh-mattress-hero{padding:18px}.kh-mattress-hero h2{font-size:27px}.kh-mattress-today{min-width:105px}.giro-dashboard-table{max-height:none}.kh-giro-card{padding:15px}}

/* Compras/Kanban: todas as etapas permanecem na horizontal */
.page-kanban .kanban-board{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;gap:14px!important;max-width:100%!important}
.page-kanban .kanban-column{flex:0 0 330px!important;min-width:330px!important}
@media(max-width:900px){.page-kanban .kanban-column{flex-basis:84vw!important;min-width:84vw!important}}

/* 8.5.74 Central de Tipos de Demanda */
.dc-hero{display:flex;justify-content:space-between;gap:24px;padding:28px;border-radius:24px;background:linear-gradient(135deg,#fff,#f4fbf7);border:1px solid #e4eee8;margin-bottom:24px}.dc-hero span,.dc-col-head small{font-size:11px;font-weight:900;letter-spacing:.12em}.dc-hero h2{font-weight:900;margin:6px 0}.dc-rule{min-width:260px;display:grid;gap:4px;padding:16px;border-radius:18px;background:#fff;border:1px solid #e8ece9}.dc-rule small{color:#667085;margin-bottom:6px}.dc-cols{display:grid;grid-template-columns:repeat(3,minmax(290px,1fr));gap:18px;align-items:start;overflow-x:auto}.dc-col{background:#f7f9f8;border:1px solid #e7ece9;border-radius:22px;padding:16px;min-width:290px}.dc-col-head{display:flex;gap:12px;margin-bottom:14px}.dc-col-head h3{font-weight:900;margin:0}.dc-col-head p{font-size:13px;color:#667085;margin:4px 0}.dc-bigicon{font-size:28px}.dc-card{background:#fff;border:1px solid #e5ebe7;border-radius:18px;padding:15px;margin-bottom:12px;box-shadow:0 5px 18px rgba(15,23,42,.04)}.dc-card-top{display:flex;gap:10px;align-items:center}.dc-card-top>div{flex:1}.dc-card h4{font-size:16px;font-weight:900;margin:2px 0}.dc-card small{color:#667085}.dc-card p{font-size:13px;color:#475467;margin:10px 0}.dc-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#f0f7f3;font-size:21px}.dc-star{border:0;background:transparent;font-size:24px;color:#f59e0b}.dc-actions{display:flex;gap:7px;flex-wrap:wrap}.dc-form-wrap{max-width:1180px;margin:auto}.dc-form-intro{display:flex;gap:16px;align-items:center;margin-bottom:18px}.dc-form-intro>span{font-size:42px}.dc-form-intro h2{font-weight:900;margin:2px 0}.dc-form label{font-weight:850;display:block}.dc-form label+small{display:block;color:#667085;margin:3px 0 8px}.dc-people{display:flex;gap:9px;overflow-x:auto;padding:7px 0 10px}.dc-person{min-width:120px;border:1px solid #dfe7e2;border-radius:15px;padding:10px;display:flex!important;align-items:center;gap:7px;cursor:pointer;background:#fff}.dc-person input{accent-color:#198754}.dc-person:has(input:checked){border-color:#198754;background:#f1fbf5;box-shadow:0 0 0 2px rgba(25,135,84,.1)}.dc-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e8f5ed;font-weight:900}.dc-people.compact .dc-person{min-width:105px}.dc-repeat{padding:18px;border:1px dashed #b8c9bf;border-radius:18px;background:#fbfdfc}@media(max-width:900px){.dc-cols{grid-template-columns:1fr}.dc-hero{flex-direction:column}.dc-rule{min-width:0}}

/* KH 8.5.75 — busca/filtros da Central e avatar real */
.dc-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) 250px 210px auto;gap:10px;align-items:center;margin:0 0 18px}.dc-search{position:relative}.dc-search span{position:absolute;left:13px;top:50%;transform:translateY(-50%);pointer-events:none}.dc-search input{width:100%;height:44px;border:1px solid #dfe7e2;border-radius:14px;padding:0 14px 0 40px;background:#fff;outline:none}.dc-search input:focus{border-color:#198754;box-shadow:0 0 0 3px rgba(25,135,84,.08)}.dc-toolbar .form-select{height:44px;border-radius:14px;border-color:#dfe7e2}.dc-fav-only{height:44px;display:flex!important;align-items:center;gap:7px;padding:0 14px;border:1px solid #dfe7e2;border-radius:14px;background:#fff;font-weight:800;white-space:nowrap}.dc-empty-search{padding:24px;text-align:center;border:1px dashed #cbd5e1;border-radius:18px;background:#fff;color:#64748b;margin-bottom:18px}.dc-avatar{overflow:hidden;flex:0 0 32px}.dc-avatar img{width:100%;height:100%;object-fit:cover;display:block}@media(max-width:1050px){.dc-toolbar{grid-template-columns:1fr 1fr}.dc-fav-only{justify-content:center}}@media(max-width:650px){.dc-toolbar{grid-template-columns:1fr}}

/* Kaupdate 8.5.77 - responsável e participantes */
.dc-owner-box,.dc-participants-box{margin-top:4px}.dc-participants-box{border-color:#dbeafe;background:#f8fbff}.dc-auto-hint{margin-top:12px;padding:10px 12px;border-radius:12px;background:#ecfdf5;color:#047857;font-size:12px;font-weight:750}.dc-auto-hint.secondary{background:#eff6ff;color:#1d4ed8}.dc-participant-card:has(input:checked){border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px rgba(37,99,235,.10)}.dc-participant-card:hover{border-color:#60a5fa}.dc-owner-box .kh-responsavel-avatar,.dc-participants-box .kh-responsavel-avatar{border-radius:14px}.dc-owner-box .kh-responsavel-card,.dc-participants-box .kh-responsavel-card{min-height:74px}.dc-owner-box .eyebrow,.dc-participants-box .eyebrow{font-size:10px;font-weight:900;letter-spacing:.12em;color:#64748b}

/* Kaupdate 8.5.78 - restaura cards visuais de responsavel/participantes */
.kh-responsavel-box{border:2px solid #d1fae5;background:#f7fffb;border-radius:22px;padding:18px}.kh-responsavel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.kh-responsavel-card{position:relative;display:flex;gap:11px;align-items:center;padding:12px;border:2px solid #e5e7eb;background:#fff;border-radius:16px;cursor:pointer;transition:.15s}.kh-responsavel-card:hover{border-color:#34d399;transform:translateY(-1px)}.kh-responsavel-card input{position:absolute;opacity:0;pointer-events:none}.kh-responsavel-card:has(input:checked){border-color:#059669;background:#ecfdf5;box-shadow:0 0 0 3px rgba(5,150,105,.10)}.kh-responsavel-avatar{width:48px;height:48px;border-radius:13px;background:#e2e8f0;display:grid;place-items:center;font-size:25px;overflow:hidden;flex:0 0 48px}.kh-responsavel-avatar img,.kh-profile-avatar img{width:100%;height:100%;object-fit:cover}.kh-responsavel-card b,.kh-responsavel-card small{display:block}.kh-responsavel-card small{color:#64748b;font-size:11px}.kh-responsavel-warning{margin-top:12px;padding:9px 12px;border-radius:12px;background:#fff7ed;color:#9a3412;font-size:12px;font-weight:700}.kh-profile-avatar{overflow:hidden;display:inline-grid;place-items:center}
.dc-owner-box,.dc-participants-box{margin-top:4px}.dc-participants-box{border-color:#dbeafe;background:#f8fbff}.dc-participant-card:has(input:checked){border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px rgba(37,99,235,.10)}.dc-participant-card:hover{border-color:#60a5fa}.dc-owner-box .kh-responsavel-card,.dc-participants-box .kh-responsavel-card{min-height:74px}.dc-owner-box .eyebrow,.dc-participants-box .eyebrow{font-size:10px;font-weight:900;letter-spacing:.12em;color:#64748b}


/* Kaupdate 8.5.79 — cards sequenciais, cache-bust */
.dc-owner-box .kh-responsavel-grid,.dc-participants-box .kh-responsavel-grid{display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:stretch!important}
.dc-owner-box .kh-responsavel-card,.dc-participants-box .kh-responsavel-card{display:flex!important;align-items:center!important;gap:12px!important;min-width:210px!important;max-width:290px!important;min-height:86px!important;padding:13px 15px!important;border:2px solid #e2e8f0!important;border-radius:20px!important;background:#fff!important;box-shadow:0 5px 16px rgba(15,23,42,.06)!important;cursor:pointer!important;position:relative!important;overflow:hidden!important}
.dc-owner-box .kh-responsavel-card:hover{border-color:#34d399!important;transform:translateY(-2px)!important;box-shadow:0 10px 22px rgba(5,150,105,.12)!important}
.dc-participants-box .kh-responsavel-card:hover{border-color:#60a5fa!important;transform:translateY(-2px)!important;box-shadow:0 10px 22px rgba(37,99,235,.12)!important}
.dc-owner-box .kh-responsavel-card:has(input:checked){border-color:#059669!important;background:#ecfdf5!important;box-shadow:0 0 0 3px rgba(5,150,105,.10),0 10px 22px rgba(5,150,105,.10)!important}
.dc-participants-box .kh-responsavel-card:has(input:checked){border-color:#2563eb!important;background:#eff6ff!important;box-shadow:0 0 0 3px rgba(37,99,235,.10),0 10px 22px rgba(37,99,235,.10)!important}
.dc-owner-box .kh-responsavel-card input,.dc-participants-box .kh-responsavel-card input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important}
.dc-owner-box .kh-responsavel-avatar,.dc-participants-box .kh-responsavel-avatar{width:54px!important;height:54px!important;flex:0 0 54px!important;border-radius:17px!important;background:#e8f5ed!important;display:grid!important;place-items:center!important;font-size:22px!important;font-weight:950!important;overflow:hidden!important}
.dc-participants-box .kh-responsavel-avatar{background:#eaf2ff!important}
.dc-owner-box .kh-responsavel-avatar img,.dc-participants-box .kh-responsavel-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.dc-owner-box .kh-responsavel-card b,.dc-participants-box .kh-responsavel-card b{display:block!important;font-size:14px!important;line-height:1.2!important;color:#0f172a!important;margin-bottom:4px!important}
.dc-owner-box .kh-responsavel-card small,.dc-participants-box .kh-responsavel-card small{display:block!important;font-size:11px!important;line-height:1.25!important;color:#64748b!important;font-weight:750!important}
@media(max-width:700px){.dc-owner-box .kh-responsavel-card,.dc-participants-box .kh-responsavel-card{min-width:calc(50% - 6px)!important;max-width:none!important;flex:1 1 calc(50% - 6px)!important}.dc-owner-box .kh-responsavel-avatar,.dc-participants-box .kh-responsavel-avatar{width:46px!important;height:46px!important;flex-basis:46px!important}}
/* 8.5.80 - temas pessoais */
.kh-theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.kh-theme-card{border:2px solid #e5e7eb;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:4px;cursor:pointer;background:#fff;transition:.18s}.kh-theme-card input{position:absolute;opacity:0}.kh-theme-card .theme-icon{font-size:30px}.kh-theme-card small{color:#64748b}.kh-theme-card:hover,.kh-theme-card.selected,.kh-theme-card:has(input:checked){border-color:#10b981;box-shadow:0 8px 24px #10b98122;transform:translateY(-2px)}
body.kh-theme-karina-azul{--kh-accent:#2563eb}body.kh-theme-karina-azul .sidebar,body.kh-theme-karina-azul .btn-success{background:#1d4ed8!important}body.kh-theme-karina-verde{--kh-accent:#16a34a}body.kh-theme-grafite{background:#111827;color:#e5e7eb}body.kh-theme-grafite .content,body.kh-theme-grafite .metric-card{background:#1f2937;color:#e5e7eb}body.kh-theme-grafite .text-muted{color:#9ca3af!important}body.kh-theme-claro{background:#f8fafc}body.kh-theme-aurora{background:linear-gradient(135deg,#fff7ed,#f5f3ff,#ecfeff)}body.kh-theme-minha-mesa{background:#f5efe6}
\n/* KH 8.5.81 - temas realmente visuais */\nbody[class*="kh-theme-"]{transition:background .25s,color .25s} .upload-help{font-size:.78rem;color:#64748b;margin-top:.35rem}\nbody.kh-theme-minha-mesa{--kh-accent:#9a5b2b;background:#f6eadb!important}body.kh-theme-minha-mesa .topbar{background:#fff8ef!important;border-color:#e7c9a8!important}body.kh-theme-minha-mesa .sidebar{background:linear-gradient(180deg,#6f3d1f,#3f2418)!important}body.kh-theme-minha-mesa .metric-card{background:#fffaf4!important;border-color:#ead2b8!important}\nbody.kh-theme-karina-hub{--kh-accent:#059669;background:#eef8f4!important}body.kh-theme-karina-hub .sidebar{background:linear-gradient(180deg,#063c32,#062a25)!important}\nbody.kh-theme-karina-azul{--kh-accent:#2563eb;background:#eff6ff!important}body.kh-theme-karina-azul .sidebar{background:linear-gradient(180deg,#1e3a8a,#172554)!important}body.kh-theme-karina-azul .topbar{border-color:#bfdbfe!important}body.kh-theme-karina-azul .btn-success{background:#2563eb!important;border-color:#2563eb!important}\nbody.kh-theme-karina-verde{--kh-accent:#16a34a;background:#f0fdf4!important}body.kh-theme-karina-verde .sidebar{background:linear-gradient(180deg,#166534,#052e16)!important}body.kh-theme-karina-verde .topbar{border-color:#bbf7d0!important}\nbody.kh-theme-grafite{--kh-accent:#94a3b8;background:#0f172a!important;color:#e5e7eb!important}body.kh-theme-grafite .sidebar{background:#020617!important}body.kh-theme-grafite .content,body.kh-theme-grafite .metric-card,body.kh-theme-grafite .topbar{background:#1e293b!important;color:#f8fafc!important;border-color:#334155!important}body.kh-theme-grafite .text-muted,body.kh-theme-grafite small{color:#cbd5e1!important}\nbody.kh-theme-claro{--kh-accent:#475569;background:#fff!important}body.kh-theme-claro .sidebar{background:#f8fafc!important;color:#0f172a!important;border-right:1px solid #e2e8f0}body.kh-theme-claro .sidebar a,body.kh-theme-claro .brand{color:#0f172a!important}body.kh-theme-claro .metric-card{box-shadow:0 6px 22px rgba(15,23,42,.06)!important}\nbody.kh-theme-aurora{--kh-accent:#7c3aed;background:linear-gradient(135deg,#fff7ed 0%,#f5f3ff 48%,#ecfeff 100%) fixed!important}body.kh-theme-aurora .sidebar{background:linear-gradient(180deg,#6d28d9,#0f766e)!important}body.kh-theme-aurora .metric-card{background:rgba(255,255,255,.88)!important;backdrop-filter:blur(12px)}\n.kh-theme-card:has(input:checked){outline:3px solid var(--kh-accent,#059669);box-shadow:0 8px 28px color-mix(in srgb,var(--kh-accent,#059669) 20%,transparent)}\n
/* 8.5.83 — Minha Mesa personalizável + temas reais + Clipê */
.kh-profile-studio{max-width:1320px;margin:auto}.kh-profile-identity{display:flex;align-items:center;gap:20px;padding:24px;border-radius:26px;background:linear-gradient(135deg,#fff,#f4faf7);border:1px solid #dfe9e4;margin-bottom:18px}.kh-profile-big-avatar{width:92px;height:92px;border-radius:26px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#10b981,#063b35);color:#fff;font-size:42px;font-weight:950;box-shadow:0 16px 35px #0f766e33}.kh-profile-big-avatar img{width:100%;height:100%;object-fit:cover}.kh-customizer{background:#fff;border:1px solid #e2e8f0;border-radius:28px;padding:24px;box-shadow:0 18px 50px #0f172a0d}.kh-customizer-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.kh-theme-grid-real{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.kh-theme-grid-real .kh-theme-card{min-height:160px;position:relative;overflow:hidden;padding:18px}.kh-theme-grid-real .kh-theme-card i{display:block;position:absolute;left:12px;right:12px;bottom:10px;height:28px;border-radius:8px;background:linear-gradient(90deg,#e2e8f0 30%,#fff 30%)}.theme-preview-minha-mesa{background:#fff8e9!important;border-color:#d5ad78!important}.theme-preview-minha-mesa i{background:repeating-linear-gradient(#fffaf0 0 8px,#e8d9ba 9px)!important}.theme-preview-retro{background:#c0c0c0!important;border:3px outset #eee!important;border-radius:2px!important;font-family:Tahoma,Arial,sans-serif}.theme-preview-retro i{border:2px inset #fff!important;background:#000080!important}.theme-preview-neo{background:linear-gradient(145deg,#0b1020,#18264a)!important;color:#fff;border-color:#5eead4!important}.theme-preview-neo i{background:linear-gradient(90deg,#22d3ee,#8b5cf6)!important}.theme-preview-karina-azul{background:#eff6ff!important;border-color:#93c5fd!important}.theme-preview-karina-verde{background:#ecfdf5!important;border-color:#6ee7b7!important}.theme-preview-grafite{background:#18181b!important;color:#fafafa;border-color:#52525b!important}.theme-preview-aurora{background:linear-gradient(145deg,#fff1f2,#eef2ff,#ecfeff)!important;border-color:#c4b5fd!important}.kh-setting-card{height:100%;padding:20px;border:1px solid #e2e8f0;border-radius:20px;background:#fbfcfd}.kh-choice-row,.kh-fav-grid{display:flex;gap:10px;flex-wrap:wrap}.kh-choice-row label,.kh-fav-grid label{padding:10px 13px;border:1px solid #dbe3e8;border-radius:12px;background:#fff;font-weight:750;cursor:pointer}.kh-mascot-setting{display:flex;gap:18px;align-items:center}.kh-mascot-face{width:88px;height:88px;position:relative;display:grid;place-items:center;border-radius:28px;background:#eef2ff;font-size:55px;transform:rotate(-8deg)}.kh-mascot-face span{position:absolute;font-size:14px;font-weight:900;transform:rotate(8deg);top:37px;left:33px}.kh-desk-favorites{position:absolute;z-index:30;left:3%;bottom:2%;display:flex;gap:7px;align-items:center;flex-wrap:wrap;max-width:72%;padding:9px 12px;background:#fffdf3e8;border:1px solid #d5b987;border-radius:15px;box-shadow:0 8px 20px #0002}.kh-desk-favorites a{padding:5px 9px;background:#fff;border-radius:9px;text-decoration:none;color:#3b2a1c;font-size:12px;font-weight:800}.kh-clipe{position:fixed;right:24px;bottom:22px;z-index:250;width:68px;height:68px;border:0;border-radius:50%;background:#fff;box-shadow:0 10px 30px #0003;font-size:38px;cursor:pointer}.kh-clipe i{position:absolute;left:23px;top:26px;font-style:normal;font-size:10px;font-weight:950}.kh-clipe em{display:none;position:absolute;right:58px;bottom:48px;width:230px;padding:12px;border-radius:16px 16px 3px;background:#fff;color:#1f2937;font-size:12px;font-style:normal;text-align:left;box-shadow:0 10px 30px #0003}.kh-clipe.talking em{display:block}
/* temas aplicados ao sistema inteiro */
body.kh-theme-minha-mesa{background:#5a3824}body.kh-theme-minha-mesa main.content{background:#f6ead3}body.kh-theme-minha-mesa .topbar{background:#fff8e9!important;border-color:#d5ad78!important}body.kh-theme-minha-mesa .sidebar{background:#3e2b20!important}body.kh-theme-minha-mesa .metric-card,body.kh-theme-minha-mesa .dc-card{border-radius:8px;background:#fffaf0}
body.kh-theme-retro{background:#008080!important;font-family:Tahoma,Arial,sans-serif}body.kh-theme-retro .sidebar{background:#c0c0c0!important;color:#000!important;border-right:3px outset #fff}body.kh-theme-retro .navlink{color:#000!important;border-radius:0!important}body.kh-theme-retro .navlink.active{background:#000080!important;color:#fff!important}body.kh-theme-retro main.content{background:#c0c0c0!important}body.kh-theme-retro .topbar,body.kh-theme-retro .metric-card,body.kh-theme-retro .dc-card{border:3px outset #eee!important;border-radius:0!important;box-shadow:none!important;background:#c0c0c0!important}
body.kh-theme-neo{background:#050816!important;color:#e5f6ff}body.kh-theme-neo .sidebar{background:#070b18!important;border-right:1px solid #22d3ee55}body.kh-theme-neo main.content{background:radial-gradient(circle at top,#172554,#050816)!important}body.kh-theme-neo .topbar,body.kh-theme-neo .metric-card,body.kh-theme-neo .dc-card{background:#ffffff10!important;color:#eefaff!important;border:1px solid #67e8f955!important;backdrop-filter:blur(14px);box-shadow:0 12px 40px #0005!important}body.kh-theme-neo .text-muted,body.kh-theme-neo small{color:#a5d8ee!important}
body.kh-theme-karina-azul{background:#dbeafe}body.kh-theme-karina-azul .sidebar{background:#0f3b70!important}body.kh-theme-karina-azul main.content{background:#eff6ff!important}body.kh-theme-karina-azul .btn-success{background:#2563eb;border-color:#2563eb}
body.kh-theme-karina-verde main.content{background:#ecfdf5!important}body.kh-theme-karina-verde .sidebar{background:#064e3b!important}
body.kh-theme-grafite{background:#09090b;color:#f4f4f5}body.kh-theme-grafite main.content{background:#18181b!important}body.kh-theme-grafite .sidebar{background:#09090b!important}body.kh-theme-grafite .topbar,body.kh-theme-grafite .metric-card,body.kh-theme-grafite .dc-card{background:#27272a!important;color:#fafafa!important;border-color:#3f3f46!important}body.kh-theme-grafite .text-muted,body.kh-theme-grafite small{color:#a1a1aa!important}
body.kh-theme-aurora main.content{background:linear-gradient(135deg,#fff1f2,#eef2ff 45%,#ecfeff)!important}body.kh-theme-aurora .sidebar{background:linear-gradient(#4338ca,#0f766e)!important}
body.kh-menu-right .app-shell{flex-direction:row-reverse}body.kh-menu-right .sidebar{border-left:1px solid #ffffff22;border-right:0}body.kh-density-compact main.content{padding:18px}body.kh-density-compact .metric-card{padding:14px}body.kh-density-large main.content{padding:36px}body.kh-density-large .metric-card{padding:28px}
@media(max-width:700px){.kh-customizer-head,.kh-profile-identity,.kh-mascot-setting{align-items:flex-start;flex-direction:column}.kh-clipe{right:12px;bottom:12px}.kh-desk-favorites{display:none}}

/* 8.5.84 — construtor visual real da Minha Mesa */
.kh-workspace-shell{max-width:1500px;margin:auto}.kh-workspace-toolbar{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px;padding:20px 22px;border:1px solid #dfe7e3;border-radius:24px;background:rgba(255,255,255,.92);box-shadow:0 12px 35px #0f172a0b}.kh-workspace-toolbar h2{margin:2px 0 4px;font-weight:950}.kh-workspace-toolbar p{margin:0;color:#64748b}.kh-workspace-actions{display:flex;gap:8px;flex-wrap:wrap}.kh-builder-studio{display:grid;grid-template-columns:270px 1fr;gap:18px;align-items:start}.kh-widget-library{position:sticky;top:16px;padding:18px;border-radius:22px;background:#fff;border:1px solid #dfe7e3;box-shadow:0 14px 35px #0f172a0d;max-height:calc(100vh - 100px);overflow:auto}.kh-widget-library>p{font-size:13px;color:#64748b}.kh-library-item{width:100%;display:grid;grid-template-columns:34px 1fr 28px;grid-template-rows:auto auto;gap:0 7px;text-align:left;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;padding:10px;margin-bottom:8px;cursor:grab}.kh-library-item:hover{border-color:#10b981;background:#ecfdf5;transform:translateY(-1px)}.kh-library-item>span{grid-row:1/3;font-size:23px;align-self:center}.kh-library-item>b{font-size:13px}.kh-library-item>small{font-size:10px;color:#64748b}.kh-library-item>i{grid-row:1/3;grid-column:3;font-style:normal;font-size:20px;align-self:center}.kh-builder-main{min-width:0}.kh-builder-tip{padding:10px 14px;margin-bottom:10px;border-radius:14px;background:#0f172a;color:#fff;font-size:12px}.kh-workspace-canvas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:dense;grid-auto-rows:minmax(130px,auto);gap:14px;min-height:560px;padding:16px;border-radius:26px;background:linear-gradient(145deg,#edf5f1,#f8fbfa);border:2px dashed transparent}.is-editing .kh-workspace-canvas{border-color:#94a3b8;background-image:linear-gradient(#94a3b81f 1px,transparent 1px),linear-gradient(90deg,#94a3b81f 1px,transparent 1px);background-size:24px 24px;background-color:#f8fafc}.kh-workspace-widget{grid-column:span var(--kh-w,1);grid-row:span var(--kh-h,1);min-height:130px;overflow:hidden;border-radius:20px;background:#fff;border:1px solid #dfe7e3;box-shadow:0 12px 28px #0f172a0d;transition:transform .15s,box-shadow .15s}.is-editing .kh-workspace-widget{cursor:grab}.is-editing .kh-workspace-widget:hover{box-shadow:0 15px 35px #0f172a1c}.kh-workspace-widget.dragging{opacity:.45;transform:scale(.98)}.kh-widget-new{animation:khPop .25s ease}.kh-widget-head{height:52px;padding:10px 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f2;background:linear-gradient(#fff,#fafcfc)}.kh-widget-head>div:first-child{display:flex;gap:8px;align-items:center}.kh-widget-head>div:first-child span{font-size:20px}.kh-widget-head b{font-size:13px}.kh-widget-head>a{font-size:11px;text-decoration:none;font-weight:800;color:var(--kh-accent,#059669)}.kh-widget-controls{display:flex;gap:4px}.kh-widget-controls button{width:27px;height:27px;border:1px solid #dbe3e8;border-radius:8px;background:#fff;font-size:11px}.kh-widget-controls button:hover{background:#111827;color:#fff}.kh-widget-body{padding:14px;height:calc(100% - 52px)}.kh-widget-number{font-size:42px;line-height:1;font-weight:950;color:var(--kh-accent,#059669)}.kh-widget-body>span{font-size:12px;color:#64748b}.kh-widget-list{display:grid;gap:7px}.kh-widget-list a{display:block;padding:8px 10px;border-radius:10px;background:#f8fafc;text-decoration:none;color:inherit}.kh-widget-list b,.kh-widget-list small{display:block}.kh-widget-list b{font-size:12px}.kh-widget-list small{font-size:10px;color:#64748b}.kh-widget-shortcuts{display:flex;gap:7px;flex-wrap:wrap}.kh-widget-shortcuts a{padding:7px 9px;border-radius:10px;background:#f1f5f9;text-decoration:none;color:#0f172a;font-size:11px;font-weight:800}.kh-widget-empty{font-size:12px;color:#94a3b8}.kh-widget-launch{height:100%;display:grid;place-items:center;text-align:center}.kh-widget-launch span{font-size:38px}.kh-widget-launch p{font-size:12px;color:#64748b;margin:4px 0}.kh-widget-mascot{display:flex;align-items:center;gap:14px}.kh-widget-mascot>strong{font-size:52px;filter:drop-shadow(0 7px 6px #0002);transform:rotate(-9deg)}.kh-widget-mascot p{font-size:12px;color:#64748b;margin:2px 0}.kh-save-toast{position:fixed;right:22px;bottom:22px;padding:12px 18px;border-radius:14px;background:#059669;color:#fff;font-weight:900;opacity:0;transform:translateY(15px);pointer-events:none;transition:.2s;z-index:999}.kh-save-toast.show{opacity:1;transform:none}@keyframes khPop{from{transform:scale(.94);opacity:.4}to{transform:none;opacity:1}}
/* os temas também mudam os widgets, não só o fundo */
body.kh-theme-retro .kh-workspace-toolbar,body.kh-theme-retro .kh-widget-library,body.kh-theme-retro .kh-workspace-widget{border-radius:0!important;border:3px outset #eee!important;background:#c0c0c0!important;box-shadow:none!important}body.kh-theme-retro .kh-widget-head{background:#000080!important;color:#fff;border:0}body.kh-theme-retro .kh-widget-controls button{border-radius:0;border:2px outset #fff;background:#c0c0c0;color:#000}body.kh-theme-retro .kh-workspace-canvas{border-radius:0;background:#008080!important;border:0}body.kh-theme-retro .kh-widget-shortcuts a,body.kh-theme-retro .kh-widget-list a{border-radius:0;border:2px outset #fff;background:#c0c0c0}
body.kh-theme-neo .kh-workspace-toolbar,body.kh-theme-neo .kh-widget-library,body.kh-theme-neo .kh-workspace-widget{background:#0b1226cc!important;color:#eefaff!important;border-color:#22d3ee55!important;backdrop-filter:blur(18px)}body.kh-theme-neo .kh-workspace-canvas{background:radial-gradient(circle at top,#172554,#050816)!important;border-color:#22d3ee55}body.kh-theme-neo .kh-widget-head{background:#ffffff08;border-color:#22d3ee22}body.kh-theme-neo .kh-widget-list a,body.kh-theme-neo .kh-widget-shortcuts a{background:#ffffff10;color:#eefaff}body.kh-theme-neo .kh-widget-library p,body.kh-theme-neo .kh-widget-body p,body.kh-theme-neo .kh-widget-body small{color:#a5d8ee!important}
body.kh-theme-minha-mesa .kh-workspace-canvas{background:#8a5a32;background-image:linear-gradient(90deg,#ffffff08 1px,transparent 1px);border-color:#c79b6c}body.kh-theme-minha-mesa .kh-workspace-widget{background:#fff8e9;border-color:#d5ad78;border-radius:10px}body.kh-theme-minha-mesa .kh-widget-head{background:#f3dfbd}
body.kh-theme-grafite .kh-workspace-toolbar,body.kh-theme-grafite .kh-widget-library,body.kh-theme-grafite .kh-workspace-widget{background:#27272a!important;color:#fafafa!important;border-color:#3f3f46!important}body.kh-theme-grafite .kh-workspace-canvas{background:#18181b!important;border-color:#52525b}body.kh-theme-grafite .kh-widget-head{background:#202023;border-color:#3f3f46}body.kh-theme-grafite .kh-library-item,body.kh-theme-grafite .kh-widget-list a,body.kh-theme-grafite .kh-widget-shortcuts a{background:#18181b;color:#fafafa;border-color:#3f3f46}
@media(max-width:1100px){.kh-builder-studio{grid-template-columns:220px 1fr}.kh-workspace-canvas{grid-template-columns:repeat(2,minmax(0,1fr))}.kh-workspace-widget{grid-column:span min(var(--kh-w,1),2)}}@media(max-width:720px){.kh-workspace-toolbar{align-items:flex-start;flex-direction:column}.kh-builder-studio{display:block}.kh-widget-library{position:relative;top:auto;max-height:none;margin-bottom:12px}.kh-workspace-canvas{grid-template-columns:1fr}.kh-workspace-widget{grid-column:1!important}.kh-workspace-actions{width:100%}}
/* KH 8.5.85 - Temas & Minha Mesa / widgets vivos */
.kh-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kh-status-grid a{padding:10px;border-radius:12px;background:#f8fafc;text-decoration:none;color:inherit}.kh-status-grid b{display:block;font-size:22px;color:var(--kh-accent,#059669)}.kh-status-grid span{font-size:10px;color:#64748b}.kh-themes-hub{max-width:1450px;margin:auto}.kh-themes-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;margin-bottom:20px;border:1px solid #dfe7e3;border-radius:24px;background:#fff}.kh-theme-section{padding:22px;margin-bottom:20px;border:1px solid #dfe7e3;border-radius:24px;background:#fff}.kh-theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kh-theme-option{min-height:180px;padding:18px;border:2px solid #e2e8f0;border-radius:20px;display:flex;flex-direction:column;gap:7px}.kh-theme-option>span{font-size:34px}.kh-theme-option>b{font-size:17px}.kh-theme-option>small{min-height:35px;color:#64748b}.kh-theme-option button{margin-top:auto}.kh-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.kh-template-card{padding:20px;border:1px solid #dbe3e8;border-radius:20px;background:#f8fafc}.kh-template-card>div{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.kh-template-card>div span{font-size:10px;padding:5px 8px;background:#fff;border:1px solid #e2e8f0;border-radius:999px}.kh-template-card p{color:#64748b;min-height:45px}
body.kh-theme-karina-azul{--kh-accent:#2563eb;background:#eaf3ff}body.kh-theme-karina-azul .sidebar{background:linear-gradient(180deg,#0b3a78,#155eaa)!important}body.kh-theme-karina-azul .topbar,body.kh-theme-karina-azul .metric-card,body.kh-theme-karina-azul .kh-workspace-widget{border-color:#bfdbfe!important;box-shadow:0 12px 30px #2563eb12!important}
body.kh-theme-karina-verde{--kh-accent:#16a34a;background:#ecfdf3}body.kh-theme-karina-verde .sidebar{background:linear-gradient(180deg,#064e3b,#15803d)!important}body.kh-theme-karina-verde .kh-workspace-widget{border-radius:24px;border-color:#bbf7d0!important}
body.kh-theme-aurora{--kh-accent:#7c3aed;background:linear-gradient(135deg,#fff1f2,#eef2ff,#ecfeff) fixed}body.kh-theme-aurora .sidebar{background:linear-gradient(180deg,#6d28d9,#db2777)!important}body.kh-theme-aurora .kh-workspace-widget{border-color:#ddd6fe!important;box-shadow:0 14px 35px #a855f71a!important}
@media(max-width:900px){.kh-theme-grid,.kh-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kh-themes-hero{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.kh-theme-grid,.kh-template-grid{grid-template-columns:1fr}}

/* =========================================================
   KH 8.5.86 — EXPERIÊNCIA VISUAL + MESA GRANDE
   - 3 mesas prontas + editor avançado
   - visual do sistema separado do layout da mesa
   - widgets grandes e legíveis
   - temas estruturais (menu lateral/topo/dock)
   ========================================================= */
:root{--kh-accent:#059669;--kh-surface:#fff;--kh-surface-2:#f8fafc;--kh-radius:24px;--kh-menu-size:276px}
.kh-profile-theme-entry{background:linear-gradient(135deg,#ecfdf5,#eff6ff)!important;border-color:#a7f3d0!important;color:#065f46!important}

/* Mesa principal: dashboard maior, pensado para leitura fácil */
.page-desk .content{padding:28px 32px 44px}
.kh-workspace-shell{max-width:1760px;margin:0 auto}
.kh-workspace-toolbar{padding:26px 30px!important;border-radius:30px!important;min-height:132px}.kh-workspace-toolbar h2{font-size:34px!important;letter-spacing:-.7px}.kh-workspace-toolbar p{font-size:16px!important}.kh-workspace-actions .btn{min-height:48px;padding-left:20px;padding-right:20px;font-weight:850}
.kh-workspace-canvas{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:minmax(190px,auto)!important;gap:20px!important;min-height:720px!important;padding:22px!important;border-radius:32px!important}
.kh-workspace-widget{min-height:190px!important;border-radius:26px!important;box-shadow:0 14px 34px rgba(15,23,42,.08)!important}
.kh-widget-head{height:64px!important;padding:14px 18px!important}.kh-widget-head>div:first-child span{font-size:26px!important}.kh-widget-head b{font-size:16px!important}.kh-widget-head>a{font-size:13px!important}
.kh-widget-body{padding:18px 20px!important;height:calc(100% - 64px)!important;overflow:auto}
.kh-widget-list{gap:10px!important}.kh-widget-list a{padding:12px 14px!important;border-radius:14px!important}.kh-widget-list b{font-size:14px!important;line-height:1.35}.kh-widget-list small{font-size:12px!important;margin-top:4px}.kh-widget-list-large a{padding:14px 15px!important}
.kh-widget-summary{display:flex;align-items:center;gap:14px;padding:0 0 14px;border-bottom:1px solid #edf2f7;margin-bottom:12px}.kh-widget-summary>strong{font-size:42px;line-height:1;color:var(--kh-accent);font-weight:950}.kh-widget-summary b,.kh-widget-summary span{display:block}.kh-widget-summary b{font-size:15px}.kh-widget-summary span{font-size:12px;color:#64748b;margin-top:2px}
.kh-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.kh-status-grid a{padding:14px!important}.kh-status-grid b{font-size:28px!important}.kh-status-grid span{font-size:11px!important}
.kh-widget-shortcuts{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px!important}.kh-widget-shortcuts a{min-height:74px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;border-radius:18px!important;font-size:14px!important;box-shadow:0 7px 18px rgba(15,23,42,.06)}
.kh-builder-studio{grid-template-columns:310px 1fr!important}.kh-widget-library{padding:22px!important;border-radius:26px!important}.kh-library-item{min-height:68px!important;border-radius:17px!important;padding:12px!important}.kh-builder-tip{font-size:14px!important;padding:13px 16px!important;border-radius:16px!important}

/* Central de escolha simples */
.kh-experience-hub{max-width:1580px;margin:0 auto;padding-bottom:40px}.kh-experience-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px 34px;border-radius:30px;background:linear-gradient(135deg,#0f172a,#064e3b);color:#fff;box-shadow:0 20px 50px rgba(15,23,42,.18);margin-bottom:28px}.kh-experience-hero h2{font-size:36px;font-weight:950;margin:5px 0 8px}.kh-experience-hero p{font-size:16px;max-width:790px;margin:0;color:#dbeafe}.kh-experience-hero .eyebrow{color:#6ee7b7}.kh-choice-step{display:flex;align-items:center;gap:15px;margin:28px 0 16px}.kh-step-number{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#0f172a;color:#fff;font-size:20px;font-weight:950;box-shadow:0 8px 20px #0f172a24}.kh-choice-step h3{font-size:24px;font-weight:950;margin:0}.kh-choice-step p{margin:3px 0 0;color:#64748b;font-size:14px}
.kh-experience-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.kh-experience-card{min-height:270px;padding:20px;border:2px solid #e2e8f0;border-radius:26px;background:#fff;display:flex;flex-direction:column;box-shadow:0 10px 28px rgba(15,23,42,.05);transition:.18s}.kh-experience-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(15,23,42,.11)}.kh-experience-card.is-active{border-color:#10b981;box-shadow:0 0 0 4px #10b98118,0 18px 40px #05966918}.kh-exp-preview{height:88px;border-radius:18px;padding:14px;display:flex;justify-content:space-between;align-items:flex-start;background:#f1f5f9;margin-bottom:14px;overflow:hidden}.kh-exp-preview span{font-size:36px}.kh-exp-preview i{font-style:normal;font-size:10px;font-weight:900;padding:5px 8px;border-radius:999px;background:#fff}.kh-experience-card h4{font-size:18px;font-weight:950}.kh-experience-card p{font-size:13px;color:#64748b;flex:1}.kh-experience-card button{width:100%;min-height:44px;font-weight:850}
.kh-exp-karina-hub .kh-exp-preview{background:linear-gradient(135deg,#0f172a 0 34%,#ecfdf5 34%)}.kh-exp-neo .kh-exp-preview{background:linear-gradient(180deg,#071226 0 28%,#e6f7ff 28%)}.kh-exp-minha-mesa .kh-exp-preview{background:linear-gradient(160deg,#b78758,#f5e7ce)}.kh-exp-retro .kh-exp-preview{border:3px outset #eee;border-radius:0;background:#c0c0c0}.kh-exp-grafite .kh-exp-preview{background:linear-gradient(180deg,#18181b 0 30%,#3f3f46 30%);color:#fff}
.kh-desk-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.kh-desk-preset{min-height:245px;padding:24px;border:2px solid #e2e8f0;border-radius:28px;background:#fff;display:grid;grid-template-columns:64px 1fr;gap:15px;align-items:start;box-shadow:0 12px 30px rgba(15,23,42,.05)}.kh-desk-preset.is-active{border-color:#10b981;background:linear-gradient(145deg,#fff,#f0fdf4)}.kh-preset-icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;font-size:30px;background:#f1f5f9}.kh-preset-copy h4{font-size:20px;font-weight:950}.kh-preset-copy h4 span{font-size:9px;padding:5px 7px;border-radius:999px;background:#dcfce7;color:#166534;vertical-align:middle}.kh-preset-copy p{font-size:14px;color:#64748b;min-height:42px}.kh-preset-widgets{display:flex;gap:6px;flex-wrap:wrap}.kh-preset-widgets span{font-size:11px;font-weight:800;padding:6px 9px;border-radius:999px;background:#f1f5f9}.kh-desk-preset button{grid-column:1/-1;min-height:46px;font-weight:850}.kh-custom-desk-cta{margin-top:22px;border:2px dashed #94a3b8;border-radius:28px;padding:24px 28px;display:flex;justify-content:space-between;align-items:center;background:#f8fafc}.kh-custom-desk-cta>div{display:flex;gap:16px;align-items:center}.kh-custom-desk-cta>div>span{font-size:42px}.kh-custom-desk-cta h3{font-weight:950;margin:0}.kh-custom-desk-cta p{margin:4px 0 0;color:#64748b}

/* VISUAIS ESTRUTURAIS: cada um muda navegação, não apenas cor */
@media(min-width:901px){
 body.kh-theme-neo .app-shell,body.kh-theme-grafite .app-shell{display:block!important}
 body.kh-theme-neo .sidebar,body.kh-theme-grafite .sidebar{width:100%!important;height:auto!important;min-height:76px!important;position:sticky!important;top:0!important;padding:11px 24px!important;display:flex!important;align-items:center!important;gap:7px!important;overflow-x:auto!important;box-shadow:0 8px 26px rgba(15,23,42,.13)!important}
 body.kh-theme-neo .sidebar .brand,body.kh-theme-grafite .sidebar .brand{font-size:20px!important;margin:0 22px 0 0!important;white-space:nowrap!important}
 body.kh-theme-neo .sidebar .navlink,body.kh-theme-grafite .sidebar .navlink{margin:0!important;padding:10px 13px!important;white-space:nowrap!important;border-radius:13px!important}
 body.kh-theme-neo .sidebar hr,body.kh-theme-grafite .sidebar hr,body.kh-theme-neo .sidebar small,body.kh-theme-grafite .sidebar small{display:none!important}
 body.kh-theme-neo .content,body.kh-theme-grafite .content{width:100%!important;padding-top:22px!important}
 body.kh-theme-neo .topbar,body.kh-theme-grafite .topbar{max-width:1760px;margin-left:auto;margin-right:auto}
 body.kh-theme-neo .sidebar{background:rgba(6,16,35,.97)!important;border-bottom:1px solid #22d3ee3d!important}
 body.kh-theme-grafite .sidebar{background:#18181b!important;border-bottom:1px solid #3f3f46!important}

 body.kh-theme-minha-mesa .sidebar{width:94px!important;padding:16px 10px!important;background:linear-gradient(180deg,#3b2617,#6f472c)!important;text-align:center}
 body.kh-theme-minha-mesa .sidebar .brand{font-size:0!important}.kh-theme-minha-mesa .sidebar .brand:after{content:'🪵';font-size:34px}
 body.kh-theme-minha-mesa .sidebar .navlink{font-size:0!important;justify-content:center!important;min-height:58px!important;margin:7px 0!important}.kh-theme-minha-mesa .sidebar .navlink:first-letter{font-size:25px!important}.kh-theme-minha-mesa .sidebar hr,.kh-theme-minha-mesa .sidebar small{display:none}.kh-theme-minha-mesa .content{padding-left:28px!important}

 body.kh-theme-retro{font-family:"Courier New",monospace!important;background:#008080!important}body.kh-theme-retro .sidebar{background:#c0c0c0!important;color:#000!important;border-right:3px outset #eee!important;box-shadow:none!important}body.kh-theme-retro .brand{color:#000!important;background:#000080!important;color:#fff!important;padding:7px;border:2px inset #fff}body.kh-theme-retro .navlink{color:#000!important;border:2px outset #fff!important;border-radius:0!important;background:#c0c0c0!important}body.kh-theme-retro .navlink.active{background:#000080!important;color:#fff!important;transform:none!important;box-shadow:none!important}body.kh-theme-retro .topbar{border:3px outset #eee!important;border-radius:0!important;background:#c0c0c0!important;box-shadow:none!important}
}

/* Tema clássico continua lateral e mais confortável */
body.kh-theme-karina-hub{--kh-accent:#059669}body.kh-theme-karina-hub .sidebar{background:linear-gradient(180deg,#0f172a 0%,#111827 58%,#064e3b 100%)!important}

/* acessibilidade: densidade grande realmente aumenta elementos */
body.kh-density-large{font-size:17px}body.kh-density-large .navlink{font-size:16px;padding:14px 16px}body.kh-density-large .btn{font-size:16px}body.kh-density-large .form-control,body.kh-density-large .form-select{font-size:17px;min-height:48px}

@media(max-width:1250px){.kh-experience-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.kh-desk-presets{grid-template-columns:1fr 1fr}.kh-workspace-canvas{grid-template-columns:repeat(2,minmax(0,1fr))!important}.kh-workspace-widget{grid-column:span min(var(--kh-w,1),2)!important}.kh-builder-studio{grid-template-columns:260px 1fr!important}}
@media(max-width:800px){.page-desk .content{padding:12px!important}.kh-workspace-toolbar{padding:20px!important}.kh-workspace-toolbar h2{font-size:28px!important}.kh-workspace-canvas{grid-template-columns:1fr!important;padding:12px!important;gap:14px!important}.kh-workspace-widget{grid-column:1!important;min-height:180px!important}.kh-experience-grid,.kh-desk-presets{grid-template-columns:1fr}.kh-experience-hero,.kh-custom-desk-cta{align-items:flex-start;flex-direction:column}.kh-experience-hero h2{font-size:29px}.kh-builder-studio{display:block!important}.kh-widget-library{position:relative!important;top:auto!important;max-height:none!important;margin-bottom:14px}}


/* ============================================================
   KH 8.5.87 — TEMA ÚNICO / SEM MINHA MESA
   Camada final intencional: cada tema controla a estrutura inteira.
   ============================================================ */
body[class*="kh-theme-"]{min-height:100vh;font-size:16px}
body[class*="kh-theme-"] .kh-workspace-shell,body[class*="kh-theme-"] .kh-widget-library,body[class*="kh-theme-"] .kh-workspace-toolbar,body[class*="kh-theme-"] .kh-desk-builder,body[class*="kh-theme-"] .kh-custom-desk-cta{display:none!important}
.kh-theme-only-page{max-width:1500px;margin:0 auto;padding:12px}.kh-theme-only-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:28px;margin-bottom:22px}.kh-theme-only-hero h2{font-size:32px}.kh-theme-current{padding:14px 20px;border-radius:18px;background:#f1f5f9;min-width:190px}.kh-theme-current b{display:block;font-size:18px}.kh-theme-only-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.kh-theme-only-card{background:#fff;border:2px solid #e2e8f0;border-radius:24px;padding:18px}.kh-theme-only-card.is-active{border-color:#16a34a;box-shadow:0 0 0 4px #16a34a18}.kh-theme-only-card h3{font-size:22px;margin-top:16px}.kh-theme-only-card p{min-height:72px;color:#64748b}.kh-theme-demo{height:170px;border-radius:18px;position:relative;overflow:hidden;border:1px solid #cbd5e1;padding:14px}.kh-theme-demo>span{font-size:28px}.kh-theme-demo>i{position:absolute;right:12px;top:12px;font-style:normal;font-size:11px;padding:4px 8px;border-radius:20px;background:#ffffffcc}.kh-theme-demo .demo-menu{position:absolute}.kh-theme-demo .demo-content{position:absolute;display:grid;gap:8px}.kh-theme-demo .demo-content b{display:block;border-radius:7px;background:#ffffffcc}
.kh-theme-demo-karina-hub{background:#eefbf4}.kh-theme-demo-karina-hub .demo-menu{left:0;top:0;bottom:0;width:27%;background:#10231d}.kh-theme-demo-karina-hub .demo-content{left:34%;right:8%;top:58px}.kh-theme-demo-karina-hub .demo-content b{height:20px}
.kh-theme-demo-moderno{background:#f4f8ff}.kh-theme-demo-moderno .demo-menu{left:0;right:0;top:0;height:32%;background:#fff;border-bottom:1px solid #dbeafe}.kh-theme-demo-moderno .demo-content{left:8%;right:8%;top:70px;grid-template-columns:1fr 1fr}.kh-theme-demo-moderno .demo-content b{height:58px;background:#dbeafe}
.kh-theme-demo-executivo{background:#e5e7eb}.kh-theme-demo-executivo .demo-menu{left:0;right:0;top:0;height:30%;background:#111827}.kh-theme-demo-executivo .demo-content{left:8%;right:8%;top:68px;grid-template-columns:repeat(3,1fr)}.kh-theme-demo-executivo .demo-content b{height:64px;background:#fff}
.kh-theme-demo-retro{background:#008080;border-radius:0;border:3px outset #fff}.kh-theme-demo-retro .demo-menu{left:0;top:0;bottom:0;width:28%;background:#c0c0c0;border-right:3px outset #fff}.kh-theme-demo-retro .demo-content{left:35%;right:8%;top:60px}.kh-theme-demo-retro .demo-content b{height:22px;background:#c0c0c0;border:2px outset #fff;border-radius:0}

/* CLÁSSICO: somente lateral */
body.kh-theme-karina-hub{font-family:Inter,system-ui,sans-serif!important;background:#f5f8f7!important;color:#17211e!important}body.kh-theme-karina-hub .app-shell{display:flex!important}body.kh-theme-karina-hub .sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:250px!important;height:100vh!important;display:block!important;padding:24px 18px!important;background:linear-gradient(180deg,#0f241d,#102a22 65%,#0b3d2b)!important;color:#fff!important;border:0!important}body.kh-theme-karina-hub .content{margin-left:250px!important;width:calc(100% - 250px)!important;padding:26px!important}body.kh-theme-karina-hub .kh-main-nav{display:block!important}body.kh-theme-karina-hub .navlink{display:flex!important;margin:6px 0!important;padding:12px 14px!important;border-radius:12px!important;color:#d8eee5!important;background:transparent!important}body.kh-theme-karina-hub .navlink.active{background:#ffffff18!important;color:#fff!important}body.kh-theme-karina-hub .topbar{background:#fff!important;border-radius:20px!important;border:1px solid #e3ece8!important}
/* MODERNO: somente topo branco */
body.kh-theme-moderno{font-family:Inter,system-ui,sans-serif!important;background:#f5f8ff!important;color:#14213d!important}body.kh-theme-moderno .app-shell{display:block!important}body.kh-theme-moderno .sidebar{position:sticky!important;left:auto!important;top:0!important;bottom:auto!important;width:100%!important;height:78px!important;min-height:78px!important;padding:0 30px!important;display:flex!important;align-items:center!important;gap:25px!important;background:#fff!important;color:#172554!important;border:0!important;border-bottom:1px solid #dbeafe!important;box-shadow:0 8px 28px #1d4ed80d!important;z-index:1030!important}body.kh-theme-moderno .brand{margin:0!important;white-space:nowrap!important;color:#1d4ed8!important;font-size:20px!important}body.kh-theme-moderno .kh-main-nav{display:flex!important;align-items:center!important;gap:4px!important;overflow-x:auto!important;flex:1!important}body.kh-theme-moderno .navlink{display:block!important;margin:0!important;padding:11px 13px!important;border-radius:12px!important;color:#475569!important;background:transparent!important;white-space:nowrap!important}body.kh-theme-moderno .navlink.active{background:#eff6ff!important;color:#1d4ed8!important}body.kh-theme-moderno .kh-sector-label{display:none!important}body.kh-theme-moderno .content{margin:0!important;width:100%!important;padding:30px clamp(20px,4vw,70px)!important}body.kh-theme-moderno .topbar{background:transparent!important;border:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}body.kh-theme-moderno .metric-card,body.kh-theme-moderno .card{border-radius:22px!important;border-color:#dbeafe!important;box-shadow:0 10px 35px #1d4ed80b!important}
/* EXECUTIVO: topo escuro, tipografia e componentes próprios */
body.kh-theme-executivo{font-family:Arial,Helvetica,sans-serif!important;background:#eef0f3!important;color:#111827!important}body.kh-theme-executivo .app-shell{display:block!important}body.kh-theme-executivo .sidebar{position:sticky!important;left:auto!important;top:0!important;bottom:auto!important;width:100%!important;height:66px!important;min-height:66px!important;padding:0 26px!important;display:flex!important;align-items:center!important;gap:20px!important;background:#111827!important;color:#fff!important;border:0!important;z-index:1030!important}body.kh-theme-executivo .brand{margin:0!important;font-size:18px!important;white-space:nowrap!important}body.kh-theme-executivo .kh-main-nav{display:flex!important;align-items:stretch!important;gap:0!important;overflow-x:auto!important;flex:1!important;height:100%!important}body.kh-theme-executivo .navlink{display:flex!important;align-items:center!important;margin:0!important;padding:0 13px!important;border-radius:0!important;color:#cbd5e1!important;background:transparent!important;white-space:nowrap!important;border-bottom:3px solid transparent!important}body.kh-theme-executivo .navlink.active{color:#fff!important;border-bottom-color:#fbbf24!important;background:#ffffff0b!important}body.kh-theme-executivo .kh-sector-label{font-size:12px!important;white-space:nowrap!important}body.kh-theme-executivo .content{margin:0!important;width:100%!important;padding:24px clamp(18px,3vw,52px)!important}body.kh-theme-executivo .topbar{border-radius:8px!important;border:0!important;border-left:5px solid #fbbf24!important;box-shadow:0 4px 14px #0000000c!important}body.kh-theme-executivo .metric-card,body.kh-theme-executivo .card{border-radius:8px!important;box-shadow:0 3px 12px #0000000b!important}
/* RETRÔ: lateral clássica exclusiva */
body.kh-theme-retro{font-family:"Courier New",monospace!important;background:#008080!important;color:#000!important}body.kh-theme-retro .app-shell{display:flex!important}body.kh-theme-retro .sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:235px!important;height:100vh!important;display:block!important;padding:12px!important;background:#c0c0c0!important;color:#000!important;border:3px outset #fff!important;box-shadow:none!important}body.kh-theme-retro .brand{margin:0 0 12px!important;padding:7px!important;background:#000080!important;color:#fff!important;border:2px inset #fff!important;border-radius:0!important}body.kh-theme-retro .kh-main-nav{display:block!important}body.kh-theme-retro .navlink{display:block!important;margin:5px 0!important;padding:8px!important;color:#000!important;background:#c0c0c0!important;border:2px outset #fff!important;border-radius:0!important;box-shadow:none!important}body.kh-theme-retro .navlink.active{background:#000080!important;color:#fff!important;border:2px inset #fff!important}body.kh-theme-retro .content{margin-left:235px!important;width:calc(100% - 235px)!important;padding:18px!important}body.kh-theme-retro .topbar,body.kh-theme-retro .metric-card,body.kh-theme-retro .card,body.kh-theme-retro .modal-content{background:#c0c0c0!important;border:3px outset #fff!important;border-radius:0!important;box-shadow:none!important}body.kh-theme-retro .btn,body.kh-theme-retro input,body.kh-theme-retro select,body.kh-theme-retro textarea{border-radius:0!important}
@media(max-width:900px){.kh-theme-only-grid{grid-template-columns:1fr 1fr}.kh-theme-only-hero{align-items:flex-start;flex-direction:column}body.kh-theme-karina-hub .sidebar,body.kh-theme-retro .sidebar{position:relative!important;width:100%!important;height:auto!important;min-height:auto!important}body.kh-theme-karina-hub .content,body.kh-theme-retro .content{margin-left:0!important;width:100%!important}body.kh-theme-karina-hub .kh-main-nav,body.kh-theme-retro .kh-main-nav{display:flex!important;overflow-x:auto!important;gap:5px!important}body.kh-theme-karina-hub .navlink,body.kh-theme-retro .navlink{white-space:nowrap!important}body.kh-theme-moderno .sidebar,body.kh-theme-executivo .sidebar{height:auto!important;min-height:68px!important;flex-wrap:wrap!important;padding:10px 14px!important}.kh-theme-only-hero h2{font-size:26px}}
@media(max-width:600px){.kh-theme-only-grid{grid-template-columns:1fr}}

/* =========================================================
   KAUPDATE 8.5.89 — Dashboard + Noturno + Responsividade global
   ========================================================= */
.kh-theme-demo-noturno{background:#0b1220;color:#e5eefb}.kh-theme-demo-noturno .demo-menu{left:0;right:0;top:0;height:30%;background:#111827;border-bottom:1px solid #26344b}.kh-theme-demo-noturno .demo-content{left:8%;right:8%;top:68px;grid-template-columns:repeat(3,1fr)}.kh-theme-demo-noturno .demo-content b{height:64px;background:#172235;border:1px solid #2b3b55}.kh-theme-demo-noturno>i{background:#111827!important;color:#dbeafe!important}

/* Tema noturno é global: navegação, conteúdo e componentes seguem a mesma identidade. */
body.kh-theme-noturno{--bg:#07101d;--card:#101b2c;--line:#25344c;--slate:#e5eefb;--muted:#9fb0c9;--green:#34d399;--green2:#10b981;background:#07101d!important;color:#e5eefb!important;font-family:Inter,system-ui,sans-serif!important;color-scheme:dark}
body.kh-theme-noturno .app-shell{display:block!important;background:#07101d!important}
body.kh-theme-noturno .sidebar{position:sticky!important;top:0!important;left:auto!important;bottom:auto!important;width:100%!important;height:70px!important;min-height:70px!important;padding:0 24px!important;display:flex!important;align-items:center!important;gap:20px!important;background:#0b1423!important;color:#e5eefb!important;border:0!important;border-bottom:1px solid #25344c!important;box-shadow:0 10px 35px #0005!important;z-index:1035!important}
body.kh-theme-noturno .brand{margin:0!important;color:#6ee7b7!important;font-size:19px!important;white-space:nowrap!important}
body.kh-theme-noturno .kh-main-nav{display:flex!important;align-items:center!important;gap:4px!important;overflow-x:auto!important;flex:1!important}
body.kh-theme-noturno .navlink{display:flex!important;align-items:center!important;margin:0!important;padding:10px 13px!important;border-radius:11px!important;color:#aebed5!important;background:transparent!important;white-space:nowrap!important;box-shadow:none!important;transform:none!important}
body.kh-theme-noturno .navlink:hover,body.kh-theme-noturno .navlink.active{background:#17263a!important;color:#fff!important;box-shadow:none!important}
body.kh-theme-noturno .sidebar hr,body.kh-theme-noturno .kh-sector-label{display:none!important}
body.kh-theme-noturno .content{margin:0!important;width:100%!important;padding:26px clamp(18px,3.5vw,64px)!important;background:#07101d!important}
body.kh-theme-noturno .topbar{background:#0f1b2d!important;border:1px solid #25344c!important;color:#e5eefb!important;box-shadow:0 12px 35px #0003!important}
body.kh-theme-noturno .topbar .text-muted,body.kh-theme-noturno .text-muted,body.kh-theme-noturno small{color:#9fb0c9!important}
body.kh-theme-noturno .profile-pill,body.kh-theme-noturno .profile-menu,body.kh-theme-noturno .metric-card,body.kh-theme-noturno .card,body.kh-theme-noturno .calendar-grid,body.kh-theme-noturno .week-day,body.kh-theme-noturno .day-schedule,body.kh-theme-noturno .form-type-card,body.kh-theme-noturno .builder-field,body.kh-theme-noturno .notif-center-item,body.kh-theme-noturno .modal-content,body.kh-theme-noturno .kh-theme-only-card,body.kh-theme-noturno .kh-theme-only-hero,body.kh-theme-noturno .kh-theme-current{background:#101b2c!important;color:#e5eefb!important;border-color:#25344c!important;box-shadow:0 10px 30px #0003!important}
body.kh-theme-noturno .form-control,body.kh-theme-noturno .form-select,body.kh-theme-noturno textarea,body.kh-theme-noturno input:not([type=checkbox]):not([type=radio]){background:#0a1422!important;border-color:#31425d!important;color:#e5eefb!important}
body.kh-theme-noturno .form-control::placeholder,body.kh-theme-noturno textarea::placeholder{color:#71839e!important}
body.kh-theme-noturno .table{--bs-table-bg:#101b2c;--bs-table-color:#e5eefb;--bs-table-border-color:#25344c;--bs-table-striped-bg:#142238;--bs-table-hover-bg:#17263a}
body.kh-theme-noturno .table-card tr,body.kh-theme-noturno .file-row,body.kh-theme-noturno .check-item,body.kh-theme-noturno .timeline-item{background:#101b2c!important;color:#e5eefb!important;border-color:#25344c!important}
body.kh-theme-noturno .kanban-column{background:#0d1828!important;border-color:#25344c!important}body.kh-theme-noturno .kanban-card{background:#132238!important;border-color:#2b3b55!important;color:#e5eefb!important}body.kh-theme-noturno .kanban-cover.noimg{background:linear-gradient(135deg,#152640,#0f4038)!important}body.kh-theme-noturno .kanban-body h5,body.kh-theme-noturno .kh-db5-task-title{color:#f8fafc!important}
body.kh-theme-noturno .cal-head div{background:#111c2e!important}body.kh-theme-noturno .cal-day{background:#101b2c!important;border-color:#25344c!important;color:#e5eefb!important}body.kh-theme-noturno .cal-day.out{background:#0a1422!important;color:#61718a!important}
body.kh-theme-noturno .btn-light,body.kh-theme-noturno .btn-soft{background:#17263a!important;color:#e5eefb!important;border-color:#31425d!important}body.kh-theme-noturno .btn-dark{background:#d9e6f7!important;color:#07101d!important;border-color:#d9e6f7!important}
body.kh-theme-noturno a{color:#7dd3fc}body.kh-theme-noturno .badge.bg-light{background:#1d2d45!important;color:#dbeafe!important}

/* Dashboard personalizável */
.kh-dashboard-page{max-width:1680px;margin:0 auto 44px}.kh-dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 30px;margin-bottom:18px;border-radius:28px;background:linear-gradient(125deg,#071c17,#075842 65%,#0c8967);color:#fff;box-shadow:0 20px 55px #064e3b25}.kh-dashboard-hero h2{font-size:clamp(28px,3vw,43px);font-weight:950;margin:4px 0}.kh-dashboard-hero p{margin:0;color:#d1fae5;font-size:16px}.kh-dashboard-hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.kh-dashboard-builder{display:grid;grid-template-columns:310px minmax(0,1fr);gap:18px;align-items:start}.kh-dashboard-library{position:sticky;top:90px;background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:18px;box-shadow:0 12px 30px #0f172a0c;max-height:calc(100vh - 110px);overflow:auto;z-index:5}.kh-dashboard-library h4{font-weight:950}.kh-dashboard-library>p{color:#64748b}.kh-dash-palette-item{display:flex;gap:11px;align-items:center;border:1px solid #e2e8f0;border-radius:16px;padding:11px;margin:8px 0;background:#f8fafc;cursor:grab;transition:.15s}.kh-dash-palette-item:hover{border-color:#10b981;background:#ecfdf5;transform:translateY(-1px)}.kh-dash-palette-item>span{font-size:22px}.kh-dash-palette-item b,.kh-dash-palette-item small{display:block}.kh-dash-palette-item small{font-size:11px;color:#64748b}.kh-dash-edit-help{margin-top:14px;padding:12px;border-radius:14px;background:#f1f5f9;color:#475569;font-size:12px}.kh-dashboard-canvas-wrap{min-width:0}.kh-dashboard-canvas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row dense;grid-auto-rows:minmax(170px,auto);gap:16px;min-height:420px}.kh-dashboard-widget{grid-column:span var(--w);grid-row:span var(--h);min-width:0;background:#fff;border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 10px 30px #0f172a0c;overflow:hidden;display:flex;flex-direction:column}.is-editing .kh-dashboard-widget{outline:2px dashed transparent;cursor:grab}.is-editing .kh-dashboard-widget:hover{outline-color:#10b981}.kh-dashboard-widget.dragging{opacity:.45;transform:scale(.985)}.kh-dashboard-widget>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 17px;border-bottom:1px solid #eef2f7}.kh-dashboard-widget>header>div:first-child{display:flex;gap:11px;align-items:center;min-width:0}.kh-widget-icon{width:43px;height:43px;border-radius:14px;background:#ecfdf5;display:grid;place-items:center;font-size:21px;flex:none}.kh-dashboard-widget h3{font-size:17px;font-weight:950;margin:0}.kh-dashboard-widget header small{display:block;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:430px}.kh-widget-tools{display:flex;gap:5px}.kh-widget-tools button{width:31px;height:31px;border:0;border-radius:9px;background:#f1f5f9;font-weight:900}.kh-widget-tools button.danger{background:#fee2e2;color:#991b1b}.kh-dashboard-widget-body{padding:15px;overflow:auto;flex:1;min-height:0}.kh-dash-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;height:100%}.kh-dash-kpis>div{border:1px solid #e7edf3;border-radius:16px;padding:13px;background:#f8fafc;min-width:0}.kh-dash-kpis span{font-size:20px}.kh-dash-kpis b{font-size:25px;display:block;line-height:1.05}.kh-dash-kpis small{display:block;color:#64748b;font-size:11px;font-weight:800}.kh-dash-list{display:grid;gap:8px}.kh-dash-list>a{display:flex;justify-content:space-between;gap:12px;align-items:center;text-decoration:none;color:inherit;border:1px solid #edf1f5;background:#f8fafc;border-radius:14px;padding:11px 12px}.kh-dash-list>a:hover{border-color:#a7f3d0;background:#f0fdf4}.kh-dash-list b,.kh-dash-list small{display:block}.kh-dash-list small{font-size:11px;color:#64748b;margin-top:2px}.kh-dash-list time{font-size:11px;font-weight:900;color:#64748b;white-space:nowrap}.kh-dash-empty{height:100%;min-height:100px;display:grid;place-items:center;text-align:center;color:#94a3b8}.kh-dash-stage-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.kh-dash-stage-grid>a{text-decoration:none;color:inherit;border:1px solid #e2e8f0;border-radius:15px;padding:14px;background:#f8fafc}.kh-dash-stage-grid b{display:block;font-size:27px}.kh-dash-stage-grid span{font-size:12px;color:#64748b}.kh-dash-favorites{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.kh-dash-favorites>a{min-height:95px;text-decoration:none;color:#0f172a;border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(145deg,#fff,#f8fafc);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;transition:.15s}.kh-dash-favorites>a:hover{transform:translateY(-3px);box-shadow:0 10px 20px #0f172a12}.kh-dash-favorites span{font-size:27px}.kh-dash-favorites b{font-size:12px}.kh-dash-quick{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.kh-dash-quick a{text-decoration:none;color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:15px;padding:15px;font-weight:900}.kh-dash-chart{height:100%;min-height:230px;position:relative}
body.kh-theme-noturno .kh-dashboard-widget,body.kh-theme-noturno .kh-dashboard-library{background:#101b2c!important;border-color:#25344c!important;color:#e5eefb!important}body.kh-theme-noturno .kh-dashboard-widget>header{border-color:#25344c!important}body.kh-theme-noturno .kh-dash-palette-item,body.kh-theme-noturno .kh-dash-kpis>div,body.kh-theme-noturno .kh-dash-list>a,body.kh-theme-noturno .kh-dash-stage-grid>a,body.kh-theme-noturno .kh-dash-favorites>a,body.kh-theme-noturno .kh-dash-quick a,body.kh-theme-noturno .kh-dash-edit-help{background:#0c1727!important;color:#e5eefb!important;border-color:#25344c!important}body.kh-theme-noturno .kh-widget-icon{background:#15332e!important}body.kh-theme-noturno .kh-widget-tools button{background:#1a2a42!important;color:#e5eefb!important}

/* Responsividade global: desktop, tablet e mobile */
html,body{max-width:100%;overflow-x:hidden}.content{max-width:100%;min-width:0}.row>*{min-width:0}.table-responsive{max-width:100%;-webkit-overflow-scrolling:touch}.table{min-width:0}.form-control,.form-select,.btn{max-width:100%}img,video,canvas,svg{max-width:100%}.modal-dialog{max-width:min(94vw,900px)}
/* Até 3 colunas de Kanban ocupam toda a largura; 4+ mantêm rolagem horizontal. */
.kanban-board:has(>.kanban-column:only-child)>.kanban-column{min-width:100%;flex-basis:100%}.kanban-board:has(>.kanban-column:first-child:nth-last-child(2))>.kanban-column{min-width:calc((100% - 18px)/2);flex-basis:calc((100% - 18px)/2)}.kanban-board:has(>.kanban-column:first-child:nth-last-child(3))>.kanban-column{min-width:calc((100% - 36px)/3);flex-basis:calc((100% - 36px)/3)}
@media (min-width:1500px){.content{padding-left:clamp(28px,3vw,58px);padding-right:clamp(28px,3vw,58px)}.kanban-column{min-width:360px}.metric-card{padding:24px}}
@media (max-width:1200px){.kh-dashboard-builder{grid-template-columns:270px minmax(0,1fr)}.kh-dashboard-canvas{grid-template-columns:repeat(3,minmax(0,1fr))}.kh-dashboard-widget{grid-column:span min(var(--w),3)}.kh-dash-favorites{grid-template-columns:repeat(3,1fr)}.calendar-grid{overflow-x:auto}.cal-head,.cal-row{min-width:820px}.week-grid{overflow-x:auto;grid-template-columns:repeat(7,minmax(240px,1fr))}.week-day{min-width:240px}}
@media (max-width:900px){body[class*="kh-theme-"] .content{padding:14px!important;width:100%!important;margin:0!important}.topbar{border-radius:18px!important;padding:13px!important}.profile-menu{right:12px!important;top:80px!important;width:min(340px,calc(100vw - 24px))!important}.kh-dashboard-builder{grid-template-columns:1fr}.kh-dashboard-library{position:relative;top:auto;max-height:none}.kh-dashboard-library #khDashPalette{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.kh-dash-palette-item{margin:0}.kh-dashboard-canvas{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(165px,auto)}.kh-dashboard-widget{grid-column:span min(var(--w),2)}.kh-dashboard-hero{align-items:flex-start;flex-direction:column}.kh-dashboard-hero-actions{width:100%;justify-content:flex-start}.kh-dash-kpis{grid-template-columns:repeat(2,1fr)}.kanban-board{scroll-snap-type:x proximity;gap:12px;padding:0 1px 16px}.kanban-column,.kanban-board:has(>.kanban-column:first-child:nth-last-child(2))>.kanban-column,.kanban-board:has(>.kanban-column:first-child:nth-last-child(3))>.kanban-column{min-width:min(86vw,420px);flex:0 0 min(86vw,420px);scroll-snap-align:start;max-height:none}.kanban-list{min-height:360px;overflow-y:visible}.kanban-cover{height:105px}.row.g-4,.row.g-3{--bs-gutter-x:12px}.metric-card{border-radius:18px;padding:16px}.metric-card h2{font-size:32px}.action-row,.d-flex.gap-2.flex-wrap{row-gap:8px}.calendar-title{font-size:25px}}
@media (max-width:600px){body[class*="kh-theme-"] .sidebar{width:100%!important;max-width:100vw!important;min-height:auto!important;height:auto!important;position:relative!important;padding:10px!important;display:block!important}body[class*="kh-theme-"] .brand{margin:0 0 8px!important;font-size:19px!important}body[class*="kh-theme-"] .kh-main-nav{display:flex!important;overflow-x:auto!important;gap:5px!important;scroll-snap-type:x proximity!important;padding-bottom:3px}body[class*="kh-theme-"] .navlink{flex:0 0 auto!important;white-space:nowrap!important;margin:0!important;padding:9px 11px!important;font-size:13px!important;scroll-snap-align:start!important}body.kh-theme-karina-hub .sidebar hr,body.kh-theme-retro .sidebar hr{display:none}.topbar>div:last-child{width:100%;justify-content:flex-start!important}.sector-switch{max-width:180px}.profile-pill{max-width:100%;min-width:0}.profile-pill>div{min-width:0}.profile-pill b{display:block;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kh-dashboard-page{margin-bottom:24px}.kh-dashboard-hero{padding:19px;border-radius:20px}.kh-dashboard-hero h2{font-size:27px}.kh-dashboard-hero p{font-size:14px}.kh-dashboard-hero-actions .btn{width:100%}.kh-dashboard-library #khDashPalette{grid-template-columns:1fr}.kh-dashboard-canvas{grid-template-columns:1fr;display:grid;gap:12px}.kh-dashboard-widget{grid-column:1/-1!important;grid-row:auto!important;min-height:170px}.kh-dashboard-widget>header{padding:13px}.kh-dashboard-widget h3{font-size:16px}.kh-dashboard-widget header small{max-width:210px}.kh-dashboard-widget-body{padding:12px}.kh-dash-kpis{grid-template-columns:repeat(2,1fr)}.kh-dash-kpis>div{padding:10px}.kh-dash-kpis b{font-size:22px}.kh-dash-favorites{grid-template-columns:repeat(3,1fr)}.kh-dash-favorites>a{min-height:82px}.kh-dash-quick{grid-template-columns:1fr}.kh-dash-list>a{align-items:flex-start}.kh-dash-list time{font-size:10px}.kanban-column,.kanban-board:has(>.kanban-column:first-child:nth-last-child(2))>.kanban-column,.kanban-board:has(>.kanban-column:first-child:nth-last-child(3))>.kanban-column{min-width:calc(100vw - 40px);flex-basis:calc(100vw - 40px)}.kanban-card{border-radius:17px}.calendar-grid{border-radius:16px}.cal-head,.cal-row{min-width:700px}.cal-day{min-height:105px}.table-responsive table{min-width:680px}.modal-dialog{margin:10px;max-width:calc(100vw - 20px)}.modal-content{border-radius:18px!important}.form-control,.form-select{min-height:44px}.btn{min-height:42px}.btn-sm{min-height:34px}.hour-row{grid-template-columns:58px 1fr}.field-palette{grid-template-columns:1fr}.kh-theme-only-grid{grid-template-columns:1fr!important}.kh-theme-only-hero{padding:18px!important;border-radius:18px!important}.kh-theme-only-hero h2{font-size:25px!important}}
@media (max-width:380px){.kh-dash-kpis{grid-template-columns:1fr}.kh-dash-favorites{grid-template-columns:repeat(2,1fr)}.profile-pill b{max-width:105px}.content{padding:9px!important}}

/* === KH 8.5.91 — Dashboard avançado, redimensionamento livre em grade e favoritos === */
.kh-dashboard-canvas{grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:86px;gap:14px;align-items:stretch}.kh-dashboard-widget{grid-column:span var(--w,6);grid-row:span var(--h,3);min-height:0;position:relative}.kh-dashboard-widget-body{min-height:0}.is-editing .kh-dashboard-widget{overflow:visible}.kh-resize-handle{position:absolute;right:7px;bottom:7px;width:34px;height:34px;border:0;border-radius:10px;background:#0f172a;color:#fff;display:grid;place-items:center;cursor:nwse-resize;z-index:20;box-shadow:0 5px 15px #0002;touch-action:none}.kh-resize-handle:hover{background:#059669}.kh-demand-launch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.kh-demand-launch-grid>a{display:grid;grid-template-columns:42px 1fr 26px;gap:10px;align-items:center;text-decoration:none;color:inherit;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px;transition:.15s}.kh-demand-launch-grid>a:hover{transform:translateY(-2px);border-color:#86efac;box-shadow:0 9px 20px #0f172a12}.kh-demand-launch-grid>a>span{width:42px;height:42px;border-radius:13px;background:#ecfdf5;display:grid;place-items:center;font-size:22px}.kh-demand-launch-grid b,.kh-demand-launch-grid small{display:block}.kh-demand-launch-grid small{color:#64748b;font-size:11px}.kh-demand-launch-grid i{font-size:21px;font-style:normal;color:#059669}.kh-game-favorites{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:11px}.kh-game-favorites>a{min-height:105px;border-radius:20px;background:linear-gradient(145deg,#fff,#f1f5f9);border:1px solid #e2e8f0;text-decoration:none;color:#0f172a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;box-shadow:inset 0 1px #fff,0 8px 18px #0f172a0d;transition:.15s}.kh-game-favorites>a:hover{transform:translateY(-4px) scale(1.01);box-shadow:0 14px 26px #0f172a1a}.kh-game-favorites span{font-size:31px}.kh-game-favorites b{font-size:12px}.kh-report-bars{display:grid;gap:13px}.kh-report-row>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:5px}.kh-report-row>div strong{font-size:13px}.kh-report-row>span{display:block;height:12px;border-radius:999px;background:#e8eef3;overflow:hidden}.kh-report-row>span>i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#059669,#22c55e)}.kh-productivity-card{height:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.kh-productivity-card>div{border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:16px}.kh-productivity-card strong{font-size:clamp(30px,4vw,54px);line-height:1;color:#059669}.kh-productivity-card span{font-size:12px;color:#64748b;margin-top:7px}.kh-favorite-menu-editor{display:grid;gap:6px}.kh-favorite-menu-editor label{display:block;border:1px solid #e2e8f0;border-radius:11px;padding:8px 10px;background:#f8fafc;font-size:12px;cursor:pointer}.kh-favorite-menu-editor label:hover{border-color:#86efac;background:#f0fdf4}.kh-dashboard-library{max-height:calc(100vh - 100px)}
body.kh-theme-noturno .kh-demand-launch-grid>a,body.kh-theme-noturno .kh-game-favorites>a,body.kh-theme-noturno .kh-productivity-card>div,body.kh-theme-noturno .kh-favorite-menu-editor label{background:#0c1727!important;color:#e5eefb!important;border-color:#25344c!important}body.kh-theme-noturno .kh-demand-launch-grid>a>span{background:#15332e!important}body.kh-theme-noturno .kh-report-row>span{background:#26364d}body.kh-theme-noturno .kh-report-row>span>i{background:linear-gradient(90deg,#34d399,#22d3ee)}
@media(max-width:1200px){.kh-dashboard-canvas{grid-template-columns:repeat(8,minmax(0,1fr))}.kh-dashboard-widget{grid-column:span min(var(--w),8)}}
@media(max-width:900px){.kh-dashboard-canvas{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:92px}.kh-dashboard-widget{grid-column:span min(var(--w),6)}.kh-productivity-card{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.kh-dashboard-canvas{grid-template-columns:1fr;grid-auto-rows:auto}.kh-dashboard-widget{grid-column:1/-1!important;grid-row:auto!important;min-height:220px}.kh-resize-handle{display:none}.kh-demand-launch-grid{grid-template-columns:1fr}.kh-game-favorites{grid-template-columns:repeat(2,1fr)}.kh-productivity-card{grid-template-columns:1fr}.kh-dashboard-library{max-height:none}}

/* === KH 8.5.92 — Dashboards prontos + Kanban fluido === */
.kh-dashboard-presets{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,2fr);gap:22px;align-items:center;background:#fff;border:1px solid #e3ebe7;border-radius:26px;padding:22px 24px;margin-bottom:18px;box-shadow:0 12px 34px #0f172a0b}.kh-dashboard-presets h3{font-weight:900;margin:3px 0 4px}.kh-dashboard-presets p{margin:0;color:#64748b}.kh-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.kh-preset-grid form{margin:0}.kh-preset-grid button{width:100%;height:100%;min-height:88px;border:1px solid #dce7e2;border-radius:18px;background:linear-gradient(145deg,#fff,#f7faf9);display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;text-align:left;column-gap:10px;padding:13px;transition:.16s}.kh-preset-grid button:hover{transform:translateY(-2px);border-color:#86d7b3;box-shadow:0 10px 22px #0f172a12}.kh-preset-grid button>span{grid-row:1/3;font-size:28px;align-self:center}.kh-preset-grid button>b{font-size:14px;align-self:end}.kh-preset-grid button>small{font-size:11px;color:#64748b;align-self:start}.kh-mini-calendar{height:100%;display:flex;flex-direction:column}.kh-mini-cal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.kh-mini-cal-head b{font-size:16px}.kh-mini-cal-head a{font-size:11px;text-decoration:none;color:#059669;font-weight:800}.kh-mini-cal-week,.kh-mini-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.kh-mini-cal-week span{text-align:center;font-size:10px;font-weight:900;color:#64748b}.kh-mini-cal-grid{flex:1}.kh-mini-cal-grid>a,.kh-mini-cal-grid>span{min-height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;position:relative;text-decoration:none;color:#17221e;background:#f7faf9;border:1px solid #edf2ef}.kh-mini-cal-grid>a.today{outline:2px solid #10b981;background:#ecfdf5}.kh-mini-cal-grid>a.has-due{background:#eefbf5}.kh-mini-cal-grid a i{position:absolute;right:3px;top:3px;min-width:15px;height:15px;border-radius:999px;background:#ef4444;color:#fff;font-size:9px;font-style:normal;display:grid;place-items:center;padding:0 3px}
/* O número de colunas define o comportamento. Até 4: preencher 100%. 5+: largura confortável + scroll. */
.kanban-board.kanban-count-1{display:grid!important;grid-template-columns:minmax(0,1fr)!important;overflow-x:hidden!important}.kanban-board.kanban-count-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow-x:hidden!important}.kanban-board.kanban-count-3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow-x:hidden!important}.kanban-board.kanban-count-4{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow-x:hidden!important}.kanban-board.kanban-count-1>.kanban-column,.kanban-board.kanban-count-2>.kanban-column,.kanban-board.kanban-count-3>.kanban-column,.kanban-board.kanban-count-4>.kanban-column{min-width:0!important;width:100%!important;flex-basis:auto!important}.kanban-board.kanban-count-5,.kanban-board.kanban-count-6,.kanban-board.kanban-count-7,.kanban-board.kanban-count-8,.kanban-board.kanban-count-9{display:flex!important;overflow-x:auto!important}.kanban-board.kanban-count-5>.kanban-column,.kanban-board.kanban-count-6>.kanban-column,.kanban-board.kanban-count-7>.kanban-column,.kanban-board.kanban-count-8>.kanban-column,.kanban-board.kanban-count-9>.kanban-column{flex:0 0 clamp(285px,22vw,360px)!important;min-width:clamp(285px,22vw,360px)!important}
body.kh-theme-noturno .kh-dashboard-presets{background:#0c1727;border-color:#25344c;color:#e5eefb}body.kh-theme-noturno .kh-preset-grid button{background:#101e31;border-color:#2b3b54;color:#e5eefb}body.kh-theme-noturno .kh-preset-grid button small,body.kh-theme-noturno .kh-dashboard-presets p{color:#9fb0c7}body.kh-theme-noturno .kh-mini-cal-grid>a{background:#101e31;border-color:#26364d;color:#e5eefb}
@media(max-width:1100px){.kh-dashboard-presets{grid-template-columns:1fr}.kh-preset-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.kanban-board[class*="kanban-count-"]{display:flex!important;overflow-x:auto!important;scroll-snap-type:x proximity!important}.kanban-board[class*="kanban-count-"]>.kanban-column{flex:0 0 min(86vw,430px)!important;min-width:min(86vw,430px)!important;scroll-snap-align:start!important}.kh-preset-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.kh-dashboard-presets{padding:16px;border-radius:20px}.kh-preset-grid{grid-template-columns:1fr}.kh-preset-grid button{min-height:74px}.kh-mini-cal-grid>a{min-height:38px}}

/* KH 8.5.93 — seleção de dashboard fica ao lado do Editar; modelos só dentro do modal */
.kh-dashboard-preset-modal{border:0;border-radius:26px;overflow:hidden;box-shadow:0 28px 80px #0f172a30}.kh-dashboard-preset-modal .modal-header{padding:22px 24px;border-bottom:1px solid #e7eee9}.kh-dashboard-preset-modal .modal-body{padding:22px 24px}.kh-preset-grid-modal{grid-template-columns:repeat(2,minmax(0,1fr))}.kh-preset-grid-modal button{position:relative;min-height:105px}.kh-preset-grid-modal button.is-active{border:2px solid #10b981;background:#ecfdf5;box-shadow:0 8px 24px #10b98120}.kh-preset-grid-modal button em{position:absolute;right:10px;top:9px;border-radius:999px;padding:4px 8px;background:#059669;color:#fff;font-size:10px;font-style:normal;font-weight:900}.kh-choose-dashboard-btn{border:1px solid #d5e4dd!important}.kh-theme-noturno .kh-dashboard-preset-modal{background:#0c1727;color:#e5eefb}.kh-theme-noturno .kh-dashboard-preset-modal .modal-header{border-color:#25344c}.kh-theme-noturno .kh-preset-grid-modal button{background:#101e31;border-color:#2b3b54;color:#e5eefb}.kh-theme-noturno .kh-preset-grid-modal button.is-active{background:#123629;border-color:#34d399}.kh-theme-noturno .kh-dashboard-preset-modal .text-muted{color:#9fb0c7!important}@media(max-width:600px){.kh-preset-grid-modal{grid-template-columns:1fr}.kh-dashboard-preset-modal .modal-header,.kh-dashboard-preset-modal .modal-body{padding:16px}.kh-dashboard-hero-actions{display:grid!important;grid-template-columns:1fr!important}.kh-dashboard-hero-actions .btn{width:100%}}

/* KH 8.5.94 — Dashboard legível, sem scroll interno e com relatórios visuais */
.kh-dashboard-page:not(.is-editing) .kh-dashboard-canvas{grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-auto-rows:auto!important;align-items:start!important}
.kh-dashboard-page:not(.is-editing) .kh-dashboard-widget{grid-column:span var(--w,6)!important;grid-row:auto!important;min-height:0!important;height:auto!important;overflow:visible!important}
.kh-dashboard-page:not(.is-editing) .kh-dashboard-widget-body{overflow:visible!important;min-height:0!important;height:auto!important;flex:0 0 auto!important}
.kh-dashboard-page:not(.is-editing) .kh-dash-kpis{height:auto!important;grid-template-columns:repeat(4,minmax(120px,1fr))!important}
.kh-dashboard-page:not(.is-editing) .kh-dash-empty{height:auto!important;min-height:90px!important}
.kh-dashboard-page:not(.is-editing) .kh-mini-calendar{height:auto!important;min-height:330px}
.kh-dashboard-page:not(.is-editing) .kh-productivity-card{height:auto!important;min-height:220px}
.kh-dashboard-page:not(.is-editing) .kh-dashboard-widget header small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}
.kh-trend-chart{height:260px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:end;padding:14px 4px 4px}.kh-trend-col{height:100%;display:grid;grid-template-rows:1fr auto auto;gap:5px;text-align:center;min-width:0}.kh-trend-bars{height:100%;display:flex;align-items:end;justify-content:center;gap:5px;border-bottom:1px solid #dbe4ea}.kh-trend-bars i{display:block;width:min(28px,34%);min-height:5px;border-radius:8px 8px 3px 3px}.kh-trend-bars i.created,.kh-chart-legend i.created{background:#60a5fa}.kh-trend-bars i.done,.kh-chart-legend i.done{background:#10b981}.kh-trend-col b{font-size:11px}.kh-trend-col small{font-size:10px;color:#64748b}.kh-chart-legend{display:flex;justify-content:center;gap:20px;margin-top:10px;font-size:11px;color:#64748b}.kh-chart-legend span{display:flex;align-items:center;gap:6px}.kh-chart-legend i{display:block;width:11px;height:11px;border-radius:3px}
.kh-purchase-report{display:grid;gap:16px}.kh-purchase-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.kh-purchase-kpis>div,.kh-money-grid>div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px;padding:14px}.kh-purchase-kpis b{display:block;font-size:30px;line-height:1}.kh-purchase-kpis span,.kh-money-grid small{display:block;color:#64748b;font-size:11px;margin-top:6px}.kh-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.kh-money-grid strong{display:block;font-size:clamp(17px,2vw,25px);margin-top:4px;word-break:break-word}.kh-purchase-progress>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:6px}.kh-purchase-progress em{display:block;height:14px;border-radius:99px;background:#e2e8f0;overflow:hidden}.kh-purchase-progress em i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#10b981,#34d399)}
body.kh-theme-noturno .kh-purchase-kpis>div,body.kh-theme-noturno .kh-money-grid>div{background:#0c1727;border-color:#25344c}body.kh-theme-noturno .kh-purchase-progress em{background:#25344c}
@media(max-width:1200px){.kh-dashboard-page:not(.is-editing) .kh-dashboard-widget{grid-column:span min(var(--w,6),12)!important}.kh-dashboard-page:not(.is-editing) .kh-dash-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:900px){.kh-dashboard-page:not(.is-editing) .kh-dashboard-canvas{grid-template-columns:repeat(6,minmax(0,1fr))!important}.kh-dashboard-page:not(.is-editing) .kh-dashboard-widget{grid-column:1/-1!important}.kh-dashboard-page:not(.is-editing) .kh-dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.kh-purchase-kpis{grid-template-columns:repeat(2,1fr)}.kh-money-grid{grid-template-columns:1fr}.kh-trend-chart{height:230px}}
@media(max-width:600px){.kh-dashboard-page:not(.is-editing) .kh-dashboard-canvas{grid-template-columns:1fr!important}.kh-dashboard-page:not(.is-editing) .kh-dashboard-widget{grid-column:1/-1!important}.kh-dashboard-page:not(.is-editing) .kh-dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.kh-purchase-kpis{grid-template-columns:1fr 1fr}.kh-trend-chart{height:210px;gap:5px}.kh-trend-bars i{width:32%}.kh-mini-cal-grid>a,.kh-mini-cal-grid>span{min-height:40px!important}}
@media(max-width:380px){.kh-dashboard-page:not(.is-editing) .kh-dash-kpis,.kh-purchase-kpis{grid-template-columns:1fr!important}}
/* 8.5.95 - destino visual do Kanban e recorrencia */
.dc-kanban-destination{border:1px solid #d7e4df;border-radius:22px;padding:20px;background:linear-gradient(135deg,#fbfffd,#f3faf7)}
.dc-destination-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:16px}.dc-destination-head h4{margin:2px 0 4px;font-weight:850}.dc-destination-head p{margin:0;color:#64748b}.dc-calendar-toggle{display:flex;gap:9px;align-items:center;border:1px solid #d8e1e8;border-radius:14px;padding:11px 14px;background:#fff;font-weight:700;white-space:nowrap}
.dc-stage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.dc-stage-card,.dc-generation-card{position:relative;display:flex;gap:12px;align-items:center;border:2px solid #e2e8f0;background:#fff;border-radius:16px;padding:13px 14px;cursor:pointer;min-height:78px;transition:.16s ease}.dc-stage-card:hover,.dc-generation-card:hover{transform:translateY(-1px);border-color:#86d9b5;box-shadow:0 8px 22px rgba(15,23,42,.07)}.dc-stage-card input,.dc-generation-card input{position:absolute;opacity:0;pointer-events:none}.dc-stage-card:has(input:checked),.dc-generation-card:has(input:checked){border-color:#10b981;background:#ecfdf5;box-shadow:0 0 0 3px rgba(16,185,129,.08)}.dc-stage-icon,.dc-generation-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f1f5f9;font-size:22px;flex:0 0 auto}.dc-stage-card b,.dc-generation-card b{display:block;color:#172033}.dc-stage-card small,.dc-generation-card small{display:block;color:#64748b;margin-top:2px}.dc-stage-check,.dc-generation-check{margin-left:auto;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#dbe5e1;color:transparent;font-weight:900}.dc-stage-card:has(input:checked) .dc-stage-check,.dc-generation-card:has(input:checked) .dc-generation-check{background:#10b981;color:#fff}.dc-generation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}.dc-generation-card{align-items:flex-start;padding:16px;min-height:130px}.dc-generation-card em{display:block;margin-top:7px;color:#166534;font-size:.82rem;font-style:normal;font-weight:650}
@media(max-width:900px){.dc-destination-head{flex-direction:column}.dc-calendar-toggle{white-space:normal}.dc-generation-grid{grid-template-columns:1fr}.dc-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.dc-kanban-destination{padding:14px;border-radius:16px}.dc-stage-grid{grid-template-columns:1fr}.dc-stage-card,.dc-generation-card{min-height:auto}.dc-generation-card{padding:14px}}

/* ============================================================
   KH 8.5.99 — DEMANDA VISUAL POR TEMA + RESPONSIVIDADE
   A tela da demanda deixa de ter um visual fixo de "agenda/livro".
   Cada tema assume completamente a experiência visual.
   ============================================================ */
body:has(.task-hero) .content{background:var(--kh-task-page-bg,#f4f7f5)!important}
body:has(.task-hero) .task-hero{max-width:1500px;margin:0 auto;border-radius:26px!important;min-height:220px;padding:34px!important;display:flex;align-items:flex-end;background-color:#123d33;box-shadow:0 18px 45px rgba(15,23,42,.14);overflow:hidden}
body:has(.task-hero) .task-hero h1{font-size:clamp(28px,4vw,48px)!important;line-height:1.02;margin:10px 0!important}
body:has(.task-hero) .task-tabs-v43{max-width:1500px!important;margin:18px auto 0!important;display:flex!important;gap:8px!important;overflow-x:auto!important;padding:0 4px 5px!important;scrollbar-width:thin}
body:has(.task-hero) .task-tabs-v43 button{flex:0 0 auto!important;min-height:44px!important;padding:10px 16px!important;border-radius:14px!important;transform:none!important;font-weight:800!important}
body:has(.task-hero) .task-tab-stage-v43{max-width:1500px!important;min-height:0!important;margin:0 auto 34px!important;padding:26px!important;border-radius:24px!important;background:#fff!important;border:1px solid #dfe7e2!important;box-shadow:0 16px 45px rgba(15,23,42,.08)!important;overflow:visible!important;perspective:none!important}
body:has(.task-hero) .task-tab-stage-v43:before,body:has(.task-hero) .task-tab-stage-v43:after,body:has(.task-hero) .agenda-page-no{display:none!important}
body:has(.task-hero) .agenda-left-info{position:relative!important;inset:auto!important;width:100%!important;bottom:auto!important;max-height:none!important;overflow:visible!important;margin:0 0 22px!important;padding:20px!important;border-radius:18px!important;background:#f8faf9!important;border:1px solid #e1e8e4!important;color:inherit!important}
body:has(.task-hero) .agenda-left-info h3{font-family:inherit!important;font-size:22px!important;margin-bottom:12px!important}
body:has(.task-hero) .agenda-left-info .agenda-note{transform:none!important;background:#f1f5f3!important;box-shadow:none!important;border-radius:14px!important}
body:has(.task-hero) .task-tab-stage-v43>.metric-card{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body:has(.task-hero) .task-tab-stage-v43 h4{font-family:inherit!important;color:inherit!important;font-weight:900!important}
body:has(.task-hero) .task-read-field{border-radius:14px!important;padding:13px!important}
body:has(.task-hero) .task-management-bar{max-width:1500px;margin-left:auto!important;margin-right:auto!important}

/* KARINA CLÁSSICO — verde, lateral e cartões suaves */
body.kh-theme-karina-hub:has(.task-hero){--kh-task-page-bg:#f2f7f4}
body.kh-theme-karina-hub:has(.task-hero) .task-hero{background:linear-gradient(120deg,#062d25,#08785b)!important}
body.kh-theme-karina-hub:has(.task-hero) .task-tabs-v43 button{background:#fff!important;color:#345149!important;border:1px solid #d6e5de!important;box-shadow:0 5px 16px #0f3d2f0c!important}
body.kh-theme-karina-hub:has(.task-hero) .task-tabs-v43 button.active{background:#0b8b63!important;color:#fff!important;border-color:#0b8b63!important}
body.kh-theme-karina-hub:has(.task-hero) .task-tab-stage-v43{border-top:4px solid #10b981!important}

/* MODERNO — azul claro, muito espaço e navegação limpa */
body.kh-theme-moderno:has(.task-hero){--kh-task-page-bg:#f5f8ff}
body.kh-theme-moderno:has(.task-hero) .task-hero{background:linear-gradient(125deg,#1e40af,#3b82f6 58%,#93c5fd)!important;border-radius:30px!important}
body.kh-theme-moderno:has(.task-hero) .task-tabs-v43{justify-content:center!important}
body.kh-theme-moderno:has(.task-hero) .task-tabs-v43 button{background:#fff!important;color:#475569!important;border:1px solid #dbeafe!important;box-shadow:none!important}
body.kh-theme-moderno:has(.task-hero) .task-tabs-v43 button.active{background:#eff6ff!important;color:#1d4ed8!important;border-color:#60a5fa!important;box-shadow:0 0 0 3px #60a5fa20!important}
body.kh-theme-moderno:has(.task-hero) .task-tab-stage-v43{border-color:#dbeafe!important;box-shadow:0 16px 45px #1d4ed80b!important}
body.kh-theme-moderno:has(.task-hero) .agenda-left-info{background:#f8fbff!important;border-color:#dbeafe!important}

/* EXECUTIVO — compacto, corporativo, cantos retos */
body.kh-theme-executivo:has(.task-hero){--kh-task-page-bg:#eef0f3}
body.kh-theme-executivo:has(.task-hero) .task-hero{background:linear-gradient(110deg,#111827,#374151)!important;border-radius:8px!important;border-left:6px solid #fbbf24!important;min-height:190px!important}
body.kh-theme-executivo:has(.task-hero) .task-tabs-v43{gap:0!important;border-bottom:1px solid #cbd5e1!important;padding-bottom:0!important}
body.kh-theme-executivo:has(.task-hero) .task-tabs-v43 button{border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;color:#4b5563!important;box-shadow:none!important}
body.kh-theme-executivo:has(.task-hero) .task-tabs-v43 button.active{border-bottom-color:#d97706!important;color:#111827!important;background:#fff!important}
body.kh-theme-executivo:has(.task-hero) .task-tab-stage-v43{border-radius:8px!important;border:1px solid #d1d5db!important;border-top:0!important;box-shadow:0 5px 18px #0000000c!important}
body.kh-theme-executivo:has(.task-hero) .agenda-left-info{border-radius:5px!important;background:#f3f4f6!important}

/* RETRÔ — janela clássica de verdade */
body.kh-theme-retro:has(.task-hero){--kh-task-page-bg:#008080}
body.kh-theme-retro:has(.task-hero) .task-hero{background:#c0c0c0!important;color:#000!important;border:3px outset #fff!important;border-radius:0!important;box-shadow:none!important;min-height:180px!important;align-items:center!important}
body.kh-theme-retro:has(.task-hero) .task-hero h1,body.kh-theme-retro:has(.task-hero) .task-hero p{color:#000!important}
body.kh-theme-retro:has(.task-hero) .task-tabs-v43{gap:2px!important;padding:0!important}
body.kh-theme-retro:has(.task-hero) .task-tabs-v43 button{border:2px outset #fff!important;border-radius:0!important;background:#c0c0c0!important;color:#000!important;box-shadow:none!important}
body.kh-theme-retro:has(.task-hero) .task-tabs-v43 button.active{border:2px inset #fff!important;background:#000080!important;color:#fff!important}
body.kh-theme-retro:has(.task-hero) .task-tab-stage-v43,body.kh-theme-retro:has(.task-hero) .agenda-left-info{background:#c0c0c0!important;border:3px outset #fff!important;border-radius:0!important;box-shadow:none!important}
body.kh-theme-retro:has(.task-hero) .task-read-field{border-radius:0!important;border:2px inset #fff!important;background:#fff!important}

/* NOTURNO — toda a demanda realmente escura */
body.kh-theme-noturno:has(.task-hero){--kh-task-page-bg:#07101d}
body.kh-theme-noturno:has(.task-hero) .task-hero{background:linear-gradient(125deg,#07101d,#10233b 58%,#0f513f)!important;border:1px solid #25344c!important;box-shadow:0 20px 50px #0007!important}
body.kh-theme-noturno:has(.task-hero) .task-tabs-v43 button{background:#101b2c!important;color:#aebed5!important;border:1px solid #25344c!important;box-shadow:none!important}
body.kh-theme-noturno:has(.task-hero) .task-tabs-v43 button.active{background:#17354a!important;color:#fff!important;border-color:#34d399!important}
body.kh-theme-noturno:has(.task-hero) .task-tab-stage-v43{background:#101b2c!important;color:#e5eefb!important;border-color:#25344c!important;box-shadow:0 20px 55px #0005!important}
body.kh-theme-noturno:has(.task-hero) .agenda-left-info{background:#0c1727!important;color:#e5eefb!important;border-color:#25344c!important}
body.kh-theme-noturno:has(.task-hero) .agenda-left-info .agenda-note{background:#14243a!important;color:#dbeafe!important}
body.kh-theme-noturno:has(.task-hero) .task-read-field{background:#0a1422!important;border-color:#31425d!important;color:#e5eefb!important}

/* Demanda responsiva: sem livro cortado, sem barra horizontal na área de conteúdo */
@media(max-width:900px){
 body:has(.task-hero) .task-hero{min-height:0!important;padding:24px 20px!important;border-radius:20px!important}
 body:has(.task-hero) .task-tabs-v43{justify-content:flex-start!important;margin-top:12px!important}
 body:has(.task-hero) .task-tab-stage-v43{padding:18px!important;border-radius:18px!important}
 body:has(.task-hero) .agenda-left-info{padding:16px!important;margin-bottom:16px!important}
 body:has(.task-hero) .task-management-bar .d-flex{align-items:stretch!important}
 body:has(.task-hero) .task-management-bar .btn{width:100%!important}
}
@media(max-width:600px){
 body:has(.task-hero) .content{padding-left:12px!important;padding-right:12px!important}
 body:has(.task-hero) .task-hero{padding:20px 16px!important;border-radius:16px!important}
 body:has(.task-hero) .task-hero h1{font-size:29px!important;word-break:break-word}
 body:has(.task-hero) .task-hero .kv,body:has(.task-hero) .task-hero .badge-rec{font-size:11px!important;white-space:normal!important}
 body:has(.task-hero) .task-tabs-v43{width:100%!important;max-width:100%!important}
 body:has(.task-hero) .task-tabs-v43 button{padding:9px 12px!important;font-size:12px!important}
 body:has(.task-hero) .task-tab-stage-v43{padding:14px!important;margin-bottom:20px!important;border-radius:14px!important}
 body:has(.task-hero) .agenda-left-info .agenda-meta span{display:block!important}
 body:has(.task-hero) .row>[class*="col-"]{width:100%!important}
 body.kh-theme-retro:has(.task-hero) .task-hero,body.kh-theme-retro:has(.task-hero) .task-tab-stage-v43{border-width:2px!important}
}

/* KH 8.6.00 — demanda aberta responsiva e visual próprio por tema */
.page-task .agenda-cover-v49,.page-task .agenda-tabs-v49{display:none!important}
.kh-task-theme-stage{max-width:1460px;margin:18px auto 34px;min-width:0}.kh-task-theme-head{display:flex;justify-content:space-between;gap:24px;align-items:end;padding:22px 24px;border:1px solid #dce7e2;border-radius:22px 22px 0 0;background:#fff}.kh-task-theme-head small{font-size:10px;letter-spacing:.16em;font-weight:900;color:#64748b}.kh-task-theme-head h2{margin:4px 0 2px;font-size:27px;font-weight:950}.kh-task-theme-head p{margin:0;color:#64748b}.kh-task-theme-nav{display:flex;gap:8px;flex-wrap:wrap}.kh-task-theme-nav button{border:1px solid #dbe4e0;background:#f8faf9;padding:10px 13px;border-radius:12px;font-weight:850;color:#334155;white-space:nowrap}.kh-task-theme-nav button.active{background:var(--kh-accent,#059669);border-color:var(--kh-accent,#059669);color:#fff;box-shadow:0 8px 22px color-mix(in srgb,var(--kh-accent,#059669) 24%,transparent)}.kh-task-theme-nav button span{margin-right:5px}.kh-task-theme-body{padding:24px;border:1px solid #dce7e2;border-top:0;border-radius:0 0 22px 22px;background:#f8faf9;min-height:420px}.kh-task-panel{display:none!important;margin:0!important;max-width:none!important}.kh-task-panel.active{display:block!important}.kh-task-panel>h4{font-size:22px;font-weight:950;margin-bottom:18px}.kh-task-panel form.row{align-items:end}.kh-task-panel .task-read-field{height:100%}.kh-task-panel .comments-list{max-height:none!important}
/* Clássico / Karina Hub */
body.kh-theme-karina-hub.page-task .kh-task-theme-head{background:linear-gradient(135deg,#fff,#edf9f4);border-color:#bfe5d5}body.kh-theme-karina-hub.page-task .kh-task-theme-body{background:#f3faf7;border-color:#bfe5d5}body.kh-theme-karina-hub.page-task .kh-task-panel{background:#fff!important;border:1px solid #d8ebe3!important;border-radius:18px!important;padding:24px!important;box-shadow:0 14px 34px #064e3b12!important}
/* Minha Mesa: painel de trabalho, sem papel/agenda */
body.kh-theme-minha-mesa.page-task .kh-task-theme-head{background:#fff8ef;border-color:#dfc09f;border-radius:12px 12px 0 0}body.kh-theme-minha-mesa.page-task .kh-task-theme-body{background:#efe1cf;border-color:#dfc09f;border-radius:0 0 12px 12px}body.kh-theme-minha-mesa.page-task .kh-task-panel{background:#fffaf4!important;border:1px solid #e2c7a9!important;border-radius:10px!important;padding:24px!important;box-shadow:0 8px 20px #5b38231a!important}
/* Azul: moderno */
body.kh-theme-karina-azul.page-task .kh-task-theme-head{background:linear-gradient(135deg,#fff,#e8f1ff);border-color:#bfdbfe}body.kh-theme-karina-azul.page-task .kh-task-theme-body{background:#eef5ff;border-color:#bfdbfe}body.kh-theme-karina-azul.page-task .kh-task-panel{background:#fff!important;border:1px solid #cfe0fa!important;border-radius:24px!important;padding:28px!important;box-shadow:0 18px 45px #1d4ed815!important}
/* Verde */
body.kh-theme-karina-verde.page-task .kh-task-theme-head{background:#f0fdf4;border-color:#bbf7d0}body.kh-theme-karina-verde.page-task .kh-task-theme-body{background:#ecfdf5;border-color:#bbf7d0}body.kh-theme-karina-verde.page-task .kh-task-panel{background:#fff!important;border:1px solid #bbf7d0!important;border-radius:18px!important;padding:24px!important}
/* Neo */
body.kh-theme-neo.page-task .kh-task-theme-head,body.kh-theme-neo.page-task .kh-task-theme-body{background:#0b1224cc!important;color:#eefaff!important;border-color:#67e8f955!important;backdrop-filter:blur(16px)}body.kh-theme-neo.page-task .kh-task-theme-head p,body.kh-theme-neo.page-task .kh-task-theme-head small{color:#9ddbea!important}body.kh-theme-neo.page-task .kh-task-panel{background:#ffffff0d!important;color:#eefaff!important;border:1px solid #67e8f955!important;border-radius:22px!important;padding:26px!important;box-shadow:0 18px 50px #0005!important}body.kh-theme-neo.page-task .kh-task-theme-nav button{background:#ffffff10;color:#dff8ff;border-color:#67e8f955}
/* Executivo / grafite */
body.kh-theme-grafite.page-task .kh-task-theme-head,body.kh-theme-grafite.page-task .kh-task-theme-body{background:#18181b!important;color:#fafafa!important;border-color:#3f3f46!important}body.kh-theme-grafite.page-task .kh-task-theme-head p,body.kh-theme-grafite.page-task .kh-task-theme-head small{color:#a1a1aa!important}body.kh-theme-grafite.page-task .kh-task-panel{background:#27272a!important;color:#fafafa!important;border:1px solid #3f3f46!important;border-radius:10px!important;padding:22px!important;box-shadow:none!important}body.kh-theme-grafite.page-task .kh-task-theme-nav button{background:#27272a;color:#f4f4f5;border-color:#52525b}
/* Retrô: janela de sistema, não agenda */
body.kh-theme-retro.page-task .kh-task-theme-stage{font-family:Tahoma,Arial,sans-serif}body.kh-theme-retro.page-task .kh-task-theme-head,body.kh-theme-retro.page-task .kh-task-theme-body{background:#c0c0c0!important;color:#000!important;border:3px outset #eee!important;border-radius:0!important}body.kh-theme-retro.page-task .kh-task-theme-head{align-items:center}body.kh-theme-retro.page-task .kh-task-theme-head h2{font-size:22px}body.kh-theme-retro.page-task .kh-task-theme-nav button{border:2px outset #eee;border-radius:0;background:#c0c0c0;color:#000}body.kh-theme-retro.page-task .kh-task-theme-nav button.active{background:#000080!important;color:#fff!important;box-shadow:none}body.kh-theme-retro.page-task .kh-task-panel{background:#c0c0c0!important;color:#000!important;border:2px inset #eee!important;border-radius:0!important;padding:20px!important;box-shadow:none!important}
/* Aurora */
body.kh-theme-aurora.page-task .kh-task-theme-head{background:#ffffffd9;border-color:#c4b5fd;backdrop-filter:blur(12px)}body.kh-theme-aurora.page-task .kh-task-theme-body{background:#ffffff8f;border-color:#c4b5fd;backdrop-filter:blur(12px)}body.kh-theme-aurora.page-task .kh-task-panel{background:#ffffffdf!important;border:1px solid #ddd6fe!important;border-radius:26px!important;padding:28px!important;box-shadow:0 18px 50px #7c3aed12!important}
/* modo físico: demanda deixa de ser agenda */
.kh-game-mode.page-task .kh-physical-agenda{background:transparent!important;border:0!important;box-shadow:none!important}.kh-game-mode.page-task .kh-physical-agenda .kh-device-center{font-size:0}.kh-game-mode.page-task .kh-physical-agenda .kh-device-center:after{content:'DEMANDA';font-size:12px}.kh-game-mode.page-task .kh-task-theme-stage{max-width:100%;margin:10px 0 24px}
@media(max-width:900px){.kh-task-theme-stage{margin:10px 0 22px}.kh-task-theme-head{display:block;padding:18px;border-radius:16px 16px 0 0}.kh-task-theme-head h2{font-size:23px}.kh-task-theme-nav{margin-top:16px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.kh-task-theme-nav button{flex:0 0 auto}.kh-task-theme-body{padding:14px;border-radius:0 0 16px 16px}.kh-task-panel.active{padding:16px!important}.kh-task-panel form.row>[class*="col-"]{width:100%!important}.task-hero{border-radius:18px!important;padding:22px!important}.task-hero h1{font-size:28px!important;overflow-wrap:anywhere}}
@media(max-width:520px){.kh-task-theme-head{padding:15px}.kh-task-theme-head p{font-size:13px}.kh-task-theme-body{padding:10px}.kh-task-panel.active{padding:13px!important;border-radius:14px!important}.kh-task-theme-nav button{padding:9px 10px;font-size:12px}.task-management-bar .d-flex{align-items:stretch!important}.task-management-bar form,.task-management-bar .btn{width:100%}}


/* KH 8.6.01 — demanda aberta: remove definitivamente o livro/agenda */
.page-task .agenda-cover-v49,.page-task .agenda-book-v49,.page-task .agenda-page-v49,.page-task .agenda-left-v49,.page-task .agenda-right-v49,.page-task .agenda-turn-sheet-v49,.page-task .agenda-tabs-v49{display:none!important}
.page-task .kh-task-no-agenda{width:min(1460px,100%);margin:18px auto 34px;min-width:0}
.page-task .kh-task-no-agenda .kh-task-theme-head{position:relative;overflow:hidden}
.page-task .kh-task-no-agenda .kh-task-theme-body{min-width:0}
.page-task .kh-task-no-agenda .kh-task-panel{width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;overflow:visible!important}
.page-task .kh-task-no-agenda .kh-task-panel.active{display:block!important}
.page-task .kh-task-no-agenda .kh-task-panel:not(.active){display:none!important}
.page-task .kh-task-no-agenda .task-project-read-card form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.page-task .kh-task-no-agenda .task-project-read-card form>.col-12{grid-column:1/-1}
.page-task .kh-task-no-agenda .task-read-field{min-width:0;overflow-wrap:anywhere}
body.kh-theme-karina-hub.page-task .kh-task-no-agenda .kh-task-theme-head{background:linear-gradient(135deg,#ffffff,#edf9f4)!important;border-radius:22px 22px 0 0!important}
body.kh-theme-moderno.page-task .kh-task-no-agenda .kh-task-theme-head{background:linear-gradient(135deg,#ffffff,#eff6ff)!important;border-color:#bfdbfe!important;border-radius:28px 28px 0 0!important}body.kh-theme-moderno.page-task .kh-task-no-agenda .kh-task-theme-body{background:#f5f8ff!important;border-color:#bfdbfe!important;border-radius:0 0 28px 28px!important}body.kh-theme-moderno.page-task .kh-task-no-agenda .kh-task-panel{background:#fff!important;border:1px solid #dbeafe!important;border-radius:22px!important;padding:28px!important}
body.kh-theme-executivo.page-task .kh-task-no-agenda .kh-task-theme-head{background:#171b22!important;color:#fff!important;border-color:#343a46!important;border-radius:8px 8px 0 0!important;border-left:5px solid #d99a24!important}body.kh-theme-executivo.page-task .kh-task-no-agenda .kh-task-theme-head p,body.kh-theme-executivo.page-task .kh-task-no-agenda .kh-task-theme-head small{color:#b9c0ca!important}body.kh-theme-executivo.page-task .kh-task-no-agenda .kh-task-theme-body{background:#eceff3!important;border-color:#cfd4dc!important;border-radius:0 0 8px 8px!important}body.kh-theme-executivo.page-task .kh-task-no-agenda .kh-task-panel{background:#fff!important;border:1px solid #d5d9df!important;border-radius:6px!important;padding:22px!important;box-shadow:none!important}
body.kh-theme-retro.page-task .kh-task-no-agenda{font-family:Tahoma,Arial,sans-serif!important}body.kh-theme-retro.page-task .kh-task-no-agenda .kh-task-theme-head,body.kh-theme-retro.page-task .kh-task-no-agenda .kh-task-theme-body{background:#c0c0c0!important;color:#000!important;border:3px outset #eee!important;border-radius:0!important}body.kh-theme-retro.page-task .kh-task-no-agenda .kh-task-panel{background:#c0c0c0!important;border:2px inset #eee!important;border-radius:0!important;padding:20px!important;box-shadow:none!important}
body.kh-theme-noturno.page-task .kh-task-no-agenda .kh-task-theme-head,body.kh-theme-noturno.page-task .kh-task-no-agenda .kh-task-theme-body{background:#0d1726!important;color:#e8eef8!important;border-color:#26364e!important}body.kh-theme-noturno.page-task .kh-task-no-agenda .kh-task-theme-head p,body.kh-theme-noturno.page-task .kh-task-no-agenda .kh-task-theme-head small{color:#9eb0c8!important}body.kh-theme-noturno.page-task .kh-task-no-agenda .kh-task-panel{background:#111d2e!important;color:#e8eef8!important;border:1px solid #2b3d58!important;border-radius:18px!important;padding:24px!important}body.kh-theme-noturno.page-task .kh-task-no-agenda .task-read-field{background:#0b1524!important;color:#e8eef8!important;border-color:#33465f!important}
@media(max-width:900px){.page-task .kh-task-no-agenda{margin:10px 0 24px}.page-task .kh-task-no-agenda .kh-task-theme-head{padding:18px!important}.page-task .kh-task-no-agenda .kh-task-theme-nav{overflow-x:auto;flex-wrap:nowrap}.page-task .kh-task-no-agenda .kh-task-theme-body{padding:14px!important}.page-task .kh-task-no-agenda .kh-task-panel.active{padding:16px!important}.page-task .kh-task-no-agenda .task-project-read-card form{grid-template-columns:1fr}.page-task .kh-task-no-agenda .task-project-read-card form>*{grid-column:1!important}}
@media(max-width:520px){.page-task .kh-task-no-agenda .kh-task-theme-head{padding:15px!important}.page-task .kh-task-no-agenda .kh-task-theme-title h2{font-size:21px!important}.page-task .kh-task-no-agenda .kh-task-theme-body{padding:9px!important}.page-task .kh-task-no-agenda .kh-task-panel.active{padding:12px!important}.page-task .kh-task-no-agenda .kh-task-theme-nav button{font-size:12px;padding:9px 10px}}


/* KH 8.6.02 — demanda aberta profissional */
body.page-task .kh-task-theme-stage{max-width:1380px;margin:22px auto;border:1px solid rgba(15,23,42,.09);border-radius:24px;overflow:hidden;background:var(--kh-surface,#fff);box-shadow:0 18px 55px rgba(15,23,42,.10)}
body.page-task .kh-task-theme-head{padding:22px 24px 0;background:linear-gradient(180deg,rgba(16,185,129,.055),transparent);border-bottom:1px solid rgba(15,23,42,.08)}
body.page-task .kh-task-theme-title h2{font-size:clamp(1.45rem,2vw,2rem);font-weight:850;letter-spacing:-.035em;margin:.15rem 0}.kh-task-theme-title small{font-size:.72rem;font-weight:800;letter-spacing:.12em;opacity:.58}.kh-task-theme-title p{margin:0 0 18px;color:#64748b}
body.page-task .kh-task-theme-nav{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px;scrollbar-width:thin}.kh-task-theme-nav button{white-space:nowrap;border:1px solid #dbe4ea;background:#fff;border-radius:12px;padding:10px 14px;font-weight:750;color:#334155;transition:.18s}.kh-task-theme-nav button:hover{transform:translateY(-1px);border-color:#94a3b8}.kh-task-theme-nav button.active{background:#0f8f5b;color:#fff;border-color:#0f8f5b;box-shadow:0 7px 18px rgba(15,143,91,.2)}
body.page-task .kh-task-theme-body{padding:24px}.kh-task-panel{display:none!important;margin:0!important;border:1px solid #e4e9ee!important;border-radius:20px!important;box-shadow:none!important;background:#fff!important}.kh-task-panel.active{display:block!important}
.kh-demand-editor{padding:0!important;overflow:hidden}.kh-editor-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:22px 24px 18px;border-bottom:1px solid #edf0f2;background:#fbfcfd}.kh-editor-heading small{font-size:.68rem;font-weight:850;letter-spacing:.12em;color:#64748b}.kh-editor-heading h4{font-size:1.45rem;margin:3px 0 4px;font-weight:850}.kh-editor-heading p{margin:0;color:#64748b;font-size:.92rem}.kh-editor-status{background:#e8f8f0;color:#087a4d;border-radius:999px;padding:7px 11px;font-size:.78rem;font-weight:800;white-space:nowrap}.kh-editor-form{padding:22px 24px 24px}.kh-field-label{display:block;font-size:.78rem;font-weight:800;color:#334155;margin:0 0 6px}.kh-demand-editor .form-control,.kh-demand-editor .form-select{min-height:46px;border-radius:12px;border-color:#dce3e8;background:#fff}.kh-demand-editor textarea.form-control{min-height:112px}.kh-demand-editor .form-control:focus,.kh-demand-editor .form-select:focus{border-color:#22a66a;box-shadow:0 0 0 3px rgba(34,166,106,.11)}.kh-save-demand{min-height:44px;padding:0 20px!important;font-weight:800!important;box-shadow:0 7px 18px rgba(15,143,91,.18)}
.kh-files-panel{padding:22px!important}.kh-files-panel>h4{font-size:1.2rem;font-weight:850;margin-bottom:14px}.kh-files-panel form.mb-3{padding:16px;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc}.kh-file-card{display:flex!important;align-items:center;gap:12px;padding:12px!important;margin-top:10px;border:1px solid #e2e8f0!important;border-radius:14px;background:#fff}.kh-file-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#eef6ff;font-size:1.15rem;flex:0 0 auto}.kh-file-meta{min-width:0;flex:1}.kh-file-name{display:block;font-weight:800;color:#172033;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kh-file-meta small{display:block;color:#718096;margin-top:3px}.kh-file-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.kh-empty-state{display:grid;place-items:center;text-align:center;gap:4px;padding:30px 16px;border:1px dashed #d6dde3;border-radius:16px;color:#64748b}.kh-empty-state>span{font-size:1.8rem}.kh-empty-state b{color:#334155}
body.kh-theme-modern.page-task .kh-task-theme-stage{border-radius:28px}body.kh-theme-executive.page-task .kh-task-theme-stage{border-radius:12px;box-shadow:0 10px 30px rgba(2,6,23,.12)}body.kh-theme-retro.page-task .kh-task-theme-stage{border-radius:4px;border-width:2px}body.kh-theme-noturno.page-task .kh-task-theme-stage{background:#111827;border-color:#263244}body.kh-theme-noturno.page-task .kh-task-panel,body.kh-theme-noturno.page-task .kh-editor-heading{background:#111827!important;border-color:#263244!important;color:#e5edf7}body.kh-theme-noturno.page-task .kh-editor-heading p,body.kh-theme-noturno.page-task .kh-field-label{color:#9fb0c5}
@media(max-width:768px){body.page-task .kh-task-theme-stage{margin:12px 8px;border-radius:18px}.kh-task-theme-head{padding:18px 16px 0!important}.kh-task-theme-body{padding:14px!important}.kh-editor-heading{padding:18px 16px;flex-direction:column}.kh-editor-form{padding:16px}.kh-editor-status{display:none}.kh-file-card{align-items:flex-start}.kh-file-actions{width:100%;padding-left:54px}.kh-file-actions .btn{flex:1}.kh-task-theme-nav button{padding:9px 12px}.kh-demand-editor [class*="col-md-"]{width:100%}}

/* =========================================================
   KH 8.6.03 — DEMANDA ABERTA PREMIUM + RESPONSIVA
   ========================================================= */
.page-task .kh-task-premium{
  --task-accent:#0f9f68;
  --task-accent-2:#087c52;
  --task-surface:#ffffff;
  --task-surface-2:#f7faf9;
  --task-border:#dde7e2;
  --task-text:#12221c;
  --task-muted:#66776f;
  width:min(1540px,100%);
  margin:20px auto 36px;
  border:1px solid var(--task-border)!important;
  border-radius:26px!important;
  background:var(--task-surface)!important;
  box-shadow:0 24px 70px rgba(15,23,42,.10)!important;
  overflow:hidden!important;
}
.page-task .kh-task-premium .kh-task-theme-head{
  display:grid!important;
  grid-template-columns:minmax(260px,420px) 1fr;
  align-items:end!important;
  gap:26px!important;
  padding:26px 30px 0!important;
  background:linear-gradient(135deg,#f8fffb 0%,#eefaf4 55%,#ffffff 100%)!important;
  border:0!important;
  border-bottom:1px solid var(--task-border)!important;
}
.page-task .kh-task-premium .kh-task-theme-title{padding-bottom:20px;min-width:0}
.page-task .kh-task-premium .kh-task-theme-title small{display:block;font-size:11px!important;font-weight:900!important;letter-spacing:.16em!important;color:var(--task-accent-2)!important;margin-bottom:7px}
.page-task .kh-task-premium .kh-task-theme-title h2{margin:0 0 6px!important;font-size:clamp(1.55rem,2.3vw,2.35rem)!important;font-weight:900!important;letter-spacing:-.045em!important;color:var(--task-text)!important}
.page-task .kh-task-premium .kh-task-theme-title p{margin:0!important;font-size:.96rem!important;color:var(--task-muted)!important;line-height:1.5}
.page-task .kh-task-premium .kh-task-theme-nav{
  display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;padding:0 0 16px!important;margin:0!important;
}
.page-task .kh-task-premium .kh-task-theme-nav::-webkit-scrollbar{display:none}
.page-task .kh-task-premium .kh-task-theme-nav button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  min-height:44px!important;padding:0 15px!important;border-radius:14px!important;border:1px solid #dce7e2!important;
  background:#fff!important;color:#33443d!important;font-size:.88rem!important;font-weight:800!important;white-space:nowrap!important;
  box-shadow:0 4px 12px rgba(15,23,42,.04)!important;transition:.18s ease!important;
}
.page-task .kh-task-premium .kh-task-theme-nav button:hover{transform:translateY(-2px)!important;border-color:#a9cbbb!important;box-shadow:0 8px 18px rgba(15,23,42,.07)!important}
.page-task .kh-task-premium .kh-task-theme-nav button.active{background:var(--task-accent)!important;color:#fff!important;border-color:var(--task-accent)!important;box-shadow:0 10px 24px color-mix(in srgb,var(--task-accent) 26%,transparent)!important}
.page-task .kh-task-premium .kh-task-theme-body{padding:28px!important;background:linear-gradient(180deg,var(--task-surface-2),#fff)!important;border:0!important}
.page-task .kh-task-premium .kh-premium-panel.active{
  display:block!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;overflow:visible!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
.page-task .kh-task-premium .kh-demand-editor{overflow:hidden!important;border:1px solid var(--task-border)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 10px 30px rgba(15,23,42,.055)!important}
.page-task .kh-task-premium .kh-editor-heading{padding:23px 26px!important;background:linear-gradient(180deg,#fff,#fafcfb)!important;border-bottom:1px solid #e8efeb!important;align-items:center!important}
.page-task .kh-task-premium .kh-editor-heading small{font-size:10px!important;letter-spacing:.14em!important;font-weight:900!important;color:var(--task-accent-2)!important}
.page-task .kh-task-premium .kh-editor-heading h4{font-size:1.45rem!important;font-weight:900!important;letter-spacing:-.03em!important;margin:4px 0!important;color:var(--task-text)!important}
.page-task .kh-task-premium .kh-editor-heading p{max-width:720px;color:var(--task-muted)!important}
.page-task .kh-task-premium .kh-editor-status{background:#eafaf2!important;color:#08754d!important;border:1px solid #c8efdc!important;padding:8px 12px!important}
.page-task .kh-task-premium .kh-editor-form{
  display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:18px!important;padding:26px!important;
}
.page-task .kh-task-premium .kh-premium-field{grid-column:span 3!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
.page-task .kh-task-premium .kh-premium-title{grid-column:span 8!important}
.page-task .kh-task-premium .kh-premium-thumbnail{grid-column:span 4!important}
.page-task .kh-task-premium .kh-premium-description{grid-column:1/-1!important}
.page-task .kh-task-premium .kh-premium-assigned-to{grid-column:span 4!important}
.page-task .kh-task-premium .kh-premium-due-at,.page-task .kh-task-premium .kh-premium-sla-deadline{grid-column:span 4!important}
.page-task .kh-task-premium .kh-premium-custom{grid-column:span 6!important}
.page-task .kh-task-premium .kh-editor-form>.col-12:not(.kh-premium-field){grid-column:1/-1!important;width:auto!important}
.page-task .kh-task-premium .kh-field-label,.page-task .kh-task-premium .kh-editor-form>div>label{
  display:block!important;margin:0 0 7px!important;font-size:.76rem!important;font-weight:850!important;letter-spacing:.01em!important;color:#405047!important;
}
.page-task .kh-task-premium .form-control,.page-task .kh-task-premium .form-select{
  width:100%!important;min-width:0!important;min-height:48px!important;padding:.7rem .9rem!important;border-radius:13px!important;border:1px solid #d9e4df!important;background:#fff!important;color:#14241d!important;font-size:.94rem!important;box-shadow:0 1px 2px rgba(15,23,42,.02)!important;
}
.page-task .kh-task-premium textarea.form-control{min-height:122px!important;resize:vertical!important;line-height:1.5!important}
.page-task .kh-task-premium .form-control:focus,.page-task .kh-task-premium .form-select:focus{border-color:#46b889!important;box-shadow:0 0 0 4px rgba(16,185,129,.10)!important}
.page-task .kh-task-premium input[type=file]{padding:6px!important;overflow:hidden!important}
.page-task .kh-task-premium input[type=file]::file-selector-button{border:0!important;border-radius:9px!important;padding:8px 11px!important;margin-right:10px!important;background:#edf7f2!important;color:#176a4b!important;font-weight:800!important}
.page-task .kh-task-premium .upload-help{display:block!important;margin-top:6px!important;font-size:.76rem!important;line-height:1.45!important;color:#718078!important}
.page-task .kh-task-premium .kh-premium-save{min-height:48px!important;border:0!important;border-radius:13px!important;padding:0 22px!important;background:linear-gradient(135deg,var(--task-accent),var(--task-accent-2))!important;color:#fff!important;font-weight:900!important;box-shadow:0 10px 24px rgba(15,159,104,.20)!important}

/* Anexos premium */
.page-task .kh-task-premium .kh-premium-files{padding:0!important;border:1px solid var(--task-border)!important;border-radius:22px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 10px 30px rgba(15,23,42,.055)!important}
.page-task .kh-task-premium .kh-premium-files>h4{margin:0!important;padding:22px 24px!important;border-bottom:1px solid #e8efeb!important;font-size:1.25rem!important;font-weight:900!important;color:var(--task-text)!important}
.page-task .kh-task-premium .kh-upload-dropzone{margin:20px 24px!important;padding:18px!important;border:1.5px dashed #b9cec4!important;border-radius:16px!important;background:#f7fbf9!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important}
.page-task .kh-task-premium .kh-upload-dropzone .upload-help{grid-column:1/-1!important;margin:0!important}
.page-task .kh-task-premium .kh-upload-button{min-height:44px!important;border-radius:12px!important;font-weight:850!important;white-space:nowrap!important}
.page-task .kh-task-premium .kh-file-card{margin:0 24px 12px!important;padding:14px 15px!important;border:1px solid #e3ebe7!important;border-radius:15px!important;background:#fff!important;box-shadow:0 4px 14px rgba(15,23,42,.035)!important}
.page-task .kh-task-premium .kh-file-icon{width:46px!important;height:46px!important;border-radius:13px!important;background:#eef8f3!important;color:#168258!important}
.page-task .kh-task-premium .kh-file-actions{margin-left:auto!important}
.page-task .kh-task-premium .kh-empty-state{margin:0 24px 22px!important;background:#fafcfb!important;border-color:#d9e5df!important}

/* Painéis de conteúdo */
.page-task .kh-task-premium .comments-card,.page-task .kh-task-premium .kh-task-panel:not(.kh-demand-editor):not(.kh-premium-files){border:1px solid var(--task-border)!important;border-radius:22px!important;background:#fff!important;padding:24px!important;box-shadow:0 10px 30px rgba(15,23,42,.05)!important}
.page-task .kh-task-premium .timeline-item,.page-task .kh-task-premium .comment-item,.page-task .kh-task-premium .check-item{border-radius:13px!important}

/* Tema Moderno */
body.kh-theme-moderno.page-task .kh-task-premium{--task-accent:#2563eb;--task-accent-2:#1d4ed8;--task-surface-2:#f4f8ff;--task-border:#dce7f7;border-radius:30px!important;box-shadow:0 28px 80px rgba(37,99,235,.10)!important}
body.kh-theme-moderno.page-task .kh-task-premium .kh-task-theme-head{background:linear-gradient(135deg,#ffffff,#eef5ff 55%,#f8fbff)!important}
body.kh-theme-moderno.page-task .kh-task-premium .kh-task-theme-nav button.active{background:linear-gradient(135deg,#2563eb,#4f46e5)!important}
body.kh-theme-moderno.page-task .kh-task-premium .kh-demand-editor,body.kh-theme-moderno.page-task .kh-task-premium .kh-premium-files{border-radius:24px!important}

/* Tema Executivo */
body.kh-theme-executivo.page-task .kh-task-premium{--task-accent:#c78a22;--task-accent-2:#9b6512;--task-surface-2:#eef0f3;--task-border:#cfd5dc;border-radius:12px!important;box-shadow:0 18px 46px rgba(0,0,0,.13)!important}
body.kh-theme-executivo.page-task .kh-task-premium .kh-task-theme-head{background:linear-gradient(110deg,#161b23,#252b35)!important;border-bottom:3px solid #c78a22!important}
body.kh-theme-executivo.page-task .kh-task-premium .kh-task-theme-title h2,body.kh-theme-executivo.page-task .kh-task-premium .kh-task-theme-title p,body.kh-theme-executivo.page-task .kh-task-premium .kh-task-theme-title small{color:#fff!important}
body.kh-theme-executivo.page-task .kh-task-premium .kh-task-theme-title p{opacity:.72}
body.kh-theme-executivo.page-task .kh-task-premium .kh-task-theme-nav button{border-radius:7px!important;background:#2b313b!important;border-color:#3b4350!important;color:#e8ebef!important;box-shadow:none!important}
body.kh-theme-executivo.page-task .kh-task-premium .kh-task-theme-nav button.active{background:#c78a22!important;color:#111!important;border-color:#c78a22!important}
body.kh-theme-executivo.page-task .kh-task-premium .kh-demand-editor,body.kh-theme-executivo.page-task .kh-task-premium .kh-premium-files,body.kh-theme-executivo.page-task .kh-task-premium .comments-card{border-radius:8px!important;box-shadow:none!important}

/* Tema Retrô — sistema clássico, sem aparência de agenda */
body.kh-theme-retro.page-task .kh-task-premium{--task-accent:#008080;--task-accent-2:#006666;--task-surface:#c0c0c0;--task-surface-2:#c0c0c0;--task-border:#6f6f6f;border-radius:0!important;border:2px outset #fff!important;box-shadow:6px 6px 0 #444!important;font-family:Tahoma,Arial,sans-serif!important}
body.kh-theme-retro.page-task .kh-task-premium .kh-task-theme-head{background:#008080!important;border:2px inset #c0c0c0!important;padding-top:18px!important}
body.kh-theme-retro.page-task .kh-task-premium .kh-task-theme-title h2,body.kh-theme-retro.page-task .kh-task-premium .kh-task-theme-title p,body.kh-theme-retro.page-task .kh-task-premium .kh-task-theme-title small{color:#fff!important}
body.kh-theme-retro.page-task .kh-task-premium .kh-task-theme-nav button{border-radius:0!important;border:2px outset #fff!important;background:#c0c0c0!important;color:#000!important;box-shadow:none!important;transform:none!important}
body.kh-theme-retro.page-task .kh-task-premium .kh-task-theme-nav button.active{border:2px inset #fff!important;background:#dfdfdf!important;color:#000!important}
body.kh-theme-retro.page-task .kh-task-premium .kh-demand-editor,body.kh-theme-retro.page-task .kh-task-premium .kh-premium-files,body.kh-theme-retro.page-task .kh-task-premium .comments-card{border:2px inset #fff!important;border-radius:0!important;background:#c0c0c0!important;box-shadow:none!important}
body.kh-theme-retro.page-task .kh-task-premium .kh-editor-heading,body.kh-theme-retro.page-task .kh-task-premium .kh-upload-dropzone{background:#c0c0c0!important;border-radius:0!important}
body.kh-theme-retro.page-task .kh-task-premium .form-control,body.kh-theme-retro.page-task .kh-task-premium .form-select{border-radius:0!important;border:2px inset #fff!important;background:#fff!important}

/* Tema Noturno */
body.kh-theme-noturno.page-task .kh-task-premium{--task-accent:#38d39f;--task-accent-2:#1fa77b;--task-surface:#101a2a;--task-surface-2:#0b1422;--task-border:#26364d;--task-text:#edf4ff;--task-muted:#9dafc7;background:#101a2a!important;border-color:#26364d!important;box-shadow:0 28px 80px rgba(0,0,0,.35)!important}
body.kh-theme-noturno.page-task .kh-task-premium .kh-task-theme-head{background:linear-gradient(135deg,#0d1828,#13243a)!important;border-color:#26364d!important}
body.kh-theme-noturno.page-task .kh-task-premium .kh-task-theme-title h2,body.kh-theme-noturno.page-task .kh-task-premium .kh-task-theme-title p,body.kh-theme-noturno.page-task .kh-task-premium .kh-task-theme-title small{color:#edf4ff!important}
body.kh-theme-noturno.page-task .kh-task-premium .kh-task-theme-body{background:#0b1422!important}
body.kh-theme-noturno.page-task .kh-task-premium .kh-demand-editor,body.kh-theme-noturno.page-task .kh-task-premium .kh-premium-files,body.kh-theme-noturno.page-task .kh-task-premium .comments-card,body.kh-theme-noturno.page-task .kh-task-premium .kh-task-panel:not(.kh-demand-editor){background:#111d2f!important;border-color:#2a3d58!important;color:#edf4ff!important}
body.kh-theme-noturno.page-task .kh-task-premium .kh-editor-heading,body.kh-theme-noturno.page-task .kh-task-premium .kh-upload-dropzone{background:#0e1929!important;border-color:#2a3d58!important}
body.kh-theme-noturno.page-task .kh-task-premium .kh-field-label,body.kh-theme-noturno.page-task .kh-task-premium .kh-editor-heading h4,body.kh-theme-noturno.page-task .kh-task-premium .kh-premium-files>h4{color:#edf4ff!important}
body.kh-theme-noturno.page-task .kh-task-premium .form-control,body.kh-theme-noturno.page-task .kh-task-premium .form-select{background:#0b1524!important;color:#edf4ff!important;border-color:#334963!important}
body.kh-theme-noturno.page-task .kh-task-premium .kh-file-card{background:#0e1929!important;border-color:#2a3d58!important}
body.kh-theme-noturno.page-task .kh-task-premium .kh-file-name{color:#edf4ff!important}

/* Responsividade real */
@media(max-width:1180px){
 .page-task .kh-task-premium .kh-task-theme-head{grid-template-columns:1fr!important;align-items:start!important;gap:4px!important}
 .page-task .kh-task-premium .kh-task-theme-nav{justify-content:flex-start!important;width:100%!important}
 .page-task .kh-task-premium .kh-premium-field{grid-column:span 4!important}
 .page-task .kh-task-premium .kh-premium-title{grid-column:span 8!important}.page-task .kh-task-premium .kh-premium-thumbnail{grid-column:span 4!important}
 .page-task .kh-task-premium .kh-premium-description{grid-column:1/-1!important}.page-task .kh-task-premium .kh-premium-custom{grid-column:span 6!important}
}
@media(max-width:860px){
 .page-task .kh-task-premium{margin:12px 0 24px!important;border-radius:18px!important}
 .page-task .kh-task-premium .kh-task-theme-head{padding:20px 18px 0!important}
 .page-task .kh-task-premium .kh-task-theme-body{padding:16px!important}
 .page-task .kh-task-premium .kh-editor-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:18px!important;gap:14px!important}
 .page-task .kh-task-premium .kh-premium-field,.page-task .kh-task-premium .kh-premium-title,.page-task .kh-task-premium .kh-premium-thumbnail,.page-task .kh-task-premium .kh-premium-assigned-to,.page-task .kh-task-premium .kh-premium-due-at,.page-task .kh-task-premium .kh-premium-sla-deadline,.page-task .kh-task-premium .kh-premium-custom{grid-column:span 1!important}
 .page-task .kh-task-premium .kh-premium-description{grid-column:1/-1!important}
 .page-task .kh-task-premium .kh-editor-heading{padding:18px!important}
 .page-task .kh-task-premium .kh-upload-dropzone{grid-template-columns:1fr!important;margin:16px!important}.page-task .kh-task-premium .kh-upload-dropzone .upload-help{grid-column:1!important}
 .page-task .kh-task-premium .kh-file-card{margin:0 16px 12px!important;align-items:flex-start!important;flex-wrap:wrap!important}.page-task .kh-task-premium .kh-file-actions{width:100%!important;margin-left:58px!important}
}
@media(max-width:560px){
 .page-task .kh-task-premium{border-left:0!important;border-right:0!important;border-radius:0!important;margin-left:-8px!important;margin-right:-8px!important;width:calc(100% + 16px)!important}
 .page-task .kh-task-premium .kh-task-theme-head{padding:17px 14px 0!important}
 .page-task .kh-task-premium .kh-task-theme-title h2{font-size:1.45rem!important}
 .page-task .kh-task-premium .kh-task-theme-title p{font-size:.88rem!important}
 .page-task .kh-task-premium .kh-task-theme-nav{gap:6px!important;padding-bottom:12px!important}.page-task .kh-task-premium .kh-task-theme-nav button{min-height:41px!important;padding:0 11px!important;font-size:.8rem!important}
 .page-task .kh-task-premium .kh-task-theme-body{padding:10px!important}
 .page-task .kh-task-premium .kh-editor-form{grid-template-columns:1fr!important;padding:14px!important;gap:12px!important}
 .page-task .kh-task-premium .kh-premium-field,.page-task .kh-task-premium .kh-premium-title,.page-task .kh-task-premium .kh-premium-thumbnail,.page-task .kh-task-premium .kh-premium-description,.page-task .kh-task-premium .kh-premium-assigned-to,.page-task .kh-task-premium .kh-premium-due-at,.page-task .kh-task-premium .kh-premium-sla-deadline,.page-task .kh-task-premium .kh-premium-custom{grid-column:1!important}
 .page-task .kh-task-premium .kh-editor-heading{padding:15px!important}.page-task .kh-task-premium .kh-editor-heading h4{font-size:1.2rem!important}.page-task .kh-task-premium .kh-editor-status{display:none!important}
 .page-task .kh-task-premium .kh-premium-files>h4{padding:17px!important}.page-task .kh-task-premium .kh-upload-dropzone{margin:12px!important;padding:13px!important}.page-task .kh-task-premium .kh-file-card{margin:0 12px 10px!important;padding:12px!important}.page-task .kh-task-premium .kh-file-actions{margin-left:0!important}.page-task .kh-task-premium .kh-file-actions .btn,.page-task .kh-task-premium .kh-file-actions form{flex:1 1 auto!important}
}


/* KH 8.6.04 — central da demanda reconstruída */
.page-task .content{max-width:none}.page-task .topbar{max-width:1500px;margin-inline:auto}.page-task .task-hero{max-width:1500px;margin:0 auto 18px;border-radius:26px;min-height:auto;padding:28px 32px;box-shadow:0 18px 55px rgba(15,23,42,.12)}
.kh-demand-v8604{max-width:1500px;margin:0 auto 28px}.kh-demand-v8604-shell{background:var(--bs-body-bg,#fff);border:1px solid rgba(15,23,42,.09);border-radius:28px;overflow:hidden;box-shadow:0 22px 70px rgba(15,23,42,.10)}
.kh-demand-v8604-head{display:flex;justify-content:space-between;gap:24px;align-items:end;padding:26px 28px 20px;border-bottom:1px solid rgba(15,23,42,.08);background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(248,250,252,.92))}.kh-eyebrow{font-size:.72rem;font-weight:900;letter-spacing:.14em;color:#059669}.kh-demand-v8604-head h2{font-size:1.55rem;margin:3px 0 2px;font-weight:900}.kh-demand-v8604-head p{margin:0;color:#64748b}
.kh-demand-v8604-nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.kh-demand-v8604-nav button{border:1px solid #e2e8f0;background:#fff;border-radius:13px;padding:10px 13px;font-weight:800;color:#334155;box-shadow:0 4px 14px rgba(15,23,42,.04)}.kh-demand-v8604-nav button span{margin-right:6px}.kh-demand-v8604-nav button.is-active{background:#0f172a;color:#fff;border-color:#0f172a;transform:translateY(-1px)}
.kh-demand-v8604-body{padding:24px;min-height:320px}.kh-v8604-panel{display:none!important}.kh-v8604-panel.is-active{display:block!important}.kh-v8604-editor,.kh-v8604-module{margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
.kh-summary-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:22px}.kh-summary-main{padding:30px;border-radius:22px;background:linear-gradient(145deg,#0f172a,#183c35);color:#fff;min-height:260px;display:flex;flex-direction:column;align-items:flex-start}.kh-card-kicker{font-size:.72rem;font-weight:900;letter-spacing:.15em;color:#a7f3d0}.kh-summary-main h3{font-size:clamp(1.6rem,3vw,2.55rem);font-weight:900;line-height:1.06;margin:10px 0 12px}.kh-summary-main p{color:#cbd5e1;font-size:1rem;max-width:850px;white-space:pre-line}.kh-edit-cta{margin-top:auto;border:0;background:#fff;color:#0f172a;border-radius:14px;padding:12px 17px;font-weight:900}
.kh-summary-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.kh-stat{display:flex;gap:13px;align-items:center;border:1px solid #e2e8f0;background:#fff;border-radius:18px;padding:18px;min-width:0}.kh-stat>span{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#ecfdf5;color:#047857;font-weight:900}.kh-stat div{min-width:0}.kh-stat small{display:block;color:#64748b;font-weight:700;margin-bottom:3px}.kh-stat strong{display:block;color:#0f172a;font-size:.98rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kh-v8604-editor .kh-editor-heading{padding:0 0 20px!important;margin-bottom:20px!important}.kh-v8604-editor form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:22px;padding:22px!important;margin:0!important}.kh-v8604-editor .form-control,.kh-v8604-editor .form-select{min-height:48px;border-radius:12px;border-color:#dbe3ec;background:#fff}.kh-v8604-editor textarea.form-control{min-height:110px}.kh-v8604-editor .kh-field-label,.kh-v8604-editor label{font-weight:800;color:#334155;margin-bottom:6px}.kh-v8604-editor .kh-premium-save,.kh-v8604-editor .kh-save-demand{padding:12px 20px;border-radius:13px!important}
.kh-v8604-module h4{font-size:1.25rem;font-weight:900;margin-bottom:16px}.kh-v8604-module form,.kh-v8604-module .kh-file-card,.kh-v8604-module .comment-item,.kh-v8604-module .timeline-item{border-radius:16px}.kh-v8604-management{max-width:1500px;margin:16px auto 0!important;border-radius:18px!important}
body.kh-theme-moderno .kh-demand-v8604-shell{border-radius:20px}body.kh-theme-moderno .kh-summary-main{background:linear-gradient(135deg,#2563eb,#0ea5e9)}body.kh-theme-executivo .kh-demand-v8604-shell{border-radius:12px}body.kh-theme-executivo .kh-demand-v8604-head{background:#111827;color:#fff}body.kh-theme-executivo .kh-demand-v8604-head p{color:#94a3b8}body.kh-theme-retro .kh-demand-v8604-shell{border-radius:2px;border:2px solid #334155;box-shadow:8px 8px 0 #cbd5e1}body.kh-theme-retro .kh-demand-v8604-nav button,.kh-theme-retro .kh-stat{border-radius:2px}body.kh-theme-noturno .kh-demand-v8604-shell,body.kh-theme-noturno .kh-demand-v8604-head,body.kh-theme-noturno .kh-stat,body.kh-theme-noturno .kh-v8604-editor form{background:#111827;color:#e5e7eb;border-color:#334155}body.kh-theme-noturno .kh-stat strong,body.kh-theme-noturno .kh-demand-v8604-head h2{color:#f8fafc}
@media(max-width:1050px){.kh-demand-v8604-head{align-items:flex-start;flex-direction:column}.kh-demand-v8604-nav{justify-content:flex-start}.kh-summary-grid{grid-template-columns:1fr}.kh-summary-main{min-height:220px}}
@media(max-width:700px){.page-task .task-hero{margin:0 10px 14px;padding:20px 18px;border-radius:20px}.kh-demand-v8604{margin:0 10px 20px}.kh-demand-v8604-shell{border-radius:20px}.kh-demand-v8604-head{padding:20px 16px 14px}.kh-demand-v8604-nav{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.kh-demand-v8604-nav button{padding:10px 8px;font-size:.86rem}.kh-demand-v8604-body{padding:14px}.kh-summary-main{padding:22px;min-height:240px}.kh-summary-stats{grid-template-columns:1fr}.kh-stat{padding:14px}.kh-v8604-editor form{padding:14px!important}.kh-v8604-editor form>[class*="col-"]{width:100%!important}.kh-v8604-management{margin:12px 10px 0!important}.kh-v8604-management>div>div{width:100%}.kh-v8604-management .d-flex{justify-content:flex-start!important}}

/* KarinaHub 8.6.06 — calendário premium e responsivo */
.page-calendar .content{background:linear-gradient(180deg,#f7faf9 0,#f8fafc 38%,#f8fafc 100%)}
.kh-cal-overview{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#073c2c,#0d6b4b 58%,#13a36f);color:#fff;border-radius:26px;padding:20px 22px;margin:0 0 18px;box-shadow:0 18px 42px rgba(6,78,59,.18)}
.kh-cal-overview-main{display:flex;flex-direction:column;min-width:210px}.kh-cal-kicker{font-size:11px;font-weight:950;letter-spacing:.1em;opacity:.72}.kh-cal-overview-main strong{font-size:25px;line-height:1.15}.kh-cal-overview-main small{opacity:.82;margin-top:3px}.kh-cal-legend{display:grid;grid-template-columns:repeat(4,minmax(112px,1fr));gap:9px;flex:1;max-width:650px}.kh-leg{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:7px;background:#ffffff17;border:1px solid #ffffff24;border-radius:14px;padding:9px 10px}.kh-leg i{width:9px;height:9px;border-radius:99px}.kh-leg b{font-size:12px}.kh-leg em{font-style:normal;font-weight:950;font-size:13px}.kh-leg-green i{background:#22c55e}.kh-leg-blue i{background:#2563eb}.kh-leg-yellow i{background:#facc15}.kh-leg-red i{background:#ef4444}
.calendar-title{font-size:32px!important;letter-spacing:-1.2px}.calendar-grid{border-radius:26px!important;box-shadow:0 16px 42px rgba(15,23,42,.08)!important}.cal-head div{text-align:center;padding:15px 10px!important;background:#101827!important}.cal-day{min-height:145px!important;padding:10px!important;transition:.15s}.cal-day:hover{background:#fbfefc!important;box-shadow:inset 0 0 0 2px #10b98122}.cal-day>b{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:10px;font-size:13px}.cal-day:not(.out)>b{background:#f1f5f9}.cal-event{padding:8px 9px!important;border-radius:10px!important;box-shadow:0 3px 8px rgba(15,23,42,.06);line-height:1.25}.kh-purchase-event{box-shadow:0 4px 10px rgba(15,23,42,.14)!important}.cal-more{display:block;margin-top:6px;font-size:11px;font-weight:900;color:#64748b}.week-day{min-height:430px!important;border-radius:24px!important}.week-day h5{font-weight:950;border-bottom:1px solid #eef2f7;padding-bottom:10px}.day-schedule{border-radius:26px!important;box-shadow:0 12px 32px rgba(15,23,42,.06)}
@media(max-width:900px){.kh-cal-overview{align-items:stretch;flex-direction:column;padding:16px;border-radius:20px}.kh-cal-legend{grid-template-columns:repeat(2,1fr);max-width:none}.calendar-title{font-size:25px!important}.page-calendar .d-flex.justify-content-between.mb-3,.page-calendar .d-flex.justify-content-between.flex-wrap{align-items:stretch!important}.page-calendar .d-flex.justify-content-between.mb-3>div:last-child,.page-calendar .d-flex.justify-content-between.flex-wrap>div:last-child{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}.page-calendar .btn{white-space:nowrap}.calendar-grid{overflow:visible!important}.calendar-grid .cal-head{display:none!important}.calendar-grid .cal-row{display:block!important;min-width:0!important}.calendar-grid .cal-day{display:block!important;min-height:auto!important;border:1px solid #e2e8f0!important;border-radius:18px!important;margin-bottom:10px!important;box-shadow:0 5px 14px rgba(15,23,42,.05)!important}.calendar-grid .cal-day.out{display:none!important}.calendar-grid .cal-day:not(:has(.cal-event)):not(:has(.cal-more)){display:none!important}.calendar-grid .cal-day>b{font-size:13px!important;width:auto!important;height:auto!important;background:transparent!important;margin-bottom:7px!important}.calendar-grid .cal-day>b:before{content:'Dia ';}.week-grid{grid-template-columns:1fr!important}.hour-row{grid-template-columns:58px 1fr!important}.kh-leg{padding:8px}.kh-leg b{font-size:11px}}
@media(max-width:480px){.kh-cal-legend{grid-template-columns:1fr 1fr}.kh-cal-overview-main strong{font-size:21px}.calendar-title{font-size:22px!important}.page-calendar .content{padding:10px!important}}

/* 8.6.07 - Criação: identidade visual por departamento */
.dc-card.dc-card-dept{background:linear-gradient(135deg,color-mix(in srgb,var(--dept-color) 18%,#fff),color-mix(in srgb,var(--dept-color) 7%,#fff))!important;border:1px solid color-mix(in srgb,var(--dept-color) 55%,#dbe3e0)!important;border-left:6px solid var(--dept-color)!important;box-shadow:0 8px 24px color-mix(in srgb,var(--dept-color) 12%,transparent)!important}
.dc-card.dc-card-dept .dc-icon{background:var(--dept-color)!important;color:#fff!important;box-shadow:0 5px 14px color-mix(in srgb,var(--dept-color) 25%,transparent)}
.dc-card.dc-card-dept .btn-success{background:var(--dept-color)!important;border-color:var(--dept-color)!important;color:#fff!important}
.dc-card.dc-card-dept h4,.dc-card.dc-card-dept p,.dc-card.dc-card-dept small{color:#17211e!important}
.dc-card.dc-card-purchase{background:#fff!important;border:2px solid #111827!important;border-left:7px solid #111827!important;box-shadow:0 12px 28px rgba(15,23,42,.14)!important;position:relative}
.dc-card.dc-card-purchase:before{content:'PEDIDO OFICIAL';position:absolute;right:14px;top:12px;background:#111827;color:#fff;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:950;letter-spacing:.06em}
.dc-card.dc-card-purchase .dc-icon{background:#111827!important;color:#fff!important}.dc-card.dc-card-purchase h4,.dc-card.dc-card-purchase p,.dc-card.dc-card-purchase small{color:#111827!important}
@media(max-width:700px){.dc-card.dc-card-purchase:before{position:static;display:inline-flex;margin:0 0 8px}.dc-card{overflow:hidden}.dc-card .dc-actions{display:flex;flex-wrap:wrap;gap:7px}.dc-card .dc-actions .btn{white-space:normal}}

/* KarinaHub 8.6.08 — calendário sem corte + correção responsiva */
@media(min-width:901px){
 .page-calendar .calendar-grid{width:100%!important;max-width:100%!important;overflow:hidden!important}
 .page-calendar .cal-head,.page-calendar .cal-row{grid-template-columns:repeat(7,minmax(0,1fr))!important;width:100%!important;min-width:0!important}
 .page-calendar .cal-head>div,.page-calendar .cal-day{min-width:0!important;max-width:100%!important;overflow:hidden!important}
 .page-calendar .cal-event{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
@media(max-width:900px){
 .page-calendar .calendar-grid{width:100%!important;max-width:100%!important;overflow:visible!important}
 .page-calendar .cal-event{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
}

/* KH_UPDATES_869 */
.kh-updates-hero{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:30px;border-radius:28px;background:linear-gradient(135deg,#073b2d,#0b7653 62%,#13a873);color:#fff;margin-bottom:18px;box-shadow:0 18px 45px rgba(7,59,45,.13)}.kh-updates-hero .eyebrow{color:#8df2c9}.kh-updates-hero h2{font-weight:900;font-size:clamp(26px,3vw,42px);margin:5px 0}.kh-updates-hero p{max-width:760px;margin:0;color:rgba(255,255,255,.82)}.kh-update-version{min-width:160px;text-align:center;padding:18px 24px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);border-radius:22px}.kh-update-version small,.kh-update-version span{display:block;font-size:11px;opacity:.75}.kh-update-version b{display:block;font-size:30px}.kh-updates-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px}.kh-updates-summary>div{background:#fff;border:1px solid #e4ece8;border-radius:18px;padding:16px 20px;box-shadow:0 8px 25px rgba(13,55,43,.05)}.kh-updates-summary b{display:block;font-size:23px}.kh-updates-summary span{font-size:12px;color:#6b7280}.kh-updates-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:22px;align-items:start}.kh-release-card{display:grid;grid-template-columns:28px 1fr;position:relative}.kh-release-rail{position:relative}.kh-release-rail:after{content:"";position:absolute;left:9px;top:24px;bottom:-10px;width:2px;background:#dfeae5}.kh-release-card:last-child .kh-release-rail:after{display:none}.kh-release-rail span{position:absolute;left:3px;top:20px;width:14px;height:14px;border-radius:50%;background:#aabbb4;border:3px solid #fff;box-shadow:0 0 0 2px #dfeae5}.kh-release-card.is-latest .kh-release-rail span{background:#0aa56f;box-shadow:0 0 0 4px #d7f6e9}.kh-release-body{background:#fff;border:1px solid #e2ebe7;border-radius:20px;padding:20px 22px;margin-bottom:14px;box-shadow:0 8px 25px rgba(12,56,42,.05)}.kh-release-card.is-latest .kh-release-body{border-color:#a8e8cf;background:linear-gradient(135deg,#fff,#f3fff9)}.kh-release-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.kh-version-pill{font-weight:900;color:#075e43;background:#e8f8f1;padding:6px 10px;border-radius:999px}.kh-new-pill{font-size:10px;font-weight:900;background:#0aa56f;color:#fff;padding:5px 8px;border-radius:999px;margin-left:5px}.kh-release-head time{font-size:12px;color:#7a8782}.kh-release-body h4{font-weight:850;margin:13px 0 8px}.kh-release-body ul{margin:0;padding-left:19px;color:#43524c}.kh-release-body li{margin:6px 0}.kh-installed-card{position:sticky;top:18px}.kh-install-list>div{display:flex;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid #edf1ef}.kh-install-list>div:last-child{border-bottom:0}.kh-install-list section{flex:1;min-width:0}.kh-install-list b,.kh-install-list small{display:block}.kh-install-list small{color:#7b8782;font-size:11px}.kh-install-dot{width:9px;height:9px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px #e0f7ed}.kh-empty-update{padding:18px;border-radius:15px;background:#f5f8f7;color:#6b7280;font-size:13px}@media(max-width:900px){.kh-updates-layout{grid-template-columns:1fr}.kh-installed-card{position:static}.kh-updates-hero{align-items:flex-start}.kh-updates-summary{grid-template-columns:1fr 1fr 1fr}}@media(max-width:640px){.kh-updates-hero{padding:22px;display:block;border-radius:22px}.kh-update-version{margin-top:18px;min-width:0;text-align:left}.kh-updates-summary{grid-template-columns:1fr}.kh-release-body{padding:17px}.kh-release-head{align-items:flex-start;flex-direction:column}.kh-updates-layout{gap:14px}}

/* KarinaHub 8.6.13 — Notificações 2.1 + contenção de temas */
.kh-settings select{width:100%;max-width:100%;min-width:0;margin-bottom:12px}
.toast-hub{position:fixed;right:22px;top:92px;z-index:9999;display:flex;flex-direction:column;gap:10px;max-width:min(390px,calc(100vw - 24px));pointer-events:none}
.notif-pop{position:relative;pointer-events:auto;background:#fff;border:1px solid #dbe7e2;border-left:5px solid #10b981;border-radius:18px;padding:16px 42px 16px 17px;box-shadow:0 22px 55px rgba(15,23,42,.20);animation:khPopIn .25s ease;overflow:hidden}.notif-pop b{font-size:14px}.notif-pop span{color:#64748b;font-size:13px}.kh-pop-close{position:absolute;right:10px;top:8px;border:0;background:#eef2f7;width:25px;height:25px;border-radius:50%;font-weight:900;line-height:1}
.notif-pop.kh-popup-compact{padding:10px 38px 10px 13px;border-radius:12px;max-width:300px}.notif-pop.kh-popup-compact span{font-size:12px}.notif-pop.kh-popup-banner{position:fixed;top:14px;left:50%;right:auto;transform:translateX(-50%);width:min(680px,calc(100vw - 24px));border-left:1px solid #dbe7e2;border-top:5px solid #10b981}.notif-pop.kh-popup-discreet{background:#0f172a;color:#fff;border:0;border-radius:999px;padding:10px 42px 10px 16px;box-shadow:0 12px 32px rgba(15,23,42,.25)}.notif-pop.kh-popup-discreet span{color:#cbd5e1}.notif-pop.kh-popup-discreet .kh-pop-close{background:#ffffff20;color:#fff}
@keyframes khPopIn{from{opacity:0;transform:translateX(18px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:900px){.toast-hub{top:72px;right:12px}.notif-pop.kh-popup-banner{top:8px}.kh-settings{min-width:0!important}.kh-settings select{font-size:14px}}

/* KH 8.6.14 — correção de vazamento sem sobrescrever geometria dos temas */
html,body{max-width:100%;overflow-x:hidden}.content,.main-content,.app-main{min-width:0}.toast-hub{max-width:min(390px,calc(100vw - 24px))}

/* KH 8.6.15 — modelos visuais distintos */
.kh-mail-model-tv .kh-mail-stage{background:#171717;border-color:#050505;border-radius:28px}.kh-mail-model-tv .kh-mail-brand{color:#86efac}.kh-mail-model-tv .kh-mail-envelope{background:#050505;border:10px solid #292929;border-radius:24px;min-height:260px;box-shadow:inset 0 0 45px #22c55e22}.kh-mail-model-tv .kh-mail-envelope:after,.kh-mail-model-tv .kh-mail-flap{display:none}.kh-mail-model-tv .kh-mail-letter{inset:18px;top:18px;background:linear-gradient(135deg,#dcfce7,#f0fdf4);border-radius:14px}.kh-mail-model-tv.show:not(.reading) .kh-mail-letter{filter:brightness(.15);transform:scaleY(.04)}.kh-mail-model-tv.reading .kh-mail-letter{transform:none;filter:none;min-height:190px}.kh-mail-model-box .kh-mail-stage{background:#fff7ed;border-color:#c2410c}.kh-mail-model-box .kh-mail-envelope{background:#fb923c;border:0;border-radius:22px;min-height:240px}.kh-mail-model-box .kh-mail-envelope:after{background:#f97316;clip-path:polygon(0 45%,100% 45%,100% 100%,0 100%)}.kh-mail-model-box .kh-mail-flap{background:#fdba74;clip-path:none;height:52%;border-bottom:12px solid #fff7ed}.kh-mail-model-box .kh-mail-flap:after{content:'🎀';font-size:62px;position:absolute;left:50%;top:30%;transform:translate(-50%,-50%)}.kh-mail-model-box.reading .kh-mail-flap{transform:translateY(-120%) rotate(-5deg)}.kh-mail-model-card .kh-mail-stage{background:#f8fafc;border-color:#0f172a}.kh-mail-model-card .kh-mail-envelope{background:transparent;border:0;box-shadow:none}.kh-mail-model-card .kh-mail-envelope:after,.kh-mail-model-card .kh-mail-flap{display:none}.kh-mail-model-card .kh-mail-letter{position:relative;inset:auto;top:auto;min-height:220px;border-radius:22px;border:2px solid #cbd5e1;transform:rotateY(90deg)}.kh-mail-model-card.reading .kh-mail-letter{transform:rotateY(0);min-height:220px}.kh-mail-model-panel .kh-mail-stage{background:#071b16;border-color:#10b981}.kh-mail-model-panel .kh-mail-brand{color:#6ee7b7}.kh-mail-model-panel .kh-mail-envelope{background:#0f2d25;border:1px solid #34d399;border-radius:16px}.kh-mail-model-panel .kh-mail-envelope:after,.kh-mail-model-panel .kh-mail-flap{display:none}.kh-mail-model-panel .kh-mail-letter{background:#071b16;border:1px solid #34d399}.kh-mail-model-panel .kh-mail-letter h3,.kh-mail-model-panel .kh-mail-letter p,.kh-mail-model-panel .kh-mail-letter small{color:#ecfdf5}.kh-mail-model-panel.show:not(.reading) .kh-mail-letter{opacity:.18;transform:scale(.94)}.kh-mail-model-panel.reading .kh-mail-letter{opacity:1;transform:none;min-height:200px}


/* KH 8.6.16 — Notification Studio: modelos realmente diferentes e sem envelope lateral legado */
.toast-hub .kh-envelope-notif{display:none!important}
.kh-mail-center{z-index:2147483000!important}
.kh-mail-stage{width:min(94vw,600px)!important;overflow:visible}
.kh-mail-model-envelope .kh-mail-stage{background:linear-gradient(145deg,#f8edd2,#d9b779)!important;border:3px solid #7c542e!important}
.kh-mail-model-envelope .kh-mail-envelope{border-radius:12px!important;box-shadow:0 24px 55px rgba(71,46,23,.35)!important}
.kh-mail-model-tv .kh-mail-stage{background:linear-gradient(145deg,#171717,#292929)!important;border:7px solid #090909!important;border-radius:34px!important;padding:28px 34px 42px!important}
.kh-mail-model-tv .kh-mail-stage:after{content:'';position:absolute;left:50%;bottom:-34px;width:130px;height:34px;transform:translateX(-50%);background:#171717;clip-path:polygon(35% 0,65% 0,78% 75%,100% 75%,100% 100%,0 100%,0 75%,22% 75%)}
.kh-mail-model-tv .kh-mail-envelope{background:#020806!important;border:5px solid #3f3f46!important;border-radius:18px!important;min-height:270px!important;box-shadow:inset 0 0 70px rgba(34,197,94,.12)!important}
.kh-mail-model-tv.show:not(.reading) .kh-mail-envelope:before{content:'KARINA TV';position:absolute;inset:0;display:grid;place-items:center;color:#86efac;font:900 34px system-ui;letter-spacing:.08em;text-shadow:0 0 24px #22c55e;z-index:7}
.kh-mail-model-tv.reading .kh-mail-letter{background:#ecfdf5!important;border:2px solid #4ade80!important;box-shadow:0 0 30px rgba(34,197,94,.25)!important}
.kh-mail-model-box .kh-mail-stage{background:#fffaf2!important;border:0!important;box-shadow:0 30px 90px rgba(124,45,18,.28)!important}
.kh-mail-model-box .kh-mail-envelope{width:360px!important;height:270px!important;min-height:270px!important;background:linear-gradient(135deg,#f97316,#ea580c)!important;border-radius:26px!important;box-shadow:0 24px 45px rgba(194,65,12,.35)!important}
.kh-mail-model-box .kh-mail-envelope:before{content:'';position:absolute;left:46%;top:0;bottom:0;width:30px;background:#fde68a;z-index:4}.kh-mail-model-box .kh-mail-envelope:after{content:'';position:absolute;left:0;right:0;top:43%;height:30px;background:#fde68a!important;clip-path:none!important;z-index:4}
.kh-mail-model-box .kh-mail-flap{inset:0!important;height:48%!important;background:#fb923c!important;border-radius:26px 26px 8px 8px!important;clip-path:none!important;transform-origin:top!important;z-index:6!important}.kh-mail-model-box .kh-mail-flap:after{content:'🎀';font-size:74px!important;top:72%!important;z-index:8}.kh-mail-model-box.reading .kh-mail-flap{transform:translateY(-105%) rotateX(18deg)!important}.kh-mail-model-box.reading .kh-mail-letter{transform:translateY(-85px) scale(1.03)!important;z-index:10!important}
.kh-mail-model-card .kh-mail-stage{background:transparent!important;border:0!important;box-shadow:none!important;perspective:1200px}.kh-mail-model-card .kh-mail-envelope{width:440px!important;min-height:255px!important;background:linear-gradient(135deg,#064e3b,#059669)!important;border:0!important;border-radius:28px!important;box-shadow:0 30px 70px rgba(6,78,59,.38)!important;overflow:hidden!important}.kh-mail-model-card .kh-mail-envelope:before{content:'KARINAHUB';position:absolute;top:25px;left:28px;color:#a7f3d0;font:900 13px system-ui;letter-spacing:.18em}.kh-mail-model-card .kh-mail-envelope:after{content:'🔔';display:grid;place-items:center;position:absolute;right:30px;top:26px;width:54px;height:54px;background:#ffffff1f!important;clip-path:none!important;border-radius:16px;font-size:27px}.kh-mail-model-card .kh-mail-letter{position:absolute!important;left:28px!important;right:28px!important;top:95px!important;min-height:125px!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;text-align:left!important;padding:0!important}.kh-mail-model-card .kh-mail-letter *{color:white!important}.kh-mail-model-card.show:not(.reading) .kh-mail-letter p,.kh-mail-model-card.show:not(.reading) .kh-mail-letter small{opacity:.35}.kh-mail-model-card.reading .kh-mail-letter{transform:none!important;min-height:125px!important}
.kh-mail-model-panel .kh-mail-stage{background:#061813!important;border:1px solid #10b981!important;border-radius:18px!important;box-shadow:0 0 0 1px #10b98133,0 30px 100px #000b!important}.kh-mail-model-panel .kh-mail-stage:before{content:'●  SISTEMA ONLINE';display:block;text-align:left;color:#34d399;font:800 11px monospace;letter-spacing:.12em;margin-bottom:10px}.kh-mail-model-panel .kh-mail-envelope{border-radius:10px!important;background:repeating-linear-gradient(0deg,#071f18,#071f18 2px,#08251d 3px)!important}.kh-mail-model-panel .kh-mail-letter{font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important}
@media(max-width:600px){.kh-mail-model-box .kh-mail-envelope,.kh-mail-model-card .kh-mail-envelope{width:min(100%,360px)!important}.kh-mail-model-tv .kh-mail-stage{padding:22px 16px 34px!important}}

/* KH 8.6.24 — seletor administrativo global */
.kh-admin-context-wrap{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:520px}
.kh-admin-context-form{display:flex;align-items:center;gap:8px;background:var(--bs-body-bg,#fff);border:1px solid rgba(15,23,42,.12);border-radius:16px;padding:6px 8px;box-shadow:0 4px 16px rgba(15,23,42,.05)}
.kh-admin-context-form small{font-size:11px;font-weight:800;color:#64748b;white-space:nowrap;margin-left:4px}
.kh-admin-context-form .form-select{min-width:190px;border:0;background-color:transparent;font-weight:700;box-shadow:none}
.kh-admin-context-badge{display:inline-flex;align-items:center;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.kh-admin-context-badge.is-user{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
@media(max-width:767px){.kh-admin-context-wrap{width:100%;max-width:none}.kh-admin-context-form{width:100%;flex-direction:column;align-items:stretch;gap:1px}.kh-admin-context-form small{margin:0 7px}.kh-admin-context-form .form-select{width:100%;min-width:0}.kh-admin-context-badge{max-width:100%}}
/* KH_MARKETING_ROUTINE_V1 */
.mr-shell{display:grid;gap:18px}.mr-hero{background:linear-gradient(125deg,#092d24,#0f6b4d);color:#fff;border-radius:24px;padding:26px 30px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 18px 50px rgba(8,55,42,.15)}.mr-hero h2{font-size:34px;font-weight:900;margin:3px 0}.mr-hero p{margin:0;opacity:.8}.mr-kicker{font-size:11px;font-weight:900;letter-spacing:.14em;color:#8df0c3}.mr-now{border:1px solid #dfe7e4;background:#fff;border-radius:20px;padding:18px 22px;display:flex;align-items:center;gap:15px}.mr-now.is-live{border-color:#7ee2b4;box-shadow:0 8px 30px rgba(16,185,129,.1)}.mr-live-dot{width:13px;height:13px;border-radius:50%;background:#aab5b1}.mr-now.is-live .mr-live-dot{background:#10b981;box-shadow:0 0 0 7px rgba(16,185,129,.13);animation:mrpulse 1.6s infinite}.mr-now small{font-size:10px;font-weight:900;letter-spacing:.12em;color:#718078}.mr-now h4{font-weight:900;margin:3px 0}.mr-now p{margin:0;color:#718078}.mr-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.mr-progress{display:flex;align-items:center;gap:8px;color:#68736f;font-size:13px}.mr-progress span{width:110px;height:7px;background:#e5ebe8;border-radius:10px;overflow:hidden}.mr-progress i{height:100%;display:block;background:#10b981}.mr-days{display:grid;gap:14px}.mr-day{background:#fff;border:1px solid #e4e9e7;border-radius:20px;padding:18px 20px}.mr-day.is-today{border-color:#91d9bc;box-shadow:0 8px 25px rgba(16,185,129,.08)}.mr-day>header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0ef;padding-bottom:12px;margin-bottom:12px}.mr-day header small{font-size:10px;font-weight:900;letter-spacing:.12em;color:#149565}.mr-day h3{font-size:20px;font-weight:900;margin:2px 0 0}.mr-day h3 span{font-weight:500;color:#98a19e;font-size:14px}.mr-add{border:0;background:#eef8f4;color:#087451;width:34px;height:34px;border-radius:50%;font-size:20px}.mr-stream{display:grid;gap:9px}.mr-item{display:flex;gap:12px;justify-content:space-between;border-radius:14px;padding:13px 14px;background:#f8faf9;border-left:4px solid #cbd5d1}.mr-item.st-fazendo{background:#effbf6;border-left-color:#10b981}.mr-item.st-concluido{opacity:.72;border-left-color:#5d9f87}.mr-item h5{font-weight:800;margin:3px 0;font-size:15px}.mr-item p{margin:3px 0;color:#68736f;font-size:13px}.mr-meta{display:flex;gap:8px;font-size:10px;text-transform:uppercase;font-weight:800;color:#81908a}.mr-actions{display:flex;align-items:center;gap:5px}.mr-actions form{margin:0}.mr-actions button{border:1px solid #dce4e1;background:#fff;border-radius:9px;width:32px;height:32px}.mr-linked{font-size:11px;font-weight:800;text-decoration:none;color:#087451}.mr-empty{text-align:center;color:#9aa5a1;padding:12px;font-size:13px}.mr-empty button{border:0;background:none;color:#0b8d63;font-weight:800}.modal label{font-size:12px;font-weight:800;margin-bottom:5px}@keyframes mrpulse{50%{box-shadow:0 0 0 11px rgba(16,185,129,0)}}@media(max-width:800px){.mr-hero{align-items:flex-start;flex-direction:column;gap:18px}.mr-toolbar{align-items:flex-start;flex-direction:column}.mr-now{align-items:flex-start;flex-wrap:wrap}.mr-item{align-items:flex-start}.mr-actions{flex-direction:column}}
/* KH_MARKETING_ROUTINE_V2 */
.mr2-shell{display:grid;gap:18px}.mr2-head{background:#fff;border:1px solid #e5ebe8;border-radius:24px;padding:24px 28px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 10px 35px rgba(15,45,35,.06)}.mr2-head span{font-size:11px;letter-spacing:.13em;font-weight:900;color:#159565}.mr2-head h2{font-size:30px;font-weight:900;margin:4px 0}.mr2-head p{margin:0;color:#718078}.mr2-tabs{display:flex;gap:7px;overflow:auto;padding:5px 0 2px}.mr2-tabs a{white-space:nowrap;text-decoration:none;color:#586660;background:#fff;border:1px solid #dfe7e3;border-radius:12px;padding:10px 14px;font-size:12px;font-weight:800}.mr2-tabs a.active{background:#0d513e;color:#fff;border-color:#0d513e}.mr2-now{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #dfe7e3;border-radius:18px;padding:17px 20px}.mr2-now.live{background:#effbf6;border-color:#92dfbd}.mr2-now-icon{color:#aab5b1;font-size:22px}.mr2-now.live .mr2-now-icon{color:#10b981}.mr2-now small{font-size:10px;font-weight:900;color:#718078;letter-spacing:.1em}.mr2-now h4{margin:2px 0;font-weight:900}.mr2-now p{margin:0;color:#6f7e78;font-size:13px}.mr2-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mr2-summary>div{background:#fff;border:1px solid #e4e9e7;border-radius:17px;padding:15px 18px}.mr2-summary b{font-size:25px;display:block}.mr2-summary span{font-size:12px;color:#7b8782}.mr2-weekbar{display:flex;justify-content:space-between;align-items:center}.mr2-weekbar>div{display:flex;align-items:center;gap:14px}.mr2-weekbar a{text-decoration:none}.mr2-weekbar>div a{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid #dce4e0;color:#24443a;background:#fff}.mr2-planner{display:grid;grid-template-columns:75px repeat(5,minmax(150px,1fr));background:#fff;border:1px solid #e1e8e5;border-radius:20px;overflow:auto;min-height:440px}.mr2-timecol,.mr2-daycol{border-right:1px solid #edf1ef;min-width:0}.mr2-colhead{height:66px;padding:12px;display:flex;flex-direction:column;justify-content:center;border-bottom:1px solid #e9eeeb;background:#f8faf9}.mr2-colhead.today{background:#eaf8f1;color:#087451}.mr2-colhead b{font-size:14px}.mr2-colhead span{font-size:11px;color:#84918b}.mr2-time{height:60px;padding:12px 8px;text-align:center;color:#98a29e;font-size:11px;border-bottom:1px solid #f0f3f2}.mr2-dayitems{padding:9px;display:grid;align-content:start;gap:8px}.mr2-task{padding:10px;border-radius:12px;background:#f4f7f6;border:1px solid #e5ebe8}.mr2-task.doing{background:#eafaf2;border-color:#8adbb5}.mr2-task.done{opacity:.6}.mr2-tasktop{display:flex;justify-content:space-between;font-size:9px;text-transform:uppercase;color:#718078;font-weight:900}.mr2-task>b{display:block;font-size:12px;line-height:1.25;margin-top:4px}.mr2-mini-actions{display:flex;gap:4px;margin-top:7px}.mr2-mini-actions form{margin:0}.mr2-mini-actions button,.mr2-addday{border:0;background:transparent;color:#087451;font-size:10px;font-weight:800;padding:2px}.mr2-addday{border:1px dashed #cdd9d4;border-radius:10px;padding:8px;width:100%}.mr2-bottom,.mr2-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mr2-card{background:#fff;border:1px solid #e2e8e5;border-radius:20px;padding:20px;box-shadow:0 8px 28px rgba(15,45,35,.04)}.mr2-cardhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.mr2-card h4,.mr2-cardhead h4{font-weight:900;margin:0}.mr2-cardhead a{font-size:12px;color:#087451;text-decoration:none;font-weight:800}.mr2-goal{display:grid;grid-template-columns:1fr auto;gap:4px 10px;margin:12px 0}.mr2-goal small{display:block;color:#87938e}.mr2-goal>span{font-weight:900}.mr2-goal i{grid-column:1/3;height:6px;background:#edf1ef;border-radius:8px;overflow:hidden}.mr2-goal em{display:block;height:100%;background:#18a36f}.mr2-demand{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #eef1ef;text-decoration:none;color:#263d35}.mr2-demand span{font-size:10px;font-weight:900;color:#087451}.mr2-demand b{font-size:12px}.mr2-demand small{color:#8a9691}.mr2-hint{font-size:11px;color:#7e8a85;margin:12px 0 0}.mr2-month-list>a{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid #edf1ef;text-decoration:none;color:#263d35}.mr2-month-list time{width:44px;font-size:20px;font-weight:900}.mr2-month-list time small,.mr2-month-list div span{display:block;font-size:10px;color:#89948f}.mr2-month-list div b{font-size:13px}.mr2-agenda>div{display:grid;grid-template-columns:70px 1fr auto;gap:12px;padding:11px 0;border-bottom:1px solid #edf1ef}.mr2-agenda span{font-size:11px;color:#087451}.mr2-goal-edit{display:grid;grid-template-columns:1fr 140px 45px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1ef}.mr2-goal-edit small{display:block;color:#87938e}.mr2-wall{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mr2-wall article{min-height:150px;border-radius:16px;padding:17px;background:#f5f8f7;border-top:5px solid #80d5ad}.mr2-wall article:nth-child(3n+2){border-top-color:#9eb7ed}.mr2-wall article:nth-child(3n){border-top-color:#e8b678}.mr2-wall span{font-size:9px;text-transform:uppercase;font-weight:900;color:#6f7d77}.mr2-wall h4{font-size:15px;margin:7px 0}.mr2-wall p{font-size:12px;color:#6f7d77}.mr2-habits{overflow:auto}.mr2-hrow{display:grid;grid-template-columns:minmax(220px,1fr) repeat(5,70px);align-items:center;border-bottom:1px solid #edf1ef;min-height:52px}.mr2-hrow.head{font-size:11px;color:#77847e}.mr2-hrow span{text-align:center}.mr2-hrow form{text-align:center}.mr2-hrow button{border:0;background:#edf2f0;width:30px;height:30px;border-radius:50%;color:#81908a}.mr2-hrow button.checked{background:#1ca774;color:#fff}.mr2-empty{text-align:center;color:#87938e;padding:30px}@media(max-width:900px){.mr2-head{align-items:flex-start;flex-direction:column;gap:15px}.mr2-summary{grid-template-columns:1fr 1fr}.mr2-bottom,.mr2-two{grid-template-columns:1fr}.mr2-planner{grid-template-columns:60px repeat(5,180px)}.mr2-wall{grid-template-columns:1fr 1fr}.mr2-goal-edit{grid-template-columns:1fr}.mr2-hrow{grid-template-columns:180px repeat(5,55px)}}
