/* Rabbit Workspace OS — Flat Reference V2
   Visual-only layer matching the approved premium dashboard concept.
   Scoped to the active Home where possible. */

:root{
  --rh-navy:#071a2f;
  --rh-navy-2:#0b2742;
  --rh-blue:#2563eb;
  --rh-blue-2:#1685ff;
  --rh-cyan:#35c5dc;
  --rh-mint:#22c58b;
  --rh-amber:#f59e0b;
  --rh-red:#ef476f;
  --rh-violet:#7c5ce7;
  --rh-ink:#0d1f38;
  --rh-muted:#65758b;
  --rh-line:#dbe5ef;
  --rh-bg:#f2f7f8;
  --rh-card:#ffffff;
  --rh-radius:18px;
  --rh-shadow:0 12px 34px rgba(27,55,82,.08);
  --rh-shadow-soft:0 4px 16px rgba(27,55,82,.055);
}


/* ---------- CANONICAL FLAT RESET ---------- */
html body.rabbit-flat-reference-v2{
  --uiScale:1!important;
  background:#f2f7f8!important;
  color:#0d1f38!important;
}
body.rabbit-flat-reference-v2 .scale-root{transform:none!important;width:100%!important;min-height:100vh!important;}
body.rabbit-flat-reference-v2 .scale-root>.app{min-height:100vh!important;grid-template-columns:224px minmax(0,1fr) 312px!important;gap:0!important;background:transparent!important;}
body.rabbit-flat-reference-v2 .card,
body.rabbit-flat-reference-v2 button,
body.rabbit-flat-reference-v2 input,
body.rabbit-flat-reference-v2 textarea,
body.rabbit-flat-reference-v2 select{box-shadow:none;}
body.rabbit-flat-reference-v2 .card{background:#fff;border:1px solid #dbe5ef;border-radius:16px;}
body.rabbit-flat-reference-v2 .rabbit-ref-shortcuts{display:none!important;}

/* Elimina esplicitamente i residui neumorphic dalle superfici principali. */
body.rabbit-flat-reference-v2 .sidebar,
body.rabbit-flat-reference-v2 .rightbar,
body.rabbit-flat-reference-v2 .topbar,
body.rabbit-flat-reference-v2 #home .command-panel,
body.rabbit-flat-reference-v2 #home .rabbit-attention-center-v62,
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-card,
body.rabbit-flat-reference-v2 #phoenixSmartMailV2{
  text-shadow:none!important;
  filter:none!important;
}
/* ---------- HOME SHELL ---------- */
body.rabbit-flat-reference-v2{
  background:
    radial-gradient(circle at 72% 8%,rgba(83,210,190,.09),transparent 28%),
    linear-gradient(rgba(31,78,109,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(31,78,109,.025) 1px,transparent 1px),
    var(--rh-bg)!important;
  background-size:auto,28px 28px,28px 28px,auto!important;
}

@media(min-width:1181px){
  body.rabbit-flat-reference-v2{--uiScale:1!important;overflow-x:hidden!important;}
  body.rabbit-flat-reference-v2 .scale-root{
    transform:none!important;width:100%!important;min-height:100vh!important;
  }
  body.rabbit-flat-reference-v2 .scale-root>.app{
    min-height:100vh!important;
    grid-template-columns:220px minmax(0,1fr) 300px!important;
    gap:0!important;
    background:transparent!important;
  }
  body.rabbit-flat-reference-v2 .main{
    padding:0 18px 26px!important;
    min-width:0!important;
    background:transparent!important;
  }
}

/* ---------- SIDEBAR ---------- */
body.rabbit-flat-reference-v2 .sidebar.rabbit-pro-sidebar{
  background:
    radial-gradient(circle at 22% 92%,rgba(34,197,139,.12),transparent 34%),
    linear-gradient(180deg,#07192d 0%,#0a243d 48%,#0b2b47 100%)!important;
  border:0!important;
  border-right:1px solid rgba(255,255,255,.07)!important;
  padding:22px 12px!important;
  color:#fff!important;
  box-shadow:none!important;
  border-radius:0!important;
}
body.rabbit-flat-reference-v2 .sidebar .brand.rabbit-pro-brand{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0 10px 20px!important;
  margin:0 0 14px!important;
  min-height:70px!important;
  display:grid!important;
  grid-template-columns:44px 1fr!important;
  align-items:center!important;
  gap:10px!important;
  position:relative!important;
}
body.rabbit-flat-reference-v2 .sidebar .brand .logo{
  width:44px!important;height:44px!important;border-radius:13px!important;
  background:rgba(255,255,255,.96)!important;border:1px solid rgba(255,255,255,.18)!important;
  padding:6px!important;box-shadow:0 8px 22px rgba(0,0,0,.18)!important;
}
body.rabbit-flat-reference-v2 .sidebar .brand .logo img{width:100%!important;height:100%!important;object-fit:contain!important;}
body.rabbit-flat-reference-v2 .sidebar .brand strong{
  color:#fff!important;font-size:18px!important;font-weight:850!important;letter-spacing:-.03em!important;
  align-self:start!important;margin-top:4px!important;
}
body.rabbit-flat-reference-v2 .sidebar .brand strong::after{
  content:"Workspace OS";display:block;color:#5ed5ef;font-size:11px;font-weight:750;letter-spacing:0;margin-top:3px;
}
body.rabbit-flat-reference-v2 .sidebar .brand::after{
  content:"Command Center";position:absolute;left:64px;bottom:6px;color:#8ca3b8;font-size:9px;font-weight:700;letter-spacing:.02em;
}
body.rabbit-flat-reference-v2 .sidebar .nav{
  gap:7px!important;padding:6px 0!important;background:transparent!important;border:0!important;
}
body.rabbit-flat-reference-v2 .sidebar .nav button,
body.rabbit-flat-reference-v2 .sidebar #signupRequestsMenuItem,
body.rabbit-flat-reference-v2 .rabbit-sidebar-logout{
  min-height:44px!important;border-radius:10px!important;
  border:1px solid transparent!important;
  background:transparent!important;color:#e7eef6!important;
  box-shadow:none!important;padding:0 12px!important;
  font-size:12px!important;font-weight:700!important;
}
body.rabbit-flat-reference-v2 .sidebar .nav button:hover,
body.rabbit-flat-reference-v2 .sidebar #signupRequestsMenuItem:hover{
  background:rgba(255,255,255,.07)!important;color:#fff!important;
}
body.rabbit-flat-reference-v2 .sidebar .nav button.active{
  background:linear-gradient(90deg,rgba(46,112,219,.38),rgba(32,102,194,.22))!important;
  border-color:rgba(83,153,255,.20)!important;color:#fff!important;
  box-shadow:inset 3px 0 0 #4ea5ff!important;
}
body.rabbit-flat-reference-v2 .sidebar .rabbit-side-ico,
body.rabbit-flat-reference-v2 .sidebar .rabbit-nav-icon,
body.rabbit-flat-reference-v2 .sidebar .nav img{
  opacity:.95!important;filter:brightness(0) invert(1)!important;
}
body.rabbit-flat-reference-v2 .rabbit-sidebar-logout{margin-top:auto!important;color:#fff!important;}

/* ---------- TOP BAR ---------- */
body.rabbit-flat-reference-v2 .topbar.rabbit-pro-topbar{
  position:sticky!important;top:0!important;z-index:90!important;
  min-height:66px!important;margin:0 -18px 0!important;padding:12px 18px!important;
  border:0!important;border-bottom:1px solid rgba(121,148,175,.16)!important;
  border-radius:0!important;background:rgba(255,255,255,.86)!important;
  box-shadow:0 3px 18px rgba(35,58,84,.035)!important;
  backdrop-filter:blur(18px)!important;
}
body.rabbit-flat-reference-v2 .topbar .search{
  width:min(680px,62%)!important;max-width:680px!important;min-width:260px!important;
  height:42px!important;border-radius:12px!important;border:1px solid #d8e2ec!important;
  background:#f8fbfd!important;box-shadow:none!important;padding:0 12px!important;
}
body.rabbit-flat-reference-v2 .topbar .search input{
  font-size:12px!important;color:var(--rh-ink)!important;background:transparent!important;
}
body.rabbit-flat-reference-v2 .topbar .search button{
  border:0!important;background:transparent!important;box-shadow:none!important;color:#7e8ca0!important;
}
body.rabbit-flat-reference-v2 .rabbit-topbar-user{gap:8px!important;}
body.rabbit-flat-reference-v2 .rabbit-bell,
body.rabbit-flat-reference-v2 .rabbit-admin-chip{
  background:#fff!important;border:1px solid #e2e9f0!important;border-radius:12px!important;
  box-shadow:var(--rh-shadow-soft)!important;color:var(--rh-ink)!important;
}
body.rabbit-flat-reference-v2 .rabbit-admin-chip{padding:6px 10px!important;}
body.rabbit-flat-reference-v2 .rabbit-avatar-dot{
  background:linear-gradient(135deg,#3b82f6,#1677ff)!important;color:#fff!important;
}

/* ---------- HOME GENERAL ---------- */
body.rabbit-flat-reference-v2 #home{
  display:flex!important;flex-direction:column!important;gap:12px!important;
  padding-top:10px!important;max-width:none!important;
}
body.rabbit-flat-reference-v2 #home>br{display:none!important;}
body.rabbit-flat-reference-v2 #phoenixCompleteHome{display:none!important;}

.rabbit-ref-welcome{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:5px 2px 4px;margin:0!important;
}
.rabbit-ref-welcome h1{
  margin:0;color:var(--rh-ink);font-size:25px;line-height:1.15;font-weight:900;letter-spacing:-.035em;
}
.rabbit-ref-welcome h1 span{font-size:20px;}
.rabbit-ref-welcome p{margin:3px 0 0;color:var(--rh-muted);font-size:11px;font-weight:550;}
.rabbit-ref-date{
  display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:12px;
  border:1px solid #e0e8f0;background:rgba(255,255,255,.72);color:#536579;font-size:10px;
}
.rabbit-ref-date span{color:#255fd8}.rabbit-ref-date b{text-transform:capitalize;}

/* ---------- HERO + ATTENTION ---------- */
body.rabbit-flat-reference-v2 #home .command-center{
  display:grid!important;grid-template-columns:minmax(0,1.48fr) minmax(390px,.92fr)!important;
  gap:14px!important;align-items:stretch!important;margin:0!important;
}
body.rabbit-flat-reference-v2 #home .command-panel,
body.rabbit-flat-reference-v2 #home .rabbit-attention-center-v62{
  min-height:340px!important;border-radius:18px!important;overflow:hidden!important;
  border:1px solid rgba(116,143,171,.18)!important;box-shadow:var(--rh-shadow)!important;
}
body.rabbit-flat-reference-v2 #home .command-panel{
  padding:22px!important;position:relative!important;color:#fff!important;
  background:
    linear-gradient(90deg,rgba(4,20,40,.99) 0%,rgba(8,34,63,.96) 52%,rgba(8,34,63,.50) 100%),
    url('/assets/rabbit-home-building-v2.jpg') right center/auto 100% no-repeat!important;
}
body.rabbit-flat-reference-v2 #home .command-panel::after{
  content:"";position:absolute!important;inset:0!important;pointer-events:none!important;
  background:linear-gradient(115deg,transparent 58%,rgba(37,99,235,.08) 58%,rgba(53,197,220,.04) 100%)!important;
  mask-image:none!important;
}
body.rabbit-flat-reference-v2 #home .command-panel>*{position:relative;z-index:2;}
body.rabbit-flat-reference-v2 .phoenix-health{
  margin:0 0 18px!important;padding:7px 10px!important;border-radius:999px!important;
  background:rgba(7,20,39,.46)!important;border:1px solid rgba(255,255,255,.13)!important;
  box-shadow:none!important;backdrop-filter:blur(8px)!important;
}
body.rabbit-flat-reference-v2 .phoenix-health small,
body.rabbit-flat-reference-v2 .phoenix-health em{font-size:8px!important;text-transform:none!important;letter-spacing:0!important;}
body.rabbit-flat-reference-v2 #home .command-panel>.badge{
  background:transparent!important;border:0!important;color:#a6bad0!important;
  padding:0!important;border-radius:0!important;text-transform:uppercase!important;letter-spacing:.12em!important;
  font-size:8px!important;font-weight:800!important;margin-bottom:8px!important;
}
body.rabbit-flat-reference-v2 #home .command-title{
  max-width:620px!important;margin:0 0 8px!important;font-size:39px!important;line-height:1.03!important;
  letter-spacing:-.05em!important;font-weight:900!important;color:#fff!important;
}
body.rabbit-flat-reference-v2 #home .command-title span{color:#7ee3ff!important;}
body.rabbit-flat-reference-v2 #home .command-panel>p.muted{
  max-width:620px!important;margin:0!important;color:#d5e3ef!important;font-size:11px!important;line-height:1.45!important;
}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;margin:19px 0 13px!important;
}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis button{
  min-height:64px!important;border-radius:11px!important;padding:9px 8px 9px 42px!important;
  background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:none!important;position:relative!important;text-align:left!important;color:#fff!important;
}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis button::before{
  position:absolute;left:8px;top:50%;transform:translateY(-50%);width:27px;height:27px;border-radius:7px;
  display:grid;place-items:center;font-size:13px;font-weight:900;color:#fff;background:#1e68cf;
}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis button:nth-child(1)::before{content:"✉";background:#245fb6;}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis button:nth-child(2)::before{content:"!";background:#c94758;}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis button:nth-child(3)::before{content:"▣";background:#1b9382;}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis button:nth-child(4)::before{content:"◉";background:#52669b;}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis b{font-size:17px!important;line-height:1!important;}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis span{font-size:8px!important;margin-top:4px!important;color:#c4d2df!important;}
body.rabbit-flat-reference-v2 #home .command-actions{
  display:grid!important;grid-template-columns:1.08fr 1fr 1fr 1fr!important;gap:7px!important;margin:0!important;
}
body.rabbit-flat-reference-v2 #home .command-actions button{
  min-height:37px!important;border-radius:8px!important;font-size:9px!important;font-weight:800!important;
  background:rgba(255,255,255,.055)!important;color:#fff!important;border:1px solid rgba(255,255,255,.15)!important;box-shadow:none!important;
}
body.rabbit-flat-reference-v2 #home .command-actions button.primary{
  background:linear-gradient(135deg,#2474f0,#1d62de)!important;border-color:#2f79ee!important;color:#fff!important;
}

body.rabbit-flat-reference-v2 #home .rabbit-attention-center-v62{
  background:rgba(255,255,255,.92)!important;padding:16px!important;color:var(--rh-ink)!important;
  display:flex!important;flex-direction:column!important;
}
body.rabbit-flat-reference-v2 #home .rac-head-v62{margin-bottom:8px!important;}
body.rabbit-flat-reference-v2 #home .rac-kicker-v62{
  display:inline-flex!important;padding:6px 9px!important;border-radius:999px!important;background:#edf5ff!important;
  color:#2369de!important;font-size:8px!important;letter-spacing:.08em!important;font-weight:900!important;text-transform:uppercase!important;
}
body.rabbit-flat-reference-v2 #home .rac-head-v62 h3{
  margin:9px 0 3px!important;font-size:19px!important;line-height:1.1!important;letter-spacing:-.035em!important;
}
body.rabbit-flat-reference-v2 #home .rac-head-v62 p{font-size:9px!important;color:var(--rh-muted)!important;margin:0!important;}
body.rabbit-flat-reference-v2 #home .rac-list-v62{display:grid!important;gap:7px!important;}
body.rabbit-flat-reference-v2 #home .rac-item-v62{
  min-height:52px!important;border-radius:10px!important;border:1px solid #e0e8ef!important;
  background:#fff!important;box-shadow:none!important;padding:7px 9px!important;
  display:grid!important;grid-template-columns:32px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;
  gap:1px 9px!important;align-items:center!important;text-align:left!important;
}
body.rabbit-flat-reference-v2 #home .rac-item-v62>span{
  grid-row:1/3!important;width:32px!important;height:32px!important;border-radius:8px!important;display:grid!important;place-items:center!important;
  font-size:11px!important;font-weight:900!important;background:#eaf5ff!important;color:#2875d8!important;
}
body.rabbit-flat-reference-v2 #home .rac-item-v62.agenda>span{background:#eaf9f4!important;color:#11906f!important;}
body.rabbit-flat-reference-v2 #home .rac-item-v62.task>span{background:#fff1ec!important;color:#df684d!important;}
body.rabbit-flat-reference-v2 #home .rac-item-v62.request>span{background:#f2efff!important;color:#7358db!important;}
body.rabbit-flat-reference-v2 #home .rac-item-v62 b{grid-column:2!important;font-size:10px!important;color:var(--rh-ink)!important;}
body.rabbit-flat-reference-v2 #home .rac-item-v62 small{grid-column:2!important;font-size:7.6px!important;color:#78879a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body.rabbit-flat-reference-v2 #home .rac-item-v62 em{
  grid-column:3!important;grid-row:1/3!important;align-self:center!important;font-style:normal!important;font-size:7.5px!important;font-weight:850!important;
  padding:5px 8px!important;border-radius:999px!important;background:#f4f7fa!important;color:#53657a!important;
}
body.rabbit-flat-reference-v2 #home .rac-actions-v62{
  margin-top:auto!important;padding-top:9px!important;display:grid!important;grid-template-columns:1fr 1fr 1.25fr!important;gap:7px!important;
}
body.rabbit-flat-reference-v2 #home .rac-actions-v62 button{
  min-height:35px!important;border-radius:8px!important;background:#fff!important;border:1px solid #d9e4ee!important;color:#173b66!important;
  font-size:8.5px!important;font-weight:800!important;box-shadow:none!important;
}
body.rabbit-flat-reference-v2 #home .rac-actions-v62 button:first-child{background:#246be7!important;border-color:#246be7!important;color:#fff!important;}

/* ---------- MODULES + SMART MAIL ---------- */
body.rabbit-flat-reference-v2 #homeLauncherCards{margin:0!important;padding:0!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards>.home-launcher-shell,
body.rabbit-flat-reference-v2 #homeLauncherCards>.rabbit-ref-launcher{
  display:flex!important;flex-direction:column!important;gap:11px!important;
  padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .home-launcher-head{
  order:1!important;display:flex!important;align-items:end!important;justify-content:space-between!important;
  padding:7px 10px 0!important;margin:0!important;border:0!important;background:transparent!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .home-launcher-head h3{
  font-size:14px!important;font-weight:900!important;letter-spacing:-.025em!important;margin:0!important;color:var(--rh-ink)!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .home-launcher-head p{font-size:8.5px!important;color:var(--rh-muted)!important;margin:2px 0 0!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-grid{
  order:2!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;
  overflow:visible!important;padding:0!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-card{
  min-height:76px!important;height:76px!important;position:relative!important;overflow:visible!important;
  border-radius:12px!important;border:1px solid #dce6ef!important;background:#fff!important;box-shadow:var(--rh-shadow-soft)!important;
  transform:none!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-card:hover{transform:translateY(-1px)!important;box-shadow:0 8px 24px rgba(35,58,84,.09)!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-cover{
  min-height:76px!important;height:76px!important;padding:10px 34px 10px 56px!important;border-radius:12px!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;position:relative!important;
  background:linear-gradient(135deg,#fff,#fbfdff)!important;color:var(--rh-ink)!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .tone-operativo .rabbit-macro-cover{background:linear-gradient(135deg,#f8fbff,#f1f7ff)!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .tone-finanza .rabbit-macro-cover{background:linear-gradient(135deg,#fbfffd,#f2fbf7)!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .tone-hr .rabbit-macro-cover{background:linear-gradient(135deg,#fdfcff,#f7f4ff)!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .tone-sistema .rabbit-macro-cover{background:linear-gradient(135deg,#fffdfb,#fff8f0)!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-icon{
  position:absolute!important;left:10px!important;top:50%!important;transform:translateY(-50%)!important;
  width:36px!important;height:36px!important;border-radius:9px!important;display:grid!important;place-items:center!important;color:#fff!important;
  box-shadow:none!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .tone-operativo .rabbit-macro-icon{background:#2878df!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .tone-finanza .rabbit-macro-icon{background:#24a978!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .tone-hr .rabbit-macro-icon{background:#7259d9!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .tone-sistema .rabbit-macro-icon{background:#de8237!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-icon svg{width:18px!important;height:18px!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-kicker,
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-footer,
body.rabbit-flat-reference-v2 #homeLauncherCards .phoenix-metrics{display:none!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-cover h4{
  font-size:11px!important;line-height:1.1!important;margin:0 0 3px!important;letter-spacing:-.015em!important;color:var(--rh-ink)!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-cover p{
  font-size:7.6px!important;line-height:1.25!important;color:#64758a!important;margin:0!important;max-width:175px!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-cover::after{
  content:"→";position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:14px;color:#60758d;font-weight:700;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-content{
  position:absolute!important;left:0!important;right:auto!important;top:calc(100% + 8px)!important;width:320px!important;max-height:340px!important;
  padding:10px!important;border-radius:13px!important;border:1px solid #dbe5ee!important;background:#fff!important;box-shadow:0 20px 55px rgba(15,42,70,.18)!important;
  opacity:0!important;visibility:hidden!important;transform:translateY(-5px)!important;pointer-events:none!important;z-index:150!important;overflow:auto!important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-card:nth-child(4) .rabbit-macro-content{left:auto!important;right:0!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-card:hover .rabbit-macro-content,
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-card:focus-within .rabbit-macro-content{
  opacity:1!important;visibility:visible!important;transform:translateY(0)!important;pointer-events:auto!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-content-head{padding:3px 4px 8px!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-inner-grid{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .launch-card{
  min-height:48px!important;border-radius:9px!important;background:#f8fafc!important;border:1px solid #e7edf3!important;box-shadow:none!important;
}

body.rabbit-flat-reference-v2 #phoenixSmartMailV2{
  order:3!important;margin:0!important;border-radius:16px!important;border:1px solid #dbe5ee!important;background:#fff!important;
  box-shadow:var(--rh-shadow)!important;overflow:hidden!important;
}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-titlebar{
  min-height:54px!important;padding:11px 13px!important;background:#fff!important;border-bottom:1px solid #e5edf4!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-titlebar>div:first-child span{font-size:8px!important;color:#206ee5!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.07em!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-titlebar h2{font-size:15px!important;margin:2px 0!important;color:var(--rh-ink)!important;letter-spacing:-.02em!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-titlebar p{font-size:8px!important;margin:0!important;color:#78879a!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-title-actions{gap:6px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-title-actions span{padding:6px 8px!important;border-radius:999px!important;background:#f5f8fb!important;border:1px solid #e2e9f0!important;font-size:8px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-title-actions button{min-height:30px!important;border-radius:8px!important;border:1px solid #cbd9e6!important;background:#fff!important;color:#255eb7!important;font-size:8px!important;font-weight:800!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-workspace{
  display:grid!important;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;min-height:330px!important;max-height:390px!important;background:#fff!important;
}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-list-panel{
  min-width:0!important;border-right:1px solid #e5edf4!important;background:#fff!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;
}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-list-head{padding:8px 10px!important;gap:5px!important;border-bottom:1px solid #e9eff5!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-list-head label{height:32px!important;border-radius:8px!important;border:1px solid #dce6ef!important;background:#f9fbfd!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-list-head button{height:30px!important;border-radius:8px!important;font-size:8px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-mail-list{overflow:auto!important;min-height:0!important;flex:1!important;padding:0 8px 5px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-mail-row{
  min-height:54px!important;border-radius:8px!important;margin:5px 0!important;padding:6px 7px!important;border:1px solid transparent!important;background:#fff!important;box-shadow:none!important;
}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-mail-row:hover,
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-mail-row.selected{background:#eef6ff!important;border-color:#d8e8fb!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-open-desk{margin:6px 9px 9px!important;min-height:30px!important;border-radius:8px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-detail-panel{overflow:auto!important;min-width:0!important;padding:0!important;background:#fff!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-detail-shell{padding:12px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-detail-head{padding-bottom:9px!important;border-bottom:1px solid #edf1f5!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-detail-head h3{font-size:12px!important;margin:2px 0!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-detail-head p{font-size:8px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-summary{margin-top:9px!important;border-radius:10px!important;background:#f5f9fe!important;border:1px solid #e2ebf5!important;padding:9px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-summary b{font-size:10px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-summary p{font-size:8px!important;line-height:1.4!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-insight-grid{grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:8px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-insight-card{padding:8px!important;border-radius:9px!important;border:1px solid #e5edf4!important;box-shadow:none!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-reply{display:none!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-actions{padding-top:8px!important;gap:5px!important;display:flex!important;flex-wrap:wrap!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-actions button{min-height:30px!important;border-radius:8px!important;font-size:7.8px!important;}

/* ---------- RIGHT RAIL ---------- */
@media(min-width:1181px){
  body.rabbit-flat-reference-v2 .rightbar{
    position:sticky!important;top:0!important;height:100vh!important;overflow:auto!important;
    padding:12px!important;background:rgba(247,250,252,.86)!important;border:0!important;border-left:1px solid rgba(127,151,175,.18)!important;
    box-shadow:none!important;border-radius:0!important;
  }
}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-head,
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-card{
  border-radius:14px!important;border:1px solid #dce6ee!important;background:#fff!important;box-shadow:var(--rh-shadow-soft)!important;margin:0 0 10px!important;padding:12px!important;
}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-head{border-top:3px solid #12658f!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-copy>span{
  font-size:8px!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#246cdf!important;font-weight:900!important;
}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-title-row h2{font-size:18px!important;line-height:1.05!important;letter-spacing:-.03em!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-title-row em{font-size:7px!important;border-radius:999px!important;padding:4px 7px!important;background:#edf5ff!important;color:#246cdf!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-copy p{font-size:8px!important;line-height:1.4!important;color:#66778a!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-mini-metrics{gap:5px!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-mini-metrics span,
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-kpis button{
  border-radius:9px!important;border:1px solid #e1e8ef!important;background:#f9fbfc!important;box-shadow:none!important;
}
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-card-title b{font-size:10px!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-card-title small{font-size:7.5px!important;color:#7a8999!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-person{padding:7px 0!important;border-bottom:1px solid #edf1f4!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-person b{font-size:9px!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-person small{font-size:7px!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-avatar{width:28px!important;height:28px!important;font-size:8px!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-actions button,
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-card-title>button,
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-head>button{
  border-radius:8px!important;min-height:30px!important;background:#fff!important;border:1px solid #d9e4ee!important;box-shadow:none!important;font-size:8px!important;
}
body.rabbit-flat-reference-v2 .rightbar .rabbit-ref-shortcuts{display:none!important;}

/* ---------- FLOATING AI / CHAT ---------- */
body.rabbit-flat-reference-v2 .rah-fab,
body.rabbit-flat-reference-v2 #rc22Button,
body.rabbit-flat-reference-v2 .rc22-button,
body.rabbit-flat-reference-v2 #rc22Launcher{
  width:48px!important;height:48px!important;border-radius:16px!important;
  box-shadow:0 10px 28px rgba(29,67,108,.18)!important;border:1px solid rgba(255,255,255,.55)!important;
}
body.rabbit-flat-reference-v2 .rah-fab{background:linear-gradient(145deg,#12b8cf,#2667f4)!important;color:#fff!important;}
body.rabbit-flat-reference-v2 #rc22Button,
body.rabbit-flat-reference-v2 .rc22-button,
body.rabbit-flat-reference-v2 #rc22Launcher{background:#fff!important;color:#6948e8!important;border-color:#e2e8f0!important;}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1400px) and (min-width:1181px){
  body.rabbit-flat-reference-v2 .scale-root>.app{grid-template-columns:205px minmax(0,1fr) 270px!important;}
  body.rabbit-flat-reference-v2 #home .command-center{grid-template-columns:minmax(0,1.3fr) minmax(350px,.9fr)!important;}
  body.rabbit-flat-reference-v2 #home .command-title{font-size:34px!important;}
}

@media(max-width:1180px){
  body.rabbit-flat-reference-v2 .main{background:var(--rh-bg)!important;}
  body.rabbit-flat-reference-v2 #home{gap:11px!important;}
  body.rabbit-flat-reference-v2 #home .command-center{grid-template-columns:1fr!important;}
  body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-content{position:static!important;width:auto!important;max-height:none!important;opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important;box-shadow:none!important;border-radius:0 0 12px 12px!important;display:none!important;}
  body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-card:focus-within .rabbit-macro-content{display:block!important;}
  body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-card{height:auto!important;min-height:76px!important;overflow:hidden!important;}
  body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-workspace{grid-template-columns:1fr!important;max-height:none!important;}
  body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-list-panel{border-right:0!important;border-bottom:1px solid #e5edf4!important;max-height:330px!important;}
  .rabbit-ref-welcome{padding:3px 0!important;}
}

@media(max-width:700px){
  .rabbit-ref-welcome{display:block!important;}
  .rabbit-ref-welcome h1{font-size:21px!important;}
  .rabbit-ref-date{display:none!important;}
  body.rabbit-flat-reference-v2 #home .command-panel{padding:17px!important;min-height:auto!important;background:linear-gradient(135deg,#071a2f,#0b3658)!important;}
  body.rabbit-flat-reference-v2 #home .command-title{font-size:31px!important;}
  body.rabbit-flat-reference-v2 .phoenix-hero-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.rabbit-flat-reference-v2 #home .command-actions{grid-template-columns:1fr 1fr!important;}
  body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-grid{grid-template-columns:1fr!important;}
  body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-titlebar{align-items:flex-start!important;flex-direction:column!important;}
  body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-title-actions{width:100%!important;overflow:auto!important;}
  body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-insight-grid{grid-template-columns:1fr!important;}
}

@media(prefers-reduced-motion:reduce){
  body.rabbit-flat-reference-v2 *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;}
}

/* ---------- V2 EXACTNESS PASS ---------- */
@media(min-width:1181px){
  body.rabbit-flat-reference-v2 .scale-root>.app{grid-template-columns:224px minmax(0,1fr) 312px!important;}
  body.rabbit-flat-reference-v2 .main{padding:0 16px 24px!important;}
}

/* Sidebar: flat, compact, no colored/neumorphic panels. */
body.rabbit-flat-reference-v2 .sidebar.rabbit-pro-sidebar{
  background:#081b31!important;
  padding:20px 12px 18px!important;
}
body.rabbit-flat-reference-v2 .sidebar .brand.rabbit-pro-brand{
  grid-template-columns:42px 1fr!important;
  min-height:64px!important;
  padding:0 8px 18px!important;
  margin-bottom:12px!important;
}
body.rabbit-flat-reference-v2 .sidebar .brand .logo{
  width:42px!important;height:42px!important;border-radius:11px!important;
  background:#fff!important;padding:5px!important;box-shadow:none!important;
}
body.rabbit-flat-reference-v2 .sidebar .brand strong{
  font-size:15px!important;font-weight:800!important;line-height:1.05!important;margin:2px 0 0!important;
}
body.rabbit-flat-reference-v2 .sidebar .brand strong::after{content:none!important;}
body.rabbit-flat-reference-v2 .sidebar .brand::after{
  content:"Command Center"!important;left:60px!important;bottom:7px!important;font-size:8.5px!important;color:#91a4b9!important;
}
body.rabbit-flat-reference-v2 .sidebar .rabbit-nav-group{margin:0!important;border:0!important;background:transparent!important;}
body.rabbit-flat-reference-v2 .sidebar .rabbit-nav-group>summary{display:none!important;}
body.rabbit-flat-reference-v2 .sidebar .rabbit-nav-group:not([data-group="overview"]){display:none!important;}
body.rabbit-flat-reference-v2 .sidebar .rabbit-nav-group-items{display:flex!important;flex-direction:column!important;gap:7px!important;}
body.rabbit-flat-reference-v2 .sidebar .nav{padding-top:4px!important;}
body.rabbit-flat-reference-v2 .sidebar .nav button{
  min-height:45px!important;border-radius:9px!important;padding:0 12px!important;gap:11px!important;
  color:#e6edf5!important;background:transparent!important;border:1px solid transparent!important;
  font-size:12px!important;font-weight:650!important;letter-spacing:0!important;
}
body.rabbit-flat-reference-v2 .sidebar .nav button.active{
  background:#173b67!important;border-color:#214d83!important;box-shadow:none!important;color:#fff!important;
}
body.rabbit-flat-reference-v2 .sidebar .nav button:hover{background:#112f52!important;border-color:#1a416f!important;}
body.rabbit-flat-reference-v2 .sidebar .rabbit-side-ico{
  width:22px!important;min-width:22px!important;height:22px!important;display:grid!important;place-items:center!important;
  color:#d6e2ef!important;background:transparent!important;border:0!important;font-size:16px!important;filter:none!important;
}
body.rabbit-flat-reference-v2 .sidebar .rabbit-nav-badge{
  margin-left:auto!important;background:#2e7cf6!important;color:#fff!important;border-radius:6px!important;min-width:20px!important;height:20px!important;
}
body.rabbit-flat-reference-v2 #signupRequestsMenuItem{
  position:absolute!important;left:12px!important;right:12px!important;bottom:62px!important;
  min-height:44px!important;background:transparent!important;border:0!important;color:#dce6ef!important;border-radius:9px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 12px!important;
}
body.rabbit-flat-reference-v2 #signupRequestsMenuItem:hover{background:#112f52!important;}
body.rabbit-flat-reference-v2 #signupRequestsMenuItem .signup-nav-badge{
  width:22px!important;height:22px!important;border-radius:50%!important;background:#20c889!important;color:#fff!important;display:grid!important;place-items:center!important;
}
body.rabbit-flat-reference-v2 .rabbit-sidebar-logout{
  position:absolute!important;left:12px!important;right:12px!important;bottom:16px!important;min-height:42px!important;
  background:transparent!important;border:0!important;color:#fff!important;border-radius:9px!important;justify-content:flex-start!important;gap:11px!important;
}
body.rabbit-flat-reference-v2 .rabbit-sidebar-logout:hover{background:#112f52!important;}

/* Topbar closer to the approved preview. */
body.rabbit-flat-reference-v2 .topbar.rabbit-pro-topbar{
  height:62px!important;min-height:62px!important;padding:9px 16px!important;margin:0 -16px!important;
  background:rgba(255,255,255,.92)!important;border-bottom:1px solid #e4ebf2!important;box-shadow:none!important;
}
body.rabbit-flat-reference-v2 .topbar .search{
  width:min(620px,58%)!important;height:38px!important;background:#f8fafc!important;border:1px solid #dce4ed!important;border-radius:10px!important;
}
body.rabbit-flat-reference-v2 .rabbit-bell{width:38px!important;height:38px!important;padding:0!important;border-radius:10px!important;}
body.rabbit-flat-reference-v2 .rabbit-admin-chip{height:40px!important;border-radius:10px!important;gap:8px!important;padding:4px 10px 4px 5px!important;}
body.rabbit-flat-reference-v2 .rabbit-avatar-dot{width:31px!important;height:31px!important;border-radius:50%!important;font-size:10px!important;}
body.rabbit-flat-reference-v2 #rabbitTopbarUserName{font-size:11px!important;}

/* Welcome/header */
body.rabbit-flat-reference-v2 .rabbit-ref-welcome{padding:10px 2px 4px!important;}
body.rabbit-flat-reference-v2 .rabbit-ref-welcome h1{font-size:24px!important;font-weight:850!important;}
body.rabbit-flat-reference-v2 .rabbit-ref-welcome p{font-size:11px!important;}
body.rabbit-flat-reference-v2 .rabbit-ref-date{background:#fff!important;border-radius:10px!important;padding:8px 11px!important;box-shadow:none!important;}

/* Hero + actions: visual proportions of the approved concept. */
body.rabbit-flat-reference-v2 #home .command-center{
  grid-template-columns:minmax(0,1.52fr) minmax(360px,.82fr)!important;gap:14px!important;
}
body.rabbit-flat-reference-v2 #home .command-panel,
body.rabbit-flat-reference-v2 #home .rabbit-attention-center-v62{min-height:304px!important;height:304px!important;border-radius:16px!important;}
body.rabbit-flat-reference-v2 #home .command-panel{padding:18px 20px 16px!important;}
body.rabbit-flat-reference-v2 .phoenix-health{margin-bottom:13px!important;padding:6px 9px!important;}
body.rabbit-flat-reference-v2 #home .command-panel>.badge{margin-bottom:6px!important;font-size:7px!important;}
body.rabbit-flat-reference-v2 #home .command-title{font-size:31px!important;line-height:1.02!important;max-width:520px!important;margin-bottom:6px!important;}
body.rabbit-flat-reference-v2 #home .command-panel>p.muted{font-size:10px!important;line-height:1.42!important;max-width:560px!important;}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis{margin:15px 0 11px!important;gap:8px!important;}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis button{min-height:58px!important;border-radius:10px!important;padding:8px 8px 8px 40px!important;}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis button::before{width:26px!important;height:26px!important;left:8px!important;}
body.rabbit-flat-reference-v2 .phoenix-hero-kpis b{font-size:16px!important;}
body.rabbit-flat-reference-v2 #home .command-actions button{min-height:35px!important;border-radius:8px!important;}

body.rabbit-flat-reference-v2 #home .rabbit-attention-center-v62{padding:14px!important;}
body.rabbit-flat-reference-v2 #home .rac-kicker-v62{font-size:7.5px!important;padding:5px 8px!important;}
body.rabbit-flat-reference-v2 #home .rac-head-v62 h3{font-size:18px!important;margin-top:7px!important;}
body.rabbit-flat-reference-v2 #home .rac-list-v62{gap:6px!important;}
body.rabbit-flat-reference-v2 #home .rac-item-v62{min-height:48px!important;padding:6px 8px!important;border-radius:9px!important;}
body.rabbit-flat-reference-v2 #home .rac-actions-v62{padding-top:8px!important;}
body.rabbit-flat-reference-v2 #home .rac-actions-v62 button{min-height:32px!important;}

/* Command Modules: one compact strip, no visible nested-card clutter. */
body.rabbit-flat-reference-v2 #homeLauncherCards .home-launcher-head{
  padding:0 4px!important;align-items:center!important;min-height:25px!important;
}
body.rabbit-flat-reference-v2 #homeLauncherCards .home-launcher-head h3{font-size:13px!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .home-launcher-head p{font-size:8px!important;margin-left:8px!important;display:inline!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-grid{gap:8px!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-card,
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-cover{height:68px!important;min-height:68px!important;border-radius:11px!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-card{box-shadow:none!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-cover{padding:9px 32px 9px 52px!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-icon{width:34px!important;height:34px!important;left:9px!important;border-radius:8px!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-cover h4{font-size:10.5px!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-cover p{font-size:7.2px!important;max-width:155px!important;}
body.rabbit-flat-reference-v2 #homeLauncherCards .rabbit-macro-content{display:none!important;}

/* Smart Mail: compact, balanced, two-column like the approved preview. */
body.rabbit-flat-reference-v2 #phoenixSmartMailV2{border-radius:14px!important;box-shadow:none!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-titlebar{min-height:48px!important;padding:8px 11px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-titlebar>div:first-child>span{display:none!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-titlebar h2{font-size:13.5px!important;margin:0!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-titlebar p{font-size:7.5px!important;margin-top:2px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-title-actions span{font-size:7.5px!important;padding:5px 7px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-title-actions button{height:29px!important;min-height:29px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-workspace{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr)!important;min-height:310px!important;max-height:340px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-list-panel{min-height:310px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-mail-row{min-height:49px!important;margin:3px 0!important;border-radius:7px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-mail-copy b{font-size:8.8px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-mail-copy strong{font-size:8.5px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-mail-copy small{font-size:7px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-detail-shell{padding:10px 11px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-detail-head>div>span{font-size:8px!important;color:#1f6ee8!important;font-weight:800!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-detail-head h3{font-size:11px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-refresh-ai{font-size:7.5px!important;min-height:28px!important;border-radius:8px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-summary{background:#edf6ff!important;border-color:#dcebf9!important;margin-top:7px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-insight-grid{grid-template-columns:1fr!important;margin-top:6px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-insight-card:not(.px2-tasks){display:none!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-tasks{padding:7px 8px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-tasks label{font-size:7.5px!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-reply{display:none!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-actions{margin-top:4px!important;padding-top:5px!important;border-top:1px solid #edf1f5!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-actions button{display:none!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-actions button[data-px2-open],
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-actions button[data-px2-task],
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-actions button[data-px2-archive]{display:inline-flex!important;}
body.rabbit-flat-reference-v2 #phoenixSmartMailV2 .px2-open-desk{display:none!important;}

/* Right rail: only the four blocks visible in the approved reference. */
body.rabbit-flat-reference-v2 .rightbar{
  background:#f6fafb!important;padding:12px 10px!important;border-left:1px solid #e2e9ef!important;
}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-head,
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-card{
  border-radius:13px!important;border:1px solid #dfe7ee!important;box-shadow:none!important;padding:11px!important;margin-bottom:9px!important;
}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-head{border-top:1px solid #dfe7ee!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-copy>span{font-size:7.5px!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-title-row h2{font-size:16px!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-copy p{font-size:7.5px!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-rightbar-mini-metrics span{min-height:48px!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-kpis{gap:6px!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-kpis button{min-height:54px!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-right-person{padding:6px 0!important;}
body.rabbit-flat-reference-v2 .rightbar .rabbit-ref-shortcuts{display:none!important;}

/* AIris + Chat remain floating, separate and visible. */
body.rabbit-flat-reference-v2 .rah-fab,
body.rabbit-flat-reference-v2 #rc22Button,
body.rabbit-flat-reference-v2 .rc22-button,
body.rabbit-flat-reference-v2 #rc22Launcher{
  position:fixed!important;z-index:3600!important;width:50px!important;height:50px!important;border-radius:50%!important;
}
body.rabbit-flat-reference-v2 .rah-fab{right:22px!important;bottom:84px!important;background:linear-gradient(145deg,#1fb7d3,#2368f2)!important;}
body.rabbit-flat-reference-v2 #rc22Button,
body.rabbit-flat-reference-v2 .rc22-button,
body.rabbit-flat-reference-v2 #rc22Launcher{right:22px!important;bottom:24px!important;background:#fff!important;}

@media(max-width:1400px) and (min-width:1181px){
  body.rabbit-flat-reference-v2 .scale-root>.app{grid-template-columns:210px minmax(0,1fr) 282px!important;}
  body.rabbit-flat-reference-v2 #home .command-center{grid-template-columns:minmax(0,1.38fr) minmax(340px,.88fr)!important;}
}
