
/* =========================================================
   DELANCAR 9.0 — VISUAL CORE
   Canonical presentation layer. The legacy stylesheet remains
   the functional baseline; this file owns final product visuals.
   ========================================================= */
:root{
  --d9-bg:#edf2f7;
  --d9-bg-2:#f7f9fc;
  --d9-surface:#ffffff;
  --d9-surface-2:#f7f9fc;
  --d9-surface-3:#eef4fa;
  --d9-ink:#132235;
  --d9-muted:#6b7b8e;
  --d9-faint:#93a1b0;
  --d9-line:#d6e0ea;
  --d9-line-2:#c4d0dc;
  --d9-navy:#061523;
  --d9-navy-2:#0b2d4e;
  --d9-blue:#176fcb;
  --d9-blue-2:#3d8ad4;
  --d9-blue-soft:#e9f3fd;
  --d9-gold:#d8a72f;
  --d9-gold-2:#efca58;
  --d9-gold-soft:#fff8e8;
  --d9-green:#197457;
  --d9-green-soft:#eaf7f1;
  --d9-red:#a23c49;
  --d9-red-soft:#fff0f2;
  --d9-r1:7px;
  --d9-r2:10px;
  --d9-r3:13px;
  --d9-shadow:0 10px 28px rgba(7,27,47,.065);
  --d9-shadow-soft:0 4px 16px rgba(7,27,47,.045);
  --d9-side:210px;
  --d9-pad:22px;
}
html.v9-core{background:var(--d9-bg);color-scheme:light}
html.v9-core body{
  margin:0!important;
  min-height:100vh;
  background:
    radial-gradient(900px 430px at 85% -8%,rgba(34,111,190,.08),transparent 62%),
    linear-gradient(180deg,#f7f9fc 0%,#eef3f7 52%,#eaf0f5 100%)!important;
  color:var(--d9-ink)!important;
  font-family:"Segoe UI Variable Text","Segoe UI",-apple-system,BlinkMacSystemFont,system-ui,sans-serif!important;
  font-size:14px!important;
  letter-spacing:0!important;
}
html.v9-core *{scrollbar-width:thin;scrollbar-color:#b8c6d3 transparent}
html.v9-core ::selection{background:#cfe5f8;color:#0b2239}
html.v9-core :where(button,a,input,select,textarea,[tabindex]):focus-visible{
  outline:3px solid rgba(23,111,203,.24)!important;
  outline-offset:2px!important
}

/* ---------- APP FRAME ---------- */
html.v9-core .shell{
  display:grid!important;
  grid-template-columns:var(--d9-side) minmax(0,1fr)!important;
  min-height:100vh!important;
}
html.v9-core .side{
  position:sticky!important;top:0!important;height:100vh!important;width:var(--d9-side)!important;
  padding:15px 12px!important;
  display:flex!important;flex-direction:column!important;
  background:
    radial-gradient(270px 170px at 35% -3%,rgba(49,128,207,.23),transparent 75%),
    linear-gradient(180deg,#061522 0%,#071d31 56%,#061522 100%)!important;
  border-right:1px solid rgba(255,255,255,.07)!important;
  box-shadow:8px 0 28px rgba(3,17,30,.07)!important;
  color:#fff!important;
  z-index:80!important;
}
html.v9-core .brand{
  width:100%!important;height:58px!important;min-height:58px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  padding:0 10px!important;margin:0!important;border:0!important;background:transparent!important;
}
html.v9-core .brandLogoApp{width:140px!important;height:auto!important;max-height:43px!important}
html.v9-core .tagline{
  margin:1px 10px 14px!important;
  color:#758da6!important;font-size:8px!important;font-weight:800!important;
  letter-spacing:.18em!important;text-transform:uppercase!important
}
html.v9-core .side nav{display:grid!important;gap:4px!important;margin:0!important;width:100%!important}
html.v9-core .side nav a{
  position:relative!important;width:100%!important;min-height:43px!important;height:43px!important;
  display:grid!important;grid-template-columns:26px minmax(0,1fr) auto!important;align-items:center!important;
  gap:8px!important;padding:0 10px!important;margin:0!important;
  border:1px solid transparent!important;border-radius:9px!important;
  color:#b9c8d7!important;background:transparent!important;text-decoration:none!important;
  font-size:11.5px!important;font-weight:640!important;letter-spacing:0!important;
  transition:background .13s ease,border-color .13s ease,color .13s ease!important;
}
html.v9-core .side nav a::before{
  content:attr(data-d9-icon)!important;width:22px!important;text-align:center!important;
  color:#7f9bb5!important;font-size:13px!important;font-weight:500!important
}
html.v9-core .side nav a::after{
  content:""!important;position:absolute!important;left:-12px!important;top:10px!important;
  width:3px!important;height:23px!important;border-radius:0 3px 3px 0!important;background:transparent!important
}
html.v9-core .side nav a:hover{background:rgba(255,255,255,.045)!important;border-color:rgba(255,255,255,.055)!important;color:#fff!important}
html.v9-core .side nav a.oneActive{
  background:linear-gradient(90deg,rgba(37,112,181,.22),rgba(255,255,255,.035))!important;
  border-color:rgba(93,151,207,.16)!important;color:#fff!important
}
html.v9-core .side nav a.oneActive::before{color:#d9e9f8!important}
html.v9-core .side nav a.oneActive::after{background:var(--d9-gold-2)!important}
html.v9-core .sidefoot{
  margin-top:auto!important;padding:11px 7px 3px!important;
  display:grid!important;gap:8px!important;border-top:1px solid rgba(255,255,255,.055)!important
}
html.v9-core .sidefoot>.pill{display:none!important}
html.v9-core .d9SideStatus{display:grid;gap:6px}
html.v9-core .d9SideStatusRow{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#879bb0;font-size:8.5px}
html.v9-core .d9SideStatusRow strong{font-size:8.5px;color:#b7c8d8;font-weight:720}
html.v9-core .d9Dot{width:7px;height:7px;border-radius:50%;background:#60778e;box-shadow:0 0 0 3px rgba(96,119,142,.11);display:inline-block;margin-right:5px}
html.v9-core .d9Dot.ok{background:#4ca982;box-shadow:0 0 0 3px rgba(76,169,130,.11)}
html.v9-core .d9Version{font-size:7.5px;color:#5f7489;letter-spacing:.08em;text-transform:uppercase}

/* ---------- MAIN CANVAS ---------- */
html.v9-core .main{
  grid-column:2!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:13px var(--d9-pad) 94px!important;min-width:0!important
}
html.v9-core .v8ModeBanner{
  min-height:30px!important;height:auto!important;margin:0 0 7px!important;padding:5px 9px!important;
  display:flex!important;align-items:center!important;gap:9px!important;
  border:0!important;border-bottom:1px solid #dce4ec!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;
  color:#718195!important;font-size:8.5px!important
}
html.v9-core .v8ModeBanner b{color:#30465d!important;font-size:8.5px!important;letter-spacing:.12em!important}
html.v9-core .v8ModeBanner span{margin-right:auto!important}
html.v9-core .v8ModeBanner a{color:#4f6f8e!important;font-size:8.5px!important;font-weight:720!important;text-decoration:none!important}
html.v9-core .v8ModeBanner a:hover{color:var(--d9-blue)!important}

/* ---------- TOPBAR ---------- */
html.v9-core .top{
  position:sticky!important;top:7px!important;z-index:70!important;
  min-height:72px!important;margin:0 0 8px!important;padding:10px 11px 10px 15px!important;
  display:grid!important;grid-template-columns:minmax(260px,.8fr) minmax(360px,1.35fr) auto!important;
  align-items:center!important;gap:12px!important;
  border:1px solid rgba(204,216,228,.96)!important;border-radius:11px!important;
  background:rgba(251,253,255,.94)!important;box-shadow:0 8px 24px rgba(8,28,48,.055)!important;
  backdrop-filter:blur(18px) saturate(1.15)!important
}
html.v9-core .top>div:first-child{min-width:0!important}
html.v9-core .top .eyebrow{margin:0 0 3px!important;color:#92731f!important;font-size:8px!important;font-weight:820!important;letter-spacing:.14em!important}
html.v9-core .top h1{
  margin:0!important;color:#11253a!important;font-size:24px!important;line-height:1!important;
  font-weight:735!important;letter-spacing:-.035em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}
html.v9-core .top p{
  margin:5px 0 0!important;max-width:560px!important;color:#738397!important;font-size:9.5px!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}
html.v9-core .oneCommandBar{
  min-height:42px!important;height:42px!important;padding:0 11px!important;
  display:flex!important;align-items:center!important;gap:8px!important;
  border:1px solid #d5dfe9!important;border-radius:8px!important;
  background:#f6f9fb!important;color:#496074!important;box-shadow:none!important
}
html.v9-core .oneCommandBar:hover{background:#fff!important;border-color:#b9c9d9!important}
html.v9-core .oneCommandBar strong{font-size:10.5px!important;font-weight:610!important;color:#576b7e!important}
html.v9-core .oneCommandBar kbd{margin-left:auto!important;padding:3px 6px!important;border:1px solid #d4dee8!important;border-radius:5px!important;background:#fff!important;color:#738195!important;font-size:7.5px!important}
html.v9-core .oneTopActions{display:flex!important;align-items:center!important;gap:5px!important;justify-content:flex-end!important}
html.v9-core .oneIconBtn,html.v9-core .v7DeckBtn{
  width:39px!important;height:39px!important;min-width:39px!important;padding:0!important;
  border:1px solid #d2dce6!important;border-radius:8px!important;background:#fff!important;color:#1d3854!important;
  box-shadow:none!important;font-size:11px!important
}
html.v9-core .oneIconBtn:hover,html.v9-core .v7DeckBtn:hover{background:#f3f7fa!important;border-color:#adc1d4!important}
html.v9-core .onePrimaryAction{
  min-width:116px!important;height:39px!important;min-height:39px!important;padding:0 12px!important;
  border-radius:8px!important;box-shadow:none!important
}

/* ---------- COMMAND STRIP ---------- */
html.v9-core .v7CommandDeck{
  min-height:47px!important;margin:0 0 8px!important;padding:4px 5px!important;
  display:grid!important;grid-template-columns:38px minmax(0,1fr) 38px 38px!important;align-items:center!important;gap:4px!important;
  border:1px solid #d8e1ea!important;border-radius:9px!important;background:rgba(255,255,255,.84)!important;
  box-shadow:none!important;backdrop-filter:blur(10px)!important
}
html.v9-core .v7Pulse{min-width:0!important}
html.v9-core .v7PulseMain{display:flex!important;align-items:baseline!important;gap:9px!important}
html.v9-core .v7PulseMain strong{font-size:13px!important;font-weight:720!important;color:#18314b!important}
html.v9-core .v7PulseMain span{font-size:9px!important;color:#667b90!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html.v9-core .v7PulseStats{display:flex!important;gap:10px!important;margin-top:2px!important}
html.v9-core .v7PulseStats span{font-size:7.5px!important;color:#8997a6!important}
html.v9-core .v7Pulse>i{height:2px!important;margin-top:4px!important;background:#e7edf3!important;border-radius:2px!important}
html.v9-core .v7Pulse>i b{background:linear-gradient(90deg,#176fcb,#63a3dd)!important;border-radius:2px!important}

/* ---------- CARDS / TYPOGRAPHY ---------- */
html.v9-core .card{
  margin-bottom:9px!important;padding:15px 16px!important;border:1px solid var(--d9-line)!important;
  border-radius:var(--d9-r3)!important;background:rgba(255,255,255,.965)!important;
  box-shadow:var(--d9-shadow-soft)!important;color:var(--d9-ink)!important
}
html.v9-core .card:hover{transform:none!important;border-color:#c8d4df!important;box-shadow:var(--d9-shadow-soft)!important}
html.v9-core .cardhead{margin-bottom:9px!important;gap:12px!important}
html.v9-core .card h2{margin:2px 0!important;color:#172a40!important;font-size:17px!important;line-height:1.15!important;font-weight:720!important;letter-spacing:-.025em!important}
html.v9-core .kicker,html.v9-core .smartEyebrow{color:#8f711e!important;font-size:7.8px!important;font-weight:820!important;letter-spacing:.145em!important}
html.v9-core .muted,html.v9-core .tag{color:var(--d9-muted)!important;font-size:10.5px!important;line-height:1.48!important}
html.v9-core .badge,html.v9-core .pill{
  min-height:24px!important;padding:4px 7px!important;border-radius:6px!important;
  background:#f0f4f7!important;color:#526579!important;font-size:8.5px!important;font-weight:760!important
}
html.v9-core .btn{
  min-height:37px!important;padding:0 11px!important;border-radius:8px!important;
  font-size:10px!important;font-weight:720!important;letter-spacing:0!important;box-shadow:none!important
}
html.v9-core .gold{
  background:linear-gradient(180deg,#efca57,#d8a62f)!important;color:#152234!important;border:1px solid #c99724!important
}
html.v9-core .gold:hover{filter:brightness(1.015)!important}
html.v9-core .ghost{background:#fff!important;color:#1d3854!important;border-color:#d2dde7!important}
html.v9-core input,html.v9-core select,html.v9-core textarea{
  min-height:39px!important;padding:0 10px!important;border:1px solid #cedae6!important;border-radius:7px!important;
  background:#fff!important;color:#15253a!important;font:11px inherit!important
}
html.v9-core label{gap:5px!important;color:#5c6d7f!important;font-size:9px!important;font-weight:720!important}
html.v9-core input:focus,html.v9-core select:focus,html.v9-core textarea:focus{border-color:#7fa9cf!important}

/* ---------- HOME: ONE CLEAR STORY ---------- */
html.v9-core body[data-one-view="home"] .main{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(320px,360px)!important;
  grid-template-areas:
    "banner banner"
    "top top"
    "deck deck"
    "overview overview"
    "status status"
    "action action"
    "today tasks"
    "agenda tasks"
    "player player"
    "foot foot"!important;
  gap:0 10px!important
}
html.v9-core .oneOverview{
  display:grid!important;grid-template-columns:minmax(390px,1.75fr) repeat(3,minmax(145px,.62fr))!important;
  gap:7px!important;margin:0 0 7px!important
}
html.v9-core .oneMetric{
  min-height:78px!important;padding:11px 12px!important;border:1px solid var(--d9-line)!important;
  border-radius:10px!important;background:#fff!important;box-shadow:none!important
}
html.v9-core .oneMetric.primary{
  position:relative!important;overflow:hidden!important;
  background:
    radial-gradient(280px 110px at 96% -15%,rgba(60,135,209,.28),transparent 68%),
    linear-gradient(135deg,#071a2d,#0c365d)!important;
  border-color:#244b70!important
}
html.v9-core .oneMetric.primary::after{
  content:"";position:absolute;right:-18px;bottom:-28px;width:120px;height:120px;border:1px solid rgba(255,255,255,.08);border-radius:50%
}
html.v9-core .oneMetric span{font-size:7.5px!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important}
html.v9-core .oneMetric strong{font-size:14px!important;font-weight:720!important}
html.v9-core .oneMetric .oneValue{font-size:24px!important;font-variant-numeric:tabular-nums!important}
html.v9-core .oneMetric small{font-size:8.5px!important;color:#7c8998!important}
html.v9-core .oneMetric.primary span,html.v9-core .oneMetric.primary small{color:#9fb4c9!important}
html.v9-core .oneMetric.primary strong{color:#fff!important}
html.v9-core .v81StatusStrip{
  display:flex!important;align-items:stretch!important;gap:5px!important;margin:0 0 7px!important;overflow-x:auto!important
}
html.v9-core .v81StatusItem{
  flex:1 0 135px!important;min-height:38px!important;padding:6px 8px!important;
  border:1px solid #dbe4ec!important;border-radius:8px!important;background:rgba(255,255,255,.78)!important
}
html.v9-core .v81StatusDot{width:6px!important;height:6px!important}
html.v9-core .v81StatusItem strong{font-size:8.5px!important;font-weight:680!important}
html.v9-core .v81StatusItem small{font-size:7.5px!important;color:#8997a5!important}
html.v9-core .v82ActionRail{
  min-height:51px!important;margin:0 0 8px!important;padding:7px 8px 7px 10px!important;
  border:1px solid #d2dfe9!important;border-left:3px solid var(--d9-gold)!important;border-radius:9px!important;
  background:linear-gradient(90deg,#fff,#f8fbfe)!important;box-shadow:none!important
}
html.v9-core .v82ActionMark{width:28px!important;height:28px!important;border-radius:7px!important;font-size:11px!important}
html.v9-core .v82ActionText strong{font-size:10px!important;font-weight:700!important}
html.v9-core .v82ActionText small{font-size:8.5px!important;color:#7d8c9c!important}
html.v9-core .v82ActionBtn{height:33px!important;min-height:33px!important}
html.v9-core #oggi{grid-area:today!important;min-height:150px!important}
html.v9-core #agenda{grid-area:agenda!important;min-height:calc(100vh - 390px)!important}
html.v9-core #task{
  grid-area:tasks!important;position:sticky!important;top:89px!important;align-self:start!important;
  max-height:calc(100vh - 104px)!important;overflow:auto!important;padding:14px!important
}
html.v9-core #oggi .actions{margin-top:8px!important;padding-top:8px!important;border-top:1px solid #e8eef4!important}
html.v9-core #oggi .actions .btn{min-height:31px!important;font-size:8.5px!important;color:#6a7b8d!important;background:#fafcfd!important}
html.v9-core .timeline .event,html.v9-core .timeline .task{
  min-height:43px!important;padding:7px 3px!important;grid-template-columns:56px minmax(0,1fr)!important;
  gap:8px!important;border-bottom:1px solid #edf1f5!important
}
html.v9-core .time{font-size:10px!important;font-weight:720!important;color:#3475aa!important}

/* ---------- TASK RAIL ---------- */
html.v9-core #task .cardhead{position:sticky!important;top:-14px!important;z-index:5!important;margin:-2px -2px 5px!important;padding:5px 2px 7px!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(10px)!important}
html.v9-core #tasks{margin:3px 0!important}
html.v9-core .v7TaskRow{
  min-height:44px!important;padding:7px 2px!important;border-bottom:1px solid #edf2f6!important;background:transparent!important
}
html.v9-core .v7TaskRow b{font-size:10.5px!important;font-weight:650!important;color:#203148!important}
html.v9-core .v7TaskRow small{font-size:8px!important;color:#8391a1!important}
html.v9-core .v9TaskComposerToggle{
  width:100%;min-height:35px;margin:8px 0 0;padding:0 10px;
  display:flex;align-items:center;justify-content:space-between;
  border:1px solid #d3dee8;border-radius:8px;background:#f8fafc;color:#30465d;font:700 9px inherit;cursor:pointer
}
html.v9-core .v9TaskComposerToggle span:last-child{font-size:13px;color:#8291a1}
html.v9-core .v9TaskComposer{
  display:grid;gap:7px;margin-top:7px;padding:9px;border:1px solid #e0e7ee;border-radius:9px;background:#fafcfd
}
html.v9-core .v9TaskComposer[hidden]{display:none!important}
html.v9-core .v9TaskComposer .two{gap:6px!important}
html.v9-core #addTask{margin:0!important}

/* ---------- AGENDA ---------- */
html.v9-core .agendaHead{padding-bottom:8px!important;border-bottom:1px solid #e7edf3!important}
html.v9-core .agendaToolbar{
  margin-top:8px!important;padding:5px!important;display:flex!important;justify-content:space-between!important;gap:8px!important;
  border:1px solid #e0e7ee!important;border-radius:8px!important;background:#f8fafc!important
}
html.v9-core .segmented{padding:2px!important;border:0!important;border-radius:7px!important;background:#edf2f6!important}
html.v9-core .seg{min-height:29px!important;padding:0 9px!important;border:0!important;border-radius:6px!important;color:#65788b!important;font-size:8.5px!important;font-weight:700!important}
html.v9-core .seg.active{background:#fff!important;color:#173a5c!important;box-shadow:0 1px 4px rgba(8,29,49,.08)!important}
html.v9-core .agendaNav{display:flex!important;gap:4px!important}
html.v9-core .agendaNav .btn{min-height:29px!important;height:29px!important;padding:0 9px!important;font-size:8.5px!important}
html.v9-core .agendaPeriodRow{
  margin:7px 0 8px!important;padding:7px 8px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  border:0!important;border-bottom:1px solid #edf1f5!important;border-radius:0!important;background:transparent!important
}
html.v9-core .agendaPeriodRow strong{font-size:11.5px!important;color:#21364c!important}
html.v9-core .agendaListenActions{margin:0!important;gap:5px!important}
html.v9-core .agendaListenActions .btn{min-height:31px!important;height:31px!important;font-size:8.5px!important}
html.v9-core .agendaList{gap:6px!important}
html.v9-core .agendaGroup{
  border:1px solid #dce4ec!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;overflow:clip!important
}
html.v9-core .agendaGroupHead{
  min-height:35px!important;padding:7px 9px!important;background:#f7f9fb!important;border-bottom:1px solid #e3e9ef!important
}
html.v9-core .agendaGroupHead strong{font-size:9.5px!important;font-weight:720!important;color:#465b70!important}
html.v9-core .agendaGroupHead span{font-size:8px!important}
html.v9-core .agendaItem{
  position:relative!important;min-height:45px!important;padding:7px 8px!important;
  grid-template-columns:61px minmax(0,1fr) auto!important;gap:8px!important;border-bottom:1px solid #edf2f6!important
}
html.v9-core .agendaItem::after{content:"";position:absolute;left:0;top:7px;bottom:7px;width:2px;border-radius:2px;background:#5e9ed8;opacity:.45}
html.v9-core .agendaItem:hover{background:#f8fbfe!important}
html.v9-core .agendaItem:hover::after{opacity:1}
html.v9-core .agendaItemTime{font-size:9.5px!important;font-weight:720!important;color:#3d79ab!important}
html.v9-core .agendaItemTitle{font-size:10.5px!important;font-weight:650!important;color:#203147!important}
html.v9-core .agendaItemMeta{font-size:8px!important;color:#8391a0!important}
html.v9-core .agendaItemKind{padding:3px 5px!important;border-radius:5px!important;background:#f0f4f7!important;color:#6d7d8d!important;font-size:7px!important;font-weight:760!important}
html.v9-core .weekDay,html.v9-core .monthCell{
  border:1px solid #dbe4ec!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important
}
html.v9-core .weekDay:hover,html.v9-core .monthCell:hover{border-color:#a9bfd4!important;background:#fbfdff!important}

/* ---------- CALENDAR WORKSPACE ---------- */
html.v9-core body[data-one-view="calendar"] .main,
html.v9-core body[data-one-view="voice"] .main,
html.v9-core body[data-one-view="system"] .main{max-width:none!important;margin:0!important}
html.v9-core body[data-one-view="calendar"] #calendari{
  min-height:calc(100vh - 110px)!important;width:100%!important;max-width:none!important;padding:18px!important
}
html.v9-core body[data-one-view="calendar"] #calendari>.cardhead{align-items:flex-end!important;padding-bottom:9px!important;border-bottom:1px solid #e6edf3!important}
html.v9-core body[data-one-view="calendar"] #calendari>.cardhead h2{font-size:20px!important}
html.v9-core body[data-one-view="calendar"] #calendari>.muted{max-width:880px!important;margin:6px 0 11px!important}
html.v9-core .d9CalendarSummary{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 9px
}
html.v9-core .d9CalendarStat{
  padding:8px 9px;border:1px solid #dbe4ec;border-radius:8px;background:#f9fbfd;min-width:0
}
html.v9-core .d9CalendarStat span{display:block;font-size:7px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8b98a6}
html.v9-core .d9CalendarStat strong{display:block;margin-top:2px;font-size:10.5px;color:#263b51;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.v9-core .smartGuide{
  min-height:66px!important;margin:0 0 9px!important;padding:10px 11px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;
  border:1px solid #284f72!important;border-radius:9px!important;
  background:radial-gradient(230px 100px at 96% 0%,rgba(76,145,212,.22),transparent 70%),linear-gradient(135deg,#0a2037,#0d3457)!important;
  box-shadow:none!important
}
html.v9-core .smartGuide strong{font-size:11px!important;color:#fff!important}
html.v9-core .smartGuide small{font-size:8.5px!important;color:#aec1d3!important}
html.v9-core .providerGrid{grid-template-columns:repeat(4,minmax(180px,1fr))!important;gap:7px!important;margin:8px 0!important}
html.v9-core .providerCard{
  position:relative!important;min-height:75px!important;padding:9px 10px!important;
  grid-template-columns:34px minmax(0,1fr) 14px!important;gap:8px!important;
  border:1px solid #d8e2eb!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important
}
html.v9-core .providerCard::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;border-radius:2px;background:#90a7bd}
html.v9-core #googleProvider::before{background:#4285f4}html.v9-core #microsoftProvider::before{background:#2384d9}html.v9-core #icloudProvider::before{background:#8ba7bf}html.v9-core #deviceProvider::before{background:#d3a42d}
html.v9-core .providerCard:hover{background:#f8fbfe!important;border-color:#a8bfd4!important}
html.v9-core .providerIcon{width:34px!important;height:34px!important;border-radius:8px!important;font-size:11px!important}
html.v9-core .providerCard strong{font-size:10px!important;color:#24394f!important}
html.v9-core .providerCard small{margin-top:2px!important;font-size:8px!important;color:#8392a1!important}
html.v9-core .providerArrow{opacity:.45!important}
html.v9-core #sources,html.v9-core #feedConnections{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(310px,1fr))!important;gap:6px!important;margin:8px 0!important
}
html.v9-core .source,html.v9-core .feedSource,html.v9-core .feedConnection{
  margin:0!important;padding:9px!important;border:1px solid #dce4ec!important;border-radius:8px!important;background:#fafcfd!important;box-shadow:none!important
}
html.v9-core .calendarConnectBar{margin-top:9px!important;padding-top:9px!important;border-top:1px solid #e6edf3!important}

/* ---------- VOICE LAB ---------- */
html.v9-core body[data-one-view="voice"] #voce{min-height:calc(100vh - 110px)!important;padding:18px!important}
html.v9-core .d9VoiceHero{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;
  margin:0 0 9px;padding:12px 13px;border:1px solid #d6e1eb;border-radius:10px;
  background:linear-gradient(110deg,#f9fbfd,#eff6fc)
}
html.v9-core .d9VoiceHero span{display:block;font-size:7px;font-weight:820;letter-spacing:.1em;color:#8a6d21;text-transform:uppercase}
html.v9-core .d9VoiceHero strong{display:block;margin-top:3px;font-size:14px;color:#1b334c}
html.v9-core .d9VoiceHero small{display:block;margin-top:2px;font-size:8.5px;color:#738598}
html.v9-core .d9VoiceHeroActions{display:flex;gap:5px}
html.v9-core .voiceProfiles{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;margin:8px 0!important}
html.v9-core .voiceProfile{
  min-height:76px!important;padding:10px!important;border:1px solid #d8e2eb!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important
}
html.v9-core .voiceProfile:hover{border-color:#abc0d3!important;background:#f9fbfd!important}
html.v9-core .voiceProfile.active{border-color:#d4a638!important;background:#fff9ea!important;box-shadow:inset 0 0 0 1px rgba(212,166,56,.15)!important}
html.v9-core .voiceProfile strong{font-size:11px!important;color:#24394f!important}
html.v9-core .voiceProfile small{min-height:0!important;font-size:8.5px!important;color:#7f8e9e!important}
html.v9-core .voiceProfile span{font-size:7.5px!important}
html.v9-core .voiceCatalog{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:6px!important;margin:8px 0!important}
html.v9-core .realVoice{min-height:60px!important;padding:9px!important;border:1px solid #dbe4ec!important;border-radius:8px!important;background:#fafcfd!important}
html.v9-core .realVoice.active{border-color:#d4a638!important;background:#fff9ea!important}
html.v9-core #voce .settingsGrid{
  margin:7px 0!important;padding:9px!important;gap:7px!important;border:1px solid #e1e8ef!important;border-radius:9px!important;background:#f9fbfd!important
}
html.v9-core #voce .toggles{gap:6px!important}
html.v9-core #voce .toggles label{padding:9px!important;border:1px solid #e0e7ee!important;border-radius:8px!important;background:#fafcfd!important}

/* ---------- SYSTEM ---------- */
html.v9-core body[data-one-view="system"] #pro{border-top:3px solid var(--d9-gold)!important}
html.v9-core .d9SystemSummary{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 9px
}
html.v9-core .d9SystemStat{padding:8px 9px;border:1px solid #dbe4ec;border-radius:8px;background:#f9fbfd}
html.v9-core .d9SystemStat span{display:block;font-size:7px;font-weight:820;letter-spacing:.08em;text-transform:uppercase;color:#8b98a6}
html.v9-core .d9SystemStat strong{display:block;margin-top:2px;font-size:10px;color:#263b51}
html.v9-core body[data-one-view="system"] .proActionGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
html.v9-core .proAction{
  min-height:68px!important;padding:10px!important;border:1px solid #d9e2eb!important;border-radius:9px!important;background:#fafcfd!important;box-shadow:none!important
}
html.v9-core .proAction:hover{background:#f7fafc!important;border-color:#a9bfd3!important;box-shadow:none!important}
html.v9-core .proAction b{font-size:10.5px!important;color:#253a50!important}
html.v9-core .proAction small{font-size:8px!important;color:#7f8e9e!important}
html.v9-core #team,html.v9-core #backup,html.v9-core #oneStatusCard{border-color:#d8e1ea!important}

/* ---------- PLAYER / DIALOGS ---------- */
html.v9-core .voicePlayer{
  left:calc(var(--d9-side) + var(--d9-pad))!important;right:var(--d9-pad)!important;bottom:11px!important;
  width:auto!important;max-width:none!important;margin:0!important;padding:0!important;
  border:1px solid #284b6c!important;border-radius:10px!important;background:rgba(7,27,47,.97)!important;
  box-shadow:0 16px 42px rgba(3,16,29,.20)!important;backdrop-filter:blur(16px)!important;overflow:hidden!important
}
html.v9-core .voicePlayer:not([hidden]){
  display:grid!important;grid-template-columns:minmax(250px,1fr) auto!important;
  grid-template-areas:"vtext vcontrols" "vprogress vprogress"!important;align-items:center!important
}
html.v9-core .voicePlayerTop{grid-area:vtext!important;min-height:54px!important;padding:7px 10px!important}
html.v9-core .voicePlayerText strong{font-size:10.5px!important}
html.v9-core .voicePlayerText small{font-size:8px!important;color:#9fb0c0!important}
html.v9-core .voicePlayerControls{grid-area:vcontrols!important;display:flex!important;gap:4px!important;margin:0!important;padding:7px 9px 7px 3px!important}
html.v9-core .playerIcon,html.v9-core .playerMain,html.v9-core .playerAction{height:32px!important;min-height:32px!important;padding:0 8px!important;border-radius:7px!important;font-size:8.5px!important}
html.v9-core .voiceProgressTrack{grid-area:vprogress!important;height:2px!important;margin:0!important;border-radius:0!important}
html.v9-core .oneCommand,html.v9-core .oneHealth,html.v9-core .calendarDialog,html.v9-core .v7Inspector,html.v9-core .v7Capture{
  border:1px solid #cdd9e4!important;border-radius:11px!important;box-shadow:0 24px 70px rgba(4,20,36,.18)!important
}
html.v9-core dialog::backdrop{background:rgba(4,15,28,.44)!important;backdrop-filter:blur(2px)!important}

/* ---------- DARK ---------- */
html.v9-core.one-dark{color-scheme:dark}
html.v9-core.one-dark body{
  background:radial-gradient(900px 430px at 85% -8%,rgba(37,113,190,.12),transparent 62%),linear-gradient(180deg,#09121c,#0a151f)!important;color:#e8f0f7!important
}
html.v9-core.one-dark .top,
html.v9-core.one-dark .v7CommandDeck,
html.v9-core.one-dark .card,
html.v9-core.one-dark .oneMetric:not(.primary),
html.v9-core.one-dark .v81StatusItem,
html.v9-core.one-dark .v82ActionRail,
html.v9-core.one-dark .providerCard,
html.v9-core.one-dark .source,
html.v9-core.one-dark .feedSource,
html.v9-core.one-dark .feedConnection,
html.v9-core.one-dark .voiceProfile,
html.v9-core.one-dark .realVoice,
html.v9-core.one-dark .proAction,
html.v9-core.one-dark .d9CalendarStat,
html.v9-core.one-dark .d9SystemStat,
html.v9-core.one-dark .v9TaskComposer{
  background:#0f1e2c!important;border-color:#293e52!important;color:#e9f1f8!important;box-shadow:none!important
}
html.v9-core.one-dark .top h1,html.v9-core.one-dark .card h2,html.v9-core.one-dark .providerCard strong,html.v9-core.one-dark .voiceProfile strong,html.v9-core.one-dark .proAction b,html.v9-core.one-dark .d9CalendarStat strong,html.v9-core.one-dark .d9SystemStat strong{color:#eef5fb!important}
html.v9-core.one-dark .muted,html.v9-core.one-dark .tag,html.v9-core.one-dark .providerCard small,html.v9-core.one-dark .voiceProfile small,html.v9-core.one-dark .proAction small{color:#96a8ba!important}
html.v9-core.one-dark .oneCommandBar,html.v9-core.one-dark .oneIconBtn,html.v9-core.one-dark .v7DeckBtn,html.v9-core.one-dark input,html.v9-core.one-dark select,html.v9-core.one-dark textarea,html.v9-core.one-dark .ghost,html.v9-core.one-dark .v9TaskComposerToggle{
  background:#101f2e!important;border-color:#2c4257!important;color:#e8f0f7!important
}
html.v9-core.one-dark .oneCommandBar strong{color:#9fb0c1!important}
html.v9-core.one-dark .agendaToolbar,html.v9-core.one-dark #voce .settingsGrid,html.v9-core.one-dark #voce .toggles label,html.v9-core.one-dark .d9VoiceHero{
  background:#101f2e!important;border-color:#293e52!important
}
html.v9-core.one-dark .agendaGroup{background:#0f1e2c!important;border-color:#293e52!important}
html.v9-core.one-dark .agendaGroupHead{background:#122334!important;border-color:#2a4054!important}
html.v9-core.one-dark .agendaItem{border-color:#213448!important}
html.v9-core.one-dark .agendaItem:hover,html.v9-core.one-dark .providerCard:hover,html.v9-core.one-dark .source:hover,html.v9-core.one-dark .feedSource:hover,html.v9-core.one-dark .proAction:hover{background:#14283a!important}
html.v9-core.one-dark .agendaItemTitle,html.v9-core.one-dark .agendaPeriodRow strong,html.v9-core.one-dark .v7TaskRow b,html.v9-core.one-dark .d9VoiceHero strong{color:#eef5fb!important}
html.v9-core.one-dark .agendaPeriodRow,html.v9-core.one-dark #oggi .actions,html.v9-core.one-dark .calendarConnectBar{border-color:#26394d!important}
html.v9-core.one-dark .voiceProfile.active,html.v9-core.one-dark .realVoice.active{background:#30280f!important;border-color:#796427!important}
html.v9-core.one-dark #task .cardhead{background:rgba(15,30,44,.97)!important}

/* ---------- BREAKPOINTS ---------- */
@media(min-width:1500px){
  :root{--d9-side:218px;--d9-pad:26px}
  html.v9-core body[data-one-view="home"] .main{grid-template-columns:minmax(0,1fr) minmax(340px,390px)!important}
  html.v9-core .oneOverview{grid-template-columns:minmax(430px,1.9fr) repeat(3,minmax(165px,.62fr))!important}
}
@media(max-width:1180px){
  :root{--d9-side:184px;--d9-pad:16px}
  html.v9-core .brandLogoApp{width:124px!important}
  html.v9-core .providerGrid{grid-template-columns:repeat(2,minmax(180px,1fr))!important}
  html.v9-core .d9CalendarSummary,html.v9-core .d9SystemSummary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
  html.v9-core .shell{display:block!important}
  html.v9-core .side{display:none!important}
  html.v9-core .main{padding:7px 8px 80px!important}
  html.v9-core .v8ModeBanner{padding:5px 2px!important}
  html.v9-core .top{
    top:4px!important;grid-template-columns:minmax(0,1fr) auto!important;min-height:61px!important;padding:8px!important
  }
  html.v9-core .top>div:first-child p{display:none!important}
  html.v9-core .oneCommandBar{grid-column:1/-1!important;order:2!important}
  html.v9-core .oneTopActions{grid-column:2!important;grid-row:1!important}
  html.v9-core body[data-one-view="home"] .main{display:block!important}
  html.v9-core body[data-one-view="home"] #task{position:static!important;max-height:none!important}
  html.v9-core .oneOverview{grid-template-columns:1fr 1fr!important}
  html.v9-core .oneMetric.primary{grid-column:1/-1!important}
  html.v9-core .voicePlayer{left:8px!important;right:8px!important;bottom:70px!important}
  html.v9-core .oneMobileDock{background:rgba(6,21,35,.97)!important;border-top:1px solid #203c56!important;backdrop-filter:blur(16px)!important}
}
@media(max-width:660px){
  html.v9-core .main{padding:5px 5px 80px!important}
  html.v9-core .v8ModeBanner{font-size:7.5px!important}
  html.v9-core .v8ModeBanner .v82AllDownloads{display:none!important}
  html.v9-core .top{border-radius:9px!important}
  html.v9-core .top h1{font-size:20px!important}
  html.v9-core .oneTopActions{gap:3px!important}
  html.v9-core .oneIconBtn,html.v9-core .v7DeckBtn{width:36px!important;height:36px!important;min-width:36px!important}
  html.v9-core .onePrimaryAction{min-width:96px!important;height:36px!important;min-height:36px!important}
  html.v9-core .oneOverview{gap:5px!important}
  html.v9-core .oneMetric{min-height:68px!important;padding:9px!important}
  html.v9-core .v81StatusStrip{gap:4px!important}
  html.v9-core .v81StatusItem{flex-basis:120px!important}
  html.v9-core .v82ActionRail{grid-template-columns:1fr!important;gap:6px!important}
  html.v9-core .v82ActionBtn{width:100%!important}
  html.v9-core .card{padding:11px!important;border-radius:10px!important}
  html.v9-core .agendaToolbar{display:grid!important;grid-template-columns:1fr!important}
  html.v9-core .agendaNav{justify-content:space-between!important}
  html.v9-core .agendaPeriodRow{display:grid!important;gap:7px!important}
  html.v9-core .agendaListenActions{display:grid!important;grid-template-columns:1fr 1fr!important}
  html.v9-core .providerGrid,html.v9-core .voiceProfiles,html.v9-core .voiceCatalog,html.v9-core body[data-one-view="system"] .proActionGrid,html.v9-core .d9CalendarSummary,html.v9-core .d9SystemSummary{grid-template-columns:1fr!important}
  html.v9-core #sources,html.v9-core #feedConnections{grid-template-columns:1fr!important}
  html.v9-core .d9VoiceHero{grid-template-columns:1fr!important}
  html.v9-core .d9VoiceHeroActions{display:grid!important;grid-template-columns:1fr 1fr!important}
  html.v9-core .voicePlayer:not([hidden]){grid-template-columns:1fr!important;grid-template-areas:"vtext" "vcontrols" "vprogress"!important}
  html.v9-core .voicePlayerControls{overflow-x:auto!important;padding:5px 7px!important}
}
@media(prefers-reduced-motion:reduce){
  html.v9-core *,html.v9-core *::before,html.v9-core *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
